Преглед изворни кода

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

XMLWAN пре 3 година
родитељ
комит
389a6917c5

+ 12 - 2
src/xt_pages/hospitalStation/chargeDetailManagement.vue Прегледај датотеку

@@ -907,9 +907,19 @@ export default {
907 907
           switch (this.radio) {
908 908
             case 1:
909 909
               this.patientTableData = response.data.data.list
910
-              this.$refs.tab.setCurrentRow(this.patientTableData[0])
911
-              this.getPatientInformation(this.patientTableData[0].patient_id, this.patientTableData[0].id)
910
+              if (this.hisPatientInfo.id > 0){
911
+                for (let i = 0; i < this.patientTableData.length; i++) {
912
+                  if (this.hisPatientInfo.patient_id == this.patientTableData[i].patient_id) {
913
+                    this.current_index = i
914
+                    this.$refs.tab.setCurrentRow(this.patientTableData[i])
915
+                    this.getPatientInformation(this.patientTableData[0].patient_id, this.patientTableData[0].id)
912 916
 
917
+                  }
918
+                }
919
+              }else{
920
+                this.$refs.tab.setCurrentRow(this.patientTableData[0])
921
+                this.getPatientInformation(this.patientTableData[0].patient_id, this.patientTableData[0].id)
922
+              }
913 923
               break
914 924
             case 2:
915 925
               this.patientTableData = response.data.data.list_two

+ 186 - 186
src/xt_pages/hospitalStation/outpatientChargesManagement.vue Прегледај датотеку

@@ -106,12 +106,12 @@
106 106
 <!--            </el-button>-->
107 107
 
108 108
 
109
-            <el-button v-loading="loadingtwo"
110
-                       v-if="(( this.activeName != 'third' &&this.hisPatientInfo.balance_accounts_type != 2 && this.hisPatientInfo.id > 0 && this.hisPatientInfo.in_hospital_status == 1 && this.hisPatientInfo.out_hospital_status == 0 && this.order.id == 0))"
111
-                       size="small"
112
-                       @click="open(8)"
113
-                       type="primary">上传费用明细
114
-            </el-button>
109
+<!--            <el-button v-loading="loadingtwo"-->
110
+<!--                       v-if="(( this.activeName != 'third' &&this.hisPatientInfo.balance_accounts_type != 2 && this.hisPatientInfo.id > 0 && this.hisPatientInfo.in_hospital_status == 1 && this.hisPatientInfo.out_hospital_status == 0 && this.order.id == 0))"-->
111
+<!--                       size="small"-->
112
+<!--                       @click="open(8)"-->
113
+<!--                       type="primary">上传费用明细-->
114
+<!--            </el-button>-->
115 115
 
116 116
             <!--<el-button size="small" @click="open(1)" type="primary">打印</el-button>-->
117 117
             <el-button v-loading="loadingone" size="small"
@@ -152,12 +152,12 @@
152 152
             >结算单
153 153
             </el-button>
154 154
 
155
-            <el-button
156
-                v-if="( this.activeName != 'third' && this.hisPatientInfo.balance_accounts_type != 2  && this.hisPatientInfo.id > 0 && this.hisPatientInfo.in_hospital_status == 1 && this.hisPatientInfo.out_hospital_status == 0)"
155
+<!--            <el-button-->
156
+<!--                v-if="( this.activeName != 'third' && this.hisPatientInfo.balance_accounts_type != 2  && this.hisPatientInfo.id > 0 && this.hisPatientInfo.in_hospital_status == 1 && this.hisPatientInfo.out_hospital_status == 0)"-->
157 157
 
158
-                size="small" @click="open(9)" type="primary"
159
-            >撤销明细
160
-            </el-button>
158
+<!--                size="small" @click="open(9)" type="primary"-->
159
+<!--            >撤销明细-->
160
+<!--            </el-button>-->
161 161
 
162 162
             <!--                        <el-button-->
163 163
             <!--                                v-if="(this.activeName != 'third' && this.hisPatientInfo.balance_accounts_type != 2  && this.hisPatientInfo.id > 0 && this.hisPatientInfo.in_hospital_status == 1 && this.hisPatientInfo.out_hospital_status == 0)"-->
@@ -189,180 +189,180 @@
189 189
 
190 190
         <div class="mainCenter" v-loading="loading">
191 191
           <el-tabs class="settlementTabs" v-model="activeName" @tab-click="handleClick">
192
-            <el-tab-pane label="日结" name="first">
193
-              <div style="display:flex;height:100%;">
194
-                <div class="centerLeft">
195
-                  <div class="tabsBox">
196
-                    <!--<el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>-->
197
-                    <el-tabs class="preTabs" v-model="editableTabsValue" type="border-card"
198
-                             @tab-click="tabclickEvent">
199
-                      <el-tab-pane
200
-                          v-for="(item, index) in prescriptions"
201
-                          :key="index"
202
-                          :label="item.name"
203
-                          :name="item.name"
204
-                      >
205
-                      </el-tab-pane>
206
-
207
-                      <!--<div class="RP">-->
208
-                      <!--Rp-->
209
-                      <!--<el-date-picker-->
210
-                      <!--v-model="record_date"-->
211
-                      <!--type="date"-->
212
-                      <!--:clearable="false"-->
213
-                      <!--@change="changeDate"-->
214
-                      <!--format="yyyy-MM-dd"-->
215
-                      <!--value-format="yyyy-MM-dd"-->
216
-                      <!--placeholder="选择日期">-->
217
-                      <!--</el-date-picker>-->
218
-                      <!--</div>-->
219
-                      <!--<charge-prescription-table ref="prescription_tables"-->
220
-                      <!--:prescription="curPrescriptions"></charge-prescription-table>-->
221
-                      <!--<charge-prescription-table ref="prescription_tables" :prescription="curPrescriptions"></charge-prescription-table>-->
222
-                      <charge-prescription-table ref="prescription_tables"
223
-                                                 :manufacturers="manufacturers"
224
-                                                 :prescription="curPrescriptions"></charge-prescription-table>
225
-
226
-                    </el-tabs>
227
-
228
-                  </div>
229
-                  <div class="costBox">
230
-                    <span>当前处方总费用:<span style="color:red;">{{ total }}元</span></span>
231
-                    <span v-if="this.curPrescriptions.order_status  == 1">待结算</span>
232
-                    <span v-if="this.curPrescriptions.order_status  == 2">已结算</span>
233
-                    <span v-if="this.curPrescriptions.order_status  == 3">已退费</span>
234
-                  </div>
235
-                </div>
236
-                <div class="centerRight">
237
-                  <p class="centerRightTitle">人员信息</p>
238
-                  <div style="display:flex;justify-content: space-between;line-height:30px;">
239
-                    <span style="font-size:14px;">人员编码:{{ patientInfo.dialysis_no }}</span>
240
-                    <span style="font-size:14px;">日期:{{ record_date }}</span>
241
-                  </div>
242
-                  <ul class="basicUl">
243
-                    <li style="width:50%;">姓名:{{ patientInfo.name }}</li>
244
-                    <li style="width:50%;">性别:{{ patientInfo.gender == 1 ? '男' : '女' }}</li>
245
-                    <li style="width:50%;">年龄:{{ patientInfo.age }}</li>
246
-                    <li style="width:50%;">电话:{{ patientInfo.phone }}</li>
247
-
248
-                    <!--<span>过敏病史:</span>-->
249
-                    <!--<el-autocomplete-->
250
-                    <!--style="width:100%;"-->
251
-                    <!--class="inline-input"-->
252
-                    <!--v-model="sick_history"-->
253
-                    <!--:fetch-suggestions="querySearch2"-->
254
-                    <!--placeholder="请输入内容"-->
255
-                    <!--&gt;</el-autocomplete>-->
256
-                    <!--<li style="width:100%;">地址:{{patientInfo.home_address}}</li>-->
257
-                    <!--<li style="width:100%;">过敏史及其他病史:{{info.sick_history}}</li>-->
258
-                  </ul>
259
-                  <p class="centerRightTitle" style="padding-top: 10px;">诊断信息</p>
260
-                  <div style="display:flex;justify-content: space-between;line-height:30px;">
261
-                    <span style="font-size:14px;">住院编号:{{ hisPatientInfo.number }}</span>
262
-                  </div>
263
-                  <ul class="basicUl">
264
-                    <li style="width:50%;">医生:{{ info.doctor }}</li>
265
-                    <li style="width:50%;">科室:{{ info.departments }}</li>
266
-                    <li style="width:100%;">总费用:{{ getTotal() }}</li>
267
-
268
-                    <li style="width:100%;">判断结果:{{ info.diagnosis }}</li>
269
-                    <li style="width:100%;">是否有传染病:</li>
270
-                    <li style="width:100%;">血压:</li>
271
-                  </ul>
272
-                </div>
273
-              </div>
274
-            </el-tab-pane>
275
-            <el-tab-pane label="月结" name="second">
276
-              <div style="display:flex;height:100%;">
277
-                <div class="centerLeft">
278
-                  <div class="tabsBox">
279
-                    <!-- <el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button> -->
280
-                    <el-tabs class="preTabs" v-model="editableTabsValue" type="border-card"
281
-                             @tab-click="tabclickEventTwo">
282
-
283
-                      <el-tab-pane
284
-                          v-for="(item, index) in month_prescriptions"
285
-                          :key="index"
286
-                          :label="item.name"
287
-                          :name="item.name">
288
-                      </el-tab-pane>
289
-
290
-                      <div class="RP">
291
-                        Rp
292
-                        <el-date-picker
293
-                            v-model="other_start_time"
294
-                            prefix-icon="el-icon-date"
295
-                            @change="changeTime"
296
-                            :editable="false"
297
-                            style="width: 150px;"
298
-                            type="date"
299
-                            :picker-options="pickerOptions"
300
-                            placeholder="选择开始时间"
301
-                            align="right"
302
-                            format="yyyy-MM-dd"
303
-                            value-format="yyyy-MM-dd">
304
-                        </el-date-picker>
305
-                        <span class>-</span>
306
-                        <el-date-picker
307
-                            v-model="other_end_time"
308
-                            prefix-icon="el-icon-date"
309
-                            @change="changeEndTime"
310
-                            :editable="false"
311
-                            style="width: 150px;"
312
-                            type="date"
313
-                            placeholder="选择结束时间"
314
-                            align="right"
315
-                            format="yyyy-MM-dd"
316
-                            value-format="yyyy-MM-dd">
317
-                        </el-date-picker>
318
-                      </div>
319
-                      <!--<prescription-table :preTableData='preTableData'></prescription-table>-->
320
-                      <!--<month-prescription-table ref="prescription_tables"-->
321
-                      <!--:activeType="activeType"  :prescription="curMonthPrescriptions"></month-prescription-table>-->
322
-                      <charge-month-prescription-table
323
-                          :prescription="curMonthPrescriptions"></charge-month-prescription-table>
324
-
325
-                    </el-tabs>
326
-
327
-                  </div>
328
-                  <div class="costBox">
329
-                    <span>当前处方总费用:<span style="color:red;">{{ month_total }}元</span></span>
330
-                    <!--<span>{{ state }}</span>-->
331
-                  </div>
332
-                </div>
333
-                <div class="centerRight">
334
-                  <p class="centerRightTitle">人员信息</p>
335
-                  <div style="display:flex;justify-content: space-between;line-height:30px;">
336
-                    <span style="font-size:14px;">人员编码:{{ patientInfo.dialysis_no }}</span>
337
-                    <span style="font-size:14px;">日期:{{ record_date }}</span>
338
-                  </div>
339
-
340
-                  <ul class="basicUl">
341
-                    <li style="width:50%;">姓名:{{ patientInfo.name }}</li>
342
-                    <li style="width:50%;">性别:{{ patientInfo.gender == 1 ? '男' : '女' }}</li>
343
-                    <li style="width:50%;">年龄:{{ patientInfo.age }}</li>
344
-                    <li style="width:50%;">电话:{{ patientInfo.phone }}</li>
345
-                    <li style="width:100%;">过敏史及其他病史:{{ info.sick_history }}</li>
346
-
347
-                  </ul>
348
-                  <p class="centerRightTitle" style="padding-top: 10px;">诊断信息</p>
349
-                  <div style="display:flex;justify-content: space-between;line-height:30px;">
350
-                    <span style="font-size:14px;">门诊编号:{{ hisPatientInfo.number }}</span>
351
-                  </div>
352
-                  <ul class="basicUl">
353
-                    <li style="width:50%;">医生:{{ info.doctor }}</li>
354
-                    <li style="width:50%;">科室:{{ getDepartment(info.departments) }}</li>
355
-                    <li style="width:100%;" v-if="activeName == 'first'">总费用:{{ getTotal() }}</li>
356
-                    <li style="width:100%;" v-if="activeName == 'second'">总费用:{{ getTotalTwo() }}
357
-                    </li>
358
-
359
-                    <li style="width:100%;">判断结果:{{ info.diagnosis }}</li>
360
-                    <!--<li style="width:100%;">是否有传染病:</li>-->
361
-                    <!--<li style="width:100%;">血压:</li>-->
362
-                  </ul>
363
-                </div>
364
-              </div>
365
-            </el-tab-pane>
192
+<!--            <el-tab-pane label="日结" name="first">-->
193
+<!--              <div style="display:flex;height:100%;">-->
194
+<!--                <div class="centerLeft">-->
195
+<!--                  <div class="tabsBox">-->
196
+<!--                    &lt;!&ndash;<el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>&ndash;&gt;-->
197
+<!--                    <el-tabs class="preTabs" v-model="editableTabsValue" type="border-card"-->
198
+<!--                             @tab-click="tabclickEvent">-->
199
+<!--                      <el-tab-pane-->
200
+<!--                          v-for="(item, index) in prescriptions"-->
201
+<!--                          :key="index"-->
202
+<!--                          :label="item.name"-->
203
+<!--                          :name="item.name"-->
204
+<!--                      >-->
205
+<!--                      </el-tab-pane>-->
206
+
207
+<!--                      &lt;!&ndash;<div class="RP">&ndash;&gt;-->
208
+<!--                      &lt;!&ndash;Rp&ndash;&gt;-->
209
+<!--                      &lt;!&ndash;<el-date-picker&ndash;&gt;-->
210
+<!--                      &lt;!&ndash;v-model="record_date"&ndash;&gt;-->
211
+<!--                      &lt;!&ndash;type="date"&ndash;&gt;-->
212
+<!--                      &lt;!&ndash;:clearable="false"&ndash;&gt;-->
213
+<!--                      &lt;!&ndash;@change="changeDate"&ndash;&gt;-->
214
+<!--                      &lt;!&ndash;format="yyyy-MM-dd"&ndash;&gt;-->
215
+<!--                      &lt;!&ndash;value-format="yyyy-MM-dd"&ndash;&gt;-->
216
+<!--                      &lt;!&ndash;placeholder="选择日期">&ndash;&gt;-->
217
+<!--                      &lt;!&ndash;</el-date-picker>&ndash;&gt;-->
218
+<!--                      &lt;!&ndash;</div>&ndash;&gt;-->
219
+<!--                      &lt;!&ndash;<charge-prescription-table ref="prescription_tables"&ndash;&gt;-->
220
+<!--                      &lt;!&ndash;:prescription="curPrescriptions"></charge-prescription-table>&ndash;&gt;-->
221
+<!--                      &lt;!&ndash;<charge-prescription-table ref="prescription_tables" :prescription="curPrescriptions"></charge-prescription-table>&ndash;&gt;-->
222
+<!--                      <charge-prescription-table ref="prescription_tables"-->
223
+<!--                                                 :manufacturers="manufacturers"-->
224
+<!--                                                 :prescription="curPrescriptions"></charge-prescription-table>-->
225
+
226
+<!--                    </el-tabs>-->
227
+
228
+<!--                  </div>-->
229
+<!--                  <div class="costBox">-->
230
+<!--                    <span>当前处方总费用:<span style="color:red;">{{ total }}元</span></span>-->
231
+<!--                    <span v-if="this.curPrescriptions.order_status  == 1">待结算</span>-->
232
+<!--                    <span v-if="this.curPrescriptions.order_status  == 2">已结算</span>-->
233
+<!--                    <span v-if="this.curPrescriptions.order_status  == 3">已退费</span>-->
234
+<!--                  </div>-->
235
+<!--                </div>-->
236
+<!--                <div class="centerRight">-->
237
+<!--                  <p class="centerRightTitle">人员信息</p>-->
238
+<!--                  <div style="display:flex;justify-content: space-between;line-height:30px;">-->
239
+<!--                    <span style="font-size:14px;">人员编码:{{ patientInfo.dialysis_no }}</span>-->
240
+<!--                    <span style="font-size:14px;">日期:{{ record_date }}</span>-->
241
+<!--                  </div>-->
242
+<!--                  <ul class="basicUl">-->
243
+<!--                    <li style="width:50%;">姓名:{{ patientInfo.name }}</li>-->
244
+<!--                    <li style="width:50%;">性别:{{ patientInfo.gender == 1 ? '男' : '女' }}</li>-->
245
+<!--                    <li style="width:50%;">年龄:{{ patientInfo.age }}</li>-->
246
+<!--                    <li style="width:50%;">电话:{{ patientInfo.phone }}</li>-->
247
+
248
+<!--                    &lt;!&ndash;<span>过敏病史:</span>&ndash;&gt;-->
249
+<!--                    &lt;!&ndash;<el-autocomplete&ndash;&gt;-->
250
+<!--                    &lt;!&ndash;style="width:100%;"&ndash;&gt;-->
251
+<!--                    &lt;!&ndash;class="inline-input"&ndash;&gt;-->
252
+<!--                    &lt;!&ndash;v-model="sick_history"&ndash;&gt;-->
253
+<!--                    &lt;!&ndash;:fetch-suggestions="querySearch2"&ndash;&gt;-->
254
+<!--                    &lt;!&ndash;placeholder="请输入内容"&ndash;&gt;-->
255
+<!--                    &lt;!&ndash;&gt;</el-autocomplete>&ndash;&gt;-->
256
+<!--                    &lt;!&ndash;<li style="width:100%;">地址:{{patientInfo.home_address}}</li>&ndash;&gt;-->
257
+<!--                    &lt;!&ndash;<li style="width:100%;">过敏史及其他病史:{{info.sick_history}}</li>&ndash;&gt;-->
258
+<!--                  </ul>-->
259
+<!--                  <p class="centerRightTitle" style="padding-top: 10px;">诊断信息</p>-->
260
+<!--                  <div style="display:flex;justify-content: space-between;line-height:30px;">-->
261
+<!--                    <span style="font-size:14px;">住院编号:{{ hisPatientInfo.number }}</span>-->
262
+<!--                  </div>-->
263
+<!--                  <ul class="basicUl">-->
264
+<!--                    <li style="width:50%;">医生:{{ info.doctor }}</li>-->
265
+<!--                    <li style="width:50%;">科室:{{ info.departments }}</li>-->
266
+<!--                    <li style="width:100%;">总费用:{{ getTotal() }}</li>-->
267
+
268
+<!--                    <li style="width:100%;">判断结果:{{ info.diagnosis }}</li>-->
269
+<!--                    <li style="width:100%;">是否有传染病:</li>-->
270
+<!--                    <li style="width:100%;">血压:</li>-->
271
+<!--                  </ul>-->
272
+<!--                </div>-->
273
+<!--              </div>-->
274
+<!--            </el-tab-pane>-->
275
+<!--            <el-tab-pane label="月结" name="second">-->
276
+<!--              <div style="display:flex;height:100%;">-->
277
+<!--                <div class="centerLeft">-->
278
+<!--                  <div class="tabsBox">-->
279
+<!--                    &lt;!&ndash; <el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button> &ndash;&gt;-->
280
+<!--                    <el-tabs class="preTabs" v-model="editableTabsValue" type="border-card"-->
281
+<!--                             @tab-click="tabclickEventTwo">-->
282
+
283
+<!--                      <el-tab-pane-->
284
+<!--                          v-for="(item, index) in month_prescriptions"-->
285
+<!--                          :key="index"-->
286
+<!--                          :label="item.name"-->
287
+<!--                          :name="item.name">-->
288
+<!--                      </el-tab-pane>-->
289
+
290
+<!--                      <div class="RP">-->
291
+<!--                        Rp-->
292
+<!--                        <el-date-picker-->
293
+<!--                            v-model="other_start_time"-->
294
+<!--                            prefix-icon="el-icon-date"-->
295
+<!--                            @change="changeTime"-->
296
+<!--                            :editable="false"-->
297
+<!--                            style="width: 150px;"-->
298
+<!--                            type="date"-->
299
+<!--                            :picker-options="pickerOptions"-->
300
+<!--                            placeholder="选择开始时间"-->
301
+<!--                            align="right"-->
302
+<!--                            format="yyyy-MM-dd"-->
303
+<!--                            value-format="yyyy-MM-dd">-->
304
+<!--                        </el-date-picker>-->
305
+<!--                        <span class>-</span>-->
306
+<!--                        <el-date-picker-->
307
+<!--                            v-model="other_end_time"-->
308
+<!--                            prefix-icon="el-icon-date"-->
309
+<!--                            @change="changeEndTime"-->
310
+<!--                            :editable="false"-->
311
+<!--                            style="width: 150px;"-->
312
+<!--                            type="date"-->
313
+<!--                            placeholder="选择结束时间"-->
314
+<!--                            align="right"-->
315
+<!--                            format="yyyy-MM-dd"-->
316
+<!--                            value-format="yyyy-MM-dd">-->
317
+<!--                        </el-date-picker>-->
318
+<!--                      </div>-->
319
+<!--                      &lt;!&ndash;<prescription-table :preTableData='preTableData'></prescription-table>&ndash;&gt;-->
320
+<!--                      &lt;!&ndash;<month-prescription-table ref="prescription_tables"&ndash;&gt;-->
321
+<!--                      &lt;!&ndash;:activeType="activeType"  :prescription="curMonthPrescriptions"></month-prescription-table>&ndash;&gt;-->
322
+<!--                      <charge-month-prescription-table-->
323
+<!--                          :prescription="curMonthPrescriptions"></charge-month-prescription-table>-->
324
+
325
+<!--                    </el-tabs>-->
326
+
327
+<!--                  </div>-->
328
+<!--                  <div class="costBox">-->
329
+<!--                    <span>当前处方总费用:<span style="color:red;">{{ month_total }}元</span></span>-->
330
+<!--                    &lt;!&ndash;<span>{{ state }}</span>&ndash;&gt;-->
331
+<!--                  </div>-->
332
+<!--                </div>-->
333
+<!--                <div class="centerRight">-->
334
+<!--                  <p class="centerRightTitle">人员信息</p>-->
335
+<!--                  <div style="display:flex;justify-content: space-between;line-height:30px;">-->
336
+<!--                    <span style="font-size:14px;">人员编码:{{ patientInfo.dialysis_no }}</span>-->
337
+<!--                    <span style="font-size:14px;">日期:{{ record_date }}</span>-->
338
+<!--                  </div>-->
339
+
340
+<!--                  <ul class="basicUl">-->
341
+<!--                    <li style="width:50%;">姓名:{{ patientInfo.name }}</li>-->
342
+<!--                    <li style="width:50%;">性别:{{ patientInfo.gender == 1 ? '男' : '女' }}</li>-->
343
+<!--                    <li style="width:50%;">年龄:{{ patientInfo.age }}</li>-->
344
+<!--                    <li style="width:50%;">电话:{{ patientInfo.phone }}</li>-->
345
+<!--                    <li style="width:100%;">过敏史及其他病史:{{ info.sick_history }}</li>-->
346
+
347
+<!--                  </ul>-->
348
+<!--                  <p class="centerRightTitle" style="padding-top: 10px;">诊断信息</p>-->
349
+<!--                  <div style="display:flex;justify-content: space-between;line-height:30px;">-->
350
+<!--                    <span style="font-size:14px;">门诊编号:{{ hisPatientInfo.number }}</span>-->
351
+<!--                  </div>-->
352
+<!--                  <ul class="basicUl">-->
353
+<!--                    <li style="width:50%;">医生:{{ info.doctor }}</li>-->
354
+<!--                    <li style="width:50%;">科室:{{ getDepartment(info.departments) }}</li>-->
355
+<!--                    <li style="width:100%;" v-if="activeName == 'first'">总费用:{{ getTotal() }}</li>-->
356
+<!--                    <li style="width:100%;" v-if="activeName == 'second'">总费用:{{ getTotalTwo() }}-->
357
+<!--                    </li>-->
358
+
359
+<!--                    <li style="width:100%;">判断结果:{{ info.diagnosis }}</li>-->
360
+<!--                    &lt;!&ndash;<li style="width:100%;">是否有传染病:</li>&ndash;&gt;-->
361
+<!--                    &lt;!&ndash;<li style="width:100%;">血压:</li>&ndash;&gt;-->
362
+<!--                  </ul>-->
363
+<!--                </div>-->
364
+<!--              </div>-->
365
+<!--            </el-tab-pane>-->
366 366
             <el-tab-pane label="结算" name="third">
367 367
               <div style="display:flex;height:100%;">
368 368
                 <div class="centerLeft">
@@ -576,7 +576,7 @@ export default {
576 576
       cal_three: '',
577 577
       tableHeight: '',
578 578
       fullHeight: document.documentElement.clientHeight,
579
-      activeName: 'first',
579
+      activeName: 'third',
580 580
       info: {},
581 581
       curPrescriptions: {},
582 582
       prescriptions: [],

+ 1 - 2
src/xt_pages/outpatientCharges/costComparison.vue Прегледај датотеку

@@ -478,7 +478,6 @@
478 478
             clr_optins:this.query_clr_org,
479 479
           }
480 480
           var that = this
481
-          if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 9990 ) {
482 481
             axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
483 482
               params: params
484 483
             })
