10 changed files with 693 additions and 793 deletions
-
13src/components/doctorCheck/CheckItemList.vue
-
3src/components/doctorCheck/CheckPicture.vue
-
24src/components/patientRegister/PatientRegisterEditMedicalTypeBatch.vue
-
162src/components/patientRegister/PatientRegisterEditPersonnelTypeBatch.vue
-
153src/components/patientRegister/PatientRegisterEditRemarkBatch.vue
-
89src/components/patientRegister/PatientRegisterList.vue
-
27src/components/patientRegister/customerOrgTreeAll.vue
-
4src/components/patientRegister/patientRegisterQuery.vue
-
4src/store/index.js
-
1007src/views/fee-settings/Asbitem.vue
@ -0,0 +1,162 @@ |
|||||
|
<template> |
||||
|
<div> |
||||
|
<div> |
||||
|
<div style="margin-top: 2px"> |
||||
|
<el-select v-model="personnelTypeId" placeholder="请选择" filterable clearable style="width:300px;" size="small"> |
||||
|
<el-option v-for="item in dict.personnelType" :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.PatientRegisterEditPersonnelTypeTypeBatch = 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: [], |
||||
|
personnelTypeId:'', |
||||
|
}; |
||||
|
}, |
||||
|
|
||||
|
// 组件创建完成 |
||||
|
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/PatientRegister/BatchUpdatePatientRegisterInfoByPatientRegisterId' |
||||
|
//if(this.doctorType == 'audit') url = '/api/app/RegisterCheck/UpdateBatchAuditDoctor' |
||||
|
/* |
||||
|
{ |
||||
|
"patientRegisterIds": [ |
||||
|
"3fa85f64-5717-4562-b3fc-2c963f66afa6" |
||||
|
], |
||||
|
"medicalTypeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", |
||||
|
"personnelTypeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", |
||||
|
"remark": "string" |
||||
|
} |
||||
|
*/ |
||||
|
postapi(url, { patientRegisterIds: this.patientRegisterIds, personnelTypeId:this.personnelTypeId }) |
||||
|
.then(res => { |
||||
|
if (res.code > -1) { |
||||
|
this.$message.success({showClose:true,message:'操作成功!'}) |
||||
|
this.dialogWin.PatientRegisterEditPersonnelTypeBatch = false; |
||||
|
} |
||||
|
}) |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
// 初始化字典信息 |
||||
|
dictInit() { |
||||
|
|
||||
|
this.patientRegisterIds = [] |
||||
|
this.multipleSelection.forEach(e => { |
||||
|
this.patientRegisterIds.push(e.id) |
||||
|
}); |
||||
|
|
||||
|
// 获取体检类别 |
||||
|
//体检类别 |
||||
|
getapi("/api/app/personnel-type/in-filter").then((res) => { |
||||
|
if (res.code > -1) { |
||||
|
this.dict.personnelType = res.data; |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
//监听事件 |
||||
|
watch: { |
||||
|
"dataTransOpts.plus.PatientRegisterEditPersonnelTypeBatch": { |
||||
|
// 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> |
||||
@ -0,0 +1,153 @@ |
|||||
|
<template> |
||||
|
<div> |
||||
|
<div> |
||||
|
<div style="margin-top: 2px"> |
||||
|
<el-input v-model="remark" type="textarea" :rows="2" placeholder="请输入备注" size="small"></el-input> |
||||
|
<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.PatientRegisterEditRemarkBatch = 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: [], |
||||
|
remark:'', |
||||
|
}; |
||||
|
}, |
||||
|
|
||||
|
// 组件创建完成 |
||||
|
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/PatientRegister/BatchUpdatePatientRegisterInfoByPatientRegisterId' |
||||
|
//if(this.doctorType == 'audit') url = '/api/app/RegisterCheck/UpdateBatchAuditDoctor' |
||||
|
/* |
||||
|
{ |
||||
|
"patientRegisterIds": [ |
||||
|
"3fa85f64-5717-4562-b3fc-2c963f66afa6" |
||||
|
], |
||||
|
"medicalTypeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", |
||||
|
"personnelTypeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", |
||||
|
"remark": "string" |
||||
|
} |
||||
|
*/ |
||||
|
postapi(url, { patientRegisterIds: this.patientRegisterIds, remark:this.remark }) |
||||
|
.then(res => { |
||||
|
if (res.code > -1) { |
||||
|
this.$message.success({showClose:true,message:'操作成功!'}) |
||||
|
this.dialogWin.PatientRegisterEditRemarkBatch = false; |
||||
|
} |
||||
|
}) |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
// 初始化字典信息 |
||||
|
dictInit() { |
||||
|
|
||||
|
this.patientRegisterIds = [] |
||||
|
this.multipleSelection.forEach(e => { |
||||
|
this.patientRegisterIds.push(e.id) |
||||
|
}); |
||||
|
|
||||
|
|
||||
|
}, |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
//监听事件 |
||||
|
watch: { |
||||
|
"dataTransOpts.plus.PatientRegisterEditRemarkBatch": { |
||||
|
// 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> |
||||
1007
src/views/fee-settings/Asbitem.vue
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue