Procházet zdrojové kódy

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

陈少旭 před 2 týdny
rodič
revize
79e9f160fc

+ 12 - 1
src/api/patient.js Zobrazit soubor

1624
     method:"get",
1624
     method:"get",
1625
     params:params
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 Zobrazit soubor

23
           <el-date-picker
23
           <el-date-picker
24
            @change="changeTime"
24
            @change="changeTime"
25
             v-model="value1"
25
             v-model="value1"
26
+            format="yyyy-MM-dd"
27
+            value-format="yyyy-MM-dd"
26
             type="daterange"
28
             type="daterange"
27
             range-separator="至"
29
             range-separator="至"
28
             start-placeholder="开始日期"
30
             start-placeholder="开始日期"
40
             </el-option>
42
             </el-option>
41
           </el-select>
43
           </el-select>
42
         </div>
44
         </div>
43
-        <div><el-button type="primary">查询</el-button></div>
45
+        <div><el-button type="primary" @click="getQuery">查询</el-button></div>
44
       </div>
46
       </div>
45
       <div style="margin:10px 0;">
47
       <div style="margin:10px 0;">
46
         <el-table border :data="tableData" style="width: 100%" :header-cell-style="{'text-align':'center'}" :cell-style="{'text-align':'center'}">
48
         <el-table border :data="tableData" style="width: 100%" :header-cell-style="{'text-align':'center'}" :cell-style="{'text-align':'center'}">
47
           <el-table-column prop="index" label="序号" width="">
49
           <el-table-column prop="index" label="序号" width="">
50
+             <template slot-scope="scope">
51
+                 {{ scope.$index+1 }}
52
+             </template>
48
           </el-table-column>
53
           </el-table-column>
49
           <el-table-column prop="name" label="患者姓名" width="">
54
           <el-table-column prop="name" label="患者姓名" width="">
55
+            <template slot-scope="scope">
56
+                 {{getPatientName(scope.row.patient_id)}}
57
+             </template>
50
           </el-table-column>
58
           </el-table-column>
51
           <el-table-column prop="HD" label="费用类别">
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
           </el-table-column>
64
           </el-table-column>
53
           <el-table-column prop="HDF" label="透析模式">
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
           </el-table-column>
73
           </el-table-column>
55
           <el-table-column prop="HD+HP" label="总次数">
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
           </el-table-column>
78
           </el-table-column>
57
           <el-table-column prop="address" label="操作" width="300">
79
           <el-table-column prop="address" label="操作" width="300">
58
             <template slot-scope="scope">
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
             </template>
82
             </template>
61
           </el-table-column>
83
           </el-table-column>
62
         </el-table>
84
         </el-table>
66
           @size-change="handleSizeChange"
88
           @size-change="handleSizeChange"
67
           @current-change="handleCurrentChange"
89
           @current-change="handleCurrentChange"
68
           :current-page="currentPage"
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
           layout="total, sizes, prev, pager, next, jumper"
93
           layout="total, sizes, prev, pager, next, jumper"
72
-          :total="400">
94
+          :total="total">
73
         </el-pagination>
95
         </el-pagination>
74
       </div>
96
       </div>
75
     </div>
97
     </div>
84
           <div> 
106
           <div> 
85
             <el-autocomplete
107
             <el-autocomplete
86
               class="inline-input"
108
               class="inline-input"
87
-              v-model="state1"
109
+               v-model.trim="smart_keyword"
88
               :fetch-suggestions="querySearch"
110
               :fetch-suggestions="querySearch"
89
               placeholder="请输入内容"
111
               placeholder="请输入内容"
90
               @select="handleSelect"
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
           </div>
120
           </div>
93
           <div>
121
           <div>
94
             日期查询:
122
             日期查询:
95
             <el-date-picker
123
             <el-date-picker
124
+              @change="changeTimeOne"
125
+               format="yyyy-MM-dd"
126
+              value-format="yyyy-MM-dd"
96
               v-model="value1"
