批量修改认证进度 当前状态对接接口
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user