246 手术管理-》门诊手术安排:点击【编辑】填写手术过程的相关时间字段值点击【保存】报错
251 手术管理-》门诊手术安排:【新增手术安排】界面安排时间字段的时分秒无法选值和未显示 252 手术管理-》门诊手术安排:【新增手术安排】界面的麻醉方法字段未默认取值于手术申请的麻醉方式字段的值 254 手术管理-》门诊手术管理:【新增手术安排】界面的切口类型字段下拉选项未取值
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package com.openhis.web.clinicalmanage.dto;
|
package com.openhis.web.clinicalmanage.dto;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.openhis.surgicalschedule.domain.OpSchedule;
|
import com.openhis.surgicalschedule.domain.OpSchedule;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
@@ -55,6 +56,7 @@ public class OpScheduleDto extends OpSchedule {
|
|||||||
/**
|
/**
|
||||||
* 申请时间开始
|
* 申请时间开始
|
||||||
*/
|
*/
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
|
||||||
private String applyTime;
|
private String applyTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -100,10 +100,12 @@ public class IssueDto {
|
|||||||
|
|
||||||
/** 开始时间 */
|
/** 开始时间 */
|
||||||
@NotNull
|
@NotNull
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date startTime;
|
private Date startTime;
|
||||||
|
|
||||||
/** 结束时间 */
|
/** 结束时间 */
|
||||||
@NotNull
|
@NotNull
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date endTime;
|
private Date endTime;
|
||||||
|
|
||||||
/** 单价 */
|
/** 单价 */
|
||||||
|
|||||||
@@ -76,6 +76,7 @@
|
|||||||
LEFT JOIN adm_organization o ON cs.org_id = o.id
|
LEFT JOIN adm_organization o ON cs.org_id = o.id
|
||||||
LEFT JOIN doc_request_form drf ON drf.prescription_no=cs.surgery_no
|
LEFT JOIN doc_request_form drf ON drf.prescription_no=cs.surgery_no
|
||||||
WHERE os.schedule_id = #{scheduleId}
|
WHERE os.schedule_id = #{scheduleId}
|
||||||
|
LIMIT 1
|
||||||
</select>
|
</select>
|
||||||
<!-- 新增手术安排-->
|
<!-- 新增手术安排-->
|
||||||
<insert id="addSurgerySchedule" useGeneratedKeys="true" keyProperty="scheduleId">
|
<insert id="addSurgerySchedule" useGeneratedKeys="true" keyProperty="scheduleId">
|
||||||
|
|||||||
@@ -75,11 +75,11 @@ public class OpSchedule extends HisBaseEntity {
|
|||||||
private String surgerySite;
|
private String surgerySite;
|
||||||
|
|
||||||
/** 入院时间 */
|
/** 入院时间 */
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
|
||||||
private LocalDateTime admissionTime;
|
private LocalDateTime admissionTime;
|
||||||
|
|
||||||
/** 入手术室时间 */
|
/** 入手术室时间 */
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
|
||||||
private LocalDateTime entryTime;
|
private LocalDateTime entryTime;
|
||||||
|
|
||||||
/** 手术室编码 */
|
/** 手术室编码 */
|
||||||
@@ -138,19 +138,19 @@ public class OpSchedule extends HisBaseEntity {
|
|||||||
private String assistant3Code;
|
private String assistant3Code;
|
||||||
|
|
||||||
/** 手术开始时间 */
|
/** 手术开始时间 */
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
|
||||||
private LocalDateTime startTime;
|
private LocalDateTime startTime;
|
||||||
|
|
||||||
/** 手术结束时间 */
|
/** 手术结束时间 */
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
|
||||||
private LocalDateTime endTime;
|
private LocalDateTime endTime;
|
||||||
|
|
||||||
/** 麻醉开始时间 */
|
/** 麻醉开始时间 */
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
|
||||||
private LocalDateTime anesStart;
|
private LocalDateTime anesStart;
|
||||||
|
|
||||||
/** 麻醉结束时间 */
|
/** 麻醉结束时间 */
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
|
||||||
private LocalDateTime anesEnd;
|
private LocalDateTime anesEnd;
|
||||||
|
|
||||||
/** 手术状态 */
|
/** 手术状态 */
|
||||||
|
|||||||
@@ -1048,6 +1048,8 @@ function submitForm() {
|
|||||||
// 新增手术
|
// 新增手术
|
||||||
addSurgery(form.value).then((res) => {
|
addSurgery(form.value).then((res) => {
|
||||||
proxy.$modal.msgSuccess('新增成功')
|
proxy.$modal.msgSuccess('新增成功')
|
||||||
|
//保存麻醉方式
|
||||||
|
seesionStorage.setItem('anesthesiaType', form.value.anesthesiaTypeEnum)
|
||||||
open.value = false
|
open.value = false
|
||||||
getList()
|
getList()
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
@@ -1058,6 +1060,7 @@ function submitForm() {
|
|||||||
// 修改手术
|
// 修改手术
|
||||||
updateSurgery(form.value).then((res) => {
|
updateSurgery(form.value).then((res) => {
|
||||||
proxy.$modal.msgSuccess('修改成功')
|
proxy.$modal.msgSuccess('修改成功')
|
||||||
|
seesionStorage.setItem('anesthesiaType', form.value.anesthesiaTypeEnum)
|
||||||
open.value = false
|
open.value = false
|
||||||
getList()
|
getList()
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
|
|||||||
@@ -1023,15 +1023,20 @@ function mapOperatingRoomToOption(item) {
|
|||||||
const {
|
const {
|
||||||
surgical_site: surgerySiteList,
|
surgical_site: surgerySiteList,
|
||||||
anesthesia_type: anesthesiaList,
|
anesthesia_type: anesthesiaList,
|
||||||
incision_type: incisionTypeList,
|
incision_level: incisionTypeList,
|
||||||
isolation_type: isolationTypeList,
|
isolation_type: isolationTypeList,
|
||||||
surgery_type,
|
surgery_type,
|
||||||
surgery_level,
|
surgery_level,
|
||||||
surgery_nature: surgeryNatureList
|
surgery_nature: surgeryNatureList
|
||||||
} = useDict('surgical_site', 'anesthesia_type', 'incision_type', 'isolation_type', 'surgery_type', 'surgery_level', 'surgery_nature')
|
} = useDict('surgical_site', 'anesthesia_type', 'incision_level', 'isolation_type', 'surgery_type', 'surgery_level', 'surgery_nature')
|
||||||
|
|
||||||
// 加载数据
|
// 加载数据
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
const anesthesiaType = sessionStorage.getItem('anesthesiaType')
|
||||||
|
if (anesthesiaType) {
|
||||||
|
form.anesMethod = anesthesiaType
|
||||||
|
sessionStorage.removeItem('anesthesiaType')
|
||||||
|
}
|
||||||
getPageList()
|
getPageList()
|
||||||
loadOrgList()
|
loadOrgList()
|
||||||
loadDeptList()
|
loadDeptList()
|
||||||
|
|||||||
Reference in New Issue
Block a user