Browse Source

提交门店调货

zhouzhujun 3 months ago
parent
commit
dc2779a4cd

+ 10 - 0
src/api/addressBoook.js

@@ -10,6 +10,16 @@ export function getUserAddressList(data) {
     })
 }
 
+// 门店-列表
+export function getStoreAddressList(data) {
+    return request({
+        url: '/tianzong/store/queryStore',
+        method: 'post',
+        data: data,
+        emulateJSON: true
+    })
+}
+
 // 地址铺-新增
 export function saveAddress(data) {
     return request({

+ 9 - 0
src/api/index.js

@@ -173,6 +173,15 @@ export function storagePrintSmallTab(data) {
 }
 
 
+// 门店调货寄件
+export function storeMail(data) {
+    return request({
+        url: '/tianzong/storeSend/storeMail',
+        method: 'post',
+        data: data,
+        emulateJSON: true
+    })
+}
 
 
 

+ 272 - 0
src/pages/goodsChange/storeAdressBook.vue

@@ -0,0 +1,272 @@
+<template>
+	<div class="content">
+		<!-- 收件人 -->
+		<div class="list">
+			<div class="jjinfo" v-for="item in addressList" :key="item.id">
+				<div>
+					<div class="jj">
+						<div class="jjaddress" @click="transmitMessage(item)">
+							<p style="background: #0c2469;">收</p>
+							<div :id="'copytkl' + item.id">
+								<p>{{ item.storeName }} {{ item.storeCode }}</p>
+								<p>
+									{{ item.storeProvince }}{{ item.storeCity
+									}}{{ item.storeCounty }}{{ item.storeAddrInfo }}
+								</p>
+							</div>
+						</div>
+					</div>
+				</div>
+			</div>
+		</div>
+		<!-- 寄件 -->
+		<!-- <div class="btn">
+			<van-button type="info" @click="link">添加收件人</van-button>
+		</div> -->
+	</div>
+</template>
+
+<script>
+import { Toast, Dialog } from "vant";
+import { deleteUserAddressById, getStoreAddressList } from "@/api/addressBoook";
+export default {
+	data() {
+		return {
+			titlename: "收件人地址簿",
+			userId: "",
+			addressList: [],
+			parmas: {}
+		};
+	},
+	created: function () {
+		this.isLogin();
+		this.userId = localStorage.getItem("userId");
+		//获取参数
+		this.getData();
+	},
+	methods: {
+		// //复制
+		// copyLink(id) {
+		// 	let _this = this;
+		// 	let clipboard = new this.clipboard("#fz" + id);
+		// 	clipboard.on("success", function () {
+		// 		//window.console.log('00')
+		// 		_this.$toast("复制成功");
+		// 	});
+		// 	clipboard.on("error", function () {
+		// 		_this.$toast("复制失败");
+		// 	});
+		// },
+		// tab(obj) {
+		// 	this.index = obj;
+		// 	this.getData();
+		// },
+		// link(obj) {
+		// 	this.$router.push({ path: "/transferGoods", query: { type: obj } });
+		// },
+		// 获取数据
+		async getData() {
+			Toast.loading({
+				message: "加载中...",
+				forbidClick: true,
+				duration: 0
+			});
+			try {
+				const res = await getStoreAddressList({ ...this.parmas });
+				console.log(res, "res");
+				if (res.code.toString() === '200') {
+					this.addressList = res.storeList;
+				} else {
+					Toast("网络错误!");
+				}
+			} catch (error) {
+				Toast("网络错误!");
+			}
+			Toast.clear();
+		},
+
+		//   // 删除
+		//   del(id) {
+		// 	Dialog.confirm({ title: "", message: "确定删除吗" })
+		// 	  .then(async () => {
+		// 		Toast.loading({
+		// 		  message: "删除中...",
+		// 		  forbidClick: true,
+		// 		  duration: 0
+		// 		});
+		// 		const res = await deleteUserAddressById({ id: id });
+		// 		if (res.msg == "success") {
+		// 		  this.getData();
+		// 		  Toast("删除成功!");
+		// 		} else {
+		// 		  Toast("删除失败!");
+		// 		}
+		// 		Toast.clear();
+		// 	  })
+		// 	  .catch(() => {
+		// 		//  on cancel
+		// 	  });
+		//   },
+		//   //跳去编辑页
+		//   linkEdit(id) {
+		// 	this.$router.push({ path: "/Editaddress", query: { id: id } });
+		//   },
+		transmitMessage(item) {
+			let transmitMessageVlaue = {};
+			transmitMessageVlaue.addresseeName = item.storeName;
+			transmitMessageVlaue.addresseeAddress = item.storeAddress;
+			// transmitMessageVlaue.addresseePhone = item.addresseePhone;
+			transmitMessageVlaue.createTime = item.createTime;
+			transmitMessageVlaue.id = item.id;
+			transmitMessageVlaue.storeCode = item.storeCode;
+			transmitMessageVlaue.addresseeAddrInfo = item.storeAddrInfo;
+			transmitMessageVlaue.addresseeCity = item.storeCity;
+			transmitMessageVlaue.addresseeCounty = item.storeCounty;
+			transmitMessageVlaue.addresseeProvince = item.storeProvince;
+			transmitMessageVlaue.addresseeTown = item.storeTown;
+			// transmitMessageVlaue.sendNum = item.sendNum;
+			transmitMessageVlaue.isAddressIdTransfer = true;
+			this.$store.commit("getTransmitMessageVlaue", transmitMessageVlaue);
+			this.$router.push({ path: "/transferGoods", params: { addressee: transmitMessageVlaue } });
+		}
+	},
+	computed: {}
+};
+</script>
+
+<style scoped lang="less">
+.van-button--info {
+	background-color: #0c2469;
+	color: #fff;
+	background-color: #0c2469;
+	border: 1px solid #0c2469;
+}
+
+.content {
+	height: 100vh;
+	width: 100vw;
+	display: flex;
+	flex-direction: column;
+	overflow: hidden;
+
+	.list {
+		flex: auto;
+		overflow: hidden;
+		overflow-y: auto;
+		padding: 15px 0.33rem 0px;
+	}
+
+	.btn {
+		// height: 100vh;
+		width: 100vw;
+		display: flex;
+
+		// padding: .0rem .33rem 0.33rem;
+
+		button {
+			width: 100%;
+			margin: 0.33rem;
+		}
+	}
+
+	.tab {
+		font-size: 0.36rem;
+		color: #0c2469;
+
+		div {
+			display: flex;
+			border: 0.01rem solid #0c2469;
+			text-align: center;
+			border-radius: 0.05rem;
+
+			p {
+				flex: 1;
+				padding: 0.1rem 0rem;
+			}
+
+			p.active {
+				background: #0c2469;
+				color: white;
+			}
+		}
+	}
+
+	.jjinfo {
+		font-size: 0.36rem;
+		color: #999999;
+		padding: 0rem 0rem 0.33rem;
+		word-break: break-word;
+
+		>div {
+			background: white;
+			border-radius: 0.05rem;
+			padding: 0.1rem 0.3rem;
+
+			.jj {
+				display: flex;
+				justify-content: space-between;
+				padding: 0.2rem 0rem;
+				flex-wrap: wrap;
+
+				.jjaddress {
+					display: flex;
+					padding: 0.1rem 0rem 0.2rem;
+
+					>p {
+						font-size: 0.24rem;
+						font-weight: bold;
+						display: inline-block;
+						width: 0.5rem;
+						height: 0.5rem;
+						background: #0c2469;
+						text-align: center;
+						line-height: 0.5rem;
+						color: white;
+						border-radius: 50%;
+						margin-right: 0.3rem;
+					}
+
+					div {
+						//font-weight: bold;
+						max-width: 5.2rem;
+
+						p:nth-of-type(1) {
+							font-size: 0.3rem;
+							color: #333;
+							margin-bottom: 0.2rem;
+						}
+
+						p:nth-of-type(2) {
+							font-size: 0.3rem;
+						}
+					}
+				}
+
+				.cz {
+					border-top: 0.01rem solid #ededed;
+					width: 100%;
+					display: flex;
+					flex-direction: row-reverse;
+					font-size: 0.24rem;
+					color: #999999;
+					padding-top: 0.2rem;
+
+					p {
+						margin-left: 0.2rem;
+
+						img {
+							width: 0.22rem;
+							height: 0.24rem;
+						}
+
+						span {
+							position: relative;
+							top: -0.01rem;
+						}
+					}
+				}
+			}
+		}
+	}
+}
+</style>

File diff suppressed because it is too large
+ 1111 - 0
src/pages/goodsChange/transferGoods.vue


+ 15 - 0
src/pages/index.vue

@@ -12,6 +12,14 @@
 					<!-- <p>放心寄 丢必赔</p> -->
 				</span>
 			</a>
+			<a @click="goPage('trans')">
+				<span class="iconfont icon-delTask_slt iconStyle"></span>
+				<!-- <img src="../assets/images/jkd.png" alt=""> -->
+				<span>
+					<p>门店调货</p>
+					<!-- <p>放心寄 丢必赔</p> -->
+				</span>
+			</a>
 			<router-link to="Inexpress">
 				<span class="iconfont icon-neibujianpeizhi iconStyle"></span>
 				<!-- <img src="../assets/images/nbj.png" alt=""> -->
@@ -66,6 +74,13 @@ export default {
 			if(type === 1){
 				window.location.href = window.location.href + "Express"
 				window.location.reload()
+				return
+			}
+			if(type === 'trans'){
+				// this.$router.push({ path: "/transferGoods" })
+				window.location.href = window.location.href + "transferGoods"
+				window.location.reload()
+				return
 			}
 		}
 	}

+ 315 - 293
src/router/index.js

@@ -39,303 +39,325 @@ import SuggestList from '@/pages/suggestList'
 import SuggestInfo from '@/pages/suggestInfo'
 import Key from '@/pages/key'
 import Login from '@/pages/login'
+
+
+// 202412
+import transferGoods from '@/pages/goodsChange/transferGoods'
+import storeAdressBook from '@/pages/goodsChange/storeAdressBook'
+
 const originalPush = Router.prototype.push
 Router.prototype.push = function push(location) {
-	return originalPush.call(this, location).catch(err => err)
+  return originalPush.call(this, location).catch(err => err)
 }
 Vue.use(Router)
 
 export default new Router({
-	routes: [{
-		path: '/',
-		name: 'Index',
-		component: Index,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //意见建议列表
-		path: '/SuggestList',
-		name: 'SuggestList',
-		component: SuggestList,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //意见建议详情
-		path: '/SuggestInfo',
-		name: 'SuggestInfo',
-		component: SuggestInfo,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //查件
-		path: '/Search',
-		name: 'Search',
-		component: Search,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{
-		path: '/My',
-		name: 'My',
-		component: My,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //个人信息
-		path: '/Personinfomation',
-		name: 'Personinfomation',
-		component: Personinfomation,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{
-		path: '/Express',
-		name: 'Express',
-		component: Express,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //内部件
-		path: '/Inexpress',
-		name: 'Inexpress',
-		component: Inexpress,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //同城急送
-		path: '/Cityexpress',
-		name: 'Cityexpress',
-		component: Cityexpress,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //地址簿
-		path: '/Addressbook',
-		name: 'Addressbook',
-		component: Addressbook,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //地址簿
-		path: '/MultipleAddressbook',
-		name: 'MultipleAddressbook',
-		component: MultipleAddressbook,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //地址簿
-		path: '/CityAddressbook',
-		name: 'CityAddressbook',
-		component: CityAddressbook,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //地址簿
-		path: '/Inaddressbook',
-		name: 'Inaddressbook',
-		component: Inaddressbook,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //我的地址簿
-		path: '/Myaddressbook',
-		name: 'Myaddressbook',
-		component: Myaddressbook,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //新建地址
-		path: '/Newaddress',
-		name: 'Newaddress',
-		component: Newaddress,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //新建地址(内部)
-		path: '/InNewaddress',
-		name: 'InNewaddress',
-		component: InNewaddress,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //编辑地址
-		path: '/Editaddress',
-		name: 'Editaddress',
-		component: Editaddress,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //批量寄
-		path: '/Multipleexpress',
-		name: 'Multipleexpress',
-		component: Multipleexpress,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //禁寄品须知
-		path: '/Xz',
-		name: 'Xz',
-		component: Xz,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //快递代收
-		path: '/Daishou',
-		name: 'Daishou',
-		component: Daishou,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //查快递
-		path: '/Info',
-		name: 'Info',
-		component: Info,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //内部外部详情
-		path: '/MailInfo',
-		name: 'MailInfo',
-		component: MailInfo,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //我的收件详情
-		path: '/ExpressExpress',
-		name: 'ExpressExpress',
-		component: ExpressExpress,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //运费时效
-		path: '/Time',
-		name: 'Time',
-		component: Time,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //我的快件
-		path: '/Myexpress',
-		name: 'Myexpress',
-		component: Myexpress,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	// 新增
-	{ //设置
-		path: '/Setting',
-		name: 'Setting',
-		component: Setting,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //使用条款
-		path: '/Sytk',
-		name: 'Sytk',
-		component: Sytk,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //意见建议
-		path: '/Suggest',
-		name: 'Suggest',
-		component: Suggest,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //忘记密码
-		path: '/Forgetpassword',
-		name: 'Forgetpassword',
-		component: Forgetpassword
-	},
-	{ //添加国际收件人
-		path: '/foreignaddress',
-		name: 'foreignaddress',
-		component: Foreignaddress,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //国际寄件
-		path: '/Foreignexpress',
-		name: 'Foreignexpress',
-		component: Foreignexpress,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //申报信息
-		path: '/Sbxx',
-		name: 'Sbxx',
-		component: Sbxx,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //添加港澳收件人
-		path: '/Hkaddress',
-		name: 'Hkaddress',
-		component: Hkaddress,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //添加港澳
-		path: '/Hkexpress',
-		name: 'Hkexpress',
-		component: Hkexpress,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //添加港澳
-		path: '/Key',
-		name: 'Key',
-		component: Key,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //运单追踪
-		path: '/Logisticslist',
-		name: 'Logisticslist',
-		component: Logisticslist,
-		meta: {
-			needLogin: true //需要加校检判断的路由
-		}
-	},
-	{ //登录
-		path: '/Login',
-		name: 'Login',
-		component: Login
-	},
-	]
+  routes: [{
+    path: '/',
+    name: 'Index',
+    component: Index,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { // 门店调货
+    path: '/transferGoods',
+    name: 'TransferGoods',
+    component: transferGoods,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { // 门店地址簿
+    path: '/storeAdressBook',
+    name: 'StoreAdressBook',
+    component: storeAdressBook,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //意见建议列表
+    path: '/SuggestList',
+    name: 'SuggestList',
+    component: SuggestList,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //意见建议详情
+    path: '/SuggestInfo',
+    name: 'SuggestInfo',
+    component: SuggestInfo,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //查件
+    path: '/Search',
+    name: 'Search',
+    component: Search,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  {
+    path: '/My',
+    name: 'My',
+    component: My,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //个人信息
+    path: '/Personinfomation',
+    name: 'Personinfomation',
+    component: Personinfomation,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  {
+    path: '/Express',
+    name: 'Express',
+    component: Express,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //内部件
+    path: '/Inexpress',
+    name: 'Inexpress',
+    component: Inexpress,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //同城急送
+    path: '/Cityexpress',
+    name: 'Cityexpress',
+    component: Cityexpress,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //地址簿
+    path: '/Addressbook',
+    name: 'Addressbook',
+    component: Addressbook,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //地址簿
+    path: '/MultipleAddressbook',
+    name: 'MultipleAddressbook',
+    component: MultipleAddressbook,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //地址簿
+    path: '/CityAddressbook',
+    name: 'CityAddressbook',
+    component: CityAddressbook,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //地址簿
+    path: '/Inaddressbook',
+    name: 'Inaddressbook',
+    component: Inaddressbook,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //我的地址簿
+    path: '/Myaddressbook',
+    name: 'Myaddressbook',
+    component: Myaddressbook,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //新建地址
+    path: '/Newaddress',
+    name: 'Newaddress',
+    component: Newaddress,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //新建地址(内部)
+    path: '/InNewaddress',
+    name: 'InNewaddress',
+    component: InNewaddress,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //编辑地址
+    path: '/Editaddress',
+    name: 'Editaddress',
+    component: Editaddress,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //批量寄
+    path: '/Multipleexpress',
+    name: 'Multipleexpress',
+    component: Multipleexpress,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //禁寄品须知
+    path: '/Xz',
+    name: 'Xz',
+    component: Xz,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //快递代收
+    path: '/Daishou',
+    name: 'Daishou',
+    component: Daishou,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //查快递
+    path: '/Info',
+    name: 'Info',
+    component: Info,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //内部外部详情
+    path: '/MailInfo',
+    name: 'MailInfo',
+    component: MailInfo,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //我的收件详情
+    path: '/ExpressExpress',
+    name: 'ExpressExpress',
+    component: ExpressExpress,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //运费时效
+    path: '/Time',
+    name: 'Time',
+    component: Time,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //我的快件
+    path: '/Myexpress',
+    name: 'Myexpress',
+    component: Myexpress,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  // 新增
+  { //设置
+    path: '/Setting',
+    name: 'Setting',
+    component: Setting,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //使用条款
+    path: '/Sytk',
+    name: 'Sytk',
+    component: Sytk,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //意见建议
+    path: '/Suggest',
+    name: 'Suggest',
+    component: Suggest,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //忘记密码
+    path: '/Forgetpassword',
+    name: 'Forgetpassword',
+    component: Forgetpassword
+  },
+  { //添加国际收件人
+    path: '/foreignaddress',
+    name: 'foreignaddress',
+    component: Foreignaddress,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //国际寄件
+    path: '/Foreignexpress',
+    name: 'Foreignexpress',
+    component: Foreignexpress,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //申报信息
+    path: '/Sbxx',
+    name: 'Sbxx',
+    component: Sbxx,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //添加港澳收件人
+    path: '/Hkaddress',
+    name: 'Hkaddress',
+    component: Hkaddress,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //添加港澳
+    path: '/Hkexpress',
+    name: 'Hkexpress',
+    component: Hkexpress,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //添加港澳
+    path: '/Key',
+    name: 'Key',
+    component: Key,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //运单追踪
+    path: '/Logisticslist',
+    name: 'Logisticslist',
+    component: Logisticslist,
+    meta: {
+      needLogin: true //需要加校检判断的路由
+    }
+  },
+  { //登录
+    path: '/Login',
+    name: 'Login',
+    component: Login
+  },
+  ]
 })