浏览代码

巡检异常上报功能代码

fanghuisheng 11 月之前
父节点
当前提交
3d9b6d25a5

+ 82 - 1
src/App.vue

@@ -17,7 +17,7 @@ function initApp() {
   plus.screen.lockOrientation("portrait-primary"); //设置不可横屏
   proxy.$settingStore.pushListener(); //开启消息推送监听
   proxy.$setting.clearBadge(0); // 清除数字
-  setInterval(proxy.$settingStore.baseAppInfo(), 1000 * 60 * 5);//动态获取用户设备信息
+  setInterval(proxy.$settingStore.baseAppInfo(), 1000 * 60 * 5); //动态获取用户设备信息
   //#endif
 }
 
@@ -41,6 +41,87 @@ function pushMessage() {
   });
 }
 
+// 设置手机通知权限
+function setPermissions() {
+  // #ifdef APP-PLUS
+  if (plus.os.name == "Android") {
+    // 判断是Android
+    var main = plus.android.runtimeMainActivity();
+    var pkName = main.getPackageName();
+    var uid = main.getApplicationInfo().plusGetAttribute("uid");
+    var NotificationManagerCompat = plus.android.importClass("android.support.v4.app.NotificationManagerCompat");
+    //android.support.v4升级为androidx
+    if (NotificationManagerCompat == null) {
+      NotificationManagerCompat = plus.android.importClass("androidx.core.app.NotificationManagerCompat");
+    }
+    var areNotificationsEnabled = NotificationManagerCompat.from(main).areNotificationsEnabled();
+    // 未开通‘允许通知’权限,则弹窗提醒开通,并点击确认后,跳转到系统设置页面进行设置
+    if (!areNotificationsEnabled) {
+      uni.showModal({
+        title: "通知权限开启提醒",
+        content: "您还没有开启通知权限,无法接受到消息通知,请前往设置!",
+        showCancel: false,
+        confirmText: "去设置",
+        success: function (res) {
+          if (res.confirm) {
+            var Intent = plus.android.importClass("android.content.Intent");
+            var Build = plus.android.importClass("android.os.Build");
+            //android 8.0引导
+            if (Build.VERSION.SDK_INT >= 26) {
+              var intent = new Intent("android.settings.APP_NOTIFICATION_SETTINGS");
+              intent.putExtra("android.provider.extra.APP_PACKAGE", pkName);
+            } else if (Build.VERSION.SDK_INT >= 21) {
+              //android 5.0-7.0
+              var intent = new Intent("android.settings.APP_NOTIFICATION_SETTINGS");
+              intent.putExtra("app_package", pkName);
+              intent.putExtra("app_uid", uid);
+            } else {
+              //(<21)其他--跳转到该应用管理的详情页
+              intent.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
+              var uri = Uri.fromParts("package", mainActivity.getPackageName(), null);
+              intent.setData(uri);
+            }
+            // 跳转到该应用的系统通知设置页
+            main.startActivity(intent);
+          }
+        },
+      });
+    }
+  } else if (plus.os.name == "iOS") {
+    // 判断是ISO
+    var isOn = undefined;
+    var types = 0;
+    var app = plus.ios.invoke("UIApplication", "sharedApplication");
+    var settings = plus.ios.invoke(app, "currentUserNotificationSettings");
+    if (settings) {
+      types = settings.plusGetAttribute("types");
+      plus.ios.deleteObject(settings);
+    } else {
+      types = plus.ios.invoke(app, "enabledRemoteNotificationTypes");
+    }
+    plus.ios.deleteObject(app);
+    isOn = 0 != types;
+    if (isOn == false) {
+      uni.showModal({
+        title: "通知权限开启提醒",
+        content: "您还没有开启通知权限,无法接受到消息通知,请前往设置!",
+        showCancel: false,
+        confirmText: "去设置",
+        success: function (res) {
+          if (res.confirm) {
+            var app = plus.ios.invoke("UIApplication", "sharedApplication");
+            var setting = plus.ios.invoke("NSURL", "URLWithString:", "app-settings:");
+            plus.ios.invoke(app, "openURL:", setting);
+            plus.ios.deleteObject(setting);
+            plus.ios.deleteObject(app);
+          }
+        },
+      });
+    }
+  }
+  // #endif
+}
+
 watchEffect(() => {
   //#ifdef APP-PLUS || MP-WEIXIN
   if (uni.getStorageSync("serveUrl")) {

+ 0 - 10
src/api/business/mhxf/xunJian/index.js

@@ -1,10 +0,0 @@
-import { request } from "@/utils/request";
-
-// ehcarts接口请求
-export function appPlanStatistics(param) {
-  return request({
-    url: "/service-fire/appPatrolInspection/appPlanStatistics",
-    method: "GET",
-    data: param,
-  });
-}

+ 0 - 0
src/api/business/mhxf/xunJian/collect.js → src/api/business/zhaf/xunJian/collect.js


+ 42 - 0
src/api/business/zhaf/xunJian/index.js

@@ -0,0 +1,42 @@
+import { request } from "@/utils/request";
+
+// ehcarts接口请求
+export function appPlanStatistics(param) {
+  return request({
+    url: "/service-fire/appPatrolInspection/appPlanStatistics",
+    method: "GET",
+    data: param,
+  });
+}
+
+/**
+ * 异常上报接口集合
+ * @method Select 查询
+ * @method Insert 新增
+ * @method Update 修改
+ */
+export function errorApi() {
+  return {
+    Select(data) {
+      return request({
+        url: "/service-fire/patrolInspectionEvent/patrolInspectionEventList",
+        method: "POST",
+        data: data,
+      });
+    },
+    Insert(data) {
+      return request({
+        url: "/service-fire/patrolInspectionEvent/add",
+        method: "POST",
+        data: data,
+      });
+    },
+    Update(data) {
+      return request({
+        url: "/service-fire/patrolInspectionEvent/edit",
+        method: "PUT",
+        data: data,
+      });
+    },
+  };
+}

+ 0 - 0
src/api/business/mhxf/xunJian/plan.js → src/api/business/zhaf/xunJian/plan.js


+ 0 - 0
src/api/business/mhxf/xunJian/record.js → src/api/business/zhaf/xunJian/record.js


+ 2 - 1
src/manifest.json

@@ -75,7 +75,8 @@
                     "<uses-permission android:name=\"android.permission.FOREGROUND_SERVICE\"/>",
                     "<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
                     "<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>",
-                    "<uses-permission android:name=\"android.permission.RECEIVE_BOOT_COMPLETED\"/>"
+                    "<uses-permission android:name=\"android.permission.RECEIVE_BOOT_COMPLETED\"/>",
+                    "<uses-permission android:name=\"android.permission.SYSTEM_ALERT_WINDOW\"/>"
                 ],
                 "minSdkVersion" : "",
                 "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ],

+ 21 - 0
src/pages.json

@@ -388,6 +388,27 @@
             }
           }
         },
