机构编辑增加是否启用云胶片选项 修改影像调图按钮会调用父级双击
This commit is contained in:
parent
aa112dd24f
commit
9915776d9f
@ -16,6 +16,7 @@ export interface OrgVO {
|
|||||||
orgLogoUrl: string // 机构logo的URL
|
orgLogoUrl: string // 机构logo的URL
|
||||||
dcmprefix:string//机构dcm前缀
|
dcmprefix:string//机构dcm前缀
|
||||||
dcmurl:string//dcm地址
|
dcmurl:string//dcm地址
|
||||||
|
enableCloudDicom:string //是否启用云胶片
|
||||||
}
|
}
|
||||||
|
|
||||||
// 机构管理 API
|
// 机构管理 API
|
||||||
|
@ -44,6 +44,10 @@ export const ultrasoniccomApi = {
|
|||||||
insimagescreenshot: async (data:insimagescreenshotVO) => {
|
insimagescreenshot: async (data:insimagescreenshotVO) => {
|
||||||
return await request.post({ url: `/ultrasoniccom/ultrasonic/insimagescreenshot`,data})
|
return await request.post({ url: `/ultrasoniccom/ultrasonic/insimagescreenshot`,data})
|
||||||
} ,
|
} ,
|
||||||
|
ftpimage: async (data:insimagescreenshotVO) => {
|
||||||
|
return await request.post({ url: `/ultrasoniccom/ultrasonic/ftpimage`,data})
|
||||||
|
} ,
|
||||||
|
|
||||||
// 查询图片表视频数据
|
// 查询图片表视频数据
|
||||||
getImageVideo: async (regID:string) => {
|
getImageVideo: async (regID:string) => {
|
||||||
return await request.get({ url: `/ultrasoniccom/ultrasonic/GetImageVideo?regID=${regID}` })
|
return await request.get({ url: `/ultrasoniccom/ultrasonic/GetImageVideo?regID=${regID}` })
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
label-width="100px"
|
label-width="100px"
|
||||||
v-loading="formLoading"
|
v-loading="formLoading"
|
||||||
>
|
>
|
||||||
<el-form-item label="机构编码" prop="orgID" label-width="130px">
|
<el-form-item label="机构编码" prop="orgID" label-width="130px">
|
||||||
<el-input v-model="formData.orgID" placeholder="请输入机构编码" />
|
<el-input v-model="formData.orgID" placeholder="请输入机构编码" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="机构名称" prop="orgName" label-width="130px">
|
<el-form-item label="机构名称" prop="orgName" label-width="130px">
|
||||||
@ -29,7 +29,7 @@
|
|||||||
<el-input v-model="formData.highLevelOrgName" :disabled="true" />
|
<el-input v-model="formData.highLevelOrgName" :disabled="true" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="上级机构编码" prop="highLevelOrgID" label-width="130px">
|
<el-form-item label="上级机构编码" prop="highLevelOrgID" label-width="130px">
|
||||||
<el-input v-model="formData.highLevelOrgID" :disabled="true"/>
|
<el-input v-model="formData.highLevelOrgID" :disabled="true" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item label="能收到微信消息提醒的微信列表,格式为:wxopenid1,wxopenid2,wxopenid3" prop="wxOpenidlist">
|
<!-- <el-form-item label="能收到微信消息提醒的微信列表,格式为:wxopenid1,wxopenid2,wxopenid3" prop="wxOpenidlist">
|
||||||
<el-input v-model="formData.wxOpenidlist" placeholder="请输入能收到微信消息提醒的微信列表,格式为:wxopenid1,wxopenid2,wxopenid3" />
|
<el-input v-model="formData.wxOpenidlist" placeholder="请输入能收到微信消息提醒的微信列表,格式为:wxopenid1,wxopenid2,wxopenid3" />
|
||||||
@ -45,7 +45,7 @@
|
|||||||
placeholder="选择创建时间:年月日时分秒"
|
placeholder="选择创建时间:年月日时分秒"
|
||||||
/>
|
/>
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
|
|
||||||
<el-form-item label="机构logo的URL" prop="orgLogoUrl" label-width="130px">
|
<el-form-item label="机构logo的URL" prop="orgLogoUrl" label-width="130px">
|
||||||
<el-input v-model="formData.orgLogoUrl" placeholder="请输入机构logo的URL" />
|
<el-input v-model="formData.orgLogoUrl" placeholder="请输入机构logo的URL" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@ -55,10 +55,25 @@
|
|||||||
<el-form-item label="机构dcm地址" prop="dcmurl" label-width="130px">
|
<el-form-item label="机构dcm地址" prop="dcmurl" label-width="130px">
|
||||||
<el-input v-model="formData.dcmurl" placeholder="请输入dcm地址" />
|
<el-input v-model="formData.dcmurl" placeholder="请输入dcm地址" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="是否启用云胶片" prop="enableCloudDicom" label-width="130px">
|
||||||
|
<el-radio-group v-model="formData.enableCloudDicom">
|
||||||
|
<el-radio-button label="启用" value="1" />
|
||||||
|
<el-radio-button label="关闭" value="0" />
|
||||||
|
</el-radio-group>
|
||||||
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<el-button @click="submitForm" :disabled="formLoading" style="background-color: rgb(56, 119, 246); font-size: 14; color: rgb(255, 255, 255)">确 定</el-button>
|
<el-button
|
||||||
<el-button @click="empty" style="background-color: rgb(56, 119, 246); font-size: 14; color: rgb(255, 255, 255)">清空上级机构</el-button>
|
@click="submitForm"
|
||||||
|
:disabled="formLoading"
|
||||||
|
style="background-color: rgb(56, 119, 246); font-size: 14; color: rgb(255, 255, 255)"
|
||||||
|
>确 定</el-button
|
||||||
|
>
|
||||||
|
<el-button
|
||||||
|
@click="empty"
|
||||||
|
style="background-color: rgb(56, 119, 246); font-size: 14; color: rgb(255, 255, 255)"
|
||||||
|
>清空上级机构</el-button
|
||||||
|
>
|
||||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||||
</template>
|
</template>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
@ -89,15 +104,15 @@ const formData = ref({
|
|||||||
createDate: undefined,
|
createDate: undefined,
|
||||||
highLevelOrgName: undefined,
|
highLevelOrgName: undefined,
|
||||||
orgLogoUrl: undefined,
|
orgLogoUrl: undefined,
|
||||||
dcmprefix:undefined,
|
dcmprefix: undefined,
|
||||||
dcmurl:undefined
|
dcmurl: undefined,
|
||||||
|
enableCloudDicom: '0'
|
||||||
})
|
})
|
||||||
const formRules = reactive({
|
const formRules = reactive({
|
||||||
|
|
||||||
orgID: [{ required: true, message: '请输入机构编码', trigger: 'blur' }],
|
orgID: [{ required: true, message: '请输入机构编码', trigger: 'blur' }],
|
||||||
orgName: [{ required: true, message: '请输入机构名称', trigger: 'blur' }],
|
orgName: [{ required: true, message: '请输入机构名称', trigger: 'blur' }],
|
||||||
contactTel: [{ required: true, message: '请输入机构联系人', trigger: 'blur' }],
|
contactTel: [{ required: true, message: '请输入机构联系人', trigger: 'blur' }],
|
||||||
contactPerson: [{ required: true, message: '请输入机构联系电话', trigger: 'blur' }],
|
contactPerson: [{ required: true, message: '请输入机构联系电话', trigger: 'blur' }]
|
||||||
})
|
})
|
||||||
const formRef = ref() // 表单 Ref
|
const formRef = ref() // 表单 Ref
|
||||||
|
|
||||||
@ -112,6 +127,7 @@ const open = async (type: string, id?: number) => {
|
|||||||
formLoading.value = true
|
formLoading.value = true
|
||||||
try {
|
try {
|
||||||
formData.value = await OrgApi.getOrg(id)
|
formData.value = await OrgApi.getOrg(id)
|
||||||
|
console.log(formData.value.enableCloudDicom)
|
||||||
} finally {
|
} finally {
|
||||||
formLoading.value = false
|
formLoading.value = false
|
||||||
}
|
}
|
||||||
@ -128,21 +144,16 @@ const submitForm = async () => {
|
|||||||
formLoading.value = true
|
formLoading.value = true
|
||||||
const re = ref()
|
const re = ref()
|
||||||
try {
|
try {
|
||||||
|
|
||||||
const data = formData.value as unknown as OrgVO
|
const data = formData.value as unknown as OrgVO
|
||||||
console.log(data.highLevelOrgID)
|
console.log(data.enableCloudDicom)
|
||||||
if (formType.value === 'create') {
|
if (formType.value === 'create') {
|
||||||
re.value= await OrgApi.createOrg(data)
|
re.value = await OrgApi.createOrg(data)
|
||||||
if(re.value==='机构ID已经存在')
|
if (re.value === '机构ID已经存在') {
|
||||||
{
|
|
||||||
message.error(re.value)
|
message.error(re.value)
|
||||||
return
|
return
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
message.success(t('common.createSuccess'))
|
message.success(t('common.createSuccess'))
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
await OrgApi.updateOrg(data)
|
await OrgApi.updateOrg(data)
|
||||||
message.success(t('common.updateSuccess'))
|
message.success(t('common.updateSuccess'))
|
||||||
@ -155,10 +166,9 @@ const submitForm = async () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 清空上级机构
|
// 清空上级机构
|
||||||
const empty=()=>
|
const empty = () => {
|
||||||
{
|
formData.value.highLevelOrgID = undefined
|
||||||
formData.value.highLevelOrgID=undefined
|
formData.value.highLevelOrgName = undefined
|
||||||
formData.value.highLevelOrgName=undefined
|
|
||||||
}
|
}
|
||||||
/** 重置表单 */
|
/** 重置表单 */
|
||||||
const resetForm = () => {
|
const resetForm = () => {
|
||||||
@ -175,9 +185,10 @@ const resetForm = () => {
|
|||||||
createDate: undefined,
|
createDate: undefined,
|
||||||
highLevelOrgName: undefined,
|
highLevelOrgName: undefined,
|
||||||
orgLogoUrl: undefined,
|
orgLogoUrl: undefined,
|
||||||
dcmprefix:undefined,
|
dcmprefix: undefined,
|
||||||
dcmurl:undefined
|
dcmurl: undefined,
|
||||||
|
enableCloudDicom: '0'
|
||||||
}
|
}
|
||||||
formRef.value?.resetFields()
|
formRef.value?.resetFields()
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -265,30 +265,33 @@
|
|||||||
style="color: rgb(56, 119, 246)"
|
style="color: rgb(56, 119, 246)"
|
||||||
size="small"
|
size="small"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="getuporghiorgid(scope.row.id, scope.row.orgId, scope.row.reportstatus)"
|
@click.stop="getuporghiorgid(scope.row.id, scope.row.orgId, scope.row.reportstatus)"
|
||||||
v-hasPermi="['tblist:patientexamlist:query']"
|
v-hasPermi="['tblist:patientexamlist:query']"
|
||||||
>
|
>
|
||||||
申请
|
申请
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button link type="danger" @click="collect(scope.row.id, scope.row.isFavourite)">
|
<el-button link type="danger" @click.stop="collect(scope.row.id, scope.row.isFavourite)">
|
||||||
<el-icon v-if="scope.row.isFavourite==='1'"><StarFilled /></el-icon>
|
<el-icon v-if="scope.row.isFavourite==='1'"><StarFilled /></el-icon>
|
||||||
<el-icon v-else><Star /></el-icon>
|
<el-icon v-else><Star /></el-icon>
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
|
||||||
|
<el-button
|
||||||
link
|
link
|
||||||
|
@dblclick.stop
|
||||||
style="color: rgb(56, 119, 246)"
|
style="color: rgb(56, 119, 246)"
|
||||||
size="small"
|
size="small"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="openexe(scope.row.id,scope.row.orgId,scope.row.regId,scope.row.examId)"
|
@click.stop="openexe(scope.row.id,scope.row.orgId,scope.row.regId,scope.row.examId)"
|
||||||
>
|
>
|
||||||
调图
|
调图
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
link
|
link
|
||||||
style="color: rgb(56, 119, 246)"
|
style="color: rgb(56, 119, 246)"
|
||||||
size="small"
|
size="small"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click=" handleEdit(scope.row,'1')"
|
@click.stop=" handleEdit(scope.row,'1')"
|
||||||
>
|
>
|
||||||
报告
|
报告
|
||||||
</el-button>
|
</el-button>
|
||||||
@ -524,7 +527,6 @@ const getuporghiorgid = async (id: number, orgId: string, reportstatus: string)
|
|||||||
// 打开本地exe 通过注册表
|
// 打开本地exe 通过注册表
|
||||||
const openexe= (id: number, orgid: string, regid: string, examId: string)=>
|
const openexe= (id: number, orgid: string, regid: string, examId: string)=>
|
||||||
{
|
{
|
||||||
console.log(orgid)
|
|
||||||
// 先查询数据
|
// 先查询数据
|
||||||
try {
|
try {
|
||||||
const url = `f1://${examId+','+orgid+','+regid}`;
|
const url = `f1://${examId+','+orgid+','+regid}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user