diff --git a/client/src/store/modules/user.js b/client/src/store/modules/user.js index c62c6b7..45701e8 100644 --- a/client/src/store/modules/user.js +++ b/client/src/store/modules/user.js @@ -28,6 +28,9 @@ const mutations = { }, SET_PERMS: (state, perms) => { state.perms = perms + }, + SET_DEPT: (state, dept) => { + state.dept = dept } } @@ -100,7 +103,7 @@ const actions = { reject('验证失败,重新登陆.') } - const { perms, name, avatar } = data + const { perms, name, avatar, dept } = data // perms must be a non-empty array if (!perms || perms.length <= 0) { @@ -110,6 +113,7 @@ const actions = { commit('SET_PERMS', perms) commit('SET_NAME', name) commit('SET_AVATAR', avatar) + commit('SET_DEPT', dept) resolve(data) }).catch(error => { reject(error) diff --git a/client/src/views/supervision/record.vue b/client/src/views/supervision/record.vue index 0f35bd0..76d5838 100644 --- a/client/src/views/supervision/record.vue +++ b/client/src/views/supervision/record.vue @@ -219,7 +219,8 @@
报送要求/备注 + {{ record.note }}
@@ -42,11 +43,12 @@
上报说明 + {{ record.noteb }}
@@ -57,6 +59,17 @@ :disabled="data.action == 'view'" > +
+ 修改意见 + {{ record.opinion }} + + +
已上传文件
diff --git a/client/src/views/supervision/taskdo.vue b/client/src/views/supervision/taskdo.vue index b0e7604..e97ae34 100644 --- a/client/src/views/supervision/taskdo.vue +++ b/client/src/views/supervision/taskdo.vue @@ -104,7 +104,9 @@ + }} + {{scope.row.dept_.type_name}} + diff --git a/client/src/views/system/organization.vue b/client/src/views/system/organization.vue index ea2345c..f17d0dd 100644 --- a/client/src/views/system/organization.vue +++ b/client/src/views/system/organization.vue @@ -31,11 +31,11 @@ :tree-props="{ children: 'children', hasChildren: 'hasChildren' }" > - + - +