|
@@ -43,8 +43,8 @@
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
- <!-- <el-button type="primary" size="small" plain v-for="(item,indexss) in jeigneutwo" :key="item + indexss"
|
|
|
- @click="handleQueryju(item)">{{item}}</el-button> -->
|
|
|
+ <el-button type="primary" size="small" plain v-for="(item,indexss) in jeigneutwo" :key="item + indexss"
|
|
|
+ @click="handleQueryju(item)">{{item}}</el-button>
|
|
|
</div>
|
|
|
|
|
|
<el-table v-loading="loading" :data="postList.rows" @selection-change="handleSelectionChange">
|
|
@@ -165,7 +165,8 @@
|
|
|
jeigneutwo: [],
|
|
|
single: true,
|
|
|
multiple: true,
|
|
|
- tabName:''
|
|
|
+ tabName:'',
|
|
|
+ oieufr:''
|
|
|
};
|
|
|
},
|
|
|
filters:{
|
|
@@ -195,6 +196,7 @@
|
|
|
this.forme.table = this.$route.query.tables
|
|
|
this.forme.objId = this.$route.query.id
|
|
|
this.formy.id = this.$route.query.id
|
|
|
+ this.oieufr = this.$route.query.id
|
|
|
this.tableZbietabg.table = this.$route.query.tables
|
|
|
this.objParams.table = this.$route.query.tables
|
|
|
this.objParams.fixedData.id = this.$route.query.id
|
|
@@ -536,23 +538,24 @@
|
|
|
//删除
|
|
|
this.handleDeletetwo(this.deledlid)
|
|
|
} else if(index == '新增'){
|
|
|
- this.routerFn(-1, this.tabName)
|
|
|
+ this.routerFn(-1, this.tabName,this.oieufr)
|
|
|
}else if(index == '修改'){
|
|
|
if (this.single) {
|
|
|
this.msgInfo('请勾选一条信息')
|
|
|
return
|
|
|
}
|
|
|
const id = this.ids.join(',')
|
|
|
- this.routerFn(id, this.tabName)
|
|
|
+ this.routerFn(id, this.tabName,this.oieufr)
|
|
|
}
|
|
|
},
|
|
|
- routerFn(id, tables) {
|
|
|
+ routerFn(id, tables,tabfe) {
|
|
|
if (this.queryDatatao.viewType == 'crud') {
|
|
|
this.$router.push({
|
|
|
path: 'table',
|
|
|
query: {
|
|
|
id,
|
|
|
tables,
|
|
|
+ tabfe
|
|
|
},
|
|
|
})
|
|
|
} else if (this.queryDatatao.viewType == 'headTab') {
|
|
@@ -561,6 +564,7 @@
|
|
|
query: {
|
|
|
id,
|
|
|
tables,
|
|
|
+ tabfe
|
|
|
},
|
|
|
})
|
|
|
}
|