修改禅道已知bug
This commit is contained in:
@@ -178,6 +178,7 @@ export default {
|
||||
this.$message.warning(this.$t('OnlyOneSelected'))
|
||||
} else {
|
||||
let param = {ids: this.selectedRowKeysArray, paramsManifestId:this.$route.query.id ,projectId: this.$route.query.projectId, dre:this.selectedRowKeysDate[0].username }
|
||||
this.confirmLoading = true
|
||||
axios({
|
||||
url: '/jero-boot/params/collectManifest/updateDreBatch',
|
||||
method: 'post',
|
||||
@@ -199,14 +200,17 @@ export default {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
// 填写人
|
||||
// 获取当前登陆人
|
||||
this.confirmLoading = false
|
||||
this.$emit('GetgetLoginUserType')
|
||||
this.$emit('GetgetTableList')
|
||||
this.$emit('areaVisibleAssignedbyflag', false)
|
||||
}else{
|
||||
this.confirmLoading = false
|
||||
_this.$message.warning(_this.$t('operationFailed'))
|
||||
}
|
||||
})
|
||||
.catch( (error) =>{
|
||||
this.confirmLoading = false
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -231,13 +231,16 @@ export default {
|
||||
this.formInline.targetConfigIds = this.formInline.targetConfigIds.join(',')
|
||||
}
|
||||
let param = {ids: this.selectedRowKeysArray, ...this.formInline }
|
||||
this.confirmLoading = true
|
||||
postAction('params/collectManifest/referParams', param).then((res) => {
|
||||
if (res.success) {
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.$emit('areaVisibleAssignedbyflag', false)
|
||||
this.$emit('GetgetTableList')
|
||||
this.confirmLoading = false
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
this.confirmLoading = false
|
||||
}
|
||||
})
|
||||
}})
|
||||
|
||||
@@ -92,6 +92,7 @@ export default {
|
||||
handleSubmit() {
|
||||
let _this = this
|
||||
let param = {ids: this.selectedRowKeysArray, paramsManifestId: this.paramsManifest.id }
|
||||
this.confirmLoading = true
|
||||
axios({
|
||||
url: '/jero-boot/params/collectManifest/syncReport',
|
||||
method: 'post',
|
||||
@@ -114,12 +115,15 @@ export default {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
this.$emit('areaVisibsynchronous', false)
|
||||
this.$emit('GetgetTableList')
|
||||
this.confirmLoading = false
|
||||
}else{
|
||||
_this.$message.warning(_this.$t('operationFailed'))
|
||||
this.confirmLoading = false
|
||||
}
|
||||
})
|
||||
.catch( (error) =>{
|
||||
console.log(error);
|
||||
this.confirmLoading = false
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -107,12 +107,15 @@ export default {
|
||||
handleSubmit() {
|
||||
let _this = this
|
||||
let param = {ids: this.selectedRowKeysArray, deadline: `${this.pickerDate}`, }
|
||||
this.confirmLoading = true
|
||||
postAction('/params/collectManifest/updateDeadlineBatch', param).then((res) => {
|
||||
if (res.success) {
|
||||
this.$emit('areaVisibleTaskCutOffTimeflag', false)
|
||||
this.$message.success(res.message)
|
||||
this.confirmLoading = false
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
this.confirmLoading = false
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user