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

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
@@ -57,6 +57,7 @@ export default {
formInline: {},
selectionRowsArray:[],
rules: {},
title:'',
visible: false,
confirmLoading: false,
studioList: [],
@@ -104,21 +105,19 @@ export default {
this.$refs.ruleForm.validate(valid => {
if (valid) {
let query = {}
let url = ''
this.ids = this.selectionRowsArray.join(',')
query = {
ids: this.ids,
certificationProgress: this.formInline.certificationProgress,
certificationProgressRemark: this.formInline.certificationProgressRemark
}
url = this.url.edit
this.confirmLoading = true
postAction(url, query).then((res) => {
postAction('/project/projectTaskInventoryEO/editBatch', query).then((res) => {
if (res.success) {
this.visible = false
this.confirmLoading = false
this.$message.success(this.$t('OperationSuccessful'))
this.$emit('TaskListModelList')
this.$emit('batchModel')
} else {
this.$message.warning(this.$t('operationFailed'))
this.confirmLoading = false