Browse Source

打印单

XMLWAN 4 years ago
parent
commit
26afbb7344

+ 1 - 0
src/api/dialysis.js View File

145
 }
145
 }
146
 
146
 
147
 export function postPrescription(params) {
147
 export function postPrescription(params) {
148
+  console.log('params是----', params)
148
   return request({
149
   return request({
149
     url: '/api/dialysis/prescription',
150
     url: '/api/dialysis/prescription',
150
     method: 'Post',
151
     method: 'Post',

+ 74 - 16
src/xt_pages/data/printTemplate.vue View File

15
         </p>
15
         </p>
16
         <el-row :gutter="20" type="flex" justify="center">
16
         <el-row :gutter="20" type="flex" justify="center">
17
           <el-col :span="6" style="text-align: center">
17
           <el-col :span="6" style="text-align: center">
18
-            <div>
18
+            <div
19
+              @click="imgClick('https://images.shengws.com/fangji.jpg')"
20
+            >
19
               <el-tooltip
21
               <el-tooltip
20
                 class="item"
22
                 class="item"
21
                 effect="dark"
23
                 effect="dark"
23
                 content="点击查看大图"
25
                 content="点击查看大图"
24
                 placement="top-start"
26
                 placement="top-start"
25
               >
27
               >
28
+                <!--<el-image-->
29
+                  <!--style="width: 200px; height: 200px"-->
30
+                  <!--:src="require('@/assets/home/1.jpg')"-->
31
+                  <!--:preview-src-list="imgs_one"-->
32
+                <!--&gt;</el-image>-->
33
+
26
                 <el-image
34
                 <el-image
27
                   style="width: 200px; height: 200px"
35
                   style="width: 200px; height: 200px"
28
                   :src="require('@/assets/home/1.jpg')"
36
                   :src="require('@/assets/home/1.jpg')"
29
-                  :preview-src-list="imgs_one"
30
                 ></el-image>
37
                 ></el-image>
38
+
31
               </el-tooltip>
39
               </el-tooltip>
32
             </div>
40
             </div>
33
             <el-radio v-model="radio" label="1" @change="change"
41
             <el-radio v-model="radio" label="1" @change="change"
38
             :span="6"
46
             :span="6"
39
             style="margin-left: 100px;margin-right: 100px;text-align: center"
47
             style="margin-left: 100px;margin-right: 100px;text-align: center"
40
           >
48
           >
41
-            <div>
49
+            <div
50
+              @click="imgClick('https://images.shengws.com/template_two.jpg')"
51
+
52
+            >
42
               <el-tooltip
53
               <el-tooltip
43
                 class="item"
54
                 class="item"
44
                 effect="dark"
55
                 effect="dark"
46
                 placement="top-start"
57
                 placement="top-start"
47
                 :hide-after="2000"
58
                 :hide-after="2000"
48
               >
59
               >
60
+                <!--<el-image-->
61
+                  <!--style="width: 200px; height: 200px"-->
62
+                  <!--:src="require('@/assets/home/2.jpg')"-->
63
+                  <!--:preview-src-list="imgs_two"-->
64
+                <!--&gt;</el-image>-->
65
+
49
                 <el-image
66
                 <el-image
50
                   style="width: 200px; height: 200px"
67
                   style="width: 200px; height: 200px"
51
                   :src="require('@/assets/home/2.jpg')"
68
                   :src="require('@/assets/home/2.jpg')"
52
-                  :preview-src-list="imgs_two"
53
                 ></el-image>
69
                 ></el-image>
54
               </el-tooltip>
70
               </el-tooltip>
55
             </div>
71
             </div>
58
             >
74
             >
59
           </el-col>
75
           </el-col>
60
           <el-col :span="6" style="text-align: center">
76
           <el-col :span="6" style="text-align: center">
61
-            <div class="demo-image__preview">
77
+            <div class="demo-image__preview"  @click="imgClick('https://images.shengws.com/template_five.jpg')">
62
               <el-tooltip
78
               <el-tooltip
63
                 class="item"
79
                 class="item"
64
                 effect="dark"
80
                 effect="dark"
66
                 placement="top-start"
82
                 placement="top-start"
67
                 :hide-after="2000"
83
                 :hide-after="2000"
68
               >
84
               >
85
+                <!--<el-image-->
86
+                  <!--style="width: 200px; height: 200px"-->
87
+                  <!--:src="require('@/assets/home/5.jpg')"-->
88
+                  <!--:preview-src-list="imgs_five"-->
89
+                <!--&gt;</el-image>-->
90
+
69
                 <el-image
91
                 <el-image
70
                   style="width: 200px; height: 200px"
92
                   style="width: 200px; height: 200px"
71
                   :src="require('@/assets/home/5.jpg')"
93
                   :src="require('@/assets/home/5.jpg')"
72
-                  :preview-src-list="imgs_five"
73
                 ></el-image>
94
                 ></el-image>
95
+
74
               </el-tooltip>
96
               </el-tooltip>
75
             </div>
97
             </div>
76
             <el-radio v-model="radio" label="5" @change="change"
98
             <el-radio v-model="radio" label="5" @change="change"
78
             >
100
             >
79
           </el-col>
101
           </el-col>
80
           <el-col :span="6" style="text-align: center">
102
           <el-col :span="6" style="text-align: center">
81
-            <div class="demo-image__preview">
103
+            <div class="demo-image__preview"  @click="imgClick('https://images.shengws.com/serven.png')">
82
               <el-tooltip
104
               <el-tooltip
83
                 class="item"
105
                 class="item"
84
                 effect="dark"
106
                 effect="dark"
86
                 placement="top-start"
108
                 placement="top-start"
87
                 :hide-after="2000"
109
                 :hide-after="2000"
88
               >
110
               >
111
+                <!--<el-image-->
112
+                  <!--style="width: 200px; height: 200px"-->
113
+                  <!--:src="require('@/assets/home/serven.png')"-->
114
+                  <!--:preview-src-list="imgs_seven"-->
115
+                <!--&gt;</el-image>-->
116
+
89
                 <el-image
117
                 <el-image
90
                   style="width: 200px; height: 200px"
118
                   style="width: 200px; height: 200px"
91
                   :src="require('@/assets/home/serven.png')"
119
                   :src="require('@/assets/home/serven.png')"
92
-                  :preview-src-list="imgs_seven"
93
                 ></el-image>
120
                 ></el-image>
94
               </el-tooltip>
121
               </el-tooltip>
95
             </div>
122
             </div>
100
         </el-row>
127
         </el-row>
101
         <el-row :gutter="20" type="flex">
128
         <el-row :gutter="20" type="flex">
102
           <el-col :span="6" style="text-align: center">
129
           <el-col :span="6" style="text-align: center">
103
-            <div class="demo-image__preview">
130
+            <div class="demo-image__preview" @click="imgClick('https://images.shengws.com/eight.png')">
104
               <el-tooltip
131
               <el-tooltip
105
                 class="item"
132
                 class="item"
106
                 effect="dark"
133
                 effect="dark"
108
                 placement="top-start"
135
                 placement="top-start"
109
                 :hide-after="2000"
136
                 :hide-after="2000"
110
               >
137
               >
138
+                <!--<el-image-->
139
+                  <!--style="width: 200px; height: 200px;margin-left:-60px"-->
140
+                  <!--:src="require('@/assets/home/eight.png')"-->
141
+                  <!--:preview-src-list="imgs_six"-->
142
+                <!--&gt;</el-image>-->
143
+
111
                 <el-image
144
                 <el-image
112
                   style="width: 200px; height: 200px;margin-left:-60px"
145
                   style="width: 200px; height: 200px;margin-left:-60px"
113
                   :src="require('@/assets/home/eight.png')"
146
                   :src="require('@/assets/home/eight.png')"
114
-                  :preview-src-list="imgs_six"
115
                 ></el-image>
147
                 ></el-image>
116
               </el-tooltip>
148
               </el-tooltip>
117
             </div>
149
             </div>
124
             >
156
             >
125
           </el-col>
157
           </el-col>
126
           <el-col :span="6" style="text-align: center">
158
           <el-col :span="6" style="text-align: center">
127
-            <div class="demo-image__preview">
159
+            <div class="demo-image__preview" @click="imgClick('https://images.shengws.com/template_six.png')">
128
               <el-tooltip
160
               <el-tooltip
129
                 class="item"
161
                 class="item"
130
                 effect="dark"
162
                 effect="dark"
132
                 placement="top-start"
164
                 placement="top-start"
133
                 :hide-after="2000"
165
                 :hide-after="2000"
134
               >
166
               >
167
+                <!--<el-image-->
168
+                  <!--style="width: 200px; height: 200px;margin-left:30px"-->
169
+                  <!--:src="require('@/assets/home/template_six.png')"-->
170
+                  <!--:preview-src-list="imgs_eight"-->
171
+                <!--&gt;</el-image>-->
172
+
135
                 <el-image
173
                 <el-image
136
                   style="width: 200px; height: 200px;margin-left:30px"
174
                   style="width: 200px; height: 200px;margin-left:30px"
137
                   :src="require('@/assets/home/template_six.png')"
175
                   :src="require('@/assets/home/template_six.png')"
138
-                  :preview-src-list="imgs_eight"
139
                 ></el-image>
176
                 ></el-image>
140
               </el-tooltip>
177
               </el-tooltip>
141
             </div>
178
             </div>
166
           <!--</el-col>-->
203
           <!--</el-col>-->
167
         </el-row>
204
         </el-row>
168
       </div>
205
       </div>
206
+
207
+
208
+      <el-image-viewer
209
+        v-if="showViewer"
210
+        :on-close="closeViewer"
211
+        :url-list="imgs"
212
+      ></el-image-viewer>
213
+
169
     </div>
214
     </div>
170
   </div>
215
   </div>
171
 </template>
216
 </template>
172
 
217
 
173
 <script>
218
 <script>
174
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
219
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
220
+import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
175
 import { getPrintTemplate, postPrintTemplate } from "@/api/data";
221
 import { getPrintTemplate, postPrintTemplate } from "@/api/data";
176
 import store from "@/store";
222
 import store from "@/store";
177
 
223
 
178
 export default {
224
 export default {
179
   name: "printTemplate",
225
   name: "printTemplate",
180
-  components: { BreadCrumb },
226
+  components: { ElImageViewer, BreadCrumb },
181
   data() {
227
   data() {
182
     return {
228
     return {
229
+      showViewer:false,
183
       crumbs: [
230
       crumbs: [
184
         { path: false, name: "管理中心" },
231
         { path: false, name: "管理中心" },
185
         { path: "data/print", name: "打印模版" }
232
         { path: "data/print", name: "打印模版" }
188
       imgUrl_Two: require("@/assets/home/2.jpg"),
235
       imgUrl_Two: require("@/assets/home/2.jpg"),
189
       imgUrl_Five: require("@/assets/home/5.jpg"),
236
       imgUrl_Five: require("@/assets/home/5.jpg"),
190
 
237
 
238
+      imgs:[],
239
+
191
       imgs_one: [
240
       imgs_one: [
192
         // 'https://images.shengws.com/template_one.jpg'
241
         // 'https://images.shengws.com/template_one.jpg'
193
         "https://images.shengws.com/fangji.jpg"
242
         "https://images.shengws.com/fangji.jpg"
194
       ],
243
       ],
195
       imgs_two: ["https://images.shengws.com/template_two.jpg"],
244
       imgs_two: ["https://images.shengws.com/template_two.jpg"],
196
       imgs_five: ["https://images.shengws.com/template_five.jpg"],
245
       imgs_five: ["https://images.shengws.com/template_five.jpg"],
197
-      imgs_seven: ["http://images.shengws.com/serven.png"],
198
-      imgs_six: ["http://images.shengws.com/eight.png"],
246
+      imgs_seven: ["https://images.shengws.com/serven.png"],
247
+      imgs_six: ["https://images.shengws.com/eight.png"],
199
       imgs_eight: ["https://images.shengws.com/template_six.png"],
248
       imgs_eight: ["https://images.shengws.com/template_six.png"],
200
       imgs_ten: ["https://kuyi.shengws.com/template_ten.jpg"],
249
       imgs_ten: ["https://kuyi.shengws.com/template_ten.jpg"],
201
 
250
 
206
     };
255
     };
207
   },
256
   },
208
   methods: {
257
   methods: {
258
+    imgClick(val){
259
+      this.imgs = []
260
+      this.imgs.push(val)
261
+      this.showViewer = true
262
+
263
+    },
264
+    closeViewer() {
265
+      this.showViewer = false
266
+    },
209
     change: function(val) {
267
     change: function(val) {
210
       console.log("val是什么", val);
268
       console.log("val是什么", val);
211
       this.$confirm(
269
       this.$confirm(
227
               // 同步
285
               // 同步
228
               // console.log(response.data.data.fileds)
286
               // console.log(response.data.data.fileds)
229
               this.loading = false;
287
               this.loading = false;
230
-               store.dispatch("updateAllFiledConfigList", response.data.data.fileds).then(() => {});
288
+              // store.dispatch("updateAllFiledConfigList", response.data.data.fileds).then(() => {});
231
               this.$message({
289
               this.$message({
232
                 type: "success",
290
                 type: "success",
233
                 message: "切换成功"
291
                 message: "切换成功"

+ 34 - 7
src/xt_pages/dialysis/details/acceptsAssessment.vue View File

146
           '1': '正常',
146
           '1': '正常',
147
           '2': '异常'
147
           '2': '异常'
148
         },
148
         },
149
-        precautions:[]
149
+        precautions:[],
150
       }
150
       }
151
     },
151
     },
152
     props: {
152
     props: {
263
         } else {
263
         } else {
264
           return this.psychological_assessment[this.record.psychological_assessment] == undefined ? '' : this.psychological_assessment[this.record.psychological_assessment] + ''
264
           return this.psychological_assessment[this.record.psychological_assessment] == undefined ? '' : this.psychological_assessment[this.record.psychological_assessment] + ''
265
         }
265
         }
266
-      }, precaution: function() {
267
-        if (this.record.id == 0) {
266
+      }, 
267
+      precaution: function() {
268
+        if (this.record.id == 0 || this.record == null ) {
269
+          console.log("id--------")
268
           return ''
270
           return ''
269
         } else {
271
         } else {
270
-          for (let i = 0; i < this.precautions.length; i++){
271
-            if (this.record.precaution == this.precautions[i].id){
272
-              return this.precautions[i].name
273
-
272
+          //console.log("-----",this.record.precaution)
273
+          var obj = this.record.precaution
274
+            console.log("obj--",obj)
275
+          if(obj == null){
276
+            return ""
277
+          }
278
+          if(obj !=null){
279
+             var arr = obj.split(",")
280
+          // console.log("arr----",arr)
281
+            var arrtwo = []
282
+            for(let i=0;i<arr.length;i++){
283
+              for(let j=0;j<this.precautions.length;j++){
284
+                if(parseInt(arr[i]) == this.precautions[j].id){
285
+                  arrtwo.push(this.precautions[j].name)
286
+                }
287
+              }
274
             }
288
             }
289
+               // console.log("arrtwo",arrtwo)
290
+              var objtwo = arrtwo.join(",")
291
+            // console.log("objtwo",objtwo)
292
+              return objtwo
275
           }
293
           }
294
+         // for (let i = 0; i < this.precautions.length; i++){
295
+
296
+           // if (this.record.precaution == this.precautions[i].id){
297
+           //   return this.precautions[i].name
298
+           //
299
+           // }
300
+          // }
276
           // return this.precautions[this.record.precaution] == undefined ? '' : this.precautions[this.record.precaution] + ''
301
           // return this.precautions[this.record.precaution] == undefined ? '' : this.precautions[this.record.precaution] + ''
277
         }
302
         }
278
       }
303
       }
289
       }
314
       }
290
     },
315
     },
291
     created(){
316
     created(){
317
+      console.log("records",this.record)
292
       this.ways = getDataConfig('hemodialysis', 'way')
318
       this.ways = getDataConfig('hemodialysis', 'way')
293
       this.consciousnesses = getDataConfig('hemodialysis', 'consciousness')
319
       this.consciousnesses = getDataConfig('hemodialysis', 'consciousness')
294
       this.appetites = getDataConfig('hemodialysis', 'appetite')
320
       this.appetites = getDataConfig('hemodialysis', 'appetite')
295
       this.postures = getDataConfig('hemodialysis', 'posture')
321
       this.postures = getDataConfig('hemodialysis', 'posture')
296
       this.sick_condition = getDataConfig('hemodialysis', 'sick_condition')
322
       this.sick_condition = getDataConfig('hemodialysis', 'sick_condition')
297
       this.precautions = getDataConfig('hemodialysis', 'precaution')
323
       this.precautions = getDataConfig('hemodialysis', 'precaution')
324
+      console.log("跌倒预防措施",this.precautions)
298
       this.intake = getDataConfig('hemodialysis', 'intake')
325
       this.intake = getDataConfig('hemodialysis', 'intake')
299
       this.nutrition = getDataConfig('hemodialysis', 'nutrition')
326
       this.nutrition = getDataConfig('hemodialysis', 'nutrition')
300
       console.log(this.ways)
327
       console.log(this.ways)

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

391
         return "-";
391
         return "-";
392
       }
392
       }
393
       return this.record.internal_fistula;
393
       return this.record.internal_fistula;
394
+     
394
     },
395
     },
395
 
396
 
396
     internal_fistula_skin: function() {
397
     internal_fistula_skin: function() {

+ 76 - 24
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

1360
             return;
1360
             return;
1361
           }
1361
           }
1362
 
1362
 
1363
-          const ParamsQuery = this.dialysisPrescription;
1363
+           var arr = this.dialysisPrescription;
1364
+            console.log("arr", arr);
1365
+            for (let i = 0; i < this.dialyzerPerfusionApparatus.length; i++) {
1366
+              if (
1367
+                parseInt(arr.dialyzer_perfusion_apparatus) ==
1368
+                this.dialyzerPerfusionApparatus[i].id
1369
+              ) {
1370
+                arr.dialyzer_perfusion_apparatus = this.dialyzerPerfusionApparatus[
1371
+                  i
1372
+                ].name;
1373
+              }
1374
+            }
1375
+
1376
+            const ParamsQuery = arr;
1377
+            console.log("医嘱推送2", ParamsQuery);
1378
+
1364
           ParamsQuery["patient"] = this.patient.id;
1379
           ParamsQuery["patient"] = this.patient.id;
1365
           ParamsQuery["record_date"] = this.record_date;
1380
           ParamsQuery["record_date"] = this.record_date;
1366
 
1381
 
1435
             this.loading = false;
1450
             this.loading = false;
1436
             return;
1451
             return;
1437
           }
1452
           }
1438
-          const ParamsQuery = this.dialysisPrescription;
1453
+           var arr = this.dialysisPrescription;
1454
+            console.log("arr", arr);
1455
+            for (let i = 0; i < this.dialyzerPerfusionApparatus.length; i++) {
1456
+              if (
1457
+                parseInt(arr.dialyzer_perfusion_apparatus) ==
1458
+                this.dialyzerPerfusionApparatus[i].id
1459
+              ) {
1460
+                arr.dialyzer_perfusion_apparatus = this.dialyzerPerfusionApparatus[
1461
+                  i
1462
+                ].name;
1463
+              }
1464
+            }
1465
+
1466
+            const ParamsQuery = arr;
1467
+            console.log("医嘱推送3", ParamsQuery);
1468
+
1439
 
1469
 
1440
           ParamsQuery["patient"] = this.patient.id;
1470
           ParamsQuery["patient"] = this.patient.id;
1441
           ParamsQuery["record_date"] = this.record_date;
1471
           ParamsQuery["record_date"] = this.record_date;
1511
             return;
1541
             return;
1512
           }
1542
           }
1513
 
1543
 
1514
-          const ParamsQuery = this.dialysisPrescription;
1544
+            var arr = this.dialysisPrescription;
1545
+            console.log("arr", arr);
1546
+            for (let i = 0; i < this.dialyzerPerfusionApparatus.length; i++) {
1547
+              if (
1548
+                parseInt(arr.dialyzer_perfusion_apparatus) ==
1549
+                this.dialyzerPerfusionApparatus[i].id
1550
+              ) {
1551
+                arr.dialyzer_perfusion_apparatus = this.dialyzerPerfusionApparatus[
1552
+                  i
1553
+                ].name;
1554
+              }
1555
+            }
1556
+
1557
+            const ParamsQuery = arr;
1558
+            console.log("医嘱推送4", ParamsQuery);
1559
+
1560
+
1515
           ParamsQuery["patient"] = this.patient.id;
1561
           ParamsQuery["patient"] = this.patient.id;
1516
           ParamsQuery["record_date"] = this.record_date;
1562
           ParamsQuery["record_date"] = this.record_date;
1517
           console.log(this.prescription);
1563
           console.log(this.prescription);
1550
             this.loading = false;
1596
             this.loading = false;
1551
             return;
1597
             return;
1552
           }
1598
           }
