|
@@ -514,9 +514,16 @@ export default {
|
|
|
},
|
|
|
//获取数据源列表
|
|
|
getSourceList(){
|
|
|
- dataRefreshInterface.getDataSourceList().then(res=>{
|
|
|
+ dataBaseInterface.getDataSource({IsBase:1}).then(res=>{
|
|
|
if(res.Ret!==200) return
|
|
|
this.SourceList = res.Data||[]
|
|
|
+ // 页面修改太麻烦了重复的太多了直接该数据了
|
|
|
+ this.SourceList = this.SourceList.map(item => {
|
|
|
+ return {
|
|
|
+ ...item,
|
|
|
+ Source:item.EdbSourceId
|
|
|
+ }
|
|
|
+ })
|
|
|
this.statusSourceList=this.SourceList.filter(it => [2,34].includes(it.Source)).concat([
|
|
|
{Source:-1,SourceName:"计算指标"}
|
|
|
])
|
|
@@ -597,6 +604,8 @@ export default {
|
|
|
},
|
|
|
async getTableData(type){
|
|
|
const {frequency,user,classify,state,terminalCode,keyWord,sortParam,sortType} = this.selectOption
|
|
|
+ console.log(this.selectOption);
|
|
|
+
|
|
|
const classifyArr = Array.isArray(classify)?classify:[]
|
|
|
const classifyId = [...new Set(classifyArr.join(',').split(','))]
|
|
|
const res = await dataRefreshInterface.getEdbTableList({
|