Browse Source

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

陈少旭 1 week ago
parent
commit
79e9f160fc

+ 12 - 1
src/api/patient.js View File

@@ -1624,4 +1624,15 @@ export function getPatientCountFlowList(params){
1624 1624
     method:"get",
1625 1625
     params:params
1626 1626
   })
1627
-}
1627
+}
1628
+
1629
+
1630
+export function getPatientCountFlowById(params){
1631
+  
1632
+   return request({
1633
+    url:"/api/patient/getpatientcountflowbyid",
1634
+    method:"Get",
1635
+    params:params,
1636
+   })
1637
+}
1638
+

+ 220 - 29
src/xt_pages/charging/charging_collect.vue View File

@@ -23,6 +23,8 @@
23 23
           <el-date-picker
24 24
            @change="changeTime"
25 25
             v-model="value1"
26
+            format="yyyy-MM-dd"
27
+            value-format="yyyy-MM-dd"
26 28
             type="daterange"
27 29
             range-separator="至"
28 30
             start-placeholder="开始日期"
@@ -40,23 +42,43 @@
40 42
             </el-option>
41 43
           </el-select>
42 44
         </div>
43
-        <div><el-button type="primary">查询</el-button></div>
45
+        <div><el-button type="primary" @click="getQuery">查询</el-button></div>
44 46
       </div>
45 47
       <div style="margin:10px 0;">
46 48
         <el-table border :data="tableData" style="width: 100%" :header-cell-style="{'text-align':'center'}" :cell-style="{'text-align':'center'}">
47 49
           <el-table-column prop="index" label="序号" width="">
50
+             <template slot-scope="scope">
51
+                 {{ scope.$index+1 }}
52
+             </template>
48 53
           </el-table-column>
49 54
           <el-table-column prop="name" label="患者姓名" width="">
55
+            <template slot-scope="scope">
56
+                 {{getPatientName(scope.row.patient_id)}}
57
+             </template>
50 58
           </el-table-column>
51 59
           <el-table-column prop="HD" label="费用类别">
60
+            <template slot-scope="scope">
61
+                <span v-if="scope.row.is_type ==1">充值</span>
62
+                <span v-if="scope.row.is_type ==2">扣费</span>
63
+             </template>
52 64
           </el-table-column>
53 65
           <el-table-column prop="HDF" label="透析模式">
66
+            <template slot-scope="scope">
67
+              <span v-if="scope.row.mode_id ==1">HD</span>
68
+              <span v-if="scope.row.mode_id ==2">HDF</span>
69
+              <span v-if="scope.row.mode_id ==3">HD+HP</span>
70
+              <span v-if="scope.row.mode_id ==4">HDF</span>
71
+              <span v-if="scope.row.mode_id ==5">其他</span>
72
+            </template>
54 73
           </el-table-column>
55 74
           <el-table-column prop="HD+HP" label="总次数">
75
+             <template slot-scope="scope">
76
+                {{getModeCount(scope.row.patient_id,scope.row.mode_id,scope.row.is_type) }}
77
+             </template>
56 78
           </el-table-column>
57 79
           <el-table-column prop="address" label="操作" width="300">
58 80
             <template slot-scope="scope">
59
-              <el-button type="primary" @click="mingx_click(scope.row)" >详情</el-button>
81
+              <el-button type="primary" @click="mingx_click(scope.row.patient_id,scope.row.mode_id,scope.row.is_type)" >详情</el-button>
60 82
             </template>
61 83
           </el-table-column>
62 84
         </el-table>
@@ -66,10 +88,10 @@
66 88
           @size-change="handleSizeChange"
67 89
           @current-change="handleCurrentChange"
68 90
           :current-page="currentPage"
69
-          :page-sizes="[100, 200, 300, 400]"
70
-          :page-size="100"
91
+          :page-sizes="[10, 20, 30, 40,100]"
92
+          :page-size="10"
71 93
           layout="total, sizes, prev, pager, next, jumper"
72
-          :total="400">
94
+          :total="total">
73 95
         </el-pagination>
74 96
       </div>
75 97
     </div>
@@ -84,15 +106,24 @@
84 106
           <div> 
85 107
             <el-autocomplete
86 108
               class="inline-input"
87
-              v-model="state1"
109
+               v-model.trim="smart_keyword"
88 110
               :fetch-suggestions="querySearch"
89 111
               placeholder="请输入内容"
90 112
               @select="handleSelect"
