Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

杨青 1 year ago
parent
commit
8e435f9870

+ 25 - 0
src/api/role/admin.js View File

108
     method:"get",
108
     method:"get",
109
     params:params
109
     params:params
110
   })
110
   })
111
+}
112
+
113
+export function toTestThree(params){
114
+  return request({
115
+    url:"/api/sign/createuploadpact",
116
+    method:"get",
117
+    params:params,
118
+  })
119
+}
120
+
121
+export function toTestFour(params){
122
+  return request({
123
+    url:"/api/sign/createuserid",
124
+    method:"Get",
125
+    params:params
126
+  })
127
+} 
128
+
129
+export function toTestFive(params){
130
+  
131
+  return request({
132
+     url:"/api/sign/createenterpriserealname",
133
+     method:"Get",
134
+     params:params
135
+  })
111
 }
136
 }

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

2571
                     <div
2571
                     <div
2572
                       class="row"
2572
                       class="row"
2573
                       style="padding: 2px 0; line-height: 23px; display: flex"
2573
                       style="padding: 2px 0; line-height: 23px; display: flex"
2574
-                      v-if="org_id == 10223"
2574
+                      v-if="org_id == 10223 || org_id == 0 || org_id ==9538"
2575
                     >
2575
                     >
2576
                       <div class="inline_block" style="flex: 1">
2576
                       <div class="inline_block" style="flex: 1">
2577
                         穿刺处血肿:
2577
                         穿刺处血肿:

+ 29 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyFive.vue View File

78
               <div class="inline_block">
78
               <div class="inline_block">
79
                 病区:
79
                 病区:
80
                 <div class="under_line" style="width: 50px; text-align: center">
80
                 <div class="under_line" style="width: 50px; text-align: center">
81
-                  {{ "/" }}
81
+                  {{ record.device_zone.name?record.device_zone.name:"/" }}
82
                 </div>
82
                 </div>
83
               </div>
83
               </div>
84
               <div class="inline_block">
84
               <div class="inline_block">
85
                 床号:
85
                 床号:
86
                 <div class="under_line" style="width: 50px; text-align: center">
86
                 <div class="under_line" style="width: 50px; text-align: center">
87
-                  {{ "/" }}
87
+                  {{ record.device_number.number?record.device_number.number:"/"}}
88
                 </div>
88
                 </div>
89
               </div>
89
               </div>
90
               <div class="inline_block">
90
               <div class="inline_block">
140
                 </div>
140
                 </div>
141
               </div>
141
               </div>
142
             </div>
142
             </div>
143
+
144
+            <div
145
+                class="row"
146
+                style="padding: 2px 0; line-height: 23px; display: flex"
147
+              >
148
+                <div
149
+                  class="inline_block"
150
+                  style="flex: 1; display: inline-block"
151
+                >
152
+                  身份证:
153
+                  <div
154
+                    class="under_line"
155
+                    style="
156
+                      width: 840px;
157
+                      line-height: 25px;
158
+                      text-align: left;
159
+                      margin-left: 2px;
160
+                      display: inline-block;
161
+                      white-space: normal;
162
+                    "
163
+                  >
164
+                    {{record.patient.id_card_no}}
165
+                  </div>
166
+                </div>
167
+              </div>
143
   
168
   
144
             <div
169
             <div
145
               class="row"
170
               class="row"
184
                             style="width: 70px; text-align: center"
209
                             style="width: 70px; text-align: center"
185
                           >
210
                           >
186
                             {{
211
                             {{
187
-                              record.patient.total_dialysis +
212
+                              record.Count +
188
                               record.patient.user_sys_before_count
213
                               record.patient.user_sys_before_count
189
-                                ? record.patient.total_dialysis +
214
+                                ?  record.Count +
190
                                   record.patient.user_sys_before_count
215
                                   record.patient.user_sys_before_count
191
                                 : "/"
216
                                 : "/"
192
                             }}
217
                             }}

+ 10 - 5
src/xt_pages/dialysis/components/dialysisParametersDialog.vue View File

21
         type="date"
21
         type="date"
22
         format="yyyy-MM-dd"
22
         format="yyyy-MM-dd"
23
         value-format="yyyy-MM-dd"
23
         value-format="yyyy-MM-dd"
24
-        placeholder="选择日期">
24
+        placeholder="选择日期"
25
+        @change="selectEndtime">
25
         </el-date-picker>
26
         </el-date-picker>
26
         <el-button icon="el-icon-printer" type="primary" @click="toPrint">打印</el-button>
27
         <el-button icon="el-icon-printer" type="primary" @click="toPrint">打印</el-button>
27
 
28
 
121
             })
122
             })
122
         },
123
         },
123
        selectStartime() {
124
        selectStartime() {
124
-        this.start_time = parseTime(this.startTime, '{y}-{m}-{d}')
125
-        this.query.start_time = parseTime(this.startTime, '{y}-{m}-{d}')
125
+        // this.start_time = parseTime(this.startTime, '{y}-{m}-{d}')
126
+        // this.query.start_time = parseTime(this.startTime, '{y}-{m}-{d}')
127
+         this.start_time = this.startTime
128
+         this.query.start_time = this.startTime
126
         this.getlist()
129
         this.getlist()
127
 
130
 
128
       },
131
       },
