diff --git a/src/page/check/chose.vue b/src/page/check/chose.vue index c621380..1e94102 100644 --- a/src/page/check/chose.vue +++ b/src/page/check/chose.vue @@ -127,6 +127,8 @@ diff --git a/src/router/avue-router.js b/src/router/avue-router.js index 1ebc4dd..2cad320 100644 --- a/src/router/avue-router.js +++ b/src/router/avue-router.js @@ -77,22 +77,22 @@ RouterPlugin.install = function(router, store) { meta: propsConfig.meta || 'meta' } // console.log(propsConfig,propsDefault,'参数一'); - console.log(this.routerList,'123'); + // console.log(this.routerList,'123'); // 当路由地址为空时返回 if (aMenu.length === 0) return // 循环地址数组 for (let i = 0; i < aMenu.length; i++) { const oMenu = aMenu[i] - console.log(oMenu[propsDefault.path],'这里是地址'); + // console.log(oMenu[propsDefault.path],'这里是地址'); // 在这里时还可以进行下一步,但是this.routerList[]值不知何处取得 - console.log(this.routerList.includes(oMenu[propsDefault.path])); + // console.log(this.routerList.includes(oMenu[propsDefault.path])); // 判断路由地址的是否包括routerList[building] 如果没有则返回 为去重操作? - // if (this.routerList.includes(oMenu[propsDefault.path])) return + if (this.routerList.includes(oMenu[propsDefault.path])) return // console.log(3); // 定义地址 const path = (() => { // 此为获得的路由地址 - console.log(oMenu[propsDefault.path]); + // console.log(oMenu[propsDefault.path]); if (!oMenu[propsDefault.path]) { // 如果没有返回 return @@ -162,7 +162,6 @@ RouterPlugin.install = function(router, store) { return this.formatRoutes(children, false) })() } - console.log(2); // 将路由地址放入aRouter aRouter.push(oRouter) } @@ -178,9 +177,11 @@ RouterPlugin.install = function(router, store) { // 如果不是则返回 return aRouter } - console.log(aRouter,'内容'); + // 在这里将数据重新赋值为空 就可以了 关键不知道为啥,案例来说可以? + this.routerList=[] + // console.log(aRouter,'内容'); } } } -console.log(RouterPlugin,'配置'); +// console.log(RouterPlugin,'配置'); export default RouterPlugin diff --git a/src/views/Customer/AgentManagement.vue b/src/views/Customer/AgentManagement.vue index 21ddcef..ed56ad5 100644 --- a/src/views/Customer/AgentManagement.vue +++ b/src/views/Customer/AgentManagement.vue @@ -20,7 +20,7 @@
服务状态:
- + { - this.$message({ - type: 'info', - message: '已取消删除' - }); + // this.$message({ + // type: 'info', + // message: '已取消删除' + // }); }); }, diff --git a/src/views/admin/role/index.vue b/src/views/admin/role/index.vue index ec1e2e1..4bc65eb 100644 --- a/src/views/admin/role/index.vue +++ b/src/views/admin/role/index.vue @@ -282,7 +282,7 @@ --> - +
@@ -1734,10 +1734,12 @@ export default { console.log("这里是单个楼盘勾选"); this.bindFlag = "0"; } - if (row.selectHouseType == 2) { + else if (row.selectHouseType == 2) { this.bindFlag = "1"; console.log("这里是区域选择"); this.userAreaFind(row.accountId, row.username); + }else{ + this.bindFlag = "0"; } this.gethouseList(); // 获取区域列表 diff --git a/src/views/building/index.vue b/src/views/building/index.vue index cc91fe7..62303bd 100644 --- a/src/views/building/index.vue +++ b/src/views/building/index.vue @@ -1032,7 +1032,7 @@ export default { }, del(row) { console.log(row, "删除"); - this.$confirm(`是否删除区域?`, "提示", { + this.$confirm(`是否删除此楼盘?`, "提示", { confirmButtonText: "确定", cancelButtonText: "取消", distinguishCancelAndClose: true,