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