|
@@ -21,6 +21,13 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
|
+
|
|
|
+ <!-- 路透增加频度选择 -->
|
|
|
+ <el-select v-model="rtrFromFrequency" placeholder="请选择频度" v-if="fromType==='路透'">
|
|
|
+ <el-option :label="item" :value="item"
|
|
|
+ v-for="item in frequencyArr" :key="item"></el-option>
|
|
|
+ </el-select>
|
|
|
+
|
|
|
<el-input v-show="isCompanyCode" placeholder="公司ID" v-model="search_company_txt" style="maxWidth:340px;"
|
|
|
@keyup.enter.native="searchHandle" :disabled="haveResult" clearable>
|
|
|
<i slot="prefix" class="el-input__icon el-icon-search"></i>
|
|
@@ -301,7 +308,9 @@ export default {
|
|
|
THSIndexCodeTypeArr:[
|
|
|
{value:1,label:"期货常用指标"},
|
|
|
{value:2,label:"股票常用指标"}
|
|
|
- ]
|
|
|
+ ],
|
|
|
+
|
|
|
+ rtrFromFrequency:frequencyArr[0],//路透频度
|
|
|
};
|
|
|
},
|
|
|
watch:{
|
|
@@ -331,6 +340,7 @@ export default {
|
|
|
this.indexCodeSelected=[]
|
|
|
this.THSIndexCodeType=1
|
|
|
this.isCompanyCode = false;
|
|
|
+ this.rtrFromFrequency=frequencyArr[0]
|
|
|
},
|
|
|
cancelHandle() {
|
|
|
this.init();
|
|
@@ -369,7 +379,8 @@ export default {
|
|
|
dataBaseInterface.getTarget({
|
|
|
Source: Number(this.fromCode.get(this.fromType)),
|
|
|
EdbCode: this.search_txt,
|
|
|
- CompanyCode: this.search_company_txt
|
|
|
+ CompanyCode: this.search_company_txt,
|
|
|
+ Frequency: this.rtrFromFrequency
|
|
|
}).then(res => {
|
|
|
if (res.Ret === 200) {
|
|
|
this.haveResult = false;
|