|
@@ -369,7 +369,6 @@ export default {
|
|
relationDate: '',//关联的表格日期
|
|
relationDate: '',//关联的表格日期
|
|
relationUid: '',//关联格子的uid
|
|
relationUid: '',//关联格子的uid
|
|
},
|
|
},
|
|
- baseSourceName:''
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted(){
|
|
mounted(){
|
|
@@ -453,6 +452,13 @@ export default {
|
|
const res = await sheetInterface.getMixedCalculateData(params)
|
|
const res = await sheetInterface.getMixedCalculateData(params)
|
|
if(res.Ret!==200) return
|
|
if(res.Ret!==200) return
|
|
|
|
|
|
|
|
+ let baseSourceName=''
|
|
|
|
+ await sheetInterface.getEdbBaseSource({EdbInfoId:this.selectEdbInfo.EdbInfoId}).then(res=>{
|
|
|
|
+ if(res.Ret == 200){
|
|
|
|
+ // 获取原始指标的来源
|
|
|
|
+ baseSourceName = res.Data.ExcelSource || ''
|
|
|
|
+ }
|
|
|
|
+ })
|
|
this.showResult = true;
|
|
this.showResult = true;
|
|
|
|
|
|
this.chooseItem = {
|
|
this.chooseItem = {
|
|
@@ -461,7 +467,7 @@ export default {
|
|
EdbInfoId: this.selectEdbInfo.EdbInfoId,
|
|
EdbInfoId: this.selectEdbInfo.EdbInfoId,
|
|
InsertValue: res.Data.ShowValue||"",
|
|
InsertValue: res.Data.ShowValue||"",
|
|
Str: JSON.stringify(params),
|
|
Str: JSON.stringify(params),
|
|
- sourceName:this.baseSourceName||''
|
|
|
|
|
|
+ sourceName:baseSourceName||''
|
|
}
|
|
}
|
|
|
|
|
|
// if(!this.calculateShowData.length) return this.$message.warning('该日期无数据')
|
|
// if(!this.calculateShowData.length) return this.$message.warning('该日期无数据')
|
|
@@ -484,13 +490,6 @@ export default {
|
|
: await dataBaseInterface.targetList({EdbInfoId:e.EdbInfoId,CurrentIndex: 1})
|
|
: await dataBaseInterface.targetList({EdbInfoId:e.EdbInfoId,CurrentIndex: 1})
|
|
|
|
|
|
if(res.Ret !== 200) return
|
|
if(res.Ret !== 200) return
|
|
-
|
|
|
|
- sheetInterface.getEdbBaseSource({EdbInfoId:e.EdbInfoId}).then(res=>{
|
|
|
|
- if(res.Ret == 200){
|
|
|
|
- // 获取原始指标的来源
|
|
|
|
- this.baseSourceName = res.Data.ExcelSource || ''
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
|
|
const { EdbInfoId,EdbCode,EdbName,Frequency,Unit,StartDate,ModifyTime,PredictDataList,DataList,HaveOperaAuth } = res.Data.Item;
|
|
const { EdbInfoId,EdbCode,EdbName,Frequency,Unit,StartDate,ModifyTime,PredictDataList,DataList,HaveOperaAuth } = res.Data.Item;
|
|
|
|
|