91
-            ></el-autocomplete>
113
+              
114
+            >
115
+           <i class="el-icon-search el-input__icon" slot="suffix"></i>
116
+          <template slot-scope="{ item }">
117
+            <div class="name">{{ item.name }}</div>
118
+          </template>
119
+          </el-autocomplete>
92 120
           </div>
93 121
           <div>
94 122
             日期查询:
95 123
             <el-date-picker
124
+              @change="changeTimeOne"
125
+               format="yyyy-MM-dd"
126
+              value-format="yyyy-MM-dd"
96 127
               v-model="value1"
97 128
               type="daterange"
98 129
               range-separator="至"
@@ -103,7 +134,7 @@
103 134
           </div>
104 135
           <div>
105 136
             费用类型:
106
-            <el-select v-model="value" placeholder="请选择" style="width: 100px;">
137
+            <el-select v-model="is_type" placeholder="请选择" style="width: 100px;">
107 138
               <el-option
108 139
                 v-for="item in options"
109 140
                 :key="item.value"
@@ -114,34 +145,63 @@
114 145
           </div>
115 146
           <div>
116 147
             透析模式:
117
-            <el-select v-model="value" placeholder="请选择" style="width: 100px;">
148
+            <el-select v-model="mode_id" placeholder="请选择" style="width: 100px;">
118 149
               <el-option
119
-                v-for="item in options"
120
-                :key="item.value"
121
-                :label="item.label"
122
-                :value="item.value">
150
+                v-for="item in mode_options"
151
+                :key="item.mode_id"
152
+                :label="item.mode_name"
153
+                :value="item.mode_id">
123 154
               </el-option>
124 155
             </el-select>
125 156
           </div>
126
-          <div><el-button type="primary">查询</el-button></div>
157
+          <div><el-button type="primary" @click="queryCount">查询</el-button></div>
127 158
         </div>
128 159
         <div style="margin: 10px 0;">
129
-          <el-table border :data="tableData" style="width: 100%" :header-cell-style="{'text-align':'center'}" :cell-style="{'text-align':'center'}">
160
+          <el-table border :data="tableList" style="width: 100%" :header-cell-style="{'text-align':'center'}" :cell-style="{'text-align':'center'}">
130 161
             <el-table-column prop="index" label="序号" width="">
162
+               <template slot-scope="scope">
163
+                   {{ scope.$index+1 }}
164
+               </template>
131 165
             </el-table-column>
132 166
             <el-table-column prop="name" label="患者姓名" width="">
167
+              <template slot-scope="scope">
168
+                 {{getPatientName(scope.row.patient_id)}}
169
+             </template>
133 170
             </el-table-column>
134 171
             <el-table-column prop="HD" label="费用发生时间">
172
+               <template slot-scope="scope">
173
+                  {{ getTime(scope.row.record_date) }}
174
+               </template>
135 175
             </el-table-column>
136 176
             <el-table-column prop="HD" label="费用类别">
177
+              <template slot-scope="scope">
178
+                 <span v-if="scope.row.is_type==1">充值</span>
179
+                 <span v-if="scope.row.is_type==2">扣费</span>
180
+              </template>
137 181
             </el-table-column>
138 182
             <el-table-column prop="HDF" label="透析类型">
183
+              <template slot-scope="scope">
184
+                 <span v-if="scope.row.mode_id==1">HD</span>
185
+                 <span v-if="scope.row.mode_id==2">HDF</span>
186
+                 <span v-if="scope.row.mode_id==3">HD+HP</span>
187
+                 <span v-if="scope.row.mode_id==4">HP</span>
188
+                 <span v-if="scope.row.mode_id==5">其他</span>
189
+              </template>
139 190
             </el-table-column>
140 191
             <el-table-column prop="HD+HP" label="费用次数">
192
+              <template slot-scope="scope">
193
+                 {{ scope.row.count }}
194
+              </template>
141 195
             </el-table-column>
142 196
             <el-table-column prop="address" label="创建人">
197
+              <template slot-scope="scope">
198
+                {{ getAdminUser(scope.row.creater) }}
199
+              </template>
143 200
             </el-table-column>
144 201
             <el-table-column prop="address" label="备注">
202
+              <template slot-scope="scope">
203
+                 {{ scope.row.remark }}
204
+              </template>
145 205
             </el-table-column>
146 206
           </el-table>
147 207
         </div>
@@ -150,7 +210,8 @@
150 210
   </div>
151 211
 </template>
152 212
 <script>
153
-import {getPatientMapList,getPatientCountFlowList} from "@/api/patient"
213
+import {getPatientMapList,getPatientCountFlowList,getPatientCountFlowById} from "@/api/patient"
214
+import {uParseTime } from "@/utils/tools";
154 215
   export default{
155 216
     data(){
156 217
       return{
@@ -170,9 +231,56 @@ import {getPatientMapList,getPatientCountFlowList} from "@/api/patient"
170 231
         page:1,
171 232
         is_type:0,
172 233
         total:0,
234
+        patientList:[],
235
+        userList:[],
236
+        flowList:[],
237
+        start_time:"",
238
+        end_time:"",
239
+        tableList:[],
240
+        patient:{},
241
+        mode_id:0,
242
+        mode_options:[
243
+        {mode_id:0,mode_name:"全部"},
244
+        {mode_id:1,mode_name:"HD"},
245
+        {mode_id:2,mode_name:"HDF"},
246
+        {mode_id:3,mode_name:"HD+HP"},
247
+        {mode_id:4,mode_name:"HP"},
248
+        {mode_id:5,mode_name:"其他"}
249
+        ],
173 250
       }
174 251
     },
175 252
     methods:{
253
+      getTime(val) {
254
+         if(val < 0){
255
+           return ""
256
+         }
257
+         if(val == ""){
258
+          return ""
259
+         }else {
260
+          return uParseTime(val, '{y}-{m}-{d}')
261
+         }
262
+      },
263
+      querySearch(queryString, cb){
264
+        let key = ''
265
+        if (queryString != undefined) {
266
+          key = queryString
267
+        }
268
+        let searchArray = []
269
+         var  params = {
270
+          keyword:key
271
+         }
272
+        getPatientMapList(params).then(response => {
273
+          if (response.data.state == 1) {
274
+            searchArray = response.data.data.patient
275
+           
276
+            cb(searchArray)
277
+          } else {
278
+            this.$message.error(response.data.msg)
279
+            cb([])
280
+          }
281
+        })
282
+        return searchArray
283
+      },
176 284
       handleSelect(val){
177 285
         this.smart_keyword = val.name;
178 286
         this.patient_id = val.id
@@ -202,20 +310,38 @@ import {getPatientMapList,getPatientCountFlowList} from "@/api/patient"
202 310
        this.end_time = val[1]
203 311
        this.getlist()
204 312
      },
205
-      mingx_click(){
206
-        this.collect_show = true
207
-      },
208
-      querySearch(){
209
-
210
-      },
211
-      handleSelect(){
212
-
313
+     changeTimeOne(){
314
+      this.start_time = val[0]
315
+      this.end_time = val[1]
316
+     },
317
+      mingx_click(patient_id,mode_id,is_type){
318
+          var params = {
319
+           patient_id:patient_id,
320
+           mode_id:mode_id,
321
+           is_type:is_type,
322
+           start_time:this.start_time,
323
+           end_time:this.end_time,
324
+          }
325
+          getPatientCountFlowById(params).then(response=>{
326
+            if(response.data.state == 1){
327
+              this.collect_show = true
328
+              var tableList =  response.data.data.list
329
+              this.tableList = []
330
+              this.tableList = tableList
331
+              this.patient = response.data.data.patient
332
+              this.userList = []
333
+              this.userList = response.data.data.userList
334
+            }
335
+        })
336
+       
213 337
       },
214
-      handleSizeChange(){
215
-
338
+      handleSizeChange(limit){
339
+        this.limit = limit;
340
+        this.getlist();
216 341
       },
217
-      handleCurrentChange(){
218
-
342
+      handleCurrentChange(page){
343
+        this.page = page;
344
+        this.getlist();
219 345
       },
220 346
       getlist(){
221 347
         var params = {
@@ -229,12 +355,77 @@ import {getPatientMapList,getPatientCountFlowList} from "@/api/patient"
229 355
         getPatientCountFlowList(params).then(response=>{
230 356
           if(response.data.state == 1){
231 357
              var list = response.data.data.list
358
+             console.log("list==============",list)
232 359
              this.tableData =[]
233 360
              this.tableData = list
234 361
              var total = response.data.data.total
235
-
236 362
              this.total = total
363
+             var patientList = response.data.data.patient
364
+             console.log("patient=============",patientList)
365
+             this.patientList = []
366
+             this.patientList = patientList
367
+             var userList = response.data.data.userList
368
+             this.userList = userList
369
+             this.flowList = response.data.data.flowList
370
+          }
371
+        })
372
+      },
373
+      getPatientName(id){
374
+        var name = ""
375
+        for(let i=0;i<this.patientList.length;i++){
376
+          if(id == this.patientList[i].id){
377
+            name = this.patientList[i].name
378
+          }
379
+        }
380
+        return name
381
+     },
382
+     getModeCount(patient_id,mode_id,is_type){
383
+        var count = 0 
384
+        var newArr= []
385
+        for(let i=0;i<this.flowList.length;i++){
386
+           if(patient_id == this.flowList[i].patient_id && mode_id == this.flowList[i].mode_id && is_type == this.flowList[i].is_type){
387
+               newArr.push(this.flowList[i])
388
+           }
389
+        }
390
+
391
+        for(let i=0;i<newArr.length;i++){
392
+            count+=newArr[i].count
393
+        }
394
+        if(count>0){
395
+          return count
396
+        }else{
397
+          return ""
398
+        }
399
+     },
400
+     queryCount(){
401
+       this.getlist()
402
+     },
403
+     getAdminUser(creater){
404
+        var user_name = ""
405
+        for(let i=0;i<this.userList.length;i++){
406
+           if(creater == this.userList[i].id){
407
+              user_name = this.userList[i].name
408
+           }
409
+        }
410
+        return user_name
411
+      },
412
+      getQuery(){
413
+        var params = {
414
+           patient_id:this.patient_id,
415
+           mode_id:this.mode_id,
416
+           is_type:this.is_type,
417
+           start_time:this.start_time,
418
+           end_time:this.end_time,
237 419
           }
420
+          getPatientCountFlowById(params).then(response=>{
421
+            if(response.data.state == 1){
422
+              var tableList =  response.data.data.list
423
+              this.tableList = []
424
+              this.tableList = tableList
425
+              this.patient = response.data.data.patient
426
+              this.userList = []
427
+              this.userList = response.data.data.userList
428
+            }
238 429
         })
239 430
       }
240 431
     },

+ 4 - 1
src/xt_pages/charging/charging_cz.vue View File

@@ -152,6 +152,7 @@
152 152
 <script>
153 153
   import {getPatientMapList,savePatentCount,getPatientCountList,deletePatientCount,checkPatientCount,toReturnCheck } from "@/api/patient"
154 154
   import BreadCrumb from "@/xt_pages/components/bread-crumb";
155
+import { start } from "nprogress";
155 156
   export default{
156 157
     components: { BreadCrumb },
157 158
     data(){
@@ -179,7 +180,9 @@
179 180
         limit:10,
180 181
         page:1,
181 182
         total:0,
182
-        userList:[]
183
+        userList:[],
184
+        start_time:"",
185
+        end_time:"",
183 186
       }
184 187
     },
185 188
     methods:{

+ 61 - 45
src/xt_pages/dialysis/batch_print/batch_print_order_eightythree.vue View File

@@ -48,10 +48,10 @@
48 48
                           }}
49 49
                         </div>
50 50
                         <div style="flex: 1;">
51
-                          透析频次:
52
-                          <span style="display: inline-block;width: 60px;">
53
-                            {{ record.assessment_before_dislysis.dialysis_count}}
54
-                          </span>
51
+                          透析频次:{{ record.assessment_before_dislysis.dialysis_count }}
52
+                          <!-- <span style="display: inline-block;width: 60px;">
53
+                            {{ record.assessment_before_dislysis.dialysis_count }}
54
+                          </span> -->
55 55
                         </div>
56 56
                       </div>
57 57
                     </td>
@@ -65,8 +65,8 @@
65 65
                   </tr>
66 66
                   <tr>
67 67
                     <td colspan="3">
68
-                    
69
-                      <div class="row" style="padding: 2px 0; line-height: 23px;display: inline-block;" >
68
+
69
+                      <div class="row" style="padding: 2px 0; line-height: 23px;display: inline-block;">
70 70
                         <div class="inline_block" style="flex: 0.8;">
71 71
                           T:
72 72
                           <div class="under_line" style="width: 50px; text-align: center">
@@ -129,7 +129,8 @@
129 129
                         治疗方式:
130 130
                         <label-box :isChecked="record.prescription.mode_id == 1 ? true : false"
131 131
                           showValue="HD"></label-box>&nbsp;
132
-                        <label-box :isChecked="record.prescription.mode_id == 2 ? true : false" showValue="HDF"></label-box>
132
+                        <label-box :isChecked="record.prescription.mode_id == 2 ? true : false"
133
+                          showValue="HDF"></label-box>
133 134
                         (<label-box
134 135
                           :isChecked="record.prescription.mode_id == 2 && record.prescription.displace_liqui_part == 1 ? true : false"
135 136
                           showValue="前稀释"></label-box>&nbsp;
@@ -140,8 +141,10 @@
140 141
                           record.prescription.displace_liqui_value : "/" }} ml</span>
141 142
                         )&nbsp;&nbsp;
142 143
                         <label-box :isChecked="record.prescription.mode == 5 ? true : false" showValue="HF"></label-box>
143
-                        <label-box :isChecked="record.prescription.mode == 20 ? true : false" showValue="UF"></label-box>
144
-                        <label-box :isChecked="record.prescription.mode == 3 ? true : false" showValue="HD+HP"></label-box>
144
+                        <label-box :isChecked="record.prescription.mode == 20 ? true : false"
145
+                          showValue="UF"></label-box>
146
+                        <label-box :isChecked="record.prescription.mode == 3 ? true : false"
147
+                          showValue="HD+HP"></label-box>
145 148
                       </div>
146 149
                     </td>
147 150
                     <td style="line-height:30px;">
@@ -157,10 +160,12 @@
157 160
                     <td colspan="3">
158 161
                       <div style="display: flex;line-height:30px;">
159 162
                         <span>治疗抗凝:</span>
160
-                        <label-box :isChecked="record.prescription.anticoagulant==3 ||record.prescription.anticoagulant==6||
161
-                          record.prescription.anticoagulant==7 ? true : false"showValue="低分子肝素:"></label-box>&nbsp;
162
-                        <span v-if="record.prescription.anticoagulant==3 ||record.prescription.anticoagulant==6||record.prescription.anticoagulant==7">
163
-                          {{ record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "0" }}
163
+                        <label-box :isChecked="record.prescription.anticoagulant == 3 || record.prescription.anticoagulant == 6 ||
164
+                          record.prescription.anticoagulant == 7 ? true : false" showValue="低分子肝素:"></label-box>&nbsp;
165
+                        <span
166
+                          v-if="record.prescription.anticoagulant == 3 || record.prescription.anticoagulant == 6 || record.prescription.anticoagulant == 7">
167
+                          {{ record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang :
168
+                          "0" }}
164 169
                         </span>U&nbsp;&nbsp;
165 170
 
166 171
                         <label-box :isChecked="record.prescription.anticoagulant == 2 ? true : false"
@@ -174,12 +179,12 @@
174 179
                           追加:
175 180
                           <span v-if="record.prescription.anticoagulant == 2">
176 181
                             {{ record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi :
177
-                            "0"}}
182
+                              "0" }}
178 183
                           </span>mg/h &nbsp;&nbsp;
179 184
                           总量:
180 185
                           <span v-if="record.prescription.anticoagulant == 2">
181 186
                             {{ record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang
182
-                            : "0"}}
187
+                              : "0" }}
183 188
                           </span>mg
184 189
                         </div>
185 190
                         &nbsp;&nbsp;
@@ -202,9 +207,12 @@
202 207
                         </span>ml/h
203 208
                         <span>
204 209
                           透析(滤)器:
205
-                          {{ record.prescription.dialysis_dialyszers ? record.prescription.dialysis_dialyszers : "" }} &nbsp;
206
-                          {{ record.prescription.dialysis_strainer ? record.prescription.dialysis_strainer : "" }} &nbsp;
207
-                          {{ record.prescription.dialysis_irrigation ? record.prescription.dialysis_irrigation :'' }} &nbsp;
210
+                          {{ record.prescription.dialysis_dialyszers ? record.prescription.dialysis_dialyszers : "" }}
211
+                          &nbsp;
212
+                          {{ record.prescription.dialysis_strainer ? record.prescription.dialysis_strainer : "" }}
213
+                          &nbsp;
214
+                          {{ record.prescription.dialysis_irrigation ? record.prescription.dialysis_irrigation : '' }}
215
+                          &nbsp;
208 216
                         </span>
209 217
 
210 218
                       </div>
@@ -252,17 +260,18 @@
252 260
                       <label-box
253 261
                         :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('无绦纶套') != -1 ? true : false"
254 262
                         showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
255
-                      <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('人造血管') != -1 ? true : false"
263
+                      <label-box
264
+                        :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('人造血管') != -1 ? true : false"
256 265
                         showValue="人造血管"></label-box>&nbsp;
257
-                        <label-box :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('股静脉') != -1 ? true : false"
266
+                      <label-box
267
+                        :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('股静脉') != -1 ? true : false"
258 268
                         showValue="股静脉"></label-box>&nbsp;
259 269
                       其他:
260
-                      <div style="display: inline-block;" 
270
+                      <div style="display: inline-block;"
261 271
                         v-if="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('内瘘') == -1 &&
262
-                        QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('无绦纶套') == -1 &&
263
-                        QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('带隧道带绦纶套') == -1 &&
264
-                        QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('人造血管') == -1"
265
-                      >
272
+                          QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('无绦纶套') == -1 &&
273
+                          QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('带隧道带绦纶套') == -1 &&
274
+                          QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('人造血管') == -1">
266 275
                         {{ QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id) }}
267 276
                       </div>
268 277
 
@@ -284,18 +293,24 @@
284 293
                     <div style="display: flex;">
285 294
                       <div style="flex: 1;">
286 295
                         内瘘穿刺方式:
287
-                        <label-box :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('绳梯') != -1 ? true : false"
296
+                        <label-box
297
+                          :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('绳梯') != -1 ? true : false"
288 298
                           showValue="绳梯"></label-box>
289
-                        <label-box :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('扣眼') != -1 ? true : false"
299
+                        <label-box
300
+                          :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('扣眼') != -1 ? true : false"
290 301
                           showValue="扣眼"></label-box>
291
-                        <label-box :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('区域') != -1 ? true : false"
302
+                        <label-box
303
+                          :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('区域') != -1 ? true : false"
292 304
                           showValue="区域"></label-box>
293 305
                       </div>
294 306
                       <div style="flex: 1;">
295 307
                         内瘘震颤和血管杂音:
296
-                        <label-box :isChecked="record.assessment_before_dislysis.blood_access_noise == 1 ? true : false" showValue="存在"></label-box>
297
-                        <label-box :isChecked="record.assessment_before_dislysis.blood_access_noise == 2 ? true : false" showValue="减弱"></label-box>
298
-                        <label-box :isChecked="record.assessment_before_dislysis.blood_access_noise == 3 ? true : false" showValue="不存在"></label-box>
308
+                        <label-box :isChecked="record.assessment_before_dislysis.blood_access_noise == 1 ? true : false"
309
+                          showValue="存在"></label-box>
310
+                        <label-box :isChecked="record.assessment_before_dislysis.blood_access_noise == 2 ? true : false"
311
+                          showValue="减弱"></label-box>
312
+                        <label-box :isChecked="record.assessment_before_dislysis.blood_access_noise == 3 ? true : false"
313
+                          showValue="不存在"></label-box>
299 314
                       </div>
300 315
                     </div>
301 316
                   </td>
@@ -363,8 +378,8 @@
363 378
                           ? getAdminUser(monitor, "monitoring_nurse") : "/"
364 379
                         }}
365 380
                       </span>
366
-                      <img class="es-img" :src="setAdminUserES(monitor, 'monitoring_nurse')" alt=""
367
-                        srcset="" v-else style="height: 40px" />
381
+                      <img class="es-img" :src="setAdminUserES(monitor, 'monitoring_nurse')" alt="" srcset="" v-else
382
+                        style="height: 40px" />
368 383
                     </td>
369 384
 
370 385
                   </tr>
@@ -436,12 +451,12 @@
436 451
                         record.lastafterweight.weight_after).toFixed(1) }}kg</td>
437 452
                       <td v-if="advice_index === 2">干体重(DW):</td>
438 453
                       <td v-if="advice_index === 2">{{ record.assessment_before_dislysis.dry_weight ?
439
-                        record.assessment_before_dislysis.dry_weight : "0"}}kg</td>
454
+                        record.assessment_before_dislysis.dry_weight : "0" }}kg</td>
440 455
                       <td v-if="advice_index === 3">较干体重增加量:</td>
441 456
                       <td v-if="advice_index === 3">
442 457
                         {{ (record.assessment_before_dislysis.weight_before -
443 458
                           record.assessment_before_dislysis.dry_weight -
444
-                          record.assessment_before_dislysis.additional_weight).toFixed(2)}}kg
459
+                          record.assessment_before_dislysis.additional_weight).toFixed(2) }}kg
445 460
                       </td>
446 461
                       <td v-if="advice_index === 4">净脱水量:</td>
447 462
                       <td v-if="advice_index === 4">{{ record.assessment_after_dislysis.actual_ultrafiltration }}L</td>
@@ -452,7 +467,7 @@
452 467
                         {{ record.assessment_after_dislysis.weight_after == 0 ||
453 468
                           record.assessment_before_dislysis.weight_before == 0 ?
454 469
                           0 : (record.assessment_before_dislysis.weight_before -
455
-                            record.assessment_after_dislysis.weight_after ).toFixed(2)
470
+                            record.assessment_after_dislysis.weight_after).toFixed(2)
456 471
                         }}kg</td>
457 472
                     </tr>
458 473
                   </tbody>
@@ -564,7 +579,7 @@
564 579
                   <div class="inline_block" style="flex: 1">
565 580
                     透后体重:
566 581
                     <div class="under_line" style="width: 70px; text-align: center">
567
-                      <span v-if=" record.assessment_after_dislysis.weight_after!=''">
582
+                      <span v-if="record.assessment_after_dislysis.weight_after != ''">
568 583
                         <!-- {{
569 584
                           record.assessment_after_dislysis.weight_after
570 585
                             ? parseFloat(
@@ -573,7 +588,7 @@
573 588
                             ).toFixed(1)
574 589
                             : "/"
575 590
                         }} -->
576
-                            {{  record.assessment_after_dislysis.weight_after}}
591
+                        {{ record.assessment_after_dislysis.weight_after }}
577 592
                       </span>
578 593
                     </div>
579 594
                     kg
@@ -583,14 +598,15 @@
583 598
                     体重减少:
584 599
                     <div class="under_line" style="width: 70px; text-align: center">
585 600
 
586
-                     <span>{{ record.assessment_after_dislysis &&
587
-                                record.assessment_before_dislysis &&
588
-                                (record.assessment_before_dislysis.weight_before -record.assessment_after_dislysis.weight_after).toFixed(2)
589
-                                ? (record.assessment_before_dislysis.weight_before -
590
-                                record.assessment_after_dislysis.weight_after).toFixed(2)
591
-                              : "/" }}
601
+                      <span>{{ record.assessment_after_dislysis &&
602
+                        record.assessment_before_dislysis &&
603
+                        (record.assessment_before_dislysis.weight_before
604
+                          - record.assessment_after_dislysis.weight_after).toFixed(2)
605
+                        ? (record.assessment_before_dislysis.weight_before -
606
+                          record.assessment_after_dislysis.weight_after).toFixed(2)
607
+                        : "/" }}
592 608
 
593
-                       </span> 
609
+                      </span>
594 610
                     </div>
595 611
                     kg
596 612
                   </div>

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_twentyEight.vue View File

@@ -1400,7 +1400,7 @@
1400 1400
                     <td width="60" style="line-height: 20px">
1401 1401
                       电导度<br />mS/cm
1402 1402
                     </td>
1403
-                    <td width="60" style="line-height:20px" v-if="org_id == 10015">置换液流量<br />L/h</td>
1403
+                    <td width="60" style="line-height:20px" v-if="org_id == 10015">置换液流量<br />ml/min</td>
1404 1404
                     <td width="" style="line-height: 20px">病情变化及处理</td>
1405 1405
                   </tr>
1406 1406
 
@@ -1491,7 +1491,7 @@
1491 1491
                         monitor.conductivity ? monitor.conductivity : ""
1492 1492
                       }}
1493 1493
                     </td>
1494
-                    <td>
1494
+                    <td v-if="org_id == 10015">
1495 1495
                      &nbsp;{{ monitor.displacement_flow_quantity ? monitor.displacement_flow_quantity : "" }}
1496 1496
                     </td>
1497 1497
                     <td>

+ 29 - 0
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue View File

@@ -1749,6 +1749,35 @@ export default {
1749 1749
           }
1750 1750
       }
1751 1751
 
