Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 1 year ago
parent
commit
1ddf9bb062

+ 9 - 9
src/xt_pages/outpatientCharges/invoiceTemplate/printTen.vue View File

@@ -4,8 +4,8 @@
4 4
       <div style="display: flex;width: 575px;margin-bottom: 5px; position: relative;left: 506px;">
5 5
         {{printDate}}
6 6
       </div>
7
-      <div style="border: 1px solid black;width: 573px;">
8
-        <div style="display: flex; justify-content: space-between;width: 573px;border-bottom: 1px solid black; position: relative;padding: 5px;">
7
+      <div style="border: 1px solid black;width: 610px;">
8
+        <div style="display: flex; justify-content: space-between;width: 608px;border-bottom: 1px solid black; position: relative;padding: 5px;">
9 9
           <div >
10 10
             <span>姓名:{{paramsObj.name}}</span>
11 11
             <span style="margin-left: 60px;">性别:</span>
@@ -16,7 +16,7 @@
16 16
             <span style="margin-right: 60px;">NO:</span>
17 17
           </div>
18 18
         </div>
19
-        <div style="display: flex;justify-content: space-around;width: 573px;  padding: 5px;border-bottom: 1px solid black;">
19
+        <div style="display: flex;justify-content: space-around;width: 608px;  padding: 5px;border-bottom: 1px solid black;">
20 20
           <div>项目</div>
21 21
           <div>金额</div>
22 22
           <div>项目</div>
@@ -24,7 +24,7 @@
24 24
           <div>项目</div>
25 25
           <div>金额</div>
26 26
         </div>
27
-        <div style=" width: 573px;min-height: 220px;">
27
+        <div style=" width: 608px;min-height: 200px;">
28 28
           <div style="display:flex;justify-content: space-around;">
29 29
             
30 30
             <div style="">西药费</div>
@@ -61,7 +61,7 @@
61 61
             <div style="position:  relative;left: -169px;">{{ list.materialCostTotal ? list.materialCostTotal.toFixed(2) : '' }}</div>
62 62
           </div>
63 63
         </div>
64
-        <div style="border-top:1px solid black;width: 573px;">
64
+        <div style="border-top:1px solid black;width: 608px;">
65 65
           
66 66
           <div style="border-right: 1px solid black;display: inline-block;width: 360px;padding: 5px;">
67 67
             <span>合计(大写):</span>
@@ -109,9 +109,9 @@
109 109
           <span style="position: relative;top:0px;left:0px">¥:{{totalPrice.toFixed(2)}}</span>
110 110
         </div>
111 111
       </div>
112
-      <div style="width: 20px;font-size: 13px;position: absolute;top: 120px;left: -15px;">报销联加盖医院收费章有效</div>
113
-      <div style="width: 20px;font-size: 13px;position: absolute;top: 100px;left: 575px;">白 &nbsp; 存根 &nbsp; 红 &nbsp; 收据 &nbsp; 黄 &nbsp; 记账</div>
114
-      <div style="border-bottom: 1px solid black;width:573px;font-Size:12px">
112
+      <div style="width: 20px;font-size: 13px;position: absolute;top: 100px;left: -15px;">报销联加盖医院收费章有效</div>
113
+      <div style="width: 20px;font-size: 13px;position: absolute;top: 100px;left: 611px;">白 &nbsp; 存根 &nbsp; 红 &nbsp; 收据 &nbsp; 黄 &nbsp; 记账</div>
114
+      <div style="border-bottom: 1px solid black;width:608px;font-Size:12px">
115 115
         <div  style="display:flex;margin: 3px 0px;">
116 116
           <div style="width:140px">医保:门慢统筹:{{list.order.hifp_pay}}</div>
117 117
           <div style="width:140px">大病保险:{{list.order.hifmi_pay}}</div>
@@ -124,7 +124,7 @@
124 124
           <div style="width:140px">个账余额:{{list.order.balc}}</div>
125 125
         </div>
126 126
       </div>
