|
@@ -88,6 +88,7 @@
|
|
|
v-model="formData.dateType"
|
|
|
placeholder="请选择日期类型"
|
|
|
style="width: 100%"
|
|
|
+ @change="getChartInfo"
|
|
|
>
|
|
|
<el-option label="交易日" value="交易日"></el-option>
|
|
|
<el-option label="自然日" value="自然日"></el-option>
|
|
@@ -657,8 +658,11 @@ export default {
|
|
|
if (res.Ret !== 200) return;
|
|
|
|
|
|
this.classifyArr = res.Data.AllNodes || [];
|
|
|
- //将formData.classify转为数组的格式
|
|
|
- this.formData.classify = this.findParentNodeHandle(this.classifyArr,this.formData.classify).reverse()
|
|
|
+
|
|
|
+ if (this.$route.path == "/editpredictEdb") {
|
|
|
+ //将formData.classify转为数组的格式
|
|
|
+ this.formData.classify = this.findParentNodeHandle(this.classifyArr,this.formData.classify).reverse()
|
|
|
+ }
|
|
|
|
|
|
});
|
|
|
},
|
|
@@ -811,7 +815,8 @@ export default {
|
|
|
Calendar: this.$refs.chartInfo.calendar_type,
|
|
|
ChartType: this.$refs.chartInfo.chartInfo.ChartType,
|
|
|
SeasonStartDate: this.$refs.chartInfo.season_year[0] || "",
|
|
|
- SeasonEndDate: this.$refs.chartInfo.season_year[1] || ""
|
|
|
+ SeasonEndDate: this.$refs.chartInfo.season_year[1] || "",
|
|
|
+ DataDateType: this.formData.dateType,
|
|
|
}
|
|
|
|
|
|
const res = await preDictEdbInterface.edbChartDataForAdd(rules_params.length ? {...params,RuleList: rules_params} : params);
|