127
               v-model="value1"
97
               type="daterange"
128
               type="daterange"
98
               range-separator="至"
129
               range-separator="至"
103
           </div>
134
           </div>
104
           <div>
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
               <el-option
138
               <el-option
108
                 v-for="item in options"
139
                 v-for="item in options"
109
                 :key="item.value"
140
                 :key="item.value"
114
           </div>
145
           </div>
115
           <div>
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
               <el-option
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
               </el-option>
154
               </el-option>
124
             </el-select>
155
             </el-select>
125
           </div>
156
           </div>
126
-          <div><el-button type="primary">查询</el-button></div>
157
+          <div><el-button type="primary" @click="queryCount">查询</el-button></div>
127
         </div>
158
         </div>
128
         <div style="margin: 10px 0;">
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
             <el-table-column prop="index" label="序号" width="">
161
             <el-table-column prop="index" label="序号" width="">
162
+               <template slot-scope="scope">
163
+                   {{ scope.$index+1 }}
164
+               </template>
131
             </el-table-column>
165
             </el-table-column>
132
             <el-table-column prop="name" label="患者姓名" width="">
166
             <el-table-column prop="name" label="患者姓名" width="">
167
+              <template slot-scope="scope">
168
+                 {{getPatientName(scope.row.patient_id)}}
169
+             </template>
133
             </el-table-column>
170
             </el-table-column>
134
             <el-table-column prop="HD" label="费用发生时间">
171
             <el-table-column prop="HD" label="费用发生时间">
172
+               <template slot-scope="scope">
173
+                  {{ getTime(scope.row.record_date) }}
174
+               </template>
135
             </el-table-column>
175
             </el-table-column>
136
             <el-table-column prop="HD" label="费用类别">
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
             </el-table-column>
181
             </el-table-column>
138
             <el-table-column prop="HDF" label="透析类型">
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
             </el-table-column>
190
             </el-table-column>
140
             <el-table-column prop="HD+HP" label="费用次数">
191
             <el-table-column prop="HD+HP" label="费用次数">
192
+              <template slot-scope="scope">
193
+                 {{ scope.row.count }}
194
+              </template>
141
             </el-table-column>
195
             </el-table-column>
142
             <el-table-column prop="address" label="创建人">
196
             <el-table-column prop="address" label="创建人">
197
+              <template slot-scope="scope">
198
+                {{ getAdminUser(scope.row.creater) }}
199
+              </template>
143
             </el-table-column>
200
             </el-table-column>
144
             <el-table-column prop="address" label="备注">
201
             <el-table-column prop="address" label="备注">
202
+              <template slot-scope="scope">
203
+                 {{ scope.row.remark }}
204
+              </template>
145
             </el-table-column>
205
             </el-table-column>
146
           </el-table>
206
           </el-table>
147
         </div>
207
         </div>
150
   </div>
210
   </div>
151
 </template>
211
 </template>
152
 <script>
212
 <script>
