This commit is contained in:
zhaomeijing
2022-06-28 10:01:24 +08:00
parent 9102c2e692
commit 2d31a52bce
@@ -190,19 +190,22 @@ export default {
},
// 引用参数确定
handleSubmit() {
if(this.formInline.targetConfigIds instanceof Array){
this.formInline.targetConfigIds = this.formInline.targetConfigIds.join(',')
}
let param = {ids: this.selectedRowKeysArray, ...this.formInline }
postAction('params/collectManifest/referParams', param).then((res) => {
if (res.success) {
this.$message.success(this.$t('OperationSuccessful'))
this.$emit('areaVisibleAssignedbyflag', false)
this.$emit('GetgetTableList')
} else {
this.$message.warning(this.$t('operationFailed'))
this.$refs.ruleForm.validate(valid => {
if (valid) {
if(this.formInline.targetConfigIds instanceof Array){
this.formInline.targetConfigIds = this.formInline.targetConfigIds.join(',')
}
})
let param = {ids: this.selectedRowKeysArray, ...this.formInline }
postAction('params/collectManifest/referParams', param).then((res) => {
if (res.success) {
this.$message.success(this.$t('OperationSuccessful'))
this.$emit('areaVisibleAssignedbyflag', false)
this.$emit('GetgetTableList')
} else {
this.$message.warning(this.$t('operationFailed'))
}
})
}})
// axios({
// url: '/jero-boot/params/collectManifest/referParams',
// method: 'post',
@@ -238,7 +241,9 @@ export default {
<style lang='less' scoped>
@import '~@assets/less/common.less';
/deep/.ant-form-explain{
padding-left: 62px;
}
.diolag-area {
.table-area {
margin: 20px 0;