引用参数列确定 增加参数

This commit is contained in:
zyx.net
2022-12-07 10:31:56 +08:00
parent a87fea4114
commit 4f7ab6c4fd
@@ -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)