diff --git a/src/components/doctorCheck/ButtonList.vue b/src/components/doctorCheck/ButtonList.vue index a95c0cd..11215a1 100644 --- a/src/components/doctorCheck/ButtonList.vue +++ b/src/components/doctorCheck/ButtonList.vue @@ -16,10 +16,10 @@ 删除人员
- 上一人 + 上一人
- 下一人 + 下一人
保存结果 @@ -31,7 +31,10 @@ 删除结果
- 删除项目 + 放弃明细项目检查 +
+
+ 删除明细项目
历次结果 @@ -40,7 +43,7 @@ 体检报告
- 生成小结 + 生成小结
总检 @@ -95,9 +98,7 @@ 取 消 确 定 - - - +
diff --git a/src/components/doctorCheck/CheckItemList.vue b/src/components/doctorCheck/CheckItemList.vue index cc8519f..7c9f6b3 100644 --- a/src/components/doctorCheck/CheckItemList.vue +++ b/src/components/doctorCheck/CheckItemList.vue @@ -5,11 +5,11 @@ style="width: 100%" :height=" window.pageHeight < 600 - ? Math.floor(((420 - 40) * 3) / 5) - : Math.floor(((window.pageHeight - 260 - 40) * 3) / 5) + ? Math.floor(((420 - 40 - (isCheckPicture ? 100:0)) * 3) / 5) + : Math.floor(((window.pageHeight - 260 - 40 - (isCheckPicture ? 100:0)) * 3) / 5) " :row-style="{ height: '30px' }" - border + border highlight-current-row @row-click="rowClick" > @@ -49,6 +49,7 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api"; export default { components: {}, + props:["isCheckPicture"], data() { return { restaurants: [], //结果模版 @@ -74,6 +75,11 @@ export default { //检查组合项目下所包含的明细项目 checkItemList(RegisterCheckId) { + this.doctorCheck.checkItem = null + if(!RegisterCheckId){ + this.doctorCheck.checkItemList = [] + return + } console.log( `/api/app/registercheckitem/getlistinregistercheckid?RegisterCheckId=${RegisterCheckId}` ); @@ -120,16 +126,17 @@ export default { //监听事件 watch: { //检查项目切换 - "doctorCheck.RegisterCheckId"(newVal, oldVal) { - console.log( - "watch doctorCheck.RegisterCheckId newVal:", - newVal, - " oldVal:", - oldVal - ); - if (newVal != oldVal && newVal != "") { + "doctorCheck.RegisterCheckId":{ + immediate:true, + handler(newVal, oldVal) { + console.log( + "watch doctorCheck.RegisterCheckId newVal:", + newVal, + " oldVal:", + oldVal + ); this.checkItemList(newVal); - } + } }, }, }; diff --git a/src/components/doctorCheck/CheckPicture.vue b/src/components/doctorCheck/CheckPicture.vue new file mode 100644 index 0000000..03d4405 --- /dev/null +++ b/src/components/doctorCheck/CheckPicture.vue @@ -0,0 +1,81 @@ + + + diff --git a/src/components/doctorCheck/CheckSumSug.vue b/src/components/doctorCheck/CheckSumSug.vue index e5248c8..529f73a 100644 --- a/src/components/doctorCheck/CheckSumSug.vue +++ b/src/components/doctorCheck/CheckSumSug.vue @@ -2,7 +2,7 @@