|
@@ -56,7 +56,8 @@
|
|
|
getObject,
|
|
|
geteditindeTab,
|
|
|
listIndex,
|
|
|
- delMenutabform
|
|
|
+ delMenutabform,
|
|
|
+ tableSubimt, tableSubimtanit, addbjectSave
|
|
|
} from '@/api/system/form.js'
|
|
|
|
|
|
export default {
|
|
@@ -69,7 +70,7 @@
|
|
|
loading:true,
|
|
|
tabList: {},
|
|
|
currentPage3: 0,
|
|
|
- activeNames: ['1'],
|
|
|
+ activeNames: [1],
|
|
|
title: '列表',
|
|
|
objParams: {
|
|
|
table: 'obj_test',
|
|
@@ -89,7 +90,7 @@
|
|
|
pageNo: 1,
|
|
|
pageSize: 10,
|
|
|
orderBy:'create_time desc',
|
|
|
- table: 'obj_test ',
|
|
|
+ table: '',
|
|
|
},
|
|
|
labletit: '查询参数1233',
|
|
|
surlable: '实际数据库表',
|
|
@@ -151,6 +152,7 @@
|
|
|
this.objParams.fixedData.id = this.$route.query.id
|
|
|
this.deledlid.table = this.$route.query.tables
|
|
|
this.deledlid.idList.push(this.$route.query.id)
|
|
|
+ this.queryParamslist.table = this.$route.query.tables
|
|
|
this.init()
|
|
|
this.edingelsietab()
|
|
|
},
|
|
@@ -266,7 +268,7 @@
|
|
|
// this.formy.id = 0
|
|
|
this.formeanti.commitData.push(this.formy)
|
|
|
console.log(this.formeanti)
|
|
|
- // this.antiSubmission()
|
|
|
+ this.antiSubmission()
|
|
|
}else if(index == 'U'){
|
|
|
//反提交 保存
|
|
|
// this.formeanti.table = 'obj_test'
|
|
@@ -275,19 +277,19 @@
|
|
|
// this.formy.id = 0
|
|
|
this.formeanti.commitData.push(this.formy)
|
|
|
console.log(this.formeanti)
|
|
|
- // this.antiSubmission()
|
|
|
+ this.antiSubmission()
|
|
|
}else if(index == 'M'){
|
|
|
// 修改
|
|
|
// this.forme.table = 'obj_test'
|
|
|
// this.forme.objId = 1
|
|
|
this.forme.fixedData = this.queryParams
|
|
|
- // this.submitForm()
|
|
|
+ this.submitForm()
|
|
|
}else if(index == 'A'){
|
|
|
//新增
|
|
|
// this.forme.table = 'obj_test'
|
|
|
// this.forme.objId = -1
|
|
|
this.forme.fixedData = this.queryParams
|
|
|
- // this.submitForm()
|
|
|
+ this.submitForm()
|
|
|
}
|
|
|
|
|
|
console.log(this.forme)
|