增加医生ID字段

This commit is contained in:
Euni4U 2024-12-24 10:57:11 +08:00
parent 7666ed77f0
commit 2f3baa07fe
3 changed files with 7 additions and 3 deletions

View File

@ -2,6 +2,7 @@ import request from '@/config/axios'
export interface ProcessManageVO {
id: string // 主键
userId: string // 用户ID
orgId: string // 机构ID
examId: string // 检查ID,一人多个检查的检查id
regId: string // 登记ID :patientid

View File

@ -851,7 +851,7 @@ const handleUpdate = (newValue) => {
}
//
function ECGApplyDialog() {
ECGApply.value.opendiag('1',rowinfo.value,Profilevo.value.orgId,Profilevo.value.doctorname)
ECGApply.value.opendiag('1',rowinfo.value,Profilevo.value.orgId,Profilevo.value.doctorname,Profilevo.value.id)
}
//
function openECGDialog() {

View File

@ -89,7 +89,6 @@ import { ref } from 'vue'
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'
import { formatDate } from '@/utils/formatTime'
import { ProcessManageApi,ProcessManageVO } from '@/api/ECG/processManage'
import { PatientexamlistApi } from '@/api/tblist/patientexamlist'
const Profilevo = ref<ProfileVO>({} as ProfileVO) //
const { t } = useI18n() //
const message = useMessage() //
@ -99,6 +98,7 @@ const issaveshow = ref(false)
const rowinfo = ref() //
const formData = ref({
id: '',
userId: '',
orgId: '',
examId: '',
regId: '',
@ -127,6 +127,7 @@ const rules = {
const resetForm = () => {
formData.value = {
id: '',
userId: '',
orgId: '',
examId: '',
regId: '',
@ -146,7 +147,7 @@ const resetForm = () => {
const opendiag = async (type: string, row: any, orgId: string, doctorname: string) => {
const opendiag = async (type: string, row: any, orgId: string, doctorname: string,id:string) => {
resetForm()
const data = await ProcessManageApi.getPage({
examId: row.examId
@ -166,6 +167,7 @@ const opendiag = async (type: string, row: any, orgId: string, doctorname: strin
formData.value.regId = row.regId
formData.value.pname = row.pname
formData.value.applyDoctor = doctorname
formData.value.userId = id
dialogTitle.value = t('action.' + type)
if(data?.list?.[0]?.processstats === 0){
dialogVisible.value = false
@ -182,6 +184,7 @@ async function save() {
await formRef.value.validate((valid: boolean) => {
if (valid) {
formData.value.id = rowinfo.value.id
formData.value.userId = formData.value.userId
formData.value.examId = rowinfo.value.examId
formData.value.regId = rowinfo.value.regId
formData.value.orgId = formData.value.orgId