[update]
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user