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

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
@@ -87,6 +87,7 @@ export default {
projectLawsInventoryIds:[],
roleCodes:[],
visible: false,
title:'',
confirmLoading: false,
studioList: [],
disabled: false,
@@ -134,7 +135,6 @@ export default {
let query = {}
let projectLawsInventoryIds = []
let roleCodes = []
let url = ''
let Action
this.selectionRowsArray.forEach((item,index) => {
projectLawsInventoryIds.push(item.projectLawsInventoryId)
@@ -146,15 +146,14 @@ export default {
conditionAssessment: this.formInline.conditionAssessment,
projectLawsInventoryIds: projectLawsInventoryIds.join(',')
}
url = this.url.addOrUpdate
Action = postAction
this.confirmLoading = true
Action(url, query).then((res) => {
Action('/project/projectTaskInventoryConditionAssessmentEO/addOrUpdateBatch', query).then((res) => {
if (res.success) {
this.visible = false
this.confirmLoading = false
this.$message.success(this.$t('OperationSuccessful'))
this.$emit('TaskListModelList')
this.$emit('batchChangeModel')
} else {
this.$message.warning(this.$t('operationFailed'))
this.confirmLoading = false