1553
-          const ParamsQuery = this.dialysisPrescription;
1599
+           var arr = this.dialysisPrescription;
1600
+            console.log("arr", arr);
1601
+            for (let i = 0; i < this.dialyzerPerfusionApparatus.length; i++) {
1602
+              if (
1603
+                parseInt(arr.dialyzer_perfusion_apparatus) ==
1604
+                this.dialyzerPerfusionApparatus[i].id
1605
+              ) {
1606
+                arr.dialyzer_perfusion_apparatus = this.dialyzerPerfusionApparatus[
1607
+                  i
1608
+                ].name;
1609
+              }
1610
+            }
1611
+
1612
+            const ParamsQuery = arr;
1613
+            console.log("医嘱推送5", ParamsQuery);
1614
+
1554
           ParamsQuery["patient"] = this.patient.id;
1615
           ParamsQuery["patient"] = this.patient.id;
1555
           ParamsQuery["record_date"] = this.record_date;
1616
           ParamsQuery["record_date"] = this.record_date;
1556
           ParamsQuery["mode"] = 1;
1617
           ParamsQuery["mode"] = 1;
1721
           console.log("arr", arr);
1782
           console.log("arr", arr);
1722
           for (let i = 0; i < this.dialyzerPerfusionApparatus.length; i++) {
1783
           for (let i = 0; i < this.dialyzerPerfusionApparatus.length; i++) {
1723
             if (
1784
             if (
1724
-              parseInt(arr.dialyzer_perfusion_apparatus) ==
1725
-              this.dialyzerPerfusionApparatus[i].id
1726
-            ) {
1727
-              arr.dialyzer_perfusion_apparatus = this.dialyzerPerfusionApparatus[
1728
-                i
1729
-              ].name;
1785
+              parseInt(arr.dialyzer_perfusion_apparatus) == this.dialyzerPerfusionApparatus[i].id) {
1786
+              arr.dialyzer_perfusion_apparatus = this.dialyzerPerfusionApparatus[i].name;
1730
             }
1787
             }
1731
           }
1788
           }
