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