129
       selectEndtime() {
132
       selectEndtime() {
130
-        this.end_time = parseTime(this.endTime, '{y}-{m}-{d}')
131
-        this.query.end_time = parseTime(this.endTime, '{y}-{m}-{d}')
133
+        // this.end_time = parseTime(this.endTime, '{y}-{m}-{d}')
134
+        // this.query.end_time = parseTime(this.endTime, '{y}-{m}-{d}')
135
+        this.end_time = this.endTime
136
+        this.query.end_time = this.endTime
132
         this.getlist()
137
         this.getlist()
133
 
138
 
134
       },
139
       },

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

1752
         this.$router.push({path:"/dialysis/consumable/dialysis/count/print?schedule_type="+this.schedule_type+"&partion_type="+this.partion_type+"&schedule_date="+this.query.schedule_date})
1752
         this.$router.push({path:"/dialysis/consumable/dialysis/count/print?schedule_type="+this.schedule_type+"&partion_type="+this.partion_type+"&schedule_date="+this.query.schedule_date})
1753
       },
1753
       },
1754
       handleSelectionChange(val){
1754
       handleSelectionChange(val){
1755
+        
1755
         var arr = []
1756
         var arr = []
1756
         for(let i=0;i<val.length;i++){
1757
         for(let i=0;i<val.length;i++){
1757
           arr.push(val[i].id)
1758
           arr.push(val[i].id)

+ 8 - 8
src/xt_pages/dialysis/details/consumable/signPrint.vue View File

23
                 <div>
23
                 <div>
24
                  <span v-if="printObj.zone == 1">分区/</span>
24
                  <span v-if="printObj.zone == 1">分区/</span>
25
                  <span v-if="printObj.number == 1">床位号:</span>
25
                  <span v-if="printObj.number == 1">床位号:</span>
26
-                 <span v-if="printObj.zone == 1">{{main_collection.zone.name}}/</span> 
26
+                 <span v-if="printObj.zone == 1">{{main_collection.device_number.zone.name}}/</span> 
27
                  <span v-if="printObj.number == 1">{{main_collection.device_number.number}}</span>
27
                  <span v-if="printObj.number == 1">{{main_collection.device_number.number}}</span>
28
                 </div>
28
                 </div>
29
                 <div>姓名:
29
                 <div>姓名:
297
       getlist(){
297
       getlist(){
298
          var params = {
298
          var params = {
299
           schedule_type:this.schedule_type,
299
           schedule_type:this.schedule_type,
300
-          partion_id:this.partion_id,
300
+          partition_id:this.partion_id,
301
           schedule_date:this.schedule_date,
301
           schedule_date:this.schedule_date,
302
           keywords:this.keyword,
302
           keywords:this.keyword,
303
           page:this.page,
303
           page:this.page,
304
           limit:this.limit,
304
           limit:this.limit,
305
          }
305
          }
306
+         console.log("param222222o2o2o",params)
306
         getDialysisParameter(params).then(response=>{
307
         getDialysisParameter(params).then(response=>{
307
             if(response.data.state == 1){
308
             if(response.data.state == 1){
308
               var list = response.data.data.list
309
               var list = response.data.data.list
402
         return type_name
403
         return type_name
403
       },
404
       },
404
       getCurrentDate: function () {
405
       getCurrentDate: function () {
405
-        console.log(this.$route.query.week_type)
406
+       
406
         var myDate = new Date();
407
         var myDate = new Date();
407
         var year = myDate.getFullYear(); //年
408
         var year = myDate.getFullYear(); //年
408
         var month = myDate.getMonth() + 1; //月
409
         var month = myDate.getMonth() + 1; //月
436
         if(newday > dayNum){
437
         if(newday > dayNum){
437
           let lastDay = day - (newday - dayNum)
438
           let lastDay = day - (newday - dayNum)
438
           console.log("lastDay1",lastDay)
439
           console.log("lastDay1",lastDay)
439
-          var str = year + "年" + month + "月" + lastDay + "日  " + days;
440
+          var str = year + "年" + month + "月" + lastDay + "日  " 
440
           return str;
441
           return str;
441
         }else if(newday < dayNum){
442
         }else if(newday < dayNum){
442
           let lastDay = day + (dayNum - newday)
443
           let lastDay = day + (dayNum - newday)
443
           console.log("lastDay2",lastDay)
444
           console.log("lastDay2",lastDay)
444
-          var str = year + "年" + month + "月" + lastDay + "日  " + days;
445
+          var str = year + "年" + month + "月" + lastDay + "日  " 
445
           return str;
446
           return str;
446
         }else{
447
         }else{
447
-          var str = year + "年" + month + "月" + day + "日  " + days;
448
+          var str = year + "年" + month + "月" + day + "日  " 
448
           return str;
449
           return str;
449
         }
450
         }
450
-
451
-
451
+        
452
       },
452
       },
453
 
453
 
454
        compare(property) {
454
        compare(property) {

+ 16 - 10
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

313
                         this.$store.getters.xt_user.template_info.org_id != 10440 &&
313
                         this.$store.getters.xt_user.template_info.org_id != 10440 &&
314
                         this.$store.getters.xt_user.template_info.org_id != 10469 &&
314
                         this.$store.getters.xt_user.template_info.org_id != 10469 &&
315
                         this.$store.getters.xt_user.template_info.org_id != 10471 &&
315
                         this.$store.getters.xt_user.template_info.org_id != 10471 &&
316
-                        this.$store.getters.xt_user.template_info.org_id != 10495">
316
+                        this.$store.getters.xt_user.template_info.org_id != 10495 &&
317
+                        this.$store.getters.xt_user.template_info.org_id != 10375">
317
                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 &&
318
                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 &&
318
                           this.$store.getters.xt_user.template_info.template_id != 45 &&
319
                           this.$store.getters.xt_user.template_info.template_id != 45 &&
319
                           this.$store.getters.xt_user.template_info.org_id != 10346 &&
320
                           this.$store.getters.xt_user.template_info.org_id != 10346 &&
320
                           this.$store.getters.xt_user.template_info.org_id != 10387 &&
321
                           this.$store.getters.xt_user.template_info.org_id != 10387 &&
321
-                          this.$store.getters.xt_user.template_info.org_id != 10495 ">
322
+                          this.$store.getters.xt_user.template_info.org_id != 10495 &&
323
+                          this.$store.getters.xt_user.template_info.org_id != 10375 ">
322
                             <el-form-item
324
                             <el-form-item
323
                                     v-if='dialysisPrescription.anticoagulant != 1 &&
325
                                     v-if='dialysisPrescription.anticoagulant != 1 &&
324
                                     this.$store.getters.xt_user.template_info.template_id != 21 &&
326
                                     this.$store.getters.xt_user.template_info.template_id != 21 &&
363
                                     this.$store.getters.xt_user.template_info.org_id == 9987 ||
365
                                     this.$store.getters.xt_user.template_info.org_id == 9987 ||
364
                                     this.$store.getters.xt_user.template_info.org_id == 10346 ||
366
                                     this.$store.getters.xt_user.template_info.org_id == 10346 ||
365
                                     this.$store.getters.xt_user.template_info.org_id == 10387 ||
367
                                     this.$store.getters.xt_user.template_info.org_id == 10387 ||
366
-                                    this.$store.getters.xt_user.template_info.org_id ==10495'
368
+                                    this.$store.getters.xt_user.template_info.org_id ==10495 ||
369
+                                    this.$store.getters.xt_user.template_info.org_id ==10375
370
+                                    '
367
                                     :label="'首剂(mg) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
371
                                     :label="'首剂(mg) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
368
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
372
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
369
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
373
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
414
 
418
 
415
 
419
 
416
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.weichi != -1 && isShows('维持')  && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
420
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.weichi != -1 && isShows('维持')  && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
417
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157  && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 9671  && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495">
418
-                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 10495 ">
421
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157  && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 9671  && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375">
422
+                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375 ">
419
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
423
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
420
                                           v-if="anticoagulant.weichi != -1 &&
424
                                           v-if="anticoagulant.weichi != -1 &&
421
                                            this.$store.getters.xt_user.template_info.template_id != 21 &&
425
                                            this.$store.getters.xt_user.template_info.template_id != 21 &&
424
                                             this.$store.getters.xt_user.template_info.org_id != 9987  &&
428
                                             this.$store.getters.xt_user.template_info.org_id != 9987  &&
425
                                             this.$store.getters.xt_user.template_info.org_id != 54 &&
429
                                             this.$store.getters.xt_user.template_info.org_id != 54 &&
426
                                             this.$store.getters.xt_user.template_info.org_id != 9990 &&
430
                                             this.$store.getters.xt_user.template_info.org_id != 9990 &&
427
-                                            this.$store.getters.xt_user.template_info.org_id != 10495" prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
431
+                                            this.$store.getters.xt_user.template_info.org_id != 10495 &&
432
+                                            this.$store.getters.xt_user.template_info.org_id != 10375" prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
428
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
433
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
429
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
434
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
430
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
435
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
440
                                           this.$store.getters.xt_user.template_info.org_id == 10346 ||
445
                                           this.$store.getters.xt_user.template_info.org_id == 10346 ||
441
                                           this.$store.getters.xt_user.template_info.org_id == 10387  ||
446
                                           this.$store.getters.xt_user.template_info.org_id == 10387  ||
442
                                           this.$store.getters.xt_user.template_info.org_id == 9990 ||
447
                                           this.$store.getters.xt_user.template_info.org_id == 9990 ||
443
-                                          this.$store.getters.xt_user.template_info.org_id == 10495
448
+                                          this.$store.getters.xt_user.template_info.org_id == 10495 ||
449
+                                          this.$store.getters.xt_user.template_info.org_id == 10375
444
                                           " prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
450
                                           " prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
445
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
451
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
446
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
452
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
496
 
502
 
497
 
503
 
498
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.zongliang != -1 && isShows('总量') && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
504
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.zongliang != -1 && isShows('总量') && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
499
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 9675 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495">
505
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 9675 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375">
500
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 10495">
506
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 10495">
501
                             <el-form-item
507
                             <el-form-item
502
-                                    v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 10495'
508
+                                    v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 10495 && this.$store.getters.xt_user.template_info.org_id != 10375'
503
                                     :label="'总量(' + anticoagulant.zongliang_unit + ') : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
509
                                     :label="'总量(' + anticoagulant.zongliang_unit + ') : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
504
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
510
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
505
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
511
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
507
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
513
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
508
                             </el-form-item>
514
                             </el-form-item>
509
                             <el-form-item
515
                             <el-form-item
510
-                                    v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38||  this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.template_id == 54 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10495 '
516
+                                    v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38||  this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.template_id == 54 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10495 || this.$store.getters.xt_user.template_info.org_id == 10375 '
511
                                     :label="'总量(mg) : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
517
                                     :label="'总量(mg) : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
512
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
518
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
513
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
519
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>

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

59
           </el-form-item>
59
           </el-form-item>
60
         </el-col>
60
         </el-col>
61
       </el-row>
61
       </el-row>
62
-      <el-button type="primary" size="small" @click="autoClick" style="margin-top: 5px;margin-bottom: 5px;" v-if="org_id ==9671 || org_id==10440 || org_id == 10495">自动生成</el-button>
62
+      <el-button type="primary" size="small" @click="autoClick" style="margin-top: 5px;margin-bottom: 5px;">自动生成</el-button>
63
       <el-row :gutter="20">
63
       <el-row :gutter="20">
64
 
64
 
65
         <el-col v-if="isShow('透析小结')">
65
         <el-col v-if="isShow('透析小结')">

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

2674
                   <div
2674
                   <div
2675
                     class="row"
2675
                     class="row"
2676
                     style="padding: 2px 0; line-height: 23px; display: flex"
2676
                     style="padding: 2px 0; line-height: 23px; display: flex"
2677
-                    v-if="org_id == 9538||org_id == 9675"
2677
+                    v-if="org_id == 9538||org_id == 9675 || org_id == 0"
2678
                   >
2678
                   >
2679
                     <div
2679
                     <div
2680
                       class="inline_block"
2680
                       class="inline_block"
2691
                           white-space: normal;
2691
                           white-space: normal;
2692
                         "
2692
                         "
2693
                       >
2693
                       >
2694
-                        {{ lastafterdialysis.cvc_a ? lastafterdialysis.cvc_a : "/" }}
2694
+                        {{ afterdialysis.cvc_a ? afterdialysis.cvc_a : "/" }}
2695
                       </div>ml,V端<div
2695
                       </div>ml,V端<div
2696
                         class="under_line"
2696
                         class="under_line"
2697
                         style="
2697
                         style="
2703
                           white-space: normal;
2703
                           white-space: normal;
2704
                         "
2704
                         "
2705
                       >
2705
                       >
2706
-                        {{ lastafterdialysis.cvc_v ? lastafterdialysis.cvc_v : "/" }}
2706
+                        {{ afterdialysis.cvc_v ? afterdialysis.cvc_v : "/" }}
2707
                       </div>ml
2707
                       </div>ml
2708
                       
2708
                       
2709
                     </div>
2709
                     </div>

+ 29 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue View File

74
           <div class="inline_block">
74
           <div class="inline_block">
75
             病区:
75
             病区:
76
             <div class="under_line" style="width: 50px; text-align: center">
76
             <div class="under_line" style="width: 50px; text-align: center">
77
-              <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447">{{
77
+              <span >{{
78
                 patientInfo.DialysisSchedule.device_zone.name
78
                 patientInfo.DialysisSchedule.device_zone.name
79
                   ? patientInfo.DialysisSchedule.device_zone.name
79
                   ? patientInfo.DialysisSchedule.device_zone.name
80
-                  : ""
80
+                  : "/"
81
               }}</span>
81
               }}</span>
82
-              <span v-else>{{ "/" }}</span>
82
+             
83
             </div>
83
             </div>
84
           </div>
84
           </div>
85
           <div class="inline_block">
85
           <div class="inline_block">
86
             床号:
86
             床号:
87
             <div class="under_line" style="width: 50px; text-align: center">
87
             <div class="under_line" style="width: 50px; text-align: center">
88
-              <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675">{{
88
+              <span>{{
89
                 dialysisOrder &&
89
                 dialysisOrder &&
90
                 dialysisOrder.DeviceNumber &&
90
                 dialysisOrder.DeviceNumber &&
91
                 dialysisOrder.DeviceNumber.number.length > 0
91
                 dialysisOrder.DeviceNumber.number.length > 0
92
                   ? dialysisOrder.DeviceNumber.number
92
                   ? dialysisOrder.DeviceNumber.number
93
                   : patientInfo.DialysisSchedule.device_number.number
93
                   : patientInfo.DialysisSchedule.device_number.number
94
               }}</span>
94
               }}</span>
95
-              <span v-else>{{ "/" }}</span>
95
+              
96
             </div>
96
             </div>
97
           </div>
97
           </div>
98
           <div class="inline_block">
98
           <div class="inline_block">
114
             </div>
114
             </div>
115
           </div>
115
           </div>
116
         </div>
116
         </div>
117
+        <div
118
+            class="row"
119
+            style="padding: 2px 0; line-height: 23px; display: flex"
120
+            >
121
+              <div
122
+                class="inline_block"
123
+                style="flex: 1; display: inline-block"
124
+              >
125
+                身份证:
126
+                <div
127
+                  class="under_line"
128
+                  style="
129
+                    width: 860px;
130
+                    line-height: 25px;
131
+                    text-align: left;
132
+                    margin-left: 2px;
133
+                    display: inline-block;
134
+                    white-space: normal;
135
+                  "
136
+                >
137
+                  {{ patientInfo.id_card_no }}
138
+                </div>
139
+              </div>
140
+            </div>
117
         <div class="row">
141
         <div class="row">
118
           <div class="inline_block">
142
           <div class="inline_block">
119
             入科方式:
143
             入科方式:

+ 3 - 1
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

1097
         { value: '990602', label: '门诊特殊病(990602)' },
1097
         { value: '990602', label: '门诊特殊病(990602)' },
1098
         { value: '1402', label: '门诊特殊病(1402)' },
1098
         { value: '1402', label: '门诊特殊病(1402)' },
1099
         { value: '1401', label: '门诊慢性病(1401)' },
1099
         { value: '1401', label: '门诊慢性病(1401)' },
1100
-
1100
+        { value: '2302', label: '异地就医(2302)' },
1101
         { value: '1111', label: '精一' },
1101
         { value: '1111', label: '精一' },
1102
         { value: '1112', label: '精二' },
1102
         { value: '1112', label: '精二' },
1103
         { value: '0', label: '自费' }
1103
         { value: '0', label: '自费' }
1112
         { value: '990602', label: '门诊特殊病(990602)' },
1112
         { value: '990602', label: '门诊特殊病(990602)' },
1113
         { value: '1402', label: '门诊特殊病(1402)' },
1113
         { value: '1402', label: '门诊特殊病(1402)' },
1114
         { value: '1401', label: '门诊慢性病(1401)' },
1114
         { value: '1401', label: '门诊慢性病(1401)' },
1115
+        { value: '2302', label: '异地就医(2302)' },
1116
+
1115
 
1117
 
1116
         { value: '0', label: '自费' }
1118
         { value: '0', label: '自费' }
1117
 
1119
 

+ 8 - 7
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

60
                   </el-form-item>
60
                   </el-form-item>
61
 
61
 
62
 
62
 
63
-                
63
+
64
 
64
 
65
 
65
 
66
                   <el-form-item label="过敏病史: " prop="name" label-position="right">
66
                   <el-form-item label="过敏病史: " prop="name" label-position="right">
563
         { value: 990602, label: '门诊特殊病(990602)' },
563
         { value: 990602, label: '门诊特殊病(990602)' },
564
         { value: 1402, label: '门诊特殊病(1402)' },
564
         { value: 1402, label: '门诊特殊病(1402)' },
565
         { value: 1401, label: '门诊慢特病(1401)' },
565
         { value: 1401, label: '门诊慢特病(1401)' },
566
+        { value: 2302, label: '异地就医(2302)' },
566
         { value: 1111, label: '精一' },
567
         { value: 1111, label: '精一' },
567
         { value: 1112, label: '精二' },
568
         { value: 1112, label: '精二' },
568
         { value: 0, label: '自费' }
569
         { value: 0, label: '自费' }
2077
         }
2078
         }
2078
 
2079
 
2079
       }
2080
       }
2080
-      
2081
+
2081
       // console.log("info233333333333333333333",info.id)
2082
       // console.log("info233333333333333333333",info.id)
2082
       // console.log("LAST_INFO2323232323WO",last_info.patient_diagnosis)
2083
       // console.log("LAST_INFO2323232323WO",last_info.patient_diagnosis)
2083
       this.patient_diagnose = []
2084
       this.patient_diagnose = []
2094
       }
2095
       }
2095
 
2096
 
2096
       if(info.id > 0){
2097
       if(info.id > 0){
2097
-       
2098
+
2098
         if (info.patient_diagnosis.length == 0) {
2099
         if (info.patient_diagnosis.length == 0) {
2099
           this.patient_diagnose = []
2100
           this.patient_diagnose = []
2100
         } else {
2101
         } else {
2101
           this.patient_diagnose = []
2102
           this.patient_diagnose = []
2102
           for (let i = 0; i < info.patient_diagnosis.split(",").length; i++) {
2103
           for (let i = 0; i < info.patient_diagnosis.split(",").length; i++) {
2103
-           
2104
+
2104
             if(info.patient_diagnosis.split(',')[i].length > 0) {
2105
             if(info.patient_diagnosis.split(',')[i].length > 0) {
2105
               this.patient_diagnose.push(parseInt(info.patient_diagnosis.split(',')[i]))
2106
               this.patient_diagnose.push(parseInt(info.patient_diagnosis.split(',')[i]))
2106
             }
2107
             }
2387
               reg_type: this.register_type,
2388
               reg_type: this.register_type,
2388
               patient_diagnose:str
2389
               patient_diagnose:str
2389
             }
2390
             }
2390
-            
2391
+
2391
             for (let i = 0; i < this.prescriptions.length; i++) {
2392
             for (let i = 0; i < this.prescriptions.length; i++) {
2392
               if (this.prescriptions[i].advices.length > 0 && this.prescriptions[i].project.length == 0) {
2393
               if (this.prescriptions[i].advices.length > 0 && this.prescriptions[i].project.length == 0) {
2393
                 this.prescriptions[i]['type'] = 1
2394
                 this.prescriptions[i]['type'] = 1
2427
                   this.$emit('editKeepLoad', false)
2428
                   this.$emit('editKeepLoad', false)
2428
                   return
2429
                   return
2429
                 }
2430
                 }
2430
-          
2431
+
2431
 
2432
 
2432
                 if(this.prescriptions[i].advices[b].prescribing_number == ""){
2433
                 if(this.prescriptions[i].advices[b].prescribing_number == ""){
2433
                   this.$message.error(`处方${i+1}的${this.prescriptions[i].advices[b].drug_name}总量未填写`)
2434
                   this.$message.error(`处方${i+1}的${this.prescriptions[i].advices[b].drug_name}总量未填写`)
2800
             this.$message.error('科室不能为空')
2801
             this.$message.error('科室不能为空')
2801
             return
2802
             return
2802
           }
2803
           }
2803
-          
2804
+
2804
           var str = ""
2805
           var str = ""
2805
           if(patient_diagnose!=""){
2806
           if(patient_diagnose!=""){
2806
              str = this.patient_diagnose.join(',')
2807
              str = this.patient_diagnose.join(',')

+ 13 - 0
src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue View File

331
             console.log('所有项目列表', projectlist)
331
             console.log('所有项目列表', projectlist)
332
             this.projectList = projectlist
332
             this.projectList = projectlist
333
             this.hisPatient = response.data.data.hisPatient
333
             this.hisPatient = response.data.data.hisPatient
334
+            this.advicePrint.map((item) => {
335
+              console.log(item.project.length);
336
+              if (item.project.length > 0) {
337
+                for (var i = item.project.length - 1; i >= 0; i--) {
338
+                  if (item.project[i].type == 2) {
339
+                    if (item.project[i].project.cost_classify == 3) {
340
+                      console.log("!1111111")
341
+                      item.project.splice(i, 1);
342
+                    }
343
+                  }
344
+                }
345
+              }
346
+            });
334
 
347
 
335
           }
348
           }
336
         })
349
         })

+ 1 - 0
src/xt_pages/outpatientDoctorStation/treatTemplate/printTwo.vue View File

490
               for (var i = item.project.length - 1; i >= 0; i--) {
490
               for (var i = item.project.length - 1; i >= 0; i--) {
491
                 if (item.project[i].type == 2) {
491
                 if (item.project[i].type == 2) {
492
                   if (item.project[i].project.cost_classify == 3) {
492
                   if (item.project[i].project.cost_classify == 3) {
493
+                    console.log("!1111111")
493
                     item.project.splice(i, 1);
494
                     item.project.splice(i, 1);
494
                   }
495
                   }
495
                 }
496
                 }

+ 63 - 2
src/xt_pages/role/admin.vue View File

28
           size="small"
28
           size="small"
29
           icon="el-icon-circle-plus-outline"
29
           icon="el-icon-circle-plus-outline"
30
           style="float:left"
30
           style="float:left"
31
-          @click="toTestOne">个人用户实名</el-button> -->
31
+          @click="toTestOne">创建个人用户实名</el-button> -->
32
+
33
+          <!-- <el-button
34
+          type="primary"
35
+          size="small"
36
+          icon="el-icon-circle-plus-outline"
37
+          style="float:left"
38
+          @click="toTestFive">创建企业用户并实名</el-button> -->
39
+
40
+
41
+          <!-- <el-button
42
+          type="primary"
43
+          size="small"
44
+          icon="el-icon-circle-plus-outline"
45
+          style="float:left"
46
+          @click="toTestFour">添加企业成员</el-button> -->
32
          
47
          
33
           <!-- <el-button
48
           <!-- <el-button
34
           type="primary"
49
           type="primary"
36
           icon="el-icon-circle-plus-outline"
51
           icon="el-icon-circle-plus-outline"
37
           style="float:left"
52
           style="float:left"
38
           @click="toTestTwo">创建个人印章</el-button> -->
53
           @click="toTestTwo">创建个人印章</el-button> -->
54
+
55
+           <!-- <el-button
56
+          type="primary"
57
+          size="small"
58
+          icon="el-icon-circle-plus-outline"
59
+          style="float:left"
60
+          @click="toTestThree">创建合同</el-button> -->
61
+
62
+          <!-- <el-button
63
+          type="primary"
64
+          size="small"
65
+          icon="el-icon-circle-plus-outline"
66
+          style="float:left"
67
+          @click="toTestSeven">添加合同签署人</el-button> -->
39
           
68
           
40
      </div>
69
      </div>
41
     
70
     
191
 </template>
220
 </template>
192
 
221
 
193
 <script>
222
 <script>
194
-import { adminMainView, getAdmins, setAdminStatus,toSign,toTestOne,toTestTwo } from "@/api/role/admin";
223
+import { adminMainView, getAdmins, setAdminStatus,toSign,toTestOne,toTestTwo,toTestThree,toTestFour,toTestFive } from "@/api/role/admin";
195
 import { getRoles } from "@/api/role/role";
224
 import { getRoles } from "@/api/role/role";
196
 
225
 
197
 import { parseTime } from "@/utils";
226
 import { parseTime } from "@/utils";
504
           console.log("sign",sign)
533
           console.log("sign",sign)
505
         }
534
         }
506
       })
535
       })
