diff --git a/src/App.vue b/src/App.vue index cf846fc5ef9fea0465252ffd82a41c1f80642bc3..12a058fd5bad2b889fb58459e533b25ccb679588 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,6 @@ diff --git a/src/assets/imgs/ic_warning.png b/src/assets/imgs/ic_warning.png new file mode 100644 index 0000000000000000000000000000000000000000..e89ba83ece797eeac7e44f2ec4e481f305b38305 Binary files /dev/null and b/src/assets/imgs/ic_warning.png differ diff --git a/src/components/menu.vue b/src/components/menu.vue index 5ab2356b0719ec5bb2814e5002638b7f6f7f4dbf..0ef140a4009c7c3b992a48a3b5d338137a07d8ff 100644 --- a/src/components/menu.vue +++ b/src/components/menu.vue @@ -132,7 +132,7 @@ export default { user_arr: [ { name: "个人档案", path: "/user/user_info" }, { name: "消息通知", path: "/user/message" }, - { name: "收银中心", path: "" }, + { name: "收银中心", path: "/authority" }, { name: "关于BD-aPaaS", path: "" }, { name: "退出登录", path: "" } ], @@ -194,6 +194,9 @@ export default { if (v.path) { if (v.path == "/fwgl/" || v.path == "/yygl/") { this.$router.push(v.path + this.$store.state.role); + } else if (parent == 2) { + this.$router.push(v.path); + this.$store.commit("serviceShopMenuAct", v.path); } else { this.$router.push(v.path); } diff --git a/src/components/order-list/order-list-cell.vue b/src/components/order-list/order-list-cell.vue index 82918f069de4f0ce3761271bfb85f2b7aa6fb468..485a385185d865f17f263ac47cc9a8c8ac32b621 100644 --- a/src/components/order-list/order-list-cell.vue +++ b/src/components/order-list/order-list-cell.vue @@ -1,9 +1,9 @@ + + \ No newline at end of file diff --git a/src/components/service_list.vue b/src/components/service_list.vue deleted file mode 100644 index 74b83b1efbeb649ce6d211cb079168865c7e4056..0000000000000000000000000000000000000000 --- a/src/components/service_list.vue +++ /dev/null @@ -1,620 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/components/shop-cloud/shop-cloud.vue b/src/components/shop-cloud/shop-cloud.vue index eb7f9c12dffc197eedfca995ccaf2af63ed6e746..e7a334fc5e8cc4a510f4cd29fa50c960b0ca6f5c 100644 --- a/src/components/shop-cloud/shop-cloud.vue +++ b/src/components/shop-cloud/shop-cloud.vue @@ -91,7 +91,7 @@ @@ -104,7 +104,7 @@ @@ -117,7 +117,7 @@ @@ -136,7 +136,7 @@ @@ -149,7 +149,7 @@ @@ -165,7 +165,7 @@ @@ -178,7 +178,7 @@ @@ -194,7 +194,7 @@ @@ -315,7 +315,7 @@
@@ -327,7 +327,7 @@
GB
@@ -366,7 +366,7 @@ @@ -379,7 +379,7 @@ @@ -395,7 +395,7 @@ @@ -408,7 +408,7 @@ @@ -437,7 +437,7 @@ { + this.formOld[item] = ""; + }); } else { this.formShow = false; } @@ -916,6 +919,7 @@ export default { + diff --git a/src/pages/authority/roles.vue b/src/pages/authority/roles.vue index b49e6ade64b057a26575c815e670e7f865a98112..fb82c133acc99aa355498c52d3d8033cfdfaff25 100644 --- a/src/pages/authority/roles.vue +++ b/src/pages/authority/roles.vue @@ -50,6 +50,12 @@ export default { showDialog() { this.$refs.dialog.show(); }, + editItem(item) { + this.$router.push(`/authority/roles/edit/${item.id}`); + }, + allotItem(item) { + this.$router.push(`/authority/roles/allot/${item.id}`); + }, deleteItem(item) { this.dialogInfo.title = ""; this.dialogInfo.msg = "确认删除当前角色"; @@ -67,9 +73,7 @@ export default { label: "角色类型", prop: "name", type: "button", - callback(item) { - console.log("查看详情 - " + item.name); - }, + callback: this.editItem, }, { label: "创建人", @@ -91,9 +95,7 @@ export default { actionList: [ { label: "分配权限", - callback(item) { - console.log("分配权限 - " + item.name); - }, + callback: this.allotItem, }, { label: "删除", diff --git a/src/pages/authority/users.vue b/src/pages/authority/users.vue index 5441c33974f4b247eab9ba667b57ca3fcd17ad99..204ca7f8e7a1d46fcc3e527c1f768e1563db9f3d 100644 --- a/src/pages/authority/users.vue +++ b/src/pages/authority/users.vue @@ -1,9 +1,9 @@