shuishen
2024-04-08 dd762b27f79dce87c05cb65ba3e81224ea24e5d5
反诈相关更改
5 files modified
387 ■■■■ changed files
src/api/antiFraudShow/index.js 2 ●●● patch | view | raw | blame | history
src/components/map/index.vue 22 ●●●● patch | view | raw | blame | history
src/router/page/index.js 341 ●●●● patch | view | raw | blame | history
src/views/antiFraudShow/index.vue 20 ●●●● patch | view | raw | blame | history
src/views/layout/index.vue 2 ●●● patch | view | raw | blame | history
src/api/antiFraudShow/index.js
@@ -11,7 +11,7 @@
import request from "@/router/axios.js";
/**
 * 获得反诈宣传列表
 * 获得反诈宣防列表
 * @param {*} params
 * @returns
 */
src/components/map/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 17:00:30
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-04-07 18:55:24
 * @LastEditTime: 2024-04-08 22:08:55
 * @FilePath: \srs-police-affairs\src\components\map\index.vue
 * @Description: 公用地图组件
 * 
@@ -324,21 +324,21 @@
            // global.viewer.addTerrain(terrain)
            // 内网
            // that.switchImg()
            that.switchImg()
            // 地形数据添加
            // that.addTerrain()
            // 外网 
            global.viewer.imageryLayers.addImageryProvider(
                new global.DC.Namespace.Cesium.UrlTemplateImageryProvider({
                    url: 'http://t{s}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=d083e4cf30bfc438ef93436c10c2c20a',
                    subdomains: ['0', '1', '2', '3', '4', '5', '6', '7'],
                    format: 'image/jpeg',
                    show: true,
                    maximumLevel: 18
                })
            )
            // global.viewer.imageryLayers.addImageryProvider(
            //     new global.DC.Namespace.Cesium.UrlTemplateImageryProvider({
            //         url: 'http://t{s}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=d083e4cf30bfc438ef93436c10c2c20a',
            //         subdomains: ['0', '1', '2', '3', '4', '5', '6', '7'],
            //         format: 'image/jpeg',
            //         show: true,
            //         maximumLevel: 18
            //     })
            // )
            // 设置地图初始位置,角度等
            global.viewer.camera.setView({
src/router/page/index.js
@@ -5,188 +5,191 @@
 * @Last Modified time: 2022-07-29 09:15:23
 */
import Vue from "vue"
import VueRouter from "vue-router"
Vue.use(VueRouter)
import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);
const layout = () => import("../../views/layout/index.vue")
const site = () => import("../../views/site/index.vue")
const home = () => import("../../views/home/index.vue")
const house = () => import("../../views/house/index.vue")
const police = () => import("../../views/police/index.vue")
const video = () => import("../../views/video/index.vue")
const videoList = () => import("../../views/video/list.vue")
const videoRegion = () => import("../../views/video/region.vue")
const activity = () => import("../../views/activity/index.vue")
const policeInfor = () => import("../../views/policeInfor/index.vue")
const scanOrCode = () => import("../../views/scanOrCode/index.vue")
const rentalInfo = () => import("../../views/rentalInfo/index.vue")
const antiFraudShow = () => import("../../views/antiFraudShow/index.vue")
const contradictionEventShow = () => import("../../views/contradictionEventShow/index.vue")
const positionManage = () => import("../../views/positionManage/index.vue")
const practitionersManage = () => import("../../views/practitionersManage/index.vue")
const policeAlarmRecordsManage = () => import("../../views/policeAlarmRecordsManage/index.vue")
const layout = () => import("../../views/layout/index.vue");
const site = () => import("../../views/site/index.vue");
const home = () => import("../../views/home/index.vue");
const house = () => import("../../views/house/index.vue");
const police = () => import("../../views/police/index.vue");
const video = () => import("../../views/video/index.vue");
const videoList = () => import("../../views/video/list.vue");
const videoRegion = () => import("../../views/video/region.vue");
const activity = () => import("../../views/activity/index.vue");
const policeInfor = () => import("../../views/policeInfor/index.vue");
const scanOrCode = () => import("../../views/scanOrCode/index.vue");
const rentalInfo = () => import("../../views/rentalInfo/index.vue");
const antiFraudShow = () => import("../../views/antiFraudShow/index.vue");
const contradictionEventShow = () =>
  import("../../views/contradictionEventShow/index.vue");
const positionManage = () => import("../../views/positionManage/index.vue");
const practitionersManage = () =>
  import("../../views/practitionersManage/index.vue");
const policeAlarmRecordsManage = () =>
  import("../../views/policeAlarmRecordsManage/index.vue");
const intelligentSearch = () =>
    import("../../views/intelligentSearch/index.vue")
  import("../../views/intelligentSearch/index.vue");
const login = () => import("../../views/login/index.vue")
const login = () => import("../../views/login/index.vue");
const routes = [
    {
        path: "/login",
        name: "login",
        component: (resolve) => require(["../../views/login/index.vue"], resolve),
        meta: {
            title: "登录页",
            isAuth: false,
        },
  {
    path: "/login",
    name: "login",
    component: (resolve) => require(["../../views/login/index.vue"], resolve),
    meta: {
      title: "登录页",
      isAuth: false,
    },
    {
        path: "/",
        redirect: "/layout",
  },
  {
    path: "/",
    redirect: "/layout",
  },
  {
    path: "/layout",
    redirect: "/layout/home",
    meta: {
      title: "导航菜单",
    },
    {
        path: "/layout",
        redirect: "/layout/home",
    component: layout,
    children: [
      {
        path: "site",
        meta: {
            title: "导航菜单",
          title: "九小场所",
        },
        component: layout,
        children: [
            {
                path: "site",
                meta: {
                    title: "九小场所",
                },
                component: site,
            },
            {
                path: "home",
                meta: {
                    title: "首页",
                },
                component: home,
            },
            {
                path: "house",
                meta: {
                    title: "社区感知",
                },
                component: house,
            },
            {
                path: "policeresouce",
                meta: {
                    title: "警力资源",
                },
                component: police,
            },
        component: site,
      },
      {
        path: "home",
        meta: {
          title: "首页",
        },
        component: home,
      },
      {
        path: "house",
        meta: {
          title: "社区感知",
        },
        component: house,
      },
      {
        path: "policeresouce",
        meta: {
          title: "警力资源",
        },
        component: police,
      },
            {
                path: "video",
                meta: {
                    title: "视频监控",
                },
                component: video,
                children: [
                    {
                        path: "list",
                        meta: {
                            title: "列表查询",
                        },
                        component: videoList,
                    },
                    {
                        path: "region",
                        meta: {
                            title: "空间查询",
                        },
                        component: videoRegion,
                    },
                ],
      {
        path: "video",
        meta: {
          title: "视频监控",
        },
        component: video,
        children: [
          {
            path: "list",
            meta: {
              title: "列表查询",
            },
            {
                path: "activity",
                meta: {
                    title: "电子沙盘",
                },
                component: activity,
            component: videoList,
          },
          {
            path: "region",
            meta: {
              title: "空间查询",
            },
            {
                path: "policeinfor",
                meta: {
                    title: "警情信息",
                },
                component: policeInfor,
            },
            {
                path: "scanOrCode",
                meta: {
                    title: "扫码应用",
                },
                component: scanOrCode,
            },
            {
                path: "intelligentSearch",
                meta: {
                    title: "智能搜索",
                },
                component: intelligentSearch,
            },
            {
                path: "positionManage",
                meta: {
                    title: "阵地管理",
                },
                component: positionManage,
            },
            {
                path: "practitionersManage",
                meta: {
                    title: "从业人员管理",
                },
                component: practitionersManage,
            },
            {
                path: "rentalInfo",
                meta: {
                    title: "租赁信息",
                },
                component: rentalInfo,
            },
            {
                path: "antiFraudShow",
                meta: {
                    title: "反诈宣传",
                },
                component: antiFraudShow,
            },
            {
                path: "contradictionEventShow",
                meta: {
                    title: "矛盾纠纷",
                },
                component: contradictionEventShow,
            },
            {
                path: "policeAlarmRecordsManage",
                meta: {
                    title: "扫码警单",
                },
                component: policeAlarmRecordsManage,
            },
            component: videoRegion,
          },
        ],
    },
    // {
    //     path: '*',
    //     redirect: '/404',
    //     isAuth: false
    // }
]
      },
      {
        path: "activity",
        meta: {
          title: "电子沙盘",
        },
        component: activity,
      },
      {
        path: "policeinfor",
        meta: {
          title: "警情信息",
        },
        component: policeInfor,
      },
      {
        path: "scanOrCode",
        meta: {
          title: "扫码应用",
        },
        component: scanOrCode,
      },
      {
        path: "intelligentSearch",
        meta: {
          title: "智能搜索",
        },
        component: intelligentSearch,
      },
      {
        path: "positionManage",
        meta: {
          title: "阵地管理",
        },
        component: positionManage,
      },
      {
        path: "practitionersManage",
        meta: {
          title: "从业人员管理",
        },
        component: practitionersManage,
      },
      {
        path: "rentalInfo",
        meta: {
          title: "租赁信息",
        },
        component: rentalInfo,
      },
      {
        path: "antiFraudShow",
        meta: {
          title: "反诈宣防",
        },
        component: antiFraudShow,
      },
      {
        path: "contradictionEventShow",
        meta: {
          title: "矛盾纠纷",
        },
        component: contradictionEventShow,
      },
      {
        path: "policeAlarmRecordsManage",
        meta: {
          title: "扫码警单",
        },
        component: policeAlarmRecordsManage,
      },
    ],
  },
  // {
  //     path: '*',
  //     redirect: '/404',
  //     isAuth: false
  // }
];
const router = new VueRouter({
    base: process.env.BASE_URL,
    routes,
})
  base: process.env.BASE_URL,
  routes,
});
export default router
export default router;
src/views/antiFraudShow/index.vue
@@ -3,7 +3,7 @@
        <div v-show="boxShow" class="container-content" ref="containerContent">
            <div class="type-tab-box">
                <div class="tab-item" :class="{ 'tab-choose-item': chooseTab == 1 }" @click="tabClick(1)">
                    反诈宣传</div>
                    反诈宣防</div>
                <div class="tab-item" :class="{ 'tab-choose-item': chooseTab == 2 }" @click="tabClick(2)">
                    反诈入户处置</div>
            </div>
@@ -167,24 +167,32 @@
            let detailList = []
            let title = ''
            if (this.chooseTab == 1) {
                title = '反诈宣传详情'
                title = '反诈宣防详情'
                detailList = [
                    {
                        label: '地址',
                        value: row.address
                    },
                    {
                        label: '问卷调查内容',
                        label: '宣防内容',
                        value: row.pubContent
                    },
                    {
                        label: '宣传佐证照片',
                        label: '宣防佐证照片',
                        value: row.pubUrls,
                        isPic: true
                    },
                    {
                        label: '时间',
                        value: row.createTime
                    },
                    {
                        label: '是否下载国家反诈app',
                        value: row.isFzApp == 1 ? '是' : '否'
                    },
                    {
                        label: '是否打开预警功能',
                        value: row.is0penAlarm == 1 ? '是' : '否'
                    },
                    {
                        label: '民警姓名',
@@ -255,7 +263,7 @@
                size: this.pages.pageSize,
                current: this.pages.currentPage
            }
            // 反诈宣传列表
            // 反诈宣防列表
            if (this.chooseTab == 1) {
                this.getBackblastPubRecordList(params)
            } else {// 反诈预警列表
@@ -263,7 +271,7 @@
            }
        },
        // 反诈宣传列表
        // 反诈宣防列表
        getBackblastPubRecordList (params) {
            getBackblastPubRecordList(params).then(res => {
                this.tableData = res.data.data.records
src/views/layout/index.vue
@@ -68,7 +68,7 @@
                            :style="{ color: currentUrl == '/layout/antiFraudShow' ? '#fcbd56' : '#fff' }"
                            @click="goToPage('/layout/antiFraudShow')">
                            <i class="el-icon-monitor"></i>
                            反诈宣传
                            反诈宣防
                        </div>
                        <div class="back-system"
                            :style="{ color: currentUrl == '/layout/rentalInfo' ? '#fcbd56' : '#fff' }"