From 34ba9a69fbb2156da34b33fde7f1b89420b24b25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Tue, 4 Jul 2023 09:48:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=A8=E6=88=B7=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=B7=BB=E5=8A=A0=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/system/user/index.vue | 1402 +++++++++-------- .../src/views/system/userdatasource/index.vue | 5 +- 2 files changed, 734 insertions(+), 673 deletions(-) diff --git a/ruoyi-ui/src/views/system/user/index.vue b/ruoyi-ui/src/views/system/user/index.vue index bfd8720..49532fa 100644 --- a/ruoyi-ui/src/views/system/user/index.vue +++ b/ruoyi-ui/src/views/system/user/index.vue @@ -1,670 +1,732 @@ - - - \ No newline at end of file + + + diff --git a/ruoyi-ui/src/views/system/userdatasource/index.vue b/ruoyi-ui/src/views/system/userdatasource/index.vue index 249710f..c45ee3c 100644 --- a/ruoyi-ui/src/views/system/userdatasource/index.vue +++ b/ruoyi-ui/src/views/system/userdatasource/index.vue @@ -156,7 +156,7 @@ export default { name: "Userdatasource", data() { return { - operationType:null, + operationType: null, // 遮罩层 loading: true, // 选中数组 @@ -273,7 +273,6 @@ export default { submitForm() { this.$refs["form"].validate(valid => { if (valid) { - console.log(this.operationType) if (this.operationType === 2) { updateUserdatasource(this.form).then(response => { this.$modal.msgSuccess("修改成功"); @@ -281,7 +280,7 @@ export default { this.getList(); }); } - if(this.operationType === 1){ + if (this.operationType === 1) { addUserdatasource(this.form).then(response => { this.$modal.msgSuccess("新增成功"); this.open = false;