536
+    },
537
+    toTestThree(){
538
+      toTestThree().then(response=>{
539
+        if(response.data.state ==1){
540
+          var sign = response.data.data.sign
541
+          console.log("sign",sign)
542
+        }
543
+      })
544
+    },
545
+    toTestFour(){
546
+      toTestFour().then(response=>{
547
+        if(response.data.state==1){
548
+          var sign =  response.data.data.sign
549
+          console.log("sign",sign)
550
+        }
551
+      })
552
+    },
553
+    toTestFive(){
554
+      toTestFive().then(response=>{
555
+        if(response.data.state==1){
556
+          var sign =  response.data.data.sign
557
+          console.log("sign",sign)
558
+        }
559
+      })
560
+    },
561
+    toTestSeven(){
562
+      toTestSeven().then(response=>{
563
+        if(response.data.state ==1){
564
+          var sign =  response.data.data.sign
565
+          console.log("sign",sign)
566
+        }
567
+      })
507
     }
568
     }
508
   },
569
   },
509
   watch: {
570
   watch: {

+ 5 - 0
src/xt_pages/user/components/PatientForm.vue View File

1504
          this.form.past_history = "既往否认冠心病、糖尿病等慢性疾病;否认肝炎、结核、艾滋、梅毒等传染病史;否认药物、食物过敏史;无重大手术、外伤史。"
1504
          this.form.past_history = "既往否认冠心病、糖尿病等慢性疾病;否认肝炎、结核、艾滋、梅毒等传染病史;否认药物、食物过敏史;无重大手术、外伤史。"
1505
          this.form.present_history = "患者于30年前体检查尿蛋白+,行肾穿刺活检,病理结果示:IgA肾病,此后于香港当地医院规范治疗,定时复查,至2021年12月复查发现血肌酐渐升高,300+umol/L,血压高于正常,开始为肾透析行右前臂自体动静脉内瘘成形术,1年前导入透析治疗,每周2次,每次5小时,规律维持至今。平素无胸闷、心慌,无咳嗽、咳痰,无恶心、呕吐,饮食、睡眠可,尿量约1000ml/日。本次检查感染四项阴性,血红蛋白103g/L,PTH 28.2pmol/L, Ca 2.17mmol/L ,P 1.57mmol/L。"
1505
          this.form.present_history = "患者于30年前体检查尿蛋白+,行肾穿刺活检,病理结果示:IgA肾病,此后于香港当地医院规范治疗,定时复查,至2021年12月复查发现血肌酐渐升高,300+umol/L,血压高于正常,开始为肾透析行右前臂自体动静脉内瘘成形术,1年前导入透析治疗,每周2次,每次5小时,规律维持至今。平素无胸闷、心慌,无咳嗽、咳痰,无恶心、呕吐,饮食、睡眠可,尿量约1000ml/日。本次检查感染四项阴性,血红蛋白103g/L,PTH 28.2pmol/L, Ca 2.17mmol/L ,P 1.57mmol/L。"
1506
          this.form.remark = "神志清,精神可,体型肥胖,面色黝黑,颜面、眼睑无浮肿,皮肤未见出血点、瘀斑;胸廓对称,心前区无隆起,心界向左扩大,心音有力,节律规整,未闻及明显杂音,双肺呼吸音粗;腹部呈脂肪堆积,腹软,无包块、无皮疹、无静脉曲张、无压痛;脊柱、四肢未见畸形,关节活动正常,肌力正常;双下肢无明显水肿;右前臂自体动静脉内瘘能触及震颤、闻及连续杂音。"
1506
          this.form.remark = "神志清,精神可,体型肥胖,面色黝黑,颜面、眼睑无浮肿,皮肤未见出血点、瘀斑;胸廓对称,心前区无隆起,心界向左扩大,心音有力,节律规整,未闻及明显杂音,双肺呼吸音粗;腹部呈脂肪堆积,腹软,无包块、无皮疹、无静脉曲张、无压痛;脊柱、四肢未见畸形,关节活动正常,肌力正常;双下肢无明显水肿;右前臂自体动静脉内瘘能触及震颤、闻及连续杂音。"
1507
+         this.form.temperature = 36.5
1508
+         this.form.pulse=75
1509
+         this.form.respiratory = 20
1510
+         this.form.sbp=150
1511
+         this.form.dbp = 80
1507
       }
1512
       }
