hanbaoshan
2021-03-01 91ec3156aef91112fc3f6c608ee88ceca88d32c4
朔黄时间快捷选择组件添加配置默认选项功能
2个文件已修改
10 ■■■■ 已修改文件
src/pages/shuohuangMonitorAnalyze/components/guideIndex.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/shuohuangMonitorAnalyze/components/timeShortcut.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/shuohuangMonitorAnalyze/components/guideIndex.vue
@@ -106,7 +106,7 @@
            <el-tab-pane label="隐患事件趋势" name="hidDanderTrend"></el-tab-pane>
          </el-tabs>
          <div class="rt">
            <time-shortcut @actPickerChange="timeShortChange"></time-shortcut>
            <time-shortcut actPicker="week" @actPickerChange="timeShortChange"></time-shortcut>
            <el-date-picker
              v-model="searchHidDanderTime"
              type="datetimerange"
src/pages/shuohuangMonitorAnalyze/components/timeShortcut.vue
@@ -13,7 +13,13 @@
export default {
  data () {
    return {
      actPicker: 'today',
      //actPicker: 'today',
    }
  },
  props: {
    actPicker:{
      type: String,
      default: 'today'  //现提供可选参数为:today week month year
    }
  },
  watch: {