From 94f9c837df88b217d53586eef078edbbfb90287c Mon Sep 17 00:00:00 2001
From: Rain_ <904416525@qq.com>
Date: Thu, 13 Nov 2025 13:49:42 +0800
Subject: [PATCH] =?UTF-8?q?flx=EF=BC=9A=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/footers/footers.vue | 19 ++-
components/tree-node/areaIndex.vue | 134 +++++++++++++++
main.js | 2 +-
pages/areaTree/areaTree.vue | 161 +++---------------
.../workTicketManage/addWorkTicket.vue | 20 ++-
.../workTicketManage/workTicketDetail.vue | 13 +-
.../workTicketManage/workTicketList.vue | 13 +-
static/file-icon.png | Bin 0 -> 397 bytes
8 files changed, 210 insertions(+), 152 deletions(-)
create mode 100644 components/tree-node/areaIndex.vue
create mode 100644 static/file-icon.png
diff --git a/components/footers/footers.vue b/components/footers/footers.vue
index 95a52e9e..700e8e28 100644
--- a/components/footers/footers.vue
+++ b/components/footers/footers.vue
@@ -166,6 +166,14 @@
appShow: 1,
isShow: true,
})
+ // that.tabList.push({
+ // appName: '高风险',
+ // moduleIcon2: 'highRisk-icon',
+ // moduleIcon: 'highRisk-icon_active',
+ // plugin: 'highRisk',
+ // appShow: 1,
+ // isShow: true,
+ // })
that.tabList.push({
appName: '我的',
moduleIcon2: 'tabIcon-my',
@@ -185,7 +193,12 @@
switch (plugin) {
case 'menu':
uni.redirectTo({
- url: '../../pages/areaTree/areaTree2?type=backend'
+ url: '/pages/areaTree/areaTree?type=backend'
+ })
+ break;
+ case 'highRisk':
+ uni.redirectTo({
+ url: '/pages/projectEnd/workTicketManage/highRiskWorkTicket?type=backend'
})
break;
case 'projectManage':
@@ -196,11 +209,11 @@
case 'videoManage':
if (this.userInfo.accountType == 5) {
uni.redirectTo({
- url: '../../pages/videoManage/videoList?sn=' + that.userInfo.sn
+ url: '/pages/videoManage/videoList?sn=' + that.userInfo.sn
})
} else {
uni.redirectTo({
- url: '../../pages/areaTree/areaTree'
+ url: '/pages/areaTree/areaTree'
})
}
break;
diff --git a/components/tree-node/areaIndex.vue b/components/tree-node/areaIndex.vue
new file mode 100644
index 00000000..6fd1781d
--- /dev/null
+++ b/components/tree-node/areaIndex.vue
@@ -0,0 +1,134 @@
+
+
+
+
+
+ {{ item.name }}
+
+
+
+ {{ item.projectNum || '' }}
+ ({{ item.onlineVideoNum || 0 }}/{{ item.videoNum || 0 }})
+
+ {{ item.projectNum || '' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main.js b/main.js
index 55e19575..e72f15b7 100644
--- a/main.js
+++ b/main.js
@@ -110,7 +110,7 @@ if (process.env.NODE_ENV === 'development') {
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:1667/' // 测试环境h5
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:21000/' // 潮州项目h5
// Vue.prototype.url_config = 'http://gszhdz.crpower.com.cn:9809/' // 敦煌环境h5
- Vue.prototype.url_config = 'https://gszhdz.crpower.com.cn:9807/' // 敦煌环境h5
+ // Vue.prototype.url_config = 'https://gszhdz.crpower.com.cn:9807/' // 敦煌环境h5
// Vue.prototype.url_config = window.location.protocol + "//" + window.location.host + "/"
} else {
diff --git a/pages/areaTree/areaTree.vue b/pages/areaTree/areaTree.vue
index d4d26c5f..60e62cfc 100644
--- a/pages/areaTree/areaTree.vue
+++ b/pages/areaTree/areaTree.vue
@@ -12,106 +12,25 @@
placeholder="请输入项目名称" />
-
-
- {{item.name}} ({{item.projectNum}})
- ({{item.videoNum}})
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item2.name}}
- ({{item2.projectNum}})
- ({{item2.videoNum}})
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item3.name}} ({{item3.videoNum}})
-
-
-
-
-
-
-
-
-
-
-
-
- {{item4.name}} ({{item4.videoNum}})
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
+