修改首页隐藏以及一些功能

This commit is contained in:
lxd 2025-04-09 15:29:58 +08:00
parent 68a2076b4c
commit 856805719a
6 changed files with 19 additions and 16 deletions
public/static/dicom/js
src
layout/components/TagsView/src
main.ts
router/modules
views
Login/components
dicomPathologyForm

View File

@ -248,8 +248,8 @@ function screenshotTool() {
$.ajax({ $.ajax({
type: 'POST', type: 'POST',
contentType: 'application/json', contentType: 'application/json',
url: 'https://zzxmc.gw12320.com/admin/admin-api/ultrasoniccom/ultrasonic/ftpimage', url: 'https://pacs.gw12320.com/adminbl/admin-api/ultrasoniccom/ultrasonic/ftpimage',
data: JSON.stringify({ id: window.localStorage.regid_pathology, orgId: window.localStorage.orgId_pathology, imagebase: imageDataUrl, imgType: '3',model:'0',folderPath:'/www/dk_project/dk_app/ftppacs/video/'+window.localStorage.regid_pathology }), data: JSON.stringify({ id: window.localStorage.regid_pathology, orgId: window.localStorage.orgId_pathology, imagebase: imageDataUrl, imgType: '3',model:'0',folderPath:'D:/FLYPACS/ftp/'+window.localStorage.regid_pathology }),
success: function (data, textStatus, jqXHR) { success: function (data, textStatus, jqXHR) {
alert('添加成功,请刷新报告单中的图片'); alert('添加成功,请刷新报告单中的图片');
} }

View File

@ -117,7 +117,7 @@ const toLastView = () => {
return return
} }
// TODO: You can set another route // TODO: You can set another route
push('/') push('/diagnosis/patientexamlistPathology')//
} }
} }

View File

@ -40,8 +40,7 @@ import '@/plugins/tongji' // 百度统计
import Logger from '@/utils/Logger' import Logger from '@/utils/Logger'
import VueDOMPurifyHTML from 'vue-dompurify-html' // 解决v-html 的安全隐患 import VueDOMPurifyHTML from 'vue-dompurify-html' // 解决v-html 的安全隐患
import print from "vue3-print-nb";//打印的 import print from "vue3-print-nb";//打印的
import vue3videoPlay from 'vue3-video-play' // 引入组件
import 'vue3-video-play/dist/style.css' // 引入css
import * as ElementPlusIconsVue from '@element-plus/icons-vue' import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// 创建实例 // 创建实例
@ -65,7 +64,6 @@ const setupAll = async () => {
setupAuth(app) setupAuth(app)
await router.isReady() await router.isReady()
app.use(vue3videoPlay)
app.use(VueDOMPurifyHTML) app.use(VueDOMPurifyHTML)
app.use(print); app.use(print);

View File

@ -51,21 +51,25 @@ const remainingRouter: AppRouteRecordRaw[] = [
} }
}, },
{ {
path: '/', path: '/',
component: Layout, component: Layout,
redirect: '/index', redirect: '/diagnosis/patientexamlistPathology',
name: 'Home', name: 'Home',
meta: {}, meta: {
hidden: true, // 确保父路由也设置 hidden 为 true
noTagsView: true
},
children: [ children: [
{ {
path: 'index', path: '/diagnosis/patientexamlistPathology',
component: () => import('@/views/Home/Index.vue'), component: () => import('@/views/tblist/patientexamlistPathology/index.vue'),
name: 'Index', name: '/diagnosis/patientexamlistPathology',
meta: { meta: {
title: t('router.home'), title: '病理工作站',
icon: 'ep:home-filled', icon: 'ep:home-filled',
noCache: false, noCache: false,
affix: true affix: true,
hidden: true//李晓东 是否显示在左侧 李晓东 true
} }
} }
] ]

View File

@ -268,7 +268,7 @@ const handleLogin = async (params) => {
} }
authUtil.setToken(res) authUtil.setToken(res)
if (!redirect.value) { if (!redirect.value) {
redirect.value = '/' redirect.value = '/diagnosis/patientexamlistPathology'
} }
// SSO // SSO
if (redirect.value.indexOf('sso') !== -1) { if (redirect.value.indexOf('sso') !== -1) {

View File

@ -748,7 +748,8 @@ const iframeData = async () => {
localStorage.setItem('regid_pathology', regId.value) localStorage.setItem('regid_pathology', regId.value)
localStorage.removeItem('orgId_pathology') localStorage.removeItem('orgId_pathology')
localStorage.setItem('orgId_pathology', orgId.value) localStorage.setItem('orgId_pathology', orgId.value)
const Src = `/bl/static/dicom/dicomViewPc1.html?method=PathologyView&t=${new Date().getTime()}` // /bl
const Src = `/static/dicom/dicomViewPc1.html?method=PathologyView&t=${new Date().getTime()}`
newSrc.value = Src newSrc.value = Src
} else { } else {
// statussuccess // statussuccess