|
@@ -1,117 +1,119 @@
|
|
|
<template>
|
|
|
- <el-container>
|
|
|
- <el-main>
|
|
|
- <el-row>
|
|
|
- <el-col>
|
|
|
- <el-date-picker
|
|
|
- v-model="dateRange"
|
|
|
- :shortcuts="shortcuts"
|
|
|
- end-placeholder="结束日期"
|
|
|
- placeholder="选择日期"
|
|
|
- range-separator="至"
|
|
|
- start-placeholder="开始日期"
|
|
|
- style="width: 280px"
|
|
|
- type="daterange"
|
|
|
- ></el-date-picker>
|
|
|
- 患者ID:
|
|
|
- <el-input v-model="patientId" clearable style="width: 120px" @blur="patientId = $event.target.value.trim()"
|
|
|
- @keyup.enter="getMzPatientClick"></el-input>
|
|
|
- <el-select v-model="xiangMuZhuangTai" style="width: 90px">
|
|
|
- <el-option v-for="item in xiangMuZhuangTaiData" :key="item.code" :label="item.name" :value="item.code">
|
|
|
- <span style="color: #8492a6; font-size: 12px">{{ item.code }}</span>
|
|
|
- <el-divider direction="vertical"></el-divider>
|
|
|
- <span :style="{ color: item.color }">{{ item.name }}</span>
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- <el-button icon="Search" type="primary" @click="getMzPatientClick"> 查询</el-button>
|
|
|
- <el-button icon="Search" type="primary" @click="kuaiSuChaZhaoClick"> 快速查找</el-button>
|
|
|
- <el-button icon="Search" type="warning" @click="chaoZuoZhiNanDialog = true"> 操作指南</el-button>
|
|
|
- <el-button icon="Upload" type="success" @click="baoCunClick"> 保存</el-button>
|
|
|
- <el-col>
|
|
|
- <el-tag effect="dark" size="large">患者姓名: {{ patient.name }}</el-tag>
|
|
|
- <el-tag effect="dark" size="large" type="warning">性别:{{ cptSex(patient.sex) }}</el-tag>
|
|
|
- <el-tag effect="dark" size="large">出生日期: {{ patient.birthDay }}</el-tag>
|
|
|
- <el-tag effect="dark" size="large" type="warning">诊疗卡: {{ patient.icCardNo }}</el-tag>
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <el-table :data="shouFeiData" :height="windowsHeight / 1.1" highlight-current-row stripe
|
|
|
- @cell-click="getFeiYongXinXiClick">
|
|
|
- <el-table-column label="收费信息">
|
|
|
- <el-table-column label="缴费日期" prop="chargeDate" width="80"></el-table-column>
|
|
|
- <el-table-column label="流水号">
|
|
|
- <template #default="scope">
|
|
|
- <el-popover :width="800" placement="right" trigger="click">
|
|
|
- <template #reference>
|
|
|
- <el-button type="success" @click="getFeiYongXinXiClick(scope.row)">{{
|
|
|
- scope.row.realNo
|
|
|
- }}
|
|
|
- </el-button>
|
|
|
- </template>
|
|
|
- <el-table :data="feiYongData" :height="windowsHeight / 2" highlight-current-row stripe>
|
|
|
- <el-table-column label="缴费明细信息">
|
|
|
- <el-table-column label="待确认标志" prop="confirmFlag">
|
|
|
- <template #default="scope">
|
|
|
- <span v-html="confirmFlag(scope.row.confirmFlag)"></span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="项目编码" prop="chargeItemCode"></el-table-column>
|
|
|
- <el-table-column label="项目" prop="chargeName"></el-table-column>
|
|
|
- <el-table-column label="金额" prop="chargeFee"></el-table-column>
|
|
|
- <el-table-column label="确认时间" prop="confirmTime" width="80"></el-table-column>
|
|
|
- <el-table-column label="确认人" prop="confirmIdName"></el-table-column>
|
|
|
- <el-table-column label="执行科室" prop="execDeptName"></el-table-column>
|
|
|
- <el-table-column label="申请号" prop="reqNo"></el-table-column>
|
|
|
+ <div class="layout_container layout-vertical">
|
|
|
+ <header>
|
|
|
+ <div>
|
|
|
+ <el-date-picker
|
|
|
+ v-model="dateRange"
|
|
|
+ :shortcuts="shortcuts"
|
|
|
+ end-placeholder="结束日期"
|
|
|
+ placeholder="选择日期"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="开始日期"
|
|
|
+ style="width: 280px"
|
|
|
+ type="daterange"
|
|
|
+ ></el-date-picker>
|
|
|
+ 患者ID:
|
|
|
+ <el-input v-model="patientId" clearable style="width: 120px" @blur="patientId = $event.target.value.trim()"
|
|
|
+ @keyup.enter="getMzPatientClick"></el-input>
|
|
|
+ <el-select v-model="xiangMuZhuangTai" style="width: 90px">
|
|
|
+ <el-option v-for="item in xiangMuZhuangTaiData" :key="item.code" :label="item.name" :value="item.code">
|
|
|
+ <span style="color: #8492a6; font-size: 12px">{{ item.code }}</span>
|
|
|
+ <el-divider direction="vertical"></el-divider>
|
|
|
+ <span :style="{ color: item.color }">{{ item.name }}</span>
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ <el-button icon="Search" type="primary" @click="getMzPatientClick"> 查询</el-button>
|
|
|
+ <el-button icon="Search" type="primary" @click="kuaiSuChaZhaoClick"> 快速查找</el-button>
|
|
|
+ <el-button icon="Search" type="warning" @click="chaoZuoZhiNanDialog = true"> 操作指南</el-button>
|
|
|
+ <el-button icon="Upload" type="success" @click="baoCunClick"> 保存</el-button>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <el-tag effect="dark" size="large">患者姓名: {{ patient.name }}</el-tag>
|
|
|
+ <el-tag effect="dark" size="large" type="warning">性别:{{ cptSex(patient.sex) }}</el-tag>
|
|
|
+ <el-tag effect="dark" size="large">出生日期: {{ patient.birthDay }}</el-tag>
|
|
|
+ <el-tag effect="dark" size="large" type="warning">诊疗卡: {{ patient.icCardNo }}</el-tag>
|
|
|
+ </div>
|
|
|
+ </header>
|
|
|
+
|
|
|
+ <div class="layout_main layout_container">
|
|
|
+ <aside class="layout_el-table" style="width: 220px">
|
|
|
+ <el-table :data="shouFeiData" highlight-current-row stripe
|
|
|
+ @cell-click="getFeiYongXinXiClick">
|
|
|
+ <el-table-column label="收费信息">
|
|
|
+ <el-table-column label="缴费日期" prop="chargeDate" width="80"></el-table-column>
|
|
|
+ <el-table-column label="流水号">
|
|
|
+ <template #default="scope">
|
|
|
+ <el-popover :width="800" placement="right" trigger="click">
|
|
|
+ <template #reference>
|
|
|
+ <el-button type="success" @click="getFeiYongXinXiClick(scope.row)">{{
|
|
|
+ scope.row.realNo
|
|
|
+ }}
|
|
|
+ </el-button>
|
|
|
+ </template>
|
|
|
+ <el-table :data="feiYongData" :height="windowsHeight / 2" highlight-current-row stripe>
|
|
|
+ <el-table-column label="缴费明细信息">
|
|
|
+ <el-table-column label="待确认标志" prop="confirmFlag">
|
|
|
+ <template #default="scope">
|
|
|
+ <span v-html="confirmFlag(scope.row.confirmFlag)"></span>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
- </el-table>
|
|
|
- </el-popover>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
+ <el-table-column label="项目编码" prop="chargeItemCode"></el-table-column>
|
|
|
+ <el-table-column label="项目" prop="chargeName"></el-table-column>
|
|
|
+ <el-table-column label="金额" prop="chargeFee"></el-table-column>
|
|
|
+ <el-table-column label="确认时间" prop="confirmTime" width="80"></el-table-column>
|
|
|
+ <el-table-column label="确认人" prop="confirmIdName"></el-table-column>
|
|
|
+ <el-table-column label="执行科室" prop="execDeptName"></el-table-column>
|
|
|
+ <el-table-column label="申请号" prop="reqNo"></el-table-column>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </el-popover>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
- </el-table>
|
|
|
- </el-col>
|
|
|
- <el-col :span="20">
|
|
|
- <el-table :data="keQueRenData" :height="windowsHeight / 1.1" highlight-current-row stripe>
|
|
|
- <el-table-column label="本科室">
|
|
|
- <el-table-column label="待确认标志" prop="confirmFlag" width="250">
|
|
|
- <template #default="scope">
|
|
|
- <el-radio-group v-model="scope.row.confirmFlag">
|
|
|
- <el-radio-button :disabled="scope.row.xiangMuZhuangTai === 1 || scope.row.xiangMuZhuangTai === 3"
|
|
|
- :label="0"> 未确认
|
|
|
- </el-radio-button>
|
|
|
- <el-radio-button :label="1">确认</el-radio-button>
|
|
|
- <el-radio-button :label="3">取消</el-radio-button>
|
|
|
- </el-radio-group>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="项目编码" prop="chargeItemCode"></el-table-column>
|
|
|
- <el-table-column label="项目" prop="chargeName"></el-table-column>
|
|
|
- <el-table-column label="金额" prop="chargeFeeNew"></el-table-column>
|
|
|
- <el-table-column label="确认时间" prop="confirmTime" width="80"></el-table-column>
|
|
|
- <el-table-column label="确认人" prop="confirmIdName"></el-table-column>
|
|
|
- <el-table-column label="执行科室" prop="execDeptName"></el-table-column>
|
|
|
- <el-table-column label="申请号" prop="reqNo">
|
|
|
- <template #default="scope">
|
|
|
- <el-popover :width="800" placement="left" trigger="click">
|
|
|
- <template #reference>
|
|
|
- <el-button type="success" @click="getMingXiClick(scope.row)">{{ scope.row.reqNo }}</el-button>
|
|
|
- </template>
|
|
|
- <el-table :data="danGeXingXi" highlight-current-row stripe>
|
|
|
- <el-table-column label="明细">
|
|
|
- <el-table-column label="项目编码" prop="chargeItemCode"></el-table-column>
|
|
|
- <el-table-column label="项目" prop="chargeName"></el-table-column>
|
|
|
- <el-table-column label="金额" prop="chargeFee"></el-table-column>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- </el-popover>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </aside>
|
|
|
+ <div class="layout_main layout_el-table">
|
|
|
+ <el-table :data="keQueRenData" highlight-current-row stripe>
|
|
|
+ <el-table-column label="本科室">
|
|
|
+ <el-table-column label="待确认标志" prop="confirmFlag" width="250">
|
|
|
+ <template #default="scope">
|
|
|
+ <el-radio-group v-model="scope.row.confirmFlag">
|
|
|
+ <el-radio-button :disabled="scope.row.xiangMuZhuangTai === 1 || scope.row.xiangMuZhuangTai === 3"
|
|
|
+ :label="0"> 未确认
|
|
|
+ </el-radio-button>
|
|
|
+ <el-radio-button :label="1">确认</el-radio-button>
|
|
|
+ <el-radio-button :label="3">取消</el-radio-button>
|
|
|
+ </el-radio-group>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
- </el-table>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </el-main>
|
|
|
- </el-container>
|
|
|
+ <el-table-column label="项目编码" prop="chargeItemCode"></el-table-column>
|
|
|
+ <el-table-column label="项目" prop="chargeName"></el-table-column>
|
|
|
+ <el-table-column label="金额" prop="chargeFeeNew"></el-table-column>
|
|
|
+ <el-table-column label="确认时间" prop="confirmTime" width="80"></el-table-column>
|
|
|
+ <el-table-column label="确认人" prop="confirmIdName"></el-table-column>
|
|
|
+ <el-table-column label="执行科室" prop="execDeptName"></el-table-column>
|
|
|
+ <el-table-column label="申请号" prop="reqNo">
|
|
|
+ <template #default="scope">
|
|
|
+ <el-popover :width="800" placement="left" trigger="click">
|
|
|
+ <template #reference>
|
|
|
+ <el-button type="success" @click="getMingXiClick(scope.row)">{{ scope.row.reqNo }}</el-button>
|
|
|
+ </template>
|
|
|
+ <el-table :data="danGeXingXi" highlight-current-row stripe>
|
|
|
+ <el-table-column label="明细">
|
|
|
+ <el-table-column label="项目编码" prop="chargeItemCode"></el-table-column>
|
|
|
+ <el-table-column label="项目" prop="chargeName"></el-table-column>
|
|
|
+ <el-table-column label="金额" prop="chargeFee"></el-table-column>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </el-popover>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
<el-dialog v-model="kuaiSuChaZhaoDialog" title="点击表格中的姓名即可">
|
|
|
<el-table
|
|
|
:data="kuaiSuChaZhaoData.list.slice((kuaiSuChaZhaoData.currentPage - 1) * kuaiSuChaZhaoData.pageSize, kuaiSuChaZhaoData.pageSize * kuaiSuChaZhaoData.currentPage)"
|
|
@@ -146,7 +148,7 @@
|
|
|
1、在选择完数据后点击保存即可。 <br/>
|
|
|
</el-dialog>
|
|
|
</template>
|
|
|
-<script>
|
|
|
+<script setup>
|
|
|
import {shortcuts} from '@/data/shortcuts'
|
|
|
import {ref} from 'vue'
|
|
|
import {cptSex} from '@/utils/computed'
|
|
@@ -163,155 +165,128 @@ import {needRule} from "@/utils/public";
|
|
|
import XEUtils from 'xe-utils'
|
|
|
import {useUserStore} from "@/pinia/user-store";
|
|
|
|
|
|
-export default {
|
|
|
- setup() {
|
|
|
- const windowsHeight = window.innerHeight
|
|
|
- const userInfo = useUserStore().userInfo
|
|
|
- const dateRange = ref(shortcuts[0].value)
|
|
|
- const patientId = ref('') //12117-4
|
|
|
- const xiangMuZhuangTai = ref(0)
|
|
|
- const chargeDate = ref('')
|
|
|
|
|
|
- const patient = ref({})
|
|
|
+const windowsHeight = window.innerHeight
|
|
|
+const userInfo = useUserStore().userInfo
|
|
|
+const dateRange = ref(shortcuts[0].value)
|
|
|
+const patientId = ref('') //12117-4
|
|
|
+const xiangMuZhuangTai = ref(0)
|
|
|
+const chargeDate = ref('')
|
|
|
|
|
|
- const shouFeiData = ref([])
|
|
|
- const feiYongData = ref([])
|
|
|
- const keQueRenData = ref([])
|
|
|
- const danGeXingXi = ref([])
|
|
|
+const patient = ref({})
|
|
|
|
|
|
- const getMzPatientClick = () => {
|
|
|
- lingShiBaoCunJiaoFeiMingXi.value = {}
|
|
|
- shouFeiData.value = []
|
|
|
- keQueRenData.value = []
|
|
|
- feiYongData.value = []
|
|
|
- danGeXingXi.value = []
|
|
|
- let dateR = getDateRangeFormatDate(dateRange.value)
|
|
|
- getMzPatient(patientId.value, xiangMuZhuangTai.value, dateR.startTime, dateR.endTime, userInfo.deptCode)
|
|
|
- .then((res) => {
|
|
|
- patientId.value = res.patientId
|
|
|
- patient.value = res
|
|
|
- patient.value.birthDay = patient.value.birthDay.split(' ')[0]
|
|
|
- shouFeiData.value = res.list
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- patient.value = {}
|
|
|
- })
|
|
|
- }
|
|
|
-
|
|
|
- const lingShiBaoCunJiaoFeiMingXi = ref({})
|
|
|
+const shouFeiData = ref([])
|
|
|
+const feiYongData = ref([])
|
|
|
+const keQueRenData = ref([])
|
|
|
+const danGeXingXi = ref([])
|
|
|
|
|
|
- function deptList(item) {
|
|
|
- return !!userInfo.partTimeDeptMap[item];
|
|
|
- }
|
|
|
+const xiangMuZhuangTaiData = [
|
|
|
+ {code: 0, name: '未确认'},
|
|
|
+ {code: 1, name: '已确认'},
|
|
|
+]
|
|
|
|
|
|
- const getFeiYongXinXiClick = (val) => {
|
|
|
- chargeDate.value = val.chargeDate
|
|
|
- getFeiYongXinXi(val.realNo, val.patientId, val.times, xiangMuZhuangTai.value).then((res) => {
|
|
|
- keQueRenData.value = []
|
|
|
- feiYongData.value = res
|
|
|
- lingShiBaoCunJiaoFeiMingXi.value = XEUtils.clone(val)
|
|
|
- if (needRule(1)) {
|
|
|
- keQueRenData.value = XEUtils.clone(feiYongData.value, true)
|
|
|
- } else {
|
|
|
- keQueRenData.value = feiYongData.value.filter((item) => {
|
|
|
- return deptList(item.execDept) || stringIsBlank(item.execDept)
|
|
|
- })
|
|
|
- }
|
|
|
+const getMzPatientClick = () => {
|
|
|
+ lingShiBaoCunJiaoFeiMingXi.value = {}
|
|
|
+ shouFeiData.value = []
|
|
|
+ keQueRenData.value = []
|
|
|
+ feiYongData.value = []
|
|
|
+ danGeXingXi.value = []
|
|
|
+ let dateR = getDateRangeFormatDate(dateRange.value)
|
|
|
+ getMzPatient(patientId.value, xiangMuZhuangTai.value, dateR.startTime, dateR.endTime, userInfo.deptCode)
|
|
|
+ .then((res) => {
|
|
|
+ patientId.value = res.patientId
|
|
|
+ patient.value = res
|
|
|
+ patient.value.birthDay = patient.value.birthDay.split(' ')[0]
|
|
|
+ shouFeiData.value = res.list
|
|
|
})
|
|
|
- }
|
|
|
+ .catch(() => {
|
|
|
+ patient.value = {}
|
|
|
+ })
|
|
|
+}
|
|
|
|
|
|
- const lingShiHuoQuMingXi = ref({})
|
|
|
+const lingShiBaoCunJiaoFeiMingXi = ref({})
|
|
|
|
|
|
- const getMingXiClick = (val) => {
|
|
|
- lingShiHuoQuMingXi.value = val
|
|
|
- if (typeof val.list !== 'undefined') {
|
|
|
- danGeXingXi.value = val.list
|
|
|
- val.list.forEach((item) => {
|
|
|
- item.chargeFee = item.drugWin * item.quantity * item.unitPrice
|
|
|
- })
|
|
|
- }
|
|
|
- }
|
|
|
+function deptList(item) {
|
|
|
+ return !!userInfo.partTimeDeptMap[item];
|
|
|
+}
|
|
|
|
|
|
- const baoCunClick = () => {
|
|
|
- const list = keQueRenData.value.filter((item) => {
|
|
|
- return item.confirmFlag !== item.oldConfirmFlag && item.confirmFlag !== 0
|
|
|
+const getFeiYongXinXiClick = (val) => {
|
|
|
+ chargeDate.value = val.chargeDate
|
|
|
+ getFeiYongXinXi(val.realNo, val.patientId, val.times, xiangMuZhuangTai.value).then((res) => {
|
|
|
+ keQueRenData.value = []
|
|
|
+ feiYongData.value = res
|
|
|
+ lingShiBaoCunJiaoFeiMingXi.value = XEUtils.clone(val)
|
|
|
+ if (needRule(1)) {
|
|
|
+ keQueRenData.value = XEUtils.clone(feiYongData.value, true)
|
|
|
+ } else {
|
|
|
+ keQueRenData.value = feiYongData.value.filter((item) => {
|
|
|
+ return deptList(item.execDept) || stringIsBlank(item.execDept)
|
|
|
})
|
|
|
- if (listIsBlank(list)) {
|
|
|
- return ElMessage.error('数据没有变化请勿点击')
|
|
|
- }
|
|
|
- ElMessageBox.confirm('请确认数据', '提示', {
|
|
|
- type: 'warning',
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- let baoCun = {
|
|
|
- list: list,
|
|
|
- realNo: lingShiBaoCunJiaoFeiMingXi.value.realNo,
|
|
|
- patientId: lingShiBaoCunJiaoFeiMingXi.value.patientId,
|
|
|
- times: lingShiBaoCunJiaoFeiMingXi.value.times,
|
|
|
- execDept: userInfo.deptCode,
|
|
|
- }
|
|
|
- menZhenXiangMuQuXiaoHuoQueRen(baoCun).then((res) => {
|
|
|
- keQueRenData.value = []
|
|
|
- })
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- })
|
|
|
}
|
|
|
+ })
|
|
|
+}
|
|
|
|
|
|
- const kuaiSuChaZhaoDialog = ref(false)
|
|
|
- const kuaiSuChaZhaoData = ref({
|
|
|
- currentPage: 1,
|
|
|
- pageSize: 10,
|
|
|
- list: [],
|
|
|
+const lingShiHuoQuMingXi = ref({})
|
|
|
+
|
|
|
+const getMingXiClick = (val) => {
|
|
|
+ lingShiHuoQuMingXi.value = val
|
|
|
+ if (typeof val.list !== 'undefined') {
|
|
|
+ danGeXingXi.value = val.list
|
|
|
+ val.list.forEach((item) => {
|
|
|
+ item.chargeFee = item.drugWin * item.quantity * item.unitPrice
|
|
|
})
|
|
|
- const chaoZuoZhiNanDialog = ref(false)
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
- const kuaiSuChaZhaoClick = () => {
|
|
|
- let dateR = getDateRangeFormatDate(dateRange.value)
|
|
|
- kuaiSuChaZhao(dateR.startTime, dateR.endTime, userInfo.deptCode).then((res) => {
|
|
|
- kuaiSuChaZhaoData.value.list = res
|
|
|
- kuaiSuChaZhaoDialog.value = true
|
|
|
+const baoCunClick = () => {
|
|
|
+ const list = keQueRenData.value.filter((item) => {
|
|
|
+ return item.confirmFlag !== item.oldConfirmFlag && item.confirmFlag !== 0
|
|
|
+ })
|
|
|
+ if (listIsBlank(list)) {
|
|
|
+ return ElMessage.error('数据没有变化请勿点击')
|
|
|
+ }
|
|
|
+ ElMessageBox.confirm('请确认数据', '提示', {
|
|
|
+ type: 'warning',
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ let baoCun = {
|
|
|
+ list: list,
|
|
|
+ realNo: lingShiBaoCunJiaoFeiMingXi.value.realNo,
|
|
|
+ patientId: lingShiBaoCunJiaoFeiMingXi.value.patientId,
|
|
|
+ times: lingShiBaoCunJiaoFeiMingXi.value.times,
|
|
|
+ execDept: userInfo.deptCode,
|
|
|
+ }
|
|
|
+ menZhenXiangMuQuXiaoHuoQueRen(baoCun).then((res) => {
|
|
|
+ keQueRenData.value = []
|
|
|
+ })
|
|
|
})
|
|
|
- }
|
|
|
+ .catch(() => {
|
|
|
+ })
|
|
|
+}
|
|
|
|
|
|
- const kuaiSuChaZhaoCurrent = (val) => {
|
|
|
- kuaiSuChaZhaoData.value.currentPage = val
|
|
|
- }
|
|
|
+const kuaiSuChaZhaoDialog = ref(false)
|
|
|
+const kuaiSuChaZhaoData = ref({
|
|
|
+ currentPage: 1,
|
|
|
+ pageSize: 10,
|
|
|
+ list: [],
|
|
|
+})
|
|
|
+const chaoZuoZhiNanDialog = ref(false)
|
|
|
|
|
|
- const chaZhaoTable = (val) => {
|
|
|
- patientId.value = val.patientId
|
|
|
- getMzPatientClick()
|
|
|
- }
|
|
|
+const kuaiSuChaZhaoClick = () => {
|
|
|
+ let dateR = getDateRangeFormatDate(dateRange.value)
|
|
|
+ kuaiSuChaZhao(dateR.startTime, dateR.endTime, userInfo.deptCode).then((res) => {
|
|
|
+ kuaiSuChaZhaoData.value.list = res
|
|
|
+ kuaiSuChaZhaoDialog.value = true
|
|
|
+ })
|
|
|
+}
|
|
|
|
|
|
- return {
|
|
|
- shortcuts,
|
|
|
- patientId,
|
|
|
- dateRange,
|
|
|
- cptSex,
|
|
|
- patient,
|
|
|
- getMzPatientClick,
|
|
|
- xiangMuZhuangTaiData: ref([
|
|
|
- {code: 0, name: '未确认'},
|
|
|
- {code: 1, name: '已确认'},
|
|
|
- ]),
|
|
|
- xiangMuZhuangTai,
|
|
|
- windowsHeight,
|
|
|
- shouFeiData,
|
|
|
- getFeiYongXinXiClick,
|
|
|
- feiYongData,
|
|
|
- keQueRenData,
|
|
|
- getMingXiClick,
|
|
|
- danGeXingXi,
|
|
|
- baoCunClick,
|
|
|
- confirmFlag,
|
|
|
- kuaiSuChaZhaoClick,
|
|
|
- kuaiSuChaZhaoDialog,
|
|
|
- chaoZuoZhiNanDialog,
|
|
|
- kuaiSuChaZhaoData,
|
|
|
- kuaiSuChaZhaoCurrent,
|
|
|
- chaZhaoTable,
|
|
|
- }
|
|
|
- },
|
|
|
+const kuaiSuChaZhaoCurrent = (val) => {
|
|
|
+ kuaiSuChaZhaoData.value.currentPage = val
|
|
|
+}
|
|
|
+
|
|
|
+const chaZhaoTable = (val) => {
|
|
|
+ patientId.value = val.patientId
|
|
|
+ getMzPatientClick()
|
|
|
}
|
|
|
|
|
|
function confirmFlag(val) {
|