增加PACS列表申请功能接口 和修改界面样式
This commit is contained in:
parent
c860d90ad5
commit
aa14e004d2
@ -58,4 +58,9 @@ export const PatientexamlistApi = {
|
|||||||
exportPatientexamlist: async (params) => {
|
exportPatientexamlist: async (params) => {
|
||||||
return await request.download({ url: `/tblist/patientexamlist/export-excel`, params })
|
return await request.download({ url: `/tblist/patientexamlist/export-excel`, params })
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
getuporghiid: async (id: number,orgId:String) => {
|
||||||
|
return await request.download({ url: `/tblist/patientexamlist/UPDATEHigOrg?id=${id}&&orgId=${orgId}` })
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
@ -106,6 +106,7 @@
|
|||||||
>
|
>
|
||||||
<el-option label="未申请" value="未申请" />
|
<el-option label="未申请" value="未申请" />
|
||||||
<el-option label="已申请" value="已申请" />
|
<el-option label="已申请" value="已申请" />
|
||||||
|
<el-option label="已分析" value="已分析" />
|
||||||
<el-option label="已审核" value="已审核" />
|
<el-option label="已审核" value="已审核" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@ -290,7 +291,9 @@
|
|||||||
|
|
||||||
<el-table-column label="报告状态" align="center" prop="reportstatus" >
|
<el-table-column label="报告状态" align="center" prop="reportstatus" >
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tag>{{ scope.row.reportstatus }}</el-tag>
|
<el-tag :type="scope.row.reportstatus === '已审核' ? 'danger':'success'">
|
||||||
|
<span style="">{{ scope.row.reportstatus }}</span>
|
||||||
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
@ -353,8 +356,8 @@
|
|||||||
size="small"
|
size="small"
|
||||||
|
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="openForm('update', scope.row.id)"
|
@click="getuporghiorgid(scope.row.id, scope.row.orgId,scope.row.reportstatus)"
|
||||||
v-hasPermi="['tblist:patientexamlist:update']"
|
v-hasPermi="['tblist:patientexamlist:query']"
|
||||||
>
|
>
|
||||||
申请
|
申请
|
||||||
</el-button>
|
</el-button>
|
||||||
@ -412,8 +415,8 @@ const queryParams = reactive({
|
|||||||
applicationDate: [],
|
applicationDate: [],
|
||||||
uploadDate: [],
|
uploadDate: [],
|
||||||
orgName: undefined,
|
orgName: undefined,
|
||||||
orgId: undefined,
|
orgId: "",
|
||||||
highLevelOrgId: undefined,
|
highLevelOrgId: "",
|
||||||
createDate: [],
|
createDate: [],
|
||||||
examDescription: undefined,
|
examDescription: undefined,
|
||||||
diagResults: undefined,
|
diagResults: undefined,
|
||||||
@ -495,6 +498,9 @@ const getList = async () => {
|
|||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
const handleQuery = () => {
|
const handleQuery = () => {
|
||||||
queryParams.pageNo = 1
|
queryParams.pageNo = 1
|
||||||
|
//获取到当前登陆用户的机构时 要进行赋值
|
||||||
|
queryParams.orgId=""
|
||||||
|
queryParams.highLevelOrgId=""
|
||||||
getList()
|
getList()
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -518,6 +524,27 @@ const openForm = (type: string, id?: number) => {
|
|||||||
formRef.value.open(type, id)
|
formRef.value.open(type, id)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** 申请后更新上级机构字段*/
|
||||||
|
const getuporghiorgid=async (id: number,orgId:string,reportstatus:string) => {
|
||||||
|
try {
|
||||||
|
if(reportstatus=="未申请")
|
||||||
|
{
|
||||||
|
await message.confirm("是否要进行申请?","确认提示")
|
||||||
|
await PatientexamlistApi.getuporghiid(id,orgId)
|
||||||
|
message.success(t('common.delSuccess'))
|
||||||
|
// 刷新列表
|
||||||
|
await getList()
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
await message. info("只有未申请才可以进行操作")
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch {}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/** 删除按钮操作 */
|
/** 删除按钮操作 */
|
||||||
const handleDelete = async (id: number) => {
|
const handleDelete = async (id: number) => {
|
||||||
try {
|
try {
|
||||||
@ -559,6 +586,8 @@ const handleExport = async () => {
|
|||||||
|
|
||||||
/** 初始化 **/
|
/** 初始化 **/
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|
||||||
|
//在初始化的时候查询到当前登陆用户的机构 和上级机构
|
||||||
/** aaaaa **/
|
/** aaaaa **/
|
||||||
//新代码
|
//新代码
|
||||||
examDate_radio_change();
|
examDate_radio_change();
|
||||||
|
Loading…
Reference in New Issue
Block a user