1508
     }
1513
     }
1509
 
1514
 

+ 28 - 7
src/xt_pages/user/inspection.vue View File

119
             }"
119
             }"
120
               :row-style="{ color: '#303133' }"
120
               :row-style="{ color: '#303133' }"
121
               :data="items"
121
               :data="items"
122
-              border
122
+              border=""
123
               style="width: 100%"
123
               style="width: 100%"
124
               id="user-inspection-order"
124
               id="user-inspection-order"
125
 
125
 
131
                 min-width="180"
131
                 min-width="180"
132
               >
132
               >
133
                 <template slot-scope="scope">
133
                 <template slot-scope="scope">
134
-                  {{ scope.row.item_name }} {{ scope.row.item_name_addition }}
134
+                 <span v-if="scope.row.item_name!=''"> {{ scope.row.item_name }} {{ scope.row.item_name_addition }}</span> 
135
                 </template>
135
                 </template>
136
               </el-table-column>
136
               </el-table-column>
137
 
137
 
1220
       this.$refs[formName].resetFields()
1220
       this.$refs[formName].resetFields()
1221
     },
1221
     },
1222
     handleCurrentChange(row) {
1222
     handleCurrentChange(row) {
1223
+      console.log("row-2-23-23-",row)
1223
       this.itemDate = ''
1224
       this.itemDate = ''
1224
       this.form.method = 'add'
1225
       this.form.method = 'add'
1225
       if (typeof row === 'undefined' || row == null) {
1226
       if (typeof row === 'undefined' || row == null) {
1236
         this.queryParams.project_id = this.project.project_id
1237
         this.queryParams.project_id = this.project.project_id
1237
         this.queryParams.page = 1
1238
         this.queryParams.page = 1
1238
         this.total = 0
1239
         this.total = 0
1240
+        console.log("wowowowowow")
1239
         this.fetchPatientInspections(this.queryParams)
1241
         this.fetchPatientInspections(this.queryParams)
1240
       }
1242
       }
1241
     },
1243
     },
