shuishen
2024-04-08 dd762b27f79dce87c05cb65ba3e81224ea24e5d5
反诈相关更改
5 files modified
101 ■■■■■ 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 55 ●●●● 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,31 +5,34 @@
 * @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 = [
    {
@@ -157,7 +160,7 @@
            {
                path: "antiFraudShow",
                meta: {
                    title: "反诈宣传",
          title: "反诈宣防",
                },
                component: antiFraudShow,
            },
@@ -182,11 +185,11 @@
    //     redirect: '/404',
    //     isAuth: false
    // }
]
];
const router = new VueRouter({
    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' }"