153
-import {getPatientMapList,getPatientCountFlowList} from "@/api/patient"
213
+import {getPatientMapList,getPatientCountFlowList,getPatientCountFlowById} from "@/api/patient"
214
+import {uParseTime } from "@/utils/tools";
154
   export default{
215
   export default{
155
     data(){
216
     data(){
156
       return{
217
       return{
170
         page:1,
231
         page:1,
171
         is_type:0,
232
         is_type:0,
172
         total:0,
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
     methods:{
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
       handleSelect(val){
284
       handleSelect(val){
177
         this.smart_keyword = val.name;
285
         this.smart_keyword = val.name;
178
         this.patient_id = val.id
286
         this.patient_id = val.id
202
        this.end_time = val[1]
310
        this.end_time = val[1]
203
        this.getlist()
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
       getlist(){
346
       getlist(){
221
         var params = {
347
         var params = {
229
         getPatientCountFlowList(params).then(response=>{
355
         getPatientCountFlowList(params).then(response=>{
230
           if(response.data.state == 1){
356
           if(response.data.state == 1){
231
              var list = response.data.data.list
357
              var list = response.data.data.list
358
+             console.log("list==============",list)
232
              this.tableData =[]
359
              this.tableData =[]
233
              this.tableData = list
360
              this.tableData = list
234
              var total = response.data.data.total
361
              var total = response.data.data.total
235
-
236
              this.total = total
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 Zobrazit soubor

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

+ 61 - 45
src/xt_pages/dialysis/batch_print/batch_print_order_eightythree.vue Zobrazit soubor

48
                           }}
48
                           }}
49
                         </div>
49
                         </div>
50
                         <div style="flex: 1;">
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
                         </div>
55
                         </div>
56
                       </div>
56
                       </div>
57
                     </td>
57
                     </td>
65
                   </tr>
65
                   </tr>
66
                   <tr>
66
                   <tr>
67
                     <td colspan="3">
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
                         <div class="inline_block" style="flex: 0.8;">
70
                         <div class="inline_block" style="flex: 0.8;">
71
                           T:
71
                           T:
72
                           <div class="under_line" style="width: 50px; text-align: center">
72
                           <div class="under_line" style="width: 50px; text-align: center">
129
                         治疗方式:
129
                         治疗方式:
130
                         <label-box :isChecked="record.prescription.mode_id == 1 ? true : false"
130
                         <label-box :isChecked="record.prescription.mode_id == 1 ? true : false"
131
                           showValue="HD"></label-box>&nbsp;
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
                         (<label-box
134
                         (<label-box
134
                           :isChecked="record.prescription.mode_id == 2 && record.prescription.displace_liqui_part == 1 ? true : false"
135
                           :isChecked="record.prescription.mode_id == 2 && record.prescription.displace_liqui_part == 1 ? true : false"
135
                           showValue="前稀释"></label-box>&nbsp;
136
                           showValue="前稀释"></label-box>&nbsp;
140
                           record.prescription.displace_liqui_value : "/" }} ml</span>
141
                           record.prescription.displace_liqui_value : "/" }} ml</span>
141
                         )&nbsp;&nbsp;
142
                         )&nbsp;&nbsp;
142
                         <label-box :isChecked="record.prescription.mode == 5 ? true : false" showValue="HF"></label-box>
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
                       </div>
148
                       </div>
146
                     </td>
149
                     </td>
147
                     <td style="line-height:30px;">
150
                     <td style="line-height:30px;">
157
                     <td colspan="3">
160
                     <td colspan="3">
158
                       <div style="display: flex;line-height:30px;">
161
                       <div style="display: flex;line-height:30px;">
159
                         <span>治疗抗凝:</span>
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
                         </span>U&nbsp;&nbsp;
169
                         </span>U&nbsp;&nbsp;
165
 
170
 
166
                         <label-box :isChecked="record.prescription.anticoagulant == 2 ? true : false"
171
                         <label-box :isChecked="record.prescription.anticoagulant == 2 ? true : false"
174
                           追加:
179
                           追加:
175
                           <span v-if="record.prescription.anticoagulant == 2">
180
                           <span v-if="record.prescription.anticoagulant == 2">
176
                             {{ record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi :
181
                             {{ record.prescription.anticoagulant_weichi ? record.prescription.anticoagulant_weichi :
177
-                            "0"}}
182
+                              "0" }}
178
                           </span>mg/h &nbsp;&nbsp;
183
                           </span>mg/h &nbsp;&nbsp;
179
                           总量:
184
                           总量:
180
                           <span v-if="record.prescription.anticoagulant == 2">
185
                           <span v-if="record.prescription.anticoagulant == 2">
181
                             {{ record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang
186
                             {{ record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang
182
-                            : "0"}}
187
+                              : "0" }}
183
                           </span>mg
188
                           </span>mg
184
                         </div>
189
                         </div>
185
                         &nbsp;&nbsp;
190
                         &nbsp;&nbsp;
202
                         </span>ml/h
207
                         </span>ml/h
203
                         <span>
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
                         </span>
216
                         </span>
209
 
217
 
210
                       </div>
218
                       </div>
252
                       <label-box
260
                       <label-box
253
                         :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('无绦纶套') != -1 ? true : false"
261
                         :isChecked="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('无绦纶套') != -1 ? true : false"
254
                         showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
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
                         showValue="人造血管"></label-box>&nbsp;
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
                         showValue="股静脉"></label-box>&nbsp;
268
                         showValue="股静脉"></label-box>&nbsp;
259
                       其他:
269
                       其他:
260
-                      <div style="display: inline-block;" 
270
+                      <div style="display: inline-block;"
261
                         v-if="QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id).indexOf('内瘘') == -1 &&
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
                         {{ QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id) }}
275
                         {{ QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id) }}
267
                       </div>
276
                       </div>
268
 
277
 
284
                     <div style="display: flex;">
293
                     <div style="display: flex;">
285
                       <div style="flex: 1;">
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
                           showValue="绳梯"></label-box>
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
                           showValue="扣眼"></label-box>
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
                           showValue="区域"></label-box>
304
                           showValue="区域"></label-box>
293
                       </div>
305
                       </div>
294
                       <div style="flex: 1;">
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
                       </div>
314
                       </div>
300
                     </div>
315
                     </div>
301
                   </td>
316
                   </td>
363
                           ? getAdminUser(monitor, "monitoring_nurse") : "/"
378
                           ? getAdminUser(monitor, "monitoring_nurse") : "/"
364
                         }}
379
                         }}
365
                       </span>
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
                     </td>
383
                     </td>
369
 
384
 
370
                   </tr>
385
                   </tr>
436
                         record.lastafterweight.weight_after).toFixed(1) }}kg</td>
451
                         record.lastafterweight.weight_after).toFixed(1) }}kg</td>
