diff --git a/src/components/apass-dialog.vue b/src/components/apass-dialog.vue
index 53e7d8c6b71b47681305c18efa6b2fd887867d24..b13839088e2ea197378174b720b375646f7ca763 100644
--- a/src/components/apass-dialog.vue
+++ b/src/components/apass-dialog.vue
@@ -9,12 +9,27 @@
+
+
-
@@ -170,17 +166,10 @@ export default {
console.log(value);
},
deleteAction(item) {
- this.dialogShow();
- },
- dialogShow() {
this.$refs.dialog.show();
},
- dialogHide() {
- this.$refs.dialog.hide();
- },
dialogSubmit() {
console.log("dialog submit");
- this.dialogHide();
},
},
};
diff --git a/src/pages/authority/users.vue b/src/pages/authority/users.vue
index c9589448a5efbfa99890d71b33c6f51b1b9af6ae..90691f61179fe4baaede8c44ddf07b96b53b06b7 100644
--- a/src/pages/authority/users.vue
+++ b/src/pages/authority/users.vue
@@ -76,7 +76,12 @@
-
+
-
-
- 取消
-
-
- 确定
-
-
@@ -189,7 +186,7 @@ export default {
},
setRole(item) {
console.log("setRole " + item.name);
- this.dialogShow();
+ this.$refs.dialog.show();
},
setState(item) {
console.log("setState " + item.name);
@@ -197,15 +194,8 @@ export default {
dialogSelectionChange(values) {
console.log(values);
},
- dialogShow() {
- this.$refs.dialog.show();
- },
- dialogHide() {
- this.$refs.dialog.hide();
- },
dialogSubmit() {
console.log("dialog submit");
- this.dialogHide();
},
},
};