13 changed files with 689 additions and 375 deletions
-
4public/sysConfig.json
-
2src/components/common/LocalConfig.vue
-
785src/components/customerOrg/customerOrgGroupAsbitem.vue
-
71src/components/doctorCheck/CheckPicture.vue
-
2src/components/doctorCheck/CheckPictureUpload.vue
-
2src/components/doctorCheck/QueueCheckList.vue
-
2src/components/patientRegister/PatientRegisterEditGroupBatch.vue
-
152src/components/patientRegister/PatientRegisterEditMedicalTypeBatch.vue
-
23src/components/patientRegister/PatientRegisterList.vue
-
9src/main.js
-
2src/store/index.js
-
9src/views/customerOrg/customerOrgGroup.vue
-
1src/views/doctorCheck/doctorCheck.vue
@ -1,7 +1,7 @@ |
|||
{ |
|||
"apiurl": "http://192.168.0.188:9530", |
|||
"apiurl": "http://140.143.162.39:9529", |
|||
"softName": "神豚体检管理系统", |
|||
"pacsApi": "http://140.143.162.39:9530", |
|||
"pacsApi": "http://192.168.0.188:9530", |
|||
"dcmViewers": "https://app.mzaktj.com:4436", |
|||
"pacsApiHttps": "https://app.mzaktj.com:8042" |
|||
} |
|||
785
src/components/customerOrg/customerOrgGroupAsbitem.vue
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,152 @@ |
|||
<template> |
|||
<div> |
|||
<div> |
|||
<div style="margin-top: 2px"> |
|||
<el-select v-model="medicalTypeId" placeholder="请选择" filterable clearable style="width:300px;" size="small"> |
|||
<el-option v-for="item in dict.medicalType" :key="item.id" :label="item.displayName" :value="item.id" /> |
|||
</el-select> |
|||
<div style="margin: 10px; display: flex;justify-content: space-between;"> |
|||
<div></div> |
|||
<div> |
|||
<el-button class="commonbutton" type="primary" @click="btnOk">确 定</el-button> |
|||
<el-button class="commonbutton" @click="dialogWin.PatientRegisterEditMedicalTypeBatch = false">取 消</el-button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div> |
|||
<!-- 通用进度条 --> |
|||
<el-dialog title="数据处理中……" :visible.sync="elProgress.display" width="600px" height="400" :show-close="false" |
|||
:close-on-click-modal="false" :append-to-body="true"> |
|||
<ElProgressOCX /> |
|||
</el-dialog> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
<script> |
|||
import moment from "moment"; |
|||
import { mapState, mapActions } from "vuex"; |
|||
import { getapi, postapi, putapi, deletapi } from "@/api/api"; |
|||
|
|||
|
|||
import { |
|||
dddw, |
|||
arrayReduce, |
|||
arrayExistObj, |
|||
deepCopy, |
|||
} from "../../utlis/proFunc"; |
|||
|
|||
|
|||
|
|||
import ElProgressOCX from "../report/ElProgressOCX.vue"; |
|||
|
|||
export default { |
|||
components: { |
|||
ElProgressOCX, |
|||
}, |
|||
props: ["multipleSelection", "doctorType"], |
|||
data() { |
|||
return { |
|||
tableData: [], |
|||
users: [], |
|||
patientRegisterIds: [], |
|||
medicalTypeId:'', |
|||
}; |
|||
}, |
|||
|
|||
// 组件创建完成 |
|||
created() { |
|||
this.asbitemBatchInit = deepCopy(this.asbitemBatch) |
|||
}, |
|||
|
|||
//挂载完成 |
|||
mounted() { |
|||
// 初始化数据,如:在用组合项目 |
|||
this.dictInit() |
|||
}, |
|||
|
|||
computed: { |
|||
...mapState([ |
|||
"window", |
|||
"dataTransOpts", |
|||
"dialogWin", |
|||
"dict", |
|||
"elProgress", |
|||
"patientRegister", |
|||
"customerOrg", |
|||
]), |
|||
|
|||
}, |
|||
methods: { |
|||
moment, dddw, deepCopy, |
|||
|
|||
|
|||
//批量调整项目(确定按钮) |
|||
btnOk() { |
|||
this.$message.warning({showClose:true,message:'开发中.....'}) |
|||
return |
|||
|
|||
let url = '/api/app/RegisterCheck/UpdateBatchCheckDoctor' |
|||
//if(this.doctorType == 'audit') url = '/api/app/RegisterCheck/UpdateBatchAuditDoctor' |
|||
|
|||
postapi(url, { patientRegisterIds: this.patientRegisterIds, medicalTypeId }) |
|||
.then(res => { |
|||
if (res.code > -1) { |
|||
this.dialogWin.PatientRegisterEditMedicalTypeBatch = false; |
|||
} |
|||
}) |
|||
|
|||
}, |
|||
|
|||
// 初始化字典信息 |
|||
dictInit() { |
|||
|
|||
this.patientRegisterIds = [] |
|||
this.multipleSelection.forEach(e => { |
|||
this.patientRegisterIds.push(e.id) |
|||
}); |
|||
|
|||
// 获取体检类别 |
|||
//体检类别 |
|||
getapi("/api/app/medical-type/in-filter").then((res) => { |
|||
if (res.code > -1) { |
|||
this.dict.medicalType = res.data; |
|||
} |
|||
}); |
|||
|
|||
}, |
|||
|
|||
}, |
|||
|
|||
//监听事件 |
|||
watch: { |
|||
"dataTransOpts.plus.PatientRegisterEditMedicalTypeBatch": { |
|||
// immediate: true, // 立即执行 |
|||
// deep: true, // 深度监听复杂类型内变化 |
|||
handler(newVal, oldVal) { |
|||
console.log(`watch: 刷新在用组合体检类别 newVal: ${newVal} oldVal:${oldVal}`) |
|||
if (newVal != oldVal) this.dictInit() |
|||
} |
|||
}, |
|||
}, |
|||
}; |
|||
</script> |
|||
<style scoped> |
|||
@import "../../assets/css/global_input.css"; |
|||
@import "../../assets/css/global_table.css"; |
|||
@import "../../assets/css/global.css"; |
|||
|
|||
|
|||
.box { |
|||
display: flex; |
|||
} |
|||
|
|||
.listBtn { |
|||
margin-top: 5px; |
|||
text-align: center; |
|||
} |
|||
|
|||
.btnClass { |
|||
width: 100px; |
|||
} |
|||
</style> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue