修改申请单登记、超声工作台、影像工作台、检查项目管理、机构管理、接口配置管理、医生管理、科室管理 样式
This commit is contained in:
parent
e56a836231
commit
9d4f75777f
@ -69,19 +69,19 @@ function next(imgId) {
|
||||
}
|
||||
var imgId = data.imageIds[index];
|
||||
data.currentImageIdIndex = index;
|
||||
cornerstone.loadAndCacheImage(imgId).then(function (image) {
|
||||
cornerstone.loadImage(imgId).then(function (image) {
|
||||
cornerstone.enable(stateData.element);
|
||||
cornerstone.displayImage(stateData.element, image);
|
||||
renderTagText(stateData.element, image)
|
||||
});
|
||||
for (var i = 0; i < 10; i++) {
|
||||
if (index + i == data.imageIds.length - 1) {
|
||||
break;
|
||||
}
|
||||
cornerstone.loadImage(data.imageIds[index + i]).then((image) => {
|
||||
console.log("loaded ok " + data.imageIds[index + i]);
|
||||
})
|
||||
}
|
||||
//for (var i = 0; i < 10; i++) {
|
||||
// if (index + i == data.imageIds.length - 1) {
|
||||
// break;
|
||||
// }
|
||||
// cornerstone.loadImage(data.imageIds[index + i]).then((image) => {
|
||||
// console.log("loaded ok " + data.imageIds[index + i]);
|
||||
// })
|
||||
//}
|
||||
setSliderValue(stateData.element.id)
|
||||
}
|
||||
|
||||
@ -475,15 +475,15 @@ function initData() {
|
||||
var data= JSON.parse(localData.do);
|
||||
console.log("网页接受到数据"+data)
|
||||
stateData.dicomInfo = data;
|
||||
//初始化进度
|
||||
initProcess();
|
||||
initImgList(stateData.dicomInfo);
|
||||
//初始化进度
|
||||
initProcess();
|
||||
initImgList(stateData.dicomInfo);
|
||||
//加载icon图片
|
||||
convertDicom2Img();
|
||||
//缓存文件
|
||||
setTimeout(function () {
|
||||
cacheImages();
|
||||
}, 500)
|
||||
convertDicom2Img();
|
||||
//缓存文件
|
||||
setTimeout(function () {
|
||||
cacheImages();
|
||||
}, 500)
|
||||
initConerstoneAndData();
|
||||
|
||||
}
|
||||
@ -552,14 +552,14 @@ function changeSlider(imgId, slider) {
|
||||
cornerstone.displayImage(stateData.element, image);
|
||||
renderTagText(stateData.element, image)
|
||||
});
|
||||
for (var i = 0; i < 10; i++) {
|
||||
if (index + i == data.imageIds.length - 1) {
|
||||
break;
|
||||
}
|
||||
cornerstone.loadImage(data.imageIds[index + i]).then((image) => {
|
||||
console.log("loaded ok " + data.imageIds[index + i]);
|
||||
})
|
||||
}
|
||||
//for (var i = 0; i < 10; i++) {
|
||||
// if (index + i == data.imageIds.length - 1) {
|
||||
// break;
|
||||
// }
|
||||
// cornerstone.loadImage(data.imageIds[index + i]).then((image) => {
|
||||
// console.log("loaded ok " + data.imageIds[index + i]);
|
||||
// })
|
||||
//}
|
||||
}
|
||||
|
||||
//渲染标签文本
|
||||
@ -655,20 +655,87 @@ function doCreate() {
|
||||
}
|
||||
|
||||
function cacheImages() {
|
||||
cacheImageIndex(0);
|
||||
//cacheImageIndex(0);
|
||||
startCache();
|
||||
}
|
||||
|
||||
var cacheInterval = setInterval(
|
||||
function () {
|
||||
let size = stateData.dicomInfo.seriesList.length;
|
||||
for (var i = 0; i < size; i++) {
|
||||
let p = stateData.processMapping.get(i);
|
||||
if (p >= stateData.dicomInfo.seriesList[i].instanceList.length) {
|
||||
cacheImageIndex(i + 1)
|
||||
}
|
||||
//var cacheInterval = setInterval(
|
||||
// function () {
|
||||
// let size = stateData.dicomInfo.seriesList.length;
|
||||
// for (var i = 0; i < size; i++) {
|
||||
// let p = stateData.processMapping.get(i);
|
||||
// if (p >= stateData.dicomInfo.seriesList[i].instanceList.length) {
|
||||
// cacheImageIndex(i + 1)
|
||||
// }
|
||||
// }
|
||||
// }, 200
|
||||
//);
|
||||
|
||||
function cacheImageIndex1(a) {
|
||||
if (a >= stateData.dicomInfo.seriesList.length) {
|
||||
clearInterval(cacheInterval);
|
||||
return;
|
||||
}
|
||||
var series = stateData.dicomInfo.seriesList[a].instanceList
|
||||
const scheme = 'wadouri'
|
||||
const baseUrl = ''
|
||||
const imageIds = series.map(seriesImage => `${scheme}:${baseUrl}${seriesImage.imageid}`)
|
||||
for (var j = 0; j < imageIds.length; j++) {
|
||||
cornerstone.loadAndCacheImage(imageIds[j]).then(() => {
|
||||
updateProcess(a, "cacheImages");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
var cacheProcess = {
|
||||
index: 0,
|
||||
sindex: 0,
|
||||
isOk: null,
|
||||
end: false
|
||||
}
|
||||
|
||||
var cacheInterval = null;
|
||||
|
||||
function startCache() {
|
||||
cacheInterval = setInterval(function () {
|
||||
//如果已经结束,清除定时器
|
||||
if (cacheProcess.end) {
|
||||
console.log("缓存结束-清除定时器");
|
||||
clearInterval(cacheInterval);
|
||||
return;
|
||||
}
|
||||
}, 200
|
||||
);
|
||||
//如果未缓存完成,直接返回
|
||||
if (cacheProcess.isOk == false) {
|
||||
console.log("缓存未完成-直接返回");
|
||||
return;
|
||||
}
|
||||
else if (cacheProcess.isOk == null || cacheProcess.isOk == true) {
|
||||
console.log("缓存开始");
|
||||
cacheProcess.isOk = false;
|
||||
var imageIds = stateData.dicomInfo.seriesList[cacheProcess.index].instanceList;
|
||||
//上一个序列加载完成
|
||||
if (imageIds.length <= cacheProcess.sindex) {
|
||||
cacheProcess.index++;
|
||||
cacheProcess.sindex = 0;
|
||||
}
|
||||
if (stateData.dicomInfo.seriesList.length == cacheProcess.index) {
|
||||
cacheProcess.end = true;
|
||||
return;
|
||||
}
|
||||
imageIds = stateData.dicomInfo.seriesList[cacheProcess.index].instanceList;
|
||||
const scheme = 'wadouri'
|
||||
const baseUrl = ''
|
||||
const imageId = `${scheme}:${baseUrl}${imageIds[cacheProcess.sindex].imageid}`
|
||||
cornerstone.loadAndCacheImage(imageId).then(() => {
|
||||
console.log("缓存回调--",cacheProcess);
|
||||
updateProcess(cacheProcess.index);
|
||||
cacheProcess.isOk = true;
|
||||
cacheProcess.sindex++;
|
||||
console.log("缓存回调用,更新索引--", cacheProcess);
|
||||
});
|
||||
}
|
||||
}, 10)
|
||||
}
|
||||
|
||||
function cacheImageIndex(a) {
|
||||
if (a >= stateData.dicomInfo.seriesList.length) {
|
||||
@ -680,7 +747,7 @@ function cacheImageIndex(a) {
|
||||
const baseUrl = ''
|
||||
const imageIds = series.map(seriesImage => `${scheme}:${baseUrl}${seriesImage.imageid}`)
|
||||
for (var j = 0; j < imageIds.length; j++) {
|
||||
cornerstone.loadImage(imageIds[j]).then(() => {
|
||||
cornerstone.loadAndCacheImage(imageIds[j]).then(() => {
|
||||
updateProcess(a, "cacheImages");
|
||||
});
|
||||
}
|
||||
|
7
public/static/svg/批量分检.svg
Normal file
7
public/static/svg/批量分检.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
||||
<path stroke="rgba(255, 255, 255, 1)" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round" d="M6.33398 3.33329L6.33398 2.33329C6.33398 1.9651 6.63245 1.66663 7.00065 1.66663L13.6673 1.66663C14.0355 1.66663 14.334 1.9651 14.334 2.33329L14.334 9.66663C14.334 10.0348 14.0355 10.3333 13.6673 10.3333L12.334 10.3333">
|
||||
</path>
|
||||
<path fill="rgba(255, 255, 255, 1)" d="M2.66602 5.25L8.66602 5.25C9.63251 5.25 10.416 6.0335 10.416 7L10.416 13C10.416 13.9665 9.63251 14.75 8.66602 14.75L2.66602 14.75C1.69952 14.75 0.916016 13.9665 0.916016 13L0.916016 7C0.916016 6.0335 1.69952 5.25 2.66602 5.25ZM2.66602 6.75C2.52794 6.75 2.41602 6.86193 2.41602 7L2.41602 13C2.41602 13.1381 2.52794 13.25 2.66602 13.25L8.66602 13.25C8.80409 13.25 8.91602 13.1381 8.91602 13L8.91602 7C8.91602 6.86193 8.80409 6.75 8.66602 6.75L2.66602 6.75Z">
|
||||
</path>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1004 B |
@ -260,7 +260,7 @@ const clear = () => {
|
||||
<ColorRadioPicker
|
||||
v-model="menuTheme"
|
||||
:schema="[
|
||||
'#fff',
|
||||
'#4F8AF0 ',//#fff
|
||||
'#001529',
|
||||
'#212121',
|
||||
'#273352',
|
||||
@ -268,6 +268,7 @@ const clear = () => {
|
||||
'#383f45',
|
||||
'#001628',
|
||||
'#344058'
|
||||
|
||||
]"
|
||||
@change="setMenuTheme"
|
||||
/>
|
||||
|
@ -42,10 +42,14 @@ import Logger from '@/utils/Logger'
|
||||
|
||||
import VueDOMPurifyHTML from 'vue-dompurify-html' // 解决v-html 的安全隐患
|
||||
import print from "vue3-print-nb";//打印的
|
||||
|
||||
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
||||
// 创建实例
|
||||
const setupAll = async () => {
|
||||
const app = createApp(App)
|
||||
|
||||
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
||||
app.component(key, component)
|
||||
}
|
||||
await setupI18n(app)
|
||||
|
||||
setupStore(app)
|
||||
|
@ -70,21 +70,21 @@ export const useAppStore = defineStore('app', {
|
||||
currentSize: wsCache.get('default') || 'default', // 组件尺寸
|
||||
theme: wsCache.get(CACHE_KEY.THEME) || {
|
||||
// 主题色
|
||||
elColorPrimary: '#409eff',
|
||||
elColorPrimary: '#4F8AF0', //#409eff
|
||||
// 左侧菜单边框颜色
|
||||
leftMenuBorderColor: 'inherit',
|
||||
// 左侧菜单背景颜色
|
||||
leftMenuBgColor: '#001529',
|
||||
leftMenuBgColor: '#4F8AF0', //#001529
|
||||
// 左侧菜单浅色背景颜色
|
||||
leftMenuBgLightColor: '#0f2438',
|
||||
leftMenuBgLightColor: '#4F8AF0',//#0f2438
|
||||
// 左侧菜单选中背景颜色
|
||||
leftMenuBgActiveColor: 'var(--el-color-primary)',
|
||||
// 左侧菜单收起选中背景颜色
|
||||
leftMenuCollapseBgActiveColor: 'var(--el-color-primary)',
|
||||
// 左侧菜单字体颜色
|
||||
leftMenuTextColor: '#bfcbd9',
|
||||
leftMenuTextColor: '#FFFFFF',//#bfcbd9
|
||||
// 左侧菜单选中字体颜色
|
||||
leftMenuTextActiveColor: '#fff',
|
||||
leftMenuTextActiveColor: '#c9c4c4',
|
||||
// logo字体颜色
|
||||
logoTitleTextColor: '#fff',
|
||||
// logo边框颜色
|
||||
|
@ -28,7 +28,7 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button>
|
||||
<el-button @click="submitForm" style="background-color: rgb(56, 119, 246); font-size: 14; color: rgb(255, 255, 255)" :disabled="formLoading">确 定</el-button>
|
||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -58,7 +58,7 @@
|
||||
|
||||
<!-- </el-form> -->
|
||||
<template #footer>
|
||||
<el-button type="primary" :disabled="formLoading" v-print="'printMe'">打印</el-button>
|
||||
<el-button style="background-color: rgb(56, 119, 246); font-size: 14; color: rgb(255, 255, 255)" :disabled="formLoading" v-print="'printMe'">打印</el-button>
|
||||
<el-button @click="dialogVisible = false">关闭</el-button>
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -1,166 +1,153 @@
|
||||
<template>
|
||||
<ContentWrap>
|
||||
<ContentWrap style="height: 146px;">
|
||||
<!-- 搜索工作栏 -->
|
||||
<el-form
|
||||
class="-mb-15px"
|
||||
:model="queryParams"
|
||||
ref="queryFormRef"
|
||||
:inline="true"
|
||||
label-width="68px"
|
||||
>
|
||||
<el-form-item label="登记来源" prop="regSource">
|
||||
<el-select
|
||||
v-model="queryParams.regSource"
|
||||
placeholder="请选择来源"
|
||||
clearable
|
||||
class="!w-200px"
|
||||
>
|
||||
<el-option label="门诊" value="门诊" />
|
||||
<el-option label="住院" value="住院" />
|
||||
<el-option label="体检" value="体检" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="患者姓名" prop="pName">
|
||||
<el-input
|
||||
v-model="queryParams.pname"
|
||||
placeholder="请输入患者姓名"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-150px"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="登记时间" prop="regDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.regDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-200px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="分检时间" prop="sortDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.sortDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-200px"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="登记单号" prop="regId">
|
||||
<el-input
|
||||
v-model="queryParams.regId"
|
||||
placeholder="请输入登记单号"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-150px"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="检查单号" prop="examId">
|
||||
<el-input
|
||||
v-model="queryParams.examId"
|
||||
placeholder="请输入检查单号"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-150px"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
<!-- <el-form-item label="检查日期" prop="examDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.examDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="检查项目名称" prop="examItemName">
|
||||
<el-input
|
||||
v-model="queryParams.examItemName"
|
||||
placeholder="请输入检查项目名称"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="检查状态" prop="examStatus">
|
||||
<el-select
|
||||
v-model="queryParams.examStatus"
|
||||
placeholder="请选择检查状态"
|
||||
clearable
|
||||
class="!w-200px"
|
||||
>
|
||||
<el-option label="未分检" value="未分检" />
|
||||
<el-option label="未检查" value="未检查" />
|
||||
<el-option label="已检查" value="已检查" />
|
||||
<el-option label="已放弃" value="已放弃" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="执行科室" prop="deviceDepartment">
|
||||
<el-select
|
||||
v-model="queryParams.deviceDepartment"
|
||||
placeholder="请选择执行科室"
|
||||
clearable
|
||||
class="!w-200px"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in fordepartementData"
|
||||
:key="item.id"
|
||||
:label="item.departmentName"
|
||||
:value="item.departmentName"
|
||||
|
||||
<el-form
|
||||
class="-mb-15px"
|
||||
:model="queryParams"
|
||||
ref="queryFormRef"
|
||||
:inline="true"
|
||||
label-width="100px"
|
||||
>
|
||||
<el-row :gutter="10">
|
||||
<el-col :span="5">
|
||||
<el-form-item label="登记来源" prop="regSource">
|
||||
<el-select
|
||||
v-model="queryParams.regSource"
|
||||
placeholder="请选择来源"
|
||||
clearable
|
||||
class="!w-190px"
|
||||
>
|
||||
<el-option label="门诊" value="门诊" />
|
||||
<el-option label="住院" value="住院" />
|
||||
<el-option label="体检" value="体检" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<el-form-item label="患者姓名" prop="pName">
|
||||
<el-input
|
||||
v-model="queryParams.pname"
|
||||
placeholder="请输入患者姓名"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-190px"
|
||||
/>
|
||||
<!-- <el-option label="影像科" value="影像科" /> -->
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item>
|
||||
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
<!-- <el-button
|
||||
type="primary"
|
||||
plain
|
||||
@click="openForm('create')"
|
||||
v-hasPermi="['applyregistration:applyform:create']"
|
||||
v-if="false"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button> -->
|
||||
<el-button
|
||||
type="success"
|
||||
plain
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['applyregistration:applyform:export']"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
<el-button
|
||||
type="success"
|
||||
plain
|
||||
@click="batchhandle(Profilevo.username)"
|
||||
v-hasPermi="['applyregistration:applyform:update']"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 批量分检
|
||||
</el-button>
|
||||
<el-button @click="Sync" type="primary"
|
||||
><Icon icon="ep:refresh" class="mr-5px" /> 同步</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<el-form-item label="登记时间" prop="regDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.regDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-190px"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<el-form-item label="分检时间" prop="sortDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.sortDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-190px"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<el-form-item label="登记单号" prop="regId">
|
||||
<el-input
|
||||
v-model="queryParams.regId"
|
||||
placeholder="请输入登记单号"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-190px"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<el-form-item label="检查单号" prop="examId">
|
||||
<el-input
|
||||
v-model="queryParams.examId"
|
||||
placeholder="请输入检查单号"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-190px"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<el-form-item label="检查状态" prop="examStatus">
|
||||
<el-select
|
||||
v-model="queryParams.examStatus"
|
||||
placeholder="请选择检查状态"
|
||||
clearable
|
||||
class="!w-210px"
|
||||
>
|
||||
<el-option label="未分检" value="未分检" />
|
||||
<el-option label="未检查" value="未检查" />
|
||||
<el-option label="已检查" value="已检查" />
|
||||
<el-option label="已放弃" value="已放弃" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<el-form-item label="执行科室" prop="deviceDepartment">
|
||||
<el-select
|
||||
v-model="queryParams.deviceDepartment"
|
||||
placeholder="请选择执行科室"
|
||||
clearable
|
||||
class="!w-210px"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in fordepartementData"
|
||||
:key="item.id"
|
||||
:label="item.departmentName"
|
||||
:value="item.departmentName"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
</el-row>
|
||||
</el-form>
|
||||
<el-form-item>
|
||||
<el-button @click="handleQuery" style="margin-right: 0px; margin-left: auto; background-color: rgba(56, 119, 246, 1);font-size: 14px; color: rgba(255, 255, 255, 1);" >
|
||||
<Icon icon="ep:search" class="mr-5px" /> 搜索</el-button
|
||||
>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
<ContentWrap style="height: 65px;">
|
||||
<el-form-item>
|
||||
<el-button
|
||||
style="background-color: rgb(87, 120, 230); font-size: 14px; color: rgb(255, 255, 255);"
|
||||
@click="batchhandle(Profilevo.username)"
|
||||
v-hasPermi="['applyregistration:applyform:update']"
|
||||
>
|
||||
<el-icon class="mr-5px" style="width: 108px;"><CopyDocument/>批量分检</el-icon>
|
||||
</el-button>
|
||||
<el-button
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['applyregistration:applyform:export']"
|
||||
style="margin-right: 0px; margin-left: auto;background-color: rgb(56, 119, 246); font-size: 14; color: rgb(255, 255, 255);"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
|
||||
<el-button @click="Sync"
|
||||
style="background-color: rgb(28, 176, 117);font-size: 14; color: rgb(255, 255, 255);"><Icon icon="ep:refresh" class="mr-5px" /> 同步</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
<!-- 列表 -->
|
||||
<ContentWrap>
|
||||
<el-table
|
||||
@ -169,6 +156,8 @@
|
||||
:stripe="true"
|
||||
:show-overflow-tooltip="true"
|
||||
@selection-change="handleSelectionChange"
|
||||
:header-cell-style="{ background: 'rgb(235, 241, 250)',height:'56px' }"
|
||||
:row-style="{height:'56px'}"
|
||||
>
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="主键" align="center" prop="id" v-if="false" />
|
||||
@ -195,7 +184,7 @@
|
||||
<el-table-column label="检查项目名称" align="center" prop="examItemName" width="130px" />
|
||||
<el-table-column label="检查设备ID" align="center" prop="deviceId" v-if="false" />
|
||||
<el-table-column label="检查设备" align="center" prop="deviceName" width="130px" />
|
||||
<el-table-column label="联系电话" align="center" prop="contactTel" width="120px"/>
|
||||
<el-table-column label="联系电话" align="center" prop="contactTel" width="120px" />
|
||||
<el-table-column
|
||||
label="登记时间"
|
||||
align="center"
|
||||
@ -230,28 +219,35 @@
|
||||
<el-table-column label="检查项目代码" align="center" prop="examItemCode" v-if="false" />
|
||||
<el-table-column label="机构ID" align="center" prop="orgId" v-if="false" />
|
||||
<el-table-column label="分检医生" align="center" prop="sortDoctor" width="100px" />
|
||||
<el-table-column label="操作" align="center" fixed="right" width="180px">
|
||||
<el-table-column label="操作" align="center" fixed="right" width="180px" >
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
link
|
||||
type="primary"
|
||||
@click="
|
||||
openForm('分检', scope.row.pname, scope.row.orgId, scope.row.id, scope.row.examStatus,scope.row)
|
||||
openForm(
|
||||
'分检',
|
||||
scope.row.pname,
|
||||
scope.row.orgId,
|
||||
scope.row.id,
|
||||
scope.row.examStatus,
|
||||
scope.row
|
||||
)
|
||||
"
|
||||
style="color: rgb(56, 119, 246);"
|
||||
v-hasPermi="['applyregistration:applyform:update']"
|
||||
>
|
||||
分检
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
type="danger"
|
||||
style="color: rgb(223, 65, 65);"
|
||||
@click="handleDelete(scope.row.id, scope.row.examStatus)"
|
||||
v-hasPermi="['applyregistration:applyform:delete']"
|
||||
>
|
||||
作废
|
||||
</el-button>
|
||||
|
||||
<el-button link type="danger" @click="openPrintForm(scope.row.id)"> 导引单 </el-button>
|
||||
<el-button link style="color: rgb(34, 153, 8);" @click="openPrintForm(scope.row.id)"> 导引单 </el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@ -275,7 +271,6 @@ import { dateFormatter, dateFormatter2 } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import { ApplyformApi, ApplyformVO, UPFJApplyformVO } from '@/api/applyregistration/applyform'
|
||||
import ApplyformForm from './ApplyformForm.vue'
|
||||
import { fa } from 'element-plus/es/locale'
|
||||
import GuidePrint from './GuidePrint.vue'
|
||||
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'
|
||||
import { DepartmentApi, DepartmentVO } from '@/api/system/department'
|
||||
@ -355,10 +350,17 @@ const Sync = async () => {
|
||||
|
||||
/** 添加/修改操作 */
|
||||
const formRef = ref()
|
||||
const openForm = (type: string, pname: string, orgid: string, ID: number, status: string,row:any[]) => {
|
||||
console.log(row);
|
||||
const openForm = (
|
||||
type: string,
|
||||
pname: string,
|
||||
orgid: string,
|
||||
ID: number,
|
||||
status: string,
|
||||
row: any[]
|
||||
) => {
|
||||
console.log(row)
|
||||
if (status == '未分检') {
|
||||
formRef.value.open(type, orgid, pname, ID, Profilevo.value.username, [],row)
|
||||
formRef.value.open(type, orgid, pname, ID, Profilevo.value.username, [], row)
|
||||
} else {
|
||||
message.warning('只有未分检才可以进行分检操作')
|
||||
}
|
||||
@ -411,7 +413,7 @@ const batchhandle = async (username: string) => {
|
||||
}
|
||||
console.log(`orgid ${orgid} was unselected.`)
|
||||
console.log(`username ${username} was unselected.`)
|
||||
formRef.value.open('批量', orgid, '', 0, username, previouslySelectedRows.value,[])
|
||||
formRef.value.open('批量', orgid, '', 0, username, previouslySelectedRows.value, [])
|
||||
} catch {}
|
||||
}
|
||||
|
||||
@ -460,4 +462,9 @@ onMounted(() => {
|
||||
getlogininfo()
|
||||
getList()
|
||||
})
|
||||
|
||||
|
||||
</script>
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
@ -61,7 +61,7 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button>
|
||||
<el-button @click="submitForm" style="background-color: rgb(56, 119, 246); font-size: 14; color: rgb(255, 255, 255)" :disabled="formLoading">确 定</el-button>
|
||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -1,22 +1,13 @@
|
||||
<template>
|
||||
<ContentWrap>
|
||||
<ContentWrap style="height: 95px">
|
||||
<!-- 搜索工作栏 -->
|
||||
<el-form
|
||||
class="-mb-15px"
|
||||
:model="queryParams"
|
||||
ref="queryFormRef"
|
||||
:inline="true"
|
||||
label-width="68px"
|
||||
label-width="100px"
|
||||
>
|
||||
<!-- <el-form-item label="机构ID" prop="orgId">
|
||||
<el-input
|
||||
v-model="queryParams.orgId"
|
||||
placeholder="请输入机构ID"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="接口类别" prop="apiType">
|
||||
<el-select
|
||||
v-model="queryParams.apiType"
|
||||
@ -39,88 +30,7 @@
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="接口地址" prop="apiUrl">
|
||||
<el-input
|
||||
v-model="queryParams.apiUrl"
|
||||
placeholder="请输入接口地址"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="sqlserver , mysql ,oracle" prop="databaseType">
|
||||
<el-select
|
||||
v-model="queryParams.databaseType"
|
||||
placeholder="请选择sqlserver , mysql ,oracle"
|
||||
clearable
|
||||
class="!w-240px"
|
||||
>
|
||||
<el-option label="请选择字典生成" value="" />
|
||||
</el-select>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="第三方数据库的IP" prop="databaseIP">
|
||||
<el-input
|
||||
v-model="queryParams.databaseIP"
|
||||
placeholder="请输入第三方数据库的IP"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="第三方数据库的端口" prop="databasePort">
|
||||
<el-input
|
||||
v-model="queryParams.databasePort"
|
||||
placeholder="请输入第三方数据库的端口"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="第三方数据库的登录用户名" prop="databaseUserName">
|
||||
<el-input
|
||||
v-model="queryParams.databaseUserName"
|
||||
placeholder="请输入第三方数据库的登录用户名"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="第三方数据库的登录密码" prop="databasePwd">
|
||||
<el-input
|
||||
v-model="queryParams.databasePwd"
|
||||
placeholder="请输入第三方数据库的登录密码"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="第三方软件的制造商" prop="softwareManufacturer">
|
||||
<el-input
|
||||
v-model="queryParams.softwareManufacturer"
|
||||
placeholder="请输入第三方软件的制造商"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="是否删除:1为删除" prop="isdelete">
|
||||
<el-input
|
||||
v-model="queryParams.isdelete"
|
||||
placeholder="请输入是否删除:1为删除"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="备注信息" prop="remark">
|
||||
<el-input
|
||||
v-model="queryParams.remark"
|
||||
placeholder="请输入备注信息"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
|
||||
<el-form-item label="api代码" prop="apiCode">
|
||||
<el-input
|
||||
v-model="queryParams.apiCode"
|
||||
@ -130,35 +40,59 @@
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
@click="openForm('create')"
|
||||
v-hasPermi="['system:apiconfig:create']"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button>
|
||||
<el-button
|
||||
type="success"
|
||||
plain
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['system:apiconfig:export']"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-form-item>
|
||||
<el-button
|
||||
@click="handleQuery"
|
||||
style="
|
||||
margin-right: 0px;
|
||||
margin-left: auto;
|
||||
background-color: rgba(56, 119, 246, 1);
|
||||
font-size: 14px;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
"
|
||||
><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button
|
||||
>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
<ContentWrap style="height: 65px">
|
||||
<el-form-item>
|
||||
<el-button
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['system:apiconfig:export']"
|
||||
style="
|
||||
margin-right: 0px;
|
||||
margin-left: auto;
|
||||
background-color: rgb(56, 119, 246);
|
||||
font-size: 14px;
|
||||
color: rgb(255, 255, 255);
|
||||
"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
<el-button
|
||||
style="background-color: rgb(28, 176, 117); font-size: 14; color: rgb(255, 255, 255)"
|
||||
@click="openForm('create')"
|
||||
v-hasPermi="['system:apiconfig:create']"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
|
||||
<!-- 列表 -->
|
||||
<ContentWrap>
|
||||
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="list"
|
||||
:stripe="true"
|
||||
:show-overflow-tooltip="true"
|
||||
:header-cell-style="{ background: 'rgb(235, 241, 250)', height: '56px' }"
|
||||
:row-style="{ height: '56px' }"
|
||||
>
|
||||
<el-table-column label="主键" align="center" prop="id" v-if="false" />
|
||||
<el-table-column label="机构编码" align="center" prop="orgId" v-if="false"/>
|
||||
<el-table-column label="机构编码" align="center" prop="orgId" v-if="false" />
|
||||
<el-table-column label="接口类别" align="center" prop="apiType" />
|
||||
<el-table-column label="接口名称" align="center" prop="apiName" />
|
||||
<el-table-column label="接口地址" align="center" prop="apiUrl" />
|
||||
@ -168,14 +102,14 @@
|
||||
<el-table-column label="第三方数据库的登录名" align="center" prop="databaseUserName" />
|
||||
<el-table-column label="第三方数据库的登录密码" align="center" prop="databasePwd" />
|
||||
<el-table-column label="第三方软件的制造商" align="center" prop="softwareManufacturer" />
|
||||
<el-table-column label="是否删除:1为删除" align="center" prop="isdelete" v-if="false"/>
|
||||
<el-table-column label="是否删除:1为删除" align="center" prop="isdelete" v-if="false" />
|
||||
<el-table-column label="备注信息" align="center" prop="remark" />
|
||||
<el-table-column label="api代码" align="center" prop="apiCode" />
|
||||
<el-table-column label="操作" align="center">
|
||||
<el-table-column label="操作" align="center" fixed="right" width="180px">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
link
|
||||
type="primary"
|
||||
style="color: rgb(56, 119, 246)"
|
||||
@click="openForm('update', scope.row.id)"
|
||||
v-hasPermi="['system:apiconfig:update']"
|
||||
>
|
||||
@ -183,7 +117,7 @@
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
type="danger"
|
||||
style="color: rgb(223, 65, 65)"
|
||||
@click="handleDelete(scope.row.id)"
|
||||
v-hasPermi="['system:apiconfig:delete']"
|
||||
>
|
||||
@ -234,7 +168,7 @@ const queryParams = reactive({
|
||||
softwareManufacturer: undefined,
|
||||
isdelete: undefined,
|
||||
remark: undefined,
|
||||
apiCode: undefined,
|
||||
apiCode: undefined
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
@ -301,4 +235,4 @@ const handleExport = async () => {
|
||||
onMounted(() => {
|
||||
getList()
|
||||
})
|
||||
</script>
|
||||
</script>
|
||||
|
@ -34,7 +34,7 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button>
|
||||
<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="dialogVisible = false">取 消</el-button>
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<ContentWrap>
|
||||
<ContentWrap style="height: 95px">
|
||||
<!-- 搜索工作栏 -->
|
||||
<el-form
|
||||
class="-mb-15px"
|
||||
@ -17,35 +17,59 @@
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item>
|
||||
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
@click="openForm('create',Profilevo.username)"
|
||||
v-hasPermi="['system:department:create']"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button>
|
||||
<el-button
|
||||
type="success"
|
||||
plain
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['system:department:export']"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-form-item>
|
||||
<el-button
|
||||
@click="handleQuery"
|
||||
style="
|
||||
margin-right: 0px;
|
||||
margin-left: auto;
|
||||
background-color: rgba(56, 119, 246, 1);
|
||||
font-size: 14px;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
"
|
||||
><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button
|
||||
>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
|
||||
<ContentWrap style="height: 65px">
|
||||
<el-form-item>
|
||||
<el-button
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['system:department:export']"
|
||||
style="
|
||||
margin-right: 0px;
|
||||
margin-left: auto;
|
||||
background-color: rgb(56, 119, 246);
|
||||
font-size: 14px;
|
||||
color: rgb(255, 255, 255);
|
||||
"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
<el-button
|
||||
style="background-color: rgb(28, 176, 117); font-size: 14; color: rgb(255, 255, 255)"
|
||||
@click="openForm('create', Profilevo.username)"
|
||||
v-hasPermi="['system:department:create']"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
<!-- 列表 -->
|
||||
<ContentWrap>
|
||||
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
||||
<el-table-column label="主键" align="center" prop="id" v-if="false"/>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="list"
|
||||
:stripe="true"
|
||||
:show-overflow-tooltip="true"
|
||||
:header-cell-style="{ background: 'rgb(235, 241, 250)', height: '56px' }"
|
||||
:row-style="{ height: '56px' }"
|
||||
>
|
||||
<el-table-column label="主键" align="center" prop="id" v-if="false" />
|
||||
<el-table-column label="科室名称" align="center" prop="departmentName" />
|
||||
<el-table-column label="创建人" align="center" prop="createPerson" />
|
||||
<el-table-column
|
||||
@ -56,7 +80,7 @@
|
||||
width="180px"
|
||||
/>
|
||||
<el-table-column label="科室备注" align="center" prop="departmentRemark" />
|
||||
<el-table-column label="删除操作人" align="center" prop="deletePerson" v-if="false"/>
|
||||
<el-table-column label="删除操作人" align="center" prop="deletePerson" v-if="false" />
|
||||
<el-table-column
|
||||
label="删除时间"
|
||||
align="center"
|
||||
@ -68,20 +92,20 @@
|
||||
<el-table-column label="科室具体位置" align="center" prop="departmentAddress" />
|
||||
<el-table-column label="机构编码" align="center" prop="orgId" />
|
||||
<el-table-column label="科室代号" align="center" prop="departmentCode" />
|
||||
<el-table-column label="删除标记:1为删除" align="center" prop="isDelete" v-if="false"/>
|
||||
<el-table-column label="操作" align="center">
|
||||
<el-table-column label="删除标记:1为删除" align="center" prop="isDelete" v-if="false" />
|
||||
<el-table-column label="操作" align="center" fixed="right" width="180px">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
link
|
||||
type="primary"
|
||||
@click="openForm('update',Profilevo.username, scope.row.id)"
|
||||
style="color: rgb(56, 119, 246)"
|
||||
@click="openForm('update', Profilevo.username, scope.row.id)"
|
||||
v-hasPermi="['system:department:update']"
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
type="danger"
|
||||
style="color: rgb(223, 65, 65)"
|
||||
@click="handleDelete(scope.row.id)"
|
||||
v-hasPermi="['system:department:delete']"
|
||||
>
|
||||
@ -114,8 +138,8 @@ defineOptions({ name: 'Department' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
//当前登录人信息
|
||||
const Profilevo = ref<ProfileVO>({} as ProfileVO)
|
||||
//当前登录人信息
|
||||
const Profilevo = ref<ProfileVO>({} as ProfileVO)
|
||||
const loading = ref(true) // 列表的加载中
|
||||
const list = ref<DepartmentVO[]>([]) // 列表的数据
|
||||
const total = ref(0) // 列表的总页数
|
||||
@ -123,7 +147,7 @@ const queryParams = reactive({
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
departmentName: undefined,
|
||||
orgId: undefined,
|
||||
orgId: undefined
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
@ -154,8 +178,8 @@ const resetQuery = () => {
|
||||
|
||||
/** 添加/修改操作 */
|
||||
const formRef = ref()
|
||||
const openForm = (type: string, username:string, id?: number) => {
|
||||
formRef.value.open(type,username, id)
|
||||
const openForm = (type: string, username: string, id?: number) => {
|
||||
formRef.value.open(type, username, id)
|
||||
}
|
||||
|
||||
/** 删除按钮操作 */
|
||||
@ -194,4 +218,4 @@ onMounted(() => {
|
||||
getlogininfo()
|
||||
getList()
|
||||
})
|
||||
</script>
|
||||
</script>
|
||||
|
@ -80,7 +80,7 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button>
|
||||
<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="dialogVisible = false">取 消</el-button>
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<ContentWrap>
|
||||
<ContentWrap style="height: 95px">
|
||||
<!-- 搜索工作栏 -->
|
||||
<el-form
|
||||
class="-mb-15px"
|
||||
:model="queryParams"
|
||||
ref="queryFormRef"
|
||||
:inline="true"
|
||||
label-width="68px"
|
||||
label-width="100px"
|
||||
>
|
||||
<el-form-item label="医生姓名" prop="doctorName">
|
||||
<el-input
|
||||
@ -26,34 +26,59 @@
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
@click="openForm('create')"
|
||||
v-hasPermi="['doctor::create']"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button>
|
||||
<el-button
|
||||
type="success"
|
||||
plain
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['doctor::export']"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-form-item>
|
||||
<el-button
|
||||
@click="handleQuery"
|
||||
style="
|
||||
margin-right: 0px;
|
||||
margin-left: auto;
|
||||
background-color: rgba(56, 119, 246, 1);
|
||||
font-size: 14px;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
"
|
||||
><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button
|
||||
>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
|
||||
<ContentWrap style="height: 65px">
|
||||
<el-form-item>
|
||||
<el-button
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['doctor::export']"
|
||||
style="
|
||||
margin-right: 0px;
|
||||
margin-left: auto;
|
||||
background-color: rgb(56, 119, 246);
|
||||
font-size: 14px;
|
||||
color: rgb(255, 255, 255);
|
||||
"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
<el-button
|
||||
style="background-color: rgb(28, 176, 117); font-size: 14; color: rgb(255, 255, 255)"
|
||||
@click="openForm('create')"
|
||||
v-hasPermi="['doctor::create']"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
<!-- 列表 -->
|
||||
<ContentWrap>
|
||||
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
||||
<el-table-column label="主键" align="center" prop="doctorID" v-if="false"/>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="list"
|
||||
:stripe="true"
|
||||
:show-overflow-tooltip="true"
|
||||
:header-cell-style="{ background: 'rgb(235, 241, 250)', height: '56px' }"
|
||||
:row-style="{ height: '56px' }"
|
||||
>
|
||||
<el-table-column label="主键" align="center" prop="doctorID" v-if="false" />
|
||||
<el-table-column label="医生姓名" align="center" prop="doctorName" />
|
||||
<el-table-column label="性别" align="center" prop="gender" />
|
||||
<el-table-column
|
||||
@ -66,15 +91,15 @@
|
||||
<el-table-column label="科室名称" align="center" prop="departmentName" />
|
||||
<el-table-column label="医生联系电话" align="center" prop="doctorTel" />
|
||||
<el-table-column label="备注" align="center" prop="remark" />
|
||||
<el-table-column label="医生电子签名URL" align="center" prop="eSignatureUrl" v-if="false"/>
|
||||
<el-table-column label="医生电子签名URL" align="center" prop="eSignatureUrl" v-if="false" />
|
||||
<el-table-column label="医生级别" align="center" prop="doctorLevel" />
|
||||
<el-table-column label="机构ID" align="center" prop="orgId" v-if="false" />
|
||||
<el-table-column label="科室代码" align="center" prop="departmentCode" v-if="false" />
|
||||
<el-table-column label="操作" align="center">
|
||||
<el-table-column label="操作" align="center" fixed="right" width="180px">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
link
|
||||
type="primary"
|
||||
style="color: rgb(56, 119, 246)"
|
||||
@click="openForm('update', scope.row.doctorID)"
|
||||
v-hasPermi="['doctor::update']"
|
||||
>
|
||||
@ -82,8 +107,8 @@
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
type="danger"
|
||||
@click="handleDelete(scope.row.doctorID,Profilevo.username)"
|
||||
style="color: rgb(223, 65, 65)"
|
||||
@click="handleDelete(scope.row.doctorID, Profilevo.username)"
|
||||
v-hasPermi="['doctor::delete']"
|
||||
>
|
||||
删除
|
||||
@ -105,17 +130,16 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { dateFormatter,dateFormatter2 } from '@/utils/formatTime'
|
||||
import { dateFormatter, dateFormatter2 } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import { Api, VO } from '@/api/system/doctor'
|
||||
import Form from './Form.vue'
|
||||
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'
|
||||
|
||||
|
||||
/** 医生管理 列表 */
|
||||
defineOptions({ name: 'Doctor' })
|
||||
|
||||
//当前登录人信息
|
||||
//当前登录人信息
|
||||
const Profilevo = ref<ProfileVO>({} as ProfileVO)
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
@ -127,7 +151,7 @@ const queryParams = reactive({
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
doctorName: undefined,
|
||||
departmentName: undefined,
|
||||
departmentName: undefined
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
@ -163,12 +187,12 @@ const openForm = (type: string, id?: number) => {
|
||||
}
|
||||
|
||||
/** 删除按钮操作 */
|
||||
const handleDelete = async (id: number,name:string) => {
|
||||
const handleDelete = async (id: number, name: string) => {
|
||||
try {
|
||||
// 删除的二次确认
|
||||
await message.delConfirm()
|
||||
// 发起删除
|
||||
await Api.delete(id,name)
|
||||
await Api.delete(id, name)
|
||||
message.success(t('common.delSuccess'))
|
||||
// 刷新列表
|
||||
await getList()
|
||||
@ -195,11 +219,9 @@ const getlogininfo = async () => {
|
||||
Profilevo.value = await getUserProfile()
|
||||
}
|
||||
|
||||
|
||||
|
||||
/** 初始化 **/
|
||||
onMounted(() => {
|
||||
getlogininfo()
|
||||
getList()
|
||||
})
|
||||
</script>
|
||||
</script>
|
||||
|
@ -76,7 +76,7 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button>
|
||||
<el-button @click="submitForm" type="primary" :disabled="formLoading" style="background-color: rgb(56, 119, 246); font-size: 14; color: rgb(255, 255, 255)">确 定</el-button>
|
||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -1,24 +1,14 @@
|
||||
<template>
|
||||
<ContentWrap>
|
||||
<ContentWrap style="height: 95px">
|
||||
<!-- 搜索工作栏 -->
|
||||
<el-form
|
||||
class="-mb-15px"
|
||||
:model="queryParams"
|
||||
ref="queryFormRef"
|
||||
:inline="true"
|
||||
label-width="68px"
|
||||
label-width="100px"
|
||||
>
|
||||
<!-- <el-form-item label="检查项目" prop="examItemName">
|
||||
<el-select
|
||||
v-model="queryParams.examItemName"
|
||||
placeholder="请选择检查项目"
|
||||
clearable
|
||||
class="!w-240px"
|
||||
>
|
||||
<el-option label="请选择字典生成" value="" />
|
||||
</el-select>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="检查项目" prop="examItemName" label-width="111px">
|
||||
<el-form-item label="检查项目" prop="examItemName" label-width="111px">
|
||||
<el-input
|
||||
v-model="queryParams.examItemName"
|
||||
placeholder="请输入检查项目"
|
||||
@ -27,7 +17,7 @@
|
||||
class="!w-220px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="检查项目编码" prop="examItemCode" label-width="111px">
|
||||
<el-form-item label="检查项目编码" prop="examItemCode" label-width="111px">
|
||||
<el-input
|
||||
v-model="queryParams.examItemCode"
|
||||
placeholder="请输入检查项目编码"
|
||||
@ -45,36 +35,67 @@
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
<el-button @click="opencompare()"><Icon icon="ep:search" class="mr-5px" /> 字典对照</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
@click="openForm('create')"
|
||||
v-hasPermi="['examitems:examitems:create']"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button>
|
||||
|
||||
<el-button
|
||||
type="success"
|
||||
plain
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['examitems:examitems:export']"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-form-item>
|
||||
<el-button
|
||||
@click="handleQuery"
|
||||
style="
|
||||
margin-right: 0px;
|
||||
margin-left: auto;
|
||||
background-color: rgba(56, 119, 246, 1);
|
||||
font-size: 14px;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
"
|
||||
><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button
|
||||
>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
|
||||
<ContentWrap style="height: 65px">
|
||||
<el-form-item>
|
||||
<el-button
|
||||
style="
|
||||
margin-right: 0px;
|
||||
margin-left: auto;
|
||||
background-color: rgb(56, 119, 246);
|
||||
font-size: 14px;
|
||||
color: rgb(255, 255, 255);
|
||||
"
|
||||
type="success"
|
||||
plain
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['examitems:examitems:export']"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
<el-button
|
||||
@click="openForm('create')"
|
||||
v-hasPermi="['examitems:examitems:create']"
|
||||
style="background-color: rgb(28, 176, 117); font-size: 14; color: rgb(255, 255, 255)"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button>
|
||||
<el-button
|
||||
@click="opencompare()"
|
||||
style="background-color: rgb(28, 176, 117); font-size: 14; color: rgb(255, 255, 255)"
|
||||
><el-icon style="width: 20px; height: 20px"><Connection /></el-icon> 字典对照</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
<!-- 列表 -->
|
||||
<ContentWrap>
|
||||
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
||||
<el-table-column label="ID" align="center" prop="id" v-if="false"/>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="list"
|
||||
:stripe="true"
|
||||
:show-overflow-tooltip="true"
|
||||
:header-cell-style="{ background: 'rgb(235, 241, 250)', height: '56px' }"
|
||||
:row-style="{ height: '56px' }"
|
||||
>
|
||||
<el-table-column label="ID" align="center" prop="id" v-if="false" />
|
||||
<el-table-column label="检查项目" align="center" prop="examItemName" />
|
||||
<el-table-column label="检查项目编号" align="center" prop="examItemCode" />
|
||||
<el-table-column label="检查部位编号" align="center" prop="examPartCode" />
|
||||
@ -82,20 +103,20 @@
|
||||
<el-table-column label="第三方检查项目名称" align="center" prop="thirdPartyExamItemName" />
|
||||
<el-table-column label="第三方检查项目价格" align="center" prop="thirdPartyExamItemPrice" />
|
||||
<el-table-column label="机构编号" align="center" prop="orgId" />
|
||||
<el-table-column label="操作" align="center">
|
||||
<el-table-column label="操作" align="center" fixed="right" width="180px">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
style="color: rgb(56, 119, 246)"
|
||||
link
|
||||
type="primary"
|
||||
@click="openForm('update', scope.row.id)"
|
||||
v-hasPermi="['examitems:examitems:update']"
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
style="color: rgb(223, 65, 65)"
|
||||
link
|
||||
type="danger"
|
||||
@click="handleDelete(scope.row.id,Profilevo.username)"
|
||||
@click="handleDelete(scope.row.id, Profilevo.username)"
|
||||
v-hasPermi="['examitems:examitems:delete']"
|
||||
>
|
||||
删除
|
||||
@ -128,8 +149,8 @@ import { getUserProfile, ProfileVO } from '@/api/system/user/profile'
|
||||
/** 检查部位 列表 */
|
||||
defineOptions({ name: 'Examitems' })
|
||||
|
||||
//当前登录人信息
|
||||
const Profilevo = ref<ProfileVO>({} as ProfileVO)
|
||||
//当前登录人信息
|
||||
const Profilevo = ref<ProfileVO>({} as ProfileVO)
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
@ -141,7 +162,7 @@ const queryParams = reactive({
|
||||
pageSize: 10,
|
||||
examItemName: undefined,
|
||||
examItemCode: undefined,
|
||||
examPartCode: undefined,
|
||||
examPartCode: undefined
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
@ -153,7 +174,7 @@ const getList = async () => {
|
||||
const data = await examitemsApi.getexamitemsPage(queryParams)
|
||||
list.value = data.list
|
||||
total.value = data.total
|
||||
const da= await examitemsApi.getexamitemslist()
|
||||
const da = await examitemsApi.getexamitemslist()
|
||||
console.log(da)
|
||||
} finally {
|
||||
loading.value = false
|
||||
@ -179,18 +200,17 @@ const openForm = (type: string, id?: number) => {
|
||||
}
|
||||
|
||||
// 对照操作
|
||||
const formcompare=ref()
|
||||
const opencompare=()=>
|
||||
{
|
||||
const formcompare = ref()
|
||||
const opencompare = () => {
|
||||
formcompare.value.open()
|
||||
}
|
||||
/** 删除按钮操作 */
|
||||
const handleDelete = async (id: number,username:string) => {
|
||||
const handleDelete = async (id: number, username: string) => {
|
||||
try {
|
||||
// 删除的二次确认
|
||||
await message.delConfirm()
|
||||
// 发起删除
|
||||
await examitemsApi.deleteexamitems(id,username)
|
||||
await examitemsApi.deleteexamitems(id, username)
|
||||
message.success(t('common.delSuccess'))
|
||||
// 刷新列表
|
||||
await getList()
|
||||
@ -220,4 +240,4 @@ onMounted(() => {
|
||||
getlogininfo()
|
||||
getList()
|
||||
})
|
||||
</script>
|
||||
</script>
|
||||
|
@ -74,7 +74,7 @@
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
||||
<el-button @click="handleQuery" style=" background-color: rgb(56, 119, 246); font-size: 14px; color: rgb(255, 255, 255);"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
<el-button
|
||||
type="success"
|
||||
@ -91,7 +91,8 @@
|
||||
|
||||
<!-- 列表 -->
|
||||
<ContentWrap>
|
||||
<el-table v-loading="loading" :data="list">
|
||||
<el-table v-loading="loading" :data="list" :header-cell-style="{ background: 'rgb(235, 241, 250)',height:'56px' }"
|
||||
:row-style="{height:'56px'}">
|
||||
<el-table-column label="日志编号" align="center" prop="id" width="100" />
|
||||
<el-table-column label="操作人" align="center" prop="userName" width="120" />
|
||||
<el-table-column label="操作模块" align="center" prop="type" width="120" />
|
||||
|
@ -50,7 +50,7 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button>
|
||||
<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="dialogVisible = false">取 消</el-button>
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<ContentWrap>
|
||||
<ContentWrap style="height: 95px">
|
||||
<!-- 搜索工作栏 -->
|
||||
<el-form
|
||||
class="-mb-15px"
|
||||
:model="queryParams"
|
||||
ref="queryFormRef"
|
||||
:inline="true"
|
||||
label-width="68px"
|
||||
label-width="100px"
|
||||
>
|
||||
<el-form-item label="机构名称" prop="orgName">
|
||||
<el-input
|
||||
@ -17,135 +17,71 @@
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="机构地址" prop="address">
|
||||
<el-input
|
||||
v-model="queryParams.address"
|
||||
placeholder="请输入机构地址"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="联系电话" prop="contactTel">
|
||||
<el-input
|
||||
v-model="queryParams.contactTel"
|
||||
placeholder="请输入联系电话"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="联系人姓名" prop="contactPerson">
|
||||
<el-input
|
||||
v-model="queryParams.contactPerson"
|
||||
placeholder="请输入联系人姓名"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="报告上显示的名称:一般跟机构名称一致" prop="reportName">
|
||||
<el-input
|
||||
v-model="queryParams.reportName"
|
||||
placeholder="请输入报告上显示的名称:一般跟机构名称一致"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="上级判读医院机构ID" prop="highLevelOrgID">
|
||||
<el-input
|
||||
v-model="queryParams.highLevelOrgID"
|
||||
placeholder="请输入上级判读医院机构ID"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="能收到微信消息提醒的微信列表,格式为:wxopenid1,wxopenid2,wxopenid3" prop="wxOpenidlist">
|
||||
<el-input
|
||||
v-model="queryParams.wxOpenidlist"
|
||||
placeholder="请输入能收到微信消息提醒的微信列表,格式为:wxopenid1,wxopenid2,wxopenid3"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="机构编号:通常为一个4位数的短号 用于与其他系统的对接之用" prop="orgSN">
|
||||
<el-input
|
||||
v-model="queryParams.orgSN"
|
||||
placeholder="请输入机构编号:通常为一个4位数的短号 用于与其他系统的对接之用"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="创建时间:年月日时分秒" prop="createDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.createDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="上级机构的机构名称" prop="highLevelOrgName">
|
||||
<el-input
|
||||
v-model="queryParams.highLevelOrgName"
|
||||
placeholder="请输入上级机构的机构名称"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="机构logo的URL" prop="orgLogoUrl">
|
||||
<el-input
|
||||
v-model="queryParams.orgLogoUrl"
|
||||
placeholder="请输入机构logo的URL"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<el-form-item>
|
||||
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
@click="openForm('create')"
|
||||
v-hasPermi="['org::create']"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button>
|
||||
|
||||
<el-button
|
||||
type="success"
|
||||
plain
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['org::export']"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-form-item>
|
||||
<el-button
|
||||
@click="handleQuery"
|
||||
style="
|
||||
margin-right: 0px;
|
||||
margin-left: auto;
|
||||
background-color: rgba(56, 119, 246, 1);
|
||||
font-size: 14px;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
"
|
||||
><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button
|
||||
>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
<ContentWrap style="height: 65px">
|
||||
<el-form-item>
|
||||
<el-button
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['org::export']"
|
||||
style="
|
||||
margin-right: 0px;
|
||||
margin-left: auto;
|
||||
background-color: rgb(56, 119, 246);
|
||||
font-size: 14px;
|
||||
color: rgb(255, 255, 255);
|
||||
"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
<el-button
|
||||
style="background-color: rgb(28, 176, 117); font-size: 14; color: rgb(255, 255, 255)"
|
||||
@click="openForm('create')"
|
||||
v-hasPermi="['org::create']"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
|
||||
<!-- 列表 -->
|
||||
<ContentWrap>
|
||||
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
||||
<el-table-column label="机构编码" align="center" prop="orgID" v-if="false"/>
|
||||
<el-table-column label="机构名称" align="center" prop="orgName" width="220px"/>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="list"
|
||||
:stripe="true"
|
||||
:show-overflow-tooltip="true"
|
||||
:header-cell-style="{ background: 'rgb(235, 241, 250)', height: '56px' }"
|
||||
:row-style="{ height: '56px' }"
|
||||
>
|
||||
<el-table-column label="机构编码" align="center" prop="orgID" v-if="false" />
|
||||
<el-table-column label="机构名称" align="center" prop="orgName" width="220px" />
|
||||
<el-table-column label="机构地址" align="center" prop="address" />
|
||||
<el-table-column label="联系电话" align="center" prop="contactTel" width="120px"/>
|
||||
<el-table-column label="联系人姓名" align="center" prop="contactPerson" width="100px"/>
|
||||
<el-table-column label="报告上显示名称" align="center" prop="reportName" width="130px"/>
|
||||
<el-table-column label="上级判读医院机构ID" align="center" prop="highLevelOrgID" v-if="false"/>
|
||||
<el-table-column label="联系电话" align="center" prop="contactTel" width="120px" />
|
||||
<el-table-column label="联系人姓名" align="center" prop="contactPerson" width="100px" />
|
||||
<el-table-column label="报告上显示名称" align="center" prop="reportName" width="130px" />
|
||||
<el-table-column
|
||||
label="上级判读医院机构ID"
|
||||
align="center"
|
||||
prop="highLevelOrgID"
|
||||
v-if="false"
|
||||
/>
|
||||
<el-table-column label="微信提醒列表" align="center" prop="wxOpenidlist" width="280px" />
|
||||
<el-table-column label="短位机构编号" align="center" prop="orgSN" width="110px"/>
|
||||
<el-table-column label="短位机构编号" align="center" prop="orgSN" width="110px" />
|
||||
<el-table-column
|
||||
label="创建时间:年月日时分秒"
|
||||
align="center"
|
||||
@ -154,13 +90,18 @@
|
||||
width="180px"
|
||||
v-if="false"
|
||||
/>
|
||||
<el-table-column label="上级机构的机构名称" align="center" prop="highLevelOrgName" width="220px" />
|
||||
<el-table-column label="机构logo的URL" align="center" prop="orgLogoUrl" v-if="false"/>
|
||||
<el-table-column
|
||||
label="上级机构的机构名称"
|
||||
align="center"
|
||||
prop="highLevelOrgName"
|
||||
width="220px"
|
||||
/>
|
||||
<el-table-column label="机构logo的URL" align="center" prop="orgLogoUrl" v-if="false" />
|
||||
<el-table-column label="操作" align="center" fixed="right" width="350px">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
link
|
||||
type="primary"
|
||||
style="color: rgb(56, 119, 246)"
|
||||
@click="openForm('update', scope.row.orgID)"
|
||||
v-hasPermi="['org::update']"
|
||||
>
|
||||
@ -168,7 +109,7 @@
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
type="primary"
|
||||
style="color: rgb(56, 119, 246)"
|
||||
@click="openOrgSuperiorForm(scope.row.orgID)"
|
||||
v-hasPermi="['org::update']"
|
||||
>
|
||||
@ -176,7 +117,7 @@
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
type="primary"
|
||||
style="color: rgb(56, 119, 246)"
|
||||
@click="openorgwxForm(scope.row.orgID)"
|
||||
v-hasPermi="['org::update']"
|
||||
>
|
||||
@ -184,7 +125,7 @@
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
type="danger"
|
||||
style="color: rgb(223, 65, 65)"
|
||||
@click="handleDelete(scope.row.orgID)"
|
||||
v-hasPermi="['org::delete']"
|
||||
>
|
||||
@ -205,9 +146,9 @@
|
||||
<!-- 表单弹窗:添加/修改 -->
|
||||
<OrgForm ref="formRef" @success="getList" />
|
||||
<!-- 设置上级机构 -->
|
||||
<OrgSuperiorForm ref="formOrgSuperiorForm" @success="getList"/>
|
||||
<OrgSuperiorForm ref="formOrgSuperiorForm" @success="getList" />
|
||||
<!-- 微信通知设置 -->
|
||||
<OrgWxForm ref="formOrgWxForm" @success="getList"/>
|
||||
<OrgWxForm ref="formOrgWxForm" @success="getList" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
@ -223,8 +164,8 @@ defineOptions({ name: 'Org' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
//当前登录人信息
|
||||
const Profilevo = ref<ProfileVO>({} as ProfileVO)
|
||||
//当前登录人信息
|
||||
const Profilevo = ref<ProfileVO>({} as ProfileVO)
|
||||
const loading = ref(true) // 列表的加载中
|
||||
const list = ref<OrgVO[]>([]) // 列表的数据
|
||||
const total = ref(0) // 列表的总页数
|
||||
@ -241,7 +182,7 @@ const queryParams = reactive({
|
||||
orgSN: undefined,
|
||||
createDate: [],
|
||||
highLevelOrgName: undefined,
|
||||
orgLogoUrl: undefined,
|
||||
orgLogoUrl: undefined
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
@ -278,17 +219,14 @@ const openForm = (type: string, id?: number) => {
|
||||
|
||||
// 设置上级机构
|
||||
const formOrgSuperiorForm = ref()
|
||||
const openOrgSuperiorForm=(id:string)=>
|
||||
{
|
||||
const openOrgSuperiorForm = (id: string) => {
|
||||
formOrgSuperiorForm.value.open(id)
|
||||
}
|
||||
|
||||
// 设置微信通知
|
||||
const formOrgWxForm=ref()
|
||||
const openorgwxForm=(id:string)=>
|
||||
{
|
||||
const formOrgWxForm = ref()
|
||||
const openorgwxForm = (id: string) => {
|
||||
formOrgWxForm.value.open(id)
|
||||
|
||||
}
|
||||
|
||||
/** 删除按钮操作 */
|
||||
@ -327,4 +265,4 @@ onMounted(() => {
|
||||
getlogininfo()
|
||||
getList()
|
||||
})
|
||||
</script>
|
||||
</script>
|
||||
|
@ -39,7 +39,7 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button>
|
||||
<el-button @click="submitForm" style="background-color: rgb(56, 119, 246); font-size: 14; color: rgb(255, 255, 255)" :disabled="formLoading">确 定</el-button>
|
||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||
</template>
|
||||
</Dialog>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<ContentWrap>
|
||||
<ContentWrap style="height: 95px">
|
||||
<!-- 搜索工作栏 -->
|
||||
<el-form
|
||||
class="-mb-15px"
|
||||
@ -35,10 +35,21 @@
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
<!-- <el-button
|
||||
</el-form>
|
||||
<el-form-item>
|
||||
<el-button
|
||||
@click="handleQuery"
|
||||
style="
|
||||
margin-right: 0px;
|
||||
margin-left: auto;
|
||||
background-color: rgba(56, 119, 246, 1);
|
||||
font-size: 14px;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
"
|
||||
><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button
|
||||
>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
<!-- <el-button
|
||||
type="primary"
|
||||
plain
|
||||
@click="openForm('create')"
|
||||
@ -46,23 +57,37 @@
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button> -->
|
||||
<el-button
|
||||
type="success"
|
||||
plain
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['system:wx:export']"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
<ContentWrap style="height: 65px">
|
||||
<el-form-item>
|
||||
<el-button
|
||||
style="
|
||||
margin-right: 0px;
|
||||
margin-left: auto;
|
||||
background-color: rgb(56, 119, 246);
|
||||
font-size: 14px;
|
||||
color: rgb(255, 255, 255);
|
||||
"
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['system:wx:export']"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
|
||||
<!-- 列表 -->
|
||||
<ContentWrap>
|
||||
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
||||
<el-table-column label="主键" align="center" prop="id" v-if="false"/>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="list"
|
||||
:stripe="true"
|
||||
:show-overflow-tooltip="true"
|
||||
:header-cell-style="{ background: 'rgb(235, 241, 250)', height: '56px' }"
|
||||
:row-style="{ height: '56px' }"
|
||||
>
|
||||
<el-table-column label="主键" align="center" prop="id" v-if="false" />
|
||||
<el-table-column label="微信号userid" align="center" prop="wxUserid" />
|
||||
<el-table-column label="电话号码" align="center" prop="bindTel" />
|
||||
<el-table-column label="微信号所属人的姓名" align="center" prop="personName" />
|
||||
@ -76,11 +101,11 @@
|
||||
/>
|
||||
<el-table-column label="备注" align="center" prop="remark" />
|
||||
<el-table-column label="机构编码" align="center" prop="orgId" />
|
||||
<el-table-column label="操作" align="center">
|
||||
<el-table-column label="操作" align="center" fixed="right" width="180px">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
link
|
||||
type="primary"
|
||||
style="color: rgb(56, 119, 246)"
|
||||
@click="openForm('update', scope.row.id)"
|
||||
v-hasPermi="['system:wx:update']"
|
||||
>
|
||||
@ -88,7 +113,7 @@
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
type="danger"
|
||||
style="color: rgb(223, 65, 65)"
|
||||
@click="handleDelete(scope.row.id)"
|
||||
v-hasPermi="['system:wx:delete']"
|
||||
>
|
||||
@ -115,7 +140,7 @@ import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import { WxApi, WxVO } from '@/api/system/wx'
|
||||
import WxForm from './WxForm.vue'
|
||||
import { fa } from 'element-plus/es/locale';
|
||||
import { fa } from 'element-plus/es/locale'
|
||||
|
||||
/** 微信通知管理 列表 */
|
||||
defineOptions({ name: 'Wx' })
|
||||
@ -131,7 +156,7 @@ const queryParams = reactive({
|
||||
pageSize: 10,
|
||||
wxUserid: undefined,
|
||||
bindTel: undefined,
|
||||
personName: undefined,
|
||||
personName: undefined
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
@ -198,4 +223,4 @@ const handleExport = async () => {
|
||||
onMounted(() => {
|
||||
getList()
|
||||
})
|
||||
</script>
|
||||
</script>
|
||||
|
@ -1,254 +1,102 @@
|
||||
<template>
|
||||
<ContentWrap>
|
||||
<ContentWrap style="height: 145px;">
|
||||
<!-- 搜索工作栏 影像工作站-->
|
||||
<el-form
|
||||
class="-mb-15px"
|
||||
:model="queryParams"
|
||||
ref="queryFormRef"
|
||||
:inline="true"
|
||||
label-width="68px"
|
||||
label-width="100px"
|
||||
>
|
||||
<el-form-item label="检查ID" prop="examId">
|
||||
<el-input
|
||||
v-model="queryParams.examId"
|
||||
placeholder="检查ID\体检编号\住院号\门诊号等"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-215px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="患者姓名" prop="pName">
|
||||
<el-input
|
||||
v-model="queryParams.pname"
|
||||
placeholder="请输入患者姓名"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-160px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="性别" prop="gender">
|
||||
<el-input
|
||||
v-model="queryParams.gender"
|
||||
placeholder="请输入性别"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="出生日期" prop="birthday">
|
||||
<el-input
|
||||
v-model="queryParams.birthday"
|
||||
placeholder="请输入出生日期"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="检查日期" prop="examDate" size="mini">
|
||||
<!-- aaaaa -->
|
||||
<el-radio-group
|
||||
ref="examDate_radio"
|
||||
v-model="examDate_radio_value"
|
||||
@change="examDate_radio_change"
|
||||
>
|
||||
<el-radio style="margin-right: 15px" :value="0">全部</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="1">今天</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="2">昨天</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="3">三天内</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="4">一周</el-radio>
|
||||
<el-radio style="margin-right: 25px" :value="5">
|
||||
<el-date-picker
|
||||
ref="examDate_picker"
|
||||
:disabled="examDate_radio_value === 5 ? false : true"
|
||||
v-model="queryParams.examDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
<el-row :gutter="8">
|
||||
<el-col :span="4">
|
||||
<el-form-item label="检查单号" prop="examId">
|
||||
<el-input
|
||||
v-model="queryParams.examId"
|
||||
placeholder="检查单号"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-160px"
|
||||
/>
|
||||
</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
|
||||
<!-- <el-form-item label="设备类型" prop="deviceType">
|
||||
<el-select
|
||||
v-model="queryParams.deviceType"
|
||||
placeholder="请选择设备类型"
|
||||
clearable
|
||||
class="!w-240px"
|
||||
>
|
||||
<el-option label="请选择字典生成" value="" />
|
||||
</el-select>
|
||||
</el-form-item> -->
|
||||
|
||||
<!-- <el-form-item label="seri_dicomCount:序列数量/dicom数量" prop="seDc">
|
||||
<el-input
|
||||
v-model="queryParams.seDc"
|
||||
placeholder="请输入seri_dicomCount:序列数量/dicom数量"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
|
||||
<el-form-item label="检查项目" prop="examItemName">
|
||||
<el-input
|
||||
v-model="queryParams.examItemName"
|
||||
placeholder="请输入检查项"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-220px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="报告状态" prop="reportstatus">
|
||||
<el-select
|
||||
v-model="queryParams.reportstatus"
|
||||
placeholder="请选择报告状态"
|
||||
clearable
|
||||
class="!w-150px"
|
||||
>
|
||||
<el-option label="待分检" value="待分检" />
|
||||
<el-option label="已分检" value="已分检" />
|
||||
<el-option label="已分析" value="已分析" />
|
||||
<el-option label="待分析" value="待分析" />
|
||||
<el-option label="已审核" value="已审核" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="申请日期:年月日时分秒" prop="applicationDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.applicationDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="dicom文件上传时间" prop="uploadDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.uploadDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="机构名称" prop="orgName">
|
||||
<el-input
|
||||
v-model="queryParams.orgName"
|
||||
placeholder="请输入机构名称"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="机构ID" prop="orgId">
|
||||
<el-input
|
||||
v-model="queryParams.orgId"
|
||||
placeholder="请输入机构ID"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="上级判读机构id列表:orgid1,orgid2,orgid3" prop="highLevelOrgId">
|
||||
<el-input
|
||||
v-model="queryParams.highLevelOrgId"
|
||||
placeholder="请输入上级判读机构id列表:orgid1,orgid2,orgid3"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="创建时间:年月日时分秒" prop="createDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.createDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="诊断结论" prop="diagResults">
|
||||
<el-input
|
||||
v-model="queryParams.diagResults"
|
||||
placeholder="请输入诊断结论"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="下诊断结论的时间:年月日时分秒" prop="diagDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.diagDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="诊断医生" prop="diagDoctor">
|
||||
<el-input
|
||||
v-model="queryParams.diagDoctor"
|
||||
placeholder="请输入诊断医生"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="审核医生" prop="reviewDoctor">
|
||||
<el-input
|
||||
v-model="queryParams.reviewDoctor"
|
||||
placeholder="请输入审核医生"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="审核日期:年月日时分秒" prop="reviewDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.reviewDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="缩略图oss url, httP:oss url" prop="thumbnailImgUrl">
|
||||
<el-input
|
||||
v-model="queryParams.thumbnailImgUrl"
|
||||
placeholder="请输入缩略图oss url, httP:oss url"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="框架需要:创建时间" prop="createTime">
|
||||
<el-date-picker
|
||||
v-model="queryParams.createTime"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<el-form-item>
|
||||
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item label="患者姓名" prop="pName">
|
||||
<el-input
|
||||
v-model="queryParams.pname"
|
||||
placeholder="请输入患者姓名"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-160px"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item label="检查项目" prop="examItemName">
|
||||
<el-input
|
||||
v-model="queryParams.examItemName"
|
||||
placeholder="请输入检查项"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-160px"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item label="报告状态" prop="reportstatus">
|
||||
<el-select
|
||||
v-model="queryParams.reportstatus"
|
||||
placeholder="请选择报告状态"
|
||||
clearable
|
||||
class="!w-160px"
|
||||
>
|
||||
<el-option label="待分检" value="待分检" />
|
||||
<el-option label="已分检" value="已分检" />
|
||||
<el-option label="已分析" value="已分析" />
|
||||
<el-option label="待分析" value="待分析" />
|
||||
<el-option label="已审核" value="已审核" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="检查日期" prop="examDate" size="mini">
|
||||
<!-- aaaaa -->
|
||||
<el-radio-group
|
||||
ref="examDate_radio"
|
||||
v-model="examDate_radio_value"
|
||||
@change="examDate_radio_change"
|
||||
>
|
||||
<el-radio style="margin-right: 15px" :value="0">全部</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="1">今天</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="2">昨天</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="3">三天内</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="4">一周</el-radio>
|
||||
<el-radio style="margin-right: 25px" :value="5">
|
||||
<el-date-picker
|
||||
ref="examDate_picker"
|
||||
:disabled="examDate_radio_value === 5 ? false : true"
|
||||
v-model="queryParams.examDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-form>
|
||||
<el-form-item>
|
||||
<el-button
|
||||
@click="handleQuery"
|
||||
style="margin-right: 0px; margin-left: auto; background-color: rgba(56, 119, 246, 1);font-size: 14px; color: rgba(255, 255, 255, 1);"
|
||||
><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button
|
||||
>
|
||||
<el-button @click="resetQuery" style=""><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
<!-- <el-button
|
||||
type="primary"
|
||||
plain
|
||||
@click="openForm('create')"
|
||||
@ -256,22 +104,26 @@
|
||||
v-if="false"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button>
|
||||
<el-button
|
||||
type="success"
|
||||
plain
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['tblist:patientexamlist:export']"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
<el-button @click="dicomDataSync"><Icon icon="ep:refresh" class="mr-5px" /> 同步</el-button>
|
||||
<el-button @click="dicomDataRefresh"><Icon icon="ep:refresh" class="mr-5px" /> 刷新</el-button>
|
||||
</el-button> -->
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</ContentWrap>
|
||||
|
||||
<ContentWrap style="height: 65px;">
|
||||
<el-form-item>
|
||||
<el-button
|
||||
style="margin-right: 0px; margin-left: auto; background-color: rgb(56, 119, 246); font-size: 14px; color: rgb(255, 255, 255);"
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['tblist:patientexamlist:export']"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
<el-button @click="dicomDataSync" style="background-color: rgb(28, 176, 117);font-size: 14; color: rgb(255, 255, 255);"><Icon icon="ep:refresh" class="mr-5px" /> 同步</el-button>
|
||||
<el-button @click="dicomDataRefresh"
|
||||
style="background-color: rgb(28, 176, 117);font-size: 14; color: rgb(255, 255, 255);" ><Icon icon="ep:refresh" class="mr-5px" /> 刷新</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
<!-- 列表 -->
|
||||
<ContentWrap>
|
||||
<el-table
|
||||
@ -280,16 +132,18 @@
|
||||
:stripe="true"
|
||||
:show-overflow-tooltip="true"
|
||||
@row-dblclick="handleEdit"
|
||||
:header-cell-style="{ background: 'rgb(235, 241, 250)',height:'56px' }"
|
||||
:row-style="{height:'56px'}"
|
||||
>
|
||||
<el-table-column type="index" width="50px" />
|
||||
<el-table-column label="" width="150px">
|
||||
<el-table-column label="" width="100px">
|
||||
<template #default="scope">
|
||||
<el-image :src="scope.row.thumbnailImgUrl" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="主键" align="center" prop="id" v-if="false" />
|
||||
<el-table-column label="检查单号" align="center" prop="examId" width="250px" />
|
||||
<el-table-column label="患者姓名" align="center" prop="pname" width="200px"/>
|
||||
<el-table-column label="患者姓名" align="center" prop="pname" width="200px" />
|
||||
<el-table-column label="性别" align="center" prop="gender" />
|
||||
<el-table-column label="出生日期" align="center" prop="birthday" v-if="false" />
|
||||
<el-table-column
|
||||
@ -372,6 +226,8 @@
|
||||
<el-table-column label="操作" align="center" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
link
|
||||
style="color: rgb(56, 119, 246);"
|
||||
size="small"
|
||||
type="primary"
|
||||
@click="getuporghiorgid(scope.row.id, scope.row.orgId, scope.row.reportstatus)"
|
||||
@ -498,9 +354,7 @@ const examDate_radio_change = () => {
|
||||
handleQuery()
|
||||
} else if (5 === examDate_radio_value.value) {
|
||||
queryParams.examDate = []
|
||||
}
|
||||
else if(0===examDate_radio_value.value)
|
||||
{
|
||||
} else if (0 === examDate_radio_value.value) {
|
||||
queryParams.examDate = []
|
||||
handleQuery()
|
||||
}
|
||||
@ -535,8 +389,7 @@ const dicomDataSync = async () => {
|
||||
message.success('同步成功')
|
||||
}
|
||||
// 分检数据刷新
|
||||
const dicomDataRefresh=async ()=>
|
||||
{
|
||||
const dicomDataRefresh = async () => {
|
||||
await PatientexamlistApi.dicomDataRefresh()
|
||||
examDate_radio_change()
|
||||
}
|
||||
|
@ -1,275 +1,132 @@
|
||||
<template>
|
||||
<ContentWrap>
|
||||
<ContentWrap style="height: 145px;">
|
||||
<!-- 搜索工作栏 超声工作站-->
|
||||
<el-form
|
||||
class="-mb-15px"
|
||||
:model="queryParams"
|
||||
ref="queryFormRef"
|
||||
:inline="true"
|
||||
label-width="68px"
|
||||
label-width="100px"
|
||||
>
|
||||
<el-form-item label="检查ID" prop="examId">
|
||||
<el-input
|
||||
v-model="queryParams.examId"
|
||||
placeholder="检查ID\体检编号\住院号\门诊号等"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-215px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="患者姓名" prop="pName">
|
||||
<el-input
|
||||
v-model="queryParams.pname"
|
||||
placeholder="请输入患者姓名"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-160px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="性别" prop="gender">
|
||||
<el-input
|
||||
v-model="queryParams.gender"
|
||||
placeholder="请输入性别"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="出生日期" prop="birthday">
|
||||
<el-input
|
||||
v-model="queryParams.birthday"
|
||||
placeholder="请输入出生日期"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="检查日期" prop="examDate">
|
||||
<!-- aaaaa -->
|
||||
<el-radio-group
|
||||
ref="examDate_radio"
|
||||
v-model="examDate_radio_value"
|
||||
@change="examDate_radio_change"
|
||||
>
|
||||
<el-radio style="margin-right: 15px" :value="0">全部</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="1">今天</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="2">昨天</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="3">三天内</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="4">一周</el-radio>
|
||||
<el-radio style="margin-right: 25px" :value="5">
|
||||
<el-date-picker
|
||||
ref="examDate_picker"
|
||||
:disabled="examDate_radio_value === 5 ? false : true"
|
||||
v-model="queryParams.examDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-row :gutter="8">
|
||||
<!-- 检查ID和患者姓名共一行 -->
|
||||
<el-col :span="24">
|
||||
<el-row :gutter="8">
|
||||
<el-col :span="4">
|
||||
<el-form-item label="检查单号" prop="examId">
|
||||
<el-input
|
||||
v-model="queryParams.examId"
|
||||
placeholder="检查单号"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-160px"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4" >
|
||||
<el-form-item label="患者姓名" prop="pName">
|
||||
<el-input
|
||||
v-model="queryParams.pname"
|
||||
placeholder="请输入患者姓名"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-160px"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<!-- <el-form-item label="设备类型" prop="deviceType">
|
||||
<el-select
|
||||
v-model="queryParams.deviceType"
|
||||
placeholder="请选择设备类型"
|
||||
clearable
|
||||
class="!w-240px"
|
||||
>
|
||||
<el-option label="请选择字典生成" value="" />
|
||||
</el-select>
|
||||
</el-form-item> -->
|
||||
<!-- 报告状态 -->
|
||||
<el-col :span="4">
|
||||
<el-form-item label="报告状态" prop="reportstatus">
|
||||
<el-select
|
||||
v-model="queryParams.reportstatus"
|
||||
placeholder="请选择报告状态"
|
||||
clearable
|
||||
class="!w-160px"
|
||||
>
|
||||
<el-option label="待分检" value="待分检" />
|
||||
<el-option label="已分检" value="已分检" />
|
||||
<el-option label="已分析" value="已分析" />
|
||||
<el-option label="已审核" value="已审核" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- 检查项目 -->
|
||||
<el-col :span="4">
|
||||
<el-form-item label="检查项目" prop="examItemName">
|
||||
<el-input
|
||||
v-model="queryParams.examItemName"
|
||||
placeholder="请输入检查项"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-160px"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-col>
|
||||
|
||||
<!-- <el-form-item label="seri_dicomCount:序列数量/dicom数量" prop="seDc">
|
||||
<el-input
|
||||
v-model="queryParams.seDc"
|
||||
placeholder="请输入seri_dicomCount:序列数量/dicom数量"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
|
||||
<el-form-item label="检查项目" prop="examItemName">
|
||||
<el-input
|
||||
v-model="queryParams.examItemName"
|
||||
placeholder="请输入检查项"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-220px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="报告状态" prop="reportstatus">
|
||||
<el-select
|
||||
v-model="queryParams.reportstatus"
|
||||
placeholder="请选择报告状态"
|
||||
clearable
|
||||
class="!w-150px"
|
||||
>
|
||||
<el-option label="待分检" value="待分检" />
|
||||
<el-option label="已分检" value="已分检" />
|
||||
<el-option label="已分析" value="已分析" />
|
||||
<el-option label="已审核" value="已审核" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="申请日期:年月日时分秒" prop="applicationDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.applicationDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="dicom文件上传时间" prop="uploadDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.uploadDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="机构名称" prop="orgName">
|
||||
<el-input
|
||||
v-model="queryParams.orgName"
|
||||
placeholder="请输入机构名称"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="机构ID" prop="orgId">
|
||||
<el-input
|
||||
v-model="queryParams.orgId"
|
||||
placeholder="请输入机构ID"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="上级判读机构id列表:orgid1,orgid2,orgid3" prop="highLevelOrgId">
|
||||
<el-input
|
||||
v-model="queryParams.highLevelOrgId"
|
||||
placeholder="请输入上级判读机构id列表:orgid1,orgid2,orgid3"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="创建时间:年月日时分秒" prop="createDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.createDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="诊断结论" prop="diagResults">
|
||||
<el-input
|
||||
v-model="queryParams.diagResults"
|
||||
placeholder="请输入诊断结论"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="下诊断结论的时间:年月日时分秒" prop="diagDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.diagDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="诊断医生" prop="diagDoctor">
|
||||
<el-input
|
||||
v-model="queryParams.diagDoctor"
|
||||
placeholder="请输入诊断医生"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="审核医生" prop="reviewDoctor">
|
||||
<el-input
|
||||
v-model="queryParams.reviewDoctor"
|
||||
placeholder="请输入审核医生"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="审核日期:年月日时分秒" prop="reviewDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.reviewDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="缩略图oss url, httP:oss url" prop="thumbnailImgUrl">
|
||||
<el-input
|
||||
v-model="queryParams.thumbnailImgUrl"
|
||||
placeholder="请输入缩略图oss url, httP:oss url"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="框架需要:创建时间" prop="createTime">
|
||||
<el-date-picker
|
||||
v-model="queryParams.createTime"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<el-form-item>
|
||||
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
@click="openForm('create')"
|
||||
v-hasPermi="['tblist:patientexamlist:create']"
|
||||
v-if="false"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button>
|
||||
<el-button
|
||||
type="success"
|
||||
plain
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['tblist:patientexamlist:export']"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
<el-button @click="dicomDataSync"><Icon icon="ep:refresh" class="mr-5px" /> 同步</el-button>
|
||||
</el-form-item>
|
||||
<!-- 检查日期独占一行 -->
|
||||
<el-col :span="24">
|
||||
<el-form-item label="检查日期" prop="examDate">
|
||||
<!-- aaaaa -->
|
||||
<el-radio-group
|
||||
ref="examDate_radio"
|
||||
v-model="examDate_radio_value"
|
||||
@change="examDate_radio_change"
|
||||
>
|
||||
<el-radio style="margin-right: 15px" :value="0">全部</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="1">今天</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="2">昨天</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="3">三天内</el-radio>
|
||||
<el-radio style="margin-right: 15px" :value="4">一周</el-radio>
|
||||
<el-radio style="margin-right: 25px" :value="5">
|
||||
<el-date-picker
|
||||
ref="examDate_picker"
|
||||
:disabled="examDate_radio_value === 5 ? false : true"
|
||||
v-model="queryParams.examDate"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
type="daterange"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<el-form-item>
|
||||
<el-button @click="handleQuery" style=" margin-right: 0px; margin-left: auto; background-color: rgba(56, 119, 246, 1);font-size: 14px; color: rgba(255, 255, 255, 1);"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
</el-form-item>
|
||||
</ContentWrap>
|
||||
<ContentWrap style="height: 65px;">
|
||||
<el-form-item>
|
||||
<!-- <el-button
|
||||
type="primary"
|
||||
plain
|
||||
@click="openForm('create')"
|
||||
v-hasPermi="['tblist:patientexamlist:create']"
|
||||
v-if="false"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button> -->
|
||||
<el-button
|
||||
style="margin-right: 0px; margin-left: auto; background-color: rgb(56, 119, 246); font-size: 14px; color: rgb(255, 255, 255);"
|
||||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
v-hasPermi="['tblist:patientexamlist:export']"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
<el-button @click="dicomDataSync" style="background-color: rgb(28, 176, 117);font-size: 14; color: rgb(255, 255, 255);"><Icon icon="ep:refresh" class="mr-5px" /> 同步</el-button>
|
||||
</el-form-item>
|
||||
|
||||
|
||||
</ContentWrap>
|
||||
<!-- 列表 -->
|
||||
<ContentWrap>
|
||||
<el-table
|
||||
@ -278,9 +135,11 @@
|
||||
:stripe="true"
|
||||
:show-overflow-tooltip="true"
|
||||
@row-dblclick="handleEdit"
|
||||
:header-cell-style="{ background: 'rgb(235, 241, 250)',height:'56px' }"
|
||||
:row-style="{height:'56px'}"
|
||||
>
|
||||
<el-table-column type="index" width="50px" />
|
||||
<el-table-column label="" width="150px">
|
||||
<el-table-column label="" width="100px">
|
||||
<template #default="scope">
|
||||
<el-image :src="scope.row.thumbnailImgUrl" />
|
||||
</template>
|
||||
@ -298,7 +157,7 @@
|
||||
width="180px"
|
||||
/>
|
||||
<el-table-column label="设备类型" align="center" prop="deviceType" />
|
||||
<el-table-column label="序列/数量" align="center" prop="seDc" width="80px" />
|
||||
<el-table-column label="序列/数量" align="center" prop="seDc" width="100px" />
|
||||
<el-table-column label="检查项目名称" align="center" prop="examItemName" width="160px" />
|
||||
|
||||
<el-table-column label="报告状态" align="center" prop="reportstatus" width="100px">
|
||||
@ -370,10 +229,12 @@
|
||||
<el-table-column label="操作" align="center" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
link
|
||||
size="small"
|
||||
type="primary"
|
||||
@click="getuporghiorgid(scope.row.id, scope.row.orgId, scope.row.reportstatus)"
|
||||
v-hasPermi="['tblist:patientexamlist:query']"
|
||||
style="color: rgb(56, 119, 246);"
|
||||
>
|
||||
申请
|
||||
</el-button>
|
||||
@ -496,12 +357,10 @@ const examDate_radio_change = () => {
|
||||
handleQuery()
|
||||
} else if (5 === examDate_radio_value.value) {
|
||||
queryParams.examDate = []
|
||||
}else if(0 === examDate_radio_value.value)
|
||||
{
|
||||
} else if (0 === examDate_radio_value.value) {
|
||||
queryParams.examDate = []
|
||||
handleQuery()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
///转换时间格式
|
||||
|
Loading…
Reference in New Issue
Block a user