+
清除
默认结果
确定
@@ -73,7 +75,7 @@ import { getTreePids, getTreeAllChildIdsById, madeTree } from "../../utlis/tree"
export default {
components: {},
- props: ["useCustomerOrg", "initDateType", "isUnit"],
+ props: ["refParams", "refFuncOther"],
data() {
return {
filterText: '',
@@ -97,7 +99,7 @@ export default {
},
//
computed: {
- ...mapState(["dict", "window", "customerOrg", "patientRegister", "report", "diagnosis", "project"]),
+ ...mapState(["window", "dialogWin"]),
mainHeight() {
return this.window.pageHeight - 78;
@@ -117,9 +119,17 @@ export default {
mounted() {
//获取体检单位列表树信息
this.getPacsTemplateTree();
+ this.init()
},
methods: {
+ // 初始化数据
+ init() {
+ this.btnClear()
+ this.description = []
+ this.result = this.refParams.row.result
+ this.summary = this.refParams.summary || ''
+ },
//树过滤
filterNode(value, data) {
@@ -156,7 +166,8 @@ export default {
let ids = getTreeAllChildIdsById(this.pacsTemplateTree, "children", "id", data.id)
ids.unshift(data.id) // 加入自身节点
- hadoopPost('pacsApi','/api/app/BigtextResultTemplate/GetBigtextResultTemplateDetail', { bigtextResultTemplateIds: ids })
+ // hadoopPost('pacsApi', '/api/app/BigtextResultTemplate/GetBigtextResultTemplateDetail', { bigtextResultTemplateIds: ids })
+ postapi('/api/app/BigtextResultTemplate/GetBigtextResultTemplateDetail', { bigtextResultTemplateIds: ids })
.then(res => {
if (res.code > -1) {
this.newQuery = 0
@@ -179,11 +190,10 @@ export default {
if (lfind > -1) {
// console.log('this.descriptionChoosed refresh', deepCopy(this.descriptionChoosed))
this.$nextTick(() => {
- this.$refs['ref_description'].toggleRowSelection(this.description[i],true)
- })
+ this.$refs['ref_description'].toggleRowSelection(this.description[i], true)
+ })
}
});
-
}
})
@@ -218,7 +228,7 @@ export default {
} else {
this.result = e.description
}
- });
+ });
// 这一次没选中的在上一次的选中当中,说明取消选择
if (this.newQuery > 1) {
@@ -239,8 +249,8 @@ export default {
});
}
this.descriptionChoosedPre = deepCopy(v)
- if(this.result){
- if(this.result.substring(this.result.length - 1,this.result.length) == ";") this.result = this.result.substring(0,this.result.length - 1)
+ if (this.result) {
+ if (this.result.substring(this.result.length - 1, this.result.length) == ";") this.result = this.result.substring(0, this.result.length - 1)
}
},
@@ -296,18 +306,26 @@ export default {
// 默认结果
btnDefault() {
-
+ this.btnClear()
+ this.result = this.refParams.row.defaultResult
+ this.summary = '未见异常'
},
// 确定
btnOk() {
+ this.refFuncOther(this.refParams.row, this.refParams.index, { result: this.result, summary: this.summary })
this.dialogWin.PacsTemplate = false
},
},
+
watch: {
"filterText"(newVal, oldVal) {
if (newVal != oldVal) this.$refs['ref_tree'].filter(newVal);
- }
+ },
+
+ "refParams.row.itemId"(newVal, oldVal) {
+ if (newVal != oldVal) this.init();
+ },
},
};
diff --git a/src/components/doctorCheck/PatientRegisterBase.vue b/src/components/doctorCheck/PatientRegisterBase.vue
index 10727f4..828ae4e 100644
--- a/src/components/doctorCheck/PatientRegisterBase.vue
+++ b/src/components/doctorCheck/PatientRegisterBase.vue
@@ -181,6 +181,7 @@ export default {
//触发检查医生诊台相关刷新
this.dataTransOpts.refresh.register_check.M++
+
//触发总检医生诊台相关刷新
// console.log('afterFind',rd)
diff --git a/src/components/doctorCheck/RegisterCheckList.vue b/src/components/doctorCheck/RegisterCheckList.vue
index b44d676..70caa34 100644
--- a/src/components/doctorCheck/RegisterCheckList.vue
+++ b/src/components/doctorCheck/RegisterCheckList.vue
@@ -1,11 +1,10 @@
-
+
-
+
@@ -16,9 +15,8 @@
-
+
@@ -29,9 +27,8 @@
-
+
@@ -42,9 +39,8 @@
-
+
@@ -61,13 +57,13 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/components/occDisease/OccDiseaseConclusion.vue b/src/components/occDisease/OccDiseaseConclusion.vue
index 0b83cd6..e7ad8e8 100644
--- a/src/components/occDisease/OccDiseaseConclusion.vue
+++ b/src/components/occDisease/OccDiseaseConclusion.vue
@@ -5,8 +5,8 @@
- | 职业健康检查总结论: |
- 职业健康检查建议: |
+ 结论: |
+ 建议: |
|