From 6028cff2fa4ae0c709e782a8e9cc3c2049345268 Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Sun, 28 Apr 2024 16:47:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A6=86=E5=86=B0=E6=A0=B7=E5=BC=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Sidebar.vue | 8 +- src/utils/api/iceApi.js | 11 + src/views/iceWeather/components/leftTree.vue | 4 +- src/views/iceWeather/icing/index.vue | 230 +++++++++++------- src/views/iceWeather/weather/index.vue | 5 +- .../components/setChannelDialog.vue | 2 +- vue.config.js | 2 +- 7 files changed, 169 insertions(+), 93 deletions(-) diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 664e7cf..0f3532e 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -142,10 +142,10 @@ export default { index: "/roleManagement", title: "角色管理", }, - // { - // index: "/menuManagement", - // title: "菜单功能管理", - // }, + { + index: "/menuManagement", + title: "菜单功能管理", + }, { index: "/deviceUpgrade", title: "升级管理", diff --git a/src/utils/api/iceApi.js b/src/utils/api/iceApi.js index d31cb9d..433c5b2 100644 --- a/src/utils/api/iceApi.js +++ b/src/utils/api/iceApi.js @@ -60,8 +60,19 @@ export function funccodeJoggle(data) { url: "/xapi/funccode.php", method: "get", params: data, + headers: { "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8", }, }); } + +//导出覆冰数据 +export function exportJoggle(data) { + return request({ + url: "/xymanager/leadpulls/export", + method: "get", + params: data, + responseType: "blob", + }); +} diff --git a/src/views/iceWeather/components/leftTree.vue b/src/views/iceWeather/components/leftTree.vue index a0633c1..406ab14 100644 --- a/src/views/iceWeather/components/leftTree.vue +++ b/src/views/iceWeather/components/leftTree.vue @@ -109,7 +109,7 @@ export default { }, created() { this.getLineTreeList(); //获取树状图 - //this.companyVal = this.companyOptions[0].value; + this.companyVal = this.companyOptions[0].value; }, methods: { handleClick(val) { @@ -259,7 +259,7 @@ export default { > .el-tree-node__content { // 设置颜色 color: #fff; - background: #1c77ac; + background: #169e8c; .custom-tree-node { color: #fff; //overflow: hidden; diff --git a/src/views/iceWeather/icing/index.vue b/src/views/iceWeather/icing/index.vue index bfbb50a..934a90d 100644 --- a/src/views/iceWeather/icing/index.vue +++ b/src/views/iceWeather/icing/index.vue @@ -33,7 +33,10 @@ 查询 - 导出数据 @@ -82,82 +85,88 @@ - + - - - + + + + + + + @@ -199,7 +208,11 @@