127
-      <div style="width:573px;font-Size:12px">
127
+      <div style="width:608px;font-Size:12px">
128 128
         <div style="display:flex;margin: 3px 0px;">
129 129
           <div style="width:140px">现金支付:{{list.order.psn_cash_pay}}</div>
130 130
           <div style="width:140px">预存扣减:</div>

+ 13 - 6
src/xt_pages/outpatientCharges/statementPrint.vue View File

@@ -23,7 +23,7 @@
23 23
           org_id == 10138 ||
24 24
           org_id == 9504 ||
25 25
           org_id == 10028 ||
26
-          org_id == 10278 || org_id == 0
26
+          org_id == 10278
27 27
         "
28 28
       >
29 29
         <printTwo :info="info" v-if="org_id == 9990"></printTwo>
@@ -58,18 +58,23 @@
58 58
       </printSeven>
59 59
       <print10191 :info="info" v-if="org_id == 10191"></print10191>
60 60
       <printTen :info="info" v-if="org_id == 10210"></printTen>
61
+      <printEleven v-if="org_id == 10485 || org_id == 0"></printEleven>
61 62
       <printOne :info="info" v-if=" org_id != 9990 &&
62 63
             org_id != 10138 &&
63 64
             org_id != 9504 &&
64 65
             org_id != 10028 &&
65 66
             org_id != 0 &&
66
-            org_id != 10278 && org_id != 10387 && org_id != 10191 &&org_id != 10210 && this.paramsObj.balance_accounts_type == 1"></printOne>
67
+            org_id != 10278 && org_id != 10387 && org_id != 10191 &&org_id != 10210 &&org_id != 10485 && this.paramsObj.balance_accounts_type == 1">
68
+      </printOne>
67 69
 
68 70
       <privateChargePrint  :info="info" v-if="org_id != 9990 &&
69 71
             org_id != 10138 &&
70 72
             org_id != 9504 &&
71 73
             org_id != 10028 &&
72
-            org_id != 10278 && org_id != 10387 && org_id != 10191 &&org_id != 10210 && this.paramsObj.balance_accounts_type == 2"></privateChargePrint>
74
+            org_id != 10278 && org_id != 10387 && org_id != 10191 &&org_id != 10210 &&org_id != 10485 &&org_id != 0 && this.paramsObj.balance_accounts_type == 2">
75
+      </privateChargePrint>
76
+
77
+
73 78
     </div>
74 79
   </div>
75 80
 </template>
@@ -91,6 +96,7 @@
91 96
   import printSeven from "./statementTemplate/printSeven";
92 97
   import Print10191 from "./statementTemplate/print10191";
93 98
   import printTen from "./statementTemplate/printTen";
99
+  import printEleven from "./statementTemplate/printeEleven"
94 100
   export default {
95 101
     name: "dialysisPrintOrder",
96 102
     components: {
@@ -104,7 +110,8 @@
104 110
       printFour,
105 111
       testVue,
106 112
       printFive,
107
-      printTen
113
+      printTen,
114
+      printEleven
108 115
     },
109 116
     props: {
110 117
       paramsObj: Object,
@@ -337,7 +344,6 @@
337 344
             this.patientTableData = response.data.data.list;
338 345
             this.patientTableDataTwo = response.data.data.list;
339 346
 
340
-            console.log("222", this.patientTableData);
341 347
             let cal_one = 0;
342 348
             let cal_two = 0;
343 349
             for (let i = 0; i < response.data.data.list.length; i++) {
@@ -527,7 +533,8 @@
527 533
                   console.log(111, this.balanceAccounts);
528 534
                 }
529 535
               });
