diff --git a/Web/src/pages/system/config/form.vue b/Web/src/pages/system/config/form.vue index 93ec7d1..dacdc2a 100644 --- a/Web/src/pages/system/config/form.vue +++ b/Web/src/pages/system/config/form.vue @@ -11,38 +11,33 @@
- - - - - - - - - - 是 - - - 否 - - - - - + + + + + + + + + + + + + + {{ item.value }} - - - - - - - - - + :key="i" + :value="item.code" + v-for="(item, i) in groupCode" + >{{ item.value }} + + + + + + + +
@@ -50,7 +45,6 @@ \ No newline at end of file diff --git a/Web/src/pages/system/pos/editForm.vue b/Web/src/pages/system/pos/editForm.vue deleted file mode 100644 index 79196bc..0000000 --- a/Web/src/pages/system/pos/editForm.vue +++ /dev/null @@ -1,74 +0,0 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/pos/form.vue b/Web/src/pages/system/pos/form.vue index e752d1b..48576b9 100644 --- a/Web/src/pages/system/pos/form.vue +++ b/Web/src/pages/system/pos/form.vue @@ -1,50 +1,99 @@ \ No newline at end of file diff --git a/Web/src/pages/system/pos/index.vue b/Web/src/pages/system/pos/index.vue index 6453768..df21a4d 100644 --- a/Web/src/pages/system/pos/index.vue +++ b/Web/src/pages/system/pos/index.vue @@ -1,30 +1,36 @@ \ No newline at end of file diff --git a/Web/src/pages/system/role/dataForm.vue b/Web/src/pages/system/role/dataForm.vue index e24cca7..984928e 100644 --- a/Web/src/pages/system/role/dataForm.vue +++ b/Web/src/pages/system/role/dataForm.vue @@ -83,16 +83,16 @@ export default { }, methods: { - async onOpen(record) { + async onOpen(params) { this.visible = true; - this.record = record; + this.record = params.record; this.loading = true; await this.onLoadCodes(); - this.form.dataScopeType = record.dataScopeType.toString(); + this.form.dataScopeType = this.record.dataScopeType.toString(); - await this.onChange(record.dataScopeType); + await this.onChange(this.record.dataScopeType); this.loading = false; }, diff --git a/Web/src/pages/system/role/editForm.vue b/Web/src/pages/system/role/editForm.vue deleted file mode 100644 index 1998175..0000000 --- a/Web/src/pages/system/role/editForm.vue +++ /dev/null @@ -1,75 +0,0 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/role/form.vue b/Web/src/pages/system/role/form.vue index a1de03e..2d2606c 100644 --- a/Web/src/pages/system/role/form.vue +++ b/Web/src/pages/system/role/form.vue @@ -1,50 +1,98 @@ \ No newline at end of file diff --git a/Web/src/pages/system/role/index.vue b/Web/src/pages/system/role/index.vue index 2057f1a..49e66c4 100644 --- a/Web/src/pages/system/role/index.vue +++ b/Web/src/pages/system/role/index.vue @@ -1,31 +1,36 @@