Browse Source

hah阿凡达

28169 2 weeks ago
parent
commit
be78bba72e

+ 9 - 0
src/api/dialysis.js View File

@@ -575,4 +575,13 @@ export function getPatientBefor(params){
575 575
     method:"Get",
576 576
     params:params,
577 577
   })
578
+}
579
+
580
+export function getPatientDialysisSolutionByPatientId(params){
581
+ 
582
+  return request({
583
+    url:"/api/schedule/getpatientdialysissolutionbypatientid",
584
+    method:"Get",
585
+    params:params,
586
+  })
578 587
 }

+ 65 - 0
src/api/patient.js View File

@@ -1532,4 +1532,69 @@ export function toReturnCheck(id,params){
1532 1532
     method:"get",
1533 1533
     params:params
1534 1534
   })
1535
+}
1536
+
1537
+export function savePatientOutCount(params){
1538
+
1539
+  return request({
1540
+    url:"/api/patient/savepatientoutcount",
1541
+    method:"Get",
1542
+    params:params,
1543
+  })
1544
+}
1545
+
1546
+export function getPatientOutCountList(params){
1547
+  
1548
+  return request({
1549
+    url:"/api/patient/getpatientoutcountlist",
1550
+    method:"get",
1551
+    params:params
1552
+  })
1553
+}
1554
+
1555
+
1556
+export function DeletePatientOutCount(id,params){
1557
+
1558
+  return request({
1559
+    url:"/api/patient/deletepatientoutcount?id="+id,
1560
+    method:"Get",
1561
+    params:params,
1562
+  })
1563
+}
1564
+
1565
+
1566
+export function checkPatientOutCount(id,params){
1567
+  
1568
+  return request({
1569
+    url:"/api/patient/checkpatientoutcount?id="+id,
1570
+    method:"get",
1571
+    params:params
1572
+  })
1573
+}
1574
+
1575
+export function returnPatientOutList(id,params){
1576
+  
1577
+  return request({
1578
+    url:"/api/patient/returnpatientoutlist?id="+id,
1579
+    method:"get",
1580
+    params:params
1581
+  })
1582
+}
1583
+
1584
+export function getPatientCountMapList(params){
1585
+  
1586
+  return request({
1587
+    url:"/api/patient/getpatientcountmaplist",
1588
+    method:"get",
1589
+    params:params,
1590
+  })
1591
+}
1592
+
1593
+export function getPatientCountFlow(params){
1594
+
1595
+  return request({
1596
+    url:"/api/patient/getpatientcountflow",
1597
+    method:"get",
1598
+    params:params,
1599
+  })
1535 1600
 }

+ 10 - 1
src/xt_pages/Pharmacy/PatientDispensing.vue View File

@@ -538,6 +538,7 @@ export default {
538 538
       console.log("state--",this.state)
539 539
       this.currentRow = val;
540 540
       console.log("this.currentRow", this.currentRow);
541
+    
541 542
       if (this.state == 1) {
542 543
         this.getpatientdetails(0);
543 544
       }
@@ -839,6 +840,12 @@ export default {
839 840
     },
840 841
     //获取患者信息详情
841 842
     getpatientdetails(val) {
843
+      // const loading = this.$loading({
844
+      //   lock: true,
845
+      //   text: "Loading",
846
+      //   spinner: "el-icon-loading",
847
+      //   background: "rgba(0, 0, 0, 0.7)",
848
+      // });
842 849
       console.log("val2332323223",this.currentRow)
843 850
       var params = {
844 851
         patient_id: this.currentRow.PatientID,
@@ -847,6 +854,7 @@ export default {
847 854
       };
848 855
       getpharmacycontent(params).then((res) => {
849 856
         if (res.data.state == 1) {
857
+          //  loading.close()
850 858
            var list = res.data.data.list;
851 859
            console.log("hhhhawoowowow",res.data.data)
852 860
            this.baseList =[]
@@ -876,7 +884,8 @@ export default {
876 884
             this.tableData = []
877 885
             this.tableData = list
878 886
           }
879
-          console.log("tableDatawoowow",this.tableData)
887
+          // console.log("tableDatawoowow",this.tableData)
888
+          // loading.close()
880 889
         } else {
881 890
           this.$message.error(res.data.msg);
882 891
         }

+ 1 - 0
src/xt_pages/Pharmacy/print/patientPrintTwo.vue View File

@@ -147,6 +147,7 @@ export default {
147 147
       this.times = times
148 148
       this.visibility = true;
149 149
       console.log("val",val)
150
+      this.tableData = []
150 151
       this.tableData = val
151 152
       this.Doctor = val[0].Doctor
152 153
       this.name = data.Name

+ 235 - 26
src/xt_pages/charging/chargin_kf.vue View File

@@ -6,18 +6,34 @@
6 6
     <div class="app-container">
7 7
       <div style="display: flex;">
8 8
         <div style="flex: 2;display: flex;justify-content: space-around;">
9
-          <div > <el-input v-model="input" placeholder="请输入内容"></el-input></div>
9
+          <!-- <div > <el-input v-model="input" placeholder="请输入内容"></el-input></div> -->
10
+          <el-autocomplete
11
+              class="inline-input"
12
+               v-model.trim="smart_keyword"
13
+              :fetch-suggestions="querySearch"
14
+              placeholder="请输入内容"
15
+              @select="handleSelect"
16
+              
17
+            >
18
+           <i class="el-icon-search el-input__icon" slot="suffix"></i>
19
+          <template slot-scope="{ item }">
20
+            <div class="name">{{ item.name }}</div>
21
+          </template>
22
+          </el-autocomplete>
10 23
           <div>
11 24
             日期查询:
12 25
             <el-date-picker
26
+             @change="changeTime"
13 27
               v-model="value1"
14 28
               type="daterange"
29
+              format="yyyy-MM-dd"
30
+              value-format="yyyy-MM-dd"
15 31
               range-separator="至"
16 32
               start-placeholder="开始日期"
17 33
               end-placeholder="结束日期">
18 34
             </el-date-picker>
19 35
           </div>
20
-          <div><el-button type="primary">查询</el-button></div>
36
+          <div><el-button type="primary" @click="query">查询</el-button></div>
21 37
           <el-button type="primary" @click="newkf_show=true">新增</el-button>
22 38
         </div>
23 39
         <div style="flex: 1;text-align: right;">
@@ -27,30 +43,59 @@
27 43
       <div style="margin:10px 0;">
28 44
         <el-table border :data="tableData" style="width: 100%" :header-cell-style="{'text-align':'center'}" :cell-style="{'text-align':'center'}">
29 45
           <el-table-column prop="index" label="序号" width="50">
46
+            <template slot-scope="scope">
47
+              {{scope.$index + 1}}
48
+             </template>
30 49
           </el-table-column>
31 50
           <el-table-column prop="name" label="患者姓名" width="">
51
+            <template slot-scope="scope">
52
+                {{getPatientName(scope.row.patient_id)}}
53
+             </template>
32 54
           </el-table-column>
33 55
           <el-table-column prop="HD" label="扣费时间">
56
+            <template slot-scope="scope">
57
+                {{getTime(scope.row.record_date)}}
58
+             </template>
34 59
           </el-table-column>
35 60
           <el-table-column prop="HDF" label="扣费类型">
61
+            <template slot-scope="scope">
62
+               <span v-if="scope.row.mode_id ==1">HD</span>
63
+               <span v-if="scope.row.mode_id ==2">HDF</span>
64
+               <span v-if="scope.row.mode_id ==3">HD+HP</span>
65
+               <span v-if="scope.row.mode_id ==4">HP</span>
66
+               <span v-if="scope.row.mode_id ==5">其他</span>
67
+             </template>
36 68
           </el-table-column>
37 69
           <el-table-column prop="HD+HP" label="扣费次数">
70
+            <template slot-scope="scope">
71
+                 {{ scope.row.count }}
72
+            </template>
38 73
           </el-table-column>
39 74
           <el-table-column prop="HP" label="状态">
75
+            <template slot-scope="scope">
76
+                <span v-if="scope.row.is_check ==1">已审核</span>
77
+                <span v-if="scope.row.is_check ==2">未审核</span>
78
+            </template>
40 79
           </el-table-column>
41 80
           <el-table-column prop="qita" label="创建人">
81
+            <template slot-scope="scope">
82
+              {{ getAdminUser(scope.row.creater) }}
83
+            </template>
42 84
           </el-table-column>
43 85
           <el-table-column prop="qita" label="备注">
86
+           <template slot-scope="scope">
87
+              {{ scope.row.remark }}
88
+           </template>
44 89
           </el-table-column>
45 90
           <el-table-column prop="address" label="操作" width="300">
46 91
             <template slot-scope="scope">
47
-              <span v-if="scope.row.examine==false">
48
-                <el-button type="primary" @click="cz_click(scope.row)" >反审核</el-button>
92
+              <span v-if="scope.row.is_check == 1">
93
+                <el-button type="primary" @click="cz_click(scope.row.id)" >反审核</el-button>
94
+              </span>
95
+              <span v-if="scope.row.is_check==2">
96
+                <el-button type="primary" @click="checkPatientOutCount(scope.row.id)">审核</el-button>
49 97
               </span>
50
-              <div v-if="scope.row.examine==true">
51
-                <el-button type="primary">审核</el-button>
52
-                <el-button type="danger">删除</el-button>
53
-              </div>
98
+              <el-button type="danger" @click="DeletePatientOutCount(scope.row.id,scope.$index)">删除</el-button>
54 99
             </template>
55 100
           </el-table-column>
56 101
         </el-table>
@@ -60,10 +105,10 @@
60 105
           @size-change="handleSizeChange"
61 106
           @current-change="handleCurrentChange"
62 107
           :current-page="currentPage"
63
-          :page-sizes="[100, 200, 300, 400]"
64
-          :page-size="100"
108
+          :page-sizes="[10, 20, 30, 40,50,100,200]"
109
+          :page-size="10"
65 110
           layout="total, sizes, prev, pager, next, jumper"
66
-          :total="400">
111
+          :total="total">
67 112
         </el-pagination>
68 113
       </div>
69 114
     </div>
@@ -78,30 +123,36 @@
78 123
           <el-form-item label="患者姓名:">
79 124
             <el-autocomplete
80 125
               class="inline-input"
81
-              v-model="state1"
126
+               v-model.trim="smart_keyword"
82 127
               :fetch-suggestions="querySearch"
83 128
               placeholder="请输入内容"
84 129
               @select="handleSelect"
85
-            ></el-autocomplete>
130
+              
131
+            >
132
+           <i class="el-icon-search el-input__icon" slot="suffix"></i>
133
+          <template slot-scope="{ item }">
134
+            <div class="name">{{ item.name }}</div>
135
+          </template>
136
+          </el-autocomplete>
86 137
           </el-form-item>
87 138
           <el-form-item label="透析模式:">
88
-            <el-select v-model="value" placeholder="请选择">
139
+            <el-select v-model="mode_id" placeholder="请选择">
89 140
               <el-option
90 141
                 v-for="item in options"
91
-                :key="item.value"
92
-                :label="item.label"
93
-                :value="item.value">
142
+                :key="item.mode_id"
143
+                :label="item.mode_name"
144
+                :value="item.mode_id">
94 145
               </el-option>
95 146
             </el-select>
96 147
           </el-form-item>
97 148
           <el-form-item label="次数:">
98
-            <el-input v-model="formLabelAlign.type"></el-input>
149
+            <el-input v-model="formLabelAlign.count" type="number"></el-input>
99 150
           </el-form-item>
100 151
           <el-form-item label="备注:">
101
-            <el-input type="textarea" :rows="2" v-model="formLabelAlign.type"></el-input>
152
+            <el-input type="textarea" :rows="2" v-model="formLabelAlign.remark"></el-input>
102 153
           </el-form-item>
103 154
           <el-form-item>
104
-            <el-button type="primary" @click="newkf_show = false">确 定</el-button>
155
+            <el-button type="primary" @click="savePatientOutCount">确 定</el-button>
105 156
             <el-button @click="newkf_show = false">取 消</el-button>
106 157
           </el-form-item>
107 158
         </el-form>
@@ -110,6 +161,10 @@
110 161
   </div>
111 162
 </template>
112 163
 <script>
164
+
165
+import { uParseTime } from "@/utils/tools";
166
+import {getPatientMapList,savePatientOutCount,getPatientOutCountList,DeletePatientOutCount,checkPatientOutCount,returnPatientOutList} from "@/api/patient"
167
+import { resetOptions } from "showdown";
113 168
   export default{
114 169
     data(){
115 170
       return{
@@ -121,20 +176,94 @@
121 176
         newkf_show:false,
122 177
         labelPosition:'right',
123 178
         formLabelAlign:{
124
-
179
+          count:"1",
180
+          remark:""
125 181
         },
126 182
         currentPage:1,
127 183
         value:'',
128
-        options:[],
129
-        tableData: [{ index: 1, name: '小米', HD: 1, HDF: 1, 'HD+HP': 1, 'qita': 1 ,examine:false}],
184
+        options:[
185
+          {mode_id:1,mode_name:"HD"},
186
+          {mode_id:2,mode_name:"HDF"},
187
+          {mode_id:3,mode_name:"HD+HP"},
188
+          {mode_id:4,mode_name:"HP"},
189
+          {mode_id:5,mode_name:"其他"}
190
+        ],
191
+        tableData: [],
192
+        smart_keyword:"",
193
+        patient_id:"",
194
+        mode_id:"",
195
+        limit:10,
196
+        page:1,
197
+        total:0,
198
+        patientList:[],
199
+        userList:[]
200
+    
130 201
       }
131 202
     },
132 203
     methods:{
204
+      query(){
205
+        this.getlist()
206
+      },
207
+      getAdminUser(creater){
208
+        var user_name = ""
209
+        for(let i=0;i<this.userList.length;i++){
210
+           if(creater == this.userList[i].id){
211
+              user_name = this.userList[i].name
212
+           }
213
+        }
214
+        return user_name
215
+      },
216
+      getTime(val) {
217
+         if(val < 0){
218
+           return ""
219
+         }
220
+         if(val == ""){
221
+          return ""
222
+         }else {
223
+          return uParseTime(val, '{y}-{m}-{d}')
224
+         }
225
+      },
226
+      getPatientName(id){
227
+        var name = ""
228
+        for(let i=0;i<this.patientList.length;i++){
229
+          if(id == this.patientList[i].id){
230
+            name = this.patientList[i].name
231
+          }
232
+        }
233
+        return name
234
+     },
235
+      handleSelect(val){
236
+        this.smart_keyword = val.name;
237
+        this.patient_id = val.id
238
+      },
133 239
       querySearch(queryString, cb){
134
-
240
+        let key = ''
241
+        if (queryString != undefined) {
242
+          key = queryString
243
+        }
244
+        let searchArray = []
245
+         var  params = {
246
+          keyword:key
247
+         }
248
+        getPatientMapList(params).then(response => {
249
+          if (response.data.state == 1) {
250
+            searchArray = response.data.data.patient
251
+            cb(searchArray)
252
+          } else {
253
+            this.$message.error(response.data.msg)
254
+            cb([])
255
+          }
256
+        })
257
+        return searchArray
135 258
       },
136
-      cz_click(row){
137
-        row.examine=true
259
+      cz_click(id){
260
+        returnPatientOutList(id).then(response=>{
261
+           if(response.data.state == 1){
262
+             var msg =  response.data.data.msg
263
+             this.$message.success("保存成功!")
264
+             this.getlist()
265
+           }
266
+        })
138 267
       },
139 268
       handleSizeChange(){
140 269
 
@@ -142,6 +271,86 @@
142 271
       handleCurrentChange(){
143 272
 
144 273
       },
274
+      savePatientOutCount(){
275
+        if(this.patient_id == 0){
276
+           this.$message.error("请选择患者")
277
+           return false
278
+        }
279
+        if(this.formLabelAlign.count == 0){
280
+           this.$message.error("请输入次数")
281
+           return false
282
+        }
283
+        if(this.mode_id == 0){
284
+           this.$message.error("请选择模式")
285
+           return false
286
+        }
287
+          var params = {
288
+            patient_id:this.patient_id,
289
+            count:this.formLabelAlign.count,
290
+            remark:this.formLabelAlign.remark,
291
+            mode_id:this.mode_id,
292
+          }
293
+        savePatientOutCount(params).then(response=>{
294
+           if(response.data.state == 1){
295
+              var msg = response.data.data.msg
296
+              this.$message.success("保存成功!")
297
+              this.newkf_show = false
298
+              this.getlist()
299
+           }
300
+        })
301
+      },
302
+      changeTime(val){
303
+       
304
+        this.start_time = val[0]
305
+        this.end_time = val[1]
306
+        this.getlist()
307
+      },
308
+      getlist(){
309
+       
310
+         var params = {
311
+          page:this.page,
312
+          limit:this.limit,
313
+          patient_id:this.patient_id,
314
+          start_time:this.start_time,
315
+          end_time:this.end_time,
316
+         }
317
+        getPatientOutCountList(params).then(response=>{
318
+          if(response.data.state ==1){
319
+            var list = response.data.data.list
320
+            this.tableData =[]
321
+            this.tableData = list
322
+            var total = response.data.data.total
323
+            this.total = total
324
+
325
+            this.patientList = response.data.data.patient
326
+           
327
+            this.userList = response.data.data.userList
328
+          
329
+          }
330
+        })
331
+      },
332
+      DeletePatientOutCount(id,index){
333
+          
334
+        DeletePatientOutCount(id,index).then(response=>{
335
+           
336
+          if(response.data.state == 1){
337
+            var msg =  response.data.data.msg
338
+            this.$message.success("删除成功!")
339
+            this.tableData.splice(index,1)
340
+          }
341
+        })
342
+      },
343
+      checkPatientOutCount(id){
344
+        checkPatientOutCount(id).then(response=>{
345
+          if(response.data.state == 1){
346
+              this.$message.success("保存成功!")
347
+              this.getlist()
348
+          }
349
+        })
350
+      }
351
+    },
352
+    created(){
353
+      this.getlist()
145 354
     }
146 355
   }
147 356
 </script>

+ 6 - 0
src/xt_pages/charging/charging_cz.vue View File

@@ -10,6 +10,7 @@
10 10
           <div>
11 11
             日期查询:
12 12
             <el-date-picker
13
+              @change="changeTime"
13 14
               v-model="value1"
14 15
               type="daterange"
15 16
               range-separator="至"
@@ -182,6 +183,11 @@
182 183
       }
183 184
     },
184 185
     methods:{
186
+      changeTime(val){
187
+        this.start_time = val[0]
188
+        this.end_time = val[1]
189
+        this.getlist()
190
+      },
185 191
       getPatientName(id){
186 192
        var name = ""
187 193
       for(let i=0;i<this.patientList.length;i++){

+ 167 - 37
src/xt_pages/charging/index.vue View File

@@ -6,9 +6,7 @@
6 6
     <div class="app-container">
7 7
       <div style="display: flex;margin-bottom: 10px;">
8 8
         <div style="flex: 1;">
9
-          <!-- <el-autocomplete class="inline-input" v-model="state1" :fetch-suggestions="querySearch" placeholder="请输入患者姓名"
10
-            @select="handleSelect"></el-autocomplete> -->
11
-
9
+         
12 10
             <el-autocomplete
13 11
               class="inline-input"
14 12
                v-model.trim="smart_keyword"
@@ -28,7 +26,7 @@
28 26
         </div>
29 27
       </div>
30 28
       <div>
31
-        <el-table border :data="tableData" style="width: 100%" 
29
+        <el-table border :data="tableList" style="width: 100%" 
32 30
           :header-cell-style="{'text-align':'center'}" 
33 31
           :cell-style="{'text-align':'center'}
34 32
         ">
@@ -39,39 +37,54 @@
39 37
           </el-table-column>
40 38
           <el-table-column prop="name" label="患者姓名" width="">
41 39
             <template slot-scope="scope">
42
-                {{getPatientName(scope.row.patient_id)}}
40
+                {{getPatientName(scope.row.id)}}
43 41
              </template>
44 42
           </el-table-column>
45 43
           <el-table-column prop="HD" label="HD">
46 44
             <template slot-scope="scope">
45
+              <span v-if="scope.row.hd_count>0">
47 46
                 {{scope.row.hd_count}}
47
+              </span>
48
+               
48 49
              </template>
49 50
           </el-table-column>
50 51
           <el-table-column prop="HDF" label="HDF">
51 52
             <template slot-scope="scope">
53
+              <span v-if="scope.row.hdf_count>0">
52 54
                 {{scope.row.hdf_count}}
55
+              </span>
56
+               
53 57
              </template>
54 58
           </el-table-column>
55 59
           <el-table-column prop="HD+HP" label="HD+HP">
56 60
             <template slot-scope="scope">
61
+              <span v-if="scope.row.hdhp_count>0">
57 62
                 {{scope.row.hdhp_count}}
63
+              </span>
64
+              
58 65
              </template>
59 66
           </el-table-column>
60 67
           <el-table-column prop="HP" label="HP">
61 68
             <template slot-scope="scope">
69
+              <span v-if="scope.row.hp_count>0">
62 70
                 {{scope.row.hp_count}}
71
+              </span>
72
+               
63 73
              </template>
64 74
           </el-table-column>
65 75
           <el-table-column prop="qita" label="其他">
66 76
             <template slot-scope="scope">
77
+              <span v-if="scope.row.other_count>0">
67 78
                 {{scope.row.other_count}}
79
+              </span>
80
+              
68 81
              </template>
69 82
           </el-table-column>
70 83
           <el-table-column prop="address" label="操作" width="300">
71 84
             <template slot-scope="scope">
72 85
               <el-button type="primary" @click="cz_click">充值</el-button>
73 86
               <el-button type="primary" @click="kf_click">扣费</el-button>
74
-              <el-button type="primary" @click="details_click(scope.row)">流水详情</el-button>
87
+              <el-button type="primary" @click="details_click(scope.row.id)">流水详情</el-button>
75 88
             </template>
76 89
           </el-table-column>
77 90
         </el-table>
@@ -81,10 +94,10 @@
81 94
           @size-change="handleSizeChange"
82 95
           @current-change="handleCurrentChange"
83 96
           :current-page="currentPage"
84
-          :page-sizes="[100, 200, 300, 400]"
85
-          :page-size="100"
97
+          :page-sizes="[10, 20, 30, 40,60,100,200,400,800,1000]"
98
+          :page-size="10"
86 99
           layout="total, sizes, prev, pager, next, jumper"
87
-          :total="400">
100
+          :total="total">
88 101
         </el-pagination>
89 102
       </div>
90 103
     </div>
@@ -96,19 +109,22 @@
96 109
       >
97 110
       <div>
98 111
         <div style="display: flex;justify-content: space-around;width: 60%;margin-bottom: 10px;">
99
-          <div>患者姓名:小米</div>
100
-          <div>HD次数:</div>
101
-          <div>HDF次数:</div>
102
-          <div>HD+HP次数:</div>
103
-          <div>HP次数:</div>
104
-          <div>其他次数:</div>
112
+          <div>患者姓名:{{ patient.name }}</div>
113
+          <div>HD次数:{{ patient.hd_count }}</div>
114
+          <div>HDF次数:{{ patient.hdf_count }}</div>
115
+          <div>HD+HP次数:{{ patient.hdhp_count }}</div>
116
+          <div>HP次数: {{ patient.hp_count }}</div>
117
+          <div>其他次数:{{ patient.other_count }}</div>
105 118
         </div>
106 119
         <div style="display: flex;justify-content: space-around;">
107 120
           <div>
108 121
             日期查询:
109 122
             <el-date-picker
123
+             @change="changeTime"
110 124
               v-model="value1"
111 125
               type="daterange"
126
+              format="yyyy-MM-dd"
127
+              value-format="yyyy-MM-dd"
112 128
               range-separator="至"
113 129
               start-placeholder="开始日期"
114 130
               end-placeholder="结束日期"
@@ -117,27 +133,27 @@
117 133
           </div>
118 134
           <div>
119 135
             费用类型:
120
-            <el-select v-model="value" placeholder="请选择" style="width: 100px;">
136
+            <el-select v-model="is_type" placeholder="请选择" style="width: 100px;">
121 137
               <el-option
122
-                v-for="item in options"
123
-                :key="item.value"
124
-                :label="item.label"
125
-                :value="item.value">
138
+                v-for="item in type_options"
139
+                :key="item.id"
140
+                :label="item.is_type"
141
+                :value="item.id">
126 142
               </el-option>
127 143
             </el-select>
128 144
           </div>
129 145
           <div>
130 146
             透析模式:
131
-            <el-select v-model="value" placeholder="请选择" style="width: 100px;">
147
+            <el-select v-model="mode_id" placeholder="请选择" style="width: 100px;">
132 148
               <el-option
133 149
                 v-for="item in options"
134
-                :key="item.value"
135
-                :label="item.label"
136
-                :value="item.value">
150
+                :key="item.mode_id"
151
+                :label="item.mode_name"
152
+                :value="item.mode_id">
137 153
               </el-option>
138 154
             </el-select>
139 155
           </div>
140
-          <div><el-button type="primary">查询</el-button></div>
156
+          <div><el-button type="primary" @click="queryList">查询</el-button></div>
141 157
         </div>
142 158
         <div style="margin: 10px 0;">
143 159
           <el-table border :data="tableData" style="width: 100%" :header-cell-style="{'text-align':'center'}" :cell-style="{'text-align':'center'}">
@@ -152,28 +168,63 @@
152 168
               </template>
153 169
             </el-table-column>
154 170
             <el-table-column prop="HD" label="费用发生时间">
171
+              <template slot-scope="scope">
172
+                {{getTime(scope.row.ctime)}}
173
+              </template>
155 174
             </el-table-column>
156 175
             <el-table-column prop="HD" label="费用类别">
176
+              <template slot-scope="scope">
177
+                  <span v-if="scope.row.is_type==1">充值</span>
178
+                  <span v-if="scope.row.is_type==2">扣费</span>
179
+              </template>
157 180
             </el-table-column>
158 181
             <el-table-column prop="HDF" label="透析类型">
182
+              <template slot-scop="scope">
183
+                 <span v-if="scope.row.mode_id==1">HD</span>
184
+                 <span v-if="scope.row.mode_id==2">HDF</span>
185
+                 <span v-if="scope.row.mode_id==3">HD+HP</span>
186
+                 <span v-if="scope.row.mode_id==4">HP</span>
187
+                 <span v-if="scope.row.mode_id==5">其他</span>
188
+              </template>
159 189
             </el-table-column>
160 190
             <el-table-column prop="HD+HP" label="费用次数">
191
+              <template slot-scope="scope">
192
+                   {{ scope.row.count }}
193
+              </template>
161 194
             </el-table-column>
162 195
             <el-table-column prop="address" label="创建人">
196
+              <template slot-scope="scope">
197
+                {{ getAdminUser(scope.row.creater) }}
198
+              </template>
163 199
             </el-table-column>
164 200
             <el-table-column prop="address" label="备注">
201
+              <template slot-scope="scope">
202
+                  {{ scope.row.remark }}
203
+              </template>
165 204
             </el-table-column>
166 205
           </el-table>
167 206
         </div>
207
+        <div style="margin-top: 10px;text-align: right;">
208
+        <el-pagination
209
+          @size-change="handleSizeChangeOne"
210
+          @current-change="handleCurrentChangeOne"
211
+          :current-page="currentPage"
212
+          :page-sizes="[10, 20, 30, 40,60,100,200,400,800,1000]"
213
+          :page-size="10"
214
+          layout="total, sizes, prev, pager, next, jumper"
215
+          :total="total_one">
216
+        </el-pagination>
217
+      </div>
168 218
       </div>
169 219
     </el-dialog>
170 220
   </div>
171 221
 </template>
172 222
 
173 223
 <script>
174
-import {getPatientMapList,getPatientCountList } from "@/api/patient"
224
+import {getPatientMapList,getPatientCountMapList,getPatientCountFlow  } from "@/api/patient"
175 225
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
176
-import { create } from "sortablejs";
226
+import { uParseTime } from "@/utils/tools";
227
+import patient from "../../router/modules/patient";
177 228
 export default {
178 229
   components: { BreadCrumb },
179 230
   data() {
@@ -186,7 +237,20 @@ export default {
186 237
       restaurants: [{value: '小米' }, { value: '小王' }],
187 238
       state1: '',
188 239
       tableData: [],
189
-      options:[{value:0,label:'全部'},{value:1,label:'充值'},{value:2,label:'扣费'}],
240
+      tableList:[],
241
+      type_options:[
242
+        {id:0,is_type:"全部"},
243
+        {id:1,is_type:"充值"},
244
+        {id:2,is_type:"扣费"},
245
+      ],
246
+      options:[
247
+       {mode_id:0,mode_name:"全部"},
248
+       {mode_id:1,mode_name:"HD"},
249
+       {mode_id:2,mode_name:"HDF"},
250
+       {mode_id:3,mode_name:"HD+HP"},
251
+       {mode_id:4,mode_name:"HP"},
252
+       {mode_id:5,mode_name:"其他"}
253
+      ],
190 254
       currentPage:1,
191 255
       details_show:false,
192 256
       smart_keyword:"",
@@ -194,10 +258,42 @@ export default {
194 258
       limit:10,
195 259
       page:1,
196 260
       total:0,
197
-      patientList:[]
261
+      patientList:[],
262
+      page_one:1,
263
+      limit_one:10,
264
+      total_one:0,
265
+      start_time:"",
266
+      end_time:"",
267
+      is_type:0,
268
+      mode_id:0,
269
+      patient:{}
198 270
     }
199 271
   },
200 272
   methods: {
273
+    getAdminUser(creater){
274
+        var user_name = ""
275
+        for(let i=0;i<this.userList.length;i++){
276
+           if(creater == this.userList[i].id){
277
+              user_name = this.userList[i].name
278
+           }
279
+        }
280
+        return user_name
281
+    },
282
+    getTime(val) {
283
+      if(val < 0){
284
+        return ""
285
+      }
286
+      if(val == ""){
287
+      return ""
288
+      }else {
289
+      return uParseTime(val, '{y}-{m}-{d}')
290
+      }
291
+    },
292
+    changeTime(val){
293
+      this.start_time = val[0]
294
+      this.end_time = val[1]
295
+      this.getlist()
296
+    },
201 297
     handleSelect(val){
202 298
         this.smart_keyword = val.name;
203 299
         this.patient_id = val.id
@@ -230,16 +326,50 @@ export default {
230 326
         return (restaurant.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0);
231 327
       };
232 328
     },
233
-  handleSizeChange(){
329
+  handleSizeChange(limit){
234 330
       this.limit = limit;
235
-      this.getList();
331
+      this.getlist();
236 332
     },
237
-    handleCurrentChange(){
333
+    handleCurrentChange(page){
238 334
       this.page = page;
239
-      this.getList();
335
+      this.getlist();
336
+    },
337
+    handleSizeChangeOne(limit){
338
+      this.limit_one = limit;
339
+      this.getlist();
240 340
     },
241
-    details_click(row){
341
+    handleCurrentChangeOne(page){
342
+      this.page_one = page;
343
+      this.getlist();
344
+    },
345
+    queryList(){
346
+      this.details_click(this.patient_id)
347
+    },
348
+    details_click(patient_id){
349
+      this.patient_id = 0
350
+      this.patient_id = patient_id
242 351
       this.details_show=true
352
+         var params = {
353
+          patient_id:patient_id,
354
+          start_time:this.start_time,
355
+          end_time:this.end_time,
356
+          is_type:this.is_type,
357
+          mode_id:this.mode_id,
358
+         }
359
+      getPatientCountFlow(params).then(response=>{
360
+         if(response.data.state == 1){
361
+           var list = response.data.data.list
362
+           this.tableList = []
363
+           this.tableList = list
364
+           var total = response.data.data.total
365
+           this.total_one = total
366
+           var patient= response.data.data.patient
367
+           this.patient = patient
368
+           this.userList = []
369
+           this.userList =  response.data.data.userList
370
+         }
371
+      })
372
+     
243 373
     },
244 374
     cz_click(){
245 375
       this.$router.push({path:'/dialysis/charging_cz'})
@@ -253,12 +383,12 @@ export default {
253 383
         page:this.page,
254 384
         patient_id:this.patient_id
255 385
       }
256
-    getPatientCountList(params).then(response=>{
386
+    getPatientCountMapList(params).then(response=>{
257 387
       if(response.data.state == 1){
258 388
         var list =  response.data.data.list
259 389
        
260
-        this.tableData = []
261
-        this.tableData = list
390
+        this.tableList = []
391
+        this.tableList = list
262 392
         this.total = response.data.data.total
263 393
         this.patientList = []
264 394
         this.patientList = response.data.data.patient

+ 4 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_eightyTwo.vue View File

@@ -1013,14 +1013,17 @@ export default {
1013 1013
               if(this.records[x].his_advices.length>0){
1014 1014
                 console.log(this.records, "this.records");
1015 1015
                 const arr = this.records[x].his_advices
1016
-                for(let i in arr ){
1016
+                if(this.org_id!=10727){
1017
+                  for(let i in arr ){
1017 1018
                   if(arr[i].delivery_way == '口服' || 
1018 1019
                     arr[i].delivery_way == '中药口服' ||
1019 1020
                     arr[i].delivery_way == '舌下含服'
1020 1021
                   ){
1021 1022
                     arr.splice(i,1)
1022 1023
                   }
1024
+                 }
1023 1025
                 }
1026
+               
1024 1027
               }
1025 1028
               // this.records[x].his_advices =advice
1026 1029
             }

+ 8 - 7
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -829,7 +829,7 @@
829 829
                         </div>
830 830
                         kg
831 831
                       </div>
832
-                      <div class="inline_block" style="flex: 1" v-if="org_id != 10469">
832
+                      <div class="inline_block" style="flex: 1" v-if="org_id != 10469 && org_id!=10745">
833 833
                         <span v-if="org_id != 10683">计划超滤量:</span>
834 834
                         <span v-if="org_id == 10683">预脱:</span>
835 835
                         <div class="under_line" style="width: 100px; text-align: center">
@@ -846,9 +846,10 @@
846 846
                           v-if="org_id != 10395 && org_id != 9829 && org_id != 10440 && org_id != 10469 && org_id != 10460 && org_id != 10624 && org_id != 10644">L</span>
847 847
                       </div>
848 848
 
849
-                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 10598">
850
-                        <span v-if="org_id != 10683">计划超滤量:</span>
849
+                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 10598 || org_id == 10745">
850
+                        <span v-if="org_id != 10683 && org_id!=10745">计划超滤量:</span>
851 851
                         <span v-if="org_id == 10683">预脱:</span>
852
+                        <span v-if="org_id == 10745">处方脱水量</span>
852 853
                         <div class="under_line" style="width: 100px; text-align: center">
853 854
                           {{
854 855
                             record.prescription &&
@@ -857,8 +858,8 @@
857 858
                               : "/"
858 859
                           }}
859 860
                         </div>
860
-                        <span v-if="org_id != 10598 && org_id != 10471"> ml</span>
861
-                        <span v-if="org_id == 10598 || org_id == 10471"> L</span>
861
+                        <span v-if="org_id != 10598 && org_id != 10471 && org_id!=10745"> ml</span>
862
+                        <span v-if="org_id == 10598 || org_id == 10471 || org_id == 10745"> L</span>
862 863
                       </div>
863 864
                       <div class="inline_block" style="flex: 1">
864 865
                         干体重:
@@ -1471,14 +1472,14 @@
1471 1472
                             }}
1472 1473
                           </td>
1473 1474
                           <td v-if="org_id != 10683">
1474
-                            <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10471 || org_id == 10744">
1475
+                            <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10471 || org_id == 10744 || org_id == 10726">
1475 1476
                               {{
1476 1477
                                 monitor_record.ultrafiltration_volume
1477 1478
                                   ? monitor_record.ultrafiltration_volume
1478 1479
                                   : "0"
1479 1480
                               }}
1480 1481
                             </span>
1481
-                            <span v-if="org_id != 9671 && org_id != 10440 && org_id != 10471 && org_id!=10744">
1482
+                            <span v-if="org_id != 9671 && org_id != 10440 && org_id != 10471 && org_id!=10744 && org_id!=10726">
1482 1483
                               {{
1483 1484
                                 monitor_record.ultrafiltration_volume
1484 1485
                                   ? monitor_record.ultrafiltration_volume

+ 21 - 4
src/xt_pages/dialysis/bloodPresssWatch.vue View File

@@ -719,6 +719,13 @@
719 719
           align="center"
720 720
           width="120"
721 721
         ></el-table-column>
722
+
723
+        <el-table-column
724
+          label="透析器/灌流器"
725
+          prop="dialysis_dialyszers_name"
726
+          align="center"
727
+          width="120"
728
+        ></el-table-column>
722 729
         <el-table-column
723 730
           prop="start_time"
724 731
           label="上机时间"
@@ -2070,7 +2077,17 @@ export default {
2070 2077
               SchedualPatientsTable["sch_time_int"] = response.data.data.schedule[i].schedule_date;
2071 2078
               SchedualPatientsTable["sch_time"] = parseTime(response.data.data.schedule[i].schedule_date,"{y}-{m}-{d}");
2072 2079
               SchedualPatientsTable["mode_id"] = response.data.data.schedule[i].mode_id
2080
+                
2081
+              if(response.data.data.schedule[i].prescription.dialyzer_perfusion_apparatus !=""){
2082
+                SchedualPatientsTable["dialysis_dialyszers_name"] = response.data.data.schedule[i].prescription.dialyzer_perfusion_apparatus 
2083
+              }
2084
+
2085
+              if(response.data.data.schedule[i].prescription.dialyzer_perfusion_apparatus ==""){
2086
+                SchedualPatientsTable["dialysis_dialyszers_name"] = response.data.data.schedule[i].prescription.dialysis_dialyszers + response.data.data.schedule[i].prescription.dialysis_irrigation 
2087
+              }
2088
+             
2073 2089
 
2090
+              
2074 2091
               if(response.data.data.schedule[i].patient!=null){
2075 2092
                  SchedualPatientsTable["dialysis_no"] = response.data.data.schedule[i].patient.dialysis_no;
2076 2093
                  SchedualPatientsTable["name"] =  response.data.data.schedule[i].patient.name;
@@ -3066,10 +3083,10 @@ export default {
3066 3083
          }
3067 3084
          console.log("监测统计",this.SchedualPatientsTableData)
3068 3085
 
3069
-         const multiHeader = [['序号','机号','排班日期','上机时间','透析号','姓名','透析模式','目标超滤量','透前血压','干体重','透前称重','透后称重','监测时间','','','','','','','透中血压','','','','','','','体温','','','','','','','呼吸','','','','','','','脉搏','','','','','','']]
3070
-         const header = ['','','','','','','','','','','','','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次',]
3071
-         const merges = ['A1:A2', 'B1:B2', 'C1:C2', 'D1:D2', 'E1:E2','F1:F2','G1:G2','H1:H2', 'I1:I2','J1:J2','K1:K2','L1:L2','M1:S1','T1:Z1','AA1:AG1','AH1:AN1','AO1:AU1']
3072
-        const filterVal = ['index', 'number', 'sch_time', 'start_time', 'dialysis_no', 'name', 'mode_name', 'target_ultrafiltration', 'pressure_name', 'dry_weight', 'dialysis_before_weight', 'dialysis_after_weight','start_time_one','start_time_two','start_time_three','start_time_four','start_time_five','start_time_six','start_time_seven','blood_press_one','blood_press_two','blood_press_three','blood_press_four','blood_press_five','blood_press_six','blood_press_seven','temperature_one','temperature_two','temperature_three','temperature_four','temperature_five','temperature_six','temperature_seven','breathing_rate_one','breathing_rate_two','breathing_rate_three','breathing_rate_four','breathing_rate_five','breathing_rate_six','breathing_rate_seven','pulse_frequency_one','pulse_frequency_two','pulse_frequency_three','pulse_frequency_four','pulse_frequency_five','pulse_frequency_six','pulse_frequency_seven']
3086
+         const multiHeader = [['序号','机号','排班日期','上机时间','透析号','姓名','透析模式','目标超滤量','透前血压','干体重','透前称重','透后称重','监测时间','','','','','','','透中血压','','','','','','','体温','','','','','','','呼吸','','','','','','','脉搏','','','','','','','透析器/灌流器']]
3087
+         const header = ['','','','','','','','','','','','','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次','']
3088
+         const merges = ['A1:A2', 'B1:B2', 'C1:C2', 'D1:D2', 'E1:E2','F1:F2','G1:G2','H1:H2', 'I1:I2','J1:J2','K1:K2','L1:L2','M1:S1','T1:Z1','AA1:AG1','AH1:AN1','AO1:AU1','AV1']
3089
+        const filterVal = ['index', 'number', 'sch_time', 'start_time', 'dialysis_no', 'name', 'mode_name', 'target_ultrafiltration', 'pressure_name', 'dry_weight', 'dialysis_before_weight', 'dialysis_after_weight','start_time_one','start_time_two','start_time_three','start_time_four','start_time_five','start_time_six','start_time_seven','blood_press_one','blood_press_two','blood_press_three','blood_press_four','blood_press_five','blood_press_six','blood_press_seven','temperature_one','temperature_two','temperature_three','temperature_four','temperature_five','temperature_six','temperature_seven','breathing_rate_one','breathing_rate_two','breathing_rate_three','breathing_rate_four','breathing_rate_five','breathing_rate_six','breathing_rate_seven','pulse_frequency_one','pulse_frequency_two','pulse_frequency_three','pulse_frequency_four','pulse_frequency_five','pulse_frequency_six','pulse_frequency_seven','dialysis_dialyszers_name']
3073 3090
 
3074 3091
          const data = this.formatJson(filterVal, this.SchedualPatientsTableData)
3075 3092
          const filename = '监测数据'

+ 36 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -1540,7 +1540,7 @@
1540 1540
 </template>
1541 1541
 
1542 1542
 <script>
1543
-  import { CreateGroupAdvice, GetSolution, postPrescription, postSoulution,saveInformation,getPatientRecordList,getPatientBefor } from '@/api/dialysis'
1543
+  import { CreateGroupAdvice, GetSolution, postPrescription, postSoulution,saveInformation,getPatientRecordList,getPatientBefor,getPatientDialysisSolutionByPatientId } from '@/api/dialysis'
1544 1544
   import { getDataConfig } from '@/utils/data'
1545 1545
   import { calculateAnticoagulantZL, uParseTime,replacementFlow } from '@/utils/tools'
1546 1546
   import store from '@/store'
@@ -3346,6 +3346,11 @@ mu
3346 3346
           this.getPatientBefor()
3347 3347
         }
3348 3348
 
3349
+        // if(this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id==10480){
3350
+            
3351
+        //   this.getPatientDialysisSolutionByPatientId()
3352
+        // } 
3353
+
3349 3354
        
3350 3355
 
3351 3356
 
@@ -4887,7 +4892,6 @@ mu
4887 4892
       }
4888 4893
     },
4889 4894
     changePrescription(id) {
4890
-      console.log("id233223232323232323",id)
4891 4895
       if(id != 2 && id!=5 && id!= 12&&id!=34 &&id!=35&&id!=35&&id!=36&&id!=37){
4892 4896
         this.dialysisPrescription.displace_liqui_value = ""
4893 4897
         this.dialysisPrescription.displace_liqui_part = ""
@@ -5237,6 +5241,15 @@ mu
5237 5241
          }
5238 5242
       })
5239 5243
     },
5244
+    getPatientDialysisSolution(){
5245
+        var params = {
5246
+          patient_id:patient_id,
5247
+          record_date:record_date
5248
+        }
5249
+      getPatientDialysisSolution(params).then(response=>{
5250
+
5251
+      })
5252
+    },
5240 5253
     unique(arr) {
5241 5254
       const res = new Map()
5242 5255
       return arr.filter((arr) => !res.has(arr.name) && res.set(arr.name, 1))
@@ -5273,7 +5286,27 @@ mu
5273 5286
             this.infoDialogVisible = false
5274 5287
           }
5275 5288
       })
5276
-     }
5289
+    },
5290
+    // getPatientDialysisSolutionByPatientId(){
5291
+    //    var patient_id = 0
5292
+    //    var record_date =""
5293
+    //    if(this.$route.query.patient_id!=undefined){
5294
+    //     patient_id =this.$route.query.patient_id
5295
+    //     record_date = uParseTime(this.$route.query.date, '{y}-{m}-{d}')
5296
+    //    }else{
5297
+    //     patient_id = this.patient.id
5298
+    //     record_date = this.record_date
5299
+    //    }
5300
+    //    var params = {
5301
+    //     patient_id:patient_id,
5302
+    //     record_date:record_date
5303
+    //    }
5304
+    //   getPatientDialysisSolutionByPatientId(params).then(response=>{
5305
+    //      if(response.data.state == 1){
5306
+    //        var dialysisSolution = response.data.data.dialysisSolution
5307
+    //      }
5308
+    //   })
5309
+    // }
5277 5310
   },
5278 5311
 
5279 5312
     watch: {

+ 1 - 1
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -2062,7 +2062,7 @@
2062 2062
                 org_id ==10432 ||
2063 2063
                 org_id ==10445 ||
2064 2064
                 org_id == 10395 || org_id == 10751 || org_id == 10752) &&
2065
-                org_id!=10694 && org_id!=10697 && org_id!=10721 && org_id!=10727
2065
+                org_id!=10694 && org_id!=10697 && org_id!=10721 && org_id!=10727 && org_id!=10744
2066 2066
             "
2067 2067
           >
2068 2068
             <el-form-item label="置换量(ml):" :prop="isName('置换量')"

+ 10 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -693,7 +693,8 @@
693 693
                           }}
694 694
                           </span>
695 695
                         </div>
696
-                        L
696
+                        <span v-if="org_id != 10726">L</span> 
697
+                        <span v-if="org_id == 10726">ml</span> 
697 698
                       </div>
698 699
 
699 700
                       <div v-if="org_id != 10598" class="inline_block" style="margin-left: 10px; flex: 1">
@@ -728,7 +729,8 @@
728 729
                           }}
729 730
                           </span>
730 731
                         </div>
731
-                        L
732
+                       <span v-if="org_id == 10726">ml</span>
733
+                       <span v-if="org_id != 10726">L</span>
732 734
                       </div>
733 735
                       <div class="inline_block" style="margin-left: 10px; flex: 1" v-if="org_id != 10683">
734 736
                         血流量:
@@ -917,7 +919,7 @@
917 919
                         </div>
918 920
                         kg
919 921
                       </div>
920
-                      <div class="inline_block" style="flex: 1" v-if="org_id != 10469">
922
+                      <div class="inline_block" style="flex: 1" v-if="org_id != 10469 && org_id!=10745">
921 923
                         <span v-if="org_id != 10683">计划超滤量:</span>
922 924
                         <span v-if="org_id == 10683">预脱:</span>
923 925
                         <div class="under_line" style="width: 100px; text-align: center">
@@ -934,7 +936,7 @@
934 936
                       </div>
935 937
 
936 938
 
937
-                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 10598">
939
+                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 10598 || org_id== 10745">
938 940
                         处方脱水量:
939 941
                         <div class="under_line" style="width: 100px; text-align: center">
940 942
                           {{
@@ -943,8 +945,8 @@
943 945
                               : "/"
944 946
                           }}
945 947
                         </div>
946
-                        <span v-if="org_id != 10598"> ml</span>
947
-                        <span v-if="org_id0 = 10598"> L</span>
948
+                        <span v-if="org_id != 10598 && org_id!=10745"> ml</span>
949
+                        <span v-if="org_id == 10598 || org_id == 10745"> L</span>
948 950
                       </div>
949 951
                       <div class="inline_block" style="flex: 1">
950 952
                         干体重:
@@ -1564,7 +1566,7 @@
1564 1566
                           </td>
1565 1567
 
1566 1568
                           <td v-if="org_id != 10644 && org_id != 10683">
1567
-                            <span v-if="org_id != 9671 && org_id != 10440 && org_id != 10617 && org_id!=10744">
1569
+                            <span v-if="org_id != 9671 && org_id != 10440 && org_id != 10617 && org_id!=10744&& org_id!=10726">
1568 1570
                               {{monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume: ""}}
1569 1571
                             </span>
1570 1572
                             <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10617">
@@ -1578,7 +1580,7 @@
1578 1580
                                 {{ monitor.ultrafiltration_volume ?monitor.ultrafiltration_volume : "0" }}
1579 1581
                               </span>
1580 1582
                             </span>
1581
-                            <span v-if="org_id==10744">
1583
+                            <span v-if="org_id==10744 || org_id == 10726">
1582 1584
                               {{ monitor.ultrafiltration_volume ?monitor.ultrafiltration_volume : "0" }}
1583 1585
                             </span>
1584 1586
                           </td>

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

@@ -1164,13 +1164,16 @@ export default {
1164 1164
           var doctorAdevieInfo = response.data.data.advices
1165 1165
           console.log('var tableAdvice',tableAdvice);
1166 1166
           var tableAdvice = []
1167
-          for(let i in doctorAdevieInfo){
1167
+          if(this.org_id!=10727){
1168
+           for(let i in doctorAdevieInfo){
1168 1169
             if(doctorAdevieInfo[i].delivery_way != '口服' && 
1169
-            doctorAdevieInfo[i].delivery_way != '中药口服' &&
1170
-            doctorAdevieInfo[i].delivery_way != '舌下含服'){
1170
+              doctorAdevieInfo[i].delivery_way != '中药口服' &&
1171
+              doctorAdevieInfo[i].delivery_way != '舌下含服'){
1171 1172
               tableAdvice.push(doctorAdevieInfo[i]) 
1172 1173
             }
1174
+           }
1173 1175
           }
1176
+       
1174 1177
           
1175 1178
           if (tableAdvice.length === 0) {
1176 1179
             var obj = { advice_name: '', start_time: '' }

+ 2 - 2
src/xt_pages/stock/drugs/drugBatchNumber.vue View File

@@ -134,8 +134,8 @@
134 134
         </el-table-column>
135 135
         <el-table-column prop="drug_name" label="该批次剩余库存" align="center">
136 136
           <template slot-scope="scope">
137
-           <span v-if="scope.row.stock_max_number >0">{{ scope.row.stock_max_number }}{{drug.max_unit}}</span> 
138
-           <span v-if="scope.row.stock_min_number >0">{{scope.row.stock_min_number}}{{drug.min_unit}}</span>
137
+           <span v-if="scope.row.stock_max_number >0">{{ scope.row.stock_max_number }}{{scope.row.max_unit}}</span> 
138
+           <span v-if="scope.row.stock_min_number >0">{{scope.row.stock_min_number}}{{scope.row.min_unit}}</span>
139 139
           </template>
140 140
         </el-table-column>
141 141
          <el-table-column prop="remake" label="备注" align="center">

+ 28 - 0
src/xt_pages/user/dryWeight.vue View File

@@ -7,6 +7,7 @@
7 7
         干体重:<el-input style="width:100px" v-model="dryweight" :disabled="true"></el-input>&nbsp;
8 8
          <el-button size="medium" type="primary" @click="dialogVisible =true" v-show="addShow">新增</el-button>
9 9
          <el-button size="medium" type="primary" @click="dialogVisible =true" v-show="adjustShow">调整</el-button>
10
+         <el-button type="primary" size="medium" @click="exportList">导出</el-button>
10 11
       </div>
11 12
       <el-table  :data="tableData" border style="width:100%">
12 13
       <el-table-column     prop="date"    label="时间"      align="center">
@@ -125,6 +126,33 @@
125 126
       }
126 127
     },
127 128
     methods: {
129
+      exportList(){
130
+      import('@/vendor/Export2Excel').then(excel => {
131
+      
132
+      
133
+          if(this.tableData!=null && this.tableData.length > 0){
134
+            for(let i=0;i<this.tableData.length;i++){
135
+              this.tableData[i].index = i+1
136
+              this.tableData[i].record_date =  this.CreateTime(this.tableData[i].ctime)
137
+            }
138
+         }
139
+         
140
+
141
+         const tHeader = ['序号','时间','调整值','干体重','医生','备注']
142
+         const filterVal = ['index','record_date', 'adjusted_value', 'dry_weight','user_name','remarks']
143
+        
144
+         const data = this.formatJson(filterVal, this.tableData)
145
+         
146
+         excel.export_json_to_excel({
147
+           header: tHeader,
148
+           data,
149
+           filename: '干体重'
150
+         })
151
+       })
152
+      },
153
+      formatJson(filterVal, jsonData) {
154
+        return jsonData.map(v => filterVal.map(j => v[j]));
155
+      },
128 156
       clickuseradvicecell(row, column, cell, event) {
129 157
       },
130 158
       onTranPatient: function(tranPatient) {

+ 2 - 0
src/xt_pages/user/weight.vue View File

@@ -7,6 +7,8 @@
7 7
             <span>当前时间 : <el-input  style="width:180px" v-model="current_date" disabled></el-input></span>
8 8
             <span class="weight">干体重 : <el-input  v-model="current_weight" style="width:180px;" disabled></el-input></span>
9 9
             <el-button class="Adjust" type="primary" icon="el-icon-refresh" size="medium" @click="dialogFormVisible = true">调整</el-button>
10
+
11
+           
10 12
         </div> 
11 13
       <el-table
12 14
       :data="weightList"