437
                       <td v-if="advice_index === 2">干体重(DW):</td>
452
                       <td v-if="advice_index === 2">干体重(DW):</td>
438
                       <td v-if="advice_index === 2">{{ record.assessment_before_dislysis.dry_weight ?
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
                       <td v-if="advice_index === 3">较干体重增加量:</td>
455
                       <td v-if="advice_index === 3">较干体重增加量:</td>
441
                       <td v-if="advice_index === 3">
456
                       <td v-if="advice_index === 3">
442
                         {{ (record.assessment_before_dislysis.weight_before -
457
                         {{ (record.assessment_before_dislysis.weight_before -
443
                           record.assessment_before_dislysis.dry_weight -
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
                       </td>
460
                       </td>
446
                       <td v-if="advice_index === 4">净脱水量:</td>
461
                       <td v-if="advice_index === 4">净脱水量:</td>
447
                       <td v-if="advice_index === 4">{{ record.assessment_after_dislysis.actual_ultrafiltration }}L</td>
462
                       <td v-if="advice_index === 4">{{ record.assessment_after_dislysis.actual_ultrafiltration }}L</td>
452
                         {{ record.assessment_after_dislysis.weight_after == 0 ||
467
                         {{ record.assessment_after_dislysis.weight_after == 0 ||
453
                           record.assessment_before_dislysis.weight_before == 0 ?
468
                           record.assessment_before_dislysis.weight_before == 0 ?
454
                           0 : (record.assessment_before_dislysis.weight_before -
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
                         }}kg</td>
471
                         }}kg</td>
457
                     </tr>
472
                     </tr>
458
                   </tbody>
473
                   </tbody>
564
                   <div class="inline_block" style="flex: 1">
579
                   <div class="inline_block" style="flex: 1">
565
                     透后体重:
580
                     透后体重:
566
                     <div class="under_line" style="width: 70px; text-align: center">
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
                           record.assessment_after_dislysis.weight_after
584
                           record.assessment_after_dislysis.weight_after
570
                             ? parseFloat(
585
                             ? parseFloat(
573
                             ).toFixed(1)
588
                             ).toFixed(1)
574
                             : "/"
589
                             : "/"
575
                         }} -->
590
                         }} -->
576
-                            {{  record.assessment_after_dislysis.weight_after}}
591
+                        {{ record.assessment_after_dislysis.weight_after }}
577
                       </span>
592
                       </span>
578
                     </div>
593
                     </div>
579
                     kg
594
                     kg
583
                     体重减少:
598
                     体重减少:
584
                     <div class="under_line" style="width: 70px; text-align: center">
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
                     </div>
610
                     </div>
595
                     kg
611
                     kg
596
                   </div>
612
                   </div>

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_twentyEight.vue Zobrazit soubor

1400
                     <td width="60" style="line-height: 20px">
1400
                     <td width="60" style="line-height: 20px">
1401
                       电导度<br />mS/cm
1401
                       电导度<br />mS/cm
1402
                     </td>
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
                     <td width="" style="line-height: 20px">病情变化及处理</td>
1404
                     <td width="" style="line-height: 20px">病情变化及处理</td>
1405
                   </tr>
1405
                   </tr>
1406
 
1406
 
1491
                         monitor.conductivity ? monitor.conductivity : ""
1491
                         monitor.conductivity ? monitor.conductivity : ""
1492
                       }}
1492
                       }}
1493
                     </td>
1493
                     </td>
1494
-                    <td>
1494
+                    <td v-if="org_id == 10015">
1495
                      &nbsp;{{ monitor.displacement_flow_quantity ? monitor.displacement_flow_quantity : "" }}
1495
                      &nbsp;{{ monitor.displacement_flow_quantity ? monitor.displacement_flow_quantity : "" }}
1496
                     </td>
1496
                     </td>
1497
                     <td>
1497
                     <td>

+ 29 - 0
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Zobrazit soubor

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
       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){
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
         var date = new Date()
1782
         var date = new Date()
1754
           var year = date.getFullYear()
1783
           var year = date.getFullYear()

+ 8 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Zobrazit soubor

3290
               minites = '0' + minites
3290
               minites = '0' + minites
3291
             }
