[update]
This commit is contained in:
@@ -190,19 +190,22 @@ export default {
|
|||||||
},
|
},
|
||||||
// 引用参数确定
|
// 引用参数确定
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if(this.formInline.targetConfigIds instanceof Array){
|
this.$refs.ruleForm.validate(valid => {
|
||||||
this.formInline.targetConfigIds = this.formInline.targetConfigIds.join(',')
|
if (valid) {
|
||||||
}
|
if(this.formInline.targetConfigIds instanceof Array){
|
||||||
let param = {ids: this.selectedRowKeysArray, ...this.formInline }
|
this.formInline.targetConfigIds = this.formInline.targetConfigIds.join(',')
|
||||||
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'))
|
|
||||||
}
|
}
|
||||||
})
|
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({
|
// axios({
|
||||||
// url: '/jero-boot/params/collectManifest/referParams',
|
// url: '/jero-boot/params/collectManifest/referParams',
|
||||||
// method: 'post',
|
// method: 'post',
|
||||||
@@ -238,7 +241,9 @@ export default {
|
|||||||
|
|
||||||
<style lang='less' scoped>
|
<style lang='less' scoped>
|
||||||
@import '~@assets/less/common.less';
|
@import '~@assets/less/common.less';
|
||||||
|
/deep/.ant-form-explain{
|
||||||
|
padding-left: 62px;
|
||||||
|
}
|
||||||
.diolag-area {
|
.diolag-area {
|
||||||
.table-area {
|
.table-area {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user