ZZJ
2022-07-15 a3f357e8a60443b74b64c7479113c68eb35ce1f5
src/pages/analysisPower/index/App.vue
@@ -40,7 +40,7 @@
            @click="pollSeach"
            >搜索</el-button
          >
          <div class="tip">
          <div class="tip" v-if="isShowPolling === 'show'">
            <span>
              轮询时间 :
              <b>{{ PollData.Config.poll_period }}</b
@@ -66,7 +66,7 @@
            type="primary"
            style="float: right"
            @click="openDrawer"
            v-if="showSetting"
            v-if="showSetting && isShowPolling === 'show'"
            >设置</el-button
          >
        </div>
@@ -152,7 +152,12 @@
              <span v-else-if="scope.row.status === 0">{{ "规则不全" }}</span>
            </template>
          </el-table-column>
          <el-table-column label="实时/轮询" align="center" width="100px">
          <el-table-column
            label="实时/轮询"
            align="center"
            width="100px"
            v-if="isShowPolling === 'show'"
          >
            <template slot-scope="scope">
              <span v-if="scope.row.run_type === -1">-</span>
              <toggle-button
@@ -347,6 +352,7 @@
      formData: {},
      strethTable: false,
      buttonAuthority: sessionStorage.getItem("buttonAuthoritys") || [],
      isShowPolling: sessionStorage.getItem("isShowPolling"),
    };
  },
  mounted() {