@@ -519,7 +518,7 @@
519 518
 
520 519
               })
521 520
 
522
-          }
521
+
523 522
 
524 523
         } else {
525 524
           let params = {

+ 5 - 4
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Прегледај датотеку

@@ -1019,14 +1019,15 @@
1019 1019
         }
1020 1020
       },
1021 1021
       confirm(forms) {
1022
-        var param =  "_api_access_key="+"1781ce9fb73a478289326c16ba8bf2c4"+"&_api_name="+"hssServives"+"&_api_timestamp="+ Date.now()+"&_api_version="+"1.0.0";
1023
-        var signature = cryptoJs.enc.Base64.stringify(cryptoJs.HmacSHA1(param, "b5DPOGjc08DAAMJ8FP31pwwNHKo="));
1022
+       var time =  Math.round(new Date().getTime()/1000).toString()
1023
+        var param =  "_api_access_key="+"1781ce9fb73a478289326c16ba8bf2c4"+"&_api_name="+"hssServives"+"&_api_timestamp="+ time+"&_api_version="+"1.0.0";
1024
+        var signature = cryptoJs.enc.Base64.stringify(cryptoJs.HmacSHA1(param, "+b5DPOGjc08DAAMJ8FP31pwwNHKo="));
1025
+        console.log(Math.round(new Date().getTime()/1000).toString())
1024 1026
         forms['record_time'] = this.record_date
1025 1027
         forms['admin_user_id'] = this.$store.getters.xt_user.user.id
1026 1028
         forms['org_id'] = this.$store.getters.xt_user.org_id
1027 1029
         forms['key'] = signature
1028
-
1029
-
1030
+        forms['time_stamp'] = time
1030 1031
         this.loadingone = true
1031 1032
         var that = this
1032 1033
         if (forms.settlement_value == 2) {

+ 18 - 23
src/xt_pages/user/coursePrint.vue Прегледај датотеку

@@ -22,28 +22,28 @@
22 22
               科别:
23 23
               <div  style="width: 120px;text-align: left;display:inline-block;">{{"血透中心"}}</div>
24 24
             </div>
25
-            
26
-           <div style="flex:1;text-align: center;" v-if="org_id == 9671 || org_id == 10215" >
25
+
26
+            <div style="flex:1;text-align: center;" v-if="org_id == 9671 || org_id == 10215" >
27 27
               病案号:
28
-                <div  style="width: 120px;text-align: left;display:inline-block;">
29
-                  {{patient.dialysis_no?patient.dialysis_no:"/"}}
30
-                </div>
28
+              <div  style="width: 120px;text-align: left;display:inline-block;">
29
+                {{patient.dialysis_no?patient.dialysis_no:"/"}}
30
+              </div>
31 31
             </div>
32 32
 
33 33
 
34 34
             <div style="flex:1;text-align: center;" v-if="org_id!=10215 && org_id!=9671" >
35 35
               透析号:
36
-                <div  style="width: 120px;text-align: left;display:inline-block;">
37
-                  {{patient.dialysis_no?patient.dialysis_no:"/"}}
38
-                </div>
36
+              <div  style="width: 120px;text-align: left;display:inline-block;">
37
+                {{patient.dialysis_no?patient.dialysis_no:"/"}}
38
+              </div>
39 39
             </div>
40 40
 
41 41
             <div  style="flex:1;text-align: center;" v-if="org_id!=10215 && org_id!=9671">
42 42
               住院号:
43 43
               <div style="width: 100px;text-align: left;display:inline-block;">
44
-                 {{patient.admission_number?patient.admission_number:"/"}}
45
-            </div>
46
-           
44
+                {{patient.admission_number?patient.admission_number:"/"}}
45
+              </div>
46
+
47 47
             </div>
48 48
 
49 49
           </div>
@@ -55,17 +55,12 @@
55 55
               <div>{{item.title}}</div>
56 56
             </div>
57 57
 
58
-             <div class="inline_block" style="width:100%;">
59
-              <div v-html="item.content" class="printP">{{item.content}}</div>
60
-            </div>
61
-          </div>
62
-
63
-          <!-- <div class="row" style="padding: 2px 0;line-height:24px;">
64 58
             <div class="inline_block" style="width:100%;">
65
-              <div v-html="item.content" class="printP">{{item.content}}</div>
59
+              <div v-html="item.content" class="printP">
60
+                 
61
+              </div>
66 62
             </div>
67
-          </div> -->
68
-
63
+          </div>
69 64
         </div>
70 65
       </div>
71 66
     </div>
@@ -101,7 +96,7 @@
101 96
     created() {
102 97
       var xtuser = this.$store.getters.xt_user
103 98
       this.org_id = this.$store.getters.xt_user.org_id
104
-     
99
+
105 100
       this.orgname = xtuser.org.org_name
106 101
 
107 102
     },
@@ -110,8 +105,8 @@
110 105
       var ids = this.$route.query.ids
111 106
       var patient_id = parseInt(this.$route.query.patient_id)
112 107
       var params = {
113
-          ids:ids,
114
-          patient_id:patient_id,
108
+        ids:ids,
109
+        patient_id:patient_id,
115 110
       }
116 111
       console.log("para2333223233223",params)
117 112
       GetCoursePrintData(params).then(rs => {