功能系统维护对接
This commit is contained in:
@@ -199,7 +199,8 @@ export default {
|
||||
addModel:''
|
||||
},
|
||||
record:{},
|
||||
type:''
|
||||
type:'',
|
||||
id:'',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -216,6 +217,7 @@ export default {
|
||||
this.type = 'add'
|
||||
this.visibleadd = true
|
||||
this.formInline.gnxt = ''
|
||||
this.id = ''
|
||||
this.formInline.dataList = [{}]
|
||||
this.$nextTick(() => {
|
||||
this.$refs.ruleForm.clearValidate()
|
||||
@@ -225,6 +227,7 @@ export default {
|
||||
this.title = this.$t('edit')
|
||||
this.type = 'edit'
|
||||
this.formInline.gnxt = item.gnxt
|
||||
this.id = item.id
|
||||
let List = item.dykzq.split(',')
|
||||
let arr = []
|
||||
List.forEach((item,index)=>{
|
||||
@@ -273,7 +276,8 @@ export default {
|
||||
this.$refs.ruleForm.validate(valid => {
|
||||
if (valid) {
|
||||
let query = {
|
||||
...this.formInline
|
||||
...this.formInline,
|
||||
id:this.id
|
||||
}
|
||||
this.confirmLoading = true
|
||||
action(url, query).then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user