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