``` refactor(db): 移除SQL语句中的public schema前缀
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<meta name="author" content="OpenHIS Team" />
|
||||
|
||||
<!-- 安全相关 meta 标签 -->
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:;">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://at.alicdn.com; style-src 'self' 'unsafe-inline' https://at.alicdn.com; img-src 'self' data: https: https://at.alicdn.com; font-src 'self' 'unsafe-inline' https://at.alicdn.com data:; connect-src 'self' https://at.alicdn.com;">
|
||||
<meta name="referrer" content="no-referrer-when-downgrade">
|
||||
|
||||
<!-- 移动端和 PWA 支持 -->
|
||||
|
||||
1325
openhis-ui-vue3/package-lock.json
generated
1325
openhis-ui-vue3/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -2,121 +2,97 @@ import request from '@/utils/request';
|
||||
|
||||
// 获取追溯码
|
||||
export function searchTraceNo(data) {
|
||||
return request({
|
||||
url: '/app-common/search-trace-no',
|
||||
method: 'get',
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: '/app-common/search-trace-no',
|
||||
method: 'get',
|
||||
params: data,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取处方打印数据
|
||||
export function advicePrint(data) {
|
||||
return request({
|
||||
url: '/app-common/advice-print',
|
||||
method: 'get',
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: '/app-common/advice-print',
|
||||
method: 'get',
|
||||
params: data,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取全部科室列表
|
||||
export function getOrgList(data) {
|
||||
return request({
|
||||
url: '/app-common/department-list',
|
||||
method: 'get',
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: '/app-common/department-list',
|
||||
method: 'get',
|
||||
params: data,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取全部病区列表
|
||||
export function getWardList(data) {
|
||||
return request({
|
||||
url: '/app-common/ward-list',
|
||||
method: 'get',
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: '/app-common/ward-list',
|
||||
method: 'get',
|
||||
params: data,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取全部供应商列表
|
||||
export function getSupplierList(data) {
|
||||
return request({
|
||||
url: '/app-common/supplier',
|
||||
method: 'get',
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: '/app-common/supplier',
|
||||
method: 'get',
|
||||
params: data,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取项目定价方式,批次售价/统一售价
|
||||
*/
|
||||
export function getAdjustPriceSwitchState(params) {
|
||||
return request({
|
||||
url: '/change/price/getAdjustPriceSwitchState',
|
||||
method: 'get',
|
||||
params: params,
|
||||
});
|
||||
return request({
|
||||
url: '/change/price/getAdjustPriceSwitchState',
|
||||
method: 'get',
|
||||
params: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 批次号匹配
|
||||
*/
|
||||
export function lotNumberMatch(params) {
|
||||
return request({
|
||||
url: '/app-common/lot-number-match',
|
||||
method: 'get',
|
||||
params: params,
|
||||
});
|
||||
return request({
|
||||
url: '/app-common/lot-number-match',
|
||||
method: 'get',
|
||||
params: params,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取全部科室列表
|
||||
export function getOrgList(data) {
|
||||
return request({
|
||||
url:'/app-common/department-list',
|
||||
method: 'get',
|
||||
params: data,
|
||||
})
|
||||
}
|
||||
|
||||
// 获取全部病区列表
|
||||
export function getWardList(data) {
|
||||
return request({
|
||||
url:'/app-common/ward-list',
|
||||
method: 'get',
|
||||
params: data,
|
||||
})
|
||||
}
|
||||
|
||||
// 获取全部供应商列表
|
||||
export function getSupplierList(data) {
|
||||
return request({
|
||||
url:'/app-common/supplier',
|
||||
method: 'get',
|
||||
params: data,
|
||||
})
|
||||
}
|
||||
|
||||
import axios from 'axios';
|
||||
|
||||
const env = import.meta.env.MODE;
|
||||
|
||||
export function invokeYbPlugin5001(data) {
|
||||
|
||||
return axios
|
||||
.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: '',
|
||||
// 超时
|
||||
timeout: 60000,
|
||||
})
|
||||
.post('http://localhost:5001/api/data/', data);
|
||||
}
|
||||
.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: '',
|
||||
// 超时
|
||||
timeout: 60000,
|
||||
})
|
||||
.post('http://localhost:5001/api/data/', data);
|
||||
}
|
||||
|
||||
// }
|
||||
|
||||
export function invokeYbPlugin5000(data) {
|
||||
return axios
|
||||
.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: '',
|
||||
// 超时
|
||||
timeout: 60000,
|
||||
})
|
||||
.post('http://localhost:5000/api/data/', data);
|
||||
return axios
|
||||
.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: '',
|
||||
// 超时
|
||||
timeout: 60000,
|
||||
})
|
||||
.post('http://localhost:5000/api/data/', data);
|
||||
}
|
||||
|
||||
@@ -41,8 +41,6 @@ import {
|
||||
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
|
||||
// 分页组件
|
||||
import Pagination from '@/components/Pagination';
|
||||
// 自定义表格工具组件
|
||||
|
||||
@@ -116,7 +116,7 @@ export function getGenderAndAge(idCard) {
|
||||
const day = birthDate.substr(6, 2);
|
||||
const dateOfBirth = new Date(`${year}-${month}-${day}`);
|
||||
// 计算年龄
|
||||
const age = new Date().getFullYear() - dateOfBirth.getFullYear();
|
||||
let age = new Date().getFullYear() - dateOfBirth.getFullYear();
|
||||
const m = new Date().getMonth() - dateOfBirth.getMonth();
|
||||
if (m < 0 || (m === 0 && new Date().getDate() < dateOfBirth.getDate())) {
|
||||
age--;
|
||||
|
||||
@@ -253,3 +253,14 @@ export function WxPayResult(data) {
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 补打挂号
|
||||
*/
|
||||
export function reprintRegistration(data) {
|
||||
return request({
|
||||
url: '/charge-manage/register/reprint',
|
||||
method: 'post',
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -469,44 +469,6 @@ function getAllList(row) {
|
||||
loading.value = false;
|
||||
});
|
||||
}
|
||||
// 批量操作校验
|
||||
function handleBatchValidate(type) {
|
||||
let params = [];
|
||||
// 是否批量选择了数据
|
||||
if (isMultiple.value) {
|
||||
proxy.$modal.msgError('请选择要执行的项目');
|
||||
return;
|
||||
}
|
||||
if (type === 'execute') {
|
||||
let activityList = activitySelectedList.value
|
||||
.filter((item) => {
|
||||
return item.chargeStatus === 5;
|
||||
})
|
||||
.map((item) => {
|
||||
return {
|
||||
requestId: item.requestId,
|
||||
dispenseId: item.dispenseId,
|
||||
requestTable: item.requestTable,
|
||||
chargeStatus: item.chargeStatus_enumText,
|
||||
dispenseStatus: item.dispenseStatus_enumText,
|
||||
name: item.itemName,
|
||||
};
|
||||
});
|
||||
let deviceList = deviceSelectedList.value
|
||||
.filter((item) => {
|
||||
return item.dispenseStatus === 2;
|
||||
})
|
||||
.map((item) => {
|
||||
return {
|
||||
requestId: item.requestId,
|
||||
dispenseId: item.dispenseId,
|
||||
requestTable: item.requestTable,
|
||||
chargeStatus: item.chargeStatus_enumText,
|
||||
dispenseStatus: item.dispenseStatus_enumText,
|
||||
name: item.itemName,
|
||||
};
|
||||
});
|
||||
|
||||
// 批量操作校验
|
||||
function handleBatchValidate(type) {
|
||||
let params = [];
|
||||
@@ -1033,20 +995,8 @@ function handleSelectionChange(selection, row) {
|
||||
.filter((item) => {
|
||||
return item.groupId && item.groupId == row?.groupId;
|
||||
})
|
||||
.forEach((row) => {
|
||||
activityListRef.value.toggleRowSelection(row, isSelected);
|
||||
});
|
||||
}
|
||||
|
||||
// 选择框改变时的处理
|
||||
function handleSelectionChange(selection, row) {
|
||||
const isSelected = selection.some((item) => item.requestId === row.requestId);
|
||||
activityList.value
|
||||
.filter((item) => {
|
||||
return item.groupId && item.groupId == row?.groupId;
|
||||
})
|
||||
.forEach((row) => {
|
||||
activityListRef.value.toggleRowSelection(row, isSelected);
|
||||
.forEach((item) => {
|
||||
activityListRef.value.toggleRowSelection(item, isSelected);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -472,7 +472,7 @@ function handelSpanMethod({ row, column, rowIndex, columnIndex }) {
|
||||
}
|
||||
}
|
||||
|
||||
::v-deep.el-textarea .el-textarea__inner {
|
||||
:deep(.el-textarea .el-textarea__inner) {
|
||||
resize: none !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -212,25 +212,6 @@ watch(
|
||||
);
|
||||
|
||||
getList();
|
||||
function getList() {
|
||||
queryParams.value.organizationId = props.patientInfo.orgId;
|
||||
getAdviceBaseInfo(queryParams.value).then((res) => {
|
||||
if (res.data.records.length > 0) {
|
||||
adviceBaseList.value = res.data.records.filter((item) => {
|
||||
if (item.adviceType == 1 || item.adviceType == 2) {
|
||||
return handleQuantity(item) != 0;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
total.value = res.data.total;
|
||||
nextTick(() => {
|
||||
currentIndex.value = 0;
|
||||
// adviceBaseRef.value.setCurrentRow(adviceBaseList.value[0]);
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
// 从priceList列表中获取价格
|
||||
function getPriceFromInventory(row) {
|
||||
if (row.priceList && row.priceList.length > 0) {
|
||||
|
||||
@@ -573,16 +573,6 @@ export function deleteTcmDiagnosis(syndromeGroupNo) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除中医诊断
|
||||
*/
|
||||
export function deleteTcmDiagnosis(syndromeGroupNo) {
|
||||
return request({
|
||||
url: '/doctor-station/chinese-medical/tcm-diagnosis?syndromeGroupNo=' + syndromeGroupNo,
|
||||
method: 'delete',
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存中医医嘱
|
||||
*/
|
||||
|
||||
@@ -946,12 +946,12 @@ defineExpose({
|
||||
right: 20px !important;
|
||||
}
|
||||
|
||||
::v-deep .el-table .cell {
|
||||
:deep(.el-table .cell) {
|
||||
display: flex;
|
||||
align-items: center; /* 垂直居中对齐 */
|
||||
}
|
||||
|
||||
::v-deep .el-table td {
|
||||
:deep(.el-table td) {
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
</style>
|
||||
@@ -103,239 +103,6 @@
|
||||
']'
|
||||
}}
|
||||
</span>
|
||||
|
||||
<!-- 可滚动的内容区域 -->
|
||||
<div
|
||||
class="prescription-scroll-container"
|
||||
style="
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
overflow-x: auto;
|
||||
max-height: calc(100vh - 300px);
|
||||
width: 100%;
|
||||
"
|
||||
>
|
||||
<!-- 循环显示所有西药方 -->
|
||||
<div
|
||||
v-for="(prescription, pIndex) in westernPrescriptions"
|
||||
:key="prescription.id"
|
||||
style="
|
||||
margin-bottom: 20px;
|
||||
border: 1px solid #e4e7ed;
|
||||
border-radius: 8px;
|
||||
padding: 10px;
|
||||
min-width: fit-content;
|
||||
"
|
||||
>
|
||||
<!-- 西药方标题栏 -->
|
||||
<div
|
||||
class="prescription-header"
|
||||
style="
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: #f5f7fa;
|
||||
padding: 10px 12px;
|
||||
border-radius: 4px;
|
||||
min-height: 40px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
"
|
||||
>
|
||||
<span
|
||||
style="font-weight: 600; font-size: 14px; color: #409eff; flex: 0 0 auto"
|
||||
>{{ prescription.name }}</span
|
||||
>
|
||||
<el-button
|
||||
type="danger"
|
||||
size="small"
|
||||
@click="handleClosePrescription(prescription.id)"
|
||||
style="flex: 0 0 auto; margin-left: 10px"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
<!-- 西药方操作区 -->
|
||||
<div
|
||||
style="
|
||||
margin-bottom: 5px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
"
|
||||
>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="handleAddPrescription(prescription.id)"
|
||||
:disabled="false"
|
||||
>
|
||||
新增
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="handleSaveBatch(prescription.id)"
|
||||
:disabled="false"
|
||||
>
|
||||
保存
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="handleSave(prescription.id)"
|
||||
:disabled="false"
|
||||
>
|
||||
签发
|
||||
</el-button>
|
||||
<el-button
|
||||
type="warning"
|
||||
plain
|
||||
@click="handleSingOut(prescription.id)"
|
||||
:disabled="false"
|
||||
>
|
||||
撤回
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
@click="proxy.$refs.orderFroupRef.handleOpen()"
|
||||
:disabled="false"
|
||||
>
|
||||
组套
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
:disabled="false"
|
||||
@click="proxy.$refs.prescriptionHistoryRef.handleOpen()"
|
||||
>
|
||||
历史
|
||||
</el-button>
|
||||
<el-button
|
||||
type="default"
|
||||
@click="combination(prescription.id)"
|
||||
:disabled="false"
|
||||
>
|
||||
组合
|
||||
</el-button>
|
||||
<el-button type="default" @click="split(prescription.id)" :disabled="false">
|
||||
拆组
|
||||
</el-button>
|
||||
<el-button
|
||||
type="danger"
|
||||
plain
|
||||
@click="handleDelete(prescription.id)"
|
||||
:disabled="false"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
<el-button type="primary" @click="refresh(prescription.id)" :disabled="false">
|
||||
刷新
|
||||
</el-button>
|
||||
<span class="descriptions-item-label"> 诊断: </span>
|
||||
<el-select
|
||||
v-model="prescription.conditionDefinitionId"
|
||||
placeholder="诊断"
|
||||
style="width: 180px"
|
||||
@change="
|
||||
handleDiagnosisChange(prescription.conditionDefinitionId, prescription.id)
|
||||
"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in diagnosisList"
|
||||
:key="item.conditionId"
|
||||
:label="item.name"
|
||||
:value="item.definitionId"
|
||||
/>
|
||||
</el-select>
|
||||
<span class="descriptions-item-label"> 费用性质: </span>
|
||||
<el-select
|
||||
v-model="prescription.accountId"
|
||||
placeholder="费用性质"
|
||||
style="width: 180px"
|
||||
@change="
|
||||
(value) => {
|
||||
accountId = value;
|
||||
}
|
||||
"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in contractList"
|
||||
:key="item.accountId"
|
||||
:label="item.contractName"
|
||||
:value="item.accountId"
|
||||
/>
|
||||
</el-select>
|
||||
<span class="descriptions-item-label">
|
||||
合计金额:{{ getPrescriptionTotalAmount(prescription.id) }}元
|
||||
</span>
|
||||
</div>
|
||||
<el-table
|
||||
max-height="400"
|
||||
:ref="'prescriptionRef' + pIndex"
|
||||
:data="allPrescriptionsData[prescription.id] || []"
|
||||
row-key="uniqueKey"
|
||||
border
|
||||
@cell-click="
|
||||
(row, column, cell, event) =>
|
||||
clickRow(row, column, cell, event, prescription.id)
|
||||
"
|
||||
@row-dblclick="(row, event) => clickRowDb(row, event, prescription.id)"
|
||||
v-loading="loading"
|
||||
:expand-row-keys="prescription.expandOrder || []"
|
||||
style="width: 100%; min-width: 100%"
|
||||
>
|
||||
<el-table-column type="expand" width="1" style="width: 0">
|
||||
<template #default="scope">
|
||||
<el-form
|
||||
:model="scope.row"
|
||||
:rules="rowRules"
|
||||
:ref="'formRef_' + prescription.id + '_' + scope.$index"
|
||||
>
|
||||
<div
|
||||
class="expend_div"
|
||||
style="padding: 16px; background: #f8f9fa; border-radius: 8px"
|
||||
>
|
||||
<template v-if="scope.row.adviceType == 1">
|
||||
<div
|
||||
style="
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 16px;
|
||||
gap: 16px;
|
||||
"
|
||||
>
|
||||
<span class="medicine-title">
|
||||
{{
|
||||
scope.row.adviceName +
|
||||
" " +
|
||||
scope.row.volume +
|
||||
" [" +
|
||||
Number(scope.row.unitPrice).toFixed(2) +
|
||||
" 元" +
|
||||
"/" +
|
||||
scope.row.unitCode_dictText +
|
||||
"]"
|
||||
}}
|
||||
</span>
|
||||
|
||||
<!-- <el-form-item prop="conditionDefinitionId">
|
||||
<el-select
|
||||
v-model="scope.row.conditionDefinitionId"
|
||||
style="width: 180px; margin: 0 20px"
|
||||
placeholder="诊断"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in diagnosisList"
|
||||
:key="item.conditionId"
|
||||
:label="item.name"
|
||||
:value="item.definitionId"
|
||||
@click="handleDiagnosisChange(item, scope.row)"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item> -->
|
||||
<el-form-item prop="lotNumber" label="药房:">
|
||||
<el-select
|
||||
v-model="scope.row.inventoryId"
|
||||
@@ -556,12 +323,13 @@
|
||||
@input="calculateTotalPrice(scope.row, scope.$index)"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-select
|
||||
v-model="scope.row.unitCode"
|
||||
style="width: 70px; margin-right: 20px"
|
||||
placeholder=" "
|
||||
@change="calculateTotalAmount(scope.row, scope.$index)"
|
||||
>
|
||||
<el-form-item>
|
||||
<el-select
|
||||
v-model="scope.row.unitCode"
|
||||
style="width: 70px; margin-right: 20px"
|
||||
placeholder=" "
|
||||
@change="calculateTotalAmount(scope.row, scope.$index)"
|
||||
>
|
||||
<template v-for="item in scope.row.unitCodeList" :key="item.value">
|
||||
<el-option
|
||||
v-if="checkUnit(item, scope.row)"
|
||||
@@ -574,7 +342,7 @@
|
||||
} else {
|
||||
scope.row.unitPrice = scope.row.unitTempPrice;
|
||||
}
|
||||
"
|
||||
}"
|
||||
@input="convertValues(scope.row, scope.$index)"
|
||||
@keyup.enter.prevent="
|
||||
handleEnter(
|
||||
@@ -585,7 +353,9 @@
|
||||
)
|
||||
"
|
||||
/>
|
||||
</el-form-item>
|
||||
</template>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- 剂量单位 -->
|
||||
<el-select
|
||||
v-model="scope.row.unitCode"
|
||||
@@ -868,84 +638,65 @@
|
||||
"]"
|
||||
}}
|
||||
</span>
|
||||
|
||||
<!-- <el-form-item prop="conditionDefinitionId">
|
||||
<el-select
|
||||
v-model="scope.row.inventoryId"
|
||||
style="width: 180px; margin-right: 20px"
|
||||
placeholder="药房"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in scope.row.stockList"
|
||||
:key="item.inventoryId"
|
||||
:value="item.inventoryId"
|
||||
:label="
|
||||
item.locationName +
|
||||
' ' +
|
||||
' 库存:' +
|
||||
stockFormat(scope.row.partPercent, scope.row.unitCodeList, item.quantity)
|
||||
"
|
||||
@click="handleNumberClick(item, scope.$index, scope.row)"
|
||||
/>
|
||||
</el-select>
|
||||
<el-form-item
|
||||
label="数量:"
|
||||
prop="quantity"
|
||||
class="required-field"
|
||||
data-prop="quantity"
|
||||
>
|
||||
<el-input-number
|
||||
placeholder="数量"
|
||||
v-model="scope.row.quantity"
|
||||
style="width: 70px"
|
||||
controls-position="right"
|
||||
:controls="false"
|
||||
:ref="(el) => (inputRefs.quantity = el)"
|
||||
@keyup.enter.prevent="handleEnter('quantity', scope.row, scope.$index)"
|
||||
@input="calculateTotalAmount(scope.row, scope.$index)"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-select
|
||||
v-model="scope.row.unitCode"
|
||||
style="width: 70px; margin-right: 20px"
|
||||
placeholder=" "
|
||||
@change="calculateTotalAmount(scope.row, scope.$index)"
|
||||
>
|
||||
<template v-for="item in scope.row.unitCodeList" :key="item.value">
|
||||
<el-option
|
||||
v-if="item.type != unitMap['dose']"
|
||||
:value="item.value"
|
||||
:label="item.label"
|
||||
@click="
|
||||
() => {
|
||||
scope.row.unitCode_dictText = item.label;
|
||||
}
|
||||
"
|
||||
@keyup.enter.prevent="
|
||||
handleEnter(
|
||||
'executeNum',
|
||||
scope.row,
|
||||
scope.$index,
|
||||
prescription.id
|
||||
)
|
||||
"
|
||||
style="width: 70px; margin-right: 20px"
|
||||
<el-form-item
|
||||
label="数量:"
|
||||
prop="quantity"
|
||||
class="required-field"
|
||||
data-prop="quantity"
|
||||
>
|
||||
<el-input-number
|
||||
placeholder="数量"
|
||||
v-model="scope.row.quantity"
|
||||
style="width: 70px"
|
||||
controls-position="right"
|
||||
:controls="false"
|
||||
:ref="(el) => (inputRefs.quantity = el)"
|
||||
@keyup.enter.prevent="handleEnter('quantity', scope.row, scope.$index)"
|
||||
@input="calculateTotalAmount(scope.row, scope.$index)"
|
||||
/>
|
||||
</template>
|
||||
</el-select>
|
||||
<span class="total-amount">
|
||||
总金额:{{
|
||||
scope.row.totalPrice
|
||||
? Number(scope.row.totalPrice).toFixed(2) + ' 元'
|
||||
: '0.00 元'
|
||||
}}
|
||||
</span>
|
||||
</div>
|
||||
<el-button type="primary" @click="handleSaveSign(scope.row, scope.$index)">
|
||||
确定
|
||||
</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-select
|
||||
v-model="scope.row.unitCode"
|
||||
style="width: 70px; margin-right: 20px"
|
||||
placeholder=" "
|
||||
@change="calculateTotalAmount(scope.row, scope.$index)"
|
||||
>
|
||||
<template v-for="item in scope.row.unitCodeList" :key="item.value">
|
||||
<el-option
|
||||
v-if="item.type != unitMap['dose']"
|
||||
:value="item.value"
|
||||
:label="item.label"
|
||||
@click="
|
||||
() => {
|
||||
scope.row.unitCode_dictText = item.label;
|
||||
}
|
||||
"
|
||||
@keyup.enter.prevent="
|
||||
handleEnter(
|
||||
'executeNum',
|
||||
scope.row,
|
||||
scope.$index,
|
||||
prescription.id
|
||||
)
|
||||
"
|
||||
style="width: 70px; margin-right: 20px"
|
||||
/>
|
||||
</template>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<span class="total-amount">
|
||||
总金额:{{
|
||||
scope.row.totalPrice
|
||||
? Number(scope.row.totalPrice).toFixed(2) + ' 元'
|
||||
: '0.00 元'
|
||||
}}
|
||||
</span>
|
||||
</div>
|
||||
<el-button type="primary" @click="handleSaveSign(scope.row, scope.$index, prescription.id)">
|
||||
确定
|
||||
</el-button>
|
||||
</template>
|
||||
<template v-else>
|
||||
<div style="display: flex; align-items: center; margin-bottom: 16px; gap: 16px">
|
||||
<span style="font-size: 16px; font-weight: 600">
|
||||
@@ -1002,9 +753,7 @@
|
||||
: '0.00 元'
|
||||
}}
|
||||
</span>
|
||||
<span style="font-size: 16px; font-weight: 600">
|
||||
<!-- 金额: {{ scope.row.priceList[0].price }} -->
|
||||
</span>
|
||||
<!-- 金额: {{ scope.row.priceList[0].price }} -->
|
||||
</div>
|
||||
<el-button type="primary" @click="handleSaveSign(scope.row, scope.$index)">
|
||||
确定
|
||||
@@ -2425,63 +2174,6 @@ function handleSkinTest(selectRows) {
|
||||
);
|
||||
}
|
||||
|
||||
// 处理自动带出的诊疗或者耗材
|
||||
function handleOrderBindInfo(bindIdInfo) {
|
||||
const adviceDefinitionIds = bindIdInfo.map((row) => row.orderDefinitionId);
|
||||
getAdviceBaseInfo({ adviceDefinitionIdParamList: adviceDefinitionIds.join(',') }).then((res) => {
|
||||
const list = res.data.records.map((item) => {
|
||||
const info = bindIdInfo.find((k) => k.orderDefinitionId == item.adviceDefinitionId);
|
||||
return {
|
||||
...item,
|
||||
quantity: info.quantity,
|
||||
unitCode: info.unitCode,
|
||||
};
|
||||
});
|
||||
|
||||
list?.forEach((item) => {
|
||||
rowIndex.value = prescriptionList.value.length;
|
||||
setValue(item);
|
||||
|
||||
// 创建新的处方项目
|
||||
const newRow = {
|
||||
...prescriptionList.value[rowIndex.value],
|
||||
uniqueKey: nextId.value++,
|
||||
patientId: props.patientInfo.patientId,
|
||||
encounterId: props.patientInfo.encounterId,
|
||||
accountId: accountId.value,
|
||||
quantity: item.quantity,
|
||||
methodCode: item.methodCode,
|
||||
rateCode: item.rateCode,
|
||||
dispensePerDuration: item.dispensePerDuration,
|
||||
dose: item.dose,
|
||||
doseQuantity: item.doseQuantity,
|
||||
executeNum: 1,
|
||||
unitCode: item.unitCode,
|
||||
unitCode_dictText: item.unitCodeName || '',
|
||||
statusEnum: 1,
|
||||
dbOpType: prescriptionList.value[rowIndex.value].requestId ? '2' : '1',
|
||||
conditionId: conditionId.value,
|
||||
conditionDefinitionId: conditionDefinitionId.value,
|
||||
encounterDiagnosisId: encounterDiagnosisId.value,
|
||||
};
|
||||
|
||||
// 计算价格和总量
|
||||
const unitInfo = unitCodeList.value.find((k) => k.value == item.unitCode);
|
||||
if (unitInfo && unitInfo.type == 'minUnit') {
|
||||
newRow.price = newRow.minUnitPrice;
|
||||
newRow.totalPrice = (item.quantity * newRow.minUnitPrice).toFixed(6);
|
||||
newRow.minUnitQuantity = item.quantity;
|
||||
} else {
|
||||
newRow.price = newRow.unitPrice;
|
||||
newRow.totalPrice = (item.quantity * newRow.unitPrice).toFixed(6);
|
||||
newRow.minUnitQuantity = item.quantity * item.partPercent;
|
||||
}
|
||||
|
||||
newRow.contentJson = JSON.stringify(newRow);
|
||||
prescriptionList.value[rowIndex.value] = newRow;
|
||||
});
|
||||
});
|
||||
}
|
||||
// 单行处方保存
|
||||
function handleSaveSign(row, index, prescriptionId) {
|
||||
// 如果传入了处方ID,先切换到该处方
|
||||
|
||||
@@ -1076,7 +1076,7 @@ function handleCancel() {
|
||||
.el-form--inline .el-form-item {
|
||||
margin-right: 0px;
|
||||
}
|
||||
::v-deep.el-textarea .el-textarea__inner {
|
||||
:deep(.el-textarea .el-textarea__inner) {
|
||||
resize: none !important;
|
||||
}
|
||||
|
||||
@@ -1137,7 +1137,7 @@ function handleCancel() {
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
::v-deep.el-textarea .el-textarea__inner {
|
||||
:deep(.el-textarea .el-textarea__inner) {
|
||||
resize: none !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -173,7 +173,7 @@ defineExpose({
|
||||
th {
|
||||
background-color: #f5f7fa;
|
||||
height: 48px !important;
|
||||
lineheight: 48px !important;
|
||||
line-height: 48px !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -471,7 +471,7 @@ function handelSpanMethod({ row, column, rowIndex, columnIndex }) {
|
||||
}
|
||||
}
|
||||
|
||||
::v-deep.el-textarea .el-textarea__inner {
|
||||
:deep(.el-textarea .el-textarea__inner) {
|
||||
resize: none !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -498,10 +498,10 @@
|
||||
|
||||
<script setup>
|
||||
import { reactive, watch, ref } from 'vue';
|
||||
import formDataJs from '../../doctorstation/components/store/medicalpage';
|
||||
import { patientInfo } from '../../inpatientDoctor/home/store/patient';
|
||||
import diagnosislist from '../../inpatientDoctor/home/components/diagnosis/diagnosislist.vue';
|
||||
import { diagnosisInit } from '../../doctorstation/components/api';
|
||||
import formDataJs from '@/views/doctorstation/components/store/medicalpage';
|
||||
import { patientInfo } from '@/views/inpatientDoctor/home/store/patient';
|
||||
import diagnosislist from '@/views/inpatientDoctor/home/components/diagnosis/diagnosislist.vue';
|
||||
import { diagnosisInit } from '@/views/doctorstation/components/api';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
const { proxy } = getCurrentInstance();
|
||||
const { med_type } = proxy.useDict('med_type');
|
||||
|
||||
@@ -101,7 +101,7 @@ import { ElMessageBox } from 'element-plus';
|
||||
import PatientInfoComp from './patientInfo.vue';
|
||||
import RegisterForm from './registerForm.vue';
|
||||
import { noFilesRegister, registerInHospital, getProvincesAndCities } from './api';
|
||||
import { getInit } from '../../../../doctorstation/components/api';
|
||||
import { getInit } from '@/views/doctorstation/components/api';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { wxPay, WxPayResult } from '../../../../charge/cliniccharge/components/api';
|
||||
import printUtils from '@/utils/printUtils';
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { getCurrentInstance, onActivated, onBeforeMount, onMounted, reactive, ref } from 'vue'
|
||||
import { invoiceSkip } from './index'
|
||||
import invoiceSkip from './invoiceSkip.vue'
|
||||
|
||||
import { ElMessage } from 'element-plus'
|
||||
|
||||
|
||||
@@ -179,15 +179,13 @@ import {
|
||||
ref,
|
||||
watchEffect,
|
||||
} from 'vue'
|
||||
import {
|
||||
receipt,
|
||||
refund,
|
||||
patientList,
|
||||
invoiceSkip,
|
||||
derate,
|
||||
patientListDialog,
|
||||
preSettlement,
|
||||
} from './components/index'
|
||||
import receipt from './components/receipt.vue';
|
||||
import refund from './components/refund.vue';
|
||||
import patientList from './components/patientList.vue';
|
||||
import invoiceSkip from './components/invoiceSkip.vue';
|
||||
import derate from './components/derate.vue';
|
||||
import patientListDialog from './components/patientListDialog.vue';
|
||||
import preSettlement from './components/preSettlement.vue';
|
||||
|
||||
import { ElMessage } from 'element-plus'
|
||||
const { proxy } = getCurrentInstance()
|
||||
|
||||
@@ -110,7 +110,7 @@ import { getCurrentInstance, ref, watch, computed } from 'vue';
|
||||
import { Refresh } from '@element-plus/icons-vue';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import { getBloodTransfusion } from './api';
|
||||
import { getOrgList } from '../../../../doctorstation/components/api.js';
|
||||
import { getOrgList } from '@/views/doctorstation/components/api.js';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ import { getCurrentInstance, ref, watch, computed } from 'vue';
|
||||
import { Refresh } from '@element-plus/icons-vue';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import { getCheck } from './api';
|
||||
import { getOrgList } from '../../../../doctorstation/components/api.js';
|
||||
import { getOrgList } from '@/views/doctorstation/components/api.js';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -945,11 +945,11 @@ const handleConfirm = async () => {
|
||||
font-size: 14px;
|
||||
color: #303133;
|
||||
|
||||
::v-deep .el-table__header {
|
||||
:deep(.el-table__header) {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
::v-deep .el-table__cell {
|
||||
:deep(.el-table__cell) {
|
||||
padding: 12px 10px; /* 增加左右内边距 */
|
||||
text-align: left; /* 调整为左对齐 */
|
||||
border-right: 1px solid #ebeef5;
|
||||
@@ -958,16 +958,16 @@ const handleConfirm = async () => {
|
||||
min-height: 40px; /* 设置最小高度 */
|
||||
}
|
||||
|
||||
::v-deep .el-table__row:hover {
|
||||
:deep(.el-table__row:hover) {
|
||||
background-color: #f5f7fa;
|
||||
}
|
||||
|
||||
::v-deep .el-table__row:nth-child(odd) {
|
||||
:deep(.el-table__row:nth-child(odd)) {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
/* 为操作列设置更宽的最小宽度 */
|
||||
::v-deep .el-table__column--operation {
|
||||
:deep(.el-table__column--operation) {
|
||||
min-width: 400px !important;
|
||||
}
|
||||
}
|
||||
@@ -1031,11 +1031,11 @@ const handleConfirm = async () => {
|
||||
/* 响应式调整 */
|
||||
@media (max-width: 1200px) {
|
||||
.nursing-table {
|
||||
::v-deep .el-table__cell {
|
||||
:deep(.el-table__cell) {
|
||||
padding: 8px 8px;
|
||||
}
|
||||
|
||||
::v-deep .el-table__column--operation {
|
||||
:deep(.el-table__column--operation) {
|
||||
min-width: 350px !important;
|
||||
}
|
||||
}
|
||||
@@ -1055,11 +1055,11 @@ const handleConfirm = async () => {
|
||||
.nursing-table {
|
||||
font-size: 12px;
|
||||
|
||||
::v-deep .el-table__cell {
|
||||
:deep(.el-table__cell) {
|
||||
padding: 6px 6px;
|
||||
}
|
||||
|
||||
::v-deep .el-table__column--operation {
|
||||
:deep(.el-table__column--operation) {
|
||||
min-width: 300px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ import { getCurrentInstance, ref, watch, computed } from 'vue';
|
||||
import { Refresh } from '@element-plus/icons-vue';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import { getSurgery } from './api';
|
||||
import { getOrgList } from '../../../../doctorstation/components/api.js';
|
||||
import { getOrgList } from '@/views/doctorstation/components/api.js';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ import { getCurrentInstance, ref, watch, computed } from 'vue';
|
||||
import { Refresh } from '@element-plus/icons-vue';
|
||||
import { patientInfo } from '../../store/patient.js';
|
||||
import { getInspection } from './api';
|
||||
import { getOrgList } from '../../../../doctorstation/components/api.js';
|
||||
import { getOrgList } from '@/views/doctorstation/components/api.js';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@ import {
|
||||
delEncounterDiagnosis,
|
||||
isFoodDiseasesNew,
|
||||
} from '../api';
|
||||
import { deleteTcmDiagnosis } from '../../../../doctorstation/components/api.js';
|
||||
import { deleteTcmDiagnosis } from '@/views/doctorstation/components/api.js';
|
||||
import diagnosisdialog from '../diagnosis/diagnosisdialog.vue';
|
||||
import AddDiagnosisDialog from './addDiagnosisDialog.vue';
|
||||
import diagnosislist from '../diagnosis/diagnosislist.vue';
|
||||
|
||||
@@ -535,14 +535,14 @@ function getDisplay(triageLevel) {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
::v-deep .el-dialog_header {
|
||||
:deep(.el-dialog_header) {
|
||||
font-size: 20px;
|
||||
/* 设置字体大小 */
|
||||
color: #ff4500;
|
||||
/* 设置字体颜色 */
|
||||
}
|
||||
|
||||
::v-deep .el-card__body {
|
||||
:deep(.el-card__body) {
|
||||
padding: 0px !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -87,7 +87,8 @@
|
||||
<script setup lang="ts">
|
||||
import Filter from '@/components/TableLayout/Filter.vue';
|
||||
import { getCurrentInstance, onBeforeMount, onMounted, reactive, ref, computed } from 'vue';
|
||||
import { TransferInDialog, SignEntryDialog } from './index';
|
||||
import TransferInDialog from './transferInDialog.vue';
|
||||
import SignEntryDialog from './signEntryDialog.vue';
|
||||
import { getPendingInfo, getBedInfo, getInit, childLocationList, getPractitionerWard } from './api';
|
||||
import { formatDate } from '@/utils/index';
|
||||
import { init } from '../../../basicmanage/consumablesBinding/components/api';
|
||||
|
||||
@@ -1114,7 +1114,7 @@ defineExpose({ refreshTap });
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
::v-deep .el-form-item--default .el-form-item__label {
|
||||
:deep(.el-form-item--default .el-form-item__label) {
|
||||
line-height: 44px;
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,8 @@
|
||||
<script setup lang="ts">
|
||||
import { getCurrentInstance, nextTick, onBeforeMount, onMounted, reactive, ref } from 'vue';
|
||||
|
||||
import { BedAllocation, TransferInDialog, SignEntryDialog, TransferOut } from './components/index';
|
||||
import BedAllocation from './components/bedAllocation.vue';
|
||||
import TransferOut from './components/transferOut.vue';
|
||||
// const { proxy } = getCurrentInstance()
|
||||
// const emits = defineEmits([])
|
||||
// const props = defineProps({})
|
||||
|
||||
@@ -275,36 +275,36 @@ const handleSelectionChange = (selection) => {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
::v-deep .el-table__indent {
|
||||
:deep(.el-table__indent) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
::v-deep .el-table__placeholder {
|
||||
:deep(.el-table__placeholder) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
::v-deep .el-table__expanded-cell {
|
||||
:deep(.el-table__expanded-cell) {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
::v-deep .el-table__expanded-cell .el-table__cell {
|
||||
:deep(.el-table__expanded-cell .el-table__cell) {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
::v-deep .el-table__expanded-cell .el-table__cell .patient-name {
|
||||
:deep(.el-table__expanded-cell .el-table__cell .patient-name) {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
::v-deep .cell {
|
||||
:deep(.cell) {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
::v-deep .el-table__expanded-cell {
|
||||
:deep(.el-table__expanded-cell) {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
::v-deep .el-table__expanded-cell .el-table__cell .patient-name {
|
||||
:deep(.el-table__expanded-cell .el-table__cell .patient-name) {
|
||||
margin-left: 4px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -275,36 +275,36 @@ const handleSelectionChange = (selection) => {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
::v-deep .el-table__indent {
|
||||
:deep(.el-table__indent) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
::v-deep .el-table__placeholder {
|
||||
:deep(.el-table__placeholder) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
::v-deep .el-table__expanded-cell {
|
||||
:deep(.el-table__expanded-cell) {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
::v-deep .el-table__expanded-cell .el-table__cell {
|
||||
:deep(.el-table__expanded-cell .el-table__cell) {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
::v-deep .el-table__expanded-cell .el-table__cell .patient-name {
|
||||
:deep(.el-table__expanded-cell .el-table__cell .patient-name) {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
::v-deep .cell {
|
||||
:deep(.cell) {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
::v-deep .el-table__expanded-cell {
|
||||
:deep(.el-table__expanded-cell) {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
::v-deep .el-table__expanded-cell .el-table__cell .patient-name {
|
||||
:deep(.el-table__expanded-cell .el-table__cell .patient-name) {
|
||||
margin-left: 4px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -315,7 +315,7 @@ function deletePrescription(index) {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
::v-deep .business-temperature .el-icon-arrow-down {
|
||||
:deep(.business-temperature .el-icon-arrow-down) {
|
||||
font-size: 12px;
|
||||
}
|
||||
.business1 {
|
||||
@@ -337,7 +337,7 @@ function deletePrescription(index) {
|
||||
display: grid;
|
||||
grid-template-columns: 59px 1px 780px;
|
||||
}
|
||||
::v-deep .business-temperature-sheet .el-icon-arrow-down {
|
||||
:deep(.business-temperature-sheet .el-icon-arrow-down) {
|
||||
font-size: 12px;
|
||||
}
|
||||
</style>
|
||||
@@ -763,7 +763,7 @@ const onCancle = () => {
|
||||
margin-top: 10px;
|
||||
background: red;
|
||||
height: calc(100vh - 280px);
|
||||
.custom-header-table ::v-deep .el-table__header-wrapper th {
|
||||
.custom-header-table :deep(.el-table__header-wrapper th) {
|
||||
background-color: #f5f7fa;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
@@ -610,7 +610,7 @@ function closePatientDetialDialog(str) {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
::v-deep .business-temperature .el-icon-arrow-down {
|
||||
:deep(.business-temperature .el-icon-arrow-down) {
|
||||
font-size: 12px;
|
||||
}
|
||||
.business1 {
|
||||
@@ -632,7 +632,7 @@ function closePatientDetialDialog(str) {
|
||||
display: grid;
|
||||
grid-template-columns: 59px 1px 780px;
|
||||
}
|
||||
::v-deep .business-temperature-sheet .el-icon-arrow-down {
|
||||
:deep(.business-temperature-sheet .el-icon-arrow-down) {
|
||||
font-size: 12px;
|
||||
}
|
||||
#chart {
|
||||
|
||||
@@ -1647,13 +1647,7 @@ function formatPrintData() {
|
||||
printDate: new Date().toLocaleString("zh-CN"),
|
||||
...receiptHeaderForm,
|
||||
purchaseinventoryList: form.purchaseinventoryList,
|
||||
});
|
||||
const printElements = templateJson;
|
||||
var hiprintTemplate = new hiprint.PrintTemplate({ template: printElements }); // 定义模板
|
||||
hiprintTemplate.print2(result, {
|
||||
printer: 'EPSON LQ-80KFII',
|
||||
title: '打印标题',
|
||||
}); //开始打印
|
||||
};
|
||||
}
|
||||
|
||||
function deleteSelectedRows() {
|
||||
|
||||
@@ -1378,7 +1378,6 @@ function handleReject() {
|
||||
}
|
||||
});
|
||||
}
|
||||
const pageLoading = ref(false);
|
||||
function handelApply() {
|
||||
pageLoading.value = true;
|
||||
purchaseInventoryApproved(route.query.originalSupplyBusNo)
|
||||
|
||||
@@ -724,26 +724,6 @@ function handleExport() {
|
||||
);
|
||||
}
|
||||
|
||||
function formatQuantity(row) {
|
||||
if (row.remainder > 0) {
|
||||
return (
|
||||
row.number + ' ' + row.unitCode_dictText + row.remainder + ' ' + row.minUnitCode_dictText
|
||||
);
|
||||
} else {
|
||||
return row.number + ' ' + row.unitCode_dictText;
|
||||
}
|
||||
}
|
||||
// 导出
|
||||
function handleExport() {
|
||||
proxy.downloadGet(
|
||||
'/inventory-manage/product/excel-out',
|
||||
{
|
||||
...queryParams.value,
|
||||
},
|
||||
`库存明细记录_${proxy.formatDateStr(new Date(), 'YYYY-MM-DD')}.xlsx`
|
||||
);
|
||||
}
|
||||
|
||||
/** 清空条件按钮操作 */
|
||||
function handleClear() {
|
||||
// 清空查询条件
|
||||
|
||||
@@ -322,7 +322,7 @@ getContractLists();
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
::v-deep .el-textarea.is-disabled .el-textarea__inner {
|
||||
:deep(.el-textarea.is-disabled .el-textarea__inner) {
|
||||
resize: none !important;
|
||||
}
|
||||
</style>
|
||||
@@ -16,14 +16,6 @@ export function devicePatientList(query) {
|
||||
});
|
||||
}
|
||||
|
||||
export function devicePatientList(query) {
|
||||
return request({
|
||||
url: '/pharmacy-manage/device-dispense/encounter-list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function listInit(query) {
|
||||
return request({
|
||||
url: '/pharmacy-manage/western-medicine-dispense/init',
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -234,4 +234,15 @@ export function gerPreInfo(data) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页查询住院登记信息
|
||||
*/
|
||||
export function getAdmissionPage(query) {
|
||||
return request({
|
||||
url: '/yb-inpatient-request/register-info-page',
|
||||
method: 'get',
|
||||
params: query,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user