- 审批人:{{ item.APPOINT_DEPARTMENT_NAME }}
+ 审批人:{{ item.APPOINT_USER_NAME }}
+
+
+ 审批人公司:{{ item.APPOINT_CORP_NAME }}
+
+
+ 审批人部门:{{ item.APPOINT_DEPARTMENT_NAME }}
审批状态:{{ item.APPOINT_STATUS === '1' ? '同意' : item.APPOINT_STATUS === '0' ? '不同意' : '' }}
- 审批时间:{{ item.APPOINT_USER_NAME }}
+ 审批时间:{{ item.APPOINT_TIME }}
-
+
审批意见:{{ item.APPOINT_OPINION }}
@@ -56,6 +63,7 @@ export default {
visible: false,
loading: false,
list: [],
+ title: '审批流程',
form: {
XGF_USER_ID: ''
},
@@ -64,8 +72,6 @@ export default {
},
methods: {
init(e) {
- this.visible = true
- this.loading = false
this.form.XGF_USER_ID = e.XGF_USER_ID
this.getInfo()
},
@@ -75,6 +81,17 @@ export default {
).then((data) => {
this.list = data.flow.info
this.step = data.flow.STEP
+ if (data.flow.endFlag === '1') {
+ this.title = '审批中'
+ }
+ if (data.flow.endFlag === '2') {
+ this.title = '审批结束'
+ }
+ if (data.flow.endFlag === '-2') {
+ this.title = '审批驳回'
+ }
+ this.visible = true
+ this.loading = false
}).catch((e) => {
console.log(e)
})
diff --git a/src/views/xgf/flowList/components/list.vue b/src/views/xgf/flowList/components/list.vue
index 0b313c5..bbe419b 100644
--- a/src/views/xgf/flowList/components/list.vue
+++ b/src/views/xgf/flowList/components/list.vue
@@ -41,9 +41,11 @@
-
+
详情
+ 审批记录
+ 审批流程
审批
电子合格证
@@ -59,6 +61,8 @@
+
+
@@ -71,9 +75,11 @@ import apply from './apply'
import user from './user.vue'
import SendUtil from './sendUtil.vue'
import UserInfo from '../../flowApply/components/userInfo.vue'
+import FlowStep from '../../flow/components/flowStep.vue'
+import FlowInfoList from '../../flow/components/flowInfoList.vue'
export default {
- components: { UserInfo, SendUtil, Pagination, apply, vueQr, user },
+ components: { FlowInfoList, FlowStep, UserInfo, SendUtil, Pagination, apply, vueQr, user },
directives: { waves },
data() {
return {
@@ -156,6 +162,12 @@ export default {
handleShow(row) {
this.$refs.userInfos.init(row)
},
+ handleShowStep(row) {
+ this.$refs.flowStep.init(row)
+ },
+ handleShowFlow(row) {
+ this.$refs.flowInfo.init(row)
+ },
approve(row) {
this.$refs.sendUtil.init(row)
},