[update] 修改bug87639加签后刷新审批记录表

This commit is contained in:
lideqin
2024-07-29 14:26:37 +08:00
parent 39d64f1a5e
commit 82c54a69bd
3 changed files with 12 additions and 6 deletions
@@ -122,7 +122,7 @@
</div> </div>
<!-- 人员信息 --> <!-- 人员信息 -->
<div v-show="switchValue === 'user'" class="detail-page-scroll-content p-0"> <div v-show="switchValue === 'user'" class="detail-page-scroll-content p-0">
<process-detail-list :processKey="ProcessKey.MARKET_LIST_RELEASE.value"> <process-detail-list ref="processDetailList" :processKey="ProcessKey.MARKET_LIST_RELEASE.value">
<personnel-info slot="personnelInfo" ref="personnelInfo" :data="personnelInfoData" :currentNode="currentNodeId" :notPermissField="['relatedUserList']"></personnel-info> <personnel-info slot="personnelInfo" ref="personnelInfo" :data="personnelInfoData" :currentNode="currentNodeId" :notPermissField="['relatedUserList']"></personnel-info>
</process-detail-list> </process-detail-list>
</div> </div>
@@ -168,17 +168,17 @@ import {
marketListReleaseApproval, marketListReleaseApproval,
marketListReleaseGetDataById, marketListReleaseGetDataById,
marketListReleaseReject, marketListReleaseReject,
marketListReleaseSave,
getDataDraft, getDataDraft,
processTransfer, processTransfer,
getLookData, getLookData,
processAddSign processAddSign,
marketListReleaseSubmit,
processSave
} from '@/api/workCenter' } from '@/api/workCenter'
import pick from 'lodash.pick' import pick from 'lodash.pick'
import { WorkCenterMixin } from '@/mixins/WorkCenterMixin' import { WorkCenterMixin } from '@/mixins/WorkCenterMixin'
import { getFormDictTreeList } from '../../../api/api' import { getFormDictTreeList } from '../../../api/api'
import STreeSelect from '../../../components/STreeSelect' import STreeSelect from '../../../components/STreeSelect'
import { marketListReleaseSubmit, processSave } from '../../../api/workCenter'
export default { export default {
name: 'MarketListReleaseProcess', name: 'MarketListReleaseProcess',
@@ -554,6 +554,8 @@ export default {
// 人员信息都不可选择 // 人员信息都不可选择
this.initPersonInfoData(false) this.initPersonInfoData(false)
}) })
// 刷新审批列表
this.$refs.processDetailList.loadData()
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
} }
@@ -93,7 +93,7 @@
</div> </div>
<!-- 人员信息 --> <!-- 人员信息 -->
<div v-show="switchValue === 'user'" class="detail-page-scroll-content p-0"> <div v-show="switchValue === 'user'" class="detail-page-scroll-content p-0">
<process-detail-list :processKey="ProcessKey.NEW_REGULATIONS_IMPORT.value"> <process-detail-list ref="processDetailList" :processKey="ProcessKey.NEW_REGULATIONS_IMPORT.value">
<personnel-info slot="personnelInfo" ref="personnelInfo" :data="personnelInfoData" :currentNode="currentNodeId" :notPermissField="['relatedUserList']"></personnel-info> <personnel-info slot="personnelInfo" ref="personnelInfo" :data="personnelInfoData" :currentNode="currentNodeId" :notPermissField="['relatedUserList']"></personnel-info>
</process-detail-list> </process-detail-list>
</div> </div>
@@ -481,6 +481,8 @@ export default {
// 人员信息都不可选择 // 人员信息都不可选择
this.initPersonInfoData(false) this.initPersonInfoData(false)
}) })
// 刷新审批列表
this.$refs.processDetailList.loadData()
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
} }
@@ -124,7 +124,7 @@
</div> </div>
<!-- 人员信息 --> <!-- 人员信息 -->
<div v-show="switchValue === 'user'" class="detail-page-scroll-content p-0"> <div v-show="switchValue === 'user'" class="detail-page-scroll-content p-0">
<process-detail-list :processKey="ProcessKey.REGULATORY_COMPLIANCE_CHECK.value"> <process-detail-list ref="processDetailList" :processKey="ProcessKey.REGULATORY_COMPLIANCE_CHECK.value">
<personnel-info slot="personnelInfo" ref="personnelInfo" :data="personnelInfoData" :currentNode="currentNodeId" :notPermissField="['relatedUserList']"></personnel-info> <personnel-info slot="personnelInfo" ref="personnelInfo" :data="personnelInfoData" :currentNode="currentNodeId" :notPermissField="['relatedUserList']"></personnel-info>
</process-detail-list> </process-detail-list>
</div> </div>
@@ -600,6 +600,8 @@ export default {
// 人员信息都不可选择 // 人员信息都不可选择
this.initPersonInfoData(false) this.initPersonInfoData(false)
}) })
// 刷新审批列表
this.$refs.processDetailList.loadData()
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
} }