更新页面

This commit is contained in:
2026-02-04 11:50:44 +08:00
parent c18ce8ff0e
commit c8c130093f
6 changed files with 70 additions and 38 deletions

View File

@ -732,6 +732,15 @@ export const publicRoutes = [
// } // }
// }, // },
{
path: "/permissionApply",
name: "permissionApply",
component: () => import("@/views/backOfficeSystem/HumanIntelligence/permissionApply/index"),
meta: {
title: "权限申请",
icon: "article-create"
}
},
{ {
path: "/JobAppraisal", path: "/JobAppraisal",
name: "JobAppraisal", name: "JobAppraisal",

View File

@ -215,8 +215,6 @@ const handChange = (editor) => {
border: 1px solid #ccc; border: 1px solid #ccc;
margin: 0 auto; margin: 0 auto;
} }
</style> </style>
<style lang="scss"> <style lang="scss">

View File

@ -0,0 +1,5 @@
<template>
<div>
权限申请
</div>
</template>

View File

@ -33,6 +33,21 @@
<template #expand="{ props }"> <template #expand="{ props }">
<Items :row="props || {}" :dict="dict" /> <Items :row="props || {}" :dict="dict" />
</template> </template>
<template #yjTp="{ row }">
<template v-if="!row.yjTp || row.yjTp.includes('baidu')">
<img src="@/assets/images/car.png" width="30" height="30" v-if="row.yjLx == 2" />
<img src="@/assets/images/default_male.png" width="30" height="30" v-else />
</template>
<el-image v-else style="width: 30px; height:30px" :src="row.yjTp" :preview-src-list="[row.yjTp]"
show-progress>
<template #error>
<div class="image-slot error">
<img src="@/assets/images/car.png" width="30" height="30" v-if="row.yjLx == 2" />
<img src="@/assets/images/default_male.png" width="30" height="30" v-else />
</div>
</template>
</el-image>
</template>
<template #yjJb="{ row }"> <template #yjJb="{ row }">
<DictTag :value="row.yjJb" :tag="false" :color="bqYs(row.yjJb)" :options="D_GS_SSYJ" /> <DictTag :value="row.yjJb" :tag="false" :color="bqYs(row.yjJb)" :options="D_GS_SSYJ" />
</template> </template>
@ -53,7 +68,9 @@
<template #bqdl="{ row }"> <template #bqdl="{ row }">
<DictTag :value="row.bqdl" :tag="false" :options="D_GS_QLZDRLX" /> <DictTag :value="row.bqdl" :tag="false" :options="D_GS_QLZDRLX" />
</template> </template>
<template #xsd="{ row }">
{{ row.xsd }}%
</template>
<template #controls="{ row }"> <template #controls="{ row }">
<el-link type="warning" @click="pushAssess(row)">全息档案</el-link> <el-link type="warning" @click="pushAssess(row)">全息档案</el-link>
@ -110,7 +127,8 @@ const searchConfiger = ref([
{ label: "积分段", prop: 'jfd', placeholder: "请选择积分段", showType: "Slot" }, { label: "积分段", prop: 'jfd', placeholder: "请选择积分段", showType: "Slot" },
{ label: "布控时间", prop: 'startTime', placeholder: "请选择布控时间", showType: "datetimerange" }, { label: "布控时间", prop: 'startTime', placeholder: "请选择布控时间", showType: "datetimerange" },
]); ]);
const ORDIMG = 'https://89.40.7.122:38496/image'
const IMGYM = 'https://sg.lz.dsj.xz/dhimage'
const permission_sfqs = ref(false) const permission_sfqs = ref(false)
const roleCode = ref(false) const roleCode = ref(false)
@ -133,19 +151,17 @@ const pageData = reactive({
}, },
controlsWidth: 180, //操作栏宽度 controlsWidth: 180, //操作栏宽度
tableColumn: [ tableColumn: [
{ label: "状态", prop: "czzt", showSolt: true }, { label: "预警图片", prop: "yjTp", showSolt: true, width: 100 },
{ label: "预警时间", prop: "yjFssj" ,width: 160}, { label: "处置状态", prop: "czzt", showSolt: true },
{ label: "人员姓名", prop: "yjRyxm" }, { label: "预警时间", prop: "yjSj", showOverflowTooltip: true, width: 200 },
{ label: "身份证号码", prop: "yjRysfzh" ,width: 180}, { label: "姓名", prop: "yjRyxm" },
{ label: "性别", prop: "sex" ,showSolt: true,width: 60 }, { label: "性别", prop: "sex", showSolt: true, width: 80 },
// { label: "年龄", prop: "age", showSolt: true,width: 60 }, { label: "年龄", prop: "age", showSolt: true, width: 80 },
{ label: "预警级别", prop: "yjJb", showSolt: true,width: 84 }, { label: "数据来源", prop: "yjLylx", showOverflowTooltip: true, showSolt: true },
// { label: "人员类别", prop: "bqdl", showSolt: true ,width: 84}, { label: "身份证", prop: "yjRysfzh", showOverflowTooltip: true, width: 200 },
{ label: "细类", prop: "yjbqmc",width: 84 }, { label: "预警级别", prop: "yjJb", showSolt: true },
{ label: "轨迹类别", prop: "yjLylx", showSolt: true ,width: 84}, { label: "相似度", prop: "xsd", showSolt: true },
{ label: "活动发生地", prop: "yjDz" }, { label: "所属部门", prop: "ssbm", showOverflowTooltip: true },
{ label: "接收单位", prop: "ssbm" },
{ label: "预警次数", prop: "yjCs" ,width: 84 },
] ]
}); });
@ -277,24 +293,31 @@ const handleChooseData = (val) => {
} }
const exportExl = () => { const exportExl = () => {
const titleObj = { const titleObj = {
yjRyxm: "预警人员姓名", czzt_cname: "处置状态",
yjRysfzh: "预警人员身份证号码", yjSj: "预警时间",
yjbqmc: "预警标签", yjRyxm: "姓名",
yjJrcs: "今日预警次数", nl_cname: "年龄", // IdCard(row.yjRysfzh, 3)
yjJb_name: "标签颜色", yjLylx: "数据来源",
yjNr: "预警内容", xb_cname: "性别",
yjFssj: "预警时间", yjJb_cname: "预警级别",
czzt_name: "处置状态", xsd_cname: "相似度",
ssxgaj: "所属县局", yjDz: "预警地点",
ssbm: "处置单位", yjCs: "预警次数",
yjRysjh: "布控手机号",
yjClcph: "布控车牌号",
yjRysfzh: "身份证",
} }
/** 导出【选中】的数据 (没有就全部)*/ /** 导出【选中】的数据 (没有就全部)*/
const needArr = selectRows.value?.length > 0 ? selectRows.value : pageData.tableData const needArr = selectRows.value?.length > 0 ? selectRows.value : pageData.tableData
const data = needArr.map(item => { const data = needArr.map(item => {
return { return {
...item, ...item,
nl_cname: IdCard(item.yjRysfzh, 3),
xb_cname: IdCard(item.yjRysfzh, 2),
xsd_cname: (item.xsd > 0 ? item.xsd : 0) + '%',
yjJb_name: getMultiDictVal(item.yjJb, D_GS_SSYJ), yjJb_name: getMultiDictVal(item.yjJb, D_GS_SSYJ),
czzt_name: getMultiDictVal(item.czzt, D_GSXT_YJXX_CZZT), czzt_name: getMultiDictVal(item.czzt, D_GSXT_YJXX_CZZT),
yjJb_cname: getMultiDictVal(item.yjJb, D_BZ_YJJB),
} }
}) })
exportExlByObj(titleObj, data, '预警布控') exportExlByObj(titleObj, data, '预警布控')

View File

@ -234,7 +234,7 @@ const getList = () => {
pageData.tableData = res.records.map(item => { pageData.tableData = res.records.map(item => {
return { return {
...item, ...item,
yjTp: item.yjlx == '01' ? item.yjTpreplace(ORDIMG, IMGYM) : item.yjTp yjTp: item.yjlx == '01' ? item.yjTp.replace(ORDIMG, IMGYM) : item.yjTp
} }
}) || []; }) || [];
pageData.total = res.total; pageData.total = res.total;

View File

@ -104,17 +104,13 @@
</template> </template>
<script setup> <script setup>
import { qcckGet } from "@/api/qcckApi.js"
import FlowLine from './flowLine.vue' import FlowLine from './flowLine.vue'
import { getItem } from "@/utils/storage"; import { getItem } from "@/utils/storage";
import { timeValidate, weekValidate } from "@/utils/tools.js"; import { timeValidate, weekValidate } from "@/utils/tools.js";
import { useRouter, useRoute, onBeforeRouteLeave } from "vue-router"; import { useRouter, useRoute, onBeforeRouteLeave } from "vue-router";
import { useStore } from "vuex"; import { useStore } from "vuex";
import { getUserIsRed } from "@/api/sys.js" import { getUserIsRed } from "@/api/sys.js"
import xinxi from "@/assets/images/icon_045.png";
import tool from "@/assets/images/icon_044.png";
const icon1 = require("@/assets/images/icon_048.png"); //晴天 const icon1 = require("@/assets/images/icon_048.png"); //晴天
const icon2 = require("@/assets/images/icon_049.png"); //小雨 const icon2 = require("@/assets/images/icon_049.png"); //小雨
const icon3 = require("@/assets/images/icon_050.png"); //高温 const icon3 = require("@/assets/images/icon_050.png"); //高温
@ -146,19 +142,17 @@ const wekendays = ref([
const isShowVisble = ref(false); const isShowVisble = ref(false);
const store = useStore(); const store = useStore();
const router = useRouter(); const router = useRouter();
const route = useRoute();
const btns = reactive({ const btns = reactive({
rightBtn: ["实战支撑", "安全监控"], rightBtn: ["实战支撑", "安全监控"],
leftBtn: ["数据整合", '分析研判'], leftBtn: ["数据整合", '分析研判'],
moreBtn: [ moreBtn: [
{ name: '后台', img: require('@/assets/images/Group427322486.png') }, { name: '后台', img: require('@/assets/images/Group427322486.png') },
{ name: '退出登录', img: require('@/assets/images/Group427322485.png') }] { name: '权限申请', img: require('@/assets/images/Group427322486.png') },
{ name: '退出登录', img: require('@/assets/images/Group427322485.png') }
]
}); });
const btnsActive = ref(""); const btnsActive = ref("");
const showMore = ref(false); //更多 const showMore = ref(false); //更多
const activeText = ref("");
const day = ref(0); const day = ref(0);
const minute = ref("00"); //分 const minute = ref("00"); //分
const second = ref("00"); //秒 const second = ref("00"); //秒
@ -201,6 +195,9 @@ const handleBtns = (val) => {
case "退出登录": case "退出登录":
store.dispatch("user/logout"); store.dispatch("user/logout");
break; break;
case "权限申请":
router.push("/permissionApply");
break;
} }
}; };