3291
             }
3292
             this.start_time = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
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
            } else {
3301
            } else {
3294
             if (schedual.schedule_type == 1) {
3302
             if (schedual.schedule_type == 1) {
3295
               this.start_time = year + '-' + month + '-' + day + ' ' + '07:00'
3303
               this.start_time = year + '-' + month + '-' + day + ' ' + '07:00'

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue Zobrazit soubor

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

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrdereightythree.vue Zobrazit soubor

33
                       dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
33
                       dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
34
                   </div>
34
                   </div>
35
                   <div style="flex: 1;">
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
                       {{ predialysis.dialysis_count}}
38
                       {{ predialysis.dialysis_count}}
39
-                    </span>
39
+                    </span> -->
40
                   </div>
40
                   </div>
41
                 </div>
41
                 </div>
42
               </td>
42
               </td>

+ 2 - 2
src/xt_pages/user/components/PatientDetail.vue Zobrazit soubor

1049
     </el-form>
1049
     </el-form>
1050
     <!-- 打印预览 style="display: none"-->
1050
     <!-- 打印预览 style="display: none"-->
1051
     <div style="display: none">
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
         <div class="print_main_content" style="">
1053
         <div class="print_main_content" style="">
1054
           <!-- <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
1054
           <!-- <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
1055
           <div class="order_title" v-if="org_id==10210">{{ orgname }} 血液透析住院病历</div> -->
1055
           <div class="order_title" v-if="org_id==10210">{{ orgname }} 血液透析住院病历</div> -->
1056
-          <div >
1056
+          <div style="width: 99%;">
1057
             <table style="border-collapse: collapse;">
1057
             <table style="border-collapse: collapse;">
1058
               <thead>
1058
               <thead>
1059
                 <tr>
1059
                 <tr>