diff --git a/src/components/doctorCheck/ButtonList.vue b/src/components/doctorCheck/ButtonList.vue
index bdcbdec..484a941 100644
--- a/src/components/doctorCheck/ButtonList.vue
+++ b/src/components/doctorCheck/ButtonList.vue
@@ -42,10 +42,10 @@
取消审核
- 历次结果
+ 历次结果
- 体检报告
+ 体检报告
总检
@@ -110,7 +110,31 @@
取 消
确 定
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/doctorCheck/CheckSumSug.vue b/src/components/doctorCheck/CheckSumSug.vue
index 87c8d01..c16ef55 100644
--- a/src/components/doctorCheck/CheckSumSug.vue
+++ b/src/components/doctorCheck/CheckSumSug.vue
@@ -91,7 +91,7 @@ export default {
//小结高度
sumHeight(){
- return this.window.pageHeight < 600 ? Math.floor((395 - (this.isCheckPicture ? 100:0))*2/5):Math.floor((this.window.pageHeight - 205 - (this.isCheckPicture ? 120:0))*2/5);
+ return this.window.pageHeight < 600 ? Math.floor((395 - (this.isCheckPicture ? 110:0))*2/5):Math.floor((this.window.pageHeight - 205 - (this.isCheckPicture ? 110:0))*2/5);
}
},
diff --git a/src/components/sumDoctorCheck/ButtonList.vue b/src/components/sumDoctorCheck/ButtonList.vue
index 1c56c01..d29d4d1 100644
--- a/src/components/sumDoctorCheck/ButtonList.vue
+++ b/src/components/sumDoctorCheck/ButtonList.vue
@@ -147,8 +147,8 @@ export default {
save() {
let ret = this.optGrant('save')
if (ret) {
- alert(ret)
- return
+ this.$message.warning(ret);
+ return;
}
//更新总检
@@ -165,14 +165,19 @@ export default {
edit() {
let ret = this.optGrant('edit')
if (ret) {
- alert(ret)
- return
+ this.$message.warning(ret);
+ return;
}
this.sumDoctorCheck.sumPREdit.completeFlag = '2'
},
//取消结果
del() {
+ let ret = this.optGrant('del')
+ if (ret) {
+ this.$message.warning(ret);
+ return;
+ }
let body = {
patientRegisterId: this.sumDoctorCheck.sumPREdit.id,
//summaryDoctor: this.sumDoctorCheck.sumPREdit.summaryDoctor,
@@ -211,8 +216,8 @@ export default {
audit() {
let ret = this.optGrant('audit')
if (ret) {
- alert(ret)
- return
+ this.$message.warning(ret);
+ return;
}
let body = {
patientRegisterId: this.sumDoctorCheck.sumPREdit.id,
@@ -239,8 +244,8 @@ export default {
unAudit() {
let ret = this.optGrant('unAudit')
if (ret) {
- alert(ret)
- return
+ this.$message.warning(ret);
+ return;
}
let body = {
@@ -268,8 +273,8 @@ export default {
report() {
let ret = this.optGrant('report')
if (ret) {
- alert(ret)
- return
+ this.$message.warning(ret);
+ return;
}
if(!this.$peisAPI) {
this.$message.info("此功能,需要在壳客户端才可运行!")
@@ -329,8 +334,8 @@ export default {
console.log("parseID('123456198007240000')", parseID('123456198007240000'))
let ret = this.optGrant('reCheck')
if (ret) {
- alert(ret)
- return
+ this.$message.warning(ret);
+ return;
}
},
@@ -339,8 +344,8 @@ export default {
intervene() {
let ret = this.optGrant('intervene')
if (ret) {
- alert(ret)
- return
+ this.$message.warning(ret);
+ return;
}
},
diff --git a/src/components/sumDoctorCheck/CheckDetails.vue b/src/components/sumDoctorCheck/CheckDetails.vue
index acdd85d..39913ef 100644
--- a/src/components/sumDoctorCheck/CheckDetails.vue
+++ b/src/components/sumDoctorCheck/CheckDetails.vue
@@ -51,6 +51,7 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { arrayExistObj } from '@/utlis/proFunc';
export default {
components: {},
+ props:["patientRegisterId"],
data() {
return {
tableData:[],
@@ -61,9 +62,9 @@ export default {
//挂载完成
mounted() {
- if(this.sumDoctorCheck.sumPREdit.id){
- this.CheckDetails(this.sumDoctorCheck.sumPREdit.id);
- }
+ // if(this.patientRegisterId){
+ // this.CheckDetails(this.patientRegisterId);
+ // }
},
computed: {
@@ -103,10 +104,10 @@ export default {
//监听事件
watch: {
//检查项目切换
- "sumDoctorCheck.sumPREdit.id":{
+ "patientRegisterId":{
immediate:true,
handler(newVal, oldVal) {
- console.log("watch sumDoctorCheck.sumPREdit.id newVal:", newVal, " oldVal:", oldVal);
+ console.log("watch patientRegisterId newVal:", newVal, " oldVal:", oldVal);
this.CheckDetails(newVal);
}
},
diff --git a/src/components/sumDoctorCheck/SumHistory.vue b/src/components/sumDoctorCheck/SumHistory.vue
index 8afe996..5f1d48f 100644
--- a/src/components/sumDoctorCheck/SumHistory.vue
+++ b/src/components/sumDoctorCheck/SumHistory.vue
@@ -29,6 +29,7 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { arrayExistObj } from '@/utlis/proFunc';
export default {
components: {},
+ props:["patientId"],
data() {
return {
tableData:[], //显示数据
@@ -39,9 +40,9 @@ export default {
//挂载完成
mounted() {
- if(this.sumDoctorCheck.sumPREdit.patientId){
- this.SumHistory(this.sumDoctorCheck.sumPREdit.patientId);
- }
+ // if(this.patientId){
+ // this.SumHistory(this.patientId);
+ // }
},
computed: {
@@ -82,10 +83,11 @@ export default {
//监听事件
watch: {
//检查项目切换
- "sumDoctorCheck.sumPREdit.patientId":{
+ "patientId":{
immediate:true,
handler(newVal, oldVal) {
- console.log("watch sumDoctorCheck.sumPREdit.patientId newVal:", newVal, " oldVal:", oldVal);
+ console.log("watch SumHistory.patientId newVal:", newVal, " oldVal:", oldVal);
+ debugger
this.SumHistory(newVal)
}
},
diff --git a/src/components/sumDoctorCheck/SumItems.vue b/src/components/sumDoctorCheck/SumItems.vue
index 37d2e94..0bffdf4 100644
--- a/src/components/sumDoctorCheck/SumItems.vue
+++ b/src/components/sumDoctorCheck/SumItems.vue
@@ -28,6 +28,7 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { arrayExistObj } from '@/utlis/proFunc';
export default {
components: {},
+ props:["patientId"],
data() {
return {
RegisterCheckList: [],
@@ -41,9 +42,9 @@ export default {
//挂载完成
mounted() {
- if(this.sumDoctorCheck.sumPREdit.patientId){
- this.registerCheckList(this.sumDoctorCheck.sumPREdit.patientId);
- }
+ // if(this.sumDoctorCheck.sumPREdit.patientId){
+ // this.registerCheckList(this.sumDoctorCheck.sumPREdit.patientId);
+ // }
},
computed: {
@@ -83,7 +84,7 @@ export default {
rowClick(row) {
//console.log('row',row) //asbitemId
- this.SumItems(this.sumDoctorCheck.sumPREdit.patientId, row.asbitemId)
+ this.SumItems(this.patientId, row.asbitemId)
},
@@ -153,10 +154,10 @@ export default {
//监听事件
watch: {
//检查项目切换
- "sumDoctorCheck.sumPREdit.patientId":{
+ "patientId":{
immediate:true,
handler(newVal, oldVal) {
- console.log("watch sumDoctorCheck.sumPREdit.patientId newVal:", newVal, " oldVal:", oldVal);
+ console.log("watch patientId newVal:", newVal, " oldVal:", oldVal);
this.registerCheckList(newVal)
}
},
diff --git a/src/components/sumDoctorCheck/SumItemsType.vue b/src/components/sumDoctorCheck/SumItemsType.vue
index 4bf1d55..d9c5b83 100644
--- a/src/components/sumDoctorCheck/SumItemsType.vue
+++ b/src/components/sumDoctorCheck/SumItemsType.vue
@@ -16,6 +16,7 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { arrayExistObj } from '@/utlis/proFunc';
export default {
components: {},
+ props:["patientId"],
data() {
return {
orgData:[], //原始的数据,
@@ -29,9 +30,9 @@ export default {
//挂载完成
mounted() {
- if(this.sumDoctorCheck.sumPREdit.patientId){
- this.SumItems(this.sumDoctorCheck.sumPREdit.patientId);
- }
+ // if(this.patientId){
+ // this.SumItems(this.patientId);
+ // }
},
computed: {
@@ -98,10 +99,10 @@ export default {
//监听事件
watch: {
//检查项目切换
- "sumDoctorCheck.sumPREdit.patientId":{
+ "patientId":{
immediate:true,
handler(newVal, oldVal) {
- console.log("watch sumDoctorCheck.sumPREdit.patientId newVal:", newVal, " oldVal:", oldVal);
+ console.log("watch patientId newVal:", newVal, " oldVal:", oldVal);
this.SumItems(newVal)
}
},
diff --git a/src/components/sumDoctorCheck/SumSug.vue b/src/components/sumDoctorCheck/SumSug.vue
index 5951db8..10f3881 100644
--- a/src/components/sumDoctorCheck/SumSug.vue
+++ b/src/components/sumDoctorCheck/SumSug.vue
@@ -10,7 +10,7 @@
-
+
{{ scope2.$index + 1 }}
-
+
-
+
-
+
diff --git a/src/views/doctorCheck/sumDoctorCheck.vue b/src/views/doctorCheck/sumDoctorCheck.vue
index 9c67463..325ae76 100644
--- a/src/views/doctorCheck/sumDoctorCheck.vue
+++ b/src/views/doctorCheck/sumDoctorCheck.vue
@@ -15,24 +15,23 @@
-
+
-
-
+
-
+
-
+
-
+