|
@@ -272,7 +272,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
settingTab:'time',
|
|
|
- Source:'',
|
|
|
+ Source:3,
|
|
|
SourceList:[],
|
|
|
SubSource:'',
|
|
|
SubSourceList:[],
|
|
@@ -291,7 +291,7 @@ export default {
|
|
|
sortType:'',//升序降序
|
|
|
sortParam:'',//排序字段
|
|
|
},
|
|
|
- hasSelectOption:false,
|
|
|
+ hasSelectOption: true,
|
|
|
selectOptionLoading:false,
|
|
|
|
|
|
|
|
@@ -324,7 +324,7 @@ export default {
|
|
|
statusSourceList:[],
|
|
|
statusEdbClassifyList:[],
|
|
|
searchParams:{
|
|
|
- Source:'',
|
|
|
+ Source:3,
|
|
|
Status:'',
|
|
|
Frequency:'',
|
|
|
SysUserId:'',
|
|
@@ -537,7 +537,7 @@ export default {
|
|
|
const source = this.SourceList.find(i=>i.Source===this.Source)||{Child:[]}
|
|
|
this.SubSourceList = source.Child
|
|
|
this.SubSource=''
|
|
|
- this.hasSelectOption = ![34,11].includes(this.Source)
|
|
|
+ this.hasSelectOption = true
|
|
|
if(this.hasSelectOption){
|
|
|
this.resetSelect()
|
|
|
this.tableData = []
|
|
@@ -589,7 +589,7 @@ export default {
|
|
|
//获取终端编码列表
|
|
|
await this.getClassifyList()
|
|
|
//获取分类列表
|
|
|
- await this.getTerminalCodeList()
|
|
|
+ // await this.getTerminalCodeList()
|
|
|
this.selectOptionLoading = false
|
|
|
},
|
|
|
//切换数据源时重置表格选项
|
|
@@ -1094,8 +1094,10 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
mounted(){
|
|
|
- this.getSourceList()
|
|
|
+ // this.getSourceList()
|
|
|
this.getUserList()
|
|
|
+ this.getTableData('optionChange')
|
|
|
+ this.getSelectOption()
|
|
|
}
|
|
|
};
|
|
|
</script>
|