diff --git a/src/utils/tools.js b/src/utils/tools.js index cc9aaae..43a91bb 100644 --- a/src/utils/tools.js +++ b/src/utils/tools.js @@ -374,3 +374,10 @@ export const bqYs = (val) => { return '#0000ff' } } +/** 全息档案跳转 + * @param {string} szhm 身证号 + */ +export function holographicProfileJump(szhm) { + if (!szhm) return + window.open(`https://tyyy.lz.dsj.xz/profile/people/person-manage?szhm=${szhm}&from=portal`) +} diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue index 6b256fb..36d281c 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue @@ -73,6 +73,8 @@ import emitter from "@/utils/eventBus.js"; import FkDialog from "@/views/backOfficeSystem/fourColorManage/warningControl/centerHome/components/fkDialog.vue"; import { reactive, ref, onMounted, getCurrentInstance, computed, watch,nextTick } from "vue"; import AddFrom from './components/addFrom.vue' +import { holographicProfileJump } from "@/utils/tools.js" + const { proxy } = getCurrentInstance(); const { D_GS_SSYJ ,D_GSXT_YJXX_CZZT} = proxy.$dict("D_GS_SSYJ","D_GSXT_YJXX_CZZT"); //获取字典数据 const searchBox = ref(); //搜索框 @@ -209,8 +211,9 @@ const bqYs = (val) => { const assessShow = ref(false) const dataList = ref() const pushAssess = (val) => { - assessShow.value = true; - dataList.value = val; + return holographicProfileJump(val?.rysfzh) // 全息档案跳转 + // assessShow.value = true; + // dataList.value = val; } diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/components/yjItem.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/components/yjItem.vue index 74f2d28..8e791af 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/components/yjItem.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/components/yjItem.vue @@ -23,6 +23,7 @@
全息档案 + 全息档案
@@ -100,6 +101,8 @@ import { qcckGet, qcckPost } from "@/api/qcckApi.js"; import { IdCard } from '@/utils/validate.js' import HistoricalRoute from './historicalRoute.vue' import { defineProps, ref, reactive, getCurrentInstance, onMounted, watch } from "vue"; +import { holographicProfileJump } from "@/utils/tools.js" + const { proxy } = getCurrentInstance(); const props = defineProps({ item: { @@ -147,7 +150,11 @@ const handleQsFk = (val, type) => { break; } } - +const pushAssess = (val) => { + return holographicProfileJump(props.item?.yjRysfzh) // 全息档案跳转 + // assessShow.value = true; + // dataList.value = val; +} // 切换背景 const changeBg = (type) => { switch (type) { diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/combinedWarning/index.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/combinedWarning/index.vue index 5050670..0bb7cfd 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/combinedWarning/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/combinedWarning/index.vue @@ -73,6 +73,8 @@ import emitter from "@/utils/eventBus.js"; const searchBox = ref(); const { proxy } = getCurrentInstance(); const { D_GSXT_YJXX_CZZT } = proxy.$dict("D_GSXT_YJXX_CZZT") +import { holographicProfileJump } from "@/utils/tools.js" + // 搜索配置 const searchConfiger = ref([ { label: "姓名", prop: 'xm', placeholder: "请输入姓名", showType: "input" }, @@ -184,8 +186,9 @@ const handleClick = (row) => { const assessShow = ref(false) const dataList = ref() const pushAssess = (val) => { - assessShow.value = true; - dataList.value = val; + return holographicProfileJump(val?.rysfzh) // 全息档案跳转 + // assessShow.value = true; + // dataList.value = val; } diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/fouColorWarning/index.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/fouColorWarning/index.vue index 4cafff5..05b504e 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/fouColorWarning/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/fouColorWarning/index.vue @@ -69,6 +69,7 @@ import { reactive, ref, onMounted, getCurrentInstance, computed, watch } from "v const { proxy } = getCurrentInstance(); const { D_BZ_YJJB, D_GS_ZDQT_YJLB, D_BZ_YJLX } = proxy.$dict("D_BZ_YJJB", "D_GS_ZDQT_YJLB", "D_BZ_YJLX"); //获取字典数据 const searchBox = ref(); //搜索框 +import { holographicProfileJump } from "@/utils/tools.js" const searchConfiger = ref( [ @@ -169,8 +170,9 @@ const bqYs = (val) => { const assessShow = ref(false) const dataList = ref() const pushAssess = (val) => { - assessShow.value = true; - dataList.value = val; + return holographicProfileJump(val?.rysfzh) // 全息档案跳转 + // assessShow.value = true; + // dataList.value = val; } diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/identityWarning/index.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/identityWarning/index.vue index 00d7679..78c93de 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/identityWarning/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/identityWarning/index.vue @@ -84,6 +84,8 @@ import { tbGsxtBqglSelectList } from '@/api/zdr' import Detail from './components/detail.vue' import { watch } from "vue"; import emitter from "@/utils/eventBus.js"; +import { holographicProfileJump } from "@/utils/tools.js" + const { proxy } = getCurrentInstance(); const searchBox = ref(); const {D_GSXT_YJXX_CZZT,D_GS_SSYJ} = proxy.$dict("D_GSXT_YJXX_CZZT","D_GS_SSYJ") @@ -227,8 +229,9 @@ const handleQsFk = (val, type) => { const assessShow = ref(false) const dataList = ref() const pushAssess = (val) => { - assessShow.value = true; - dataList.value = val; + return holographicProfileJump(val?.rysfzh) // 全息档案跳转 + // assessShow.value = true; + // dataList.value = val; } // 发送指令 diff --git a/src/views/backOfficeSystem/fourColorManage/warningList/components/localWarning.vue b/src/views/backOfficeSystem/fourColorManage/warningList/components/localWarning.vue index 9d7bc78..5fbbf26 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningList/components/localWarning.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningList/components/localWarning.vue @@ -81,6 +81,7 @@ import Information from "@/views/home/model/information.vue"; import SemdFqzl from '@/components/instructionHasBeen/sendFqzl.vue' import FkDialog from "@/views/backOfficeSystem/fourColorManage/warningControl/centerHome/components/fkDialog.vue"; import emitter from "@/utils/eventBus.js"; +import { holographicProfileJump } from "@/utils/tools.js" import { qcckGet, qcckPost } from "@/api/qcckApi.js"; import { reactive, ref, onMounted, getCurrentInstance } from "vue"; @@ -175,8 +176,9 @@ const getList = (val) => { const assessShow = ref(false) const dataList = ref() const pushAssess = (val) => { - assessShow.value = true; - dataList.value = val; + return holographicProfileJump(val?.rysfzh) // 全息档案跳转 + // assessShow.value = true; + // dataList.value = val; } // 处理签收 const handleQsFk = (val, type) => { diff --git a/src/views/home/components/deployControlItem.vue b/src/views/home/components/deployControlItem.vue index f60b345..25f23dc 100644 --- a/src/views/home/components/deployControlItem.vue +++ b/src/views/home/components/deployControlItem.vue @@ -69,6 +69,8 @@ import { reactive, ref, getCurrentInstance, watch } from "vue"; import { qcckGet, qcckPost } from "@/api/qcckApi.js"; import HolographicArchive from './holographicArchive.vue' import WarningAssignment from './warningAssignment.vue' +import { holographicProfileJump } from "@/utils/tools.js" + const { proxy } = getCurrentInstance(); const props = defineProps({ @@ -142,8 +144,9 @@ const showDetail = (item) => { const assessShow = ref(false) const dataList = ref() const pushAssess = (val) => { - assessShow.value = true; - dataList.value = val; + return holographicProfileJump(val?.rysfzh) // 全息档案跳转 + // assessShow.value = true; + // dataList.value = val; } // 预警指派 const warningShow = ref(false)