From 268c9109d0539b17d8638d728617f9e1b0786217 Mon Sep 17 00:00:00 2001 From: limengnan <420004014@qq.com> Date: Wed, 10 Dec 2025 18:28:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../renderer/src/assets/header/closepage.png | Bin 0 -> 1680 bytes .../src/renderer/src/assets/license/tab1.png | Bin 438 -> 563 bytes .../renderer/src/assets/license/tab1_1.png | Bin 564 -> 540 bytes .../src/renderer/src/assets/license/tab2.png | Bin 759 -> 733 bytes .../renderer/src/assets/license/tab2_1.png | Bin 987 -> 706 bytes .../renderer/src/assets/license/upload.png | Bin 1137 -> 858 bytes frontend/src/renderer/src/views/Dashboard.vue | 281 ++++++++++++++---- frontend/src/renderer/src/views/Detection.vue | 4 +- .../renderer/src/views/DiagnosticMessage.vue | 2 +- .../src/renderer/src/views/GenerateReport.vue | 2 +- frontend/src/renderer/src/views/Header.vue | 164 +++++++++- frontend/src/renderer/src/views/License.vue | 64 +--- .../src/renderer/src/views/PatientCreate.vue | 18 +- .../src/renderer/src/views/PatientProfile.vue | 4 +- .../renderer/src/views/PopUpOnlyReport.vue | 1 + frontend/src/renderer/src/views/ViewUser.vue | 2 +- frontend/src/renderer/src/views/viewPDF.vue | 2 +- 17 files changed, 409 insertions(+), 135 deletions(-) create mode 100644 frontend/src/renderer/src/assets/header/closepage.png diff --git a/frontend/src/renderer/src/assets/header/closepage.png b/frontend/src/renderer/src/assets/header/closepage.png new file mode 100644 index 0000000000000000000000000000000000000000..7db78772e47941046060cf45aa682e92f1ab6d83 GIT binary patch literal 1680 zcmbVNe{9rL9PdP@3^x;p1Ywg>a6z~JT(@02Iv96zcZ+w7ab`0kj$ZrjuI{caZMVA( zlgThq5`knyMR5z6Mnx`4G8H#9ZidW=0hgdrFbs(ae;|4po09}kUvGC8FjFE;Uf+9t zpZEFx{&rWRuR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$Pl>iccoB+zd8)#1|}7CZ;vrhJPSJpHYYhVQGAyZr;$tHeM~Jjo^v`Svf-k4=LgT=0%OdUE)!`ua0;74 zT_r*|H|_j&Tz?{*n^MtnS<&@G20@?kX1hfQ@8Gix*004Yz+OPls010qNS#tmY4#WTe4#WYKD-Ig~00HJnL_t(& zf$f^jO59Ks$N%R#opfR|I@ZjjRq-Q=aZ%_(=tFex+BflG-1-9g1a1Tu#YL9|2PGyN z9lu85bTN}JJ80uv2!Zpva5=dNH-8R?e{$i_kL{gbn_Cdx;(z<$ZsRrt7@!w3ff%g1 zi<@POtOmco{p4DWKm-to2uVB`s@Lq4EwUQiP0rjmS_}rj$v}Fo`o?70A}d4GnkW1_ zhLx$xmRBW0+hs7PHJOVgl?Aw-p6gA0rA$R;V@YK(LVE?NU*={>WidkA&3w6$#w4jM z$i3MLX5GXiIe+m>7OyPMrM)6vsfW;ZpC>+uS8Cw7W(3Zc!+s*u2VlYc8-^11C zrAM=wKkY~=-;3Yz;uE-d<#>d)J8(&eSB^=~YTsBL@k%{hI2+=XdI;LCc%>ft#;42K zW${Wq_>L!DsfVDw3ZcMwB z@k%{B)lCqT@o-bNlFDO6XUtHmC;Me9sXTLkj)*X^v9#8_>fT!RQ{60EQuVN+?%K&g zGdcyM)-a5ZcjwOW9@DV7jpBBOV diff --git a/frontend/src/renderer/src/assets/license/tab2.png b/frontend/src/renderer/src/assets/license/tab2.png index 476287d6be06d72845eb2fc92f1129e0c99afce1..027e018a5dce2c7c3c843292e99598436f8a1aec 100644 GIT binary patch delta 720 zcmV;>0x$jd1>FUZ8Gi-<008p|P3Hgr00DDSM?wIu&K&6g000DMK}|sb0I`n?{9y$E z000SaNLh0L01m?d01m?e$8V@)0007VNkl4f25C`y?cPCf`u?S)jO(PO4 z_dyz=M8G4G$6hM1(F`T6R*2n_l{d700NAr`+vSnbDNU|7w92H95m&Jlw5G8 zkM2%KJKQP(2yiBvxiQLZCKp_?8gIHggx=`{apQ8Y#pXqBGx<^J5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y!(J~Lk=7es{sGViZjDb3kH$t8?^`io! z3%D|KMsMmPi|-j7SjN%LWe^V4o-|)j-d;Sr?QC|RA#_oNnV-At- zD`lwmrqlv3Qn$zI?G+vZn9({TlozVpzorj!4~=Bt_;gaKZ8n}%ZoYO**LfwJQfo>r zJ1T&V?iO9hT;tKsm1L*&vLIiZ=J=NWvce;uLY+@<>93l6Y%`gXoTiL%sR`L*9Myp0 zxhDF$K3>&-JXiZu)jr1>fC|Pn^K{cZj9#YLBdZf5ZM=}Nb0>N3+m-qCOVQD*Svfs&_c%SadmRk&sR@JmNEZ##)Z+I z&-H&`oX>R$#tS@{&vkjmkHgQiXR50&CmnaAy;^=AuX67!ZhJvDy(mxX%Siyhs_DsY zt%OFMd-m4<=1Psv>fDoCXeg&g0KKih8LOQMU4KKPHu&UZJVJ-kM) z*}t{`iVd?H)ywAS!cRKdNuphq%~3AQ(S?#zx;*$7zRzt^WZSIY00000NkvXXu0mjf D5*sYd diff --git a/frontend/src/renderer/src/views/Dashboard.vue b/frontend/src/renderer/src/views/Dashboard.vue index 6d66bc4f..4102c4c6 100644 --- a/frontend/src/renderer/src/views/Dashboard.vue +++ b/frontend/src/renderer/src/views/Dashboard.vue @@ -17,7 +17,7 @@
- 新建患者档案 + 新建患者档案
@@ -40,7 +40,8 @@ @@ -222,6 +223,22 @@ :archiveType="false" :selectedPatient="selectedPatient" @closePatientProfile="closePatientProfile"/> +
+
+
+
{{ tipTitle }}
+ +
+
{{ tipValue }}
+
+
取消
+ 确定 +
+
+ 确定 +
+
+
@@ -236,11 +253,17 @@ import PatientCreate from '@/views/PatientCreate.vue' import Detection from '@/views/Detection.vue' import PatientProfile from '@/views/PatientProfile.vue' const router = useRouter() +const isTip = ref(false) // 显示提示框 + const authStore = useAuthStore() const isDetection = ref(false) // 显示检查页面 const isPatientProfile =ref(false) const patienttype = ref('add') const patienttotal = ref(0) +const tipValue = ref('确定删除该条患者信息吗?') // 提示框内容 +const tipTitle =ref('提示') // 提示框标题 +const tipType = ref('删除') // 提示框类型 +const deleteId = ref('') // 响应式数据 const activeNav = ref('detection') const searchKeyword = ref('') @@ -269,6 +292,28 @@ const patientForm = ref({ email: '' }) const calculatedAge = ref('') +function delRowClick(id){ + tipType.value = '删除' + tipTitle.value = '删除提示' + tipValue.value = '确定删除该条患者信息吗?' + deleteId.value = id + isTip.value = true +} + +function tipConfirm(){ + delClick(deleteId.value) + isTip.value = false +} +function tipCancel(){ + isTip.value = false +} +function tipLogin(){ + tipType.value = '退出登录' + tipTitle.value = '提出提示' + tipValue.value = '确定要退出登录吗?' + handleLogout() + isTip.value = false +} // 实现年龄计算方法 calculateAgeres const calculateAgeres = (date) => { if (!date) return '0' @@ -320,29 +365,23 @@ const createNewPatient = async () => { return } const msg ='['+ (response && response.data && response.data.message)+'],软件使用授权不正确,您不能创建新患者!' - await ElMessageBox.alert(msg, '软件授权', { - confirmButtonText: '确定', - type: 'warning' - }) + // await ElMessageBox.alert(msg, '软件授权', { + // confirmButtonText: '确定', + // type: 'warning' + // }) + tipType.value = '授权' + tipTitle.value = '软件授权' + tipValue.value = msg + isTip.value = true } catch (error) { - await ElMessageBox.alert('无法获取授权信息,请检查后端服务是否启动或授权状态是否有效。', '错误', { - confirmButtonText: '确定', - type: 'error' - }) - } -} - -const handleUserCommand = (command) => { - switch (command) { - case 'profile': - // 个人信息 - break - case 'settings': - // 系统设置 - break - case 'logout': - handleLogout() - break + tipType.value = '授权' + tipTitle.value = '错误' + tipValue.value = '无法获取授权信息,请检查后端服务是否启动或授权状态是否有效。' + isTip.value = true + // await ElMessageBox.alert('无法获取授权信息,请检查后端服务是否启动或授权状态是否有效。', '错误', { + // confirmButtonText: '确定', + // type: 'error' + // }) } } @@ -442,36 +481,27 @@ onMounted(() => { // 加载患者列表 loadPatients() }) -function delClick(id) { - ElMessageBox.confirm('确定删除该条患者信息吗?', '删除提示', { - confirmButtonText: '确定', - cancelButtonText: '取消', - type: 'warning', - }) - .then(async () => { - try { - const response = await patientAPI.deletePatient(id); - if (response.success) { - ElMessage({ - type: 'success', - message: '删除成功', - }); - loadPatients() - } else { - ElMessage({ - type: 'error', - message: response.message || '删除失败', - }); - } - } catch (error) { - ElMessage({ - type: 'error', - message: '删除患者信息失败,请稍后重试', - }); - } - }) - .catch(() => { +async function delClick(id) { + try { + const response = await patientAPI.deletePatient(id); + if (response.success) { + ElMessage({ + type: 'success', + message: '删除成功', + }); + loadPatients() + } else { + ElMessage({ + type: 'error', + message: response.message || '删除失败', + }); + } + } catch (error) { + ElMessage({ + type: 'error', + message: '删除患者信息失败,请稍后重试', }); + } } const isCloseCreat = ref(false) function closecreatbox(e,e2){ @@ -1308,4 +1338,149 @@ function editClick(){ display: flex; justify-content: space-between; } + + + +.homepop-up-mask.pop-up-mask{ + position: fixed; + z-index: 199; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + background: rgba(0, 0, 0, 0.4); +} + +.homepop-up-mask .pop-up-tip-container { + width: 500px; + height:220px; + position: absolute; + top: 0; + right: 0; + left: 0; + bottom: 0; + margin: auto; + border-radius: 10px; + background: linear-gradient(135deg, rgba(53, 67, 90, 1) 0%, rgba(53, 67, 90, 1) 0%, rgba(62, 79, 105, 1) 99%, rgba(62, 79, 105, 1) 100%); +} +.homepop-up-mask .pop-up-camera-container{ + width: 608px; + height:495px; + position: absolute; + top: 0; + right: 0; + left: 0; + bottom: 0; + margin: auto; + background: linear-gradient(135deg, rgb(53, 67, 90) 0%, rgb(53, 67, 90) 0%, rgb(62, 79, 105) 99%, rgb(62, 79, 105) 100%); + border-radius: 10px; + box-shadow: rgb(17, 24, 33) 0px 0px 10px; +} +.homepop-up-mask .pop-up-camera-header{ + width: 100%; + height: 60px; + display: flex; + align-items: center; + justify-content: space-between; + box-sizing: border-box; + padding: 0 40px; + font-family: 'Noto Sans SC'; + font-weight: 700; + font-style: normal; + font-size: 20px; + color: #FFFFFF; + text-align: left; + border-radius:10px 10px 0 0; +} + +.homepop-up-mask .pop-up-tip-header{ + width: 100%; + height: 60px; + display: flex; + align-items: center; + justify-content: space-between; + box-sizing: border-box; + padding: 0 30px; + font-family: 'Noto Sans SC'; + font-weight: 700; + font-style: normal; + font-size: 20px; + color: #FFFFFF; + text-align: left; +} +.homepop-up-mask .tipconfirmbutton-box{ + width:100%; + display:flex; + align-items: center; + justify-content: flex-end; + padding: 0 30px; + padding-top: 10px; +} +.homepop-up-mask .tipconfirmbutton{ + font-weight: 400; + font-style: normal; + font-size: 14px; + color: rgb(255, 255, 255); + background:#0b94d5; + border:1px solid #0b94d5; + width: 80px; + height: 40px; +} +.homepop-up-mask .tipconfirmbutton:hover{ + background:#14aaff; + border:1px solid #14aaff; +} + +.homepop-up-mask .pop-up-tip-text{ + width:100%; + font-weight: 400; + font-style: normal; + font-size: 16px; + color: #FFFFFF; + text-align: left; + height: 80px; + box-sizing: border-box; + padding-left: 30px; + padding-right: 30px; + padding-top:20px ; + /* padding:20px 10px 30px; */ +} + +.homepop-up-mask .pop-up-tip-cancelbutton{ + width: 80px; + height: 40px; + background-color: #597194; + border-radius: 4px; + color: rgba(255, 255, 255, 0.6); + font-weight: 400; + font-style: normal; + font-size: 16px; + display: flex; + align-items: center; + justify-content: center; + margin-right: 20px; + cursor: pointer; +} +.homepop-up-mask .pop-up-tip-cancelbutton:hover{ + background-color: #14aaff; + color: #fff; +} +.patientprofile-container-info .el-select__placeholder{ + color: #fff; +} +.tabledel{ + font-family: 'Noto Sans SC'; + font-weight: 400; + font-style: normal; + font-size: 16px; + color: #FF3300; + text-align: center; + cursor: pointer; +} +.current-row .unprocessed-status{ + color: #e9775b; +} +.current-row .processed-status{ + color: rgb(59, 242, 198); +} diff --git a/frontend/src/renderer/src/views/Detection.vue b/frontend/src/renderer/src/views/Detection.vue index 02842cfa..16d0ec41 100644 --- a/frontend/src/renderer/src/views/Detection.vue +++ b/frontend/src/renderer/src/views/Detection.vue @@ -364,7 +364,7 @@
提示
- +
本次检测未截图或录像操作,不予存档记录!
@@ -387,7 +387,7 @@
相机参数设置
- +
diff --git a/frontend/src/renderer/src/views/DiagnosticMessage.vue b/frontend/src/renderer/src/views/DiagnosticMessage.vue index 78b0d6df..e3c9c144 100644 --- a/frontend/src/renderer/src/views/DiagnosticMessage.vue +++ b/frontend/src/renderer/src/views/DiagnosticMessage.vue @@ -4,7 +4,7 @@
诊断信息
- +
diff --git a/frontend/src/renderer/src/views/GenerateReport.vue b/frontend/src/renderer/src/views/GenerateReport.vue index d64268fe..c4a13c5e 100644 --- a/frontend/src/renderer/src/views/GenerateReport.vue +++ b/frontend/src/renderer/src/views/GenerateReport.vue @@ -6,7 +6,7 @@
取消
确定
- +
diff --git a/frontend/src/renderer/src/views/Header.vue b/frontend/src/renderer/src/views/Header.vue index 68587443..e382cdbc 100644 --- a/frontend/src/renderer/src/views/Header.vue +++ b/frontend/src/renderer/src/views/Header.vue @@ -21,7 +21,7 @@ Avatar {{ userInfo.name }}
- 退出登录 + 退出登录
@@ -44,10 +44,20 @@
- +
+
+
+
退出提示
+ +
+
确定要退出登录吗?
+ +
+
取消
+ 确定 +
+
+
@@ -59,7 +69,7 @@ import api from '../services/api.js' import License from '@/views/License.vue' const isLicense = ref(false) - + const isTip = ref(false) // 显示提示框 const router = useRouter() const authStore = useAuthStore() @@ -103,12 +113,6 @@ } const handleLogout = async () => { try { - await ElMessageBox.confirm('确定要退出登录吗?', '提示', { - confirmButtonText: '确定', - cancelButtonText: '取消', - type: 'warning' - }) - // 调用认证状态管理的logout方法清除所有认证信息 await authStore.logout() ElMessage.success('已退出登录') @@ -178,6 +182,14 @@ // router.push('/license') isLicense.value = true } + +function tipCancel(){ + isTip.value = false +} +function tipLogin(){ + handleLogout() + isTip.value = false +} diff --git a/frontend/src/renderer/src/views/License.vue b/frontend/src/renderer/src/views/License.vue index 90980cd6..808923bb 100644 --- a/frontend/src/renderer/src/views/License.vue +++ b/frontend/src/renderer/src/views/License.vue @@ -2,7 +2,7 @@
授权中心
- +
@@ -86,53 +86,7 @@ @click="activatePackage" :loading="activating">激活授权文件
-
- - -
@@ -277,7 +231,7 @@ const activatePackage = async () => { left: 0; bottom: 0; margin: auto; - background: #465367; + background: #394860; border-radius: 10px; box-shadow: 0px 0px 16px rgba(17, 24, 33, 1); color: #fff; @@ -369,9 +323,11 @@ const activatePackage = async () => { color: rgba(255, 255, 255, 0.6); } .tab-content .formreturnCancel:hover{ - background: #425b89; - color: #266fff; - border: 1px solid #266fff; + background-color: #14aaff; + color: #fff; + /* background: #425b89; + color: #266fff; */ + border: 1px solid #14aaff; } .tab-content .formsaveCancel{ width: 80px; @@ -385,8 +341,10 @@ const activatePackage = async () => { } .tab-content .formsaveCancel:hover{ - background: #5189ff; - border: 1px solid #5189ff; + /* background: #5189ff; + border: 1px solid #5189ff; */ + background:#14aaff; + border:1px solid #14aaff; } .license-container .form-container-header{ diff --git a/frontend/src/renderer/src/views/PatientCreate.vue b/frontend/src/renderer/src/views/PatientCreate.vue index f2f69771..6809700f 100644 --- a/frontend/src/renderer/src/views/PatientCreate.vue +++ b/frontend/src/renderer/src/views/PatientCreate.vue @@ -4,7 +4,7 @@
{{ patienttitle }}
- +
@@ -409,7 +409,7 @@ const handleSave = async () => { left: 0; bottom: 0; margin: auto; - background: #465367; + background: linear-gradient(135deg, rgba(53, 67, 90, 1) 0%, rgba(53, 67, 90, 1) 0%, rgba(62, 79, 105, 1) 99%, rgba(62, 79, 105, 1) 100%); border-radius: 10px; box-shadow: 0px 0px 16px rgba(17, 24, 33, 1); } @@ -651,8 +651,8 @@ const handleSave = async () => { .formreturnCancel{ width: 80px; height: 40px; - background: rgba(89, 113, 148, 1); - border: 1px solid rgba(89, 113, 148, 1); + background: #597194; + border: 1px solid #597194; font-family: 'Noto Sans SC'; font-weight: 400; font-style: normal; @@ -660,9 +660,9 @@ const handleSave = async () => { color: rgba(255, 255, 255, 0.6); } .formreturnCancel:hover{ - background: #425b89; - color: #266fff; - border: 1px solid #266fff; + background-color: #14aaff; + color: #fff; + border: 1px solid #14aaff; } .formsaveCancel{ width: 80px; @@ -676,8 +676,8 @@ const handleSave = async () => { } .formsaveCancel:hover{ - background: #5189ff; - border: 1px solid #5189ff; + background: #14aaff; + border: 1px solid #14aaff; } .el-date-editor.el-input{ diff --git a/frontend/src/renderer/src/views/PatientProfile.vue b/frontend/src/renderer/src/views/PatientProfile.vue index 9dd8fdbb..b6cd6c5f 100644 --- a/frontend/src/renderer/src/views/PatientProfile.vue +++ b/frontend/src/renderer/src/views/PatientProfile.vue @@ -8,7 +8,7 @@
{{ calculateAge(selectedPatient.birth_date) }}岁
- +
@@ -293,7 +293,7 @@
提示
- +
{{ tipValue }}
diff --git a/frontend/src/renderer/src/views/PopUpOnlyReport.vue b/frontend/src/renderer/src/views/PopUpOnlyReport.vue index 7192bfea..a7b3256e 100644 --- a/frontend/src/renderer/src/views/PopUpOnlyReport.vue +++ b/frontend/src/renderer/src/views/PopUpOnlyReport.vue @@ -130,6 +130,7 @@