瀏覽代碼

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

XMLWAN 4 年之前
父節點
當前提交
435e92745c

+ 7 - 7
src/xt_pages/dialysis/batch_print/batch_print_order_twentyEight.vue 查看文件

@@ -246,7 +246,7 @@
246 246
                         <tbody>
247 247
                         <tr>
248 248
                             <td width="80">活动性出血:</td>
249
-                            <td width="400">
249
+                            <td width="420">
250 250
                             <div>
251 251
                                
252 252
                                <label-box :isChecked="record.assessment_before_dislysis.is_hemorrhage == 2 ? true : false" showValue="无"></label-box>
@@ -634,7 +634,7 @@
634 634
                     </tr>
635 635
 
636 636
                     <tr v-for="(advice, advice_index) in record.advices" :key="advice_index">
637
-                        <td height="40px">
637
+                        <td height="30px">
638 638
                             <span v-if="advice[0].start_time">
639 639
                                 {{ getTime(advice[0].start_time, "{h}:{i}") }}
640 640
                             </span>
@@ -662,7 +662,7 @@
662 662
                                 <!-- </span> -->
663 663
                             </span>
664 664
                         </td>
665
-                        <td height="40px">
665
+                        <td height="30px">
666 666
                             <span v-if="setAdminUserES(advice[0], 'advice_doctor') == ''">
667 667
                                 {{getAdminUser(advice[0], 'advice_doctor')}}
668 668
                             </span>
@@ -670,7 +670,7 @@
670 670
                                 <img style="height:30px;" :src="setAdminUserES(advice[0], 'advice_doctor')" alt srcset />
671 671
                             </span>
672 672
                         </td>
673
-                        <td height="40px">
673
+                        <td height="30px">
674 674
                             <span v-if="setAdminUserES(advice[0], 'execution_staff') == ''">
675 675
                                 {{getAdminUser(advice[0], 'execution_staff')}}
676 676
                             </span>
@@ -685,7 +685,7 @@
685 685
                              <img class="es-img" :src="setAdminUserES(advice[0], 'checker')" alt="" srcset="" style="height: 30px;" />
686 686
                           </span>
687 687
                         </td>
688
-                        <td height="40px">
688
+                        <td height="30px">
689 689
                             <span v-if="advice[0].execution_time">{{ getTime(advice[0].execution_time, "{h}:{i}") }}</span>
690 690
                         </td>
691 691
                     </tr>
@@ -1078,9 +1078,9 @@ export default {
1078 1078
             var dlegh = 0
1079 1079
             if (
1080 1080
               this.records[recordIndex].monitor_records &&
1081
-              this.records[recordIndex].monitor_records.length < 8
1081
+              this.records[recordIndex].monitor_records.length < 12
1082 1082
             ) {
1083
-              dlegh = 8 - this.records[recordIndex].monitor_records.length
1083
+              dlegh = 12 - this.records[recordIndex].monitor_records.length
1084 1084
             } else {
1085 1085
               dlegh = 0
1086 1086
             }

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue 查看文件

@@ -2010,8 +2010,8 @@ export default {
2010 2010
             if (this.org_template_info.org_id == 9535) {
2011 2011
               this.isShowZero = true
2012 2012
             }
2013
-            if (this.monitors.length < 9) {
2014
-              var nl = 9 - this.monitors.length
2013
+            if (this.monitors.length < 12) {
2014
+              var nl = 12 - this.monitors.length
2015 2015
               for (let index = 0; index < nl; index++) {
2016 2016
                 this.monitors.push([])
2017 2017
               }

+ 0 - 1
src/xt_pages/outpatientCharges/newTreatTemplate/printOne.vue 查看文件

@@ -262,7 +262,6 @@
262 262
             this.getPage()
263 263
         },
264 264
         deep: true,
265
-        immediate:true
266 265
       }
267 266
     }
268 267
 

+ 30 - 5
src/xt_pages/outpatientCharges/summary.vue 查看文件

@@ -96,7 +96,7 @@
96 96
         <el-table-column align="center" prop="name" label="操作">
97 97
           <template slot-scope="scope">
98 98
             <el-button size="mini" type="primary" @click="toDetail(scope.row)">详情</el-button>
99
-            <el-button size="mini" type="primary" @click="toPrint(scope.row)" v-if="scope.row.order_status == 2">结算单</el-button>
99
+            <el-button size="mini" type="primary" @click="toPrint(scope.row)" v-if="(scope.row.order_status == 2 || this.$store.getters.xt_user.org_id == 9504) && (scope.row.order_status == 2 || this.$store.getters.xt_user.org_id == 9919)">结算单</el-button>
100 100
           </template>
101 101
         </el-table-column>
102 102
       </el-table>
@@ -137,6 +137,16 @@
137 137
       <allListPrint :paramsObj='paramsObj'></allListPrint>
138 138
     </el-dialog>
139 139
 
140
+    <el-dialog
141
+            class="centerDialog"
142
+            width="1200px"
143
+            title="打印"
144
+            :visible.sync="statementVisible9504">
145
+      <!--<statementPrint ref="print" :paramsObj='orderObj'></statementPrint>-->
146
+      <!--<new-statement-print ref="print" :paramsObj='orderObj9504'></new-statement-print>-->
147
+      <new-statement-print-two ref="print" :paramsObj='orderObj9504'></new-statement-print-two>
148
+    </el-dialog>
149
+
140 150
 
141 151
   </div>
142 152
 </template>
@@ -150,10 +160,12 @@
150 160
   import NewStatementPrint from './newStatementPrint'
151 161
   import listPrint from './listPrint'
152 162
   import allListPrint from './allListPrint'
163
+  import NewStatementPrintTwo from './newStatementPrintTwo'
153 164
 
154 165
 
155 166
   export default {
156 167
     components: {
168
+      NewStatementPrintTwo,
157 169
       NewStatementPrint,
158 170
       BreadCrumb,
159 171
       listPrint,
@@ -163,6 +175,8 @@
163 175
       return {
164 176
         orderObj: {},
165 177
         statementVisible: false,
178
+        statementVisible9504:false,
179
+        orderObj9504:{},
166 180
         crumbs: [
167 181
           { path: false, name: '门诊收费' },
168 182
           { path: false, name: '项目消费明细汇总' }
@@ -183,11 +197,22 @@
183 197
     },
184 198
     methods: {
185 199
       toPrint(row){
186
-        this.statementVisible = true
187
-        let obj = {
188
-          order_id: row.id
200
+        if(this.$store.getters.xt_user.org_id == 9504){
201
+          this.statementVisible9504 = true
202
+          let obj = {
203
+            order_id: row.id,
204
+            patient_id: row.patient_id,
205
+            record_time: this.getTimes(row.settle_accounts_date),
206
+            admin_user_id: this.$store.getters.xt_user.user.id,
207
+          }
208
+          this.orderObj9504 = obj
209
+        }else {
210
+          this.statementVisible = true
211
+          let obj = {
212
+            order_id: row.id
213
+          }
214
+          this.orderObj = obj
189 215
         }
190
-        this.orderObj = obj
191 216
 
192 217
       },
193 218
       export_detail(){