From 19bfb0baff098b209aed710d49765de75951ff16 Mon Sep 17 00:00:00 2001 From: liujun Date: Thu, 21 Dec 2023 13:58:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=96=B9=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E7=BB=9F=E4=B8=80=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xgf/flow_audit/userInfo.vue | 409 ++++++++++++++++++++++++++ src/views/xgf/flow_audit/users.vue | 27 +- 2 files changed, 414 insertions(+), 22 deletions(-) create mode 100644 src/views/xgf/flow_audit/userInfo.vue diff --git a/src/views/xgf/flow_audit/userInfo.vue b/src/views/xgf/flow_audit/userInfo.vue new file mode 100644 index 0000000..7f497ec --- /dev/null +++ b/src/views/xgf/flow_audit/userInfo.vue @@ -0,0 +1,409 @@ + + + + + + diff --git a/src/views/xgf/flow_audit/users.vue b/src/views/xgf/flow_audit/users.vue index 6dab79c..9a70de3 100644 --- a/src/views/xgf/flow_audit/users.vue +++ b/src/views/xgf/flow_audit/users.vue @@ -107,6 +107,7 @@ + @@ -115,9 +116,11 @@ import Pagination from '@/components/Pagination' // 通过 el-pagination二次 import { requestFN } from '@/utils/request' import '@riophae/vue-treeselect/dist/vue-treeselect.css' import user from './user.vue' +import UserInfo from './userInfo.vue' export default { components: { + UserInfo, Pagination, user }, data() { @@ -191,28 +194,8 @@ export default { this.$refs.userInfo.init(row) }, // 查看 - async handleShow(row) { - await this.getUserInfoById(row.USER_ID) - this.userInfoDialog = true - this.heirloom = row - console.log(row.SUPERVISION_STATE, row.MANAGER_STATE, row.TERRITORIALITY_STATE) - if (row.SUPERVISION_STATE === 0 || row.MANAGER_STATE === 0 || row.TERRITORIALITY_STATE === 0) { - if (row.SUPERVISION_STATE === 0) { - this.message = row.SUPERVISION_OPINION - this.operator = row.SUPERVISION_USER_NAME - } - if (row.MANAGER_STATE === 0) { - this.message = row.MANAGER_OPINION - this.operator = row.MANAGER_USER_NAME - } - if (row.TERRITORIALITY_STATE === 0) { - this.message = row.TERRITORIALITY_OPINION - this.operator = row.TERRITORIALITY_USER_NAME - } - } else { - this.message = '' - this.operator = '' - } + handleShow(row) { + this.$refs.userInfos.init(row) }, examineShow(row) { this.form.TRAIN_USERS_ID = row.TRAIN_USERS_ID