Browse Source

Merge branch 'master' of http://git.shengws.com/csx/Vue_New

See999 4 years ago
parent
commit
15ad1b13b8

+ 3 - 3
src/xt_pages/data/printTemplate.vue View File

@@ -227,9 +227,9 @@ export default {
227 227
               // 同步
228 228
               // console.log(response.data.data.fileds)
229 229
               this.loading = false;
230
-              store
231
-                .dispatch("updateAllFiledConfigList", response.data.data.fileds)
232
-                .then(() => {});
230
+              // store
231
+              //   .dispatch("updateAllFiledConfigList", response.data.data.fileds)
232
+              //   .then(() => {});
233 233
               this.$message({
234 234
                 type: "success",
235 235
                 message: "切换成功"

+ 4 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue View File

@@ -73,7 +73,9 @@
73 73
 
74 74
         <li v-if="isShow('其他观察内容') && patient_gose == 3">
75 75
           <label>其他观察内容 : </label>
76
-          <span class="content">{{ observation_content_other }}</span>
76
+          <span class="content">{{
77
+            this.record.observation_content_other
78
+          }}</span>
77 79
         </li>
78 80
 
79 81
         <li
@@ -214,7 +216,7 @@
214 216
           v-if="patient_gose == 3 && isShow('交待病房护士/患者/陪人观察内容')"
215 217
         >
216 218
           <label>交待病房护士/患者/陪人观察内容 : </label>
217
-          <span class="content">{{ observation_content }}</span>
219
+          <span class="content">{{ this.record.observation_content }}</span>
218 220
         </li>
219 221
 
220 222
         <li v-if="isShow('患者去向')">

+ 3 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -846,7 +846,7 @@ export default {
846 846
         : 0;
847 847
 
848 848
       data["is_eat"] = this.form.is_eat ? parseFloat(this.form.is_eat) : 0;
849
-
849
+      console.log("data", data);
850 850
       postAssessmentAfterDislysis(ParamsQuery, data)
851 851
         .then(response => {
852 852
           this.loading = false;
@@ -980,9 +980,11 @@ export default {
980 980
       this.InnerDialogProps.visibility = false;
981 981
     },
982 982
 
983
+    //数据开始
983 984
     show(predialysis) {
984 985
       this.isVisibility = true;
985 986
       this.predialysis = predialysis;
987
+      this.form.observation_content = predialysis.observation_content;
986 988
       // console.log("透后", predialysis);
987 989
 
988 990
       this.getPermission();

+ 106 - 85
src/xt_pages/dialysis/details/dialog/MultiSelectBox/index.vue View File

@@ -1,112 +1,133 @@
1 1
 <template>
2
-  <el-dialog   append-to-body :show-close="isClose" :close-on-click-modal="isClose" :close-on-press-escape="isClose" :title="propsForm.titles" :visible.sync="propsForm.visibility"   >
3
-    <el-checkbox-group v-model="checkedData"  >
4
-      <el-checkbox v-for="(item,index) in propsForm.values" :label="item.name" :key="index"></el-checkbox>
2
+  <el-dialog
3
+    append-to-body
4
+    :show-close="isClose"
5
+    :close-on-click-modal="isClose"
6
+    :close-on-press-escape="isClose"
7
+    :title="propsForm.titles"
8
+    :visible.sync="propsForm.visibility"
9
+  >
10
+    <el-checkbox-group v-model="checkedData">
11
+      <el-checkbox
12
+        v-for="(item, index) in propsForm.values"
13
+        :label="item.name"
14
+        :key="index"
15
+      ></el-checkbox>
5 16
     </el-checkbox-group>
6
-    <el-input v-show="propsForm.isShowTextArea" v-model="customData"  type="textarea" :rows="6" placeholder="自定义"></el-input>
17
+    <el-input
18
+      v-show="propsForm.isShowTextArea"
19
+      v-model="customData"
20
+      type="textarea"
21
+      :rows="6"
22
+      placeholder="自定义"
23
+    ></el-input>
7 24
     <span slot="footer" class="dialog-footer">
8
-    <el-button @click="cancle">取 消</el-button>
9
-    <el-button type="primary" @click="comfirm">保 存</el-button>
10
-  </span>
25
+      <el-button @click="cancle">取 消</el-button>
26
+      <el-button type="primary" @click="comfirm">保 存</el-button>
27
+    </span>
11 28
   </el-dialog>
12 29
 </template>
13 30
 
14 31
 <script>
15
-  export default {
16
-    name: 'MultiSelectBox',
17
-    props:{
18
-      propsForm:{
19
-        type: Object,
20
-      }
32
+export default {
33
+  name: "MultiSelectBox",
34
+  props: {
35
+    propsForm: {
36
+      type: Object
37
+    }
38
+  },
39
+  data() {
40
+    return {
41
+      checkedData: [],
42
+      customData: "",
43
+      valueString: this.propsForm.selected,
44
+      isClose: false,
45
+      typeValue: this.propsForm.type
46
+    };
47
+  },
48
+  methods: {
49
+    comfirm: function() {
50
+      let returnValue = {};
51
+      returnValue["value"] = this.getValue();
52
+      returnValue["type"] = this.propsForm.type;
53
+      this.propsForm.type = "";
54
+      this.$emit("dialog-comfirm", returnValue);
21 55
     },
22
-    data() {
23
-      return {
24
-        checkedData: [],
25
-        customData: "",
26
-        valueString:this.propsForm.selected,
27
-        isClose: false,
28
-        typeValue:this.propsForm.type,
29
-      }
56
+    cancle: function() {
57
+      this.propsForm.type = "";
58
+      this.$emit("dialog-cancle");
30 59
     },
31
-    methods: {
32
-      comfirm:function() {
33
-        let returnValue = {
34
-
35
-        }
36
-        returnValue['value'] = this.getValue()
37
-        returnValue['type'] = this.propsForm.type;
38
-        this.propsForm.type = ''
39
-        this.$emit('dialog-comfirm', returnValue);
40
-      },
41
-      cancle:function () {
42
-        this.propsForm.type = ''
43
-        this.$emit('dialog-cancle');
44
-      },
45 60
 
46
-      getValue:function () {
47
-        var returnData = []
48
-        for(var index in this.checkedData) {
49
-          returnData.push(this.checkedData[index])
50
-        }
51
-        if (this.customData != '') {
52
-          var customData = this.customData.split(',')
53
-          for(var index in customData) {
54
-            returnData.push(customData[index])
55
-          }
61
+    getValue: function() {
62
+      var returnData = [];
63
+      for (var index in this.checkedData) {
64
+        returnData.push(this.checkedData[index]);
65
+      }
66
+      if (this.customData != "") {
67
+        var customData = this.customData.split(",");
68
+        for (var index in customData) {
69
+          returnData.push(customData[index]);
56 70
         }
57
-        return returnData;
58
-        // if(this.propsForm.customData != undefined){
59
-        //   this.propsForm.checkedData.push(this.propsForm.customData)
60
-        //   return this.propsForm.checkedData
61
-        // }else{
62
-        //   return  this.propsForm.checkedData
63
-        // }
64 71
       }
72
+      return returnData;
73
+      // if(this.propsForm.customData != undefined){
74
+      //   this.propsForm.checkedData.push(this.propsForm.customData)
75
+      //   return this.propsForm.checkedData
76
+      // }else{
77
+      //   return  this.propsForm.checkedData
78
+      // }
79
+    }
80
+  },
81
+  created() {
82
+    console.log(11111111111, this.propsForm);
83
+  },
84
+  watch: {
85
+    "propsForm.type": function() {
86
+      this.checkedData = [];
87
+      this.customData = "";
65 88
 
66
-    },
67
-    watch:{
68
-      "propsForm.type":function(){
89
+      if (this.propsForm.type == "") {
90
+        return false;
91
+      }
92
+      if (
93
+        typeof this.propsForm.selected != "string" ||
94
+        this.propsForm.selected == ""
95
+      ) {
69 96
         this.checkedData = [];
70
-        this.customData = '';
71
-
72
-        if (this.propsForm.type=='') {
73
-          return false;
97
+      } else {
98
+        var checkedData = this.propsForm.selected.split(",");
99
+        var checkedDataObj = {};
100
+        for (var index in checkedData) {
101
+          checkedDataObj[checkedData[index]] = 1;
74 102
         }
75
-        if(typeof(this.propsForm.selected) != "string" || this.propsForm.selected=='') {
76
-          this.checkedData = [];
77
-        } else {
78
-          var checkedData = this.propsForm.selected.split(',');
79
-          var checkedDataObj = {};
80
-          for(var index in checkedData) {
81
-            checkedDataObj[checkedData[index]] = 1;
103
+        var readyDataObj = {};
104
+        for (var index in this.propsForm.values) {
105
+          if (this.propsForm.values[index].name in checkedDataObj) {
106
+            this.checkedData.push(this.propsForm.values[index].name);
107
+            readyDataObj[this.propsForm.values[index].name] = 1;
82 108
           }
83
-          var readyDataObj = {};
84
-          for(var index in this.propsForm.values) {
85
-            if(this.propsForm.values[index].name in checkedDataObj) {
86
-              this.checkedData.push(this.propsForm.values[index].name);
87
-              readyDataObj[this.propsForm.values[index].name] = 1;
88
-            }
89
-          }
90
-          var addtion = []
91
-          var addtionObj = {};
92
-          for(var index in checkedData) {
93
-            if(!(checkedData[index] in readyDataObj) && !(checkedData[index] in addtionObj) ) {
94
-              addtion.push(checkedData[index]);
95
-              addtionObj[checkedData[index]] = 1;
96
-            }
109
+        }
110
+        var addtion = [];
111
+        var addtionObj = {};
112
+        for (var index in checkedData) {
113
+          if (
114
+            !(checkedData[index] in readyDataObj) &&
115
+            !(checkedData[index] in addtionObj)
116
+          ) {
117
+            addtion.push(checkedData[index]);
118
+            addtionObj[checkedData[index]] = 1;
97 119
           }
98
-          this.customData = addtion.join(',');
99 120
         }
121
+        this.customData = addtion.join(",");
100 122
       }
101 123
     }
102
-
103
-
104 124
   }
125
+};
105 126
 </script>
106 127
 
107 128
 <style scoped>
108 129
 .el-checkbox {
109
-    margin-left: 0px;
110
-    margin-right: 30px;
130
+  margin-left: 0px;
131
+  margin-right: 30px;
111 132
 }
112 133
 </style>

+ 1 - 0
src/xt_pages/dialysis/details/index.vue View File

@@ -547,6 +547,7 @@ export default {
547 547
           console.log("力气-------", doctor_advices);
548 548
           var double_check = resp.data.double_check; // 双人核对
549 549
           var assessment_after_dislysis = resp.data.assessment_after_dislysis; // 透后评估
550
+          console.log("透后品谷数", assessment_after_dislysis);
550 551
           var treatment_summary = resp.data.treatment_summary; // 治疗小结
551 552
           var monitor_records = resp.data.monitor_records; // 透析监测
552 553
           var dialysis_order = resp.data.dialysis_order; // 透析记录

+ 281 - 280
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -1942,19 +1942,19 @@
1942 1942
 </template>
1943 1943
 
1944 1944
 <script>
1945
-import CheckBox from '../batch_print/option_check_box'
1946
-import { getDialysisRecord } from '@/api/dialysis'
1947
-import { getDataConfig } from '@/utils/data'
1948
-import { jsGetAge, uParseTime } from '@/utils/tools'
1949
-import LabelBox from '../printItem/LabelBox'
1950
-import BreadCrumb from '@/xt_pages/components/bread-crumb'
1945
+import CheckBox from "../batch_print/option_check_box";
1946
+import { getDialysisRecord } from "@/api/dialysis";
1947
+import { getDataConfig } from "@/utils/data";
1948
+import { jsGetAge, uParseTime } from "@/utils/tools";
1949
+import LabelBox from "../printItem/LabelBox";
1950
+import BreadCrumb from "@/xt_pages/components/bread-crumb";
1951 1951
 // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
1952 1952
 // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
1953
-import print from 'print-js'
1953
+import print from "print-js";
1954 1954
 
1955 1955
 export default {
1956
-  name: 'dialysisPrintOrderSix',
1957
-  props: ['childResponse'],
1956
+  name: "dialysisPrintOrderSix",
1957
+  props: ["childResponse"],
1958 1958
   components: {
1959 1959
     // DialysisPrintOrderOne,
1960 1960
     // DialysisPrintOrderTwo,
@@ -1974,34 +1974,34 @@ export default {
1974 1974
       nutrition_arr: [],
1975 1975
 
1976 1976
       crumbs: [
1977
-        { path: false, name: '透析管理' },
1978
-        { path: false, name: '打印单' }
1977
+        { path: false, name: "透析管理" },
1978
+        { path: false, name: "打印单" }
1979 1979
       ],
1980 1980
       operators: [],
1981 1981
       adminUser: [],
1982 1982
       check: {},
1983
-      xtdate: '',
1983
+      xtdate: "",
1984 1984
       dialysisOrder: {
1985 1985
         DeviceNumber: []
1986 1986
       },
1987 1987
       displaceLiquiPartOptions: [],
1988 1988
       operatorMaps: {},
1989 1989
       complications: [
1990
-        '低血压',
1991
-        '高血压',
1992
-        '心律失常',
1993
-        '头晕',
1994
-        '头痛',
1995
-        '呕吐',
1996
-        '抽搐',
1997
-        '出血',
1998
-        '心衰',
1999
-        '腹痛'
1990
+        "低血压",
1991
+        "高血压",
1992
+        "心律失常",
1993
+        "头晕",
1994
+        "头痛",
1995
+        "呕吐",
1996
+        "抽搐",
1997
+        "出血",
1998
+        "心衰",
1999
+        "腹痛"
2000 2000
       ],
2001 2001
       jilurow: 0,
2002 2002
       advice_jilurow: 0,
2003 2003
       loading: false,
2004
-      orgname: '',
2004
+      orgname: "",
2005 2005
       patientInfo_gender_1: false,
2006 2006
       patientInfo_gender_2: false,
2007 2007
       patientInfo_source_2: false,
@@ -2014,31 +2014,31 @@ export default {
2014 2014
       dialysateFormulationOptions: {},
2015 2015
       totollength: 0,
2016 2016
       queryParams: {
2017
-        xtdate: '',
2018
-        xtno: ''
2017
+        xtdate: "",
2018
+        xtno: ""
2019 2019
       },
2020 2020
       patientInfo: {
2021
-        birth: '',
2022
-        age: '',
2021
+        birth: "",
2022
+        age: "",
2023 2023
         DialysisSchedule: {
2024
-          device_number: { number: '' },
2025
-          device_zone: { name: '' }
2024
+          device_number: { number: "" },
2025
+          device_zone: { name: "" }
2026 2026
         },
2027 2027
         gender: 0
2028 2028
       },
2029 2029
       predialysis: {
2030
-        score: '',
2031
-        internal_fistula: '',
2032
-        internal_fistula_skin: '',
2033
-        catheter: '',
2034
-        blood_access_part_opera_name: ''
2030
+        score: "",
2031
+        internal_fistula: "",
2032
+        internal_fistula_skin: "",
2033
+        catheter: "",
2034
+        blood_access_part_opera_name: ""
2035 2035
       },
2036 2036
       afterdialysis: {
2037
-        complications_index: ''
2037
+        complications_index: ""
2038 2038
       },
2039 2039
       lastafterdialysis: {},
2040 2040
       prescription: {
2041
-        dialysate_formulation_name: '',
2041
+        dialysate_formulation_name: "",
2042 2042
         device: {}
2043 2043
       },
2044 2044
       advices: [],
@@ -2059,110 +2059,110 @@ export default {
2059 2059
 
2060 2060
       AlPanel: {
2061 2061
         id: 0,
2062
-        name: '',
2062
+        name: "",
2063 2063
         type: 1,
2064 2064
         shouji: 2,
2065 2065
         weichi: 2,
2066 2066
         zongliang: 2,
2067 2067
         gaimingcheng: -1,
2068 2068
         gaijiliang: -1,
2069
-        shouji_unit: 'mg',
2070
-        weichi_unit: 'mg/h',
2071
-        zongliang_unit: 'mg',
2072
-        gaimingcheng_unit: '',
2073
-        gaijiliang_unit: ''
2069
+        shouji_unit: "mg",
2070
+        weichi_unit: "mg/h",
2071
+        zongliang_unit: "mg",
2072
+        gaimingcheng_unit: "",
2073
+        gaijiliang_unit: ""
2074 2074
       }
2075
-    }
2075
+    };
2076 2076
   },
2077 2077
   methods: {
2078 2078
     getDisplaceLiquiPart: function(val) {
2079
-      let displace_liqui_part_name = '/'
2080
-      const displace_liqui_part = this.displaceLiquiPartOptions
2079
+      let displace_liqui_part_name = "/";
2080
+      const displace_liqui_part = this.displaceLiquiPartOptions;
2081 2081
       for (let i = 0; i < displace_liqui_part.length; i++) {
2082 2082
         if (displace_liqui_part[i].id == val) {
2083
-          displace_liqui_part_name = displace_liqui_part[i].name
2083
+          displace_liqui_part_name = displace_liqui_part[i].name;
2084 2084
         }
2085 2085
       }
2086
-      return displace_liqui_part_name
2086
+      return displace_liqui_part_name;
2087 2087
     },
2088 2088
     replacementWaysById: function(val) {
2089
-      let replacementWaysname = '/'
2089
+      let replacementWaysname = "/";
2090 2090
       // let vascular_access = getDataConfig('hemodialysis', 'vascular_access')
2091 2091
 
2092 2092
       for (let i = 0; i < this.replacementWays.length; i++) {
2093 2093
         if (this.replacementWays[i].id == val) {
2094
-          replacementWaysname = this.replacementWays[i].name
2094
+          replacementWaysname = this.replacementWays[i].name;
2095 2095
         }
2096 2096
       }
2097
-      return replacementWaysname
2097
+      return replacementWaysname;
2098 2098
     },
2099 2099
     QueryPartById: function(val) {
2100
-      let vascular_access_part_name = '/'
2101
-      const vascular_access = getDataConfig('hemodialysis', 'vascular_access')
2100
+      let vascular_access_part_name = "/";
2101
+      const vascular_access = getDataConfig("hemodialysis", "vascular_access");
2102 2102
 
2103 2103
       for (let i = 0; i < vascular_access.length; i++) {
2104 2104
         if (vascular_access[i].id == val) {
2105
-          vascular_access_part_name = vascular_access[i].name
2105
+          vascular_access_part_name = vascular_access[i].name;
2106 2106
         }
2107 2107
       }
2108
-      return vascular_access_part_name
2108
+      return vascular_access_part_name;
2109 2109
     },
2110 2110
     getAdminUser(id) {
2111 2111
       if (id == 0) {
2112
-        return ''
2112
+        return "";
2113 2113
       }
2114 2114
       if (id == undefined) {
2115
-        return ''
2115
+        return "";
2116 2116
       }
2117 2117
       for (let i = 0; i < this.adminUser.length; i++) {
2118 2118
         if (this.adminUser[i].id == id) {
2119
-          return this.adminUser[i].name
2119
+          return this.adminUser[i].name;
2120 2120
         }
2121 2121
       }
2122 2122
     },
2123 2123
     getTime(value, temp) {
2124 2124
       if (value == 0) {
2125
-        return ''
2125
+        return "";
2126 2126
       }
2127 2127
       if (value != undefined) {
2128
-        return uParseTime(value, temp)
2128
+        return uParseTime(value, temp);
2129 2129
       }
2130
-      return ''
2130
+      return "";
2131 2131
     },
2132 2132
     getUnit: function(val) {
2133 2133
       switch (val) {
2134 2134
         case 1:
2135
-          return 'g'
2136
-          break
2135
+          return "g";
2136
+          break;
2137 2137
         case 2:
2138
-          return 'ml'
2139
-          break
2138
+          return "ml";
2139
+          break;
2140 2140
       }
2141 2141
     },
2142 2142
     printThisPage() {
2143
-      var ptime = Math.round(new Date().getTime() / 1000)
2144
-      this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
2143
+      var ptime = Math.round(new Date().getTime() / 1000);
2144
+      this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
2145 2145
 
2146 2146
       const style =
2147
-        '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:left;border-collapse:collapse;font-size:14px} .dialysis-print-order .under_line {display: inline-block;border-bottom: 1px solid #999;text-align:left;white-space: nowrap;width: 50%;} .dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}'
2147
+        '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:left;border-collapse:collapse;font-size:14px} .dialysis-print-order .under_line {display: inline-block;border-bottom: 1px solid #999;text-align:left;white-space: nowrap;width: 50%;} .dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
2148 2148
 
2149 2149
       if (this.org_template_info.template_id == 1) {
2150 2150
         printJS({
2151
-          printable: 'dialysis-print-box',
2152
-          type: 'html',
2151
+          printable: "dialysis-print-box",
2152
+          type: "html",
2153 2153
           style: style,
2154 2154
           scanStyles: false
2155
-        })
2155
+        });
2156 2156
       } else if (
2157 2157
         this.org_template_info.template_id == 2 ||
2158 2158
         this.org_template_info.template_id == 0
2159 2159
       ) {
2160 2160
         printJS({
2161
-          printable: 'dialysis-print-box-1',
2162
-          type: 'html',
2161
+          printable: "dialysis-print-box-1",
2162
+          type: "html",
2163 2163
           style: style,
2164 2164
           scanStyles: false
2165
-        })
2165
+        });
2166 2166
       }
2167 2167
     },
2168 2168
     getNumber() {
@@ -2170,121 +2170,122 @@ export default {
2170 2170
         return (
2171 2171
           this.patientInfo.DialysisSchedule.device_zone.name +
2172 2172
           this.dialysisOrder.DeviceNumber.number
2173
-        )
2173
+        );
2174 2174
       } else {
2175 2175
         return (
2176 2176
           this.patientInfo.DialysisSchedule.device_zone.name +
2177 2177
           this.patientInfo.DialysisSchedule.device_number.number
2178
-        )
2178
+        );
2179 2179
       }
2180 2180
     },
2181 2181
 
2182 2182
     getXuserName(id) {
2183 2183
       if (id <= 0) {
2184
-        return ''
2184
+        return "";
2185 2185
       }
2186
-      var name = ''
2187
-      if (this.users == null || typeof this.users.length === 'undefined') {
2188
-        return name
2186
+      var name = "";
2187
+      if (this.users == null || typeof this.users.length === "undefined") {
2188
+        return name;
2189 2189
       }
2190
-      var leng = this.users.length
2190
+      var leng = this.users.length;
2191 2191
       if (leng == 0) {
2192
-        return name
2192
+        return name;
2193 2193
       }
2194 2194
       for (let index = 0; index < leng; index++) {
2195 2195
         if (this.users[index].id == id) {
2196
-          name = this.users[index].name
2197
-          break
2196
+          name = this.users[index].name;
2197
+          break;
2198 2198
         }
2199 2199
       }
2200
-      return name
2200
+      return name;
2201 2201
     },
2202 2202
     setAdminUserES(id) {
2203 2203
       if (id == 0) {
2204
-        return ''
2204
+        return "";
2205 2205
       }
2206 2206
       if (id in this.operatorMaps) {
2207
-        return this.operatorMaps[id].url
2207
+        return this.operatorMaps[id].url;
2208 2208
       } else {
2209
-        return ''
2209
+        return "";
2210 2210
       }
2211 2211
     },
2212 2212
     modeName(mode_id) {
2213
-      return typeof this.modeOptions[mode_id] !== 'undefined' &&
2214
-        typeof this.modeOptions[mode_id].name !== 'undefined'
2213
+      return typeof this.modeOptions[mode_id] !== "undefined" &&
2214
+        typeof this.modeOptions[mode_id].name !== "undefined"
2215 2215
         ? this.modeOptions[mode_id].name
2216
-        : ''
2216
+        : "";
2217 2217
     },
2218 2218
     getDialysisRecord() {
2219
-      this.loading = true
2219
+      this.loading = true;
2220 2220
 
2221 2221
       // getDialysisRecord(this.queryParams).then(response => {
2222
-      var response = this.childResponse
2222
+      var response = this.childResponse;
2223 2223
       if (response.data.state == 1) {
2224
-        this.adminUser = response.data.data.users
2224
+        this.adminUser = response.data.data.users;
2225 2225
 
2226
-        this.users = response.data.data.users
2227
-        this.patientInfo = response.data.data.patientInfo
2226
+        this.users = response.data.data.users;
2227
+        this.patientInfo = response.data.data.patientInfo;
2228 2228
 
2229 2229
         this.patientInfo.birth = uParseTime(
2230 2230
           this.patientInfo.birthday,
2231
-          '{y}-{m}-{d}'
2232
-        )
2231
+          "{y}-{m}-{d}"
2232
+        );
2233 2233
         // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
2234 2234
         if (response.data.data.patientInfo.first_dialysis_date != 0) {
2235 2235
           this.patientInfo.first_dialysis_date = uParseTime(
2236 2236
             response.data.data.patientInfo.first_dialysis_date,
2237
-            '{y}-{m}-{d}'
2238
-          )
2237
+            "{y}-{m}-{d}"
2238
+          );
2239 2239
         } else {
2240
-          this.patientInfo.first_dialysis_date = ''
2240
+          this.patientInfo.first_dialysis_date = "";
2241 2241
         }
2242
-        this.check = response.data.data.check
2243
-        this.xtdate = response.data.data.xtdate
2244
-        this.predialysis = response.data.data.PredialysisEvaluation
2242
+        this.check = response.data.data.check;
2243
+        this.xtdate = response.data.data.xtdate;
2244
+        this.predialysis = response.data.data.PredialysisEvaluation;
2245 2245
         this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
2246 2246
           this.predialysis.blood_access_part_opera_id
2247
-        )
2248
-        this.afterdialysis = response.data.data.AssessmentAfterDislysis
2249
-        this.lastafterdialysis = response.data.data.assessmentAfterDislysis
2250
-        this.operators = response.data.data.operators
2251
-        console.log('operators', this.operators)
2247
+        );
2248
+        this.afterdialysis = response.data.data.AssessmentAfterDislysis;
2249
+        console.log("透后体重", this.afterdialysis);
2250
+        this.lastafterdialysis = response.data.data.assessmentAfterDislysis;
2251
+        this.operators = response.data.data.operators;
2252
+        console.log("operators", this.operators);
2252 2253
         this.dialysisOrder =
2253 2254
           response.data.data.dialysisOrder === null
2254 2255
             ? null
2255
-            : response.data.data.dialysisOrder
2256
+            : response.data.data.dialysisOrder;
2256 2257
 
2257 2258
         if (this.operators.length > 0) {
2258
-          var operatorsLen = this.operators.length
2259
+          var operatorsLen = this.operators.length;
2259 2260
           for (var index = 0; index < operatorsLen; index++) {
2260 2261
             this.$set(
2261 2262
               this.operatorMaps,
2262 2263
               this.operators[index].creator,
2263 2264
               this.operators[index]
2264
-            )
2265
+            );
2265 2266
           }
2266 2267
         }
2267 2268
 
2268
-        this.afterdialysis.txqnx = -1
2269
-        if (this.afterdialysis.cruor.indexOf('0度') > -1) {
2270
-          this.afterdialysis.txqnx = 0
2269
+        this.afterdialysis.txqnx = -1;
2270
+        if (this.afterdialysis.cruor.indexOf("0度") > -1) {
2271
+          this.afterdialysis.txqnx = 0;
2271 2272
         }
2272
-        if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
2273
-          this.afterdialysis.txqnx = 1
2273
+        if (this.afterdialysis.cruor.indexOf("Ⅰ度") > -1) {
2274
+          this.afterdialysis.txqnx = 1;
2274 2275
         }
2275
-        if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
2276
-          this.afterdialysis.txqnx = 2
2276
+        if (this.afterdialysis.cruor.indexOf("Ⅱ度") > -1) {
2277
+          this.afterdialysis.txqnx = 2;
2277 2278
         }
2278
-        if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
2279
-          this.afterdialysis.txqnx = 3
2279
+        if (this.afterdialysis.cruor.indexOf("Ⅲ度") > -1) {
2280
+          this.afterdialysis.txqnx = 3;
2280 2281
         }
2281 2282
 
2282 2283
         this.afterdialysis.complications = this.afterdialysis.complication.split(
2283
-          ','
2284
-        )
2285
-        this.afterdialysis.complications_other = []
2286
-        this.afterdialysis.complications_index = []
2287
-        var acllen = this.afterdialysis.complications.length
2284
+          ","
2285
+        );
2286
+        this.afterdialysis.complications_other = [];
2287
+        this.afterdialysis.complications_index = [];
2288
+        var acllen = this.afterdialysis.complications.length;
2288 2289
         for (let index = 0; index < acllen; index++) {
2289 2290
           if (
2290 2291
             this.complications.indexOf(
@@ -2293,7 +2294,7 @@ export default {
2293 2294
           ) {
2294 2295
             this.afterdialysis.complications_index.push(
2295 2296
               this.afterdialysis.complications[index]
2296
-            )
2297
+            );
2297 2298
           } else if (
2298 2299
             this.complications.indexOf(
2299 2300
               this.afterdialysis.complications[index]
@@ -2304,35 +2305,35 @@ export default {
2304 2305
           ) {
2305 2306
             this.afterdialysis.complications_other.push(
2306 2307
               this.afterdialysis.complications[index]
2307
-            )
2308
+            );
2308 2309
           }
2309 2310
         }
2310 2311
         this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(
2311
-          ','
2312
-        )
2312
+          ","
2313
+        );
2313 2314
 
2314
-        this.prescription = response.data.data.dialysisPrescription
2315
+        this.prescription = response.data.data.dialysisPrescription;
2315 2316
         // console.log("透析处方", this.prescription);
2316 2317
         this.receiverTreatmentAccess =
2317
-          response.data.data.receiverTreatmentAccess
2318
-        this.prescription.mode = this.modeName(this.prescription.mode_id)
2319
-        var rwLen = this.replacementWays.length
2320
-        this.prescription.replacement = ''
2318
+          response.data.data.receiverTreatmentAccess;
2319
+        this.prescription.mode = this.modeName(this.prescription.mode_id);
2320
+        var rwLen = this.replacementWays.length;
2321
+        this.prescription.replacement = "";
2321 2322
         for (let index = 0; index < rwLen; index++) {
2322 2323
           if (
2323 2324
             this.replacementWays[index].id == this.prescription.replacement_way
2324 2325
           ) {
2325
-            this.prescription.replacement = this.replacementWays[index].name
2326
-            break
2326
+            this.prescription.replacement = this.replacementWays[index].name;
2327
+            break;
2327 2328
           }
2328 2329
         }
2329 2330
 
2330 2331
         this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
2331 2332
           this.prescription.dialysate_formulation
2332
-        )
2333
+        );
2333 2334
 
2334
-        var paLen = this.perfusionApparatus.length
2335
-        this.prescription.perfusion_apparatus_name = ''
2335
+        var paLen = this.perfusionApparatus.length;
2336
+        this.prescription.perfusion_apparatus_name = "";
2336 2337
         for (let index = 0; index < paLen; index++) {
2337 2338
           if (
2338 2339
             this.perfusionApparatus[index].id ==
@@ -2340,122 +2341,122 @@ export default {
2340 2341
           ) {
2341 2342
             this.prescription.perfusion_apparatus_name = this.perfusionApparatus[
2342 2343
               index
2343
-            ].name
2344
-            break
2344
+            ].name;
2345
+            break;
2345 2346
           }
2346 2347
         }
2347 2348
 
2348
-        var acLen = this.anticoagulantsConfit.length
2349
-        var thisALID = this.prescription.anticoagulant
2350
-        this.prescription.anticoagulant_name = ''
2349
+        var acLen = this.anticoagulantsConfit.length;
2350
+        var thisALID = this.prescription.anticoagulant;
2351
+        this.prescription.anticoagulant_name = "";
2351 2352
 
2352 2353
         if (
2353
-          typeof this.anticoagulantsConfit[thisALID] !== 'undefined' &&
2354
+          typeof this.anticoagulantsConfit[thisALID] !== "undefined" &&
2354 2355
           this.anticoagulantsConfit[thisALID] != null
2355 2356
         ) {
2356 2357
           this.prescription.anticoagulant_name = this.anticoagulantsConfit[
2357 2358
             thisALID
2358
-          ].name
2359
-          this.AlPanel = this.anticoagulantsConfit[thisALID]
2359
+          ].name;
2360
+          this.AlPanel = this.anticoagulantsConfit[thisALID];
2360 2361
         }
2361 2362
 
2362
-        this.advices = response.data.data.advices
2363
-        this.monitors = response.data.data.monitors
2364
-        this.summary = response.data.data.summary
2365
-        this.org_template_info = response.data.data.org_template_info
2363
+        this.advices = response.data.data.advices;
2364
+        this.monitors = response.data.data.monitors;
2365
+        this.summary = response.data.data.summary;
2366
+        this.org_template_info = response.data.data.org_template_info;
2366 2367
 
2367 2368
         if (this.monitors.length <= 6) {
2368
-          var nl = 6
2369
-          this.print_length = 6
2369
+          var nl = 6;
2370
+          this.print_length = 6;
2370 2371
 
2371 2372
           for (let index = 0; index < nl; index++) {
2372 2373
             if (
2373 2374
               this.monitors[index] == undefined ||
2374 2375
               this.monitors[index].length <= 0
2375 2376
             ) {
2376
-              this.monitors2.push([])
2377
+              this.monitors2.push([]);
2377 2378
             } else {
2378
-              continue
2379
+              continue;
2379 2380
             }
2380 2381
           }
2381 2382
         }
2382 2383
 
2383
-        var tempmonitorflag = true
2384
+        var tempmonitorflag = true;
2384 2385
         for (let index = 0; index < this.monitors.length; index++) {
2385
-          const monitor = this.monitors[index]
2386
-          this.monitors[index].end = ''
2386
+          const monitor = this.monitors[index];
2387
+          this.monitors[index].end = "";
2387 2388
           if (Object.keys(monitor).length > 0 && index > 1) {
2388 2389
             if (monitor.operate_time == this.dialysisOrder.end_time) {
2389
-              this.monitors[index].end = '【结束透析】'
2390
-              tempmonitorflag = false
2390
+              this.monitors[index].end = "【结束透析】";
2391
+              tempmonitorflag = false;
2391 2392
             }
2392 2393
             if (tempmonitorflag && index == this.monitors.length - 1) {
2393
-              this.monitors[index].end = '【结束透析】'
2394
+              this.monitors[index].end = "【结束透析】";
2394 2395
             }
2395 2396
           }
2396 2397
         }
2397 2398
 
2398
-        this.jilurow = this.monitors.length + 1
2399
+        this.jilurow = this.monitors.length + 1;
2399 2400
 
2400
-        this.advice_jilurow = this.advices.length + 1
2401
+        this.advice_jilurow = this.advices.length + 1;
2401 2402
 
2402
-        var childMap = {}
2403
+        var childMap = {};
2403 2404
         for (const index in this.advices) {
2404 2405
           if (this.advices[index].parent_id == 0) {
2405
-            continue
2406
+            continue;
2406 2407
           }
2407 2408
           if (!(this.advices[index].parent_id in childMap)) {
2408
-            childMap[this.advices[index].parent_id] = []
2409
+            childMap[this.advices[index].parent_id] = [];
2409 2410
           }
2410
-          childMap[this.advices[index].parent_id].push(this.advices[index])
2411
+          childMap[this.advices[index].parent_id].push(this.advices[index]);
2411 2412
         }
2412 2413
 
2413
-        var advices = []
2414
+        var advices = [];
2414 2415
         for (const index in this.advices) {
2415 2416
           if (this.advices[index].parent_id > 0) {
2416
-            continue
2417
+            continue;
2417 2418
           }
2418
-          var item = this.advices[index]
2419
+          var item = this.advices[index];
2419 2420
           if (item.id in childMap) {
2420
-            item.children = childMap[item.id]
2421
+            item.children = childMap[item.id];
2421 2422
           } else {
2422
-            item.children = []
2423
+            item.children = [];
2423 2424
           }
2424
-          advices.push(item)
2425
+          advices.push(item);
2425 2426
         }
2426 2427
 
2427
-        var leftAdvice = []
2428
-        var rightAdvice = []
2429
-        var adlen = advices.length
2428
+        var leftAdvice = [];
2429
+        var rightAdvice = [];
2430
+        var adlen = advices.length;
2430 2431
 
2431
-        var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
2432
+        var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
2432 2433
         for (var i = 0; i < halfLen; i++) {
2433
-          leftAdvice.push(advices[i])
2434
-          rightAdvice.push(advices[i + halfLen])
2434
+          leftAdvice.push(advices[i]);
2435
+          rightAdvice.push(advices[i + halfLen]);
2435 2436
         }
2436 2437
         if (halfLen < 5) {
2437
-          var nl = 5 - leftAdvice.length
2438
+          var nl = 5 - leftAdvice.length;
2438 2439
           for (let index = 0; index < nl; index++) {
2439
-            leftAdvice.push([])
2440
+            leftAdvice.push([]);
2440 2441
           }
2441
-          var nl = 5 - rightAdvice.length
2442
+          var nl = 5 - rightAdvice.length;
2442 2443
           for (let index = 0; index < nl; index++) {
2443
-            rightAdvice.push([])
2444
+            rightAdvice.push([]);
2444 2445
           }
2445 2446
         }
2446 2447
 
2447
-        this.advices = []
2448
+        this.advices = [];
2448 2449
         for (var i = 0; i < halfLen; i++) {
2449
-          var item = []
2450
-          item.push(leftAdvice[i])
2451
-          item.push(rightAdvice[i])
2452
-          this.advices.push(item)
2450
+          var item = [];
2451
+          item.push(leftAdvice[i]);
2452
+          item.push(rightAdvice[i]);
2453
+          this.advices.push(item);
2453 2454
         }
2454
-        this.loading = false
2455
+        this.loading = false;
2455 2456
         this.doctor_advices =
2456
-          response.data.data.advices == null ? [] : response.data.data.advices
2457
+          response.data.data.advices == null ? [] : response.data.data.advices;
2457 2458
         for (let index = 0; index < this.doctor_advices.length; index++) {
2458
-          this.doctor_advices[index]['isShow'] = 2
2459
+          this.doctor_advices[index]["isShow"] = 2;
2459 2460
         }
2460 2461
 
2461 2462
         // if (this.doctor_advices.length > 0) {
@@ -2537,57 +2538,57 @@ export default {
2537 2538
         //   }
2538 2539
         // }
2539 2540
         if (this.doctor_advices.length <= 6) {
2540
-          var nl = 6
2541
-          this.print_length = 6
2541
+          var nl = 6;
2542
+          this.print_length = 6;
2542 2543
 
2543 2544
           for (let index = 0; index < nl; index++) {
2544 2545
             if (
2545 2546
               this.doctor_advices[index] == undefined ||
2546 2547
               this.doctor_advices[index].length <= 0
2547 2548
             ) {
2548
-              this.doctor_advices.push([])
2549
+              this.doctor_advices.push([]);
2549 2550
             } else {
2550
-              continue
2551
+              continue;
2551 2552
             }
2552 2553
           }
2553 2554
         }
2554 2555
 
2555
-        this.totollength = this.doctor_advices.length + this.monitors.length
2556
+        this.totollength = this.doctor_advices.length + this.monitors.length;
2556 2557
         if (this.totollength > 18) {
2557
-          var temp_advice_length = 17 - this.monitors.length
2558
-          var doctor_advices_1 = []
2559
-          var doctor_advices_2 = []
2558
+          var temp_advice_length = 17 - this.monitors.length;
2559
+          var doctor_advices_1 = [];
2560
+          var doctor_advices_2 = [];
2560 2561
           for (let index = 0; index < this.doctor_advices.length; index++) {
2561
-            const element = this.doctor_advices[index]
2562
+            const element = this.doctor_advices[index];
2562 2563
             if (temp_advice_length > index) {
2563
-              doctor_advices_1.push(element)
2564
+              doctor_advices_1.push(element);
2564 2565
             } else {
2565
-              doctor_advices_2.push(element)
2566
+              doctor_advices_2.push(element);
2566 2567
             }
2567 2568
           }
2568
-          this.doctor_advices = doctor_advices_1
2569
-          this.doctor_advices_2 = doctor_advices_2
2569
+          this.doctor_advices = doctor_advices_1;
2570
+          this.doctor_advices_2 = doctor_advices_2;
2570 2571
         }
2571
-        console.log(this.advice_groups)
2572
+        console.log(this.advice_groups);
2572 2573
       } else {
2573
-        this.loading = false
2574
-        this.$message.error('请求数据失败')
2575
-        return false
2574
+        this.loading = false;
2575
+        this.$message.error("请求数据失败");
2576
+        return false;
2576 2577
       }
2577 2578
       // })
2578 2579
     },
2579 2580
 
2580 2581
     bloodAccessParOperaName(id) {
2581 2582
       if (id in this.bloodAccessParOpera) {
2582
-        return this.bloodAccessParOpera[id].name
2583
+        return this.bloodAccessParOpera[id].name;
2583 2584
       }
2584
-      return ''
2585
+      return "";
2585 2586
     },
2586 2587
     dialysateFormulationName(id) {
2587 2588
       if (id in this.dialysateFormulationOptions) {
2588
-        return this.dialysateFormulationOptions[id].name
2589
+        return this.dialysateFormulationOptions[id].name;
2589 2590
       }
2590
-      return ''
2591
+      return "";
2591 2592
     },
2592 2593
     getAge: function(val) {
2593 2594
       if (
@@ -2595,12 +2596,12 @@ export default {
2595 2596
         this.org_template_info.template_id == 0
2596 2597
       ) {
2597 2598
         if (val.age == 0) {
2598
-          return jsGetAge(val.birth, '-')
2599
+          return jsGetAge(val.birth, "-");
2599 2600
         } else {
2600
-          return val.age
2601
+          return val.age;
2601 2602
         }
2602 2603
       } else {
2603
-        return jsGetAge(val.birth, '-')
2604
+        return jsGetAge(val.birth, "-");
2604 2605
       }
2605 2606
     },
2606 2607
     newAdviceGroupObject: function() {
@@ -2615,119 +2616,119 @@ export default {
2615 2616
           // exec_time: 0,
2616 2617
           // checker: 0,
2617 2618
         }
2618
-      )
2619
+      );
2619 2620
     },
2620 2621
     getFloat: function(x) {
2621 2622
       if (x == 0) {
2622
-        return '/'
2623
+        return "/";
2623 2624
       }
2624
-      if (x != '.') {
2625
-        var f = Math.round(x * 100) / 100
2626
-        var s = f.toString()
2627
-        var rs = s.indexOf('.')
2625
+      if (x != ".") {
2626
+        var f = Math.round(x * 100) / 100;
2627
+        var s = f.toString();
2628
+        var rs = s.indexOf(".");
2628 2629
         if (rs <= 0) {
2629
-          rs = s.length
2630
-          s += '.'
2630
+          rs = s.length;
2631
+          s += ".";
2631 2632
         }
2632 2633
         while (s.length <= rs + 1) {
2633
-          s += '0'
2634
+          s += "0";
2634 2635
         }
2635
-        return s
2636
+        return s;
2636 2637
       } else {
2637
-        return '0.0'
2638
+        return "0.0";
2638 2639
       }
2639 2640
     }
2640 2641
   },
2641 2642
   watch: {
2642
-    'patientInfo.gender': function() {
2643
+    "patientInfo.gender": function() {
2643 2644
       if (this.patientInfo.gender == 1) {
2644
-        this.patientInfo_gender_1 = true
2645
-        this.patientInfo_gender_2 = false
2645
+        this.patientInfo_gender_1 = true;
2646
+        this.patientInfo_gender_2 = false;
2646 2647
       } else if (this.patientInfo.gender == 2) {
2647
-        this.patientInfo_gender_2 = true
2648
-        this.patientInfo_gender_1 = false
2648
+        this.patientInfo_gender_2 = true;
2649
+        this.patientInfo_gender_1 = false;
2649 2650
       } else {
2650
-        this.patientInfo_gender_2 = false
2651
-        this.patientInfo_gender_1 = false
2651
+        this.patientInfo_gender_2 = false;
2652
+        this.patientInfo_gender_1 = false;
2652 2653
       }
2653 2654
     },
2654
-    'patientInfo.source': function() {
2655
+    "patientInfo.source": function() {
2655 2656
       if (this.patientInfo.source == 1) {
2656
-        this.patientInfo_source_1 = true
2657
-        this.patientInfo_source_2 = false
2657
+        this.patientInfo_source_1 = true;
2658
+        this.patientInfo_source_2 = false;
2658 2659
       } else if (this.patientInfo.source == 2) {
2659
-        this.patientInfo_source_2 = true
2660
-        this.patientInfo_source_1 = false
2660
+        this.patientInfo_source_2 = true;
2661
+        this.patientInfo_source_1 = false;
2661 2662
       } else {
2662
-        this.patientInfo_source_2 = false
2663
-        this.patientInfo_source_1 = false
2663
+        this.patientInfo_source_2 = false;
2664
+        this.patientInfo_source_1 = false;
2664 2665
       }
2665 2666
     }
2666 2667
   },
2667 2668
   created() {
2668
-    this.way_arr = getDataConfig('hemodialysis', 'way')
2669
-    this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
2670
-    this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
2671
-    this.posture_arr = getDataConfig('hemodialysis', 'posture')
2672
-    this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
2673
-    this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
2674
-    this.intake_arr = getDataConfig('hemodialysis', 'intake')
2675
-    this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
2676
-
2677
-    var xtuser = this.$store.getters.xt_user
2678
-    this.orgname = xtuser.org.org_name
2669
+    this.way_arr = getDataConfig("hemodialysis", "way");
2670
+    this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
2671
+    this.appetite_arr = getDataConfig("hemodialysis", "appetite");
2672
+    this.posture_arr = getDataConfig("hemodialysis", "posture");
2673
+    this.sick_condition_arr = getDataConfig("hemodialysis", "sick_condition");
2674
+    this.precaution_arr = getDataConfig("hemodialysis", "precaution");
2675
+    this.intake_arr = getDataConfig("hemodialysis", "intake");
2676
+    this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
2677
+
2678
+    var xtuser = this.$store.getters.xt_user;
2679
+    this.orgname = xtuser.org.org_name;
2679 2680
     // this.orgname = "遂溪方济医院";
2680
-    this.modeOptions = this.$store.getters.treatment_mode
2681
-    this.replacementWays = this.$store.getters.replacement_ways
2682
-    this.perfusionApparatus = this.$store.getters.perfusion_apparatus
2683
-    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
2684
-    this.displaceLiquiPartOptions = this.$store.getters.displace_liqui
2681
+    this.modeOptions = this.$store.getters.treatment_mode;
2682
+    this.replacementWays = this.$store.getters.replacement_ways;
2683
+    this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
2684
+    this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
2685
+    this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
2685 2686
 
2686
-    this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
2687
+    this.blood_access_part = getDataConfig("hemodialysis", "vascular_access");
2687 2688
     this.blood_access_part_opera = getDataConfig(
2688
-      'hemodialysis',
2689
-      'vascular_access_desc'
2690
-    )
2689
+      "hemodialysis",
2690
+      "vascular_access_desc"
2691
+    );
2691 2692
 
2692 2693
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
2693 2694
 
2694 2695
     var bloodAccessParOpera = getDataConfig(
2695
-      'hemodialysis',
2696
-      'vascular_access_desc'
2697
-    )
2696
+      "hemodialysis",
2697
+      "vascular_access_desc"
2698
+    );
2698 2699
     for (var key in bloodAccessParOpera) {
2699 2700
       this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
2700
-        bloodAccessParOpera[key]
2701
+        bloodAccessParOpera[key];
2701 2702
     }
2702 2703
 
2703 2704
     var dialysateFormulationOptions = getDataConfig(
2704
-      'hemodialysis',
2705
-      'dialysate_formulation'
2706
-    )
2705
+      "hemodialysis",
2706
+      "dialysate_formulation"
2707
+    );
2707 2708
     for (var key in dialysateFormulationOptions) {
2708 2709
       this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
2709
-        dialysateFormulationOptions[key]
2710
+        dialysateFormulationOptions[key];
2710 2711
     }
2711 2712
 
2712
-    const xtdate = this.$route.query && this.$route.query.xtdate
2713
-    console.log('xtdate', xtdate)
2714
-    const xtno = this.$route.query && this.$route.query.xtno
2715
-    console.log('xtno', xtno)
2713
+    const xtdate = this.$route.query && this.$route.query.xtdate;
2714
+    console.log("xtdate", xtdate);
2715
+    const xtno = this.$route.query && this.$route.query.xtno;
2716
+    console.log("xtno", xtno);
2716 2717
     if (
2717
-      typeof xtdate === 'string' &&
2718
+      typeof xtdate === "string" &&
2718 2719
       xtdate.length > 0 &&
2719
-      typeof xtno === 'string' &&
2720
+      typeof xtno === "string" &&
2720 2721
       xtno.length > 0
2721 2722
     ) {
2722
-      this.queryParams.xtdate = xtdate
2723
-      this.queryParams.xtno = xtno
2724
-      this.getDialysisRecord()
2723
+      this.queryParams.xtdate = xtdate;
2724
+      this.queryParams.xtno = xtno;
2725
+      this.getDialysisRecord();
2725 2726
     } else {
2726
-      this.$message.error('参数不齐')
2727
-      return false
2727
+      this.$message.error("参数不齐");
2728
+      return false;
2728 2729
     }
2729 2730
   }
2730
-}
2731
+};
2731 2732
 </script>
2732 2733
 
2733 2734
 <style>