1732
 
1789
 
1735
           ParamsQuery["patient"] = this.patient.id;
1792
           ParamsQuery["patient"] = this.patient.id;
1736
           ParamsQuery["record_date"] = this.record_date;
1793
           ParamsQuery["record_date"] = this.record_date;
1737
           ParamsQuery["mode"] = "1";
1794
           ParamsQuery["mode"] = "1";
1738
-
1795
+          
1739
           postPrescription(ParamsQuery).then(response => {
1796
           postPrescription(ParamsQuery).then(response => {
1740
             if (response.data.state == 0) {
1797
             if (response.data.state == 0) {
1741
               this.$message.error(response.data.msg);
1798
               this.$message.error(response.data.msg);
1907
             var arr = this.dialysisPrescription;
1964
             var arr = this.dialysisPrescription;
1908
             console.log("arr", arr);
1965
             console.log("arr", arr);
1909
             for (let i = 0; i < this.dialyzerPerfusionApparatus.length; i++) {
1966
             for (let i = 0; i < this.dialyzerPerfusionApparatus.length; i++) {
1910
-              if (
1911
-                parseInt(arr.dialyzer_perfusion_apparatus) ==
1912
-                this.dialyzerPerfusionApparatus[i].id
1913
-              ) {
1914
-                arr.dialyzer_perfusion_apparatus = this.dialyzerPerfusionApparatus[
1915
-                  i
1916
-                ].name;
1967
+              if ( parseInt(arr.dialyzer_perfusion_apparatus) == this.dialyzerPerfusionApparatus[i].id) {
1968
+                arr.dialyzer_perfusion_apparatus = this.dialyzerPerfusionApparatus[i].name;
1917
               }
1969
               }
1918
             }
1970
             }
1919
-
1920
             const ParamsQuery = arr;
1971
             const ParamsQuery = arr;
1921
             console.log("paramsqueryfour", ParamsQuery);
1972
             console.log("paramsqueryfour", ParamsQuery);
1922
-            if (this.prescription.creater <= 0) {
1923
-              mode = 1;
1924
-            } else {
1925
-              mode = 2;
1926
-            }
1973
+            console.log("创建者",this.prescription.creater)
1974
+            //if (this.prescription.creater <= 0) {
1975
+            //  mode = 1;
1976
+            //} else {
1977
+            //  mode = 2;
1978
+            //}
1927
             ParamsQuery["patient"] = this.patient.id;
1979
             ParamsQuery["patient"] = this.patient.id;
1928
             ParamsQuery["record_date"] = this.record_date;
1980
             ParamsQuery["record_date"] = this.record_date;
1929
             // console.log(this.prescription);
1981
             // console.log(this.prescription);

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

548
           console.log("透析处方",prescription)
548
           console.log("透析处方",prescription)
549
           var solution = resp.data.solution; // 透析方案
549
           var solution = resp.data.solution; // 透析方案
550
           var receiver_treatment_access = resp.data.receiver_treatment_access; // 接诊评估
550
           var receiver_treatment_access = resp.data.receiver_treatment_access; // 接诊评估
551
+          console.log("receiver_treatment_access",receiver_treatment_access)
551
           var predialysis_evaluation = resp.data.predialysis_evaluation; // 透前评估
552
           var predialysis_evaluation = resp.data.predialysis_evaluation; // 透前评估
552
           console.log("透前评估",predialysis_evaluation)
553
           console.log("透前评估",predialysis_evaluation)
553
            if(predialysis_evaluation !=null){
554
            if(predialysis_evaluation !=null){

+ 0 - 10
src/xt_pages/workforce/template.vue View File

70
                  size="small" icon="el-icon-setting" type="primary" @click="import_file()">导出模版
70
                  size="small" icon="el-icon-setting" type="primary" @click="import_file()">导出模版
71
       </el-button>
71
       </el-button>
72
 
72
 
73
-      <el-button
74
-        @click="generateLog()"
75
-        class="filter-item"
76
-        type="primary"
77
-        size="small"
78
-      >下载错误日志
79
-      </el-button>
80
 
73
 
81
-      <!--<upload-excel style="float:right;" :on-success='handleSuccess' :before-upload="beforeUpload"></upload-excel>-->
82
-      <schedule-template-upload-excel style="float:right;" :on-success='handleSuccess'
83
-                                      :before-upload="beforeUpload"></schedule-template-upload-excel>
84
 
74
 
85
       <el-button size="small" icon="el-icon-setting" type="primary" @click="setScheduleTemplateAction">设置模板</el-button>
75
       <el-button size="small" icon="el-icon-setting" type="primary" @click="setScheduleTemplateAction">设置模板</el-button>
86
       <!-- </el-col> -->
76
       <!-- </el-col> -->