diff --git a/src/views/xgf/flow/components/flowInfo.vue b/src/views/xgf/flow/components/flowInfo.vue new file mode 100644 index 0000000..7ffe2e4 --- /dev/null +++ b/src/views/xgf/flow/components/flowInfo.vue @@ -0,0 +1,83 @@ + + + diff --git a/src/views/xgf/flow/components/flowInfoList.vue b/src/views/xgf/flow/components/flowInfoList.vue new file mode 100644 index 0000000..3b55422 --- /dev/null +++ b/src/views/xgf/flow/components/flowInfoList.vue @@ -0,0 +1,87 @@ + + + diff --git a/src/views/xgf/flow/components/flowStep.vue b/src/views/xgf/flow/components/flowStep.vue new file mode 100644 index 0000000..1af3130 --- /dev/null +++ b/src/views/xgf/flow/components/flowStep.vue @@ -0,0 +1,107 @@ + + + diff --git a/src/views/xgf/flow/components/list.vue b/src/views/xgf/flow/components/list.vue index c8d608d..80822b6 100644 --- a/src/views/xgf/flow/components/list.vue +++ b/src/views/xgf/flow/components/list.vue @@ -39,9 +39,11 @@ - + @@ -56,6 +58,8 @@ + + @@ -68,9 +72,11 @@ import apply from './apply' import user from './user.vue' import SendUtil from './sendUtil.vue' import UserInfo from '../../flowApply/components/userInfo.vue' +import FlowInfoList from './flowInfoList.vue' +import FlowStep from './flowStep.vue' export default { - components: { UserInfo, SendUtil, Pagination, apply, vueQr, user }, + components: { FlowStep, FlowInfoList, UserInfo, SendUtil, Pagination, apply, vueQr, user }, directives: { waves }, data() { return { @@ -162,6 +168,12 @@ export default { handleShow(row) { this.$refs.userInfos.init(row) }, + handleFlowShow(row) { + this.$refs.flowInfo.init(row) + }, + handleFlowStepShow(row) { + this.$refs.flowStep.init(row) + }, approve(row) { this.$refs.sendUtil.init(row) }, diff --git a/src/views/xgf/flow/components/sendUtil.vue b/src/views/xgf/flow/components/sendUtil.vue index 8716bc4..c3f41b4 100644 --- a/src/views/xgf/flow/components/sendUtil.vue +++ b/src/views/xgf/flow/components/sendUtil.vue @@ -5,7 +5,7 @@ - + @@ -20,7 +20,7 @@ placeholder="请选择部门" no-options-text="暂无数据" no-children-text="暂无数据" - style="width: 100%;" + style="width: 300px" @select="getPeopleList($event)" /> @@ -129,10 +129,10 @@ export default { } } else { this.isShow = true - if (this.info.FLOWS_STEP === 0 || this.info.FLOWS_STEP === 3 || this.info.FLOWS_STEP === 4) { + if (this.info.FLOWS_STEP === 2 || this.info.FLOWS_STEP === 3) { await this.getDepartmentTree() this.corpFlag = false - if (this.info.FLOWS_STEP === 4) { + if (this.info.FLOWS_STEP === 3) { this.isShow = false } } else { @@ -152,6 +152,7 @@ export default { this.$message.success('推送成功') this.visible = false this.$emit('refresh', '') + this.handleClose() }) .catch((e) => { console.log(e) @@ -236,6 +237,7 @@ export default { APPOINT_DEPARTMENT_NAME: '', APPOINT_USER_ID: '', APPOINT_USER_NAME: '', + OPINION: '', user: '', list: [], tm: new Date().getTime() 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) },