|
@@ -188,9 +188,9 @@
|
|
|
<el-form-item label="起始时间">
|
|
|
<div class="form-item-content">
|
|
|
<div class="fixed-time">
|
|
|
- <el-radio v-model="fixedTime" label="固定" style="margin-right: 20px;"></el-radio>
|
|
|
+ <el-radio v-model="markerExtraConfig.startTimeInfo.timeType" :label="1" style="margin-right: 20px;">固定</el-radio>
|
|
|
<el-date-picker
|
|
|
- v-model="markerForm.fixedTime"
|
|
|
+ v-model="markerExtraConfig.startTimeInfo.date"
|
|
|
type="date"
|
|
|
style="width: 100px;"
|
|
|
placeholder="请输入固定时间"
|
|
@@ -200,7 +200,7 @@
|
|
|
></el-date-picker>
|
|
|
</div>
|
|
|
<div class="custom-time">
|
|
|
- <el-radio v-model="fixedTime" label="动态" style="margin-left:20px;margin-right:5px"></el-radio>
|
|
|
+ <el-radio v-model="markerExtraConfig.startTimeInfo.timeType" :label="2" style="margin-left:20px;margin-right:5px">动态</el-radio>
|
|
|
<el-tooltip effect="dark" content="说明说明" placement="top">
|
|
|
<i class="el-icon-question" style="font-size: 16px;"></i>
|
|
|
</el-tooltip>
|
|
@@ -209,49 +209,49 @@
|
|
|
|
|
|
</el-form-item>
|
|
|
<!-- 起始时间为动态 -->
|
|
|
- <div class="start-time-custom-wrap">
|
|
|
+ <div class="start-time-custom-wrap" v-if="markerExtraConfig.startTimeInfo.timeType===2">
|
|
|
<!-- 基准日期 -->
|
|
|
<el-form-item label="基准日期">
|
|
|
- <el-radio v-model="startTimeSetting" label="系统日期"></el-radio>
|
|
|
- <div class="edb-new-date">
|
|
|
- <el-radio v-model="startTimeSetting" label="指标最新日期"></el-radio>
|
|
|
- <p>期数前移<el-input style="width:80px"></el-input>期</p>
|
|
|
+ <div class="form-item-content">
|
|
|
+ <div class="edb-sys-date">
|
|
|
+ <el-radio v-model="markerExtraConfig.startTimeInfo.baseTimeType" :label="1">系统日期</el-radio>
|
|
|
+ </div>
|
|
|
+ <div class="edb-new-date">
|
|
|
+ <el-radio v-model="markerExtraConfig.startTimeInfo.baseTimeType" :label="2">指标最新日期</el-radio>
|
|
|
+ <p>期数前移<el-input style="width:60px"></el-input>期</p>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+
|
|
|
</el-form-item>
|
|
|
<!-- 日期变换 -->
|
|
|
- <el-form-item label="日期变换">
|
|
|
- <div class="select-box">
|
|
|
- <el-select v-model="selectDate">
|
|
|
- <el-option label="指定频率"></el-option>
|
|
|
- <el-option label="日期位移"></el-option>
|
|
|
- </el-select>
|
|
|
- <el-button>添加</el-button>
|
|
|
- </div>
|
|
|
- <div class="select-list">
|
|
|
- <!-- 日期位移 [] 天 [] 月 [] 年 -->
|
|
|
- </div>
|
|
|
- </el-form-item>
|
|
|
+ <dateMoveWaySec></dateMoveWaySec>
|
|
|
+
|
|
|
</div>
|
|
|
|
|
|
<!-- 结束时间 -->
|
|
|
<el-form-item label="结束时间">
|
|
|
- <el-radio v-model="fixedTime" label="至今"></el-radio>
|
|
|
- <div class="fixed-time">
|
|
|
- <el-radio v-model="fixedTime" label="固定"></el-radio>
|
|
|
- <el-date-picker
|
|
|
- v-model="markerForm.fixedTime"
|
|
|
- type="date"
|
|
|
- style="width: 200px;"
|
|
|
- placeholder="请输入固定时间"
|
|
|
- :clearable="false"
|
|
|
- format="yyyy-MM-dd"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- ></el-date-picker>
|
|
|
- </div>
|
|
|
- <div class="custom-time">
|
|
|
- <el-radio v-model="fixedTime" label="动态"></el-radio>
|
|
|
- <p>说明说明</p>
|
|
|
+ <div class="form-item-content">
|
|
|
+ <div class="now-time">
|
|
|
+ <el-radio v-model="fixedTime" label="至今"></el-radio>
|
|
|
+ </div>
|
|
|
+ <div class="fixed-time">
|
|
|
+ <el-radio v-model="fixedTime" label="固定"></el-radio>
|
|
|
+ <el-date-picker
|
|
|
+ v-model="markerForm.fixedTime"
|
|
|
+ type="date"
|
|
|
+ style="width: 200px;"
|
|
|
+ placeholder="请输入固定时间"
|
|
|
+ :clearable="false"
|
|
|
+ format="yyyy-MM-dd"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ ></el-date-picker>
|
|
|
+ </div>
|
|
|
+ <div class="custom-time">
|
|
|
+ <el-radio v-model="fixedTime" label="动态"></el-radio>
|
|
|
+ <p>说明说明</p>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+
|
|
|
</el-form-item>
|
|
|
<!-- 结束时间为动态 -->
|
|
|
<div class="end-time-custom-wrap">
|
|
@@ -557,6 +557,13 @@ export default {
|
|
|
.form-item-content{
|
|
|
display: flex;
|
|
|
}
|
|
|
+ .date-change-ways{
|
|
|
+ .header{
|
|
|
+ label{
|
|
|
+ text-align: left !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
.mark-box{
|
|
|
background-color: #EBEFF6;
|
|
|
border:1px solid #C8CDD9;
|