|
@@ -12,7 +12,7 @@
|
|
<el-button type="info" size="small" @click="goBack">返回</el-button>
|
|
<el-button type="info" size="small" @click="goBack">返回</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
<el-table
|
|
<el-table
|
|
- :data="columnForm.columnList"
|
|
|
|
|
|
+ :data="columnList"
|
|
style="width: 100%">
|
|
style="width: 100%">
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="userName"
|
|
prop="userName"
|
|
@@ -64,10 +64,7 @@
|
|
name: '',
|
|
name: '',
|
|
sqlCmd: ''
|
|
sqlCmd: ''
|
|
},
|
|
},
|
|
- columnForm: {
|
|
|
|
- isNeedAll: true,
|
|
|
|
- columnList: []
|
|
|
|
- }
|
|
|
|
|
|
+ columnList: []
|
|
}
|
|
}
|
|
},
|
|
},
|
|
reimbursementBusiness: null,
|
|
reimbursementBusiness: null,
|
|
@@ -76,17 +73,14 @@
|
|
},
|
|
},
|
|
activated () {
|
|
activated () {
|
|
this.$refs['inputForm'].resetFields()
|
|
this.$refs['inputForm'].resetFields()
|
|
- this.columnForm.columnList = []
|
|
|
|
|
|
+ this.columnList = []
|
|
this.inputForm.id = this.$route.query.id
|
|
this.inputForm.id = this.$route.query.id
|
|
if (this.inputForm.id) {
|
|
if (this.inputForm.id) {
|
|
this.reimbursementBusiness.findListByBusinessCodeId(this.inputForm.id).then(({data}) => {
|
|
this.reimbursementBusiness.findListByBusinessCodeId(this.inputForm.id).then(({data}) => {
|
|
- this.columnForm.columnList = data
|
|
|
|
|
|
+ this.columnList = data
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- components: {
|
|
|
|
- editor: require('vue2-ace-editor')
|
|
|
|
- },
|
|
|
|
methods: {
|
|
methods: {
|
|
goBack () {
|
|
goBack () {
|
|
this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
|
|
this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
|