From 1fa81f8c3c68b14e08554637eda80679f90b46ee Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期四, 23 七月 2026 14:40:43 +0800
Subject: [PATCH] 新增停止
---
src/views/ecg/room/RoomSetting.vue | 1 +
index.html | 4 ++--
src/config/axios/service.ts | 4 +++-
src/views/ecg/doctor/components/DevReadyPanel.vue | 24 ++++++++++++++++++++++--
4 files changed, 28 insertions(+), 5 deletions(-)
diff --git a/index.html b/index.html
index 07cc2fc..b19dc9f 100644
--- a/index.html
+++ b/index.html
@@ -7,11 +7,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="keywords"
- content="鍔ㄦ�佸績鐢佃鏈虹郴缁� 鍩轰簬 vue3 + CompositionAPI + typescript + vite3 + element plus 鐮斿彂锛�"
+ content="蹇冪數鎺掗槦瑁呮満绯荤粺 鍩轰簬 vue3 + CompositionAPI + typescript + vite3 + element plus 鐮斿彂锛�"
/>
<meta
name="description"
- content="鍔ㄦ�佸績鐢佃鏈虹郴缁� 鍩轰簬 vue3 + CompositionAPI + typescript + vite3 + element plus 鐮斿彂锛�"
+ content="蹇冪數鎺掗槦瑁呮満绯荤粺 鍩轰簬 vue3 + CompositionAPI + typescript + vite3 + element plus 鐮斿彂锛�"
/>
<title>%VITE_APP_TITLE%</title>
</head>
diff --git a/src/config/axios/service.ts b/src/config/axios/service.ts
index 1381298..0a6b968 100644
--- a/src/config/axios/service.ts
+++ b/src/config/axios/service.ts
@@ -223,7 +223,9 @@
removeToken()
isRelogin.show = false
// 骞叉帀token鍚庡啀璧颁竴娆¤矾鐢辫瀹冭繃router.beforeEach鐨勬牎楠�
- window.location.href = window.location.href
+ //window.location.href = window.location.href
+ window.location.href ="/login"
+
})
}
return Promise.reject(t('sys.api.timeoutMessage'))
diff --git a/src/views/ecg/doctor/components/DevReadyPanel.vue b/src/views/ecg/doctor/components/DevReadyPanel.vue
index fdefbb9..c0930da 100644
--- a/src/views/ecg/doctor/components/DevReadyPanel.vue
+++ b/src/views/ecg/doctor/components/DevReadyPanel.vue
@@ -9,29 +9,44 @@
:rules="formRules"
label-width="100px"
v-loading="formLoading"
+
>
+ <el-row>
+ <el-col :span="12">
<el-form-item label="妫�鏌ラ」鐩�" prop="">
{{getCheckTypeName(formData.checkType)}}
</el-form-item>
- <el-form-item label="鎮h�呯紪鍙�" prop="patId">
+ </el-col>
+ <el-col :span="12">
+ <el-form-item label="鎮h�呯紪鍙�" prop="patId" >
<el-input v-model="formData.patId" placeholder="璇疯緭鍏ユ偅鑰呯紪鍙�" @input="getRentInfoByPatId" />
<Barcode v-if="displayBarCode" :value="displayBarCode" :width=100 />
<el-button @click="copyBarcode()">澶嶅埗</el-button>
</el-form-item>
+ </el-col>
+ <el-col :span="12">
<el-form-item label="鎮h�呭悕绉�" prop="patName">
<el-input v-model="formData.patName" placeholder="璇疯緭鍏ユ偅鑰呭悕绉�" />
</el-form-item>
-
+ </el-col>
+ <el-col :span="12">
+
<el-form-item label="鎮h�呮弿杩�" prop="patDeptDesc">
<dict-tag v-if="formData.patDetails?.source" :type="DICT_TYPE.ECG_PAT_SOURCE" :value="formData.patDetails?.source" />
{{formData?.patDetails?.deptDesc}} {{formData?.patDetails?.wardDesc}} {{formData?.patDetails?.bedNo}}
</el-form-item>
+ </el-col>
+ <el-col :span="12">
<el-form-item label="璁惧缂栧彿" prop="devId">
<el-input v-model="formData.devId" placeholder="璇疯緭鍏ヨ澶囩紪鍙�" @input="getDevInfo"/>
</el-form-item>
+ </el-col>
+ <el-col :span="12">
<el-form-item label="璁惧鎻忚堪" prop="">
{{ devInfo?.brand||'-' }} {{ devInfo?.model||'-' }} {{ tranlateDevState(devInfo?.state) }}
</el-form-item>
+ </el-col>
+ <el-col :span="12">
<el-form-item label="棰嗙敤鏃堕棿" prop="rentTime">
<el-date-picker
v-model="formData.rentTime"
@@ -40,10 +55,14 @@
placeholder="閫夋嫨棰嗙敤鏃堕棿"
/>
</el-form-item>
+ </el-col>
+ <el-col :span="12">
<el-form-item label="鏄惁澶氳��" prop="tolerance">
<el-tag type="info" v-if="formData.tolerance == 0">鍚�</el-tag>
<el-tag type="danger" v-else>鏄�</el-tag>
</el-form-item>
+ </el-col>
+ </el-row>
<el-form-item label="澶囨敞" prop="remark">
<el-input v-model="formData.remark" placeholder="璇疯緭鍏ュ娉�" />
</el-form-item>
@@ -55,6 +74,7 @@
</el-radio-group>
</el-form-item>
-->
+
</el-form>
<el-button @click="submitForm" type="primary" :disabled="formLoading">棰嗙敤瀹屾垚</el-button>
<el-checkbox style="margin-left:10px" label="鑷姩 " v-model="autoPrint" />
diff --git a/src/views/ecg/room/RoomSetting.vue b/src/views/ecg/room/RoomSetting.vue
index a16a12c..34b2fc5 100644
--- a/src/views/ecg/room/RoomSetting.vue
+++ b/src/views/ecg/room/RoomSetting.vue
@@ -92,6 +92,7 @@
/** 鍒濆鍖� **/
onMounted(() => {
+ debugger
getList()
getOpeningPeriod()
getMonitorInfo()
--
Gitblit v1.9.3