增加医生ID字段
This commit is contained in:
parent
7666ed77f0
commit
2f3baa07fe
@ -2,6 +2,7 @@ import request from '@/config/axios'
|
|||||||
|
|
||||||
export interface ProcessManageVO {
|
export interface ProcessManageVO {
|
||||||
id: string // 主键
|
id: string // 主键
|
||||||
|
userId: string // 用户ID
|
||||||
orgId: string // 机构ID
|
orgId: string // 机构ID
|
||||||
examId: string // 检查ID,一人多个检查的检查id
|
examId: string // 检查ID,一人多个检查的检查id
|
||||||
regId: string // 登记ID :patientid
|
regId: string // 登记ID :patientid
|
||||||
|
@ -851,7 +851,7 @@ const handleUpdate = (newValue) => {
|
|||||||
}
|
}
|
||||||
//申请返修界面弹窗
|
//申请返修界面弹窗
|
||||||
function ECGApplyDialog() {
|
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() {
|
function openECGDialog() {
|
||||||
|
@ -89,7 +89,6 @@ import { ref } from 'vue'
|
|||||||
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'
|
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'
|
||||||
import { formatDate } from '@/utils/formatTime'
|
import { formatDate } from '@/utils/formatTime'
|
||||||
import { ProcessManageApi,ProcessManageVO } from '@/api/ECG/processManage'
|
import { ProcessManageApi,ProcessManageVO } from '@/api/ECG/processManage'
|
||||||
import { PatientexamlistApi } from '@/api/tblist/patientexamlist'
|
|
||||||
const Profilevo = ref<ProfileVO>({} as ProfileVO) //当前登录人信息
|
const Profilevo = ref<ProfileVO>({} as ProfileVO) //当前登录人信息
|
||||||
const { t } = useI18n() // 国际化
|
const { t } = useI18n() // 国际化
|
||||||
const message = useMessage() // 消息弹窗
|
const message = useMessage() // 消息弹窗
|
||||||
@ -99,6 +98,7 @@ const issaveshow = ref(false)
|
|||||||
const rowinfo = ref() //当前患者数据行
|
const rowinfo = ref() //当前患者数据行
|
||||||
const formData = ref({
|
const formData = ref({
|
||||||
id: '',
|
id: '',
|
||||||
|
userId: '',
|
||||||
orgId: '',
|
orgId: '',
|
||||||
examId: '',
|
examId: '',
|
||||||
regId: '',
|
regId: '',
|
||||||
@ -127,6 +127,7 @@ const rules = {
|
|||||||
const resetForm = () => {
|
const resetForm = () => {
|
||||||
formData.value = {
|
formData.value = {
|
||||||
id: '',
|
id: '',
|
||||||
|
userId: '',
|
||||||
orgId: '',
|
orgId: '',
|
||||||
examId: '',
|
examId: '',
|
||||||
regId: '',
|
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()
|
resetForm()
|
||||||
const data = await ProcessManageApi.getPage({
|
const data = await ProcessManageApi.getPage({
|
||||||
examId: row.examId
|
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.regId = row.regId
|
||||||
formData.value.pname = row.pname
|
formData.value.pname = row.pname
|
||||||
formData.value.applyDoctor = doctorname
|
formData.value.applyDoctor = doctorname
|
||||||
|
formData.value.userId = id
|
||||||
dialogTitle.value = t('action.' + type)
|
dialogTitle.value = t('action.' + type)
|
||||||
if(data?.list?.[0]?.processstats === 0){
|
if(data?.list?.[0]?.processstats === 0){
|
||||||
dialogVisible.value = false
|
dialogVisible.value = false
|
||||||
@ -182,6 +184,7 @@ async function save() {
|
|||||||
await formRef.value.validate((valid: boolean) => {
|
await formRef.value.validate((valid: boolean) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
formData.value.id = rowinfo.value.id
|
formData.value.id = rowinfo.value.id
|
||||||
|
formData.value.userId = formData.value.userId
|
||||||
formData.value.examId = rowinfo.value.examId
|
formData.value.examId = rowinfo.value.examId
|
||||||
formData.value.regId = rowinfo.value.regId
|
formData.value.regId = rowinfo.value.regId
|
||||||
formData.value.orgId = formData.value.orgId
|
formData.value.orgId = formData.value.orgId
|
||||||
|
Loading…
Reference in New Issue
Block a user