+        {
+          "path": "xunJian/error/index",
+          "style": {
+            "navigationBarTitleText": "异常上报",
+            "enablePullDownRefresh": false
+          }
+        },
+        {
+          "path": "xunJian/error/errorList",
+          "style": {
+            "navigationBarTitleText": "异常列表",
+            "enablePullDownRefresh": false
+          }
+        },
+        {
+          "path": "xunJian/error/errorListDetail",
+          "style": {
+            "navigationBarTitleText": "处置详情",
+            "enablePullDownRefresh": false
+          }
+        },
         //巡检模块 结束
         //人员签到 开始
         {

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

@@ -95,14 +95,7 @@ const current = ref(0);
 const list = ref([
   { id: 5, name: "电气火灾" },
   { id: 4, name: "烟感" },
-  {
-    id: 3,
-    name: "水系统",
-    badge: {
-      // isDot: true,
-      // value: 5,
-    },
-  },
+  { id: 3, name: "水系统" },
 ]);
 
 /**

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

@@ -57,18 +57,10 @@
         <uni-section class="block mb10" title="基本情况" type="line" titleFontSize="15px"></uni-section>
         <view class="tableType2 price2">
           <u-row>
-            <u-col span="3">
-              <view>单位名称</view>
-            </u-col>
-            <u-col span="3">
-              <view>上海XXX公司</view>
-            </u-col>
-            <u-col span="3">
-              <view>整体风险</view>
-            </u-col>
-            <u-col span="3">
-              <view>一般风险</view>
-            </u-col>
+            <u-col span="3"> <view>单位名称</view> </u-col>
+            <u-col span="3"> <view>上海XXX公司</view> </u-col>
+            <u-col span="3"> <view>整体风险</view> </u-col>
+            <u-col span="3"> <view>一般风险</view> </u-col>
           </u-row>
         </view>
         <view class="price2">
@@ -84,15 +76,9 @@
         </uni-section>
         <view class="tableType1 price2">
           <u-row>
-            <u-col span="2">
-              <view>序号</view>
-            </u-col>
-            <u-col span="5">
-              <view>整改项</view>
-            </u-col>
-            <u-col span="5">
-              <view>原因</view>
-            </u-col>
+            <u-col span="2"> <view>序号</view> </u-col>
+            <u-col span="5"> <view>整改项</view> </u-col>
+            <u-col span="5"> <view>原因</view> </u-col>
           </u-row>
           <u-row v-for="(co, index) in content3" :key="index">
             <u-col span="2">
@@ -112,18 +98,10 @@
         <uni-section class="block mb10" title="整体指数分析" type="line" titleFontSize="15px"> </uni-section>
         <view class="tableType1 price2">
           <u-row>
-            <u-col span="4">
-              <view>指数</view>
-            </u-col>
-            <u-col span="2.5">
-              <view>得分</view>
-            </u-col>
-            <u-col span="2.5">
-              <view>排名</view>
-            </u-col>
-            <u-col span="3">
-              <view>得分同比</view>
-            </u-col>
+            <u-col span="4"> <view>指数</view> </u-col>
+            <u-col span="2.5"> <view>得分</view> </u-col>
+            <u-col span="2.5"> <view>排名</view> </u-col>
+            <u-col span="3"> <view>得分同比</view> </u-col>
           </u-row>
           <u-row v-for="(co, index) in content4" :key="index">
             <u-col span="4">
@@ -172,24 +150,12 @@
 
         <view class="tableType1 price2">
           <u-row>
-            <u-col span="2.4">
-              <view>报告分类</view>
-            </u-col>
-            <u-col span="2.4">
-              <view>报告属性</view>
-            </u-col>
-            <u-col span="2.4">
-              <view>报告总数</view>
-            </u-col>
-            <u-col span="1.6">
-              <view>已处理</view>
-            </u-col>
-            <u-col span="1.6">
-              <view>未处理</view>
-            </u-col>
-            <u-col span="1.6">
-              <view>处置率</view>
-            </u-col>
+            <u-col span="2.4"> <view>报告分类</view> </u-col>
+            <u-col span="2.4"> <view>报告属性</view> </u-col>
+            <u-col span="2.4"> <view>报告总数</view> </u-col>
+            <u-col span="1.6"> <view>已处理</view> </u-col>
+            <u-col span="1.6"> <view>未处理</view> </u-col>
+            <u-col span="1.6"> <view>处置率</view> </u-col>
           </u-row>
           <u-row v-for="(co, index) in content5" :key="index">
             <u-col span="2.4">
@@ -228,95 +194,47 @@
 
         <view class="tableType2 price2">
           <u-row>
-            <u-col span="3">
-              <view>检查名称</view>
-            </u-col>
-            <u-col span="3">
-              <view>消防检查抽查</view>
-            </u-col>
-            <u-col span="3">
-              <view>检查时间</view>
-            </u-col>
-            <u-col span="3">
-              <view>2023-02-05</view>
-            </u-col>
+            <u-col span="3"> <view>检查名称</view> </u-col>
+            <u-col span="3"> <view>消防检查抽查</view> </u-col>
+            <u-col span="3"> <view>检查时间</view> </u-col>
+            <u-col span="3"> <view>2023-02-05</view> </u-col>
           </u-row>
           <u-row>
-            <u-col span="3">
-              <view>消防监督检查</view>
-            </u-col>
-            <u-col span="3">
-              <view>刘军、张磊</view>
-            </u-col>
-            <u-col span="3">
-              <view>是否合格</view>
-            </u-col>
-            <u-col span="3">
-              <view>不合格</view>
-            </u-col>
+            <u-col span="3"> <view>消防监督检查</view> </u-col>
+            <u-col span="3"> <view>刘军、张磊</view> </u-col>
+            <u-col span="3"> <view>是否合格</view> </u-col>
+            <u-col span="3"> <view>不合格</view> </u-col>
           </u-row>
           <u-row>
-            <u-col span="3">
-              <view>问题描述</view>
-            </u-col>
-            <u-col span="9">
-              <view>消防通道不同,机房堆有可燃物</view>
-            </u-col>
+            <u-col span="3"> <view>问题描述</view> </u-col>
+            <u-col span="9"> <view>消防通道不同,机房堆有可燃物</view> </u-col>
           </u-row>
           <u-row>
-            <u-col span="3">
-              <view>建议</view>
-            </u-col>
-            <u-col span="9">
-              <view>清理消防通道,机房可燃物清理恢复</view>
-            </u-col>
+            <u-col span="3"> <view>建议</view> </u-col>
+            <u-col span="9"> <view>清理消防通道,机房可燃物清理恢复</view> </u-col>
           </u-row>
         </view>
 
         <view class="tableType2 price2">
           <u-row>
-            <u-col span="3">
-              <view>检查名称</view>
-            </u-col>
-            <u-col span="3">
-              <view>消防检查抽查</view>
-            </u-col>
-            <u-col span="3">
-              <view>检查时间</view>
-            </u-col>
-            <u-col span="3">
-              <view>2023-02-05</view>
-            </u-col>
+            <u-col span="3"> <view>检查名称</view> </u-col>
+            <u-col span="3"> <view>消防检查抽查</view> </u-col>
+            <u-col span="3"> <view>检查时间</view> </u-col>
+            <u-col span="3"> <view>2023-02-05</view> </u-col>
           </u-row>
           <u-row>
-            <u-col span="3">
-              <view>消防监督检查</view>
-            </u-col>
-            <u-col span="3">
-              <view>刘军、张磊</view>
-            </u-col>
-            <u-col span="3">
-              <view>是否合格</view>
-            </u-col>
-            <u-col span="3">
-              <view>不合格</view>
-            </u-col>
+            <u-col span="3"> <view>消防监督检查</view> </u-col>
+            <u-col span="3"> <view>刘军、张磊</view> </u-col>
+            <u-col span="3"> <view>是否合格</view> </u-col>
+            <u-col span="3"> <view>不合格</view> </u-col>
           </u-row>
           <u-row>
-            <u-col span="3">
-              <view>问题描述</view>
-            </u-col>
-            <u-col span="9">
-              <view>消防通道不同,机房堆有可燃物</view>
-            </u-col>
+            <u-col span="3"> <view>问题描述</view> </u-col>
+            <u-col span="9"> <view>消防通道不同,机房堆有可燃物</view> </u-col>
           </u-row>
           <u-row>
-            <u-col span="3">
-              <view>建议</view>
-            </u-col>
-            <u-col span="9">
-              <view>清理消防通道,机房可燃物清理恢复</view>
-            </u-col>
+            <u-col span="3"> <view>建议</view> </u-col>
+            <u-col span="9"> <view>清理消防通道,机房可燃物清理恢复</view> </u-col>
           </u-row>
         </view>
       </view>
@@ -326,48 +244,24 @@
 
         <view class="tableType2 price2">
           <u-row>
-            <u-col span="3">
-              <view>火灾原因</view>
-            </u-col>
-            <u-col span="3">
-              <view>电气火灾</view>
-            </u-col>
-            <u-col span="3">
-              <view>发生时间</view>
-            </u-col>
-            <u-col span="3">
-              <view>2023-02-05</view>
-            </u-col>
+            <u-col span="3"> <view>火灾原因</view> </u-col>
+            <u-col span="3"> <view>电气火灾</view> </u-col>
+            <u-col span="3"> <view>发生时间</view> </u-col>
+            <u-col span="3"><view>2023-02-05</view> </u-col>
           </u-row>
           <u-row>
-            <u-col span="3">
-              <view>起火场所</view>
-            </u-col>
-            <u-col span="3">
-              <view>厂房</view>
-            </u-col>
-            <u-col span="3">
-              <view>火灾等级</view>
-            </u-col>
-            <u-col span="3">
-              <view>1</view>
-            </u-col>
+            <u-col span="3"><view>起火场所</view> </u-col>
+            <u-col span="3"> <view>厂房</view> </u-col>
+            <u-col span="3"><view>火灾等级</view> </u-col>
+            <u-col span="3"><view>1</view> </u-col>
           </u-row>
           <u-row>
-            <u-col span="3">
-              <view>火灾描述</view>
-            </u-col>
-            <u-col span="9">
-              <view>厂房电缆线路老化,使用功率较大电器引发火灾</view>
-            </u-col>
+            <u-col span="3"> <view>火灾描述</view> </u-col>
+            <u-col span="9"><view>厂房电缆线路老化,使用功率较大电器引发火灾</view> </u-col>
           </u-row>
           <u-row>
-            <u-col span="3">
-              <view>建议</view>
-            </u-col>
-            <u-col span="9">
-              <view>定期检查线路,做好消防安全教育,不违规使 用大功率电器</view>
-            </u-col>
+            <u-col span="3"><view>建议</view> </u-col>
+            <u-col span="9"> <view>定期检查线路,做好消防安全教育,不违规使 用大功率电器</view> </u-col>
           </u-row>
         </view>
       </view>

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

@@ -60,13 +60,7 @@ const list = ref([
   { id: 6, name: "消火栓" },
   { id: 7, name: "重点单位" },
   { id: 8, name: "消防检查信息" },
-  {
-    id: 9,
-    name: "视频监控",
-    badge: {
-      // value: 5,
-    },
-  },
+  { id: 9, name: "视频监控" },
 ]);
 
 /**

+ 46 - 280
src/pages/business/mhxf/unitInfoCollection/index.vue

@@ -473,185 +473,45 @@ const dataList = reactive({
   },
 
   rules: {
-    companyName: [
-      {
-        required: true,
-        message: "请输入营业执照单位名称",
-        trigger: ["blur", "change"],
-      },
-    ],
+    companyName: [{ required: true, message: "请输入营业执照单位名称", trigger: ["blur", "change"] }],
     organization: [
-      {
-        required: true,
-        message: "请输入统一社会信用代码",
-        trigger: ["blur", "change"],
-      },
-      {
-        type: "string",
-        min: 18,
-        required: true,
-        message: "请输入18位统一社会信用代码",
-        trigger: ["change"],
-      },
-    ],
-    delegateName: [
-      {
-        required: true,
-        message: "请输入法人代表",
-        trigger: ["blur", "change"],
-      },
-    ],
-    streetTown: [
-      {
-        required: true,
-        message: "请选择所属街镇",
-        trigger: ["blur", "change"],
-      },
-    ],
-    address: [
-      {
-        required: true,
-        message: "请输入单位地址",
-        trigger: ["blur", "change"],
-      },
+      { required: true, message: "请输入统一社会信用代码", trigger: ["blur", "change"] },
+      { type: "string", min: 18, required: true, message: "请输入18位统一社会信用代码", trigger: ["change"] },
     ],
+    delegateName: [{ required: true, message: "请输入法人代表", trigger: ["blur", "change"] }],
+    streetTown: [{ required: true, message: "请选择所属街镇", trigger: ["blur", "change"] }],
+    address: [{ required: true, message: "请输入单位地址", trigger: ["blur", "change"] }],
     fireManagePhone: [
-      {
-        required: true,
-        message: "请输入消防管理人电话",
-        trigger: ["blur", "change"],
-      },
-      {
-        type: "string",
-        min: 11,
-        required: true,
-        message: "请输入正确11位消防管理人电话",
-        pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
-        trigger: ["blur", "change"],
-      },
-    ],
-    foundTime: [
-      {
-        required: true,
-        message: "请选择成立时间",
-        trigger: ["blur", "change"],
-      },
-    ],
-    companyNature: [
-      {
-        required: true,
-        message: "请选择单位使用性质",
-        trigger: ["blur", "change"],
-      },
-    ],
-    birthCert: [
-      {
-        required: true,
-        message: "请选择产证",
-        trigger: ["blur", "change"],
-      },
-    ],
-    buildArea: [
-      {
-        required: true,
-        message: "请输入单位建筑面积",
-        trigger: ["blur", "change"],
-      },
+      { required: true, message: "请输入消防管理人电话", trigger: ["blur", "change"] },
+      { type: "string", min: 11, required: true, message: "请输入正确11位消防管理人电话", pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, trigger: ["blur", "change"] },
     ],
+    foundTime: [{ required: true, message: "请选择成立时间", trigger: ["blur", "change"] }],
+    companyNature: [{ required: true, message: "请选择单位使用性质", trigger: ["blur", "change"] }],
+    birthCert: [{ required: true, message: "请选择产证", trigger: ["blur", "change"] }],
+    buildArea: [{ required: true, message: "请输入单位建筑面积", trigger: ["blur", "change"] }],
 
     baseBuildList: [],
   },
 
   baseBuildListRules: {
     baseBuild: {
-      buildName: [
-        {
-          required: true,
-          message: "请输入建筑名称",
-          trigger: ["blur", "change"],
-        },
-      ],
-      address: [
-        {
-          required: true,
-          message: "请输入建筑地址",
-          trigger: ["blur", "change"],
-        },
-      ],
-      buildStructure: [
-        {
-          required: true,
-          message: "请选择建筑结构",
-          trigger: ["blur", "change"],
-        },
-      ],
-      buildHigh: [
-        {
-          type: "number",
-          required: true,
-          message: "请输入建筑高度",
-          trigger: ["blur", "change"],
-        },
-      ],
-      aboveFloor: [
-        {
-          type: "number",
-          required: true,
-          message: "请输入地上层数",
-          trigger: ["blur", "change"],
-        },
-      ],
-      buildArea: [
-        {
-          type: "number",
-          required: true,
-          message: "请输入建筑面积",
-          trigger: ["blur", "change"],
-        },
-      ],
-      completeYear: [
-        {
-          required: true,
-          message: "请选择建成年份",
-          trigger: ["blur", "change"],
-        },
-      ],
-      useCharacter: [
-        {
-          required: true,
-          message: "请输入使用性质",
-          trigger: ["blur", "change"],
-        },
-      ],
-
-      fireFacilitySystem: [
-        {
-          type: "array",
-          required: true,
-          message: "请选择消防设施设置",
-          trigger: ["change"],
-        },
-      ],
+      buildName: [{ required: true, message: "请输入建筑名称", trigger: ["blur", "change"] }],
+      address: [{ required: true, message: "请输入建筑地址", trigger: ["blur", "change"] }],
+      buildStructure: [{ required: true, message: "请选择建筑结构", trigger: ["blur", "change"] }],
+      buildHigh: [{ type: "number", required: true, message: "请输入建筑高度", trigger: ["blur", "change"] }],
+      aboveFloor: [{ type: "number", required: true, message: "请输入地上层数", trigger: ["blur", "change"] }],
+      buildArea: [{ type: "number", required: true, message: "请输入建筑面积", trigger: ["blur", "change"] }],
+      completeYear: [{ required: true, message: "请选择建成年份", trigger: ["blur", "change"] }],
+      useCharacter: [{ required: true, message: "请输入使用性质", trigger: ["blur", "change"] }],
+
+      fireFacilitySystem: [{ type: "array", required: true, message: "请选择消防设施设置", trigger: ["change"] }],
     },
     baseBuildExtinguishList: [],
   },
 
   baseBuildExtinguishRules: {
-    extinguishType: [
-      {
-        required: true,
-        message: "请选择灭火器类型",
-        trigger: ["blur", "change"],
-      },
-    ],
-    extinguishNum: [
-      {
-        type: "number",
-        required: true,
-        message: "请输入灭火器数量",
-        trigger: ["blur", "change"],
-      },
-    ],
+    extinguishType: [{ required: true, message: "请选择灭火器类型", trigger: ["blur", "change"] }],
+    extinguishNum: [{ type: "number", required: true, message: "请输入灭火器数量", trigger: ["blur", "change"] }],
   },
 
   pagingBool: true,
@@ -884,90 +744,20 @@ function handleAction(value, index, ind) {
 
     actionsList.value = [
       [
-        {
-          name: "江川路街道",
-          value: 1201,
-          x: 121.399126538181,
-          y: 31.0099719391863,
-        },
-        {
-          name: "新虹街道",
-          value: 1217,
-          x: 121.319329296294,
-          y: 31.1983901916889,
-        },
-        {
-          name: "古美路街道",
-          value: 1206,
-          x: 121.388451866936,
-          y: 31.1478233480159,
-        },
-        {
-          name: "浦锦街道",
-          value: 1218,
-          x: 121.483929120352,
-          y: 31.089967318558,
-        },
-        {
-          name: "浦江镇",
-          value: 1215,
-          x: 121.524058543447,
-          y: 31.0540039472667,
-        },
-        {
-          name: "吴泾镇",
-          value: 1213,
-          x: 121.454076463728,
-          y: 31.04860402113,
-        },
-        {
-          name: "马桥镇",
-          value: 1214,
-          x: 121.352680027718,
-          y: 31.0213512298508,
-        },
-        {
-          name: "颛桥镇",
-          value: 1209,
-          x: 121.40607138504,
-          y: 31.0612972443508,
-        },
-        {
-          name: "莘庄镇",
-          value: 1207,
-          x: 121.37064864047,
-          y: 31.1154549548722,
-        },
-        {
-          name: "梅陇镇",
-          value: 1212,
-          x: 121.421346814491,
-          y: 31.1069718313722,
-        },
-        {
-          name: "七宝镇",
-          value: 1208,
-          x: 121.350366186317,
-          y: 31.1553292680362,
-        },
-        {
-          name: "虹桥镇",
-          value: 1211,
-          x: 121.37956256207,
-          y: 31.1806219953212,
-        },
-        {
-          name: "华漕镇",
-          value: 1210,
-          x: 121.277541517147,
-          y: 31.2289121171624,
-        },
-        {
-          name: "莘庄工业区",
-          value: 1216,
-          x: 121.376508452784,
-          y: 31.0678185611843,
-        },
+        { name: "江川路街道", value: 1201, x: 121.399126538181, y: 31.0099719391863 },
+        { name: "新虹街道", value: 1217, x: 121.319329296294, y: 31.1983901916889 },
+        { name: "古美路街道", value: 1206, x: 121.388451866936, y: 31.1478233480159 },
+        { name: "浦锦街道", value: 1218, x: 121.483929120352, y: 31.089967318558 },
+        { name: "浦江镇", value: 1215, x: 121.524058543447, y: 31.0540039472667 },
+        { name: "吴泾镇", value: 1213, x: 121.454076463728, y: 31.04860402113 },
+        { name: "马桥镇", value: 1214, x: 121.352680027718, y: 31.0213512298508 },
+        { name: "颛桥镇", value: 1209, x: 121.40607138504, y: 31.0612972443508 },
+        { name: "莘庄镇", value: 1207, x: 121.37064864047, y: 31.1154549548722 },
+        { name: "梅陇镇", value: 1212, x: 121.421346814491, y: 31.1069718313722 },
+        { name: "七宝镇", value: 1208, x: 121.350366186317, y: 31.1553292680362 },
+        { name: "虹桥镇", value: 1211, x: 121.37956256207, y: 31.1806219953212 },
+        { name: "华漕镇", value: 1210, x: 121.277541517147, y: 31.2289121171624 },
+        { name: "莘庄工业区", value: 1216, x: 121.376508452784, y: 31.0678185611843 },
       ],
     ];
 
@@ -995,38 +785,14 @@ function handleAction(value, index, ind) {
 
     actionsList.value = [
       [
-        {
-          value: 1,
-          name: "商业服务业设施用地(商业设施、商务设施、娱乐康体设施、公用设施营业网点、其它服务设施等)",
-        },
-        {
-          value: 2,
-          name: "工业用地",
-        },
-        {
-          value: 3,
-          name: "居住用地",
-        },
-        {
-          value: 4,
-          name: "公共管理与公共服务用地(行政办公、文化设施、教育科研、体育、医疗卫生、社会福利设施、文物古迹、外事、宗教设施等",
-        },
-        {
-          value: 5,
-          name: "物流仓储用地",
-        },
-        {
-          value: 6,
-          name: "道路与交通设施用地",
-        },
-        {
-          value: 7,
-          name: "公用设施用地",
-        },
-        {
-          value: 8,
-          name: "绿地与广场用地",
-        },
+        { value: 1, name: "商业服务业设施用地(商业设施、商务设施、娱乐康体设施、公用设施营业网点、其它服务设施等)" },
+        { value: 2, name: "工业用地" },
+        { value: 3, name: "居住用地" },
+        { value: 4, name: "公共管理与公共服务用地(行政办公、文化设施、教育科研、体育、医疗卫生、社会福利设施、文物古迹、外事、宗教设施等" },
+        { value: 5, name: "物流仓储用地" },
+        { value: 6, name: "道路与交通设施用地" },
+        { value: 7, name: "公用设施用地" },
+        { value: 8, name: "绿地与广场用地" },
       ],
     ];
 

+ 1 - 1
src/pages/business/zhaf/xunJian/collect/components/collectRecord.vue

@@ -52,7 +52,7 @@
 <script setup>
 import { onReady, onLoad, onShow, onNavigationBarButtonTap } from "@dcloudio/uni-app";
 import { ref, onMounted, inject, shallowRef, reactive, getCurrentInstance, toRefs } from "vue";
-import { siteList } from "@/api/business/mhxf/xunJian/collect.js";
+import { siteList } from "@/api/business/zhaf/xunJian/collect.js";
 
 const { proxy } = getCurrentInstance();
 

+ 1 - 1
src/pages/business/zhaf/xunJian/collect/index.vue

@@ -80,7 +80,7 @@
 import { onReady, onLoad, onShow, onUnload, onNavigationBarButtonTap } from "@dcloudio/uni-app";
 import { ref, onMounted, reactive, computed, getCurrentInstance, toRefs, inject, shallowRef, watch } from "vue";
 import { xunJianStores } from "@/store/modules/index";
-import { addSite } from "@/api/business/mhxf/xunJian/collect.js";
+import { addSite } from "@/api/business/zhaf/xunJian/collect.js";
 import oaMovable from "@/components/oa-movable/index.vue"; // 引入组件
 
 const { proxy } = getCurrentInstance();

+ 0 - 0
src/pages/business/zhaf/xunJian/error/errorList.vue


+ 0 - 0
src/pages/business/zhaf/xunJian/error/errorListDetail.vue


+ 0 - 0
src/pages/business/zhaf/xunJian/error/index.vue


+ 1 - 1
src/pages/business/zhaf/xunJian/plan/components/content.vue

@@ -82,7 +82,7 @@
 import { onLoad, onShow } from "@dcloudio/uni-app";
 import { ref, onMounted, reactive, computed, getCurrentInstance, toRefs, inject, shallowRef } from "vue";
 import { useStores, commonStores, xunJianStores } from "@/store/modules/index";
-import { updatePlan } from "@/api/business/mhxf/xunJian/plan.js";
+import { updatePlan } from "@/api/business/zhaf/xunJian/plan.js";
 
 const BASE_URL = inject("$BASE_URL");
 const xunJianStore = xunJianStores(); //全局变量值Store

+ 1 - 1
src/pages/business/zhaf/xunJian/plan/components/report.vue

@@ -64,7 +64,7 @@
 import { onLoad, onShow, onUnload } from "@dcloudio/uni-app";
 import { ref, onMounted, reactive, computed, getCurrentInstance, toRefs, inject, shallowRef } from "vue";
 import { useStores, commonStores, xunJianStores } from "@/store/modules/index";
-import { recordList, recordOption, siteDetails, planSonSiteDetails } from "@/api/business/mhxf/xunJian/plan.js";
+import { recordList, recordOption, siteDetails, planSonSiteDetails } from "@/api/business/zhaf/xunJian/plan.js";
 import oaMovable from "@/components/oa-movable/index.vue"; // 引入组件
 
 const { proxy } = getCurrentInstance();

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

@@ -64,7 +64,7 @@ import { onLoad, onShow } from "@dcloudio/uni-app";
 import { ref, onMounted, reactive, computed, getCurrentInstance, toRefs, inject, shallowRef } from "vue";
 import { useStores, commonStores, xunJianStores } from "@/store/modules/index";
 
-import { recordList, recordOption, siteDetails } from "@/api/business/mhxf/xunJian/plan.js";
+import { recordList, recordOption, siteDetails } from "@/api/business/zhaf/xunJian/plan.js";
 
 const xunJianStore = xunJianStores(); //全局变量值Store
 

+ 1 - 1
src/pages/business/zhaf/xunJian/plan/index.vue

@@ -108,7 +108,7 @@
 import { onLoad, onShow, onLaunch, onUnload } from "@dcloudio/uni-app";
 import { ref, onMounted, reactive, computed, getCurrentInstance, toRefs, inject, shallowRef, defineAsyncComponent } from "vue";
 import { useStores, commonStores, xunJianStores } from "@/store/modules/index";
-import { recordList, recordOption, planList, patrolInspectionPlan, appPlanStatistics } from "@/api/business/mhxf/xunJian/plan.js";
+import { recordList, recordOption, planList, patrolInspectionPlan, appPlanStatistics } from "@/api/business/zhaf/xunJian/plan.js";
 import drawer from "./components/drawer.vue"; // 引入组件
 import oaMovable from "@/components/oa-movable/index.vue"; // 引入组件
 

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

@@ -28,7 +28,7 @@
 import { ref, onMounted, reactive, computed, getCurrentInstance, toRefs, inject, shallowRef } from "vue";
 import { onReady, onLoad, onShow, onNavigationBarButtonTap } from "@dcloudio/uni-app";
 
-import { getInspectionRecordList } from "@/api/business/mhxf/xunJian/record.js";
+import { getInspectionRecordList } from "@/api/business/zhaf/xunJian/record.js";
 
 const modalName = ref(null);
 const getData = ref([]);

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

@@ -86,7 +86,7 @@ import { onLoad, onShow, onLaunch } from "@dcloudio/uni-app";
 import { ref, onMounted, reactive, computed, getCurrentInstance, toRefs, inject, shallowRef } from "vue";
 import { useStores, commonStores, xunJianStores } from "@/store/modules/index";
 
-import { getInspectionRecordDetails } from "@/api/business/mhxf/xunJian/record.js";
+import { getInspectionRecordDetails } from "@/api/business/zhaf/xunJian/record.js";
 
 const { proxy } = getCurrentInstance();
 

+ 1 - 1
src/pages/business/zhaf/xunJian/xunJian.vue

@@ -31,7 +31,7 @@ import { xunJianStores, commonStores } from "@/store/modules/index";
 
 import chart from "./components/chart.vue";
 
-import { appPlanStatistics } from "@/api/business/mhxf/xunJian/index.js";
+import { appPlanStatistics } from "@/api/business/zhaf/xunJian/index.js";
 
 const commonStore = commonStores(); //全局公共Store
 const xunJianStore = xunJianStores(); //全局变量值Store

+ 1 - 1
src/store/modules/xunJian.js

@@ -1,7 +1,7 @@
 // 组件引用
 import { defineStore } from "pinia";
 // 接口引用
-import { updatePlan } from "@/api/business/mhxf/xunJian/plan.js";
+import { updatePlan } from "@/api/business/zhaf/xunJian/plan.js";
 // 公共方法引用
 import { storage, storageStystem } from "@/utils/storage";