|
@@ -9,12 +9,11 @@
|
|
|
}"
|
|
|
tableName="orderclueList"
|
|
|
idName="sat_orderclueid"
|
|
|
+ :autoQuery="false"
|
|
|
:specialKey="[{key:'leader',value:'name'}]"
|
|
|
:apiId="{query:20221101094502,del:''}"
|
|
|
:options="options"
|
|
|
:detailPath="{path:'/orderclue_detail',param:{tabIndex:tabIndex}}"
|
|
|
- @listCreate="list"
|
|
|
- @listData="list2"
|
|
|
>
|
|
|
<template #custom>
|
|
|
<div class="mt-10">
|
|
@@ -136,6 +135,7 @@ export default {
|
|
|
areaChange(){
|
|
|
this.tabIndex = this.area
|
|
|
this.$refs.list.param.content.pageNumber=1;
|
|
|
+ this.$refs.list.param.content.isAll = 0
|
|
|
this.$refs.list.param.content.type=this.area;
|
|
|
this.$refs.list.listData()
|
|
|
},
|
|
@@ -160,7 +160,7 @@ export default {
|
|
|
list (param) {
|
|
|
param.content.isAll = 0
|
|
|
param.content.deleted = 0
|
|
|
- param.content.type = 1
|
|
|
+ param.content.type = this.area
|
|
|
},
|
|
|
list2 (data) {
|
|
|
console.log(data,"数据");
|
|
@@ -173,7 +173,15 @@ export default {
|
|
|
"content": {}
|
|
|
})
|
|
|
this.areaList2 = res.data
|
|
|
- this.area = res.data[0].templetid
|
|
|
+ for (let i=0;i<res.data.length;i++){
|
|
|
+ if (res.data[i].templetname == '站点全部'){
|
|
|
+ this.area = res.data[i].templetid
|
|
|
+ break
|
|
|
+ }else {
|
|
|
+ this.area = res.data[0].templetid
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.areaChange()
|
|
|
}
|
|
|
}
|
|
|
}
|