Browse Source

doctor

master
pengjun 2 years ago
parent
commit
6a570e4073
  1. 6
      src/components/doctorCheck/CheckSumSug.vue
  2. 20
      src/views/customerOrg/customerOrgGroup.vue
  3. 38
      src/views/doctorCheck/sumDoctorCheck.vue

6
src/components/doctorCheck/CheckSumSug.vue

@ -130,10 +130,8 @@ export default {
checkPagePriv, checkPagePriv,
// //
checkSummaryList(RegisterCheckId) { checkSummaryList(RegisterCheckId) {
if (!RegisterCheckId) {
this.doctorCheck.checkSummaryList = [];
return;
}
this.doctorCheck.checkSummaryList = [];
if (!RegisterCheckId) return;
// console.log(`/api/app/registerchecksummary/getregisterchecksummarylist?RegisterCheckId=${RegisterCheckId}`) // console.log(`/api/app/registerchecksummary/getregisterchecksummarylist?RegisterCheckId=${RegisterCheckId}`)
getapi(`/api/app/registerchecksummary/getregisterchecksummarylist?RegisterCheckId=${RegisterCheckId}`) getapi(`/api/app/registerchecksummary/getregisterchecksummarylist?RegisterCheckId=${RegisterCheckId}`)
.then((res) => { .then((res) => {

20
src/views/customerOrg/customerOrgGroup.vue

@ -74,22 +74,25 @@
</div> </div>
<!--按钮--> <!--按钮-->
<div style="display: block; margin-left: 5px"> <div style="display: block; margin-left: 5px">
<div v-show="checkPagePriv(pagePriv.privs, '新增')" style="margin-top: 35px">
<div v-show="checkPagePriv(pagePriv.privs, '复制上次分组')" style="margin-top: 0px">
<el-button class="commonbutton" @click="btnCopyPreGroup">复制上次分组</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '新增')" style="margin-top: 5px">
<el-button class="commonbutton" @click="btnAdd('')">新增</el-button> <el-button class="commonbutton" @click="btnAdd('')">新增</el-button>
</div> </div>
<div v-show="checkPagePriv(pagePriv.privs, '编辑')" style="margin-top: 8px">
<div v-show="checkPagePriv(pagePriv.privs, '编辑')" style="margin-top: 5px">
<el-button class="commonbutton" @click="btnEdit">编辑</el-button> <el-button class="commonbutton" @click="btnEdit">编辑</el-button>
</div> </div>
<div v-show="checkPagePriv(pagePriv.privs, '删除')" style="margin-top: 8px">
<div v-show="checkPagePriv(pagePriv.privs, '删除')" style="margin-top: 5px">
<el-button class="deleteButton" @click="btnDel">删除</el-button> <el-button class="deleteButton" @click="btnDel">删除</el-button>
</div> </div>
<div v-show="checkPagePriv(pagePriv.privs, '置顶')" style="margin-top: 8px">
<div v-show="checkPagePriv(pagePriv.privs, '置顶')" style="margin-top: 5px">
<el-button class="commonbutton" @click="btnSetTop">置顶</el-button> <el-button class="commonbutton" @click="btnSetTop">置顶</el-button>
</div> </div>
<div v-show="checkPagePriv(pagePriv.privs, '置底')" style="margin-top: 8px">
<div v-show="checkPagePriv(pagePriv.privs, '置底')" style="margin-top: 5px">
<el-button class="commonbutton" @click="btnSetBottom">置底</el-button> <el-button class="commonbutton" @click="btnSetBottom">置底</el-button>
</div> </div>
<div v-show="checkPagePriv(pagePriv.privs, '保存排序')" style="margin-top: 8px">
<div v-show="checkPagePriv(pagePriv.privs, '保存排序')" style="margin-top: 5px">
<el-button class="commonbutton" @click="btnSort" :disabled="!isDrag">保存排序</el-button> <el-button class="commonbutton" @click="btnSort" :disabled="!isDrag">保存排序</el-button>
</div> </div>
</div> </div>
@ -196,6 +199,11 @@ export default {
dddw, dddw,
deepCopy, deepCopy,
//
btnCopyPreGroup(){
this.$message.warning({showClose:true,message:'开发中……'})
},
// //
refreshMoney(formData) { refreshMoney(formData) {
//console.log('this is parent') //console.log('this is parent')

38
src/views/doctorCheck/sumDoctorCheck.vue

@ -15,7 +15,7 @@
<div style="display: flex;"> <div style="display: flex;">
<!-- 综述建议 --> <!-- 综述建议 -->
<div :style="'width:' + (window.pageWidth - 110 - 15) + 'px;'"> <div :style="'width:' + (window.pageWidth - 110 - 15) + 'px;'">
<SumSug :patientRegisterId="dataTransOpts.tableS.patient_register.id" :tabChoosed="tabChoosed"/>
<SumSug :patientRegisterId="dataTransOpts.tableS.patient_register.id" :tabChoosed="tabChoosed" />
</div> </div>
<!-- 诊断 width:200px; <!-- 诊断 width:200px;
<div v-if="false" style="width:200px;"> <div v-if="false" style="width:200px;">
@ -28,13 +28,14 @@
<SumPREdit /> <SumPREdit />
<!-- 检查情况 --> <!-- 检查情况 -->
<div style="margin-top: -6px;"> <div style="margin-top: -6px;">
<SumAsbItemStatus :patientRegisterId="dataTransOpts.tableS.patient_register.id" :tabChoosed="tabChoosed"/>
</div>
<SumAsbItemStatus :patientRegisterId="dataTransOpts.tableS.patient_register.id"
:tabChoosed="tabChoosed" />
</div>
</div> </div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="明细结果" name="2">
<CheckDetails :patientRegisterId="dataTransOpts.tableS.patient_register.id" :tabChoosed="tabChoosed"/>
<el-tab-pane label="明细结果" name="2">
<CheckDetails :patientRegisterId="dataTransOpts.tableS.patient_register.id" :tabChoosed="tabChoosed" />
</el-tab-pane> </el-tab-pane>
<!-- <!--
<el-tab-pane label="危急值" name="3"> </el-tab-pane> <el-tab-pane label="危急值" name="3"> </el-tab-pane>
@ -43,17 +44,17 @@
</el-tab-pane> </el-tab-pane>
--> -->
<el-tab-pane label="历次结果" name="5"> <el-tab-pane label="历次结果" name="5">
<SumItems :patientId="dataTransOpts.tableS.patient_register.patientId" :tabChoosed="tabChoosed"/>
<SumItems :patientId="dataTransOpts.tableS.patient_register.patientId" :tabChoosed="tabChoosed" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="历次综述" name="6"> <el-tab-pane label="历次综述" name="6">
<SumHistory :patientId="dataTransOpts.tableS.patient_register.patientId" :tabChoosed="tabChoosed"/>
<SumHistory :patientId="dataTransOpts.tableS.patient_register.patientId" :tabChoosed="tabChoosed" />
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
</div> </div>
<div style="width: 110px"> <div style="width: 110px">
<ButtonList/>
<ButtonList />
</div> </div>
</div> </div>
</div> </div>
@ -93,11 +94,12 @@ export default {
}; };
}, },
created() {
if(this.$route.query.patient_register){
created() {
if (this.$route.query.patient_register) {
this.dataTransOpts.tableS.patient_register = this.$route.query.patient_register this.dataTransOpts.tableS.patient_register = this.$route.query.patient_register
}else{
this.dataTransOpts.tableS.patient_register = { id: '', patientRegisterNo: ''}
} else {
this.dataTransOpts.tableS.patient_register = { id: '', patientRegisterNo: '' }
this.dataTransOpts.tableS.register_check = { id: '' }
} }
}, },
@ -224,16 +226,16 @@ export default {
console.log("dict", this.dict); console.log("dict", this.dict);
}, },
}, },
//() //()
watch: { watch: {
"tabChoosed":{
"tabChoosed": {
// immediate:true, // immediate:true,
handler(newVal, oldVal) { handler(newVal, oldVal) {
console.log(`watch 总检--历次综述建议 newVal: ${newVal}, oldVal: ${oldVal} `);
if(newVal != oldVal && newVal != '1') this.dataTransOpts.refresh.sumDoctor.M++
console.log(`watch 总检--历次综述建议 newVal: ${newVal}, oldVal: ${oldVal} `);
if (newVal != oldVal && newVal != '1') this.dataTransOpts.refresh.sumDoctor.M++
} }
}, },

Loading…
Cancel
Save