引用参数列确定 增加参数
This commit is contained in:
@@ -172,6 +172,7 @@
|
||||
confirmLoading: false,
|
||||
paramsReportId:'',
|
||||
paramsReportConfigId:'',
|
||||
paramsReportConfigName:'',
|
||||
selectedRowKeys: [],
|
||||
projectName:'',
|
||||
num:'',
|
||||
@@ -294,15 +295,22 @@
|
||||
if (valid) {
|
||||
this.flag = true
|
||||
this.confirmLoading = true
|
||||
this.selectedRowKeysDate[0].configList.forEach((item,index) => {
|
||||
if(item.value == this.selectedRowKeysDate[0].configure){
|
||||
this.paramsReportConfigName = item.label
|
||||
}
|
||||
})
|
||||
let postDate = {
|
||||
paramsReportId: this.selectedRowKeys[0],
|
||||
paramsReportConfigId: this.selectedRowKeysDate[0].configure,
|
||||
paramsReportConfigName:this.paramsReportConfigName,
|
||||
}
|
||||
//新增
|
||||
getAction(`params/collectManifest/addReferencesCol`, postDate).then(res => {
|
||||
if (res.success) {
|
||||
this.newVisible = false
|
||||
this.$emit('areaVisible', false)
|
||||
this.$emit('drawerhandleCancel', false)
|
||||
this.$emit('GetgetTableList')
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
|
||||
Reference in New Issue
Block a user