From 25522186eb26b34d70503342d5473148bf2b1aec Mon Sep 17 00:00:00 2001 From: wanglei Date: Thu, 18 Apr 2024 11:03:04 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/szxc/wish/index.vue | 7 +- ruoyi-ui/src/views/szxc/workrecard/index.vue | 227 ++++++++++++++++--- 2 files changed, 195 insertions(+), 39 deletions(-) diff --git a/ruoyi-ui/src/views/szxc/wish/index.vue b/ruoyi-ui/src/views/szxc/wish/index.vue index 1c8c24f..4e03334 100644 --- a/ruoyi-ui/src/views/szxc/wish/index.vue +++ b/ruoyi-ui/src/views/szxc/wish/index.vue @@ -155,7 +155,7 @@ - + From f89208d4d3bde9daa40ea5c071c723b1e84a7d2a Mon Sep 17 00:00:00 2001 From: wanglei Date: Thu, 18 Apr 2024 11:50:35 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E5=B7=A1=E6=9F=A5=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/szxc/workrecard/index.vue | 2 +- ruoyi-ui/src/views/szxc/xcrecard/index.vue | 210 ++++++++++++++++--- 2 files changed, 183 insertions(+), 29 deletions(-) diff --git a/ruoyi-ui/src/views/szxc/workrecard/index.vue b/ruoyi-ui/src/views/szxc/workrecard/index.vue index 88e0156..8977e61 100644 --- a/ruoyi-ui/src/views/szxc/workrecard/index.vue +++ b/ruoyi-ui/src/views/szxc/workrecard/index.vue @@ -137,7 +137,7 @@ diff --git a/ruoyi-ui/src/views/szxc/xcrecard/index.vue b/ruoyi-ui/src/views/szxc/xcrecard/index.vue index c908681..6d276d6 100644 --- a/ruoyi-ui/src/views/szxc/xcrecard/index.vue +++ b/ruoyi-ui/src/views/szxc/xcrecard/index.vue @@ -157,7 +157,6 @@ - - + + + + + - - + + - + + + @@ -303,23 +331,6 @@ - - - - - - - @@ -328,9 +339,6 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 5511c7c958f5934a930f992feaa2b7519b862c7f Mon Sep 17 00:00:00 2001 From: wanglei Date: Thu, 18 Apr 2024 14:09:05 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E8=B5=B0=E8=AE=BF=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/szxc/visitrecard/index.vue | 234 ++++++++++++++---- ruoyi-ui/src/views/szxc/xcrecard/index.vue | 4 +- 2 files changed, 194 insertions(+), 44 deletions(-) diff --git a/ruoyi-ui/src/views/szxc/visitrecard/index.vue b/ruoyi-ui/src/views/szxc/visitrecard/index.vue index dacdd37..13ef590 100644 --- a/ruoyi-ui/src/views/szxc/visitrecard/index.vue +++ b/ruoyi-ui/src/views/szxc/visitrecard/index.vue @@ -114,49 +114,57 @@ - - - - + + + + + + - + - + - + - - - + - - - + + + - - - + + + + + + + + @@ -253,30 +281,11 @@ - + - - - - - - - - - @@ -298,21 +307,59 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ruoyi-ui/src/views/szxc/xcrecard/index.vue b/ruoyi-ui/src/views/szxc/xcrecard/index.vue index 6d276d6..eddce9d 100644 --- a/ruoyi-ui/src/views/szxc/xcrecard/index.vue +++ b/ruoyi-ui/src/views/szxc/xcrecard/index.vue @@ -677,7 +677,7 @@ export default { this.resetForm("shenHeForm"); this.shenHe.form = { id: null, - shRecardType: '0', + shRecardType: '2', jlId: row.id, auditDept: row.auditDept, auditName: this.$store.state.user.nickName, @@ -726,7 +726,7 @@ export default { listXyrecard({ pageNum: 1, pageSize: 100000000, - shRecardType: '0', + shRecardType: '2', jlId: this.shjl.selectedRow.id }).then(response => { this.shjl.list = response.rows From fa4d98d7a75b2d1073c3b6fb20e575faaa2b4000 Mon Sep 17 00:00:00 2001 From: wanglei Date: Thu, 18 Apr 2024 15:13:07 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E8=A1=A5=E8=B4=B4=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/szxc/butie/index.vue | 230 +++++++++++++++++++++--- 1 file changed, 209 insertions(+), 21 deletions(-) diff --git a/ruoyi-ui/src/views/szxc/butie/index.vue b/ruoyi-ui/src/views/szxc/butie/index.vue index 98f545f..2c44f1e 100644 --- a/ruoyi-ui/src/views/szxc/butie/index.vue +++ b/ruoyi-ui/src/views/szxc/butie/index.vue @@ -99,24 +99,33 @@ - - - - - - - - - + + + + + + + + + + - - - + + + + + + + + @@ -144,14 +173,13 @@ - + - - - - + - - - From 84765dae584da829bffd3455a4b6cb989cc4d03c Mon Sep 17 00:00:00 2001 From: wanglei Date: Fri, 19 Apr 2024 10:51:56 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E5=BF=83=E6=84=BF=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E3=80=81=E8=B5=B0=E8=AE=BF=E8=AE=B0=E5=BD=95=E3=80=81=E8=A1=A5?= =?UTF-8?q?=E8=B4=B4=E7=AE=A1=E7=90=86=E3=80=81=E5=B7=A1=E6=9F=A5=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E3=80=81=E5=B7=A5=E4=BD=9C=E8=AE=B0=E5=BD=95=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/store/modules/user.js | 10 ++++++++++ ruoyi-ui/src/views/szxc/butie/index.vue | 2 +- ruoyi-ui/src/views/szxc/visitrecard/index.vue | 2 +- ruoyi-ui/src/views/szxc/wish/index.vue | 2 +- ruoyi-ui/src/views/szxc/workrecard/index.vue | 2 +- ruoyi-ui/src/views/szxc/xcrecard/index.vue | 2 +- 6 files changed, 15 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/store/modules/user.js b/ruoyi-ui/src/store/modules/user.js index f1de25c..bbe7a3a 100644 --- a/ruoyi-ui/src/store/modules/user.js +++ b/ruoyi-ui/src/store/modules/user.js @@ -4,9 +4,11 @@ import { getToken, setToken, removeToken } from '@/utils/auth' const user = { state: { token: getToken(), + admin: '', id: '', name: '', nickName: '', + deptId: '', avatar: '', roles: [], permissions: [] @@ -16,6 +18,9 @@ const user = { SET_TOKEN: (state, token) => { state.token = token }, + SET_ADMIN: (state, admin) => { + state.admin = admin + }, SET_ID: (state, id) => { state.id = id }, @@ -25,6 +30,9 @@ const user = { SET_NICKNAME: (state, nickName) => { state.nickName = nickName }, + SET_DEPTID: (state, deptId) => { + state.deptId = deptId + }, SET_AVATAR: (state, avatar) => { state.avatar = avatar }, @@ -66,9 +74,11 @@ const user = { } else { commit('SET_ROLES', ['ROLE_DEFAULT']) } + commit('SET_ADMIN', user.admin) commit('SET_ID', user.userId) commit('SET_NAME', user.userName) commit('SET_NICKNAME', user.nickName) + commit('SET_DEPTID', user.deptId) commit('SET_AVATAR', avatar) resolve(res) }).catch(error => { diff --git a/ruoyi-ui/src/views/szxc/butie/index.vue b/ruoyi-ui/src/views/szxc/butie/index.vue index 2c44f1e..d9a12c9 100644 --- a/ruoyi-ui/src/views/szxc/butie/index.vue +++ b/ruoyi-ui/src/views/szxc/butie/index.vue @@ -140,7 +140,7 @@ v-hasPermi="['szxc:butie:remove']" >删除 删除 删除 删除 整改进度