|
|
@@ -3,7 +3,7 @@
|
|
|
<tableNewLayout :layout="tablecols" :data="list" :opwidth="200" height="calc(100vh - 356px)" :width="true" :custom="true" fixedName="operation">
|
|
|
<template v-slot:customcol="scope">
|
|
|
<div>
|
|
|
- {{$t(scope.column.data[[scope.column.columnname]]) || scope.column.columnname === 'operation'?$t(scope.column.data[[scope.column.columnname]]):'--'}}
|
|
|
+ {{scope.column.data[[scope.column.columnname]] || scope.column.columnname === 'operation'? scope.column.data[[scope.column.columnname]] : '--'}}
|
|
|
</div>
|
|
|
</template>
|
|
|
<template v-slot:opreation="scope">
|
|
|
@@ -24,7 +24,7 @@ export default {
|
|
|
param:{
|
|
|
"id": 2025042213202602,
|
|
|
"content": {
|
|
|
- "sys_phonebookid": 5708,
|
|
|
+ "sys_phonebookid": '',
|
|
|
"pageSize": 20,
|
|
|
"pageNumber": 1,
|
|
|
"where": {
|
|
|
@@ -32,31 +32,21 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
- pageTotal:0,
|
|
|
- listqueryid:'',
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
async listData(){
|
|
|
- this.param.content.sys_phonebookid = this.$route.query.id
|
|
|
+ this.param.content.sys_phonebookid = this.data.sys_phonebookid
|
|
|
const res = await this.$api.requested(this.param)
|
|
|
- console.log(res.data,'res数据')
|
|
|
- // this.list = res.data
|
|
|
- console.log(this.list,'list的数据')
|
|
|
- // this.pageTotal = res.pageTotal
|
|
|
- // this.listqueryid = res.listqueryid
|
|
|
- // sessionStorage.setItem('total',res.total)
|
|
|
+ this.list = res.data
|
|
|
},
|
|
|
- goDetail(){
|
|
|
- // let route = this.$route
|
|
|
- // if (route.path !== '/customerDetail') {
|
|
|
- // this.oldRoute = {path:route.path,query:route.query}
|
|
|
- // this.$store.dispatch('setHistoryRouter',this.oldRoute)
|
|
|
- // }
|
|
|
- // sessionStorage.setItem('listqueryid',this.listqueryid)
|
|
|
- // sessionStorage.setItem('isGo','1')
|
|
|
- // this.$router.push({path:'/customerDetail',query:{id:row.sa_customersid,rowindex:row.rowindex,
|
|
|
- // listqueryid:this.listqueryid,fieldname:'sa_customersid'}})
|
|
|
+ goDetail(row){
|
|
|
+ let route = this.$route
|
|
|
+ if (route.path !== '/orderclue_detail') {
|
|
|
+ this.oldRoute = {path:route.path,query:route.query}
|
|
|
+ this.$store.dispatch('setHistoryRouter',this.oldRoute)
|
|
|
+ }
|
|
|
+ this.$router.push({path:'/orderclue_detail',query:{id:row.sat_orderclueid,rowindex:row.rowindex}})
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|