1278
             }
1280
             }
1279
 
1281
 
1280
             this.inspections = response.data.data.inspections
1282
             this.inspections = response.data.data.inspections
1283
+            console.log("this.inpections",this.inspections)
1281
             if (inspections == null) {
1284
             if (inspections == null) {
1282
               this.inspections = []
1285
               this.inspections = []
1283
               return false
1286
               return false
1285
             var inspectionsMap = {}
1288
             var inspectionsMap = {}
1286
             this.inspectionsMap = {}
1289
             this.inspectionsMap = {}
1287
             for (var index in inspections) {
1290
             for (var index in inspections) {
1291
+
1288
               inspectionsMap[inspections[index].item_id] = inspections[index]
1292
               inspectionsMap[inspections[index].item_id] = inspections[index]
1289
               this.inspectionsMap[inspections[index].item_id] = inspections[index]
1293
               this.inspectionsMap[inspections[index].item_id] = inspections[index]
1290
             }
1294
             }
1291
-
1295
+            console.log("inspectionsMap",this.inspectionsMap)
1292
             var items = this.project.inspection_reference
1296
             var items = this.project.inspection_reference
1297
+            console.log("i5ems2323232wo",items)
1293
             for (var index in items) {
1298
             for (var index in items) {
1299
+             
1300
+             console.log("obj",items[index])
1301
+              // console.log("inspectionsMap",inspectionsMap[items[index].item_id])
1294
               var item = {}
1302
               var item = {}
1303
+            
1295
               for (var key in items[index]) {
1304
               for (var key in items[index]) {
1305
+                //  console.log("key",key,items[index][key])
1306
+                //  console.log("item[key]",item[key])
1296
                 item[key] = items[index][key]
1307
                 item[key] = items[index][key]
1297
               }
1308
               }
1309
+             
1298
               if (item.item_id > 0) {
1310
               if (item.item_id > 0) {
1299
-                if (inspectionsMap[items[index].item_id] == undefined) {
1300
-                  item.value = inspectionsMap[items[index].id].inspect_value
1301
-                  item.item_name = inspectionsMap[items[index].id].item_name
1311
+                 
1312
+                if (typeof(inspectionsMap[parseInt(items[index].item_id)])  == "undefined") {
1313
+                  
1314
+                  // item.value = inspectionsMap[items[index].id].inspect_value
1315
+                  // item.item_name = inspectionsMap[items[index].id].item_name
1316
+
1317
+                  item.value = ""
1318
+                  item.item_name = ""
1319
+              
1302
 
1320
 
1303
                 } else {
1321
                 } else {
1322
+                 
1304
                   item.value = inspectionsMap[items[index].item_id].inspect_value
1323
                   item.value = inspectionsMap[items[index].item_id].inspect_value
1305
                   item.item_name = inspectionsMap[items[index].item_id].item_name
1324
                   item.item_name = inspectionsMap[items[index].item_id].item_name
1306
 
1325
 
1307
                 }
1326
                 }
1308
               } else {
1327
               } else {
1328
+               
1309
                 item.value = inspectionsMap[items[index].id].inspect_value
1329
                 item.value = inspectionsMap[items[index].id].inspect_value
1310
                 item.item_name = inspectionsMap[items[index].id].item_name
1330
                 item.item_name = inspectionsMap[items[index].id].item_name
1311
 
1331
 
1323
                   item.value_direction = '↑'
1343
                   item.value_direction = '↑'
1324
                 }
1344
                 }
1325
               }
1345
               }
1346
+              console.log("items23233232",item)
1326
               this.items.push(item)
1347
               this.items.push(item)
1327
-
1348
+              console.log("items232232332wo",this.items)
1328
 
1349
 
1329
               if(item.value.indexOf("http") >= 0){
1350
               if(item.value.indexOf("http") >= 0){
1330
                 this.isPic = true
1351
                 this.isPic = true