530
-            } else {
536
+            } else
537
+            {
531 538
               getPrivateExpensesOrder(params).then((response) => {
532 539
                 if (response.data.state == 0) {
533 540
                   // this.$message.error(response.data.msg)

+ 288 - 0
src/xt_pages/outpatientCharges/statementTemplate/printeEleven.vue View File

@@ -0,0 +1,288 @@
1
+<template>
2
+  <div id="statement-print" class="statement-print">
3
+    <div class="statementTitle">费用明细算单</div>
4
+    <div class="statementTable">
5
+      <table border="1" style="border-collapse: collapse;width: 100%;border: none;">
6
+        <tr>
7
+<<<<<<< HEAD
8
+          <td colspan="4">医院机构名称:</td>
9
+          <td colspan="4">发票号:</td>
10
+        </tr>
11
+        <tr style="border-bottom: 1px solid black;">
12
+          <td colspan="4" >单据编码:</td>
13
+          <td colspan="2" >就诊时间:</td>
14
+          <td colspan="2" >金额单位:元</td>
15
+        </tr>
16
+        <tr>
17
+          <td colspan="4">姓名:</td>
18
+          <td colspan="4">身份证号:</td>
19
+        </tr>
20
+        <tr>
21
+          <td colspan="8">诊断:</td>
22
+        </tr>
23
+        <tr style="border-bottom: 1px solid black;">
24
+          <td colspan="4">人员类别:</td>
25
+          <td colspan="4">险种类型:</td>
26
+=======
27
+          <td colspan="4">医院机构名称:{{info.fixmedins_name}}</td>
28
+          <td colspan="4">发票号:</td>
29
+        </tr>
30
+        <tr style="border-bottom: 1px solid black;">
31
+          <td colspan="4" >单据编码:{{info.number}}</td>
32
+          <td colspan="2" >就诊时间:{{info.setl_time}}</td>
33
+          <td colspan="2" >金额单位:{{info.medfee_sumamt}}元</td>
34
+        </tr>
35
+        <tr>
36
+          <td colspan="4">姓名:{{info.patient.name}}</td>
37
+          <td colspan="4">身份证号:{{info.patient.id_card_no}}</td>
38
+        </tr>
39
+        <tr>
40
+          <td colspan="8">诊断:{{info.diagnosis}}</td>
41
+        </tr>
42
+        <tr style="border-bottom: 1px solid black;">
43
+          <td colspan="4" v-if="info.psn_type == '11'">人员类别:在职</td>
44
+          <td colspan="4"  v-else-if="info.psn_type == '1101'">人员类别:职工在职</td>
45
+          <td colspan="4" v-else-if="info.psn_type == '1102'">人员类别:公务员在职</td>
46
+          <td colspan="4" v-else-if="info.psn_type == '1103'">人员类别:灵活就业人员在职</td>
47
+          <td colspan="4" v-else-if="info.psn_type == '1160'">人员类别:地方其他扩展人员</td>
48
+          <td colspan="4" v-else-if="info.psn_type == '12'">人员类别:退休人员</td>
49
+          <td colspan="4" v-else-if="info.psn_type == '1201'">人员类别:职工退休</td>
50
+          <td colspan="4" v-else-if="info.psn_type == '1202'">人员类别:公务员退休</td>
51
+          <td colspan="4" v-else-if="info.psn_type == '1203'">人员类别:灵活就业人员退休</td>
52
+          <td colspan="4" v-else-if="info.psn_type == '1260'">人员类别:地方其他扩展人员</td>
53
+          <td colspan="4" v-else-if="info.psn_type == '13'">人员类别:离休</td>
54
+          <td colspan="4" v-else-if="info.psn_type == '1300'">人员类别:离休人员</td>
55
+          <td colspan="4" v-else-if="info.psn_type == '1360'">人员类别:地方其他扩展人员</td>
56
+          <td colspan="4" v-else-if="info.psn_type == '14'">人员类别:居民(未成年)</td>
57
+          <td colspan="4" v-else-if="info.psn_type == '1401'">人员类别:新生儿</td>
58
+          <td colspan="4" v-else-if="info.psn_type == '1402'">人员类别:学龄前儿童</td>
59
+          <td colspan="4" v-else-if="info.psn_type == '1403'">人员类别:中小学生</td>
60
+          <td colspan="4" v-else-if="info.psn_type == '1404'">人员类别:大学生</td>
61
+          <td colspan="4" v-else-if="info.psn_type == '1405'">人员类别:未成年(未入学)</td>
62
+          <td colspan="4" v-else-if="info.psn_type == '15'">人员类别:居民(成年)</td>
63
+          <td colspan="4" v-else-if="info.psn_type == '1501'">人员类别:普通居民(成年)</td>
64
+          <td colspan="4" v-else-if="info.psn_type == '1560'">人员类别:地方其他扩展身份</td>
65
+          <td colspan="4" v-else-if="info.psn_type == '16'">人员类别:居民(老年)</td>
66
+          <td colspan="4" v-else></td>
67
+          <td colspan="4" v-if="info.insutype == '310'">险种类型:职工基本医疗保险</td>
68
+          <td colspan="4" v-if="info.insutype == '320'">险种类型:公务员医疗补助</td>
69
+          <td colspan="4" v-if="info.insutype == '330'">险种类型:大额医疗费用补助</td>
70
+          <td colspan="4" v-if="info.insutype == '340'">险种类型:离休人员医疗保障</td>
71
+          <td colspan="4" v-if="info.insutype == '390'">险种类型:城乡居民基本医疗保险</td>
72
+          <td colspan="4" v-if="info.insutype == '392'">险种类型:城乡居民大病医疗保险</td>
73
+          <td colspan="4" v-if="info.insutype == '510'">险种类型:生育保险</td>
74
+          <td colspan="4" v-else></td>
75
+
76
+
77
+>>>>>>> origin/20230223_pc_vue_new_branch
78
+        </tr>
79
+        <tr style="border-bottom: 1px solid black;text-align: center;">
80
+          <td width="12.5%">项目</td>
81
+          <td width="12.5%">金额</td>
82
+          <td width="12.5%">项目</td>
83
+          <td width="12.5%">金额</td>
84
+          <td width="12.5%">项目</td>
85
+          <td width="12.5%">金额</td>
86
+          <td width="12.5%">项目</td>
87
+          <td width="12.5%">金额</td>
88
+        </tr>
89
+        <tr style="text-align: center;">
90
+          <td>西药费</td>
91
+<<<<<<< HEAD
92
+          <td>金额</td>
93
+          <td>化验费</td>
94
+          <td>金额</td>
95
+          <td>治疗费</td>
96
+          <td>金额</td>
97
+          <td>处置费</td>
98
+          <td>金额</td>
99
+        </tr>
100
+        <tr style="text-align: center;">
101
+          <td>中成药</td>
102
+          <td>金额</td>
103
+          <td>诊疗费</td>
104
+          <td>金额</td>
105
+          <td>材料费</td>
106
+          <td>金额</td>
107
+          <td>护理费</td>
108
+          <td>金额</td>
109
+        </tr>
110
+        <tr style="text-align: center;">
111
+          <td>注射费</td>
112
+          <td>金额</td>
113
+          <td>检查费</td>
114
+          <td>金额</td>
115
+          <td>输氧费</td>
116
+          <td>金额</td>
117
+          <td>其他</td>
118
+          <td>金额</td>
119
+        </tr>
120
+        <tr style="border-bottom: 1px solid black; font: 16px bolder;">
121
+          <td colspan="8">合计:</td>
122
+        </tr>
123
+        <tr>
124
+          <td colspan="8">医保基金支付金额:</td>
125
+        </tr>
126
+        <tr style="border-bottom: 1px solid black;">
127
+          <td colspan="8">个人现金支付金额:</td>
128
+        </tr>
129
+        <tr>
130
+          <td colspan="2">家属或参保人签名:</td>
131
+          <td colspan="2">收费员签名:</td>
132
+          <td colspan="2">医院盖章:</td>
133
+=======
134
+          <td>{{info.western_medicine_cost_total}}</td>
135
+          <td>化验费</td>
136
+          <td>{{info.laboratory_cost_total}}</td>
137
+          <td>治疗费</td>
138
+          <td>{{info.treat_cost_total}}</td>
139
+          <td>处置费</td>
140
+          <td></td>
141
+        </tr>
142
+        <tr style="text-align: center;">
143
+          <td>中成药</td>
144
+          <td>{{info.chinese_traditional_medicine_cost_total}}</td>
145
+          <td>诊疗费</td>
146
+          <td></td>
147
+          <td>材料费</td>
148
+          <td>{{info.material_cost_total}}</td>
149
+          <td>护理费</td>
150
+          <td></td>
151
+        </tr>
152
+        <tr style="text-align: center;">
153
+          <td>注射费</td>
154
+          <td></td>
155
+          <td>检查费</td>
156
+          <td>{{info.check_cost_total}}</td>
157
+          <td>输氧费</td>
158
+          <td></td>
159
+          <td>其他</td>
160
+          <td>{{info.other_cost_total}}</td>
161
+        </tr>
162
+        <tr style="border-bottom: 1px solid black; font: 16px bolder;">
163
+          <td colspan="8">合计:{{info.medfee_sumamt}}</td>
164
+        </tr>
165
+        <tr>
166
+          <td colspan="8">医保基金支付金额:{{info.fund_pay_sumamt}}</td>
167
+        </tr>
168
+        <tr style="border-bottom: 1px solid black;">
169
+          <td colspan="8">个人现金支付金额:{{info.psn_cash_pay}}</td>
170
+        </tr>
171
+        <tr>
172
+          <td colspan="2" >家属或参保人签名:</td>
173
+          <td colspan="2" >收费员签名:</td>
174
+          <td colspan="2" >医院盖章:</td>
175
+>>>>>>> origin/20230223_pc_vue_new_branch
176
+        </tr>
177
+        <tr>
178
+          <td colspan="8">医师签名:</td>
179
+        </tr>
180
+      </table>
181
+    </div>
182
+  </div>
183
+</template>
184
+<<<<<<< HEAD
185
+=======
186
+<script>
187
+import { uParseTime } from '@/utils/tools'
188
+
189
+export default {
190
+  data() {
191
+    return {
192
+      list: {},
193
+      prescription: [],
194
+      patient: {},
195
+      orgname: '',
196
+
197
+      result: {},
198
+      org_code: '',
199
+      patient_name: '',
200
+      doctor_code: '',
201
+      doctor_name: '',
202
+
203
+      name_arr: [],
204
+      spec_arr: [],
205
+      count_arr: [],
206
+      price_arr: [],
207
+      total_arr: []
208
+
209
+    }
210
+  },
211
+  props: {
212
+    paramsObj: Object,
213
+    info: {
214
+      type: Object,
215
+      default: function() {
216
+        return {}
217
+      }
218
+    },
219
+    balanceAccounts: Object
220
+  },
221
+  methods: {
222
+    getDay(dateString1,dateString2){
223
+      var  startDate = Date.parse(dateString1);
224
+      var  endDate = Date.parse(dateString2);
225
+      if (startDate>endDate){
226
+        return 0;
227
+      }
228
+      if (startDate==endDate){
229
+        return 1;
230
+      }
231
+      var days=(endDate - startDate)/(1*24*60*60*1000);
232
+      return  days;
233
+    },
234
+    getTime(value, temp) {
235
+      if (value != undefined) {
236
+        return uParseTime(value, temp)
237
+      }
238
+      return ''
239
+    }
240
+  },
241
+  mounted() {
242
+
243
+
244
+  },
245
+  watch: {
246
+    paramsObj: {//深度监听,可监听到对象、数组的变化
247
+      handler(val, oldVal) {
248
+
249
+
250
+      },
251
+      deep: true
252
+    }
253
+  }
254
+}
255
+</script>
256
+>>>>>>> origin/20230223_pc_vue_new_branch
257
+
258
+<style lang="scss" scoped>
259
+.statement-print {
260
+  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
261
+  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
262
+  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
263
+  margin-bottom: 20px;
264
+  padding: 20px 10px;
265
+}
266
+.statementTitle {
267
+  font-size: 28px;
268
+  text-align: center;
269
+  font-weight: bold;
270
+  margin-bottom: 10px;
271
+}
272
+.statementTable {
273
+  width: 100%;
274
+  font-size: 14px;
275
+  word-wrap: break-word;
276
+  word-break: break-all;
277
+  table tr td{
278
+    padding: 5px;
279
+    line-height: 30px;
280
+    border: none;
281
+  }
282
+}
283
+
284
+<<<<<<< HEAD
285
+</style>
286
+=======
287
+</style>
288
+>>>>>>> origin/20230223_pc_vue_new_branch

+ 14 - 14
src/xt_pages/user/inspection.vue View File

@@ -131,7 +131,7 @@
131 131
                 min-width="180"
132 132
               >
133 133
                 <template slot-scope="scope">
134
-                 <span v-if="scope.row.item_name!=''"> {{ scope.row.item_name }} {{ scope.row.item_name_addition }}</span> 
134
+                 <span v-if="scope.row.item_name!=''"> {{ scope.row.item_name }} {{ scope.row.item_name_addition }}</span>
135 135
                 </template>
136 136
               </el-table-column>
137 137
 
@@ -192,7 +192,7 @@
192 192
                 <el-col :span="7" :key="index">
193 193
                   <div style=" margin: 5px;">
194 194
                     <el-row :gutter="20">
195
-                      <el-col :span="8" style="width: 100%;height: 150px;">
195
+                      <el-col :span="8" style="width: 100%;">
196 196
                         <div style="width: 100%;height: 150px;" >
197 197
                           <div @click="imgClicks(item.value)">
198 198
                             <el-tooltip
@@ -448,7 +448,7 @@
448 448
       <div slot="footer" class="dialog-footer">
449 449
         <el-upload
450 450
           :data="uploadData"
451
-          :multiple="false"
451
+          :multiple="true"
452 452
           action="https://upload.qiniup.com"
453 453
           :show-file-list="false"
454 454
           :on-error="handleAvatarError"
@@ -816,12 +816,12 @@ export default {
816 816
       this.dialogRemindFormVisible = true
817 817
       // this.temp_remind_cycle = this.
818 818
 
819
-    },openPic() {
819
+    },
820
+    openPic() {
820 821
       if (this.project == null) {
821 822
         this.$message.error('请先选择项目')
822 823
         return false
823 824
       }
824
-
825 825
       this.form.pic_method = 'add'
826 826
       this.formTitle = '新增' + this.project.project_name
827 827
       this.form.project_id = this.project.project_id
@@ -1296,22 +1296,22 @@ export default {
1296 1296
             var items = this.project.inspection_reference
1297 1297
             console.log("i5ems2323232wo",items)
1298 1298
             for (var index in items) {
1299
-             
1299
+
1300 1300
              console.log("obj",items[index])
1301 1301
               // console.log("inspectionsMap",inspectionsMap[items[index].item_id])
1302 1302
               var item = {}
1303
-            
1303
+
1304 1304
               for (var key in items[index]) {
1305 1305
                 //  console.log("key",key,items[index][key])
1306 1306
                 //  console.log("item[key]",item[key])
1307 1307
                 item[key] = items[index][key]
1308 1308
               }
1309
-             
1309
+
1310 1310
               if (item.item_id > 0) {
1311
-                 
1311
+
1312 1312
                 if (typeof(inspectionsMap[parseInt(items[index].item_id)])  == "undefined") {
1313
-                  
1314
-                 
1313
+
1314
+
1315 1315
 
1316 1316
                   if(this.org_id == 10121 || this.org_id == 0 ){
1317 1317
                     item.value = inspectionsMap[items[index].id].inspect_value
@@ -1322,13 +1322,13 @@ export default {
1322 1322
                   }
1323 1323
 
1324 1324
                 } else {
1325
-                 
1325
+
1326 1326
                   item.value = inspectionsMap[items[index].item_id].inspect_value
1327 1327
                   item.item_name = inspectionsMap[items[index].item_id].item_name
1328 1328
 
1329 1329
                 }
1330 1330
               } else {
1331
-               
1331
+
1332 1332
                 item.value = inspectionsMap[items[index].id].inspect_value
1333 1333
                 item.item_name = inspectionsMap[items[index].id].item_name
1334 1334
 
@@ -1350,7 +1350,7 @@ export default {
1350 1350
               if(item.item_name!=""){
1351 1351
                 this.items.push(item)
1352 1352
               }
1353
-            
1353
+
1354 1354
               console.log("items232232332wo",this.items)
1355 1355
 
1356 1356
               if(item.value.indexOf("http") >= 0){

+ 34 - 6
src/xt_pages/user/inspectionCheck.vue View File

@@ -117,9 +117,23 @@
117 117
             <el-row>
118 118
               <template v-for="(item, index) in items">
119 119
                 <el-col :span="7" :key="index">
120
-                  <div style="width: 400px">
120
+                  <div style="margin: 5px;">
121 121
                     <el-row>
122
-                      <img  :src="item.value" alt="">
122
+                      <el-col :span="8" style="width: 100%;">
123
+                        <div style="width: 100%;height: 150px;" >
124
+                          <div @click="imgClicks(item.value)">
125
+                            <el-tooltip
126
+                              class="item"
127
+                              effect="dark"
128
+                              :hide-after="2000"
129
+                              content="点击查看大图"
130
+                              placement="top-start"
131
+                              >
132
+                                <img style="width: 300px;height: 150px;" :src="item.value" alt="">
133
+                              </el-tooltip>
134
+                          </div>
135
+                        </div>
136
+                      </el-col>
123 137
                     </el-row>
124 138
                     <el-row>
125 139
                       <div style="word-break: break-all;word-wrap: break-word">{{item.item_name}}</div>
@@ -266,7 +280,7 @@
266 280
       <div slot="footer" class="dialog-footer">
267 281
         <el-upload
268 282
           :data="uploadData"
269
-          :multiple="false"
283
+          :multiple="true"
270 284
           action="https://upload.qiniup.com"
271 285
           :show-file-list="false"
272 286
           :on-error="handleAvatarError"
@@ -322,15 +336,19 @@
322 336
         >
323 337
       </div>
324 338
     </el-dialog>
325
-
339
+    <el-image-viewer
340
+        v-if="showViewer"
341
+        :on-close="closeViewer"
342
+        :url-list="imgs"
343
+      ></el-image-viewer>
326 344
   </div>
327 345
 
328 346
 </template>
329 347
 
330 348
 <script>
331 349
 import PatientSidebar from './components/PatientSidebar'
350
+import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
332 351
 import { getToken } from '@/api/qiniu'
333
-
334 352
 import {
335 353
   CreatePatientInspection,
336 354
   CreatePatientPICInspection,
@@ -345,7 +363,7 @@ import { getFileExtension, uParseTime } from '@/utils/tools'
345 363
 
346 364
 export default {
347 365
   name: 'Inspection',
348
-  components: { PatientSidebar },
366
+  components: { PatientSidebar,ElImageViewer },
349 367
   data() {
350 368
     return {
351 369
       temp_remind_cycle:"",
@@ -353,6 +371,7 @@ export default {
353 371
       check_content:"",
354 372
       qiniuDomain: 'https://images.shengws.com/',
355 373
       isPic:false,
374
+      showViewer:false,
356 375
       uploadData: { token: '', key: '' },
357 376
       pageLoading: true,
358 377
       itemLoading: false,
@@ -395,6 +414,15 @@ export default {
395 414
     }
396 415
   },
397 416
   methods: {
417
+    imgClicks(val){
418
+      console.log('asdasgg',val);
419
+      this.imgs = []
420
+      this.imgs.push(val)
421
+      this.showViewer = true
422
+    },
423
+    closeViewer(){
424
+      this.showViewer = false
425
+    },
398 426
     beforeAvatarUpload(file) {
399 427
       // const isJPG = file.type === "image/jpeg";
400 428
       var fileType = file.type