This commit is contained in:
ChenQiuYu 2025-05-28 12:10:52 +08:00
parent 69a6938734
commit 5aa3206279
38 changed files with 77 additions and 103 deletions

View File

@ -1,47 +0,0 @@
export enum apiConfig {
/**
*
*/
"ManagerUserLogin" = "manager/user/login",//登录
"signIn" = "sign/in",//签到
"signOut" = "sign/out",//签退
"managerUserVerify" = "manager/user/verify",//获取用户信息
/**
*
*/
"RegistrationList" = "registration/list",//挂号列表
"RegistrationAdd" = "registration/add",//添加挂号
"RegistrationEdit" = "registration/edit",//修改挂号
/**
*
*/
"RegistrationChangeStatus" = "registration/changeStatus",//挂号状态
"MedicalDetailByRegisId" = "medical/record/getDetailByRegisId",//患者详情
"RegistrationListByType" = "registration/getListByType",//患者列表
"StatisticsGetTipCount" = "statistics/getTipCount",//患者状态数量
"MedicalRecordSave" = "medical/record/save",//保存接诊信息
"SocialDiagnoseSearch" = "social/diagnose/search",//接诊详情
/**
*
*/
"OrganizationMemberSave" = "organization/member/save",//添加 编辑成员信息
"OrganizationMemberSearch" = "organization/member/search",//搜索成员
"OrganizationSectionAllList" = "organization/section/allList",//获取所有科室列表
"OrganizationSectionListByMemberId" = "organization/section/listByMemberId",//获取当前成员所属科室列表
"OrganizationMemberListBySectionId" = "organization/member/listBySectionId",//获取当前科室的所有医生列表
/**
*
*/
"GoodsDisableSale" = "goods/goods/disableSale",
"GoodsEnableSale" = "goods/goods/enableSale",
/**
*
*/
"ChargeListChargeLog" = "charge/listChargeLog",//查询收费记录
"RecordGetChargeQueue" = "medical/record/getChargeQueue"//查询收费记录
}

View File

