From 2f0ae9f84306a001df2e2828a70dbd42c3edc3f8 Mon Sep 17 00:00:00 2001
From: pengjun <158915633@qq.com>
Date: Wed, 21 Jun 2023 14:47:37 +0800
Subject: [PATCH] 22
---
src/views/customerOrg/customerOrg.vue | 828 +++++++++-----------------
1 file changed, 282 insertions(+), 546 deletions(-)
diff --git a/src/views/customerOrg/customerOrg.vue b/src/views/customerOrg/customerOrg.vue
index ef38bd1..28cc30d 100644
--- a/src/views/customerOrg/customerOrg.vue
+++ b/src/views/customerOrg/customerOrg.vue
@@ -2,327 +2,218 @@
-
-
-
-
-
- {{ item.displayName }}
-
-
-
-
- 类别选择
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
- {{ scope.row.creationTime | dateFormat }}
-
-
-
-
-
-
- {{ scope.row.lastModificationTime | dateFormat }}
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+ 启用
+ 停用
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
新增
-
编辑
+
保存
删除
@@ -333,44 +224,23 @@
置底
- 排序
+ 排序
- 取消
+ 取消
- 结果模板
+ 结果模板
- 参考范围
+ 参考范围
-
+
@@ -389,11 +259,11 @@
{{ scope.row.id }}
-
+
-
-
-
+
+
+
@@ -410,36 +280,23 @@
>
-->
- 诊断匹配
+ 诊断匹配
-
+
-
+
@@ -452,60 +309,31 @@
-
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -518,35 +346,18 @@
-
+
参考范围类型
-
-
+
+
-
+
@@ -554,26 +365,15 @@
-
-
+
+
-
+
@@ -583,8 +383,7 @@
-
+
@@ -595,13 +394,8 @@
@@ -609,25 +403,14 @@
-
+
- 诊断设置
+ 诊断设置
-
+
@@ -672,35 +449,23 @@
-
+
-
+
{{ scope.row.creationTime | dateFormat }}
-
+
{{ scope.row.lastModificationTime | dateFormat }}
@@ -714,9 +479,7 @@
@@ -730,81 +493,43 @@
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -824,12 +549,7 @@
-
+
@@ -842,9 +562,7 @@
@@ -870,6 +588,10 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api";
export default {
data() {
return {
+ data: {
+ customerOrgTree: [], //体检单位列表(不含【个人体检】单位)
+ customerOrgTreeChooseId: '', //当前树节点选中的 单位ID
+ },
value: "",
diagnostisbox: false, //诊断设置弹框的方法
// tabelform: {
@@ -882,6 +604,7 @@ export default {
value: "id",
children: "treeChildren",
}, //左侧树形结构需要的数据
+
editdigoisceditingform: {
displayName: "",
itemTypeId: "",
@@ -1135,12 +858,7 @@ export default {
value: "N",
label: "否",
},
- ], //总监模板
- props: {
- label: "displayName",
- value: "id",
- children: "treeChildren",
- }, //左侧树形结构
+ ], //总监模板
newssdate: [
{
id: "1",
@@ -1160,11 +878,28 @@ export default {
this.getlist();
this.getmedicalconclusionlist();
},
+
+ //挂载完成
mounted() {
+ //获取体检单位列表树信息
+ this.getCustomerOrgTree();
+
this.rowDrop();
this.typeid();
},
+
methods: {
+
+ //获取体检单位列表树信息
+ getCustomerOrgTree() {
+ this.data.customerOrgTree = [{
+ displayName: "个人体检", //
+ id: "00000000-0000-0000-0000-000000000000", //
+ //treeChildren: [],
+ }]
+ //console.log('this.data.customerOrgTree',this.data.customerOrgTree)
+ },
+
//参考范围确定类型
determinetype() {
if (this.referencerangevalue == 2) {
@@ -1202,6 +937,7 @@ export default {
}
//
},
+
treeclick(data) {
getapi(`/api/app/item/in-item-type/${data.id}`).then((res) => {
this.tableData = res.data;
@@ -1255,7 +991,7 @@ export default {
this.$router.push({ path: "/diagnosis" });
},
//结果模板添加
- resultaddition() {},
+ resultaddition() { },
//模板类别弹框
// templatecategory() {
// getapi("/api/app/item-result-template").then((res) => {
@@ -1571,7 +1307,7 @@ export default {
this.form = {};
});
})
- .catch(() => {});
+ .catch(() => { });
}
},
//点击列表通过id查询