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