@ -11,7 +11,7 @@ watchEffect(() => {
<template> <template>
<div class="my-picker"> <div class="my-picker">
<el-date-picker :teleported="false" v-model="value1" type="date" placeholder="Pick a day"/> <el-date-picker unlink-panels :teleported="false" v-model="value1" type="date" placeholder="Pick a day"/>
</div> </div>
</template> </template>

View File

@ -15,6 +15,7 @@
ref="datePickerRef" ref="datePickerRef"
format="YYYY-MM-DD" format="YYYY-MM-DD"
value-format="YYYY-MM-DD" value-format="YYYY-MM-DD"
unlink-panels
/> />
</template> </template>
<template #default> <template #default>
@ -84,7 +85,6 @@ import {post} from "@/utils/request.ts";
import Panel from "@/components/common/Panel.vue"; import Panel from "@/components/common/Panel.vue";
import {formatListTime, getCurrentDate, getEndOfDay, getToday} from "@/utils/dateUtils.ts"; import {formatListTime, getCurrentDate, getEndOfDay, getToday} from "@/utils/dateUtils.ts";
import {Search, Calendar} from "@element-plus/icons-vue"; import {Search, Calendar} from "@element-plus/icons-vue";
import {apiConfig} from "@/assets/config/apiConfig.ts";
import Edit from "@/components/registration/Edit.vue"; import Edit from "@/components/registration/Edit.vue";
import {API} from "@/assets/config/API.ts"; import {API} from "@/assets/config/API.ts";

View File

@ -26,7 +26,6 @@
import {ref} from "vue"; import {ref} from "vue";
import Mask from "@/components/common/Mask.vue"; import Mask from "@/components/common/Mask.vue";
import DiagnosisSearchInput from "@/components/outpatient/DiagnosisSearchInput.vue"; import DiagnosisSearchInput from "@/components/outpatient/DiagnosisSearchInput.vue";
import {apiConfig} from "@/assets/config/apiConfig.ts";
import {getEndOfDay} from "@/utils/dateUtils.ts"; import {getEndOfDay} from "@/utils/dateUtils.ts";
import {post} from "@/utils/request.ts"; import {post} from "@/utils/request.ts";
import {ElMessage} from "element-plus"; import {ElMessage} from "element-plus";

View File

@ -193,7 +193,6 @@ header {
<script setup lang="ts"> <script setup lang="ts">
import {useRouter} from 'vue-router' import {useRouter} from 'vue-router'
import {type Action, ElMessage, ElMessageBox} from 'element-plus' import {type Action, ElMessage, ElMessageBox} from 'element-plus'
import {apiConfig} from "@/assets/config/apiConfig.ts";
import {post} from "@/utils/request"; import {post} from "@/utils/request";
import {Right} from "@element-plus/icons-vue"; import {Right} from "@element-plus/icons-vue";
import {onMounted, ref} from "vue"; import {onMounted, ref} from "vue";

View File

@ -104,6 +104,7 @@ const changeDate = (date: any) => {
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
style="margin-left: 24px" style="margin-left: 24px"
unlink-panels
/> />
</div> </div>
</template> </template>

View File

@ -453,7 +453,6 @@ import {ElMessage, ElMessageBox} from "element-plus";
import Divider from "@/components/Divider.vue"; import Divider from "@/components/Divider.vue";
import UnitSelector from "@/components/UnitSelector.vue"; import UnitSelector from "@/components/UnitSelector.vue";
import SocialInfo from "@/components/inventory/goods/SocialInfo.vue"; import SocialInfo from "@/components/inventory/goods/SocialInfo.vue";
import {apiConfig} from "@/assets/config/apiConfig.ts";
import {API} from "@/assets/config/API.ts"; import {API} from "@/assets/config/API.ts";

View File

@ -8,6 +8,7 @@
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
@change="changeDate" @change="changeDate"
unlink-panels
> >
</el-date-picker> </el-date-picker>
</div> </div>

View File

@ -38,6 +38,7 @@
placeholder="选择一个创建日期" placeholder="选择一个创建日期"
size="default" size="default"
style="width: 234px;" style="width: 234px;"
unlink-panels
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -150,6 +151,7 @@
size="small" size="small"
@change="checkProductionDate(scope.row)" @change="checkProductionDate(scope.row)"
style="width: 100px;" style="width: 100px;"
unlink-panels
/> />
</template> </template>
</el-table-column> </el-table-column>
@ -160,7 +162,8 @@
type="date" type="date"
value-format="YYYY-MM-DD" value-format="YYYY-MM-DD"
placeholder="有效日期" placeholder="有效日期"
size="small" style="width: 100px;"/> size="small" style="width: 100px;"
unlink-panels/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="商品追溯码" width="150"> <el-table-column label="商品追溯码" width="150">

View File

@ -41,6 +41,7 @@
value-format="YYYY-MM-DD" value-format="YYYY-MM-DD"
v-if="orderInfoIsEdit" v-if="orderInfoIsEdit"
style="width: 234px;" style="width: 234px;"
unlink-panels
/> />
<span style="width: 234px;" class="order-info" v-else>{{ inventory_order_data.purchaseDate }}</span> <span style="width: 234px;" class="order-info" v-else>{{ inventory_order_data.purchaseDate }}</span>
</el-form-item> </el-form-item>
@ -163,6 +164,7 @@
style="width: 100px;" style="width: 100px;"
value-format="YYYY-MM-DD" value-format="YYYY-MM-DD"
v-if="scope.row.isEdit" v-if="scope.row.isEdit"
unlink-panels
/> />
<span v-else>{{ scope.row.productionDate }}</span> <span v-else>{{ scope.row.productionDate }}</span>
</template> </template>
@ -178,6 +180,7 @@
style="width: 100px;" style="width: 100px;"
value-format="YYYY-MM-DD" value-format="YYYY-MM-DD"
v-if="scope.row.isEdit" v-if="scope.row.isEdit"
unlink-panels
/> />
<span v-else>{{ scope.row.expiryDate }}</span> <span v-else>{{ scope.row.expiryDate }}</span>
</template> </template>

View File

@ -23,20 +23,20 @@
</div> </div>
</div> </div>
</div> </div>
<div class="body_list"> <div class="body_list">
<el-table :data="tableData" style="height: 100%" <el-table :data="tableData" style="height: 100%"
:header-cell-style="{ backgroundColor: '#F1F5FB'}"> :header-cell-style="{ backgroundColor: '#F1F5FB'}">
<el-table-column prop="createTime" label="创建时间" show-overflow-tooltip> <el-table-column prop="createTime" label="创建时间" show-overflow-tooltip>
<template #default="scope"> <template #default="scope">
{{ formatDate(scope.row.createTime) }} {{ formatDate(scope.row.createTime) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="beforeIntegral" label="变化前" show-overflow-tooltip/> <el-table-column prop="beforeIntegral" label="变化前" show-overflow-tooltip/>
<el-table-column prop="changeIntegral" label="变化量" show-overflow-tooltip/> <el-table-column prop="changeIntegral" label="变化量" show-overflow-tooltip/>
<el-table-column prop="afterIntegral" label="变化后" show-overflow-tooltip/> <el-table-column prop="afterIntegral" label="变化后" show-overflow-tooltip/>
<el-table-column prop="remark" label="备注" show-overflow-tooltip/> <el-table-column prop="remark" label="备注" show-overflow-tooltip/>
</el-table> </el-table>
</div> </div>
</div> </div>
</template> </template>
<template #footer> <template #footer>
@ -73,28 +73,24 @@ const emit = defineEmits(['close'])
const close = () => { const close = () => {
isFlowingWater.value = false isFlowingWater.value = false
id.value = "" id.value = ""
emit('close')
} }
const changePage = (page: any) => { const changePage = (page: any) => {
pageNum.value = page
init(id.value)
}
const id = ref('')
const pageNum = ref(1)
const pageSize = ref(20)
const init = (code: any) => {
id.value = code
if (!id.value) return
const query = { const query = {
pageNum: page, pageNum: pageNum.value,
pageSize: 20, pageSize: pageSize.value,
vipId: id.value vipId: id.value
} }
post(API.Patient.Integral.List, {query: query}).then((res: any) => { post(API.Patient.Integral.List, {query: query}).then((res: any) => {
tableData.value.splice(0, tableData.length, ...res.list) tableData.value.splice(0, tableData.length, ...res.list)
})
}
const id = ref('')
const init = (id: any) => {
if (!id) return
const query = {
pageNum: 1,
pageSize: 10,
vipId: id
}
post(API.Patient.Base.List, {query: query}).then((res: any) => {
tableData.value.splice(0, tableData.length, ...res.list)
total.value = res.total_count total.value = res.total_count
}) })
} }
@ -127,6 +123,7 @@ defineExpose({init})
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
margin-left: 16px; margin-left: 16px;
.name { .name {
font-weight: bold; font-weight: bold;
font-size: 24px; font-size: 24px;
@ -138,6 +135,7 @@ defineExpose({init})
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.text { .text {
margin-top: 4px; margin-top: 4px;
display: flex; display: flex;

View File

@ -84,7 +84,7 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="生日" prop="birthday"> <el-form-item label="生日" prop="birthday">
<el-date-picker style="width: 100%" v-model="ruleForm.birthday" type="date" placeholder="选择日期"> <el-date-picker style="width: 100%" v-model="ruleForm.birthday" unlink-panels type="date" placeholder="选择日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>

View File

@ -76,7 +76,6 @@ import Panel from "@/components/common/Panel.vue";
import PopoverInput from "@/components/PopoverInput.vue"; import PopoverInput from "@/components/PopoverInput.vue";
import DiagnosisSearchInput from "@/components/outpatient/DiagnosisSearchInput.vue"; import DiagnosisSearchInput from "@/components/outpatient/DiagnosisSearchInput.vue";
import PhysiqueExamInput from "@/components/outpatient/PhysiqueExamInput.vue"; import PhysiqueExamInput from "@/components/outpatient/PhysiqueExamInput.vue";
import {apiConfig} from "@/assets/config/apiConfig.ts";
import {API} from "@/assets/config/API.ts"; import {API} from "@/assets/config/API.ts";
const props = defineProps({ const props = defineProps({
disabled: { disabled: {

View File

@ -14,6 +14,7 @@
ref="datePickerRef" ref="datePickerRef"
format="YYYY-MM-DD" format="YYYY-MM-DD"
value-format="YYYY-MM-DD" value-format="YYYY-MM-DD"
unlink-panels
/> />
</template> </template>
<div class="panel-content" style="display: flex;flex-direction: column;height: 100%"> <div class="panel-content" style="display: flex;flex-direction: column;height: 100%">
@ -55,7 +56,6 @@ import {onMounted, ref, watch, onUnmounted} from "vue";
import Panel from "@/components/common/Panel.vue"; import Panel from "@/components/common/Panel.vue";
import {post} from "@/utils/request.ts"; import {post} from "@/utils/request.ts";
import {formatListTime, getToday, getThisMonth, getCurrentDate, getEndOfDay} from "@/utils/dateUtils.ts"; import {formatListTime, getToday, getThisMonth, getCurrentDate, getEndOfDay} from "@/utils/dateUtils.ts";
import {apiConfig} from "@/assets/config/apiConfig.ts";
import {ElMessageBox} from "element-plus"; import {ElMessageBox} from "element-plus";
import {Calendar} from '@element-plus/icons-vue' import {Calendar} from '@element-plus/icons-vue'
import {API} from "@/assets/config/API.ts"; import {API} from "@/assets/config/API.ts";

View File

@ -130,6 +130,7 @@
placeholder="选择日期" placeholder="选择日期"
style="width: 50%" style="width: 50%"
:disabledDate="disabledDate" :disabledDate="disabledDate"
unlink-panels
/> />
<el-time-select <el-time-select
v-model="edit_data.time" v-model="edit_data.time"
@ -222,7 +223,6 @@ import Mask from "@/components/common/Mask.vue";
import psnCertTypes from "@/assets/config/directory/psnCertTypes.json" import psnCertTypes from "@/assets/config/directory/psnCertTypes.json"
import {getKey} from "@/utils/discrotyUtil.ts"; import {getKey} from "@/utils/discrotyUtil.ts";
import insutypes from "@/assets/config/directory/insutypes.json" import insutypes from "@/assets/config/directory/insutypes.json"
import {apiConfig} from "@/assets/config/apiConfig.ts";
import Quick from "@/components/charge/RecordsLog/Quick.vue"; import Quick from "@/components/charge/RecordsLog/Quick.vue";
import {getCurrentTime, getToday} from "@/utils/dateUtils.ts"; import {getCurrentTime, getToday} from "@/utils/dateUtils.ts";
import {API} from "@/assets/config/API.ts"; import {API} from "@/assets/config/API.ts";

View File

@ -26,6 +26,7 @@
v-model="form.beginDate" v-model="form.beginDate"
type="date" type="date"
placeholder="请选择开始日期" placeholder="请选择开始日期"
unlink-panels
/> />
</div> </div>
</el-form-item> </el-form-item>
@ -37,6 +38,7 @@
v-model="form.endDate" v-model="form.endDate"
type="date" type="date"
placeholder="请选择结束日期" placeholder="请选择结束日期"
unlink-panels
/> />
</div> </div>
</el-form-item> </el-form-item>
@ -48,6 +50,7 @@
v-model="form.creationDate" v-model="form.creationDate"
type="date" type="date"
placeholder="请选择成立时间" placeholder="请选择成立时间"
unlink-panels
:default-value="new Date(2010, 9, 1)" :default-value="new Date(2010, 9, 1)"
/> />
</div> </div>

View File

@ -29,6 +29,7 @@
range-separator="-" range-separator="-"
start-placeholder="开始时间" start-placeholder="开始时间"
end-placeholder="结束时间" end-placeholder="结束时间"
unlink-panels
/> />
<div class="default-btn" @click="change_search" style="margin-left: 24px"> <div class="default-btn" @click="change_search" style="margin-left: 24px">
<span class="iconfont icon-RectangleCopy"></span> <span class="iconfont icon-RectangleCopy"></span>

View File

@ -12,6 +12,7 @@
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
style="height: 100%" style="height: 100%"
unlink-panels
/> />
</el-form-item> </el-form-item>
<el-form-item label="清算类别" prop="reconciliationType"> <el-form-item label="清算类别" prop="reconciliationType">

View File

@ -11,6 +11,7 @@
format="YYYY-MM-DD" format="YYYY-MM-DD"
value-format="YYYY-MM-DD" value-format="YYYY-MM-DD"
@change="getDailyReport" @change="getDailyReport"
unlink-panels
/> />
</div> </div>
<div class="content-box"> <div class="content-box">

View File

@ -11,6 +11,7 @@
format="YYYY-MM-DD" format="YYYY-MM-DD"
value-format="YYYY-MM-DD" value-format="YYYY-MM-DD"
@change="getDate" @change="getDate"
unlink-panels
/> />
</div> </div>
<div class="content-box"> <div class="content-box">

View File

@ -8,6 +8,7 @@
range-separator="~" range-separator="~"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
unlink-panels
/> />
<el-select v-model="source" placeholder="开单来源" style="width: 100px;margin:0 10px"> <el-select v-model="source" placeholder="开单来源" style="width: 100px;margin:0 10px">
<el-option <el-option

View File

@ -20,6 +20,7 @@
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
style="margin-left: 24px" style="margin-left: 24px"
unlink-panels
/> />
</div> </div>
</template> </template>
@ -96,6 +97,7 @@
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
style="margin-left: 24px" style="margin-left: 24px"
unlink-panels
/> />
</div> </div>
</template> </template>
@ -123,6 +125,7 @@
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
style="margin-left: 24px" style="margin-left: 24px"
unlink-panels
/> />
</div> </div>
</template> </template>

View File

@ -9,6 +9,7 @@
range-separator="~" range-separator="~"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
unlink-panels
/> />
<el-select v-model="source" placeholder="销售员" style="width: 100px;margin:0 10px"> <el-select v-model="source" placeholder="销售员" style="width: 100px;margin:0 10px">
<el-option <el-option

View File

@ -9,6 +9,7 @@
range-separator="~" range-separator="~"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
unlink-panels
/> />
<el-select v-model="source" placeholder="销售人" style="width: 100px;margin:0 10px"> <el-select v-model="source" placeholder="销售人" style="width: 100px;margin:0 10px">
<el-option <el-option

View File

@ -5,7 +5,6 @@ import {useRouter} from "vue-router";
import {type Action, ElMessage, ElMessageBox} from "element-plus"; import {type Action, ElMessage, ElMessageBox} from "element-plus";
import Mask from "@/components/common/Mask.vue"; import Mask from "@/components/common/Mask.vue";
import Auth from "@/components/manger/Auth.vue"; import Auth from "@/components/manger/Auth.vue";
import {apiConfig} from "@/assets/config/apiConfig";
import type {Request, Response} from "@/utils/ws.ts"; import type {Request, Response} from "@/utils/ws.ts";
import {useWsStore} from "@/stores/wsStore.ts"; import {useWsStore} from "@/stores/wsStore.ts";
import {API} from "@/assets/config/API.ts"; import {API} from "@/assets/config/API.ts";

View File

@ -100,7 +100,6 @@ import {getKey} from "@/utils/discrotyUtil.ts";
import antys from "@/assets/config/directory/antys.json" import antys from "@/assets/config/directory/antys.json"
import RecordsLog from "@/components/charge/RecordsLog.vue"; import RecordsLog from "@/components/charge/RecordsLog.vue";
import PatientCard from "@/components/charge/PatientCard.vue"; import PatientCard from "@/components/charge/PatientCard.vue";
import {apiConfig} from "@/assets/config/apiConfig.ts";
import CheckoutDetail from "@/components/charge/CheckoutDetail.vue"; import CheckoutDetail from "@/components/charge/CheckoutDetail.vue";
import {ElMessage} from "element-plus"; import {ElMessage} from "element-plus";
import {medTypeJson} from "@/assets/config/constants.ts"; import {medTypeJson} from "@/assets/config/constants.ts";

View File

@ -12,6 +12,7 @@
@change="handleDateChange" @change="handleDateChange"
start-placeholder="开始时间" start-placeholder="开始时间"
end-placeholder="结束时间" end-placeholder="结束时间"
unlink-panels
/> />
</el-form-item> </el-form-item>
</el-form> </el-form>

View File

@ -12,6 +12,7 @@
@change="handleDateChange" @change="handleDateChange"
start-placeholder="开始时间" start-placeholder="开始时间"
end-placeholder="结束时间" end-placeholder="结束时间"
unlink-panels
/> />
</el-form-item> </el-form-item>
</el-form> </el-form>

View File

@ -12,6 +12,7 @@
@change="handleDateChange" @change="handleDateChange"
start-placeholder="开始时间" start-placeholder="开始时间"
end-placeholder="结束时间" end-placeholder="结束时间"
unlink-panels
/> />
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>

View File

@ -45,7 +45,7 @@
alt=""> alt="">
<div class="detail-top-left-text"> <div class="detail-top-left-text">
<div class="detail-top-left-text-name"> <div class="detail-top-left-text-name">
<span class="name" style="margin-right: 16px">{{ listItem.name}}</span> <span class="name" style="margin-right: 16px">{{ listItem.name }}</span>
<el-tag type="success">{{ listItem.levelName }}</el-tag> <el-tag type="success">{{ listItem.levelName }}</el-tag>
</div> </div>
<div class="detail-top-left-text-phone"> <div class="detail-top-left-text-phone">
@ -68,9 +68,9 @@
:column="3" :column="3"
border border
> >
<el-descriptions-item label="生日">{{ listItem.birthday}}</el-descriptions-item> <el-descriptions-item label="生日">{{ listItem.birthday }}</el-descriptions-item>
<el-descriptions-item label="民族"> <el-descriptions-item label="民族">
{{ antysList.find((item: any) => item.id == listItem.nation)?.name}} {{ antysList.find((item: any) => item.id == listItem.nation)?.name }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="上次就诊时间">{{ <el-descriptions-item label="上次就诊时间">{{
formatListTime(listItem.lastVisitTime) formatListTime(listItem.lastVisitTime)
@ -80,14 +80,14 @@
{{ certTypeList.find((item: any) => item.id == Number(listItem.certType))?.name }} {{ certTypeList.find((item: any) => item.id == Number(listItem.certType))?.name }}
</el-descriptions-item> </el-descriptions-item>
> >
<el-descriptions-item label="证件号码">{{ listItem.certNo}}</el-descriptions-item> <el-descriptions-item label="证件号码">{{ listItem.certNo }}</el-descriptions-item>
<el-descriptions-item label="积分"><span>{{ listItem.integralBalance }}</span> <el-descriptions-item label="积分"><span>{{ listItem.integralBalance }}</span>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="地址"> <el-descriptions-item label="地址">
{{ areaName }}{{ areaName ? '/' + listItem.address : listItem.address}} {{ areaName }}{{ areaName ? '/' + listItem.address : listItem.address }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="既往史">{{ listItem.beforeMedicalHistory}}</el-descriptions-item> <el-descriptions-item label="既往史">{{ listItem.beforeMedicalHistory }}</el-descriptions-item>
<el-descriptions-item label="过敏史">{{ listItem.allergyHistory}}</el-descriptions-item> <el-descriptions-item label="过敏史">{{ listItem.allergyHistory }}</el-descriptions-item>
<el-descriptions-item label="备注">{{ listItem.remark }}</el-descriptions-item> <el-descriptions-item label="备注">{{ listItem.remark }}</el-descriptions-item>
</el-descriptions> </el-descriptions>
@ -240,13 +240,14 @@ const init = () => {
}); });
}; };
const getVipIntegral = (id: any) => { const getVipIntegral = (id: any) => {
post(API.Patient.LevelConfig.Get, {id: id}).then((res: any) => { if (!id) return
post(API.Patient.Base.Get, {id: id}).then((res: any) => {
listItem.value.integralBalance = res.integralBalance; listItem.value.integralBalance = res.integralBalance;
}); });
}; };
const closeGrant = () => { const closeGrant = () => {
getVipIntegral(listItem.value.id)
isGrant.value = false isGrant.value = false
getVipIntegral(listItem.value.id)
} }
const closeExchange = () => { const closeExchange = () => {
getVipIntegral(listItem.value.id) getVipIntegral(listItem.value.id)
@ -505,6 +506,7 @@ const openFlowingWater = () => {
.item-name { .item-name {
color: #fff; color: #fff;
} }
.item-level { .item-level {
color: #fff; color: #fff;
} }

View File

@ -44,7 +44,6 @@ import {ref, watch, nextTick} from "vue";
import Settlement from "@/components/outpatient/Settlement.vue"; import Settlement from "@/components/outpatient/Settlement.vue";
import {post} from "@/utils/request.ts"; import {post} from "@/utils/request.ts";
import {ElMessage} from "element-plus"; import {ElMessage} from "element-plus";
import {apiConfig} from "@/assets/config/apiConfig.ts";
import PatientCard from "@/components/charge/PatientCard.vue"; import PatientCard from "@/components/charge/PatientCard.vue";
import ServiceDetail from "@/components/common/service/ServiceDetail.vue"; import ServiceDetail from "@/components/common/service/ServiceDetail.vue";
import GoodsDetail from "@/components/common/goods/GoodsDetail.vue"; import GoodsDetail from "@/components/common/goods/GoodsDetail.vue";

View File

@ -64,6 +64,7 @@
@change="handleDateChange" @change="handleDateChange"
start-placeholder="开始时间" start-placeholder="开始时间"
end-placeholder="结束时间" end-placeholder="结束时间"
unlink-panels
/> />
</div> </div>
</div> </div>

View File

@ -9,6 +9,7 @@
@change="handleDateChange" @change="handleDateChange"
start-placeholder="开始时间" start-placeholder="开始时间"
end-placeholder="结束时间" end-placeholder="结束时间"
unlink-panels
/> />
<el-input placeholder="请输入内容" v-model="searchModel.managerName" style="width: 180px;"></el-input> <el-input placeholder="请输入内容" v-model="searchModel.managerName" style="width: 180px;"></el-input>
<el-input placeholder="请输入内容" v-model="searchModel.message" style="width: 180px;"></el-input> <el-input placeholder="请输入内容" v-model="searchModel.message" style="width: 180px;"></el-input>

View File

@ -88,7 +88,6 @@ import {onMounted, ref, nextTick} from "vue"
import MemberEdit from "@/components/settings/MemberEdit.vue"; import MemberEdit from "@/components/settings/MemberEdit.vue";
import {post} from "@/utils/request.ts"; import {post} from "@/utils/request.ts";
import {formatDate} from "@/utils/dateUtils.ts"; import {formatDate} from "@/utils/dateUtils.ts";
import {apiConfig} from "@/assets/config/apiConfig.ts";
import {API} from "@/assets/config/API.ts"; import {API} from "@/assets/config/API.ts";
const isShow = ref(false) const isShow = ref(false)

View File

@ -4,6 +4,7 @@
<el-date-picker <el-date-picker
v-model="selectDate" v-model="selectDate"
type="daterange" type="daterange"
unlink-panels
@change="changeDate" @change="changeDate"
range-separator="-" range-separator="-"
start-placeholder="开始日期" start-placeholder="开始日期"

View File

@ -47,8 +47,6 @@
import {onMounted, ref} from "vue"; import {onMounted, ref} from "vue";
import {post} from "@/utils/request.ts"; import {post} from "@/utils/request.ts";
import {getToday, formatDateArray, getThisMonth} from "@/utils/dateUtils.ts"; import {getToday, formatDateArray, getThisMonth} from "@/utils/dateUtils.ts";
import {apiConfig} from "@/assets/config/apiConfig.ts";
import {reconciliationResult} from "@/assets/config/constants.ts";
import {API} from "@/assets/config/API.ts"; import {API} from "@/assets/config/API.ts";
const payTypeMapping = { const payTypeMapping = {

View File

@ -72,6 +72,7 @@
placeholder="选择一个起始日期" placeholder="选择一个起始日期"
size="default" size="default"
style="flex: 1;height: 100%" style="flex: 1;height: 100%"
unlink-panels
/> />
<div class="default-btn startBtn" @click="update1312(1)" <div class="default-btn startBtn" @click="update1312(1)"
:style="{background: showBtn ? '#EDEFF6' : '', color: showBtn ? '#333333' : ''}"> :style="{background: showBtn ? '#EDEFF6' : '', color: showBtn ? '#333333' : ''}">
@ -100,6 +101,7 @@
placeholder="选择一个起始日期" placeholder="选择一个起始日期"
size="default" size="default"
style="flex: 1;height: 100%" style="flex: 1;height: 100%"
unlink-panels
/> />
<div class="default-btn startBtn" @click="update1318(1)" <div class="default-btn startBtn" @click="update1318(1)"
:style="{background: showBtn ? '#EDEFF6' : '', color: showBtn ? '#333333' : ''}" :style="{background: showBtn ? '#EDEFF6' : '', color: showBtn ? '#333333' : ''}"
@ -128,6 +130,7 @@
placeholder="选择一个起始日期" placeholder="选择一个起始日期"
size="default" size="default"
style="flex: 1;height: 100%" style="flex: 1;height: 100%"
unlink-panels
/> />
<div class="default-btn startBtn" @click="update1319(1)" <div class="default-btn startBtn" @click="update1319(1)"
:style="{background: showBtn ? '#EDEFF6' : '', color: showBtn ? '#333333' : ''}"> :style="{background: showBtn ? '#EDEFF6' : '', color: showBtn ? '#333333' : ''}">
@ -308,7 +311,7 @@ const start_type = () => {
}) })
} }
let download = (ver: any, type: any) => { let download = (ver: any, type: any) => {
post(API.Social.Directory.Download, {ver: ver, type: type}).then((res: any) => { post(API.Social.Disease.Download, {ver: ver, type: type}).then((res: any) => {
if (res == null || res == "") { if (res == null || res == "") {
UpdateDirectoryLoading.value = false; UpdateDirectoryLoading.value = false;
ElNotification({ ElNotification({
@ -389,7 +392,7 @@ const syncCache = () => {
if (syncCachePage.value == 1) { if (syncCachePage.value == 1) {
tip_message.value = "开始同步第1页"; tip_message.value = "开始同步第1页";
} }
post(API.Social.Directory.SyncToMongo, {page: syncCachePage.value}).then((res: any) => { post(API.Social.Directory_version.Get_current, {page: syncCachePage.value}).then((res: any) => {
if (res.total_page) { if (res.total_page) {
syncCacheTotalPage.value = res.total_page syncCacheTotalPage.value = res.total_page
} }

View File

@ -9,6 +9,7 @@
type="date" type="date"
placeholder="选择一个起始日期" placeholder="选择一个起始日期"
size="default" size="default"
unlink-panels
/> />
</el-form-item> </el-form-item>
<el-form-item label=""> <el-form-item label="">