|
@@ -16,6 +16,7 @@
|
|
|
<el-button type="primary" icon="el-icon-upload" @click="saveVerify(1)">保存首页</el-button>
|
|
|
<el-button type="success" icon="el-icon-printer" @click="beforePrint(1)">打印正面</el-button>
|
|
|
<el-button type="success" icon="el-icon-printer" @click="beforePrint(2)">打印反面</el-button>
|
|
|
+ <el-button type="danger" icon="el-icon-document" @click="execSignApply">归档申请</el-button>
|
|
|
</el-header>
|
|
|
<el-container>
|
|
|
<el-aside width="245px">
|
|
@@ -779,6 +780,7 @@ import {
|
|
|
getYbDiags,
|
|
|
sheetSearch,
|
|
|
increaseDiagWeight,
|
|
|
+ signApply,
|
|
|
} from '@/api/case-front-sheet'
|
|
|
import maleIcon from '@/assets/male-icon.png'
|
|
|
import femaleIcon from '@/assets/female-icon.png'
|
|
@@ -1336,6 +1338,23 @@ const handleClickMessage = (id, index) => {
|
|
|
|
|
|
const showMessageDrawer = $ref(false)
|
|
|
|
|
|
+const execSignApply = () => {
|
|
|
+ if (nullPatient()) return
|
|
|
+ signApply(patient.value)
|
|
|
+ .then((res) => {
|
|
|
+ ElMessage({
|
|
|
+ message: '申请成功',
|
|
|
+ type: 'success',
|
|
|
+ duration: 2500,
|
|
|
+ showClose: true,
|
|
|
+ })
|
|
|
+ })
|
|
|
+ .catch((e) => {
|
|
|
+ forceVerifies.value = e.data
|
|
|
+ showMessageDrawer = true
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
const saveVerify = (opType) => {
|
|
|
if (nullPatient()) return
|
|
|
beforePrintSet.value = false
|