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

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({
type: 'POST',
contentType: 'application/json',
url: 'https://zzxmc.gw12320.com/admin/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 }),
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:'D:/FLYPACS/ftp/'+window.localStorage.regid_pathology }),
success: function (data, textStatus, jqXHR) {
alert('添加成功,请刷新报告单中的图片');
}

View File

@ -117,7 +117,7 @@ const toLastView = () => {
return
}
// 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 VueDOMPurifyHTML from 'vue-dompurify-html' // 解决v-html 的安全隐患
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'
// 创建实例
@ -65,7 +64,6 @@ const setupAll = async () => {
setupAuth(app)
await router.isReady()
app.use(vue3videoPlay)
app.use(VueDOMPurifyHTML)
app.use(print);

View File

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

View File

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

View File

@ -748,7 +748,8 @@ const iframeData = async () => {
localStorage.setItem('regid_pathology', regId.value)
localStorage.removeItem('orgId_pathology')
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
} else {
// statussuccess