From 752fc32eb8843306084fd1f033d929de32dde29d Mon Sep 17 00:00:00 2001 From: lushangqing <lushangqing@honggroup.com.cn> Date: Mon, 5 Sep 2022 17:33:44 +0800 Subject: [PATCH] 【无】 对比分析保存选择菜单更改为组件 #1 --- hg-monitor-web-qh/src/main/resources/static/vue3/src/views/analysis/config/index.html | 4 ---- hg-monitor-web-qh/src/main/resources/static/vue3/src/views/analysis/config/index.js | 15 +-------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/hg-monitor-web-qh/src/main/resources/static/vue3/src/views/analysis/config/index.html b/hg-monitor-web-qh/src/main/resources/static/vue3/src/views/analysis/config/index.html index e07917b..59bd5c7 100644 --- a/hg-monitor-web-qh/src/main/resources/static/vue3/src/views/analysis/config/index.html +++ b/hg-monitor-web-qh/src/main/resources/static/vue3/src/views/analysis/config/index.html @@ -152,10 +152,6 @@ </div> <div style="padding: 3px 10px 3px 39px" v-if="!isAdd "> <span class="saab"> 菜单:</span> - <!-- <el-select :size="$global.elementConfig.size.input" @change="dataFilter" filterable - placeholder="请选择菜单" style="width: 80%" v-model="form.addFirstPId"> - <el-option :key="item.id" :label="item.name" :value="item.id" v-for="item in firstMenu"/> - </el-select>--> <cm-tree-select-menu style="width: 80%" :size="$global.elementConfig.size.input" @changeSelect="dataFilter" :value="form.addFirstPId" :placeholderText="'请选择菜单'" :isTag="true"></cm-tree-select-menu> </div> diff --git a/hg-monitor-web-qh/src/main/resources/static/vue3/src/views/analysis/config/index.js b/hg-monitor-web-qh/src/main/resources/static/vue3/src/views/analysis/config/index.js index b857669..3e8e485 100644 --- a/hg-monitor-web-qh/src/main/resources/static/vue3/src/views/analysis/config/index.js +++ b/hg-monitor-web-qh/src/main/resources/static/vue3/src/views/analysis/config/index.js @@ -586,19 +586,6 @@ export default { } }) - - //LH 加载新增树菜单 - /*proxy.$http.get(`/api-web/ContrastAnalysis/getRootMenu`, {menuName: ''}, function (res) { - if (res.length > 0) { - firstMenu.value = res; - firstMenu.value.forEach(function (item, index) { - if (item.id == '100130900') { - form.value.addFirstPId = firstMenu.value[index].id; - return; - } - }); - } - });*/ //LH setTimeout(function () { let arrs = timeRangeArr.value @@ -695,7 +682,7 @@ export default { firstMenu,//菜单 getChartData, count, - countFirst, + countFirst } } } -- libgit2 0.24.0