From 5de589a292d0f4bad9a82eb3271b5b02e1989632 Mon Sep 17 00:00:00 2001 From: zhangqun <179111901@qq.com> Date: Wed, 24 Jul 2024 16:05:24 +0800 Subject: [PATCH] 1 --- common/globalJs/globalJs.js | 3 +- manifest.json | 4 +- .../components/investigation-item.vue | 2 +- .../components/investigation-item2.vue | 856 +++++++++++------- .../components/problem-tree-item.vue | 36 +- pages/investigation/task.vue | 238 +++-- pages/map/index.vue | 105 ++- 7 files changed, 805 insertions(+), 439 deletions(-) diff --git a/common/globalJs/globalJs.js b/common/globalJs/globalJs.js index 513c417..53afbf5 100644 --- a/common/globalJs/globalJs.js +++ b/common/globalJs/globalJs.js @@ -2,7 +2,8 @@ // #ifdef APP-PLUS || MP // const baseUrl = "http://116.62.210.143:9002"; // const baseUrl = "http://118.89.79.160:8800/HiatmpPro"; -const baseUrl = "http://219.147.31.25:30001/tht-app-api/HiatmpPro"; +const baseUrl = "http://49.235.207.167:8800/HiatmpPro"; +// const baseUrl = "http://219.147.31.25:30001/tht-app-api/HiatmpPro"; const chatUrl = "http://219.147.31.25:30001/hitap"; // #endif // #ifdef H5 diff --git a/manifest.json b/manifest.json index fe00898..9d44709 100644 --- a/manifest.json +++ b/manifest.json @@ -135,8 +135,8 @@ "https" : false, "proxy" : { "/HiatmpPro" : { - // "target" : "http://118.89.79.160:8800", - "target" : "http://219.147.31.25:30001/tht-app-api", + "target" : "http://49.235.207.167:8800", + // "target" : "http://219.147.31.25:30001/tht-app-api", "changeOrigin" : true, "secure" : false, "pathRewrite" : { diff --git a/pages/investigation/components/investigation-item.vue b/pages/investigation/components/investigation-item.vue index 253ad71..e113d1d 100644 --- a/pages/investigation/components/investigation-item.vue +++ b/pages/investigation/components/investigation-item.vue @@ -197,7 +197,7 @@ }, investigationDetailHandle() { this.showInvestigationDetail = false - this.$emit('select', this.investigationList[this.investigationSelect], this.investigationDetailList) + this.$emit('select', this.investigationList[this.investigationSelect], this.investigationDetailList, this.investigationList[this.investigationSelect]) } }, onReady() { }, diff --git a/pages/investigation/components/investigation-item2.vue b/pages/investigation/components/investigation-item2.vue index 3e4fec0..972b824 100644 --- a/pages/investigation/components/investigation-item2.vue +++ b/pages/investigation/components/investigation-item2.vue @@ -1,364 +1,530 @@ \ No newline at end of file diff --git a/pages/investigation/components/problem-tree-item.vue b/pages/investigation/components/problem-tree-item.vue index 17f4120..2c6b761 100644 --- a/pages/investigation/components/problem-tree-item.vue +++ b/pages/investigation/components/problem-tree-item.vue @@ -19,14 +19,15 @@ + - {{ item.itemname }} + {{ item.itemname }}111 + @@ -50,7 +52,7 @@ export default { $: this.$, originList: [], problemTreeSelect: null, - problemTreeSelectList: [], + problemTreeSelectList: [], problemTreeSelectAllList: [], problemTreeSelectConfirmList: [], }; @@ -76,7 +78,7 @@ export default { .then((res) => { if (res.code == 200) { this.originList =JSON.parse(JSON.stringify( res.result)); - this.problemTreeSelectList =JSON.parse(JSON.stringify( res.result)); + this.problemTreeSelectList =JSON.parse(JSON.stringify( res.result)); this.problemTreeSelectAllList=JSON.parse(JSON.stringify( res.result)) // if(this.hiddenDangerList2.length>0) { // // this.problemTreeSelectConfirmList = this.hiddenDangerList2 @@ -91,7 +93,7 @@ export default { skipPage(even) { this.$.open(even); }, - handleSelectProblem(item, index) { + handleSelectProblem(item, index) { console.log(11111) this.problemTreeSelectConfirmList[Number(item.nlevel) - 1] = item; if (item.children && item.children.length > 0) { @@ -176,4 +178,28 @@ page { overflow-x: auto; flex-wrap: nowrap; } + +::v-deep ::-webkit-scrollbar { + // 滚动条整体样式 + display: block; + width: 20rpx !important; + height: 20rpx !important; + -webkit-appearance: auto !important; + background: transparent; + overflow: auto !important; + } + + ::v-deep ::-webkit-scrollbar-thumb { + // 滚动条里面小方块 + border-radius: 20rpx !important; + box-shadow: inset 0 0 5rpx rgba(0, 0, 0, 0.2) !important; + background-color: #f7f7f7 !important; + } + + ::v-deep ::-webkit-scrollbar-track { + // 滚动条 + border-radius: 20rpx !important; + box-shadow: inset 0 0 5rpx rgba(0, 0, 0, 0.2) !important; + background-color: #dad8d8 !important; + } diff --git a/pages/investigation/task.vue b/pages/investigation/task.vue index 3bc67d1..0fefd5b 100644 --- a/pages/investigation/task.vue +++ b/pages/investigation/task.vue @@ -48,7 +48,7 @@ - {{ formData.laneCount }}车道 + {{ formData.laneCount }}辆 重点排查 + > + {{ item.name }} @@ -147,14 +148,14 @@ - + -