|
|
@@ -50,6 +50,14 @@
|
|
|
</el-dropdown-menu>
|
|
|
</template>
|
|
|
</el-dropdown>
|
|
|
+ <el-button
|
|
|
+ icon="View"
|
|
|
+ type="primary"
|
|
|
+ @click="viewBaLog"
|
|
|
+ style="margin-left: 12px"
|
|
|
+ >
|
|
|
+ 查看操作日志
|
|
|
+ </el-button>
|
|
|
</header>
|
|
|
<div class="layout_main layout_container layout-horizontal">
|
|
|
<aside class="layout_container layout_el-table" style="width: max-content">
|
|
|
@@ -62,7 +70,12 @@
|
|
|
<el-table-column label="姓名" width="70">
|
|
|
<template #default="scope">
|
|
|
<img :src="scope.row.sex === 1 ? maleIcon : femaleIcon" class="sex-icon"/>
|
|
|
- {{ scope.row.name }}
|
|
|
+ <span v-if="scope.row.unarcheivTimes > 0" style="color: red">
|
|
|
+ {{ scope.row.name }}
|
|
|
+ </span>
|
|
|
+ <span v-else>
|
|
|
+ {{ scope.row.name }}
|
|
|
+ </span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="住院号-次数" width="80">
|
|
|
@@ -416,6 +429,14 @@
|
|
|
<el-dialog v-model="showLendOut" title="借阅管理" style="width: 600px">
|
|
|
<LendOut :lend-time="currentTime" :user-name="userName"/>
|
|
|
</el-dialog>
|
|
|
+
|
|
|
+ <el-dialog v-model="showOpLog" title="操作日志" style="width: 400px">
|
|
|
+ <el-table :data="baOpLogs" stripe max-height="500px" min-height="300px">
|
|
|
+ <el-table-column prop="opName" label="操作人" />
|
|
|
+ <el-table-column prop="opTypeName" label="操作类型" />
|
|
|
+ <el-table-column prop="opTime" label="操作时间" />
|
|
|
+ </el-table>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -433,7 +454,7 @@ import {
|
|
|
getAllDictionary,
|
|
|
getAllWards,
|
|
|
getSheetInfo, markClosedown, markDuplicate, getMarkStateDetail, getLendOutDetail,
|
|
|
- sheetSearch, signedByDateCount,
|
|
|
+ sheetSearch, signedByDateCount, getBaOpLogs,
|
|
|
} from '@/api/case-front-sheet'
|
|
|
import maleIcon from '@/assets/male-icon.png'
|
|
|
import femaleIcon from '@/assets/female-icon.png'
|
|
|
@@ -732,7 +753,7 @@ const exportSpecialDataExel = (flag) => {
|
|
|
doctorName: '管床医生',
|
|
|
}
|
|
|
if (flag === 1) {
|
|
|
- fields.beenUnArchived = '解除签收次数'
|
|
|
+ fields.unarcheivTimes = '解除签收次数'
|
|
|
fields.lateDays = '迟交天数'
|
|
|
fields.signDate = '签收日期'
|
|
|
fields.zyDismissWayName = '是否死亡'
|
|
|
@@ -1011,10 +1032,21 @@ function showLendOutDetail() {
|
|
|
}
|
|
|
|
|
|
function differSignedRows({row}) {
|
|
|
- console.log(row.fileStatus)
|
|
|
return row.fileStatus === 1 ? 'signed-row' : ''
|
|
|
}
|
|
|
|
|
|
+const baOpLogs = ref([])
|
|
|
+const showOpLog = ref(false)
|
|
|
+function viewBaLog() {
|
|
|
+ if (nullPatient()) {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ getBaOpLogs(sheet.value.bah, sheet.value.admissTimes).then(res => {
|
|
|
+ baOpLogs.value = res
|
|
|
+ showOpLog.value = true
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
onActivated(() => {
|
|
|
initLodop()
|
|
|
})
|