批量修改认证进度 当前状态对接接口

This commit is contained in:
zyx.net
2022-08-22 17:50:29 +08:00
parent d3ee1a637b
commit 8e5f77b0c4
3 changed files with 18 additions and 12 deletions
@@ -186,8 +186,8 @@
<certificationDirectory :isDisplayNum="isDisplayNum" :url="url" ref="certificationDirectoryRef"/>
<TaskListModel @TaskListModelList="TaskListModelList" ref="TaskListModelRef"/>
<taskBatSetting @taskBatSettingForm="taskBatSettingForm" ref="taskBatSettingRef"></taskBatSetting>
<batchChangeModel ref="batchChangeModelRef"/>
<batchModel ref="batchModelRef"/>
<batchChangeModel @batchChangeModel="batchChangeModel" ref="batchChangeModelRef"/>
<batchModel @batchModel="batchModel" ref="batchModelRef"/>
<!-- 错误数据提示-->
<a-modal
:title="$t('operationFailed')"
@@ -393,6 +393,12 @@
taskBatSettingForm() {
this.getList()
},
batchChangeModel() {
this.getList()
},
batchModel() {
this.getList()
},
onSelectChange(value, selectionRows) {
this.selectedRowKeys = value
this.selectionRowsArray = selectionRows
@@ -542,9 +548,10 @@
})
query = {
roleCodes: roleCodes.join(','),
operation:'1',
projectLawsInventoryIds: projectLawsInventoryIds.join(',')
}
getAction(this.url.list, query).then((res) => {
postAction('/project/projectTaskInventoryEO/verifyRoleCode', query).then((res) => {
if (res.success) {
this.$refs.batchModelRef.getData(this.selectedRowKeys)
} else {
@@ -572,9 +579,10 @@
})
query = {
roleCodes: roleCodes.join(','),
operation:'2',
projectLawsInventoryIds: projectLawsInventoryIds.join(',')
}
getAction(this.url.list, query).then((res) => {
postAction('/project/projectTaskInventoryEO/verifyRoleCode', query).then((res) => {
if (res.success) {
this.$refs.batchChangeModelRef.getData(this.selectionRowsArray)
} else {