|
@@ -115,7 +115,7 @@
|
|
</div>
|
|
</div>
|
|
<!-- 默认刷新时间,设置刷新时间 -->
|
|
<!-- 默认刷新时间,设置刷新时间 -->
|
|
<el-dialog custom-class="refresh-setting-dialog"
|
|
<el-dialog custom-class="refresh-setting-dialog"
|
|
- :title="isDefault?'默认':'设置'+'刷新时间'"
|
|
|
|
|
|
+ :title="(isDefault?'默认':'设置')+'刷新时间'"
|
|
:visible.sync="isSetTimeDialogShow"
|
|
:visible.sync="isSetTimeDialogShow"
|
|
:close-on-click-modal="false"
|
|
:close-on-click-modal="false"
|
|
:modal-append-to-body="false"
|
|
:modal-append-to-body="false"
|
|
@@ -127,7 +127,7 @@
|
|
>
|
|
>
|
|
<div class="dialog-container" v-loading="defaultDialogLoading">
|
|
<div class="dialog-container" v-loading="defaultDialogLoading">
|
|
<!-- 默认刷新时间设置数据频度 -->
|
|
<!-- 默认刷新时间设置数据频度 -->
|
|
- <div class="default-box" v-if="isDefault">
|
|
|
|
|
|
+ <div class="default-box" v-if="isDefault&&Source!==11">
|
|
<label style="display: block;width:88px;text-align:right;padding-right: 12px;">数据频度</label>
|
|
<label style="display: block;width:88px;text-align:right;padding-right: 12px;">数据频度</label>
|
|
<el-select style="margin-left: 10px;" v-model="defaultFrequency" @change="handleDefaultChange">
|
|
<el-select style="margin-left: 10px;" v-model="defaultFrequency" @change="handleDefaultChange">
|
|
<el-option v-for="i in frequencyList" :key="i"
|
|
<el-option v-for="i in frequencyList" :key="i"
|
|
@@ -139,6 +139,7 @@
|
|
<div class="refresh-box">
|
|
<div class="refresh-box">
|
|
<RefreshConfig
|
|
<RefreshConfig
|
|
ref="refreshconfig"
|
|
ref="refreshconfig"
|
|
|
|
+ :Source="Source"
|
|
:defaultForm="defaultForm"
|
|
:defaultForm="defaultForm"
|
|
></RefreshConfig>
|
|
></RefreshConfig>
|
|
</div>
|
|
</div>
|
|
@@ -251,6 +252,11 @@ export default {
|
|
this.$message.warning("请选择完整数据源")
|
|
this.$message.warning("请选择完整数据源")
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ if(this.Source===11){
|
|
|
|
+ this.defaultFrequency=''
|
|
|
|
+ }else{
|
|
|
|
+ this.defaultFrequency = '日度'
|
|
|
|
+ }
|
|
}
|
|
}
|
|
this.isDefault = isDefault
|
|
this.isDefault = isDefault
|
|
this.isSetTimeDialogShow = true
|
|
this.isSetTimeDialogShow = true
|