fanghuisheng 1 год назад
Родитель
Сommit
06c420877b

+ 1 - 2
src/App.vue

@@ -1,8 +1,7 @@
 <script setup>
 import config from "./config";
 import { getToken, setToken, removeToken } from "@/utils/auth";
-
-import { defineComponent, getCurrentInstance, inject, nextTick, onMounted, watchEffect } from "vue";
+import { defineComponent, getCurrentInstance, inject, nextTick, onMounted, watchEffect, ref } from "vue";
 import { onLoad, onShow, onHide, onLaunch, onReady } from "@dcloudio/uni-app";
 
 let tab = inject("$tab");

+ 1 - 1
src/pages/business/mhxf/coordination/index.vue

@@ -22,7 +22,7 @@ const { proxy } = getCurrentInstance();
 onNavigationBarButtonTap((e) => {
   if (e.float == "right") {
     uni.navigateTo({
-      url: "/pages/business/mhxf/xunJian/collect/components/collectRecord",
+      url: "/pages/business/zhaf/xunJian/collect/components/collectRecord",
     });
   } else {
   }

+ 1 - 1
src/pages/business/mhxf/deviceManage/index.vue

@@ -188,7 +188,7 @@ function change(e) {
 onNavigationBarButtonTap((e) => {
   if (e.float == "right") {
     uni.navigateTo({
-      url: "/pages/business/mhxf/xunJian/collect/components/collectRecord",
+      url: "/pages/business/zhaf/xunJian/collect/components/collectRecord",
     });
   } else {
   }

+ 1 - 1
src/pages/business/mhxf/fireReport/components/detailed.vue

@@ -490,7 +490,7 @@ watchEffect(() => {});
 onNavigationBarButtonTap((e) => {
   if (e.float == "right") {
     uni.navigateTo({
-      url: "/pages/business/mhxf/xunJian/collect/components/collectRecord",
+      url: "/pages/business/zhaf/xunJian/collect/components/collectRecord",
     });
   } else {
   }

+ 1 - 1
src/pages/business/mhxf/fireReport/components/detailedPath.vue

@@ -47,7 +47,7 @@ watchEffect(() => {});
 onNavigationBarButtonTap((e) => {
   if (e.float == "right") {
     uni.navigateTo({
-      url: "/pages/business/mhxf/xunJian/collect/components/collectRecord",
+      url: "/pages/business/zhaf/xunJian/collect/components/collectRecord",
     });
   } else {
   }

+ 1 - 1
src/pages/business/mhxf/fireReport/index.vue

@@ -167,7 +167,7 @@ function refresh() {
 onNavigationBarButtonTap((e) => {
   if (e.float == "right") {
     uni.navigateTo({
-      url: "/pages/business/mhxf/xunJian/collect/components/collectRecord",
+      url: "/pages/business/zhaf/xunJian/collect/components/collectRecord",
     });
   } else {
   }

+ 1 - 1
src/pages/business/mhxf/informationSelect/index.vue

@@ -574,7 +574,7 @@ function addZero(s) {
 onNavigationBarButtonTap((e) => {
   if (e.float == "right") {
     uni.navigateTo({
-      url: "/pages/business/mhxf/xunJian/collect/components/collectRecord",
+      url: "/pages/business/zhaf/xunJian/collect/components/collectRecord",
     });
   } else {
   }

+ 1 - 1
src/pages/business/mhxf/needMatter/index.vue

@@ -406,7 +406,7 @@ async function classifySearch(params) {
 onNavigationBarButtonTap((e) => {
   if (e.float == "right") {
     uni.navigateTo({
-      url: "/pages/business/mhxf/xunJian/collect/components/collectRecord",
+      url: "/pages/business/zhaf/xunJian/collect/components/collectRecord",
     });
   } else {
   }

+ 0 - 0
src/pages/business/mhxf/xunJian/collect/components/collectDetail.vue → src/pages/business/zhaf/xunJian/collect/components/collectDetail.vue


+ 0 - 0
src/pages/business/mhxf/xunJian/collect/components/collectRecord.vue → src/pages/business/zhaf/xunJian/collect/components/collectRecord.vue


+ 3 - 3
src/pages/business/mhxf/xunJian/collect/index.vue → src/pages/business/zhaf/xunJian/collect/index.vue

@@ -90,7 +90,7 @@ function scanClick() {
         icon: "none",
       });
       uni.navigateTo({
-        url: `/pages/business/mhxf/xunJian/collect/components/collectDetail?siteNubmber=${e.result}&siteType=${1}`,
+        url: `/pages/business/zhaf/xunJian/collect/components/collectDetail?siteNubmber=${e.result}&siteType=${1}`,
       });
     },
     fail: (err) => {
@@ -191,7 +191,7 @@ function swipeChange(e, index) {
 onNavigationBarButtonTap((e) => {
   if (e.float == "right") {
     uni.navigateTo({
-      url: "/pages/business/mhxf/xunJian/collect/components/collectRecord",
+      url: "/pages/business/zhaf/xunJian/collect/components/collectRecord",
     });
   } else {
   }
@@ -206,7 +206,7 @@ onShow(() => {
   uni.$on("tagid", function (value) {
     setTimeout(() => {
       uni.navigateTo({
-        url: `/pages/business/mhxf/xunJian/collect/components/collectDetail?siteNubmber=${value}&siteType=${2}`,
+        url: `/pages/business/zhaf/xunJian/collect/components/collectDetail?siteNubmber=${value}&siteType=${2}`,
       });
       uni.$off("tagid"); //将值删除监听器
     }, 0);

+ 0 - 0
src/pages/business/mhxf/xunJian/components/chart.vue → src/pages/business/zhaf/xunJian/components/chart.vue


+ 0 - 0
src/pages/business/mhxf/xunJian/components/index.vue → src/pages/business/zhaf/xunJian/components/index.vue


+ 0 - 0
src/pages/business/mhxf/xunJian/plan/components/content.vue → src/pages/business/zhaf/xunJian/plan/components/content.vue


+ 1 - 1
src/pages/business/mhxf/xunJian/plan/components/drawer.vue → src/pages/business/zhaf/xunJian/plan/components/drawer.vue

@@ -57,7 +57,7 @@ function reportClick(siteId, planSonId) {
   xunJianStore.planSonId = planSonId;
 
   uni.navigateTo({
-    url: "/pages/business/mhxf/xunJian/plan/components/siteDetails",
+    url: "/pages/business/zhaf/xunJian/plan/components/siteDetails",
   });
 }
 

+ 2 - 2
src/pages/business/mhxf/xunJian/plan/components/report.vue → src/pages/business/zhaf/xunJian/plan/components/report.vue

@@ -76,7 +76,7 @@ function pulicClick(obj) {
     xunJianStore.siteId = obj.id;
 
     uni.navigateTo({
-      url: "/pages/business/mhxf/xunJian/plan/components/siteDetails",
+      url: "/pages/business/zhaf/xunJian/plan/components/siteDetails",
     });
   } else {
     xunJianStore.inspectionStatus = 1;
@@ -146,7 +146,7 @@ function siteDetailsApi(value) {
       currentDateList.value.forEach((res1) => {
         if (res1.id == res.data.siteList[0].id) {
           uni.navigateTo({
-            url: "/pages/business/mhxf/xunJian/plan/components/siteDetails",
+            url: "/pages/business/zhaf/xunJian/plan/components/siteDetails",
           });
         }
       });

+ 1 - 1
src/pages/business/mhxf/xunJian/plan/components/siteDetails.vue → src/pages/business/zhaf/xunJian/plan/components/siteDetails.vue

@@ -111,7 +111,7 @@ function buttonClick() {
     siteList: siteList.value,
   };
   uni.navigateTo({
-    url: "/pages/business/mhxf/xunJian/plan/components/content",
+    url: "/pages/business/zhaf/xunJian/plan/components/content",
   });
 }
 

+ 2 - 2
src/pages/business/mhxf/xunJian/plan/index.vue → src/pages/business/zhaf/xunJian/plan/index.vue

@@ -151,7 +151,7 @@ function reportClick(obj) {
   if (tabPosition.value == 0) {
     xunJianStore.planSonId = obj.id;
     uni.navigateTo({
-      url: "/pages/business/mhxf/xunJian/plan/components/report",
+      url: "/pages/business/zhaf/xunJian/plan/components/report",
     });
   } else if (tabPosition.value == 1) {
     xunJianStore.siteId = obj.siteId;
@@ -159,7 +159,7 @@ function reportClick(obj) {
     xunJianStore.inspectionStatus = 2;
 
     uni.navigateTo({
-      url: "/pages/business/mhxf/xunJian/plan/components/siteDetails",
+      url: "/pages/business/zhaf/xunJian/plan/components/siteDetails",
     });
   }
 }

+ 1 - 1
src/pages/business/mhxf/xunJian/record/index.vue → src/pages/business/zhaf/xunJian/record/index.vue

@@ -51,7 +51,7 @@ function goRecordList(params = {}) {
 
 function goDetail(item) {
   uni.navigateTo({
-    url: "/pages/business/mhxf/xunJian/record/recordDetail/index?id=" + item.id,
+    url: "/pages/business/zhaf/xunJian/record/recordDetail/index?id=" + item.id,
   });
 }
 

+ 0 - 0
src/pages/business/mhxf/xunJian/record/recordDetail/index.vue → src/pages/business/zhaf/xunJian/record/recordDetail/index.vue


+ 0 - 0
src/pages/business/mhxf/xunJian/xunJian.vue → src/pages/business/zhaf/xunJian/xunJian.vue


+ 4 - 4
src/plugins/grid.plugins.js

@@ -5,7 +5,7 @@ let cuIconList = [
         imgUrl: "/static/icons/index/APP-xunjian.svg",
         badge: 0,
         name: "巡检",
-        redirectUrl: "/pages/business/mhxf/xunJian/xunJian",
+        redirectUrl: "/pages/business/zhaf/xunJian/xunJian",
     },
     {
         imgUrl: "/static/icons/index/APP-xxcx.svg",
@@ -82,21 +82,21 @@ let xunJianList = [
         title: "巡检任务",
         num: "0",
         imgUrl: "/static/images/xunjian/xunJian-icon1.png",
-        redirectUrl: "/pages/business/mhxf/xunJian/plan/index",
+        redirectUrl: "/pages/business/zhaf/xunJian/plan/index",
     },
     {
         id: 2,
         title: "巡检记录",
         num: "0",
         imgUrl: "/static/images/xunjian/xunJian-icon2.png",
-        redirectUrl: "/pages/business/mhxf/xunJian/plan/index",
+        redirectUrl: "/pages/business/zhaf/xunJian/plan/index",
     },
     {
         id: 3,
         title: "巡检采集",
         num: "0",
         imgUrl: "/static/images/xunjian/xunJian-icon3.png",
-        redirectUrl: "/pages/business/mhxf/xunJian/collect/index",
+        redirectUrl: "/pages/business/zhaf/xunJian/collect/index",
     },
 ];