1752
+      if( this.$store.getters.xt_user.org.id == 10745 ){
1753
+          var year = date.getFullYear()
1754
+          var month = date.getMonth() + 1
1755
+          var day = date.getDate()
1756
+
1757
+          var hours = date.getHours()
1758
+          var minites = date.getMinutes()
1759
+
1760
+          if (month < 10) {
1761
+            month = '0' + month
1762
+          }
1763
+          if (day < 10) {
1764
+            day = '0' + day
1765
+          }
1766
+          if (hours < 10) {
1767
+            hours = '0' + hours
1768
+          }
1769
+          if (minites < 10) {
1770
+            minites = '0' + minites
1771
+          }
1772
+          if (this.schedulePatient.schedule_type == 1) {
1773
+            this.groupForm.start_time = year + '-' + month + '-' + day + ' ' + '6:30'
1774
+          } else if (this.schedulePatient.schedule_type == 2) {
1775
+            this.groupForm.start_time= year + '-' + month + '-' + day + ' ' + '11:30'
1776
+          } else if (this.schedulePatient.schedule_type == 3) {
1777
+           this.groupForm.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
1778
+          }
1779
+      }
1780
+
1752 1781
       if(this.$store.getters.xt_user.org.id == 10579  || this.$store.getters.xt_user.org.id == 10585 || this.$store.getters.xt_user.org.id == 10587 || this.$store.getters.xt_user.org.id == 10597 || this.$store.getters.xt_user.org.id == 10551 || this.$store.getters.xt_user.org.id == 10679 || this.$store.getters.xt_user.org.id == 10693 ||  this.$store.getters.xt_user.org.id == 10694 || this.$store.getters.xt_user.org.id == 10702 || this.$store.getters.xt_user.org.id == 10495 || this.$store.getters.xt_user.org.id == 10742){
1753 1782
         var date = new Date()
1754 1783
           var year = date.getFullYear()

+ 8 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -3290,6 +3290,14 @@ mu
3290 3290
               minites = '0' + minites
3291 3291
             }
3292 3292
             this.start_time = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
3293
+           }else if(this.$store.getters.xt_user.org.id == 10745){
3294
+              if (schedual.schedule_type == 1) {
3295
+              this.start_time = year + '-' + month + '-' + day + ' ' + '6:30'
3296
+            } else if (schedual.schedule_type == 2) {
3297
+              this.start_time = year + '-' + month + '-' + day + ' ' + '11:30'
3298
+            } else if (schedual.schedule_type == 3) {
3299
+              this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
3300
+            }
3293 3301
            } else {
3294 3302
             if (schedual.schedule_type == 1) {
3295 3303
               this.start_time = year + '-' + month + '-' + day + ' ' + '07:00'

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue View File

@@ -879,7 +879,7 @@
879 879
               <td width="60" style="line-height:20px">血流量<br />ml/min</td>
880 880
               <td width="60" style="line-height:20px">电导度<br />mS/cm</td>
881 881
 
882
-              <td width="60" style="line-height:20px" v-if="org_id == 10015">置换液流量<br />L/h</td>
882
+              <td width="60" style="line-height:20px" v-if="org_id == 10015">置换液流量<br />ml/min</td>
883 883
               <!-- <td width="60">钠浓度<br/>mmol/L</td>
884 884
           <td width="80">透析液温度<br/>℃</td>
885 885
           <td width="60">置换率<br/>ml/min</td> -->
@@ -936,7 +936,7 @@
936 936
               <td>
937 937
                 &nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}
938 938
               </td>
939
-              <td>
939
+              <td v-if="org_id == 10015">
940 940
                 &nbsp;{{ monitor.displacement_flow_quantity ? monitor.displacement_flow_quantity : "" }}
941 941
               </td>
942 942
               <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>

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

@@ -33,10 +33,10 @@
33 33
                       dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
34 34
                   </div>
35 35
                   <div style="flex: 1;">
36
-                    透析频次:
37
-                    <span style="display: inline-block;width: 50px;">
36
+                    透析频次:{{ predialysis.dialysis_count}}
37
+                    <!-- <span style="display: inline-block;">
38 38
                       {{ predialysis.dialysis_count}}
39
-                    </span>
39
+                    </span> -->
40 40
                   </div>
41 41
                 </div>
42 42
               </td>

+ 2 - 2
src/xt_pages/user/components/PatientDetail.vue View File

@@ -1049,11 +1049,11 @@
1049 1049
     </el-form>
1050 1050
     <!-- 打印预览 style="display: none"-->
1051 1051
     <div style="display: none">
1052
-      <div id="print-info-box" v-if="org_id !=10206 && org_id!=0">
1052
+      <div id="print-info-box" v-if="org_id !=10206 ">
1053 1053
         <div class="print_main_content" style="">
1054 1054
           <!-- <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
1055 1055
           <div class="order_title" v-if="org_id==10210">{{ orgname }} 血液透析住院病历</div> -->
1056
-          <div >
1056
+          <div style="width: 99%;">
1057 1057
             <table style="border-collapse: collapse;">
1058 1058
               <thead>
1059 1059
                 <tr>