소스 검색

10月26日

yq1 1 년 전
부모
커밋
6076ffd0a1
100개의 변경된 파일121개의 추가작업 그리고 4433개의 파일을 삭제
  1. 0 1
      src/App.vue
  2. 0 33
      src/pages/advice/AdvicePage.vue
  3. 1 1
      src/pages/advice/DialysiAdive.vue
  4. 1 7
      src/pages/advice/DialysisAdviceDialog.vue
  5. 3 9
      src/pages/advice/DialysisAdviceOne.vue
  6. 1 17
      src/pages/advice/NormalAdviceTable.vue
  7. 3 32
      src/pages/allDoctorAdvice/indexs.vue
  8. 0 9
      src/pages/businessCenter/components/addCustomers.vue
  9. 1 18
      src/pages/businessCenter/components/project.vue
  10. 0 8
      src/pages/businessCenter/components/returnGoods.vue
  11. 0 8
      src/pages/businessCenter/components/time1.vue
  12. 0 10
      src/pages/businessCenter/components/warehouseOut.vue
  13. 0 2
      src/pages/businessCenter/components/warehousing.vue
  14. 2 7
      src/pages/businessCenter/components/withdrawal.vue
  15. 0 6
      src/pages/businessCenter/index.vue
  16. 3 3
      src/pages/businessCenter/quality.vue
  17. 1 17
      src/pages/console/managementConsole/index.vue
  18. 1 14
      src/pages/console/managementConsole/staff_role/editRole/index.vue
  19. 0 22
      src/pages/console/managementConsole/staff_role/editStaff/index.vue
  20. 0 24
      src/pages/console/managementConsole/staff_role/userManage/index.vue
  21. 2 7
      src/pages/doctorAdvice/components/Contagion.vue
  22. 0 5
      src/pages/doctorAdvice/components/CourseManagement.vue
  23. 3 9
      src/pages/doctorAdvice/components/DoctorManagement.vue
  24. 0 5
      src/pages/doctorAdvice/components/Education.vue
  25. 2 0
      src/pages/doctorAdvice/components/Inspection.vue
  26. 0 5
      src/pages/doctorAdvice/components/RescueRecord.vue
  27. 0 5
      src/pages/doctorAdvice/components/Scheduling.vue
  28. 0 23
      src/pages/doctorAdvice/components/deviceManagement.vue
  29. 0 23
      src/pages/doctorAdvice/components/medicationPlan.vue
  30. 0 23
      src/pages/doctorAdvice/components/recoverNotes.vue
  31. 1 24
      src/pages/doctorAdvice/components/signsRecord.vue
  32. 1 18
      src/pages/doctorAdvice/index.vue
  33. 1 1
      src/pages/dqc/basicInfo.vue
  34. 1 76
      src/pages/dqc/components/BarChart.vue
  35. 0 69
      src/pages/dqc/components/DepartmentProject.vue
  36. 0 14
      src/pages/dqc/components/DepartmentTime.vue
  37. 0 2
      src/pages/dqc/components/ScrollTop.vue
  38. 0 13
      src/pages/dqc/components/bloodPressure.vue
  39. 0 4
      src/pages/dqc/components/checkStatisticsPersonal.vue
  40. 2 3
      src/pages/dqc/components/dialysisProcess.vue
  41. 0 10
      src/pages/dqc/components/dialysisStatisticsAll.vue
  42. 0 2
      src/pages/dqc/components/dialysisStatisticsPersonal.vue
  43. 0 1
      src/pages/dqc/components/doctor.vue
  44. 1 16
      src/pages/dqc/components/office.vue
  45. 0 2
      src/pages/dqc/components/sufferer.vue
  46. 0 10
      src/pages/dqc/components/weight.vue
  47. 0 246
      src/pages/dqc/patientStatistics.vue
  48. 0 68
      src/pages/home/active.vue
  49. 1 245
      src/pages/home/index.vue
  50. 0 8
      src/pages/home/register/register.vue
  51. 0 8
      src/pages/home/verifyToken.vue
  52. 10 47
      src/pages/main/DetailsPage.vue
  53. 3 1
      src/pages/main/DialysisArea.vue
  54. 2 17
      src/pages/main/PatientBox.vue
  55. 2 16
      src/pages/main/RecordPage.vue
  56. 5 135
      src/pages/main/WaitingArea.vue
  57. 2 4
      src/pages/main/add_urgent_schedule.vue
  58. 1 30
      src/pages/main/all/doctorAdvice.vue
  59. 1 1
      src/pages/main/all/dryWeight.vue
  60. 3 1
      src/pages/main/beforeDialysis/index.vue
  61. 4 86
      src/pages/main/dialog/AcceptsDialog.vue
  62. 0 12
      src/pages/main/dialog/AssessmentDialog.vue
  63. 1 158
      src/pages/main/dialog/ComputerDialog.vue
  64. 5 11
      src/pages/main/dialog/DialysisConsumables.vue
  65. 1 285
      src/pages/main/dialog/DoubleDialog.vue
  66. 2 8
      src/pages/main/dialog/LongDialog.vue
  67. 4 86
      src/pages/main/dialog/MonitDialog.vue
  68. 3 59
      src/pages/main/dialog/OrdersDialog.vue
  69. 0 34
      src/pages/main/dialog/OrdersDialog_olddddd.vue
  70. 0 73
      src/pages/main/dialog/PlaneDialog.vue
  71. 0 2
      src/pages/main/dialog/PrescriptionDialog.vue
  72. 5 45
      src/pages/main/dialog/ThorougDialog.vue
  73. 3 3
      src/pages/main/dialog/TreatmentDialog.vue
  74. 0 14
      src/pages/main/dialog/TwoMenu.vue
  75. 2 3
      src/pages/main/dialog/new_order/AddNewOrders.vue
  76. 0 6
      src/pages/main/dialysis/AdviceTable.vue
  77. 0 34
      src/pages/main/dialysis/CourseManagement.vue
  78. 0 11
      src/pages/main/dialysis/DialysisTab.vue
  79. 0 19
      src/pages/main/dialysis/DryWeight.vue
  80. 0 301
      src/pages/main/dialysis/MissionTable.vue
  81. 0 24
      src/pages/main/dialysis/PassAssesment.vue
  82. 1 564
      src/pages/main/dialysis/RecordTable.vue
  83. 1 19
      src/pages/main/dialysis/RescueRecord.vue
  84. 0 205
      src/pages/main/dialysis/SchedulTable.vue
  85. 0 39
      src/pages/main/dialysis/TreatSummary.vue
  86. 0 10
      src/pages/main/index.vue
  87. 0 30
      src/pages/main/newActionBar/components/adviceTemplate.vue
  88. 20 21
      src/pages/main/newActionBar/components/checkBoxMenu.vue
  89. 0 2
      src/pages/main/newActionBar/components/lastOrNextAdvice.vue
  90. 1 6
      src/pages/main/newActionBar/components/modifyOrder.vue
  91. 0 2
      src/pages/main/newActionBar/components/newAddOrder.vue
  92. 0 7
      src/pages/main/newActionBar/components/singature.vue
  93. 0 43
      src/pages/main/newActionBar/consumables.vue
  94. 1 7
      src/pages/main/newActionBar/doctorAdvice.vue
  95. 1 36
      src/pages/main/newActionBar/monitoring.vue
  96. 1 7
      src/pages/main/newActionBar/patientSign.vue
  97. 3 625
      src/pages/main/today/TodayTab.vue
  98. 0 23
      src/pages/main/today/assessmentAfter.vue
  99. 1 68
      src/pages/main/today/assessmentBefore.vue
  100. 0 0
      src/pages/main/today/dialysisMonitoring.vue

+ 0 - 1
src/App.vue 파일 보기

@@ -36,7 +36,6 @@ export default {
36 36
   created() {}
37 37
 };
38 38
 </script>
39
-
40 39
 <style lang="scss" scoped>
41 40
 #app {
42 41
   height: 100%;

+ 0 - 33
src/pages/advice/AdvicePage.vue 파일 보기

@@ -1,39 +1,6 @@
1 1
 .<template>
2 2
   <div>
3 3
     <van-row class="top_row" style="display:none">
4
-      <!-- <van-col :span="9">
5
-        <div style="visibility: hidden">
6
-          <span class="title"></span>
7
-        </div>
8
-      </van-col>
9
-      <van-col :span="14">
10
-        <div class="department">
11
-          <ul>
12
-            <li
13
-              v-for="(item,i) in ['透析临嘱','普通医嘱']"
14
-              :key="i"
15
-              :class="index == i? 'active':'' "
16
-              @click="ClickTab(i)"
17
-            >{{item}}</li>
18
-          </ul>
19
-        </div>
20
-      </van-col>
21
-
22
-      <van-col :span="4">
23
-        <router-link to="/add_urgent_schedule"></router-link>
24
-        <div class="search" style="visibility: hidden">
25
-          <van-field v-model="search_input" ref="search_field" placeholder="透析号/姓名" class="field">
26
-            <i class="iconfont" slot="left-icon">&#xe741;</i>
27
-            <van-button
28
-              slot="button"
29
-              size="small"
30
-              type="info"
31
-              style="border: none;"
32
-              @click="searchWithKeyword"
33
-            >搜索</van-button>
34
-          </van-field>
35
-        </div>
36
-      </van-col>-->
37 4
       <div class="newSearch1">
38 5
         <el-input
39 6
           prefix-icon="el-icon-search"

+ 1 - 1
src/pages/advice/DialysiAdive.vue 파일 보기

@@ -100,7 +100,7 @@
100 100
            
101 101
             <th width="60px">医嘱内容</th>
102 102
           </tr>
103
-          <template v-for="(schedules, zone_name, index) in filtedScheduals">
103
+          <template v-for="(schedules, zone_name, index) in filtedScheduals" >
104 104
             <tr :key="index">
105 105
               <td>{{ zone_name }}</td>
106 106
               <td></td>

+ 1 - 7
src/pages/advice/DialysisAdviceDialog.vue 파일 보기

@@ -28,13 +28,10 @@
28 28
                     <van-icon name="arrow-down" />
29 29
                 </div>
30 30
             </div>
31
-        
32 31
         </div>
33
-
34 32
       
35 33
         <div class="consumablesList">
36 34
           
37
-             
38 35
           <el-table
39 36
             :data="tableDataList"
40 37
             border
@@ -82,10 +79,8 @@
82 79
               </span>
83 80
             </template>
84 81
           </el-table-column>
85
-        </el-table>
86
-        
82
+        </el-table>     
87 83
         </div>
88
-
89 84
         <!-- 弹出层 -->
90 85
         <div>
91 86
             <van-popup
@@ -625,7 +620,6 @@ export default {
625 620
   created () {
626 621
     this.getAllZone()
627 622
   }
628
-
629 623
 }
630 624
 </script>
631 625
 

+ 3 - 9
src/pages/advice/DialysisAdviceOne.vue 파일 보기

@@ -27,14 +27,10 @@
27 27
                     {{ area }}
28 28
                     <van-icon name="arrow-down" />
29 29
                 </div>
30
-            </div>
31
-        
30
+            </div> 
32 31
         </div>
33
-
34 32
       
35
-        <div class="consumablesList">
36
-          
37
-             
33
+        <div class="consumablesList">                   
38 34
           <el-table
39 35
             :data="tableDataList"
40 36
             border
@@ -95,10 +91,8 @@
95 91
               </span>
96 92
             </template>
97 93
           </el-table-column>
98
-        </el-table>
99
-        
94
+        </el-table>       
100 95
         </div>
101
-
102 96
         <!-- 弹出层 -->
103 97
         <div>
104 98
             <van-popup

+ 1 - 17
src/pages/advice/NormalAdviceTable.vue 파일 보기

@@ -62,23 +62,13 @@
62 62
                 v-for="scheduleType in schedule_types"
63 63
                 :key="scheduleType.value"
64 64
                 @click="handletimeType(scheduleType.value)"
65
-                :class="
66
-                  schedule_type_selected == scheduleType.value ? 'tick' : ''
67
-                "
65
+                :class=" schedule_type_selected == scheduleType.value ? 'tick' : ''"
68 66
               >
69 67
                 {{ scheduleType.text }}
70 68
               </li>
71 69
             </ul>
72 70
           </div>
73 71
         </el-popover>
74
-        <!--<el-popover placement="bottom" trigger="click" v-model="show_advice_type_selector">-->
75
-        <!--<li slot="reference">{{advice_types[advice_type_selected].text}}<span class="iconfont">&#xe74a;</span></li>-->
76
-        <!--<div class="popover-demo-content">-->
77
-        <!--<ul>-->
78
-        <!--<li v-for="type in advice_types" :key="type.value" @click="handleAdviceType(type.value)" :class="advice_type_selected == type.value ? 'tick' : ''" >{{type.text}}</li>-->
79
-        <!--</ul>-->
80
-        <!--</div>-->
81
-        <!--</el-popover>-->
82 72
 
83 73
         <li @click="openPicker()">
84 74
           {{ selected_date_str }}
@@ -203,7 +193,6 @@
203 193
         />
204 194
       </div>
205 195
     </div>
206
-    <!--<div class="NoData" v-show="zones.length <= 1"><img src="@/assets/login/data.jpg" alt=""></div>-->
207 196
 
208 197
     <mt-datetime-picker
209 198
       v-model="selected_date"
@@ -230,7 +219,6 @@ export default {
230 219
     return {
231 220
       selected_date: new Date(),
232 221
       admin_user: [],
233
-
234 222
       show_sch_type_selector: false,
235 223
       schedule_type_selected: 0,
236 224
       schedule_types: [
@@ -239,12 +227,10 @@ export default {
239 227
         { value: 2, text: '下午' },
240 228
         { value: 3, text: '晚上' }
241 229
       ],
242
-
243 230
       show_zone_selector: false,
244 231
       zone_selected: 0,
245 232
       show_patient_type_selector: false,
246 233
       zones: [{ value: 0, text: '全部分区', select: true }],
247
-
248 234
       show_advice_type_selector: false,
249 235
       advice_type_selected: 0,
250 236
       advice_types: [
@@ -252,14 +238,12 @@ export default {
252 238
         { value: 1, text: '长期医嘱' },
253 239
         { value: 3, text: '临时医嘱' }
254 240
       ],
255
-
256 241
       patient_types: [
257 242
         { value: 0, text: '全部病人' },
258 243
         { value: 1, text: '我的病人' },
259 244
         { value: 2, text: '未执行病人' }
260 245
       ],
261 246
       patient_selected: 0,
262
-
263 247
       scheduleMap: {}
264 248
     }
265 249
   },

+ 3 - 32
src/pages/allDoctorAdvice/indexs.vue 파일 보기

@@ -270,7 +270,7 @@ export default {
270 270
             }
271 271
           }
272 272
           this.childList = objarr
273
-          console.log('childList', this.childList)
273
+          // console.log('childList', this.childList)
274 274
           let dataInfo = {}
275 275
           doctorAdvicedetail.forEach((item, index) => {
276 276
             let { start_time } = item
@@ -285,36 +285,7 @@ export default {
285 285
           let list = Object.values(dataInfo) // list 转换成功的数据
286 286
           let arr = []
287 287
 
288
-          // list.map(item => {
289
-          //   let arr2 = [];
290
-          //   if (item.child.length > 1) {
291
-          //     item.child.map(it => {
292
-          //       if (arr.indexOf(it.advice_date) == -1) {
293
-          //         arr.push(it.advice_date);
294
-          //       } else {
295
-          //         delete it["advice_date"];
296
-          //       }
297
-          //     });
298
-          //     for (var i = item.child.length - 1; i != -1; i--) {
299
-          //       let obj = {};
300
-          //       obj.checker = item.child[i].checker;
301
-          //       obj.execution_staff = item.child[i].execution_staff;
302
-          //       obj.user_name = item.child[i].advice_doctor;
303
-          //       if (
304
-          //         JSON.stringify(arr2).includes(JSON.stringify(obj)) == false
305
-          //       ) {
306
-          //         arr2.push(obj);
307
-          //       } else {
308
-          //         console.log("删除");
309
-          //         delete item.child[i]["checker"];
310
-          //         delete item.child[i]["execution_staff"];
311
-          //         delete item.child[i]["advice_doctor"];
312
-          //       }
313
-          //     }
314
-          //   }
315
-          // });
316
-
317
-          console.log('list是 ', list)
288
+          // console.log('list是 ', list)
318 289
           this.doctorAdvicedetail = list
319 290
         }
320 291
       })
@@ -330,7 +301,7 @@ export default {
330 301
       getAllDoctor().then(response => {
331 302
         if (response.data.state === 1) {
332 303
           var doctor = response.data.data.doctor
333
-          console.log('doctor', doctor)
304
+          // console.log('doctor', doctor)
334 305
           this.doctor = doctor
335 306
         }
336 307
       })

+ 0 - 9
src/pages/businessCenter/components/addCustomers.vue 파일 보기

@@ -410,7 +410,6 @@ export default {
410 410
   .active {
411 411
     background: rgba(51, 138, 251, 1);
412 412
     color: #fff;
413
-    // border: 1px solid #338afb;
414 413
   }
415 414
 
416 415
   }
@@ -424,12 +423,6 @@ export default {
424 423
     font-size: 0.875rem;
425 424
     border-radius: 30px;
426 425
   }
427
-  /*.toolBox {*/
428
-
429
-  /*/ / display: flex;*/
430
-  /*/ / height: 2.5 rem;*/
431
-  /*/ / align-items: center;*/
432
-
433 426
   .toolOne {
434 427
     width: 6.25rem;
435 428
     height: 1.875rem;
@@ -441,10 +434,8 @@ export default {
441 434
     display: flex;
442 435
     align-items: center;
443 436
     justify-content: space-around;
444
-    /*/ / margin-left: 0.8125 rem;*/
445 437
   }
446 438
 
447
-  /*}*/
448 439
   .chart {
449 440
     font-size: 1rem;
450 441
     font-weight: bold;

+ 1 - 18
src/pages/businessCenter/components/project.vue 파일 보기

@@ -14,22 +14,6 @@
14 14
               </div>
15 15
             </div>
16 16
         </div>
17
-        <!-- <div class="quarterBox" v-if="type == '按季度统计对比'">
18
-            <p :class="Num == 1 ? 'active' : ''" @click="onClick(1)">第一季度</p>
19
-            <p :class="Num == 2 ? 'active' : ''" @click="onClick(2)">第二季度</p>
20
-            <p :class="Num == 3 ? 'active' : ''" @click="onClick(3)">第三季度</p>
21
-            <p :class="Num == 4 ? 'active' : ''" @click="onClick(4)">第四季度</p>
22
-        </div> -->
23
-        <!-- <div class="month" v-if="type == '按月份统计对比'">
24
-            <div class="monthBox" ref="nav">
25
-                <p
26
-                v-for="(item, index) in monthArr"
27
-                :key="index"
28
-                :class="month == index ? 'active' : ''"
29
-                @click="clickMonth(index)"
30
-                >{{ item }}</p>
31
-            </div>
32
-        </div> -->
33 17
 
34 18
         <div class="chart2">统计图</div>
35 19
         <bar-chart :options="options"></bar-chart>
@@ -1590,6 +1574,7 @@ export default {
1590 1574
 }
1591 1575
 </script>
1592 1576
 
1577
+
1593 1578
 <style lang="scss" scoped>
1594 1579
 .page_project{
1595 1580
     .optionsBox {
@@ -1690,7 +1675,6 @@ export default {
1690 1675
     font-weight: bold;
1691 1676
     margin-left: 0.8125rem;
1692 1677
     color: #000;
1693
-    // margin-top: 1.375rem;
1694 1678
   }
1695 1679
   .rangeBox {
1696 1680
     margin-left: 0.8125rem;
@@ -1730,5 +1714,4 @@ export default {
1730 1714
   height: 0 !important;
1731 1715
   width: 0;
1732 1716
 }
1733
-
1734 1717
 </style>

+ 0 - 8
src/pages/businessCenter/components/returnGoods.vue 파일 보기

@@ -32,7 +32,6 @@
32 32
           </template>
33 33
         </el-table-column>
34 34
         <!--style="color: #579ef8"-->
35
-
36 35
         <el-table-column label="数量" align="center" width="80">
37 36
           <template slot-scope="scope">
38 37
             <span
@@ -120,7 +119,6 @@
120 119
                 }
121 120
               }
122 121
 
123
-
124 122
             } else {
125 123
               this.$toast({
126 124
                 message: resp.msg
@@ -130,10 +128,7 @@
130 128
           .catch(error => {
131 129
 
132 130
           })
133
-
134
-
135 131
       },
136
-
137 132
       onClick(id) {
138 133
         if (id == 1) {
139 134
           this.Num = 1;
@@ -142,9 +137,7 @@
142 137
         } else if (id == 3) {
143 138
           this.Num = 3;
144 139
         }
145
-
146 140
         switch (this.Num) {
147
-
148 141
           case 1: //近1个月
149 142
             this.currentDate1 = new Date(new Date().setMonth(new Date().getMonth() + 1)),
150 143
               this.currentDate2 = new Date()
@@ -174,7 +167,6 @@
174 167
             this.GetStockInfo(this.query)
175 168
             break
176 169
         }
177
-
178 170
       },
179 171
       getstartTime(value) {
180 172
         this.Num = 0

+ 0 - 8
src/pages/businessCenter/components/time1.vue 파일 보기

@@ -149,17 +149,11 @@ export default {
149 149
       currentDate: new Date(),
150 150
       startTime: '请选择',
151 151
       endTime: '请选择',
152
-      // minDate: new Date(1970, 0, 1),
153
-      // maxDate: new Date(2025, 10, 1),
154 152
       options: {
155 153
         title: {
156 154
           text: 'ECharts 入门示例'
157 155
         },
158 156
         tooltip: {},
159
-        // legend: {
160
-        //   data: ["达标率%"],
161
-        //   left: 0
162
-        // },
163 157
         xAxis: {
164 158
           data: [],
165 159
           axisLabel: {
@@ -208,7 +202,6 @@ export default {
208 202
             // 配置样式
209 203
             itemStyle: {
210 204
               // 通常情况下:
211
-
212 205
               // 每个柱子的颜色即为colorList数组里的每一项,如果柱子数目多于colorList的长度,则柱子颜色循环使用该数组
213 206
               normal: {
214 207
                 color: function (params) {
@@ -224,7 +217,6 @@ export default {
224 217
                     ['#D7C3FD', '#B3A8F7'],
225 218
                     ['#D7C3FD', '#B3A8F7']
226 219
                   ]
227
-
228 220
                   var index = params.dataIndex
229 221
                   if (params.dataIndex >= colorList.length) {
230 222
                     index = params.dataIndex % colorList.length

+ 0 - 10
src/pages/businessCenter/components/warehouseOut.vue 파일 보기

@@ -35,7 +35,6 @@
35 35
 
36 36
             </template>
37 37
           </el-table-column>
38
-          <!--style="color: #579ef8"-->
39 38
 
40 39
           <el-table-column label="数量" align="center" width="80">
41 40
             <template slot-scope="scope">
@@ -46,13 +45,8 @@
46 45
           </el-table-column>
47 46
           <el-table-column label="总价" align="center" width="80">
48 47
             <template slot-scope="scope">
49
-              <!--<span>{{scope.row}}</span>-->
50
-              <!--<span>{{scope.row.query_warehouseout_info.total_price}}</span>-->
51 48
               <span v-if="scope.row.is_total == 1">{{getTotal(scope.row)}}</span>
52 49
               <span v-if="scope.row.is_total == 2">{{scope.row.total}}</span>
53
-
54
-
55
-
56 50
             </template>
57 51
           </el-table-column>
58 52
         </el-table>
@@ -162,8 +156,6 @@
162 156
           .catch(error => {
163 157
 
164 158
           })
165
-
166
-
167 159
       },
168 160
 
169 161
       onClick(id) {
@@ -174,9 +166,7 @@
174 166
         } else if (id == 3) {
175 167
           this.Num = 3;
176 168
         }
177
-
178 169
         switch (this.Num) {
179
-
180 170
           case 1: //近1个月
181 171
             this.currentDate1 = new Date(new Date().setMonth(new Date().getMonth() + 1)),
182 172
               this.currentDate2 = new Date()

+ 0 - 2
src/pages/businessCenter/components/warehousing.vue 파일 보기

@@ -291,8 +291,6 @@
291 291
 
292 292
   }
293 293
 
294
-
295
-
296 294
   .toolOne {
297 295
     width: 6.25rem;
298 296
     height: 1.875rem;

+ 2 - 7
src/pages/businessCenter/components/withdrawal.vue 파일 보기

@@ -4,7 +4,6 @@
4 4
       <p :class="Num == 1 ? 'active' : ''" @click="onClick(1)">近一月</p>
5 5
       <p :class="Num == 2 ? 'active' : ''" @click="onClick(2)">近三月</p>
6 6
       <p :class="Num == 3 ? 'active' : ''" @click="onClick(3)">近半年</p>
7
-      <!-- <div class="toolBox"> -->
8 7
       <div class="toolOne" @click="startShow = true">
9 8
         <div style="display: flex;align-items: center;">
10 9
           {{ query.start_time }}
@@ -17,7 +16,6 @@
17 16
           <van-icon name="arrow-down"/>
18 17
         </div>
19 18
       </div>
20
-      <!-- </div> -->
21 19
     </div>
22 20
     <div>
23 21
       <el-table ref="tab" :data="tableData" style="width: 100%" :height="tableHeight" border :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}">
@@ -31,7 +29,6 @@
31 29
             <span>{{ scope.row.specification_name }}</span>
32 30
           </template>
33 31
         </el-table-column>
34
-        <!--style="color: #579ef8"-->
35 32
 
36 33
         <el-table-column label="数量" align="center" width="80">
37 34
           <template slot-scope="scope">
@@ -72,7 +69,6 @@
72 69
 <script>
73 70
   const moment = require('moment')
74 71
   import {GetStockInfo} from "@/api/statistics";
75
-
76 72
   export default {
77 73
     data() {
78 74
       return {
@@ -129,8 +125,6 @@
129 125
           .catch(error => {
130 126
 
131 127
           })
132
-
133
-
134 128
       },
135 129
 
136 130
       onClick(id) {
@@ -210,7 +204,8 @@
210 204
         this.GetStockInfo(this.query)
211 205
 
212 206
       },
213
-    }, created() {
207
+    },
208
+    created() {
214 209
       this.tableHeight = (document.documentElement.clientHeight - (Number(document.documentElement.style.fontSize.slice(0, -2)) * 2.75)) + 'px'
215 210
       this.query.start_time = moment().subtract('month', 1).format('YYYY-MM-DD')
216 211
       // 本月的结束时间

+ 0 - 6
src/pages/businessCenter/index.vue 파일 보기

@@ -4,11 +4,6 @@
4 4
             <i class="iconfont icon-zuojiantou jiantou" @click="goBack"></i>
5 5
             <span class="titleName">经营中心</span>
6 6
       </div>
7
-      <!-- <div>
8
-          <van-cell title="患者统计" is-link @click="toCustomClick" />
9
-          <van-cell title="质量统计" is-link @click="toClick" />
10
-          <van-cell title="库存统计" is-link @click="toStockClick"/>
11
-      </div> -->
12 7
       <div class="consoleBox">
13 8
       <div class="consoleOne" @click="toCustomClick">
14 9
         <img src="../../assets/images/A1.jpg" alt />
@@ -57,7 +52,6 @@ export default {
57 52
     },
58 53
     toCustomClick(){
59 54
       this.$router.push('/bus/quality?tabName=' + '患者统计')
60
-
61 55
     },
62 56
     toClick () {
63 57
       this.$router.push('/bus/quality?tabName=' + '质量统计')

+ 3 - 3
src/pages/businessCenter/quality.vue 파일 보기

@@ -18,9 +18,9 @@
18 18
 </template>
19 19
 
20 20
 <script>
21
-import Project from './components/project.vue'
22
-import Time1 from './components/time1.vue'
23
-import Patient from './components/patient.vue'
21
+import Project from './components/project'
22
+import Time1 from './components/time1'
23
+import Patient from './components/patient'
24 24
 export default {
25 25
   components: {
26 26
     Project,

+ 1 - 17
src/pages/console/managementConsole/index.vue 파일 보기

@@ -25,16 +25,6 @@
25 25
           <van-icon name="arrow" />
26 26
         </div>
27 27
       </div>
28
-      <!--<div class="consoleOne">-->
29
-      <!--<img src="../../../assets/images/A3.jpg" alt="" />-->
30
-      <!--<div class="consoleRight">-->
31
-      <!--<div>-->
32
-      <!--<p class="rightName">应用管理</p>-->
33
-      <!--<p class="rightTip">管理员可以添加或者停用应用</p>-->
34
-      <!--</div>-->
35
-      <!--<van-icon name="arrow" />-->
36
-      <!--</div>-->
37
-      <!--</div>-->
38 28
       <div class="consoleOne" @click="toOrgSetting()">
39 29
         <img src="../../../assets/images/A4.jpg" alt="" />
40 30
         <div class="consoleRight">
@@ -56,13 +46,7 @@
56 46
         </div>
57 47
       </div>
58 48
     </div>
59
-    <!--<div class="transfer">-->
60
-    <!--<img src="../../../assets/images/A6.jpg" alt="" />-->
61
-    <!--<div class="transferRight">-->
62
-    <!--<p class="rightName">员工管理</p>-->
63
-    <!--<van-icon name="arrow" />-->
64
-    <!--</div>-->
65
-    <!--</div>-->
49
+
66 50
   </div>
67 51
 </template>
68 52
 <script>

+ 1 - 14
src/pages/console/managementConsole/staff_role/editRole/index.vue 파일 보기

@@ -5,26 +5,13 @@
5 5
       <span class="titleName">模块权限配置</span>
6 6
     </div>
7 7
 
8
-    <!--<div class="roleDescription">-->
9
-      <!--&lt;!&ndash;<van-field v-if="!isShow" v-model="desc" rows="1" autosize label="角色描述" type="textarea" placeholder="请填写角色描述"/>&ndash;&gt;-->
10
-      <!--&lt;!&ndash;<van-field v-else v-model="desc" rows="1" autosize label="角色描述" type="textarea" placeholder="请填写角色描述"/>&ndash;&gt;-->
11
-    <!--</div>-->
12 8
     <div class="disposeBox">
13 9
       <p class="disposeTitle">模块权限配置</p>
14 10
 
15 11
       <div v-for="(item, index) in allPurview" :key="index">
16 12
         <div class="disposeOne" v-if="!item.no_sub" @click="toSubPurview(item)">
17 13
           <van-cell :title="item.name" is-link center />
18
-          <!-- <div class="disposeImg" style="visibility: hidden">
19
-            <img :src="item.icon_url" alt/>
20
-          </div>
21
-          <div class="disposeTxt">
22
-            <div>
23
-              <p class="disposeName">{{ item.name }}</p>
24
-              <p class="disposeTip">{{ item.desc }}</p>
25
-            </div>
26
-            <van-icon class="arrow" name="arrow"/>
27
-          </div> -->
14
+  
28 15
         </div>
29 16
         <van-cell center :title="item.name" v-if="item.no_sub">
30 17
           <template #right-icon>

+ 0 - 22
src/pages/console/managementConsole/staff_role/editStaff/index.vue 파일 보기

@@ -64,8 +64,6 @@
64 64
     <div class="staffBox">
65 65
       <van-field v-model="title" label="职位" placeholder="请填写"/>
66 66
     </div>
67
-    <!--<div v-if="isShow()" class="stop" @click="onClick(2)">禁用该员工账号</div>-->
68
-    <!--<div v-if="isShow()" class="stop" @click="onClick(2)">禁用该员工账号</div>-->
69 67
 
70 68
     <div v-if="adminInfo.status == 1  &&  isShow()" class="stop" @click="onClick(2)">禁用该员工账号</div>
71 69
     <div v-if="adminInfo.status != 1  &&  isShow()" class="stop1" @click="onClick(1)">恢复该员工账号</div>
@@ -194,9 +192,6 @@
194 192
           }
195 193
         }
196 194
 
197
-        // if(this.adminInfo.admin_user_id)
198
-
199
-
200 195
       },
201 196
       onUserTypeConfirm(value, index) {
202 197
         this.type_name = value
@@ -206,12 +201,8 @@
206 201
           if (this.user_types[i].name == value) {
207 202
             this.user_type = this.user_types[i].index
208 203
             this.type_name = this.user_types[i].name
209
-
210 204
           }
211
-
212 205
         }
213
-
214
-
215 206
       },
216 207
       onUserTitleConfirm(value, index) {
217 208
         this.titles_name = value
@@ -224,15 +215,11 @@
224 215
 
225 216
           }
226 217
         }
227
-
228
-
229 218
       },
230 219
       onCancel() {
231 220
         this.show1 = false
232 221
         this.show2 = false
233 222
         this.show3 = false
234
-
235
-
236 223
       },
237 224
       save() {
238 225
 
@@ -318,7 +305,6 @@
318 305
               }
319 306
             }
320 307
 
321
-
322 308
             for (let i = 0; i < this.user_department_name.length; i++) {
323 309
               if (this.user_department_name[i] == this.adminInfo.department) {
324 310
                 this.department_name = this.user_department_name[i]
@@ -331,7 +317,6 @@
331 317
               }
332 318
             }
333 319
 
334
-
335 320
             //如果当前用户是超级管理员,而且是在编辑自己的信息的时候,将子管理员角色去除
336 321
             for (let i = 0; i < this.roles.length; i++) {
337 322
               if (this.adminInfo.admin.id == this.$store.getters.user.admin.id && this.$store.getters.user.admin.is_super_admin && this.roles[i].is_system == 1 && this.roles[i].name == "子管理员") {
@@ -340,7 +325,6 @@
340 325
               }
341 326
             }
342 327
 
343
-
344 328
           } else {
345 329
             this.$toast({
346 330
               message: response.data.msg
@@ -402,7 +386,6 @@
402 386
 
403 387
             this.GetAdminUserInfo(this.$route.query.id)
404 388
 
405
-
406 389
           } else {
407 390
             this.$toast({
408 391
               message: response.data.msg
@@ -418,24 +401,19 @@
418 401
           }).then(() => {
419 402
             this.StopAdminUser(id)
420 403
 
421
-
422 404
           });
423 405
         } else if (id == 1) {
424 406
           Dialog.confirm({
425 407
             message: "是否确定要恢复该员工账号?"
426 408
           }).then(() => {
427 409
             this.StopAdminUser(id)
428
-
429
-
430 410
           });
431 411
         }
432 412
       }
433 413
     }, created() {
434 414
       this.GetDepartment();
435 415
       this.GetAdminUserInitData()
436
-
437 416
       setRem()
438
-
439 417
     }
440 418
   };
441 419
 </script>

+ 0 - 24
src/pages/console/managementConsole/staff_role/userManage/index.vue 파일 보기

@@ -111,31 +111,7 @@ export default {
111 111
       });
112 112
     },
113 113
     goEditStaff: function(is_sub_admin, user_id) {
114
-      // if (this.isShow(is_sub_admin,user_id)){
115 114
         this.$router.push({ path: "/staff/editstaff?id=" + user_id });
116
-      // }
117
-      // else{
118
-      //   if (!this.isSubSuperAdmin){
119
-
120
-
121
-      //   }else {
122
-      //     if (is_sub_admin) {
123
-      //       if (user_id == this.$store.getters.user.admin.id) {
124
-
125
-      //       }else{
126
-      //         Toast("无法修改其他子管理员或者管理员信息");
127
-      //       }
128
-      //     } else {
129
-      //       if (user_id != this.$store.getters.user.org.creator) {
130
-
131
-      //       } else {
132
-      //         Toast("无法修改其他子管理员或者管理员信息");
133
-      //       }
134
-      //     }
135
-      //   }
136
-
137
-
138
-      // }
139 115
     },
140 116
     goAddStaff: function() {
141 117
       this.$router.push({ path: "/staff/addstaff" });

+ 2 - 7
src/pages/doctorAdvice/components/Contagion.vue 파일 보기

@@ -58,11 +58,6 @@
58 58
         <img src="../../../assets/images/none.png" alt />
59 59
       </div>
60 60
     </div>
61
-    <!-- <div class="add">
62
-      <div style="display: flex;align-items: center;">
63
-        <van-icon class="addIcon" name="add" />新增
64
-      </div>
65
-    </div>-->
66 61
 
67 62
     <!-- 弹出层 -->
68 63
     <div>
@@ -263,7 +258,7 @@ export default {
263 258
       getAllInspection().then(response => {
264 259
         if (response.data.state === 1) {
265 260
           var inspection = response.data.data.inspection
266
-          console.log('inspection9999', inspection)
261
+          // console.log('inspection9999', inspection)
267 262
           this.checkdata = inspection
268 263
           for (let i = 0; i < inspection.length; i++) {
269 264
             this.columns.push(inspection[i].project_name)
@@ -289,7 +284,7 @@ export default {
289 284
             }
290 285
           }
291 286
           var total = response.data.data.total
292
-           console.log("inspection2222", inspection);
287
+          //  console.log("inspection2222", inspection);
293 288
           let dataInfo = {}
294 289
           inspection.forEach((item, index) => {
295 290
             let { inspect_date } = item

+ 0 - 5
src/pages/doctorAdvice/components/CourseManagement.vue 파일 보기

@@ -58,11 +58,6 @@
58 58
         <img src="../../../assets/images/none.png" alt />
59 59
       </div>
60 60
     </div>
61
-<!--    <div class="add">-->
62
-<!--      <div style="display: flex;align-items: center;margin: 0 auto;width: 15%;" @click="addCourse">-->
63
-<!--        <van-icon class="addIcon" name="add" />新增-->
64
-<!--      </div>-->
65
-<!--    </div>-->
66 61
 
67 62
     <!-- 弹出层 -->
68 63
     <div>

+ 3 - 9
src/pages/doctorAdvice/components/DoctorManagement.vue 파일 보기

@@ -171,7 +171,6 @@
171 171
                 </div>
172 172
             </div>
173 173
          </div>
174
-
175 174
             <div class="all" @click="toDoctorAdviceDetail(item.start_time)">全部</div>
176 175
           </div>
177 176
         </van-list>
@@ -181,11 +180,6 @@
181 180
         <img src="../../../assets/images/none.png" alt />
182 181
       </div>
183 182
     </div>
184
-    <!-- <div class="add">
185
-      <div style="display: flex;align-items: center;">
186
-        <van-icon class="addIcon" name="add" />新增
187
-      </div>
188
-    </div>-->
189 183
 
190 184
     <!-- 弹出层 -->
191 185
     <div id='screen'>
@@ -441,7 +435,7 @@ export default {
441 435
           this.childList = objarr
442 436
           let arr = this.doctorAdvice
443 437
           arr.push(...list.reverse())
444
-          console.log('arr', arr)
438
+          // console.log('arr', arr)
445 439
           this.doctorAdvice = arr
446 440
 
447 441
           this.loading = false
@@ -452,7 +446,7 @@ export default {
452 446
       getPatientDetail(patientid).then(response => {
453 447
         if (response.data.state === 1) {
454 448
           var patientDetail = response.data.data.patientDetail
455
-          console.log('patientDetail', patientDetail)
449
+          // console.log('patientDetail', patientDetail)
456 450
           if (patientDetail.blood_patients == 0) {
457 451
             this.doctorAdvice = []
458 452
             this.showOne = false
@@ -477,7 +471,7 @@ export default {
477 471
       getAllDoctor().then(response => {
478 472
         if (response.data.state === 1) {
479 473
           var doctor = response.data.data.doctor
480
-          console.log('doctor是', doctor)
474
+          // console.log('doctor是', doctor)
481 475
           this.doctor = doctor
482 476
         }
483 477
       })

+ 0 - 5
src/pages/doctorAdvice/components/Education.vue 파일 보기

@@ -51,11 +51,6 @@
51 51
         <img src="../../../assets/images/none.png" alt />
52 52
       </div>
53 53
     </div>
54
-    <!-- <div class="add">
55
-      <div style="display: flex;align-items: center;">
56
-        <van-icon class="addIcon" name="add" />新增
57
-      </div>
58
-    </div>-->
59 54
 
60 55
     <!-- 弹出层 -->
61 56
     <div>

+ 2 - 0
src/pages/doctorAdvice/components/Inspection.vue 파일 보기

@@ -27,6 +27,7 @@
27 27
           v-model="loading"
28 28
           :finished="finished"
29 29
           finished-text="没有更多了"
30
+          style="width: 100%;height: 100%;overflow-y: auto;"
30 31
         >
31 32
           <div class="adviceMain">
32 33
             <div class="adviceOne" v-for="(item, index) in Inspection" :key="index" >
@@ -312,6 +313,7 @@ export default {
312 313
           })
313 314
           this.Inspection = list.reverse()
314 315
           console.log('this', this.Inspection)
316
+          this.loading = false
315 317
         }
316 318
       })
317 319
       this.finished = true

+ 0 - 5
src/pages/doctorAdvice/components/RescueRecord.vue 파일 보기

@@ -55,11 +55,6 @@
55 55
         <img src="../../../assets/images/none.png" alt />
56 56
       </div>
57 57
     </div>
58
-    <!-- <div class="add">
59
-      <div style="display: flex;align-items: center;">
60
-        <van-icon class="addIcon" name="add" />新增
61
-      </div>
62
-    </div>-->
63 58
 
64 59
     <!-- 弹出层 -->
65 60
     <div>

+ 0 - 5
src/pages/doctorAdvice/components/Scheduling.vue 파일 보기

@@ -56,11 +56,6 @@
56 56
         <img src="../../../assets/images/none.png" alt />
57 57
       </div>
58 58
     </div>
59
-    <!-- <div class="add">
60
-      <div style="display: flex;align-items: center;">
61
-        <van-icon class="addIcon" name="add" />新增
62
-      </div>
63
-    </div> -->
64 59
 
65 60
     <!-- 弹出层 -->
66 61
     <div>

+ 0 - 23
src/pages/doctorAdvice/components/deviceManagement.vue 파일 보기

@@ -18,30 +18,7 @@
18 18
       <div class="noimgBox">
19 19
         <img src="../../../assets/images/none.png" alt />
20 20
       </div>
21
-      <!-- <div class="adviceBox">
22
-        <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
23
-          <div class="adviceOne" v-for="item in 3" :key="index">
24
-            <div class="adviceTitle">
25
-              <p>2019.09.01</p>
26
-              <van-icon class="ellipsis" name="ellipsis" @click="newShow = true" />
27
-            </div>
28
-            <div class="orderContent">
29
-              <p>血压</p>
30
-              <p>血糖</p>
31
-              <p>体重</p>
32
-              <p>体温</p>
33
-              <p>心率</p>
34
-            </div>
35
-            <div class="all">全部</div>
36
-          </div>
37
-        </van-list>
38
-      </div>-->
39 21
     </div>
40
-    <!-- <div class="add">
41
-      <div style="display: flex;align-items: center;">
42
-        <van-icon class="addIcon" name="add" />新增
43
-      </div>
44
-    </div>-->
45 22
 
46 23
     <!-- 弹出层 -->
47 24
     <div>

+ 0 - 23
src/pages/doctorAdvice/components/medicationPlan.vue 파일 보기

@@ -18,30 +18,7 @@
18 18
       <div class="noimgBox">
19 19
         <img src="../../../assets/images/none.png" alt />
20 20
       </div>
21
-      <!-- <div class="adviceBox">
22
-        <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
23
-          <div class="adviceOne" v-for="item in 3" :key="index">
24
-            <div class="adviceTitle">
25
-              <p>2019.09.01</p>
26
-              <van-icon class="ellipsis" name="ellipsis" @click="newShow = true" />
27
-            </div>
28
-            <div class="orderContent">
29
-              <p>血压</p>
30
-              <p>血糖</p>
31
-              <p>体重</p>
32
-              <p>体温</p>
33
-              <p>心率</p>
34
-            </div>
35
-            <div class="all">全部</div>
36
-          </div>
37
-        </van-list>
38
-      </div>-->
39 21
     </div>
40
-    <!-- <div class="add">
41
-      <div style="display: flex;align-items: center;">
42
-        <van-icon class="addIcon" name="add" />新增
43
-      </div>
44
-    </div>-->
45 22
 
46 23
     <!-- 弹出层 -->
47 24
     <div>

+ 0 - 23
src/pages/doctorAdvice/components/recoverNotes.vue 파일 보기

@@ -18,30 +18,7 @@
18 18
       <div class="noimgBox">
19 19
         <img src="../../../assets/images/none.png" alt />
20 20
       </div>
21
-      <!-- <div class="adviceBox">
22
-        <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
23
-          <div class="adviceOne" v-for="item in 3" :key="index">
24
-            <div class="adviceTitle">
25
-              <p>2019.09.01</p>
26
-              <van-icon class="ellipsis" name="ellipsis" @click="newShow = true" />
27
-            </div>
28
-            <div class="orderContent">
29
-              <p>血压</p>
30
-              <p>血糖</p>
31
-              <p>体重</p>
32
-              <p>体温</p>
33
-              <p>心率</p>
34
-            </div>
35
-            <div class="all">全部</div>
36
-          </div>
37
-        </van-list>
38
-      </div>-->
39 21
     </div>
40
-    <!-- <div class="add">
41
-      <div style="display: flex;align-items: center;">
42
-        <van-icon class="addIcon" name="add" />新增
43
-      </div>
44
-    </div>-->
45 22
 
46 23
     <!-- 弹出层 -->
47 24
     <div>

+ 1 - 24
src/pages/doctorAdvice/components/signsRecord.vue 파일 보기

@@ -24,31 +24,8 @@
24 24
       <div class="noimgBox">
25 25
         <img src="../../../assets/images/none.png" alt />
26 26
       </div>
27
-      <!-- <div class="adviceBox">
28
-        <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
29
-          <div class="adviceOne" v-for="item in 3" :key="index">
30
-            <div class="adviceTitle">
31
-              <p>2019.09.01</p>
32
-              <van-icon class="ellipsis" name="ellipsis" @click="newShow = true" />
33
-            </div>
34
-            <div class="orderContent">
35
-              <p>血压</p>
36
-              <p>血糖</p>
37
-              <p>体重</p>
38
-              <p>体温</p>
39
-              <p>心率</p>
40
-            </div>
41
-            <div class="all">全部</div>
42
-          </div>
43
-        </van-list>
44
-      </div>-->
45 27
     </div>
46
-    <!-- <div class="add">
47
-      <div style="display: flex;align-items: center;">
48
-        <van-icon class="addIcon" name="add" />新增
49
-      </div>
50
-    </div>-->
51
-
28
+    
52 29
     <!-- 弹出层 -->
53 30
     <div>
54 31
       <van-popup v-model="typeShow" get-container="#app" position="bottom" :style="{ height: '40%' }">

+ 1 - 18
src/pages/doctorAdvice/index.vue 파일 보기

@@ -59,22 +59,6 @@
59 59
       <van-tab title="设备管理">
60 60
         <device-management :active="active"></device-management>
61 61
       </van-tab>
62
-
63
-      <!-- <van-tab v-for="(item, index) in title" :title="item" :key="index">
64
-        <doctor-management :dryId="patient_id"></doctor-management>
65
-        <long-dialysis :active="active"></long-dialysis>
66
-        <dialysis-record></dialysis-record>
67
-        <dry-weight :active="active" :dryId="patient_id"></dry-weight>
68
-        <inspection></inspection>
69
-        <course-management :active="active"></course-management>
70
-        <rescue-record :active="active"></rescue-record>
71
-        <scheduling :active="active" :schedulingId="patient_id"></scheduling>
72
-        <education :active="active"></education>
73
-        <signs-record :active="active"></signs-record>
74
-        <recover-notes :active="active"></recover-notes>
75
-        <medication-plan :active="active"></medication-plan>
76
-        <device-management :active="active"></device-management>
77
-      </van-tab>-->
78 62
     </van-tabs>
79 63
     <van-popup v-model="show" position="top" :style="{ height: '100%' }">
80 64
       <div
@@ -387,7 +371,7 @@ export default {
387 371
           this.nowdate = nowdate
388 372
           this.id = patientDetail.blood_id
389 373
           this.name = patientDetail.name
390
-          console.log('patientDetail详情', patientDetail)
374
+          // console.log('patientDetail详情', patientDetail)
391 375
           this.patientName = patientDetail.name
392 376
         }
393 377
       })
@@ -568,7 +552,6 @@ export default {
568 552
       this.$router.push('/editPatient?patientid=' + this.patient_id)
569 553
     },
570 554
     toReturn () {
571
-      console.log('this.restatus', this.restatus)
572 555
       if (this.restatus == 1) {
573 556
         this.$router.push(
574 557
           '/details?patient_id=' +

+ 1 - 1
src/pages/dqc/basicInfo.vue 파일 보기

@@ -475,7 +475,7 @@
475 475
             this.outtotal = patienttwo.length
476 476
             // var rollout =  response.data.data.rollout
477 477
             // this.outtotal = rollout.length
478
-            console.log("转出人数22222",rollout)
478
+            // console.log("转出人数22222",rollout)
479 479
           }
480 480
         })
481 481
       },

+ 1 - 76
src/pages/dqc/components/BarChart.vue 파일 보기

@@ -50,42 +50,10 @@ export default {
50 50
   },
51 51
   mounted() {
52 52
     this.initChart();
53
-    // if (this.autoResize) {
54
-    //   this.__resizeHanlder = debounce(() => {
55
-    //     if (this.chart) {
56
-    //       this.chart.resize()
57
-    //     }
58
-    //   }, 100)
59
-    //   window.addEventListener('resize', this.__resizeHanlder)
60
-    // }
61
-
62
-    // // 监听侧边栏的变化
63
-    // const sidebarElm = document.getElementsByClassName('sidebar-container')[0]
64
-    // sidebarElm.addEventListener('transitionend', this.__resizeHanlder)
65 53
   },
66 54
   beforeDestroy() {
67
-    // if (!this.chart) {
68
-    //   return;
69
-    // }
70
-    // if (this.autoResize) {
71
-    //   window.removeEventListener("resize", this.__resizeHanlder);
72
-    // }
73
-    // const sidebarElm = document.getElementsByClassName("sidebar-container")[0];
74
-    // sidebarElm.removeEventListener("transitionend", this.__resizeHanlder);
75
-    // this.chart.dispose();
76
-    // this.chart = null;
77 55
   },
78 56
   watch: {
79
-    // "options":function(){
80
-    //   this.chartOptions = this.options;
81
-    //   this.initChart()
82
-    //   this.__resizeHanlder = debounce(() => {
83
-    //     if (this.chart) {
84
-    //       this.chart.resize()
85
-    //     }
86
-    //   }, 100)
87
-    //   window.addEventListener('resize', this.__resizeHanlder)
88
-    // },
89 57
     options:{
90 58
       handler(newValue,oldValue){
91 59
         this.getInitChart();
@@ -104,24 +72,15 @@ export default {
104 72
   },
105 73
   created() {
106 74
     this.chartOptions = this.options;
107
-    console.log("this.chartOptions", this.chartOptions, this.options);
75
+    // console.log("this.chartOptions", this.chartOptions, this.options);
108 76
   },
109 77
   methods: {
110 78
     getInitChart() {
111 79
       this.chartOptions = this.options;
112 80
       this.initChart();
113
-      // this.__resizeHanlder = debounce(() => {
114
-      //   if (this.chart) {
115
-      //     this.chart.resize();
116
-      //   }
117
-      // }, 100);
118
-      // window.addEventListener("resize", this.__resizeHanlder);
119 81
     },
120 82
     setOptions({ expectedData, actualData } = {}) {
121 83
       this.chart.setOption({
122
-        // title: {
123
-        //   text: this.title
124
-        // },
125 84
         xAxis: {
126 85
           data: this.chartOptions.xAxis.data,
127 86
           // boundaryGap: false
@@ -134,33 +93,6 @@ export default {
134 93
             }
135 94
           },
136 95
           axisLabel: this.chartOptions.xAxis.axisLabel
137
-          // axisLabel: {
138
-          //   interval: 0,
139
-          //   formatter: function(value) {
140
-          //     var ret = ""; //拼接加\n返回的类目项
141
-          //     var maxLength = 8; //每项显示文字个数
142
-          //     var valLength = value.length; //X轴类目项的文字个数
143
-          //     var rowN = Math.ceil(valLength / maxLength); //类目项需要换行的行数
144
-          //     if (rowN > 1) {
145
-          //       //如果类目项的文字大于3,
146
-          //       for (var i = 0; i < rowN; i++) {
147
-          //         var temp = ""; //每次截取的字符串
148
-          //         var start = i * maxLength; //开始截取的位置
149
-          //         var end = start + maxLength; //结束截取的位置
150
-          //         //这里也可以加一个是否是最后一行的判断,但是不加也没有影响,那就不加吧
151
-          //         temp = value.substring(start, end) + "\n";
152
-          //         ret += temp; //凭借最终的字符串
153
-          //       }
154
-          //       return ret;
155
-          //     } else {
156
-          //       return value;
157
-          //     }
158
-          //   },
159
-          //   textStyle: {
160
-          //     color:"#2F3133"
161
-          //   }
162
-          // }
163
-          
164 96
         },
165 97
         grid: {
166 98
           left: 0,
@@ -169,13 +101,6 @@ export default {
169 101
           top: 30,
170 102
           containLabel: true
171 103
         },
172
-        // tooltip: {
173
-        //   trigger: "axis",
174
-        //   axisPointer: {
175
-        //     type: "cross"
176
-        //   },
177
-        //   padding: [5, 10]
178
-        // },
179 104
         yAxis: {
180 105
           axisTick: {
181 106
             show: true

+ 0 - 69
src/pages/dqc/components/DepartmentProject.vue 파일 보기

@@ -1,12 +1,6 @@
1 1
 <template>
2 2
   <div class="page_departmentTime">
3 3
     <div class="optionsBox">
4
-      <!-- <div class="optionsOne" @click="stateShow = true">
5
-        <div style="display: flex;align-items: center;">
6
-          {{ state }}
7
-          <van-icon name="arrow-down" />
8
-        </div>
9
-      </div> -->
10 4
       <div class="optionsOne" @click="typeShow = true">
11 5
         <div style="display: flex;align-items: center;">
12 6
           {{ type }}
@@ -30,10 +24,6 @@
30 24
       <span>指标正常范围值</span>
31 25
     </div>
32 26
     <div class="rangeMain">
33
-      <!-- <p v-for="(item,index) in normData" :key="index">
34
-        <span v-if="item.range_type == 1">{{item.item_name}}({{item.min_range}}-{{item.large_range}})</span>
35
-        <span v-if="item.range_type == 2">{{item.item_name}}({{item.range_value}})</span>
36
-     </p> -->
37 27
       <p v-for="(item,index) in this.normData" :key="index">
38 28
           <span v-if="item.is_status == 1">{{item.item_name}}</span>
39 29
           <span v-if="item.is_status == 0 && item.inspection_major == 0  && item.inspection_minor == -1">收缩压</span>
@@ -109,10 +99,6 @@ export default {
109 99
           text: 'ECharts 入门示例'
110 100
         },
111 101
         tooltip: {},
112
-        // legend: {
113
-        //   data: ['达标率%'],
114
-        //   left: 0
115
-        // },
116 102
         xAxis: {
117 103
           data: [],
118 104
           axisLabel: {
@@ -257,53 +243,8 @@ export default {
257 243
           this.getlist()
258 244
         }
259 245
       }
260
-      // this.type = val
261
-      // this.typeShow = false
262
-      // if (val == '按季度统计对比') {
263
-      //   this.getlist()
264
-      //   this.options.dataZoom = []
265
-      // }
266
-      // if (val == '按月份统计对比') {
267
-      //   this.getMonthList()
268
-      //   this.options.dataZoom = [
269
-      //     {
270
-      //       // Y轴固定,让内容滚动
271
-      //       type: 'slider',
272
-      //       show: false,
273
-      //       xAxisIndex: [0],
274
-      //       start: 1,
275
-      //       end: 50, // 设置X轴刻度之间的间隔(根据数据量来调整)
276
-      //       zoomLock: true // 锁定区域禁止缩放(鼠标滚动会缩放,所以禁止)
277
-      //     },
278
-      //     {
279
-      //       type: 'inside',
280
-      //       xAxisIndex: [0],
281
-      //       start: 1,
282
-      //       end: 40,
283
-      //       zoomLock: true // 锁定区域禁止缩放
284
-      //     }
285
-      //   ]
286
-      // }
287 246
     },
288 247
     chooseProject (val) {
289
-      // this.project = val
290
-      // this.projectShow = false
291
-      // // console.log('数组源', this.normData)
292
-      // var rangetype = 0
293
-      // for (let i = 0; i < this.normData.length; i++) {
294
-      //   if (val == this.normData[i].item_name) {
295
-      //     rangetype = this.normData[i].range_type
296
-      //   }
297
-      // }
298
-      // this.range_type = rangetype
299
-
300
-      // if (this.type == '按月份统计对比') {
301
-      //   this.getMonthList()
302
-      // }
303
-      // if (this.type == '按季度统计对比') {
304
-      //   this.getlist()
305
-      // }
306
-
307 248
       this.project = val
308 249
       this.projectShow = false
309 250
 
@@ -450,7 +391,6 @@ export default {
450 391
           var list = response.data.data.list
451 392
           // console.log('list', list)
452 393
           var standList = response.data.data.standList
453
-          //  console.log('standList', standList)
454 394
 
455 395
           var newArr = [
456 396
             {Total: '第一季度', Count: 1, NoCount: 0},
@@ -458,7 +398,6 @@ export default {
458 398
             {Total: '第三季度', Count: 1, NoCount: 0},
459 399
             {Total: '第四季度', Count: 1, NoCount: 0}
460 400
           ]
461
-
462 401
           // 获取2个数组不同的部分
463 402
           var arrTwo = this.arrayDate(list, newArr)
464 403
           arrTwo.map(item => {
@@ -530,8 +469,6 @@ export default {
530 469
       })
531 470
     },
532 471
     arrayDate (array1, array2) {
533
-      //  console.log("array1",array1)
534
-      //  console.log("array2",array2)
535 472
       var array1 = array1
536 473
       var array2 = array2
537 474
       var result = []
@@ -555,8 +492,6 @@ export default {
555 492
       return result
556 493
     },
557 494
     arrayDateTwo (array1, array2) {
558
-      //   console.log("array1",array1)
559
-      //   console.log("array2",array2)
560 495
       var array1 = array1
561 496
       var array2 = array2
562 497
       var result = []
@@ -580,8 +515,6 @@ export default {
580 515
       return result
581 516
     },
582 517
     arrayDateThree (array1, array2) {
583
-      // console.log("array1",array1)
584
-      // console.log("array2",array2)
585 518
       var array1 = array1
586 519
       var array2 = array2
587 520
       var result = []
@@ -605,8 +538,6 @@ export default {
605 538
       return result
606 539
     },
607 540
     arrayDateFour (array1, array2) {
608
-      //   console.log("array1",array1)
609
-      //   console.log("array2",array2)
610 541
       var array1 = array1
611 542
       var array2 = array2
612 543
       var result = []

+ 0 - 14
src/pages/dqc/components/DepartmentTime.vue 파일 보기

@@ -1,12 +1,6 @@
1 1
 <template>
2 2
   <div class="page_departmentTime">
3 3
     <div class="optionsBox">
4
-      <!-- <div class="optionsOne" @click="stateShow = true">
5
-        <div style="display: flex;align-items: center;">
6
-          {{ state }}
7
-          <van-icon name="arrow-down" />
8
-        </div>
9
-      </div> -->
10 4
       <div class="optionsOne" @click="typeShow = true">
11 5
         <div style="display: flex;align-items: center;">
12 6
           {{ type }}
@@ -58,10 +52,6 @@
58 52
       <span>指标正常范围值</span>
59 53
     </div>
60 54
     <div class="rangeMain">
61
-      <!-- <p v-for = "(item,index) in normData" :key="index">
62
-        <span v-if="item.range_type == 1">{{item.item_name}}({{item.min_range}}-{{item.large_range}})</span>
63
-        <span v-if="item.range_type == 2">{{item.item_name}}({{item.range_value}})</span>
64
-       </p> -->
65 55
         <p v-for="(item,index) in this.normData" :key="index">
66 56
           <span v-if="item.is_status == 1">{{item.item_name}}</span>
67 57
           <span v-if="item.is_status == 0 && item.inspection_major == 0  && item.inspection_minor == -1">收缩压</span>
@@ -168,10 +158,6 @@ export default {
168 158
           text: 'ECharts 入门示例'
169 159
         },
170 160
         tooltip: {},
171
-        // legend: {
172
-        //   data: ["达标率%"],
173
-        //   left: 0
174
-        // },
175 161
         xAxis: {
176 162
           data: [],
177 163
           axisLabel: {

+ 0 - 2
src/pages/dqc/components/ScrollTop.vue 파일 보기

@@ -2,8 +2,6 @@
2 2
   <van-icon name="upgrade" class="toTop" v-show="toTopShow" @click="backTop" />
3 3
 </template>
4 4
 
5
-
6
-
7 5
 <script>
8 6
 export default {
9 7
   data() {

+ 0 - 13
src/pages/dqc/components/bloodPressure.vue 파일 보기

@@ -271,7 +271,6 @@ export default {
271 271
             //配置样式
272 272
             itemStyle: {
273 273
               //通常情况下:
274
-
275 274
               //每个柱子的颜色即为colorList数组里的每一项,如果柱子数目多于colorList的长度,则柱子颜色循环使用该数组
276 275
               normal: {
277 276
                 color: function(params) {
@@ -281,12 +280,10 @@ export default {
281 280
 
282 281
                     ["#FFD7C0", "#FF9994"]
283 282
                   ];
284
-
285 283
                   var index = params.dataIndex;
286 284
                   if (params.dataIndex >= colorList.length) {
287 285
                     index = params.dataIndex % colorList.length;
288 286
                   }
289
-
290 287
                   return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
291 288
                     { offset: 0, color: colorList[index][0] },
292 289
                     // { offset: 0.5, color: colorList[index][1] },
@@ -295,7 +292,6 @@ export default {
295 292
                 },
296 293
                 barBorderRadius: [5, 5, 0, 0] //柱状角成椭圆形
297 294
               },
298
-
299 295
               //鼠标悬停时:
300 296
               emphasis: {
301 297
                 shadowBlur: 10,
@@ -324,12 +320,10 @@ export default {
324 320
     this.query.statistics_type = 1
325 321
     this.GetDialysisBloodPressureChartData(this.query)
326 322
     this.GetDialysisBloodPressureTableData(this.query)
327
-
328 323
   },
329 324
   methods: {
330 325
     jumpDetail(patient_id){
331 326
       this.$router.push("/dqc/bloodpressure/detail?id="+patient_id)
332
-
333 327
     },
334 328
     getTime (time) {
335 329
       return uParseTime(time, '{y}-{m}-{d}')
@@ -347,7 +341,6 @@ export default {
347 341
               this.options.xAxis.data.push(resp.data.data[i].name)
348 342
               this.options.series[0].data.push(resp.data.data[i].total)
349 343
               this.percent.push(resp.data.data[i].ratio)
350
-
351 344
             }
352 345
           } else {
353 346
             this.$toast({
@@ -356,7 +349,6 @@ export default {
356 349
           }
357 350
         })
358 351
         .catch(error => {
359
-
360 352
         })
361 353
     },
362 354
     GetDialysisBloodPressureTableData(params) {
@@ -418,7 +410,6 @@ export default {
418 410
       this.project = val;
419 411
       this.projectShow = false;
420 412
       this.GetDialysisBloodPressureChartData(this.query)
421
-
422 413
     },
423 414
 
424 415
     getstartTime(value) {
@@ -433,7 +424,6 @@ export default {
433 424
         day = `0${day}`;
434 425
       }
435 426
       this.startTime = `${year}-${month}-${day}`;
436
-
437 427
       this.query.start_time = `${year}-${month}-${day}`;
438 428
       this.GetDialysisBloodPressureChartData(this.query)
439 429
       this.GetDialysisBloodPressureTableData(this.query)
@@ -441,7 +431,6 @@ export default {
441 431
     },
442 432
     getstartTime2(value) {
443 433
       this.query.page = 1;
444
-
445 434
       let year = value.getFullYear();
446 435
       let month = value.getMonth() + 1;
447 436
       let day = value.getDate();
@@ -492,8 +481,6 @@ export default {
492 481
 };
493 482
 </script>
494 483
 
495
-
496
-
497 484
 <style lang="scss" scoped>
498 485
 .page_bloodPressure {
499 486
   .searchBox{

+ 0 - 4
src/pages/dqc/components/checkStatisticsPersonal.vue 파일 보기

@@ -106,10 +106,6 @@ export default {
106 106
           text: 'ECharts 入门示例'
107 107
         },
108 108
         tooltip: {},
109
-        // legend: {
110
-        //   data: ['次数'],
111
-        //   left: 0
112
-        // },
113 109
         xAxis: {
114 110
           data: [],
115 111
           axisLabel: {

+ 2 - 3
src/pages/dqc/components/dialysisProcess.vue 파일 보기

@@ -38,7 +38,6 @@
38 38
       </div>
39 39
     </div>
40 40
     
41
-
42 41
     <div class="chart1">统计图&nbsp;&nbsp;<span style="font-weight:normal">(患者姓名:{{patient_name}})</span></div>
43 42
     <div class="rangeBox" style="margin-top:.625rem">
44 43
       <p class="range"></p>
@@ -619,7 +618,7 @@ export default {
619 618
         })
620 619
     },
621 620
     GetDialysisProcessIndexChartData (params) {
622
-      console.log(params)
621
+      // console.log(params)
623 622
 
624 623
       this.options.xAxis.data = []
625 624
       this.options.series[0].data = []
@@ -632,7 +631,7 @@ export default {
632 631
         .then(rs => {
633 632
           var resp = rs.data
634 633
           if (resp.state == 1) {
635
-            console.log(this.query.statistics_type)
634
+            // console.log(this.query.statistics_type)
636 635
 
637 636
             if (this.query.statistics_type != 9 && this.query.statistics_type != 10) {
638 637
               for (let i = 0; i < resp.data.data.length; i++) {

+ 0 - 10
src/pages/dqc/components/dialysisStatisticsAll.vue 파일 보기

@@ -1,12 +1,6 @@
1 1
 <template>
2 2
   <div class="page_statisticsAll">
3 3
     <div class="options">
4
-      <!-- <div class="optionsOne" @click="stateShow = true">
5
-        <div style="display: flex;align-items: center;">
6
-          {{ state }}
7
-          <van-icon name="arrow-down" />
8
-        </div>
9
-      </div> -->
10 4
       <div class="toolOne" @click="startShow = true">
11 5
         <div style="display: flex;align-items: center;">
12 6
           {{ startTime }}
@@ -86,10 +80,6 @@ export default {
86 80
           text: 'ECharts 入门示例'
87 81
         },
88 82
         tooltip: {},
89
-        // legend: {
90
-        //   data: ['次数'],
91
-        //   left: 0
92
-        // },
93 83
         xAxis: {
94 84
           data: [],
95 85
           axisLabel: {

+ 0 - 2
src/pages/dqc/components/dialysisStatisticsPersonal.vue 파일 보기

@@ -46,13 +46,11 @@
46 46
         <el-table-column prop="dialysis_no" label="透析号" width="80"></el-table-column>
47 47
         <el-table-column prop="mode_id" label="透析模式" min-width="300">
48 48
           <template slot-scope="scope">
49
-                <!-- <span>{{ scope.row.mode_id.join("、") }}</span> -->
50 49
                 <span>{{getModeCount(scope.row.patient_id)}}</span>
51 50
               </template>
52 51
         </el-table-column>
53 52
         <el-table-column fixed="right" label="透析总次数" width="100">
54 53
           <template slot-scope="scope">
55
-            <!-- {{ scope.row.total_dialysis + scope.row.user_sys_before_count }} -->
56 54
             {{getDialysisCount(scope.row.patient_id)}}
57 55
           </template>
58 56
         </el-table-column>

+ 0 - 1
src/pages/dqc/components/doctor.vue 파일 보기

@@ -29,7 +29,6 @@
29 29
         </div>
30 30
       </div>
31 31
     </div>
32
-    <!-- </van-sticky> -->
33 32
 
34 33
     <div class="chart1">统计图</div>
35 34
     <div>

+ 1 - 16
src/pages/dqc/components/office.vue 파일 보기

@@ -56,7 +56,6 @@
56 56
 
57 57
         <el-table-column :label="item_name" align="center">
58 58
           <template slot-scope="scope">
59
-            <!--<div v-if="query.range_type == 1&&parseInt(scope.row.inspect_value) > parseInt(scope.row.inspect_value)">{{scope.row.inspect_value}}↑</div>-->
60 59
             <span v-html="getValue(scope.row)"></span>
61 60
           </template>
62 61
         </el-table-column>
@@ -74,9 +73,7 @@
74 73
         </el-table-column>
75 74
 
76 75
       </el-table>
77
-
78 76
     </div>
79
-
80 77
     <div>
81 78
       <van-popup v-model="projectShow" position="bottom" :style="{ height: '40%' }">
82 79
         <van-picker
@@ -85,10 +82,8 @@
85 82
           @confirm="chooseProject"
86 83
           @cancel="projectShow = false"
87 84
         />
88
-
89 85
       </van-popup>
90 86
 
91
-
92 87
       <van-popup v-model="itemShow" position="bottom" :style="{ height: '40%' }">
93 88
         <van-picker
94 89
           show-toolbar
@@ -98,16 +93,6 @@
98 93
         />
99 94
       </van-popup>
100 95
 
101
-      <!--<van-popup v-model="patientShow" position="bottom" :style="{ height: '40%' }">-->
102
-      <!--<van-picker-->
103
-      <!--show-toolbar-->
104
-      <!--:columns="patient_type_columns"-->
105
-      <!--@confirm="chooseProject"-->
106
-      <!--@cancel="patientShow = false"-->
107
-      <!--/>-->
108
-      <!--</van-popup>-->
109
-
110
-
111 96
       <van-popup v-model="startShow" position="bottom" :style="{ height: '40%' }">
112 97
         <van-datetime-picker
113 98
           v-model="currentDate1"
@@ -118,6 +103,7 @@
118 103
           @cancel="startShow = false"
119 104
         />
120 105
       </van-popup>
106
+
121 107
       <van-popup v-model="endShow" position="bottom" :style="{ height: '40%' }">
122 108
         <van-datetime-picker
123 109
           v-model="currentDate2"
@@ -129,7 +115,6 @@
129 115
         />
130 116
       </van-popup>
131 117
 
132
-
133 118
       <van-popup v-model="sectionShow" position="bottom" :style="{ height: '40%' }">
134 119
         <van-picker
135 120
           show-toolbar

+ 0 - 2
src/pages/dqc/components/sufferer.vue 파일 보기

@@ -106,8 +106,6 @@
106 106
           @cancel="endShow = false"
107 107
         />
108 108
       </van-popup>
109
-
110
-
111 109
       <van-popup v-model="sectionShow" position="bottom" :style="{ height: '40%' }">
112 110
         <van-picker
113 111
           show-toolbar

+ 0 - 10
src/pages/dqc/components/weight.vue 파일 보기

@@ -17,12 +17,10 @@
17 17
       </el-autocomplete>
18 18
     </div>
19 19
 
20
-
21 20
     <div class="optionsBox">
22 21
       <div class="toolOne" @click="startShow = true">
23 22
         <div style="display: flex;align-items: center;">
24 23
           {{  query.start_time }}
25
-
26 24
           <van-icon name="arrow-down" />
27 25
         </div>
28 26
       </div>
@@ -68,7 +66,6 @@
68 66
         <el-table-column label="干体重" align="center">
69 67
           <template slot-scope="scope">
70 68
             {{scope.row.dry_weight?scope.row.dry_weight:''}}
71
-
72 69
             <!--{{// scope.row.patient.lapseto == 1 ? '留治':'转出'}}-->
73 70
           </template>
74 71
         </el-table-column>
@@ -76,7 +73,6 @@
76 73
         <el-table-column label="前次透后体重" align="center">
77 74
           <template slot-scope="scope">
78 75
             {{scope.row.last_after_weight?scope.row.last_after_weight:''}}
79
-
80 76
             <!--<div v-if="scope.row.before.systolic_blood_pressure">{{scope.row.before.systolic_blood_pressure}} / {{scope.row.before.diastolic_blood_pressure}}</div>-->
81 77
           </template>
82 78
         </el-table-column>
@@ -84,7 +80,6 @@
84 80
         <el-table-column label="透前体重" align="center">
85 81
           <template slot-scope="scope">
86 82
             {{scope.row.weight_before?scope.row.weight_before:''}}
87
-
88 83
             <!--<div v-if="scope.row.min_monitor.systolic_blood_pressure">{{ scope.row.min_monitor.systolic_blood_pressure}} /{{ scope.row.min_monitor.diastolic_blood_pressure}}</div>-->
89 84
           </template>
90 85
         </el-table-column>
@@ -93,8 +88,6 @@
93 88
           <template slot-scope="scope">
94 89
             <!--<div v-if="scope.row.max_monitor.systolic_blood_pressure">{{ scope.row.max_monitor.systolic_blood_pressure}} /{{ scope.row.max_monitor.diastolic_blood_pressure}}</div>-->
95 90
             {{scope.row.after.weight_after?scope.row.after.weight_after:''}}
96
-
97
-
98 91
           </template>
99 92
         </el-table-column>
100 93
 
@@ -280,7 +273,6 @@
280 273
               //配置样式
281 274
               itemStyle: {
282 275
                 //通常情况下:
283
-
284 276
                 //每个柱子的颜色即为colorList数组里的每一项,如果柱子数目多于colorList的长度,则柱子颜色循环使用该数组
285 277
                 normal: {
286 278
                   color: function(params) {
@@ -521,8 +513,6 @@
521 513
     width: 37.5rem;
522 514
     background: #fff;
523 515
   .optionsOne {
524
-  //   max-width: 8.75rem;
525
-  //   min-width: 6.25rem;
526 516
     padding: 0 0.75rem;
527 517
     height: 1.875rem;
528 518
     background: rgba(246, 246, 246, 1);

+ 0 - 246
src/pages/dqc/patientStatistics.vue 파일 보기

@@ -22,14 +22,7 @@
22 22
         </template>
23 23
       </el-autocomplete>
24 24
     </div>
25
-    <!-- <div style="width:100%;overflow-x:auto"> -->
26 25
       <div class="options">
27
-        <!-- <div class="optionsOne" @click="typeShow = true">
28
-          <div style="display: flex;align-items: center;">
29
-            {{ type }}
30
-            <van-icon name="arrow-down" />
31
-          </div>
32
-        </div> -->
33 26
         <div class="toolOne" @click="startShow = true">
34 27
           <div style="display: flex;align-items: center;">
35 28
             {{ startTime }}
@@ -43,7 +36,6 @@
43 36
           </div>
44 37
         </div>
45 38
       </div>
46
-    <!-- </div> -->
47 39
 
48 40
     <div class="chart1">统计图</div>
49 41
     <div>
@@ -478,34 +470,12 @@ export default {
478 470
               })
479 471
             })
480 472
             // console.log('表哥', this.tableData)
481
-
482
-            // let projectArr = []
483
-            // this.newArr.map(item => {
484
-            //   projectArr.push(item.item_name)
485
-            // })
486
-
487
-            // this.tableData.map(item => {
488
-            //   let newarr = Object.values(item.data)
489
-            //   newarr.sort((a, b) => {
490
-            //     return projectArr.indexOf(a.item_name) - projectArr.indexOf(b.item_name)
491
-            //   })
492
-            //   item.data = newarr
493
-            // })
494 473
             let newData = this.tableData
495
-            // for (let i = 0; i < this.patientsArr.length; i++) {
496
-            //   for (let j = 0; j < newData.length; j++) {
497
-            //     if (this.patientsArr[i].name == newData[j].name) {
498
-            //       newData[j].dialysis_no = this.patientsArr[i].dialysis_no
499
-            //       newData[j].patient_id = this.patientsArr[i].id
500
-            //     }
501
-            //   }
502
-            // }
503 474
 
504 475
             this.tableData = []
505 476
             newData.map(item => {
506 477
               this.tableData.push(item)
507 478
             })
508
-
509 479
             if (response.data.data.patients.length <= 0) {
510 480
               this.isStop = true
511 481
             } else {
@@ -751,21 +721,6 @@ export default {
751 721
 
752 722
           this.tablePatients = patients
753 723
 
754
-          //  let dataInfothree = {}
755
-          //   patients.forEach((item, index) => {
756
-          //     let { inspect_date } = item
757
-          //     if (!dataInfothree[inspect_date]) {
758
-          //       dataInfothree[inspect_date] = {
759
-          //         inspect_date,
760
-          //         name: item.name,
761
-          //         child: [],
762
-          //         patient_id: item.patient_id,
763
-          //       }
764
-          //     }
765
-          //   })
766
-          // let patientlist = Object.values(dataInfothree)
767
-          // console.log("patientlist",patientlist)
768
-
769 724
         var total = response.data.data.total
770 725
         this.total = total
771 726
         var control = response.data.data.control
@@ -776,17 +731,6 @@ export default {
776 731
         control.push(item)
777 732
       })
778 733
 
779
-
780
-      //  var newPatinteArr = []
781
-      //  patientlist.map(item=>{
782
-      //    for(let i=0;i<control.length;i++){
783
-      //       if(item.inspect_date == control[i].inspect_date && item.patient_id == control[i].patient_id){
784
-      //            item.child.push(control[i])
785
-      //       }
786
-      //    }
787
-      //  })
788
-      //  console.log("patientlist",patientlist)
789
-
790 734
         var newArr = []
791 735
         // 分页
792 736
         for (let i = 0; i < control.length; i++) {
@@ -914,194 +858,6 @@ export default {
914 858
           }
915 859
         }
916 860
       }
917
-          // var total = response.data.data.total
918
-          // var standtotal = response.data.data.standtotal
919
-          // var standtotalone = response.data.data.standtotalOne
920
-          // var cartogramlist = response.data.data.cartogramlist
921
-          // console.log('cartogramlist', cartogramlist)
922
-          // var infectiouscontrol = response.data.data.infectiouscontrol
923
-          // console.log('infectiouscontrol', infectiouscontrol)
924
-          // infectiouscontrol.map(item => {
925
-          //   cartogramlist.push(item)
926
-          // })
927
-          // var totaltwo = response.data.data.total
928
-          // var cart = []
929
-          // // 过滤已经配置的选项
930
-          // for (let i = 0; i < cartogramlist.length; i++) {
931
-          //   for (let j = 0; j < this.normData.length; j++) {
932
-          //     if (cartogramlist[i].item_id == this.normData[j].inspection_minor) {
933
-          //       cart.push(cartogramlist[i])
934
-          //     }
935
-          //   }
936
-          // }
937
-          // console.log('cart', cart)
938
-          // // for (let i = 0; i < cartogramlist.length; i++) {
939
-          // //   if (cartogramlist[i].inspect_value != '') {
940
-          // //     cart.push(cartogramlist[i])
941
-          // //   }
942
-          // // }
943
-          // // console.log("cart",cart)
944
-          // let dataInfo = {}
945
-          // cart.forEach((item, index) => {
946
-          //   let { patient_id } = item
947
-          //   if (!dataInfo[patient_id]) {
948
-          //     dataInfo[patient_id] = {
949
-          //       patient_id,
950
-          //       name: item.name,
951
-          //       child: [],
952
-          //       inspect_date: item.inspect_date,
953
-          //       total: 0,
954
-          //       count: 0,
955
-          //       infectotal: 0
956
-          //     }
957
-          //   }
958
-          // })
959
-          // let list = Object.values(dataInfo)
960
-          // console.log('list', list)
961
-
962
-          // var arr = []
963
-          // list.map(item => {
964
-          //   for (let i = 0; i < cart.length; i++) {
965
-          //     if (item.inspect_date == cart[i].inspect_date && item.patient_id == cart[i].patient_id) {
966
-          //       item.child.push(cart[i])
967
-          //     }
968
-          //   }
969
-          // })
970
-
971
-          // list.map(item => {
972
-          //   item.child.map(it => {
973
-          //     if (it.range_type == 1 && parseInt(it.range_min) <= parseInt(it.inspect_value) && parseInt(it.inspect_value) <= parseInt(it.range_max)) {
974
-          //       item.total++
975
-          //     }
976
-          //     if (it.range_type == 2 && it.inspect_value == it.range_value) {
977
-          //       item.infectotal++
978
-          //     }
979
-          //   })
980
-          // })
981
-          // var standardTotal = 0
982
-
983
-          // list.map(item => {
984
-          //   if ((item.total + item.infectotal) == item.child.length) {
985
-          //     item.count++
986
-          //   }
987
-          // })
988
-          // list.map(item => {
989
-          //   standardTotal += item.count
990
-          // })
991
-          // var totalCount = list.length
992
-          // console.log('totalCount', totalCount)
993
-          // for (let i = 0; i < this.dataCount.length; i++) {
994
-          //   this.dataCount[0].count = standtotal + standtotalone
995
-          //   this.dataCount[1].count = total - standtotalone - standtotal
996
-          //   this.obj.push(this.dataCount[i].count)
997
-          // }
998
-          // for (let i = 0; i < this.dataName.length; i++) {
999
-          //   this.modesData.xAxis.push(this.dataName[i].name)
1000
-          // }
1001
-          // for (let i = 0; i < this.dataCount.length; i++) {
1002
-          //   this.modesData.series.push(((this.dataCount[i].count / total) * 100).toFixed(1))
1003
-          // }
1004
-          // this.options.series[0].data = this.modesData.series
1005
-          // this.options.xAxis.data = this.modesData.xAxis
1006
-          // // var cart = []
1007
-          // for (let i = 0; i < cartogramlist.length; i++) {
1008
-          //   if (cartogramlist[i].inspect_value != '') {
1009
-          //     cart.push(cartogramlist[i])
1010
-          //   }
1011
-          // }
1012
-          // let dataInfo = {}
1013
-          // cart.forEach((item, index) => {
1014
-          //   let { patient_id } = item
1015
-          //   if (!dataInfo[patient_id]) {
1016
-          //     dataInfo[patient_id] = {
1017
-          //       patient_id,
1018
-          //       name: item.name,
1019
-          //       child: [],
1020
-          //       inspect_date: item.inspect_date,
1021
-          //       total: 0
1022
-          //     }
1023
-          //   }
1024
-          // })
1025
-          // let list = Object.values(dataInfo)
1026
-
1027
-          // var arr = []
1028
-          // list.map(item => {
1029
-          //   for (let i = 0; i < cart.length; i++) {
1030
-          //     if (item.inspect_date == cart[i].inspect_date && item.patient_id == cart[i].patient_id) {
1031
-          //       item.child.push(cart[i])
1032
-          //       item.total++
1033
-          //     }
1034
-          //   }
1035
-          // })
1036
-
1037
-          // list.map(item => {
1038
-          //   item.child.map(it => {
1039
-          //     arr.push(it)
1040
-          //   })
1041
-          // })
1042
-
1043
-          // var arrtwo = []
1044
-          // for (let i = 0; i < arr.length; i++) {
1045
-          //   if (parseInt(arr[i].range_min) <= parseInt(arr[i].inspect_value) && parseInt(arr[i].inspect_value) <= parseInt(arr[i].range_max)) {
1046
-          //     arrtwo.push(arr[i])
1047
-          //   }
1048
-          // }
1049
-
1050
-          // let objinfo = {}
1051
-          // arrtwo.forEach((item, index) => {
1052
-          //   let { patient_id } = item
1053
-          //   if (!objinfo[patient_id]) {
1054
-          //     objinfo[patient_id] = {
1055
-          //       patient_id,
1056
-          //       name: item.name,
1057
-          //       child: [],
1058
-          //       inspect_date: item.inspect_date,
1059
-          //       count: 0
1060
-          //     }
1061
-          //   }
1062
-          // })
1063
-          // let newlist = Object.values(objinfo)
1064
-          // newlist.map(item => {
1065
-          //   for (let i = 0; i < arrtwo.length; i++) {
1066
-          //     if (arrtwo[i].patient_id == item.patient_id && arrtwo[i].inspect_date == item.inspect_date) {
1067
-          //       item.child.push(arrtwo[i])
1068
-          //     }
1069
-          //   }
1070
-          // })
1071
-
1072
-          // newlist.map(item => {
1073
-          //   item.child.map(it => {
1074
-          //     if (parseInt(it.range_min) <= parseInt(it.inspect_value) && parseInt(it.inspect_value) <= parseInt(it.range_max)) {
1075
-          //       item.count++
1076
-          //     }
1077
-          //   })
1078
-          // })
1079
-
1080
-          // var newtotal = 0
1081
-
1082
-          // list.map(item => {
1083
-          //   for (let i = 0; i < newlist.length; i++) {
1084
-          //     if (item.patient_id == newlist[i].patient_id && item.total == newlist[i].count) {
1085
-          //       newtotal++
1086
-          //     }
1087
-          //   }
1088
-          // })
1089
-
1090
-          // var totalCount = totaltwo - newtotal
1091
-          // for (let i = 0; i < this.dataName.length; i++) {
1092
-          //   this.modesData.xAxis.push(this.dataName[i].name)
1093
-          // }
1094
-
1095
-          // for (let i = 0; i < this.dataCount.length; i++) {
1096
-          //   this.dataCount[0].count = newtotal
1097
-          //   this.dataCount[1].count = totalCount
1098
-          // }
1099
-
1100
-          // for (let i = 0; i < this.dataCount.length; i++) {
1101
-          //   this.modesData.series.push(((this.dataCount[i].count / totaltwo) * 100).toFixed(1))
1102
-          // }
1103
-          // this.options.series[0].data = this.modesData.series
1104
-          // this.options.xAxis.data = this.modesData.xAxis
1105 861
         }
1106 862
       })
1107 863
     },
@@ -1259,7 +1015,6 @@ export default {
1259 1015
     toReturn () {
1260 1016
       this.$router.push('/dqc/index')
1261 1017
     }
1262
-
1263 1018
   },
1264 1019
   created () {
1265 1020
     // 列表
@@ -1269,7 +1024,6 @@ export default {
1269 1024
     this.tableHeight = (document.documentElement.clientHeight - (Number(document.documentElement.style.fontSize.slice(0, -2)) * 3.125)) + 'px'
1270 1025
     // 获取指标数据
1271 1026
     this.getMobileNormData()
1272
-
1273 1027
     // 获取统计图数据
1274 1028
     this.getMobileCartogramlist()
1275 1029
   }

+ 0 - 68
src/pages/home/active.vue 파일 보기

@@ -1,73 +1,5 @@
1 1
 <template>
2 2
     <div class="page_kuyishop">
3
-        <!-- <div class="activeBox">
4
-            <div class="activeTitleBox">
5
-                <div class="activeTitle">
6
-                    <img src="../../assets/images/activeIcon_03.png" alt="">
7
-                    <p>活 动 详 情</p>
8
-                </div>
9
-            </div>
10
-            <div class="activeOne">
11
-                <div class="activeTipBox">
12
-                    <div class="activeTip"></div>
13
-                    <p>活动介绍</p>
14
-                </div>
15
-                <div class="activeTxt">
16
-                    注册酷医云系统并体验系统即可获得<span>价值69元的精美礼品一份(多功能补水仪/多功能加湿器/保温杯套装)</span>
17
-                </div>  
18
-            </div>
19
-            <div class="activeOne">
20
-                <div class="activeTipBox">
21
-                    <div class="activeTip"></div>
22
-                    <p>参与对象</p>
23
-                </div>
24
-                <div class="activeTxt">
25
-                    <span>民营透析机构医护人员</span>
26
-                </div>  
27
-            </div>
28
-            <div class="activeOne">
29
-                <div class="activeTipBox">
30
-                    <div class="activeTip"></div>
31
-                    <p>活动主题</p>
32
-                </div>
33
-                <div class="activeTxt">
34
-                    自春节以来,新冠肺炎疫情肆虐。疫期,民营透析机构在医护紧缺的情况下,仍辛苦坚守阵地,为透析患者提供服务,逆行并开辟透析患者生命之路;而酷医云现已覆盖全国近500家透析机构,我们深知民营透析机构的压力和辛苦。基于此情况,酷医云决定向广大民营透析机构/单位进行疫期致敬大回馈活动,为每一家民营透析机构赠送一份价值69元的精美礼品
35
-                </div>  
36
-            </div>
37
-            <div class="activeOne">
38
-                <div class="activeTipBox">
39
-                    <div class="activeTip"></div>
40
-                    <p>领取精美礼品满足条件</p>
41
-                </div>
42
-                <div class="activeTxt">
43
-                    <p>1.未使用酷医云系统的新用户机构,注册酷医云账号并完善账号信息</p>
44
-                    <p>2.注册医护必须为民营透析机构的医护</p>
45
-                    <p>3.每家机构有且仅有一位医护代表参与领取,先注册先得</p>
46
-                    <p class="litle">*以上解释权归酷医云所有,谢谢配合</p>
47
-                    <p class="big">价值69元精美礼品(三选一)</p>
48
-                    <img src="../../assets/images/goods_03.png" alt="">
49
-                    <img src="../../assets/images/goods_07.png" alt="">
50
-                    <img src="../../assets/images/goods_09.png" alt="">
51
-                    
52
-                </div>  
53
-            </div>
54
-            <div class="activeOne">
55
-                <div class="activeTipBox">
56
-                    <div class="activeTip"></div>
57
-                    <p>【酷医云老用户推荐引导新用户注册者也可领取精美礼品】</p>
58
-                </div>
59
-                <div class="activeTxt">
60
-                    <p>符合以下条件即可领取:</p>
61
-                    <p>1. 老用户推荐其他民营透析机构医护体验酷医云</p>
62
-                    <p>2. 推荐的医护为对方透析中心首个注册体验酷医云的用户</p>
63
-                    <p>3. 推荐者把推荐注册的聊天页面进行截图,并发给酷医云对接人或客服人员,客服微信号:kuyicloud</p>
64
-                    <p>4. 推荐的新用户和推荐者均可各自获得精美礼品一份,且双方必须在活动页面点击我要报名并填写收货信息,礼品即可发货</p>
65
-                </div>  
66
-            </div>
67
-            <div class="join" @click="toActiveForm">我 要 报 名</div>
68
-            <div class="joinImg" @click="toActiveForm"><img src="../../assets/images/apply.png" alt=""></div>
69
-        </div> -->
70
-        
71 3
         <iframe :src='url'></iframe>
72 4
 
73 5
     </div>

+ 1 - 245
src/pages/home/index.vue 파일 보기

@@ -1,75 +1,5 @@
1 1
 <template>
2
-  <!-- <div class="page_home">
3
-    <div class="top">
4
-      <div class="header">
5
-        <img src="../../assets/images/hospital.png" alt />
6
-        <van-dropdown-menu>
7
-          <van-dropdown-item v-model="value" :options="hospitals" />
8
-        </van-dropdown-menu>
9
-      </div>
10
-      <div class="search" @click="ToSearch()">
11
-        <el-input
12
-          placeholder=" 姓名 / 首拼 / 透析号"
13
-          prefix-icon="el-icon-search"
14
-          v-model="searchVal"
15
-        ></el-input>
16
-      </div>
17
-      <div class="banner">
18
-        <img src="../../assets/images/homebanner.jpg" alt />
19
-      </div>
20
-      <div class="myDesk">
21
-        <h2>我的工作台</h2>
22
-        <div class="list">
23
-          <ul class="all">
24
-            <li class="one">
25
-              <img src="../../assets/images/m09.png" alt />
26
-              <p @click="patientManagement()">病人管理</p>
27
-            </li>
28
-            <li class="one">
29
-              <img src="../../assets/images/m02.png" alt />
30
-              <p>透析记录</p>
31
-            </li>
32
-            <li class="one">
33
-              <img src="../../assets/images/m04.png" alt />
34
-              <p>质控分析</p>
35
-            </li>
36
-            <li class="one">
37
-              <img src="../../assets/images/m05.png" alt />
38
-              <p>院感管理</p>
39
-            </li>
40
-            <li class="one">
41
-              <img src="../../assets/images/m06.png" alt />
42
-              <p>微商城</p>
43
-            </li>
44
-            <li class="one">
45
-              <img src="../../assets/images/m07.png" alt />
46
-              <p>微官网</p>
47
-            </li>
48
-            <li class="one">
49
-              <img src="../../assets/images/m08.png" alt />
50
-              <p>医院二维码</p>
51
-            </li>
52
-            <li class="one">
53
-              <img src="../../assets/images/m03.png" alt />
54
-              <p>基础配置</p>
55
-            </li>
56
-          </ul>
57
-        </div>
58
-      </div>
59
-    </div>
60
-
61
-    <div class="tab">
62
-      <div class="btn">
63
-        <i class="iconfont icon-zhuye"></i>
64
-        <span>首页</span>
65
-      </div>
66
-      <div class="btn">
67
-        <i class="iconfont icon-wode"></i>
68
-        <span>我的</span>
69
-      </div>
70
-    </div>
71 2
 
72
-  </div>-->
73 3
   <div class="page_home">
74 4
     <div>
75 5
       <router-view />
@@ -82,24 +12,6 @@
82 12
             <div>首页</div>
83 13
           </van-tabbar-item>
84 14
         </router-link>
85
-        <!-- <router-link to="/active">
86
-          <van-tabbar-item>
87
-            <i class="iconfont icon-yisheng iconOne"></i>
88
-            <div>致敬医护</div>
89
-          </van-tabbar-item>
90
-        </router-link> -->
91
-        <!--<router-link to="/service">-->
92
-          <!--<van-tabbar-item>-->
93
-            <!--<i class="iconfont icon-fuwu2 iconOne"></i>-->
94
-            <!--<div>服务</div>-->
95
-          <!--</van-tabbar-item>-->
96
-        <!--</router-link>-->
97
-       <!-- <router-link to="/active" replace>
98
-         <van-tabbar-item>
99
-           <i class="iconfont icon-shangcheng iconOne"></i>
100
-           <div>商城</div>
101
-         </van-tabbar-item>
102
-       </router-link> -->
103 15
         <router-link to="/newMy" replace>
104 16
           <van-tabbar-item>
105 17
             <i class="iconfont icon-wode iconOne"></i>
@@ -135,13 +47,6 @@ export default {
135 47
     }
136 48
   },
137 49
   methods: {
138
-    // patientManagement() {
139
-    //   var id = this.$route.query.id;
140
-    //   this.$router.push("/patientmanagement?id=" + id);
141
-    // },
142
-    // ToSearch() {
143
-    //   this.$router.push("/search");
144
-    // }
145 50
     getToken(orgId,adminUserId){
146 51
       axios.get('/api/index/gettoken/'+ orgId + '/'+ adminUserId
147 52
         ).then((res) => {
@@ -202,9 +107,7 @@ export default {
202 107
     } else if (currenttabbar === "newMy") {
203 108
       this.active = 1;
204 109
     }
205
-    // else if (currenttabbar === "active") {
206
-    //   this.active = 1;
207
-    // }
110
+
208 111
   }
209 112
 };
210 113
 </script>
@@ -248,152 +151,5 @@ export default {
248 151
       color: #1989fa;
249 152
     }
250 153
   }
251
-
252
-  // .header {
253
-  //   padding: 0 15px;
254
-  //   box-sizing: border-box;
255
-  //   height: 3.125rem;
256
-  //   width: 100%;
257
-  //   line-height: 3.125rem;
258
-  //   img {
259
-  //     float: left;
260
-  //     width: 1.375rem;
261
-  //     height: 1.375rem;
262
-  //     margin-top: 0.625rem;
263
-  //   }
264
-  //   .van-dropdown-menu {
265
-  //     width: 8.5rem;
266
-  //     height: 3.125rem;
267
-  //   }
268
-  //   .van-dropdown-menu__item {
269
-  //     flex: none;
270
-  //   }
271
-  //   .van-ellipsis {
272
-  //     width: 6.25rem;
273
-  //     height: 3.125rem;
274
-  //     line-height: 3.125rem;
275
-  //     font-size: 0.875rem;
276
-  //     white-space: nowrap;
277
-  //     text-overflow: ellipsis;
278
-  //     overflow: hidden;
279
-  //   }
280
-  // }
281
-  // .search {
282
-  //   width: 21.5625rem;
283
-  //   height: 2.125rem;
284
-  //   padding: 0 15px;
285
-  //   box-sizing: border-box;
286
-  //   .el-input__inner {
287
-  //     width: 21.5625rem;
288
-  //     height: 2.125rem;
289
-  //     border: none;
290
-  //     background: rgba(244, 244, 244, 1);
291
-  //     border-radius: 17px;
292
-  //     color: #999999;
293
-  //   }
294
-  //   .el-input__prefix {
295
-  //     margin-top: -0.125rem;
296
-  //     color: #999999;
297
-  //   }
298
-  // }
299
-  // .banner {
300
-  //   overflow: hidden;
301
-  //   margin-top: 1.25rem;
302
-  //   // width: 21.4375rem;
303
-  //   // height: 8.3125rem;
304
-  //   // border-radius: 10px;
305
-  //   width: 23.4375rem;
306
-  //   height: 8.3125rem;
307
-  //   // background: rgba(188, 188, 188, 0.1);
308
-  //   // opacity: 0.2;
309
-  //   img {
310
-  //     margin: 0 15px;
311
-  //     width: 21.4375rem;
312
-  //     height: 8.3125rem;
313
-  //     box-sizing: border-box;
314
-  //   }
315
-  // }
316
-  // .myDesk {
317
-  //   padding: 0 15px;
318
-  //   box-sizing: border-box;
319
-  //   padding-top: 1.5625rem;
320
-  //   width: 23.4375rem;
321
-  //   height: 17.0625rem;
322
-  //   // background: rgba(188, 188, 188, 0.1);
323
-  //   h2 {
324
-  //     height: 1.1875rem;
325
-  //     font-size: 1.25rem;
326
-  //     font-weight: 600;
327
-  //     color: rgba(0, 0, 0, 1);
328
-  //     line-height: 0.9375rem;
329
-  //   }
330
-  //   .list {
331
-  //     margin-top: 0.9375rem;
332
-  //     width: 21.4375rem;
333
-  //     height: 14rem;
334
-  //     background: rgba(255, 255, 255, 1);
335
-  //     border-radius: 10px;
336
-  //     box-shadow: 0px 3px 12px 0px rgba(188, 188, 188, 0.2);
337
-  //     display: flex;
338
-  //     align-items: center;
339
-  //     .all {
340
-  //       display: flex;
341
-  //       justify-content: space-around;
342
-  //       flex-wrap: wrap;
343
-  //     }
344
-  //     .one {
345
-  //       width: 25%;
346
-  //       display: flex;
347
-  //       flex-direction: column;
348
-  //       align-items: center;
349
-  //       justify-content: space-around;
350
-  //       height: 6.25rem;
351
-  //       img {
352
-  //         width: 2.8125rem;
353
-  //         height: 2.8125rem;
354
-  //       }
355
-  //       p {
356
-  //         margin-top: -0.625rem;
357
-  //         height: 0.8125rem;
358
-  //         font-size: 0.8125rem;
359
-  //         color: rgba(60, 60, 60, 1);
360
-  //         line-height: 0.9375rem;
361
-  //       }
362
-  //     }
363
-  //   }
364
-  // }
365
-  // .tab {
366
-  //   display: flex;
367
-  //   width: 23.4375rem;
368
-  //   height: 3.0625rem;
369
-  //   background: rgba(255, 255, 255, 1);
370
-  //   justify-content: space-around;
371
-  //   box-shadow: 3px 0px 12px 3px rgba(188, 188, 188, 0.2);
372
-
373
-  //   > div:last-child {
374
-  //     span {
375
-  //       color: #bfbfbf;
376
-  //     }
377
-  //   }
378
-  //   .btn {
379
-  //     display: flex;
380
-  //     flex-direction: column;
381
-  //     align-items: center;
382
-  //     align-self: center;
383
-  //     i {
384
-  //       font-size: 1.5rem;
385
-  //       color: rgba(79, 115, 254, 1);
386
-  //     }
387
-  //     .icon-wode {
388
-  //       color: #bfbfbf;
389
-  //     }
390
-
391
-  //     span {
392
-  //       font-size: 0.75rem;
393
-  //       color: rgba(79, 115, 254, 1);
394
-  //       margin-top: 0.25rem;
395
-  //     }
396
-  //   }
397
-  // }
398 154
 }
399 155
 </style>

+ 0 - 8
src/pages/home/register/register.vue 파일 보기

@@ -48,14 +48,6 @@
48 48
           </div>
49 49
         </el-form-item>
50 50
       </el-form>
51
-      <!-- <el-input placeholder="请输入手机号码" prefix-icon="el-icon-mobile" v-model="phone"></el-input>
52
-
53
-      <div class="code">
54
-        <i class="iconfont icon-dunpai dunpai"></i>
55
-        <el-input v-model="code" placeholder="请输入验证码"></el-input>
56
-        <div class="getCode">获取验证码</div>
57
-      </div>
58
-      <el-input placeholder="请输入密码" prefix-icon="el-icon-lock" v-model="psd" show-password></el-input>-->
59 51
     </div>
60 52
     <div
61 53
       class="login"

+ 0 - 8
src/pages/home/verifyToken.vue 파일 보기

@@ -43,13 +43,6 @@ export default {
43 43
           });
44 44
           this.$store.dispatch("SetConfigList", config_list);
45 45
           this.$store.dispatch("SetDictConfigList", dict_config_list);
46
-          // if(org.id == 9504 || org.id == 3907 || org.id == 3877 || org.id == 10121 || org.id == 9914 || org.id == 9566 || org.id == 10138 || org.id == 10088 || org.id == 9538 || org.id ==9747){
47
-          //   this.$router.push({path: '/homeIndex'})
48
-            // location.replace("http://mobile.kuyicloud.com/index22.html#/homeIndex")
49
-          // }else{
50
-          //   location.replace("http://mobile.kuyicloud.com/#/homeIndex")
51
-          // }
52
-
53 46
          this.$router.replace("/homeIndex");
54 47
         } else {
55 48
           //未登录
@@ -65,7 +58,6 @@ export default {
65 58
   },methods:{
66 59
     callJsFunction(cookieStr) {
67 60
       console.log(cookieStr)
68
-
69 61
     }
70 62
   },
71 63
 };

+ 10 - 47
src/pages/main/DetailsPage.vue 파일 보기

@@ -23,12 +23,6 @@
23 23
           </ul>
24 24
         </div>
25 25
 
26
-        <!-- <div @click="openPicker()" class="time">
27
-                  {{pickerVisible}}<span class="iconfont">&#xe74a;</span>
28
-        </div>-->
29
-        <!-- <div class="time" style="width:1.49rem;">
30
-                  <span class="iconfont">2018-01-01&#xe74a;</span>
31
-        </div>-->
32 26
         <div class="previewBox">
33 27
           <i class="el-icon-printer printerIcon" @click="print"></i>
34 28
           <!-- <span class="preview" @click="print">预览</span> -->
@@ -40,34 +34,12 @@
40 34
       </div>
41 35
 
42 36
       <div class="Tab">
43
-        <!-- <CaseHistory v-show="index == 0" title="病历"></CaseHistory> -->
44
-        <!--<check-tab v-show="index==1" title="化验单"></check-tab>-->
37
+
45 38
         <dialysis-tab v-if="index == 1" title="透析" v-on:records="jump(val)"></dialysis-tab>
46 39
         <today-tab ref="today" v-show="index == 0 && !showView" title="今日" @show_patient_list="showPatientList"></today-tab>
47
-        <!-- <div v-if="showView" style="text-align:center;font-size:0.6rem;">
48
-          <p style="margin-top:20px;">当前叫号</p>
49
-          <p style="margin-top:20px;">{{ $route.query.patient_name ? $route.query.patient_name : ""}}</p>
50
-          <p style="margin-top:20px;">签到时间:{{ $route.query.curPatientTime ? getDates($route.query.curPatientTime) : '' }}</p>
51
-          <p style="color:red;margin-top:20px;">提示:当前患者无排班,请先排班</p>
52
-        </div> -->
53 40
       </div>
54 41
     </div>
55
-    <!-- <div class="add" @click="print">
56
-      <p>打印预览</p>
57
-    </div> -->
58
-    <!-- <div class="fixedCalling" v-if="queueConfig.txxqyxs == 1">
59
-      <div class="nowCalling">
60
-        <div class="callingName">{{ fisrtQueueInfo && fisrtQueueInfo.patient_name ? fisrtQueueInfo.patient_name : '暂无叫号' }}</div>
61
-        <p v-if="fisrtQueueInfo != null && fisrtQueueInfo.patient_name">当前叫号</p>
62
-      </div>
63
-      <div class="fixedVolume" @click="call">
64
-        <van-icon name="volume" />
65
-      </div>
66
-      <div class="callingName" @click="next">下一位</div>
67
-    </div> -->
68
-    <!-- <div class="callFamilyBox" @click="callFamily" v-if="queueConfig.txxqyxs == 1">
69
-      <img src="../../assets/images/callFamily.png" alt="">
70
-    </div> -->
42
+
71 43
     <div class="callFamilyBox" @click="callFamily" ref="callBtn" v-if="queueConfig.txxqyxs == 1" @touchstart="down" @mousedown="down"
72 44
       @mousemove="move"
73 45
       @touchmove="move"
@@ -76,19 +48,7 @@
76 48
       @touchcancel="end">
77 49
       <img src="../../assets/images/callFamily.png" alt="">
78 50
     </div>
79
-    <!-- <div class="printBox" @click="print">
80
-      <img src="../../assets/images/print.png" alt="">
81
-    </div> -->
82
-    <!-- <side-bar :active_index="0"></side-bar> -->
83
-    <!-- <mt-datetime-picker
84
-            v-model="pickerVisible"
85
-            type="date"
86
-            ref="picker"
87
-            year-format="{value} "
88
-            month-format="{value} "
89
-            date-format="{value} ">
90
-    </mt-datetime-picker>-->
91
-
51
+    <!-- 病人弹窗 -->
92 52
     <div class="showBox">
93 53
       <van-popup v-model="show" position="top" :style="{ height: '100%' }">
94 54
       <div
@@ -330,7 +290,6 @@ export default {
330 290
 
331 291
     this.GetPatientInfoWithDiseases(this.patient_id)
332 292
     // this.requestDialysisScheduals()
333
-
334 293
     this.users.name = this.$store.getters.user.user.user_name
335 294
     this.users.id = this.$store.getters.user.admin.id
336 295
     this.users.user_type = this.$store.getters.user.user.user_type
@@ -704,6 +663,7 @@ export default {
704 663
         .then(response => {
705 664
           if (response.data.state == 1) {
706 665
             this.patient = response.data.data.patient
666
+            console.log('cccc',this.patient);
707 667
           } else {
708 668
             Toast.fail(response.data.msg)
709 669
             return false
@@ -732,7 +692,7 @@ export default {
732 692
         this.dialysisGlobalConfig(patient)
733 693
       }
734 694
 
735
-      // console.log(222222, patient)
695
+      console.log(222222, patient)
736 696
       this.allSearchArr = patient
737 697
 
738 698
       let newPatients = []
@@ -1061,7 +1021,8 @@ export default {
1061 1021
       if (this.active == 0) {
1062 1022
         let arr = []
1063 1023
         this.searchArr.map(item => {
1064
-          if (item.patient.name.indexOf(val) != -1) {
1024
+          if (item.patient.name.indexOf(val) != -1 ||
1025
+          item.patient.first_letter.indexOf(val) !=-1) {
1065 1026
             arr.push(item)
1066 1027
           }
1067 1028
         })
@@ -1091,7 +1052,9 @@ export default {
1091 1052
       } else if (this.active == 1) {
1092 1053
         let arr = []
1093 1054
         this.allSearchArr.map(item => {
1094
-          if (item.patient.name.indexOf(val) != -1) {
1055
+          console.log('cxvxvnvbncvxvvgf',item.patient.first_letter);
1056
+          if (item.patient.name.indexOf(val) != -1 ||
1057
+          item.patient.first_letter.indexOf(val) !=-1) {
1095 1058
             arr.push(item)
1096 1059
           }
1097 1060
         })

+ 3 - 1
src/pages/main/DialysisArea.vue 파일 보기

@@ -1638,7 +1638,9 @@ export default {
1638 1638
           var filtedSchedules = []
1639 1639
           for (let s_i = 0; s_i < originSchedules.length; s_i++) {
1640 1640
             const schedule = originSchedules[s_i]
1641
-            if (schedule.patient.name.indexOf(search_keyword) != -1 || schedule.patient.dialysis_no.indexOf(search_keyword) != -1) {
1641
+            if (schedule.patient.name.indexOf(search_keyword) != -1 || 
1642
+                schedule.patient.dialysis_no.indexOf(search_keyword) != -1 ||
1643
+                schedule.patient.first_letter.indexOf(search_keyword) != -1) {
1642 1644
               filtedSchedules.push(schedule)
1643 1645
             }
1644 1646
           }

+ 2 - 17
src/pages/main/PatientBox.vue 파일 보기

@@ -2402,21 +2402,6 @@ export default {
2402 2402
       console.log('total', total)
2403 2403
       this.select_time_str = this.getTimeTwo(total)
2404 2404
       this.select_time = this.getTimeTwo(total)
2405
-
2406
-      // let oldTime = this.start_time_str
2407
-      // var time = new Date(oldTime.replace('-', '/'))
2408
-      // var b = parseInt(this.disinfec_time) // 分钟数
2409
-      // time.setMinutes(time.getMinutes() + b)
2410
-
2411
-      // this.end_time = ''
2412
-      // this.end_time = parseTime(time, '{y}-{m}-{d} {h}:{i}')
2413
-      // this.end_time_one = ''
2414
-      // this.end_time_one = parseTime(time, '{y}-{m}-{d} {h}:{i}')
2415
-
2416
-      // this.select_time = parseTime(time, '{y}-{m}-{d} {h}:{i}')
2417
-      // console.log('select_time23323233223', this.select_time)
2418
-      // this.select_time_str = parseTime(time, '{y}-{m}-{d} {h}:{i}')
2419
-      // console.log('select_time_str', this.select_time_str)
2420 2405
     },
2421 2406
     modeColor (id) {
2422 2407
       if (id == 1) {
@@ -2478,11 +2463,11 @@ export default {
2478 2463
 
2479 2464
   },
2480 2465
   created () {
2481
-    console.log("thiso2ooow",this.newIndex)
2466
+    // console.log("thiso2ooow",this.newIndex)
2482 2467
     if (this.$store.getters.user.template_info.org_id != 10340 && this.$store.getters.user.template_info.org_id != 9829 &&  this.$store.getters.user.template_info.org_id != 10490) {
2483 2468
       this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}')
2484 2469
       this.select_time_str = parseTime(this.select_time, '{y}-{m}-{d} {h}:{i}')
2485
-      console.log('this.select_time_str3232323', this.select_time_str)
2470
+      // console.log('this.select_time_str3232323', this.select_time_str)
2486 2471
       
2487 2472
     }
2488 2473
   },

+ 2 - 16
src/pages/main/RecordPage.vue 파일 보기

@@ -160,7 +160,7 @@ import { getDialysisOrWaitSelectedConfig } from '@/utils/data_config'
160 160
 import monitoring from '../monitoring/index'
161 161
 // import control from '../control/index.vue'
162 162
 import DialysisAdviceTable from '../advice/DialysisAdviceTable'
163
-import DialysisAdvice from '../advice/DialysiAdive.vue'
163
+import DialysisAdvice from '../advice/DialysiAdive'
164 164
 import beforeDialysis from './beforeDialysis/index'
165 165
 import calling from './calling/index'
166 166
 import schedule from './schedule/index'
@@ -405,18 +405,6 @@ export default {
405 405
       }
406 406
     },
407 407
     onClick (tabIndex) {
408
-      // if(this.$store.getters.user.tab_index == 0){
409
-      //   this.$refs.waitingArea.removeEventListener()
410
-      // }
411
-      // if(tabIndex == 0){
412
-      //   this.$refs.waitingArea.addEventListener()
413
-      // }
414
-      // if(this.$store.getters.user.tab_index == 1){
415
-      //   this.$refs.dialysisArea.removeEventListener()
416
-      // }
417
-      // if(tabIndex == 1){
418
-      //   this.$refs.dialysisArea.addEventListener()
419
-      // }
420 408
 
421 409
       this.$store.getters.user.tab_index = tabIndex
422 410
       this.index = tabIndex
@@ -435,14 +423,12 @@ export default {
435 423
       // this.$refs.search_field.blur();
436 424
       this.search_keyword = this.search_input
437 425
       if (this.index == 0) {
438
-
439 426
         this.$refs.waitingArea.searchVal(this.search_keyword)
440 427
       } else if (this.index == 1) {
441
-
442 428
         this.$refs.dialysisArea.searchVal(this.search_keyword)
443 429
       } else if (this.index == 2) {
444 430
         this.$refs.monitoring.searchWithKeyword(1, this.search_keyword)
445
-      } else if (this.index == 4) {
431
+      } else if (this.index == 5) {
446 432
         this.$refs.dialysisParameters.getKeyword(this.search_keyword)
447 433
       }
448 434
     },

+ 5 - 135
src/pages/main/WaitingArea.vue 파일 보기

@@ -360,83 +360,8 @@ export default {
360 360
           //   });
361 361
           // }
362 362
         }
363
-
364 363
         // console.log(111, filtedSchedules)
365 364
         return this.processScheduals(filtedSchedules)
366
-        // eslint-disable-next-line no-unreachable
367
-        if (this.select_index == 2) {
368
-          var scheduals = []
369
-          for (let index = 0; index < this.scheduals.length; index++) {
370
-            const schedual = this.scheduals[index]
371
-            if (
372
-              schedual.assessment_before_dislysis == null ||
373
-              schedual.assessment_before_dislysis.weight_before == 0
374
-            ) {
375
-              if (
376
-                this.cur_zone_selected > 0 &&
377
-                schedual.device_number.zone.id != this.cur_zone_selected
378
-              ) {
379
-                continue
380
-              }
381
-              if (
382
-                timetype_selected > 0 &&
383
-                schedual.schedule_type != timetype_selected
384
-              ) {
385
-                continue
386
-              }
387
-              scheduals.push(schedual)
388
-            }
389
-          }
390
-          return this.processScheduals(scheduals)
391
-          // return scheduals;
392
-        } else if (this.select_index == 1) {
393
-          var scheduals = []
394
-          for (let index = 0; index < this.scheduals.length; index++) {
395
-            const schedual = this.scheduals[index]
396
-            if (
397
-              schedual.prescription == null ||
398
-              schedual.prescription.creater == 0
399
-            ) {
400
-              if (
401
-                this.cur_zone_selected > 0 &&
402
-                schedual.device_number.zone.id != this.cur_zone_selected
403
-              ) {
404
-                continue
405
-              }
406
-              if (
407
-                timetype_selected > 0 &&
408
-                schedual.schedule_type != timetype_selected
409
-              ) {
410
-                continue
411
-              }
412
-              scheduals.push(schedual)
413
-            }
414
-          }
415
-          // return scheduals;
416
-          return this.processScheduals(scheduals)
417
-        } else {
418
-          var scheduals = []
419
-          for (let index = 0; index < this.scheduals.length; index++) {
420
-            const schedual = this.scheduals[index]
421
-            if (schedual.dialysis_order == null) {
422
-              if (
423
-                this.cur_zone_selected > 0 &&
424
-                schedual.device_number.zone.id != this.cur_zone_selected
425
-              ) {
426
-                continue
427
-              }
428
-              if (
429
-                timetype_selected > 0 &&
430
-                schedual.schedule_type != timetype_selected
431
-              ) {
432
-                continue
433
-              }
434
-              scheduals.push(schedual)
435
-            }
436
-          }
437
-          // return scheduals;
438
-          return this.processScheduals(scheduals)
439
-        }
440 365
       }
441 366
 
442 367
       if (this.select_index == 2) {
@@ -984,21 +909,11 @@ export default {
984 909
     },
985 910
 
986 911
     requestScheduals: function () {
987
-      // this.loading = true;
988
-      // var date = parseTime(Date.parse(new Date()), '{y}-{m}-{d}')
989
-      // getWaitingScheduals({ date: date }).then(rs => {
990
-      // var resp = rs.data
991
-      // if (resp.state == 1) {
992
-
993 912
       this.loading = false
994 913
       var storedata = this.$store.getters.waitscheduals
995 914
 
996 915
       var scheduals = storedata.waitscheduals
997 916
       console.log('我的时间我做主', scheduals)
998
-      // var scheduals = resp.data.scheduals
999
-      // this.$store.dispatch('SetWaitScheduals', {
1000
-      //   waitscheduals: scheduals
1001
-      // })
1002 917
       var totalCount = scheduals.length
1003 918
       var prescription_count = 0
1004 919
       var assessment_before_dislysis_count = 0
@@ -1011,8 +926,6 @@ export default {
1011 926
           prescription_count += 1
1012 927
         }
1013 928
       }
1014
-      // this.menuList[2].count = assessment_before_dislysis_count;
1015
-      // this.menuList[1].count = prescription_count;
1016 929
       this.scheduals = scheduals
1017 930
 
1018 931
       var zoneMap = {}
@@ -1058,10 +971,6 @@ export default {
1058 971
         }
1059 972
       }
1060 973
       this.zonesList = zones
1061
-
1062
-      // this.zone_options = zones
1063
-
1064
-      // eslint-disable-next-line camelcase
1065 974
       var dialysis_scheduals = []
1066 975
       for (let index = 0; index < zones.length; index++) {
1067 976
         const zone = zones[index]
@@ -1092,35 +1001,8 @@ export default {
1092 1001
       this.zone_options = zones
1093 1002
 
1094 1003
       this.zone_scheduals = dialysis_scheduals
1095
-      this.getData()
1096
-
1097
-      // this.zone_options = this.makeZones(scheduals);
1098
-      // this.zone_scheduals = this.processScheduals(scheduals);
1099
-      // console.log('this.zone_options',this.zone_options)
1100
-      // console.log('this.zone_scheduals',this.dialysis_scheduals)
1101
-      // } else {
1102
-      //   this.loading = false
1103
-
1104
-      //   this.$toast({
1105
-      //     message: resp.msg
1106
-      //   })
1107
-      // }
1108
-      // }).catch(error => {
1109
-      //     this.loading = false
1110
-
1111
-      //     // 超时之后在这里捕抓错误信息.
1112
-      //     if (error.response) {
1113
-      //       this.networkStates = false
1114
-      //     } else if (error.request) {
1115
-      //       this.networkStates = false
1116
-      //       // if(error.request.readyState == 4 && error.request.status == 0){
1117
-      //       //   //我在这里重新请求
1118
-      //       //   this.networkStates = false
1119
-      //       // }
1120
-      //     } else {
1121
-      //       this.networkStates = false
1122
-      //     }
1123
-      //   })
1004
+      // this.getData()
1005
+      // return 
1124 1006
     },
1125 1007
     makeZones: function (scheduals) {
1126 1008
       console.log('schedualsjianmie', scheduals)
@@ -1473,7 +1355,9 @@ export default {
1473 1355
         var scheduals = []
1474 1356
         for (let index = 0; index < this.scheduals.length; index++) {
1475 1357
           const schedual = this.scheduals[index]
1476
-          if (schedual.patient.name.indexOf(search_keyword) != -1 || schedual.patient.dialysis_no.indexOf(search_keyword) != -1) {
1358
+          if (schedual.patient.name.indexOf(search_keyword) != -1 || 
1359
+              schedual.patient.dialysis_no.indexOf(search_keyword) != -1 ||
1360
+              schedual.patient.first_letter.indexOf(search_keyword) != -1) {
1477 1361
             scheduals.push(schedual)
1478 1362
           }
1479 1363
         }
@@ -1617,21 +1501,7 @@ export default {
1617 1501
 .screening {
1618 1502
   border-bottom: 1px #e5e5e5 solid;
1619 1503
   width: 100%;
1620
-  // position: fixed;
1621
-  // top: 86px;
1622
-  // @media only screen and (min-width: 768px) {
1623
-  //   top: 143px;
1624
-  // }
1625
-  // @media only screen and (min-width: 415px) and (max-width: 767px) {
1626
-  //   top: 114px;
1627
-  // }
1628
-  // right: 0;
1629
-  // z-index: 66;
1630
-  // left: 0;
1631 1504
   background: #fff;
1632
-  // @media only screen and (max-width: 812px) {
1633
-  //   top: 50px !important;
1634
-  // }
1635 1505
   ul {
1636 1506
     @include display-flex;
1637 1507
     @include align-items-center;

+ 2 - 4
src/pages/main/add_urgent_schedule.vue 파일 보기

@@ -104,10 +104,6 @@
104 104
         </van-row>
105 105
         <van-row class="row">
106 106
           <van-col :span="24">
107
-            <!-- <span class="title">&nbsp;</span>
108
-            <div class="field_panel">
109
-              <van-button type="info" size="normal" @click="submitAction">立即排班</van-button>
110
-            </div>-->
111 107
             <div class="nowScheduling" @click="submitAction">立即排班</div>
112 108
           </van-col>
113 109
         </van-row>
@@ -307,6 +303,7 @@ export default {
307 303
   },
308 304
   methods: {
309 305
     handleSelect (val) {
306
+      console.log('3333',val);
310 307
       this.patient_name = val.name
311 308
       this.patient_id = val.id
312 309
     },
@@ -316,6 +313,7 @@ export default {
316 313
         key = keyword
317 314
       }
318 315
       let searchArray = []
316
+      let newArr=[]
319 317
       PostSearch(key).then(response => {
320 318
         if (response.data.state == 1) {
321 319
           searchArray = response.data.data.patient

+ 1 - 30
src/pages/main/all/doctorAdvice.vue 파일 보기

@@ -290,36 +290,7 @@ export default {
290 290
           let list = Object.values(dataInfo) // list 转换成功的数据
291 291
           let arr = []
292 292
 
293
-          // list.map(item => {
294
-          //   let arr2 = [];
295
-          //   if (item.child.length > 1) {
296
-          //     item.child.map(it => {
297
-          //       if (arr.indexOf(it.advice_date) == -1) {
298
-          //         arr.push(it.advice_date);
299
-          //       } else {
300
-          //         delete it["advice_date"];
301
-          //       }
302
-          //     });
303
-          //     for (var i = item.child.length - 1; i != -1; i--) {
304
-          //       let obj = {};
305
-          //       obj.checker = item.child[i].checker;
306
-          //       obj.execution_staff = item.child[i].execution_staff;
307
-          //       obj.user_name = item.child[i].advice_doctor;
308
-          //       if (
309
-          //         JSON.stringify(arr2).includes(JSON.stringify(obj)) == false
310
-          //       ) {
311
-          //         arr2.push(obj);
312
-          //       } else {
313
-          //         console.log("删除");
314
-          //         delete item.child[i]["checker"];
315
-          //         delete item.child[i]["execution_staff"];
316
-          //         delete item.child[i]["advice_doctor"];
317
-          //       }
318
-          //     }
319
-          //   }
320
-          // });
321
-
322
-          console.log('list是 ', list)
293
+          // console.log('list是 ', list)
323 294
           this.doctorAdvicedetail = list
324 295
         }
325 296
       })

+ 1 - 1
src/pages/main/all/dryWeight.vue 파일 보기

@@ -62,7 +62,7 @@ export default {
62 62
     setHeight()
63 63
     var id = this.$route.query.id
64 64
     var patientid = this.$route.query.patientid
65
-    console.log('为啥', patientid)
65
+    // console.log('为啥', patientid)
66 66
     this.patientid = patientid
67 67
     this.getDryWeightDetail(id)
68 68
     this.date = this.$route.query.date

+ 3 - 1
src/pages/main/beforeDialysis/index.vue 파일 보기

@@ -427,7 +427,9 @@
427 427
         this.keywords = val
428 428
         let arr = []
429 429
         for (let i = 0; i < this.all_list.length; i++){
430
-          if(this.all_list[i].good_type[0].name.indexOf(val) != -1 || this.all_list[i].good_type[0].dialysis_no.indexOf(val) != -1){
430
+          if(this.all_list[i].good_type[0].name.indexOf(val) != -1 || 
431
+            this.all_list[i].good_type[0].dialysis_no.indexOf(val) != -1 ||
432
+            this.all_list[i].good_type[0].first_letter.indexOf(val) != -1){
431 433
             arr = arr.concat(this.all_list[i])
432 434
           }
433 435
         }

+ 4 - 86
src/pages/main/dialog/AcceptsDialog.vue 파일 보기

@@ -21,54 +21,15 @@
21 21
                       :label="item.id" v-model="receiveTreatmentAsses.way">{{item.name}}
22 22
             </el-radio>
23 23
 
24
-            <!--<el-radio v-model="receiveTreatmentAsses.way" label="1"-->
25
-              <!--&gt;步行</el-radio-->
26
-            <!--&gt;-->
27
-            <!--<el-radio v-model="receiveTreatmentAsses.way" label="2"-->
28
-              <!--&gt;扶行</el-radio-->
29
-            <!--&gt;-->
30
-            <!--<el-radio v-model="receiveTreatmentAsses.way" label="3"-->
31
-              <!--&gt;轮椅</el-radio-->
32
-            <!--&gt;-->
33
-            <!--<el-radio v-model="receiveTreatmentAsses.way" label="4"-->
34
-              <!--&gt;平车</el-radio-->
35
-            <!--&gt;-->
36
-            <!--</el-radio-group>-->
37 24
           </el-form-item>
38 25
           <el-form-item label="病人意识: " v-if="isShow('病人意识')">
39
-            <!--<el-radio v-model="receiveTreatmentAsses.consciousness" label="1"-->
40
-              <!--&gt;清醒</el-radio-->
41
-            <!--&gt;-->
42
-            <!--<el-radio v-model="receiveTreatmentAsses.consciousness" label="2"-->
43
-              <!--&gt;嗜睡</el-radio-->
44
-            <!--&gt;-->
45
-            <!--<el-radio v-model="receiveTreatmentAsses.consciousness" label="3"-->
46
-              <!--&gt;昏迷</el-radio-->
47
-            <!--&gt;-->
48
-            <!--<el-radio v-model="receiveTreatmentAsses.consciousness" label="4"-->
49
-              <!--&gt;模糊</el-radio-->
50
-            <!--&gt;-->
26
+
51 27
             <el-radio v-for="(item,index) in consciousness_arr" :key="index"
52 28
                       :label="item.id" v-model="receiveTreatmentAsses.consciousness">{{item.name}}
53 29
             </el-radio>
54 30
 
55 31
           </el-form-item>
56 32
           <el-form-item label="病人食欲: " v-if="isShow('病人食欲')">
57
-            <!--<el-radio v-model="receiveTreatmentAsses.appetite" label="1"-->
58
-              <!--&gt;正常</el-radio-->
59
-            <!--&gt;-->
60
-            <!--<el-radio v-model="receiveTreatmentAsses.appetite" label="2"-->
61
-              <!--&gt;减退</el-radio-->
62
-            <!--&gt;-->
63
-            <!--<el-radio v-model="receiveTreatmentAsses.appetite" label="3"-->
64
-              <!--&gt;恶心</el-radio-->
65
-            <!--&gt;-->
66
-            <!--<el-radio v-model="receiveTreatmentAsses.appetite" label="4"-->
67
-              <!--&gt;呕吐</el-radio-->
68
-            <!--&gt;-->
69
-            <!--<el-radio v-model="receiveTreatmentAsses.appetite" label="5"-->
70
-              <!--&gt;腹泻</el-radio-->
71
-            <!--&gt;-->
72 33
 
73 34
             <el-radio v-for="(item,index) in appetite_arr" :key="index"
74 35
                       :label="item.id" v-model="receiveTreatmentAsses.appetite">{{item.name}}
@@ -113,35 +74,13 @@
113 74
           </el-form-item>
114 75
 
115 76
           <el-form-item label="体位: " v-if="isShow('体位')">
116
-            <!--<el-radio v-model="receiveTreatmentAsses.posture" label="1"-->
117
-              <!--&gt;自动体位</el-radio-->
118
-            <!--&gt;-->
119
-            <!--<el-radio v-model="receiveTreatmentAsses.posture" label="2"-->
120
-              <!--&gt;平卧位</el-radio-->
121
-            <!--&gt;-->
122
-            <!--<el-radio v-model="receiveTreatmentAsses.posture" label="3"-->
123
-              <!--&gt;半卧位</el-radio-->
124
-            <!--&gt;-->
125
-            <!--<el-radio v-model="receiveTreatmentAsses.posture" label="4"-->
126
-              <!--&gt;端坐位</el-radio-->
127
-            <!--&gt;-->
128
-            <!--<el-radio v-model="receiveTreatmentAsses.posture" label="5"-->
129
-              <!--&gt;躁动不安</el-radio-->
130
-            <!--&gt;-->
77
+
131 78
             <el-radio v-for="(item,index) in posture_arr" :key="index"
132 79
                       :label="item.id" v-model="receiveTreatmentAsses.posture">{{item.name}}
133 80
             </el-radio>
134 81
           </el-form-item>
135 82
           <el-form-item label="病情: " v-if="isShow('病情')">
136
-            <!--<el-radio v-model="receiveTreatmentAsses.sick_condition" label="1"-->
137
-              <!--&gt;一般</el-radio-->
138
-            <!--&gt;-->
139
-            <!--<el-radio v-model="receiveTreatmentAsses.sick_condition" label="2"-->
140
-              <!--&gt;严重</el-radio-->
141
-            <!--&gt;-->
142
-            <!--<el-radio v-model="receiveTreatmentAsses.sick_condition" label="3"-->
143
-              <!--&gt;危</el-radio-->
144
-            <!--&gt;-->
83
+
145 84
             <el-radio v-for="(item,index) in sick_condition_arr" :key="index"
146 85
                       :label="item.id" v-model="receiveTreatmentAsses.sick_condition">{{item.name}}
147 86
             </el-radio>
@@ -188,18 +127,6 @@
188 127
             label="跌倒风险预防措施: "
189 128
             v-if="isShow('跌倒风险预防措施')"
190 129
           >
191
-            <!--<el-radio v-model="receiveTreatmentAsses.precaution" label="1"-->
192
-            <!--&gt;镇定剂</el-radio-->
193
-            <!--&gt;-->
194
-            <!--<el-radio v-model="receiveTreatmentAsses.precaution" label="2"-->
195
-            <!--&gt;约束带</el-radio-->
196
-            <!--&gt;-->
197
-            <!--<el-radio v-model="receiveTreatmentAsses.precaution" label="3"-->
198
-            <!--&gt;床栏</el-radio-->
199
-            <!--&gt;-->
200
-            <!--<el-radio v-model="receiveTreatmentAsses.precaution" label="4"-->
201
-            <!--&gt;加强宣教</el-radio-->
202
-            <!--&gt;-->
203 130
             <el-checkbox-group v-model="precautionTwo">
204 131
               <el-checkbox
205 132
                 v-for="item in precaution_arr"
@@ -208,10 +135,6 @@
208 135
               >{{ item.name }}</el-checkbox
209 136
               >
210 137
             </el-checkbox-group>
211
-
212
-<!--            <el-radio v-for="(item,index) in precaution_arr" :key="index"-->
213
-<!--                      :label="item.id" v-model="receiveTreatmentAsses.precaution">{{item.name}}-->
214
-<!--            </el-radio>-->
215 138
           </el-form-item>
216 139
           <el-form-item
217 140
             label-width="110dp"
@@ -271,13 +194,8 @@
271 194
             ></el-input>
272 195
           </el-form-item>
273 196
         </el-form>
274
-        <!-- <div class="button">
275
-          <button @click="commitInfo" class="submitButton">提交</button>
276
-        </div>-->
277 197
       </div>
278
-      <!-- <div class="footer">
279
-          处方医生:刘小军 医生
280
-      </div>-->
198
+
281 199
     </div>
282 200
   </div>
283 201
 </template>

+ 0 - 12
src/pages/main/dialog/AssessmentDialog.vue 파일 보기

@@ -51,18 +51,6 @@
51 51
           </div>
52 52
         </div>
53 53
 
54
-<!--        <div class="item" ref="symptom_before_dialysis" v-if="isShow('透析机型号')">-->
55
-<!--          <h2 class="name">透析机型号</h2>-->
56
-<!--          <div class="content">-->
57
-<!--            <input-->
58
-<!--              type="text"-->
59
-<!--              @click="newClick($event)"-->
60
-<!--              @focus="inputFocus"-->
61
-<!--              v-model="formValue.machine_type"-->
62
-<!--            />-->
63
-<!--          </div>-->
64
-<!--        </div>-->
65
-
66 54
         <div
67 55
           @click="showSubMenu('machine_type')"
68 56
           class="item"

+ 1 - 158
src/pages/main/dialog/ComputerDialog.vue 파일 보기

@@ -12,156 +12,7 @@
12 12
       </div>
13 13
 
14 14
       <div class="DialogContent newDialogContent">
15
-        <!-- <div class="item" @click="select_type" v-if="isShowFiled('班次')">
16
-          <h2 class="name">班次</h2>
17
-          <div class="content">
18
-            <span class="text" style="width: 100px">{{getSchedualType(this.schedual_type)}}</span>
19
-            <span class="iconfont">&#xe6f9;</span>
20
-          </div>
21
-        </div>
22
-        <div class="item" @click="select_bed" v-if="isShowFiled('上机床位')">
23
-          <h2 class="name">上机床位</h2>
24
-          <div class="content">
25
-            <span class="text" style="width: 100px">{{ device_number_map[bed_id].number }}</span>
26
-            <span class="iconfont">&#xe6f9;</span>
27
-          </div>
28
-        </div>
29
-        <div class="item" @click="select_nurse" v-if="isShowFiled('上机护士')">
30
-          <h2 class="name">上机护士</h2>
31
-          <div class="content">
32
-            <span class="text" style="width: 100px">{{ admin_map[nurse_id].name }}</span>
33
-            <span class="iconfont">&#xe6f9;</span>
34
-          </div>
35
-        </div>
36
-
37
-        <div class="item" @click="select_puncture_nurse" v-if="isShowFiled('穿刺者')">
38
-          <h2 class="name">穿刺者</h2>
39
-          <div class="content">
40
-            <span class="text" style="width: 100px" v-if="admin_map[puncture_nurse_id]">{{ admin_map[puncture_nurse_id].name}}</span>
41
-            <span class="iconfont">&#xe6f9;</span>
42
-          </div>
43
-        </div>
44
-
45
-         <div class="item" @click="select_change_nurse_nurse"  v-if="isShowFiled('换药护士')">
46
-          <h2 class="name">换药护士</h2>
47
-          <div class="content">
48
-            <span class="text" style="width: 100px" v-if="admin_map[change_nurse]">{{ admin_map[change_nurse].name}}</span>
49
-            <span class="iconfont">&#xe6f9;</span>
50
-          </div>
51
-        </div>
52
-
53
-        <div class="item" @click="select_washpipe_nurse_nurse"  v-if="isShowFiled('冲管护士')">
54
-          <h2 class="name">冲管护士</h2>
55
-          <div class="content">
56
-            <span class="text" style="width: 100px" v-if="admin_map[washpipe_nurse]">{{ admin_map[washpipe_nurse].name}}</span>
57
-            <span class="iconfont">&#xe6f9;</span>
58
-          </div>
59
-        </div>
60
-
61
-       <div class="item" @click="select_difficult_puncture_nurse"  v-if="isShowFiled('疑难穿刺护士')">
62
-          <h2 class="name">疑难穿刺护士</h2>
63
-          <div class="content">
64
-            <span class="text" style="width: 100px" v-if="admin_map[difficult_puncture_nurse]">{{ admin_map[difficult_puncture_nurse].name}}</span>
65
-            <span class="iconfont">&#xe6f9;</span>
66
-          </div>
67
-        </div>
68
-
69
-         <div class="item" @click="select_new_fistula_nurse"  v-if="isShowFiled('新开瘘护士')">
70
-          <h2 class="name">新开瘘护士</h2>
71
-          <div class="content">
72
-            <span class="text" style="width: 100px" v-if="admin_map[new_fistula_nurse]">{{ admin_map[new_fistula_nurse].name}}</span>
73
-            <span class="iconfont">&#xe6f9;</span>
74
-          </div>
75
-        </div>
76
-
77
-       <div class="item" @click="quality_nurse_id_nurse"  v-if="isShowFiled('质控护士')">
78
-          <h2 class="name">质控护士</h2>
79
-          <div class="content">
80
-            <span class="text" style="width: 100px" v-if="admin_map[quality_nurse_id]">{{ admin_map[quality_nurse_id].name}}</span>
81
-            <span class="iconfont">&#xe6f9;</span>
82
-          </div>
83
-        </div>
84
-
85
-         <div
86
-            @click="showSubMenu('puncture_needle')"
87
-            class="item"
88
-            ref="puncture_needle"
89
-            v-if="isShowFiled('穿刺针')"
90
-          >
91
-            <label class="name" for="knj">穿刺针</label>
92
-            <div class="content">
93
-              <span
94
-                class="text"
95
-                id="knjaa"
96
-              >{{getPunctureNeedle(puncture_needle)}}</span>
97
-              <span class="iconfont">&#xe6f9;</span>
98
-            </div>
99
-          </div>
100
-
101
-          <div
102
-          @click="showSubMenu('puncture_way')"
103
-          class="item"
104
-          ref="puncture_way"
105
-          v-if="isShowFiled('穿刺方式')"
106
-        >
107
-          <h2 class="name">穿刺方式</h2>
108
-           <div class="content">
109
-            <span class="text" style="width: 100px">{{getPunctureWay(puncture_way)}}</span>
110
-            <span class="iconfont">&#xe6f9;</span>
111
-          </div>
112
-        </div>
113
-
114
-        <div @click="showSubMenu('dialysis_dialyszers')" class="item" ref="mode" v-if="isShowFiled('透析器')">
115
-            <label class="name" for="txms">透析器</label>
116
-            <div class="content">
117
-              <span class="text" id="txms">{{getDialysis(dialysis_dialyszers)}}</span>
118
-              <span class="iconfont">&#xe6f9;</span>
119
-            </div>
120
-          </div>
121
-
122
-          <div @click="showSubMenu('dialysis_irrigation')" class="item" ref="mode" v-if="isShowFiled('灌流器')">
123
-            <label class="name" for="txms">灌流器</label>
124
-            <div class="content">
125
-              <span class="text" id="txms">{{getDialysisIrrigation(dialysis_irrigation)}}</span>
126
-              <span class="iconfont">&#xe6f9;</span>
127
-            </div>
128
-          </div>
129
-
130
-         <div @click="showSubMenu('blood_access_id')" class="item" ref="mode" v-if="isShowFiled('血管通路')">
131
-            <label class="name" for="txms">血管通路</label>
132
-            <div class="content">
133
-              <span class="text" id="txms">{{getBloodAccessTwo(blood_access_id)}}</span>
134
-              <span class="iconfont">&#xe6f9;</span>
135
-            </div>
136
-          </div>
137
-
138
-          <div class="item" v-if="isShowFiled('核酸检测日期')">
139
-          <h2 class="name">核酸检测日期</h2>
140
-          <div class="content">
141
-            <span class="text" style="width: 100px" @click="selectNucleinDateAction">{{ nuclein_date_str }}</span>
142
-            <span class="iconfont">&#xe6f9;</span>
143
-          </div>
144
-        </div>
145
-
146
-        <div class="item" v-if="template_id == 6">
147
-          <label class="name" for="xll">引血(ml/min)</label>
148
-          <div class="content">
149
-            <input type="tel" @focus="inputFocus" id="xll" v-model="blood_drawing"/>
150
-          </div>
151
-        </div>
152
-
153
-        <div class="item" v-if="isShowFiled('上机时间')">
154
-          <h2 class="name">上机时间</h2>
155
-          <div class="content">
156
-            <span class="text" style="width: 100px" @click="selectStartTimeAction">{{ start_time_str }}</span>
157
-            <span class="iconfont">&#xe6f9;</span>
158
-          </div>
159
-        </div>
160
-
161
-        <div class="perform">
162
-          <button @click="commitInfo" v-if="(record == null || record.id == '')">执行上机</button>
163
-          <button :disabled="true" style="background-color:lightgray;" v-else>已上机</button>
164
-        </div> -->
15
+ 
165 16
         <van-collapse v-model="activeNames" accordion @change="showSubMenu">
166 17
           <van-collapse-item v-if="isShowFiled('班次')" title="班次" name="1">
167 18
             <template #value>
@@ -176,14 +27,6 @@
176 27
               >
177 28
             </van-radio-group>
178 29
           </van-collapse-item>
179
-          <!-- <van-collapse-item v-if="isShowFiled('上机床位')" title="上机床位" name="2">
180
-                    <template #value>
181
-                        <div v-if="device_number_map[bed_id]">{{device_number_map[bed_id].zoneNumber}}</div>
182
-                    </template>
183
-                    <van-radio-group v-model="bed_id" @change="changeBed">
184
-                        <van-radio :name="item.id" v-for='(item,index) in zone_beds' :key="index">{{ item.zoneNumber }}</van-radio>
185
-                    </van-radio-group>
186
-                </van-collapse-item> -->
187 30
           <van-collapse-item
188 31
             v-if="isShowFiled('上机床位')"
189 32
             title="上机分区"

+ 5 - 11
src/pages/main/dialog/DialysisConsumables.vue 파일 보기

@@ -118,7 +118,7 @@ export default {
118 118
 
119 119
           for (let i = 0; i < res.data.dialysis_goods.length; i++) {
120 120
             if (res.data.dialysis_goods[i].good_user.length > 0) {
121
-              console.log('~~~~~')
121
+              // console.log('~~~~~')
122 122
 
123 123
               for (let b = 0; b < res.data.dialysis_goods[i].good_user.length; b++) {
124 124
                 let obj = {
@@ -130,7 +130,7 @@ export default {
130 130
                 this.list.push(obj)
131 131
               }
132 132
             } else {
133
-              console.log('~~~~~22222')
133
+              // console.log('~~~~~22222')
134 134
 
135 135
               if (res.data.dialysis_goods[i].good_user_detail.length > 0) {
136 136
                 for (let b = 0; b < res.data.dialysis_goods[i].good_user_detail.length; b++) {
@@ -143,9 +143,9 @@ export default {
143 143
                   this.list.push(obj)
144 144
                 }
145 145
               } else {
146
-                console.log('~~~~~44444444')
146
+                // console.log('~~~~~44444444')
147 147
 
148
-                console.log('res.data.dialysis_goods[i].project')
148
+                // console.log('res.data.dialysis_goods[i].project')
149 149
                 console.log(res.data.dialysis_goods[i].project)
150 150
                 if (res.data.dialysis_goods[i].project.length > 0) {
151 151
                   for (let b = 0; b < res.data.dialysis_goods[i].project.length; b++) {
@@ -159,7 +159,7 @@ export default {
159 159
                     this.list.push(obj)
160 160
                   }
161 161
                 } else {
162
-                  console.log('~~~~~55555555')
162
+                  // console.log('~~~~~55555555')
163 163
 
164 164
                   if (res.data.dialysis_goods[i].last_good_user != null) {
165 165
                     for (let b = 0; b < res.data.dialysis_goods[i].last_good_user.length; b++) {
@@ -178,12 +178,6 @@ export default {
178 178
             }
179 179
           }
180 180
 
181
-          // var obj = {}
182
-          // this.list =  this.list.reduce((cur, next) => {
183
-          //   obj[next.good_id] ? '' : obj[next.good_id]  = true && cur.push(next)
184
-          //   return cur
185
-          // }, []) // 设置cur默认类型为数组,并且初始值为空的数组
186
-
187 181
           var prescription = res.data.prescribe
188 182
           var goodInfo = res.data.good_info
189 183
           var dialyszerArr = []

+ 1 - 285
src/pages/main/dialog/DoubleDialog.vue 파일 보기

@@ -7,291 +7,7 @@
7 7
         <span @click="commitInfo" class="success">保存</span>
8 8
       </div>
9 9
       <div style="height: 8rem" class="DialogContent choose">
10
-        <!-- <el-form
11
-          :inline="true"
12
-          class="demo-form-inline doubleForm"
13
-          :model="doubleReview"
14
-          label-width="3.5rem"
15
-        >
16
-          <el-form-item label="透析物品核查 :">
17
-            <el-radio
18
-              v-model="doubleReview.dialysis_item_check"
19
-              label="1"
20
-              @change="changeRadio"
21
-              >正确
22
-            </el-radio>
23
-          </el-form-item>
24
-          <el-form-item class="newItem" label="差错描述 :" label-width="3.5rem">
25
-            <el-input
26
-              class="doubleInput"
27
-              v-model="doubleReview.dialysis_item_desc"
28
-            ></el-input>
29
-          </el-form-item>
30
-
31
-          <el-form-item>
32
-            <van-checkbox-group v-model="result" @change="toCheck">
33
-              <van-checkbox shape="square" name="a"
34
-                >透析器/灌流器:<span v-if="prescription_prop != null">{{
35
-                  prescription_prop.dialyzer_perfusion_apparatus
36
-                }}</span></van-checkbox
37
-              >
38
-              <van-checkbox shape="square" name="b"
39
-                >穿刺针:<span v-if="predialysis != null">{{
40
-                  predialysis.puncture_needle
41
-                }}</span></van-checkbox
42
-              >
43
-              <van-checkbox shape="square" name="c"
44
-                >透析液配方:<span v-if="prescription_prop != null">{{
45
-                  GetDialysateFormulationById(
46
-                    prescription_prop.dialysate_formulation
47
-                  )
48
-                }}</span></van-checkbox
49
-              >
50
-              <van-checkbox shape="square" name="d"
51
-                >钾:<span v-if="prescription_prop != null">{{
52
-                  prescription_prop.kalium
53
-                }}</span></van-checkbox
54
-              >
55
-              <van-checkbox shape="square" name="e"
56
-                >钙:<span v-if="prescription_prop != null">{{
57
-                  prescription_prop.calcium
58
-                }}</span></van-checkbox
59
-              >
60
-            </van-checkbox-group>
61
-          </el-form-item>
62
-        </el-form>
63
-
64
-        <el-form
65
-          :inline="true"
66
-          class="demo-form-inline doubleForm"
67
-          :model="doubleReview"
68
-          label-width="3.5rem"
69
-        >
70
-          <el-form-item label="透析参数核查 :">
71
-            <el-radio
72
-              v-model="doubleReview.dialysis_parameter_check"
73
-              label="1"
74
-              @change="changeRadioTwo"
75
-              >正确
76
-            </el-radio>
77
-          </el-form-item>
78
-          <el-form-item class="newItem" label="差错描述 :" label-width="3.5rem">
79
-            <el-input
80
-              class="doubleInput"
81
-              v-model="doubleReview.dialysis_parameter_desc"
82
-            ></el-input>
83
-          </el-form-item>
84
-
85
-          <el-form-item>
86
-            <van-checkbox-group v-model="resultOne" @change="toCheckOne">
87
-              <van-checkbox name="a" shape="square"
88
-                >透析模式:<span v-if="prescription_prop != null">{{
89
-                  getMode(prescription_prop.mode_id)
90
-                }}</span></van-checkbox
91
-              >
92
-              <van-checkbox name="b" shape="square"
93
-                >透析时长:<span v-if="prescription_prop != null">{{
94
-                  prescription_prop.dialysis_duration_hour +
95
-                  "小时" +
96
-                  prescription_prop.dialysis_duration_minute +
97
-                  "分"
98
-                }}</span></van-checkbox
99
-              >
100
-              <van-checkbox name="c" shape="square"
101
-                >目标超滤量:<span v-if="prescription_prop != null">{{
102
-                  prescription_prop.target_ultrafiltration
103
-                    ? prescription_prop.target_ultrafiltration
104
-                    : ""
105
-                }}</span></van-checkbox
106
-              >
107
-              <van-checkbox name="d" shape="square"
108
-                >抗凝剂:<span v-if="prescription_prop != null">{{
109
-                  getAnticoagulant(prescription_prop.anticoagulant)
110
-                }}</span></van-checkbox
111
-              >
112
-              <van-checkbox name="e" shape="square"
113
-                >首剂:<span v-if="prescription_prop != null">{{
114
-                  prescription_prop.anticoagulant_shouji
115
-                }}</span></van-checkbox
116
-              >
117
-              <van-checkbox name="f" shape="square"
118
-                >维持:<span v-if="prescription_prop != null">{{
119
-                  prescription_prop.anticoagulant_weichi
120
-                }}</span></van-checkbox
121
-              >
122
-              <van-checkbox name="g" shape="square"
123
-                >总量:<span v-if="prescription_prop != null">{{
124
-                  prescription_prop.anticoagulant_zongliang
125
-                }}</span></van-checkbox
126
-              >
127
-              <van-checkbox name="h" shape="square"
128
-                >置换液:<span v-if="prescription_prop != null">{{
129
-                  prescription_prop.displace_liqui_part
130
-                    ? prescription_prop.displace_liqui_part
131
-                    : ""
132
-                }}</span></van-checkbox
133
-              >
134
-              <van-checkbox name="i" shape="square"
135
-                >置换总量:<span v-if="prescription_prop != null">{{
136
-                  prescription_prop.replacement_total
137
-                    ? prescription_prop.replacement_total
138
-                    : ""
139
-                }}</span></van-checkbox
140
-              >
141
-              <van-checkbox name="j" shape="square"
142
-                >处方血流量:<span v-if="prescription_prop != null">{{
143
-                  prescription_prop.blood_flow_volume
144
-                    ? prescription_prop.blood_flow_volume
145
-                    : ""
146
-                }}</span></van-checkbox
147
-              >
148
-              <van-checkbox name="k" shape="square"
149
-                >透析液流量:<span v-if="prescription_prop != null">{{
150
-                  prescription_prop.dialysate_flow
151
-                    ? prescription_prop.dialysate_flow
152
-                    : ""
153
-                }}</span></van-checkbox
154
-              >
155
-            </van-checkbox-group>
156
-          </el-form-item>
157
-        </el-form>
158
-
159
-        <el-form
160
-          :inline="true"
161
-          class="demo-form-inline doubleForm"
162
-          :model="doubleReview"
163
-          label-width="3.5rem"
164
-        >
165
-          <el-form-item label="血管通路核查 :">
166
-
167
-            <el-radio
168
-              v-model="doubleReview.vascular_access_verification"
169
-              label="1"
170
-              @change="changeRadioThree"
171
-              >正确
172
-            </el-radio>
173
-          </el-form-item>
174
-          <el-form-item class="newItem" label="差错描述 :" label-width="3.5rem">
175
-            <el-input
176
-              class="doubleInput"
177
-              v-model="doubleReview.vascular_access_desc"
178
-            ></el-input>
179
-          </el-form-item>
180
-
181
-          <el-form-item>
182
-            <van-checkbox-group v-model="resultThree" @change="toCheckTwo">
183
-              <van-checkbox name="a" shape="square"
184
-                >通路类型:<span v-if="predialysis != null">{{
185
-                  getBloodAccess(predialysis.blood_access_part_opera_id)
186
-                }}</span></van-checkbox
187
-              >
188
-              <van-checkbox name="b" shape="square">动静脉接错</van-checkbox>
189
-              <van-checkbox name="c" shape="square">渗血</van-checkbox>
190
-              <van-checkbox name="d" shape="square">压迫</van-checkbox>
191
-              <van-checkbox name="e" shape="square">折叠</van-checkbox>
192
-              <van-checkbox name="f" shape="square">滑脱</van-checkbox>
193
-            </van-checkbox-group>
194
-          </el-form-item>
195
-        </el-form>
196
-        <el-form
197
-          :inline="true"
198
-          class="demo-form-inline doubleForm"
199
-          :model="doubleReview"
200
-          label-width="3.5rem"
201
-        >
202
-          <el-form-item label="管道连接核查 :">
203
-            <el-radio
204
-              v-model="doubleReview.pipeline_connection_check"
205
-              label="1"
206
-              @change="changeRdioFour"
207
-              >正确
208
-            </el-radio>
209
-          </el-form-item>
210
-          <el-form-item class="newItem" label="差错描述 :" label-width="3.5rem">
211
-            <el-input
212
-              class="doubleInput"
213
-              v-model="doubleReview.pipeline_connection_desc"
214
-            ></el-input>
215
-          </el-form-item>
216
-
217
-          <el-form-item>
218
-            <van-checkbox-group v-model="resultFour" @change="toCheckThree">
219
-              <van-checkbox name="a" shape="square"
220
-                >泵前补液测管未夹</van-checkbox
221
-              >
222
-              <van-checkbox name="b" shape="square"
223
-                >肝素管夹未开启</van-checkbox
224
-              >
225
-              <van-checkbox name="c" shape="square"
226
-                >透析液连接错误</van-checkbox
227
-              >
228
-              <van-checkbox name="d" shape="square"
229
-                >动静脉壶页面不标准</van-checkbox
230
-              >
231
-              <van-checkbox name="e" shape="square"
232
-                >静脉管道未夹入保护夹</van-checkbox
233
-              >
234
-              <van-checkbox name="f" shape="square"
235
-                >压力传感器夹未打开</van-checkbox
236
-              >
237
-              <van-checkbox name="i" shape="square">接口连接松动</van-checkbox>
238
-              <van-checkbox name="j" shape="square">管路打折</van-checkbox>
239
-              <van-checkbox name="k" shape="square"
240
-                >肝素补液口未双保险夹闭</van-checkbox
241
-              >
242
-            </van-checkbox-group>
243
-          </el-form-item>
244
-        </el-form> -->
245
-
246
-        <!-- <div class="item">
247
-
248
-          <h2 class="name">第一核对时间</h2>
249
-          <div class="content">
250
-            <span
251
-              class="text"
252
-              style="width: 3.5rem"
253
-              @click="selectFirstCheckTimeAction"
254
-            >{{ first_check_time_str}}</span
255
-            >
256
-            <span class="iconfont">&#xe6f9;</span>
257
-          </div>
258
-        </div>
259
-
260
-        <div class="item" @click="select_first_checker">
261
-          <h2 class="name">第一核对人员</h2>
262
-          <div class="content">
263
-            <span class="text" style="width: 100px" v-if="admin_map[creater]">{{ admin_map[creater].name}}</span>
264
-            <span class="iconfont">&#xe6f9;</span>
265
-          </div>
266
-        </div>
267
-
268
-        <div class="item" @click="selectSecondCheckTimeAction">
269
-          <h2 class="name">第二核对时间</h2>
270
-          <div class="content">
271
-            <span
272
-              class="text"
273
-              style="width: 3.5rem"
274
-            >{{ check_time_str }}</span
275
-            >
276
-            <span class="iconfont">&#xe6f9;</span>
277
-          </div>
278
-        </div>
279
-
280
-        <div class="item" @click="select_second_checker">
281
-          <h2 class="name">第二核对人员</h2>
282
-          <div class="content">
283
-            <span class="text" style="width: 100px" v-if="admin_map[modifier]">{{ admin_map[modifier].name}}</span>
284
-            <span class="iconfont">&#xe6f9;</span>
285
-          </div>
286
-        </div>
287
-
288
-        <div class="item" v-if="isShow('第二核对人员工号')">
289
-          <h2 class="name">第二核对人员工号:</h2>
290
-          <div class="content">
291
-            <el-input v-model="doubleReview.employee_number" style="with:100px"></el-input>
292
-          </div>
293
-        </div> -->
294
-
10
+ 
295 11
         <van-collapse v-model="activeNames" accordion>
296 12
           <div>
297 13
             <van-cell title="透析物品核查">

+ 2 - 8
src/pages/main/dialog/LongDialog.vue 파일 보기

@@ -19,8 +19,6 @@
19 19
           <h2 class="name">透析时长(h)</h2>
20 20
           <div class="content">
21 21
             <input type="number" v-model="dialysisSolution.dialysis_duration" />
22
-            <!-- <span class="text">1</span>   -->
23
-            <!-- <span class="iconfont">&#xe6f9;</span>  -->
24 22
           </div>
25 23
         </div>
26 24
         <div class="item" @click="showMenu(1)">
@@ -42,16 +40,14 @@
42 40
           <h2 class="name">血流量(ml/min)</h2>
43 41
           <div class="content">
44 42
             <input type="number" v-model="dialysisSolution.blood_flow_volume" />
45
-            <!-- <span class="text">HD</span>   -->
46
-            <!-- <span class="iconfont">&#xe6f9;</span> -->
43
+
47 44
           </div>
48 45
         </div>
49 46
         <div class="item">
50 47
           <h2 class="name">脱水量(L)</h2>
51 48
           <div class="content">
52 49
             <input type="number" v-model="dialysisSolution.dewater" />
53
-            <!-- <span class="text">HD</span>   -->
54
-            <!-- <span class="iconfont">&#xe6f9;</span> -->
50
+ 
55 51
           </div>
56 52
         </div>
57 53
 
@@ -61,8 +57,6 @@
61 57
           <h2 class="name">置换液(L)</h2>
62 58
           <div class="content">
63 59
             <input type="number" v-model="dialysisSolution.displace_liqui" />
64
-            <!-- <span class="text">HD</span>   -->
65
-            <!-- <span class="iconfont">&#xe6f9;</span> -->
66 60
           </div>
67 61
         </div>
68 62
         <div class="item">

+ 4 - 86
src/pages/main/dialog/MonitDialog.vue 파일 보기

@@ -648,30 +648,7 @@ export default {
648 648
     this.template_id = this.$store.getters.user.template_info.template_id
649 649
     this.org_id = this.$store.getters.user.template_info.org_id
650 650
 
651
-    // date *= 1000;
652
-    // var newDate = new Date(date);
653
-    // var cDate = new Date();
654
-
655
-    // var y = newDate.getFullYear();
656
-    // var m = newDate.getMonth() + 1;
657
-    // var d = newDate.getDate();
658
-    // if (isNaN(y) || isNaN(m) || isNaN(d)) {
659
-    //   // newDate = new Date();
660
-    //   y = cDate.getFullYear();
661
-    //   m = cDate.getMonth() + 1;
662
-    //   d = cDate.getDate();
663
-    // }
664
-
665
-    // var h = cDate.getHours();
666
-    // var mi = cDate.getMinutes();
667
-
668
-    // var pickertime = (h < 10 ? "0" + h : h) + ":" + (mi < 10 ? "0" + mi : mi);
669
-    // var monitor_date_str =
670
-    //   y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d);
671
-    // this.form.monitor_date = Math.round(
672
-    //   new Date(monitor_date_str + " 00:00:00").getTime() / 1000
673
-    // );
674
-    // this.form.monitor_date = parseInt((new Date(date.getFullYear, date.getMonth, date.getDate, 0, 0, 0, 0)).getTime()) //parseTime(date, "{y}-{m}-{d}") + " 00:00:00"
651
+
675 652
     this.form.monitor_date = date
676 653
     this.form.operate_time = this.pickertime.getTime()
677 654
     console.log('监测时间', this.form.operate_time)
@@ -698,15 +675,6 @@ export default {
698 675
       } else {
699 676
         this.form.venous_pressure_type = 1
700 677
       }
701
-      // if (this.value == 0) {
702
-      // this.form.venous_pressure = Math.ceil(Math.round(this.form.venous_pressure * 7.5))
703
-      // this.value = 1
704
-      // return false
705
-      // }
706
-      // if (this.value == 1) {
707
-      //   this.form.venous_pressure = Math.ceil(Math.round(this.form.venous_pressure / 7.5))
708
-      //   this.value = 0
709
-      // }
710 678
     },
711 679
     venousPressureChangeTwo () {
712 680
       if (this.form.transmembrane_pressure_type == 1) {
@@ -714,16 +682,7 @@ export default {
714 682
       } else {
715 683
         this.form.transmembrane_pressure_type = 1
716 684
       }
717
-      // if (this.valueOne == 0) {
718
-      // this.form.transmembrane_pressure = Math.ceil(Math.round(this.form.transmembrane_pressure * 7.5))
719
-      // this.valueOne = 1
720
-      // return false
721
-      // }
722
-      // if (this.valueOne == 1) {
723
-      //   this.form.transmembrane_pressure = Math.ceil(Math.round(this.form.transmembrane_pressure / 7.5))
724
-      //   this.valueOne = 0
725
-      //   return false
726
-      // }
685
+
727 686
     },
728 687
     venousPressureChangeThree () {
729 688
       if (this.form.arterial_pressure_type == 1) {
@@ -731,16 +690,6 @@ export default {
731 690
       } else {
732 691
         this.form.arterial_pressure_type = 1
733 692
       }
734
-      // if (this.valueTwo == 0) {
735
-      // this.form.arterial_pressure = Math.ceil(Math.round(this.form.arterial_pressure * 7.5))
736
-      // this.valueTwo = 1
737
-      // return false
738
-      // }
739
-      // if (this.valueTwo == 1) {
740
-      //   this.form.arterial_pressure = Math.ceil(Math.round(this.form.arterial_pressure / 7.5))
741
-      //   this.valueTwo = 0
742
-      //   return false
743
-      // }
744 693
     },
745 694
     isShow (name) {
746 695
       var filedList = this.$store.getters.user.fileds
@@ -811,8 +760,6 @@ export default {
811 760
         this.form.temperature = resp.monitor.temperature ? resp.monitor.temperature : ''
812 761
         this.form.urr = resp.monitor.urr ? resp.monitor.urr : ''
813 762
         this.form.conductivity = resp.monitor.conductivity ? resp.monitor.conductivity : ''
814
-        // this.form.monitor_anticoagulant = resp.monitor.monitor_anticoagulant?resp.monitor.monitor_anticoagulant:''
815
-        // this.form.monitor_anticoagulant_value = resp.monitor.monitor_anticoagulant_value?resp.monitor.monitor_anticoagulant_value:''
816 763
       })
817 764
     },
818 765
 
@@ -972,15 +919,6 @@ export default {
972 919
         input.parentNode.scrollIntoView()
973 920
       }, 0)
974 921
 
975
-      // if (input.setSelectionRange) {
976
-      //   setTimeout(function () {
977
-      //     input.setSelectionRange(0, input.value.length);
978
-      //   }, 0);
979
-      // } else if (input.createTextRange) {
980
-      //     var rng = input.createTextRange();
981
-      //     rng.move('character', input.value.length);
982
-      //     rng.select();
983
-      // }
984 922
     },
985 923
     lastInputFocus: function (event) {
986 924
       var input = event.target
@@ -1045,16 +983,7 @@ export default {
1045 983
     },
1046 984
     handleConfirm (time) {
1047 985
       this.form.operate_time = time.getTime()
1048
-      // var timeMap = time.split(":");
1049
-      // this.form.monitor_time = time;
1050
-      // this.monitor_time_str =
1051
-      //   parseTime(this.form.monitor_date, "{y}-{m}-{d}") +
1052
-      //   " " +
1053
-      //   this.form.monitor_time;
1054
-
1055
-      // this.monitor_time_str = this.handleTime(time);
1056
-      // this.form.monitor_time =  parseTime(time, "{h}:{i}")
1057
-      // this.form.monitor_date = Math.round(new Date(parseTime(time, "{y}-{m}-{d}") + " 00:00:00").getTime()/1000);
986
+
1058 987
     },
1059 988
     handleTime (time) {
1060 989
       var year = time.getFullYear()
@@ -1240,10 +1169,7 @@ export default {
1240 1169
 
1241 1170
       this.form.monitor_anticoagulant = this.GetAnticoagulantById(this.currentRow.monitor_anticoagulant)
1242 1171
       this.form.monitor_anticoagulant_value = this.currentRow.monitor_anticoagulant_value
1243
-      // this.monitor_time_str =
1244
-      //   parseTime(this.form.monitor_date, "{y}-{m}-{d}") +
1245
-      //   " " +
1246
-      //   this.form.monitor_time;
1172
+
1247 1173
     },
1248 1174
     openForm () {
1249 1175
       if (this.is_has_create == false) {
@@ -1270,9 +1196,6 @@ export default {
1270 1196
       var record_date = y + '/' + (m < 10 ? '0' + m : m) + '/' + (d < 10 ? '0' + d : d)
1271 1197
       this.form.monitor_date = new Date(record_date + ' 00:00:00').getTime() / 1000
1272 1198
       var nowTime = new Date()
1273
-      // this.form.monitor_time = parseTime(nowTime, "{h}:{i}");
1274
-      // this.monitor_time_str = this.handleTime(nowTime);
1275
-      // this.monitor_time_str = record_date + " " + this.form.monitor_time;
1276 1199
 
1277 1200
       this.getLastRecordTody()
1278 1201
 
@@ -1347,7 +1270,6 @@ export default {
1347 1270
 
1348 1271
             this.$emit('did_edit_monitor', monitor)
1349 1272
             //
1350
-
1351 1273
             Toast.success('修改成功')
1352 1274
             this.selectRow(-1, null)
1353 1275
             this.form.pulse_frequency = ''
@@ -1454,10 +1376,6 @@ export default {
1454 1376
             var monitor = resp.data.monitor
1455 1377
             this.$emit('did_add_monitor', monitor)
1456 1378
 
1457
-            // this.monitor_records.unshift(monitor)
1458
-
1459
-            // this.monitor_records= this.quickSort(this.monitor_records,"operate_time",false)
1460
-
1461 1379
             this.form.pulse_frequency = ''
1462 1380
             this.form.breathing_rated = ''
1463 1381
             this.form.systolic_bp = ''

+ 3 - 59
src/pages/main/dialog/OrdersDialog.vue 파일 보기

@@ -146,51 +146,6 @@
146 146
               </template>
147 147
             </table>
148 148
           </div>
149
-          <!-- <el-table
150
-              :data="tableData"
151
-              border
152
-              style="width: 100%">
153
-              <el-table-column  fixed  prop="date" label="开嘱医生"  width="180" align="center">
154
-                 <template slot-scope="scope">
155
-                     {{getXuserName(scope.row.advice_doctor)}}
156
-                 </template>
157
-              </el-table-column>
158
-              <el-table-column    prop="name"  label="开始时间"  width="180" align="center">
159
-                <template slot-scope="scope">
160
-                   {{uParseTime(scope.row.start_time, '{m}-{d} {h}:{i}')}}
161
-                </template>
162
-             </el-table-column>
163
-             <el-table-column prop="address" label="医嘱内容" align="center">
164
-               <template slot-scope="scope">
165
-                    <span>{{scope.row.advice_name }}</span>
166
-                    <span
167
-                      v-if="scope.row.advice_desc"
168
-                    >({{ scope.row.advice_desc }}{{scope.row.drug_spec_unit}})</span>
169
-                    <span
170
-                      v-if="scope.row.prescribing_number"
171
-                    >&nbsp;&nbsp;{{scope.row.prescribing_number}}{{scope.row.prescribing_number_unit}})</span>
172
-                    <span
173
-                      v-if="scope.row.single_dose && template_id != 6"
174
-                    >单次用量{{scope.row.single_dose}}{{scope.row.single_dose_unit}}</span>
175
-
176
-                    <span v-if="scope.row.parent_id == 0">{{scope.row.delivery_way}}</span>
177
-                    <span v-if="scope.row.parent_id == 0">{{scope.row.execution_frequency}}</span>
178
-                    <span
179
-                      v-if="scope.row.parent_id == 0 && scope.row.remark.length > 0"
180
-                    >({{scope.row.remark}})</span>
181
-               </template>
182
-            </el-table-column>
183
-             <el-table-column   prop="address" label="执行时间" align="center">
184
-               <template slot-scope="scope">
185
-                     {{uParseTime(scope.row.execution_time, '{m}-{d} {h}:{i}')}}
186
-               </template>
187
-            </el-table-column>
188
-             <el-table-column prop="address" label="执行护士" align="center">
189
-               <template slot-scope="scope">
190
-                    {{getXuserName(scope.row.checker)}}
191
-               </template>
192
-            </el-table-column>
193
-          </el-table>-->
194 149
         </div>
195 150
       </div>
196 151
     </div>
@@ -242,11 +197,8 @@
242 197
                 <th width="15%">给药途径</th>
243 198
                 <th width="15%">执行频率</th>
244 199
               </tr>
245
-              <template v-for="(advice, advice_index) in other_doctor_advices">
246
-                <tr
247
-                  :key="advice_index"
248
-
249
-                >
200
+              <template v-for="(advice, advice_index) in other_doctor_advices"  :key="advice_index">
201
+                <tr>
250 202
                   <td
251 203
                     style="text-align: left;padding-left:5px;padding-right:5px;"
252 204
                   >{{ advice.advice_name }}
@@ -318,14 +270,6 @@
318 270
       @did-create-advices="didCreateAdvices"
319 271
     ></add-new-order-dialog>
320 272
 
321
-    <!--<advice-form-->
322
-      <!--ref="subdrug_form"-->
323
-      <!--@back="index = 0"-->
324
-      <!--@did-create-subdrug="didAddSubdrug"-->
325
-      <!--:single_dose_unit_options="unitsOption"-->
326
-      <!--:prescribing_number_unit_options="unitsOption"-->
327
-      <!--:drug_spec_unit_options="unitsOption"-->
328
-    <!--&gt;</advice-form>-->
329 273
     <sub-order-form
330 274
       ref="subdrug_form"
331 275
       @back="index = 0"
@@ -447,7 +391,7 @@ import AddNewOrderDialog from './new_order/AddNewOrders'
447 391
 import AdviceForm from './new_order/order_form'
448 392
 import ModifyAdviceForm from './modify_order/modify_order_form'
449 393
 import ModifyAdviceGroupDialog from './modify_order/ModifyAdviceGroup'
450
-import InforSubMenu from "../dialog/subMenu/InforSubMenu.vue"
394
+import InforSubMenu from "../dialog/subMenu/InforSubMenu"
451 395
 import request from '@/utils/request'
452 396
 import {parseTime} from '@/utils'
453 397
 import SubOrderForm from './new_order/sub_order_form'

+ 0 - 34
src/pages/main/dialog/OrdersDialog_olddddd.vue 파일 보기

@@ -5,13 +5,11 @@
5 5
         <span class="iconfont">&#xe6e9;</span>
6 6
         <h1 class="name">临时医嘱</h1>
7 7
         <span class="success">&nbsp;</span>
8
-        <!-- <span class="success" @click="$emit('orderDialog')">完成</span> -->
9 8
       </div>
10 9
       <div class="DialogContent choose" id="dialogTop">
11 10
         <div class="content clearfix">
12 11
           <div class="yzNav" style="width:80%;">
13 12
             <span @click="openNewAdvice">新增医嘱</span>
14
-            <!-- <span>修改医嘱</span> -->
15 13
             <span @click="deleteAdvice">删除医嘱</span>
16 14
             <span @click="execAdvice">执行医嘱</span>
17 15
             <span @click="checkAdvice">医嘱核对</span>
@@ -48,7 +46,6 @@
48 46
                 <span
49 47
                   v-if="advice.prescribing_number"
50 48
                 >{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
51
-                <!-- <span >{{advice.advice_desc}}</span> -->
52 49
                 <span
53 50
                   v-if="advice.single_dose"
54 51
                 >单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
@@ -85,32 +82,19 @@
85 82
           <div>
86 83
             <div class="cell">
87 84
               <label>医嘱类型</label>
88
-              <!-- <input type="text" class="inputBox" disabled value="临时"> -->
89
-
90 85
               <el-input ref="advice_type" value="临时" disabled></el-input>
91 86
             </div>
92 87
             <div class="cell">
93 88
               <label>医嘱时间</label>
94 89
               <el-input v-model="adviceForm.advice_date" readonly></el-input>
95
-              <!-- <input type="text" class="inputBox"  v-model="adviceForm.advice_date" readonly> -->
96 90
             </div>
97 91
             <div class="cell">
98 92
               <label>开始时间</label>
99 93
               <el-input v-model="adviceForm.start_time" readonly @focus="chooseTime"></el-input>
100
-              <!-- <input type="text" class="inputBox"  v-model="adviceForm.start_time" readonly @click="chooseTime"> -->
101 94
             </div>
102 95
             <div class="cell">
103 96
               <label>医嘱名称</label>
104 97
               <el-input v-model="adviceForm.advice_name"></el-input>
105
-
106
-              <!-- <el-input v-model="adviceForm.advice_name" readonly  @focus="showSubMenu('advice_name')" ></el-input> -->
107
-
108
-              <!-- <el-select v-model="adviceForm.advice_name" @change="changeAdviceName" filterable placeholder="请选择(输入可搜索)"  >
109
-                  <el-option v-for="item in drugOptions" :key="item.id" :label="item.name" :value="item.id">
110
-                    <span >{{ item.name }}</span>
111
-                    <span >{{ item.spec }}</span>
112
-                  </el-option>
113
-              </el-select>-->
114 98
             </div>
115 99
             <div class="cell">
116 100
               <label>给药途径</label>
@@ -121,19 +105,9 @@
121 105
                 @focus="showSubMenu('delivery_way')"
122 106
                 :disabled="adviceForm.parent_id==0?false:true"
123 107
               ></el-input>
124
-
125
-              <!-- <el-select v-model="adviceForm.delivery_way" :disabled="adviceForm.parent_id==0?false:true" filterable placeholder="请选择(输入可搜索)" >
126
-                  <el-option v-for="item in deliveryWayOptions" :key="item.id" :label="item.name " :value="item.name">
127
-                  </el-option>
128
-              </el-select>-->
129 108
             </div>
130 109
             <div class="cell">
131 110
               <label>执行频率</label>
132
-              <!-- <el-select v-model="adviceForm.execution_frequency" :disabled="adviceForm.parent_id==0?false:true" filterable placeholder="请选择(输入可搜索)" >
133
-                  <el-option v-for="item in executionFrequencyOptions" :key="item.id" :label="item.name " :value="item.name">
134
-                  </el-option>
135
-              </el-select>-->
136
-
137 111
               <el-input
138 112
                 v-model="adviceForm.execution_frequency"
139 113
                 readonly
@@ -143,7 +117,6 @@
143 117
             </div>
144 118
             <div class="cell">
145 119
               <label>医嘱描述</label>
146
-              <!-- <input type="text" class="inputBox" v-model="adviceForm.advice_desc"> -->
147 120
               <el-input v-model="adviceForm.advice_desc"></el-input>
148 121
             </div>
149 122
             <div class="cell">
@@ -184,15 +157,8 @@
184 157
               <label>开嘱医生:</label>
185 158
               <span>{{doctor}}</span>
186 159
             </div>
187
-            <!-- <div class="cell width center">
188
-                  <button @click="submitNewAdvice">提交</button>
189
-                  <button class="smt-danger" @click="index=0">返回</button>
190
-            </div>-->
191 160
           </div>
192 161
         </div>
193
-        <!-- <div class="footer">
194
-            开嘱医生:{{doctor}} 医生
195
-        </div>-->
196 162
       </div>
197 163
     </div>
198 164
 

+ 0 - 73
src/pages/main/dialog/PlaneDialog.vue 파일 보기

@@ -13,80 +13,7 @@
13 13
       </div>
14 14
 
15 15
       <div class="DialogContent">
16
-        <!-- <div class="item" @click="select_nurse">
17
-          <h2 class="name">下机护士</h2>
18
-          <div class="content">
19
-            <span class="text" style="width: 100px">{{
20
-              nurse_id == 0 ? "" : admin_map[nurse_id].name
21
-            }}</span>
22 16
 
23
-            <span class="iconfont">&#xe6f9;</span>
24
-          </div>
25
-        </div>
26
-
27
-        <div class="item">
28
-          <h2 class="name">下机时间</h2>
29
-          <div class="content">
30
-            <span
31
-              class="text"
32
-              style="width: 100px"
33
-              @click="selectStartTimeAction"
34
-              >{{ end_time_str }}</span
35
-            >
36
-            <span class="iconfont">&#xe6f9;</span>
37
-          </div>
38
-        </div>
39
-
40
-       <div class="item" v-if="isShow('穿刺处血肿')" @click="showSubMenu('puncture_point_haematoma')">
41
-          <h2 class="name">穿刺处血肿</h2>
42
-          <div class="content">
43
-              <span class="text" id="txms">{{getPuncturePoint(puncture_point_haematoma)}}</span>
44
-              <span class="iconfont">&#xe6f9;</span>
45
-          </div>
46
-        </div>
47
-
48
-       <div @click="showSubMenu('internal_fistula')" class="item"  ref="internal_fistula"  v-if="isShow('内瘘')" >
49
-          <h2 class="name">内瘘</h2>
50
-          <div class="content">
51
-            <span class="text" style="width: 100px">{{internal_fistula}}</span>
52
-            <span class="iconfont">&#xe6f9;</span>
53
-          </div>
54
-        </div>
55
-
56
-       <div @click="showSubMenu('catheter')" class="item" ref="catheter" v-if="isShow('导管')">
57
-          <h2 class="name">导管</h2>
58
-          <div class="content">
59
-            <span class="text">{{catheter}}</span>
60
-            <span class="iconfont">&#xe6f9;</span>
61
-          </div>
62
-        </div>
63
-
64
-       <div @click="showSubMenu('cruor')" class="item" ref="cruor" v-if="isShow('透析器凝血')">
65
-          <h2 class="name">透析器凝血</h2>
66
-          <div class="content">
67
-            <span class="text">{{cruor}}</span>
68
-            <span class="iconfont">&#xe6f9;</span>
69
-          </div>
70
-        </div>
71
-
72
-       <div @click="showSubMenu('education')" class="item" ref="education" v-if="isShow('宣教知识')">
73
-        <h2 class="name">宣教知识:</h2>
74
-              <el-input
75
-                class="treatmentInput"
76
-                readonly
77
-                v-model="propagandaAndEducationContentSelect"
78
-                placeholder="请选择"
79
-                @focus="showSubMenu('education')"
80
-              ></el-input>
81
-       </div>
82
-      <div>
83
-          <el-input
84
-            class="newTextarea treatmentInput"
85
-            type="textarea"
86
-            v-model="propagandaAndEducationContent"
87
-            :rows="5"
88
-          ></el-input>
89
-        </div> -->
90 17
         <van-collapse v-model="activeNames" accordion @change="showSubMenu">
91 18
           <van-collapse-item
92 19
             title="下机护士"

+ 0 - 2
src/pages/main/dialog/PrescriptionDialog.vue 파일 보기

@@ -5,8 +5,6 @@
5 5
         <span @click="close()" class="iconfont">&#xe6e9;</span>
6 6
         <h1 class="name newName">透析处方</h1>
7 7
         <button class="newButton" @click="showmsgtip">{{patient.name}}</button>
8
-        <!-- <span @click="commitInfo" class="success" v-if="isPermission()">保存</span> -->
9
-        <!-- <span @click="commitInfo" class="success" v-if="!isPermission()"></span> -->
10 8
         <span @click="commitInfo" class="success" v-if="hasPermission">保存</span>
11 9
         <span @click="commitInfo" class="success" v-if="!hasPermission"></span>
12 10
       </div>

+ 5 - 45
src/pages/main/dialog/ThorougDialog.vue 파일 보기

@@ -120,8 +120,6 @@
120 120
               id="ml"
121 121
               v-model="formValue.other_complication"
122 122
             />
123
-            <!--<span class="text">HD</span>-->
124
-            <!--<span class="iconfont">&#xe6f9;</span>-->
125 123
           </div>
126 124
         </div>
127 125
 
@@ -256,17 +254,6 @@
256 254
             <span class="iconfont">&#xe6f9;</span>
257 255
           </div>
258 256
         </div>
259
-
260
-        <!--        <div @click="showSubMenu('dialyzer')" class="item" ref="dialyzer" v-if="isShow('透析器凝血')">-->
261
-        <!--          <label class="name" for="dg">透析器凝血</label>-->
262
-        <!--          <div class="content">-->
263
-        <!--            <span class="text" id="dg">{{getDialyzer(formValue.dialyzer)}}</span>-->
264
-        <!--            <span class="iconfont">&#xe6f9;</span>-->
265
-        <!--          </div>-->
266
-        <!--        </div>-->
267
-
268
-      
269
-
270 257
         <div class="item" v-if="this.$store.getters.user.template_info.template_id == 6">
271 258
           <label class="name" for="sjcll">透后净体重(kg)</label>
272 259
           <div class="content">
@@ -280,13 +267,6 @@
280 267
           </div>
281 268
         </div>
282 269
 
283
-        <!--<div class=item" v-if="isShow('透后体重')">-->
284
-        <!--<label class="name" for="thtz">透后体重(kg)</label>-->
285
-        <!--<div class="content">-->
286
-        <!--<input type="tel" @focus="inputFocus" id="thtz" v-model="formValue.weight_after"/>-->
287
-        <!--</div>-->
288
-        <!--</div>-->
289
-
290 270
         <div @click="showSubMenu('cruor')" class="item" ref="cruor" v-if="isShow('透析器凝血')">
291 271
           <label class="name" for="nx">透析器凝血</label>
292 272
           <div class="content">
@@ -302,8 +282,6 @@
302 282
         >
303 283
           <h2 class="name">拔针后穿刺点渗血</h2>
304 284
           <div class="content">
305
-            <!--<span class="text" style="width: 50px;"><div style="padding-top: 0.08rem; height: 0.8rem;">-->
306
-            <!--<van-switch v-model="puncture_point_oozing_blood_state" @change="puncturePointOozingBlood"/></div></span>-->
307 285
             <div class="content">
308 286
               <span
309 287
                 v-if="formValue.puncture_point_oozing_blood == 0"
@@ -408,8 +386,6 @@
408 386
           <div class="content">
409 387
             <input type="tel" @focus="inputFocus" id="sjzhl" v-model="formValue.actual_displacement"/>
410 388
 
411
-            <!--&lt;!&ndash;<span class="text">HD</span>&ndash;&gt;-->
412
-            <!--&lt;!&ndash;<span class="iconfont">&#xe6f9;</span>&ndash;&gt;-->
413 389
           </div>
414 390
         </div>
415 391
 
@@ -424,8 +400,6 @@
424 400
               v-model="formValue.temperature"
425 401
             />
426 402
 
427
-            <!--<span class="text">HD</span>-->
428
-            <!--<span class="iconfont">&#xe6f9;</span>-->
429 403
           </div>
430 404
         </div>
431 405
         <div class="item" v-if="isShow('收缩压')">
@@ -438,8 +412,7 @@
438 412
               id="ssy"
439 413
               v-model="formValue.systolic_blood_pressure"
440 414
             />
441
-            <!--<span class="text">HD</span>-->
442
-            <!--<span class="iconfont">&#xe6f9;</span>-->
415
+
443 416
           </div>
444 417
         </div>
445 418
 
@@ -453,8 +426,7 @@
453 426
               id="szy"
454 427
               v-model="formValue.diastolic_blood_pressure"
455 428
             />
456
-            <!--<span class="text">HD</span>-->
457
-            <!--<span class="iconfont">&#xe6f9;</span>-->
429
+
458 430
           </div>
459 431
         </div>
460 432
 
@@ -519,8 +491,7 @@
519 491
               id="ml"
520 492
               v-model="formValue.breathing_rate"
521 493
             />
522
-            <!--<span class="text">HD</span>-->
523
-            <!--<span class="iconfont">&#xe6f9;</span>-->
494
+
524 495
           </div>
525 496
         </div>
526 497
 
@@ -534,8 +505,7 @@
534 505
               id="ml"
535 506
               v-model="formValue.pulse_frequency"
536 507
             />
537
-            <!--<span class="text">HD</span>-->
538
-            <!--<span class="iconfont">&#xe6f9;</span>-->
508
+
539 509
           </div>
540 510
         </div>
541 511
 
@@ -609,15 +579,6 @@
609 579
           </div>
610 580
         </div>
611 581
 
612
-        <!-- <div @click="showSubMenu('sealing_fluid_dispose')" class="item" ref="sealing_fluid_dispose"
613
-             v-if="isShow('封管液配置')">
614
-          <label class="name" for="fgypz">封管液配置</label>
615
-          <div class="content">
616
-            <span class="text" id="fgypz">{{QuerySealingFluidDisposeById(formValue.sealing_fluid_dispose)}}</span>
617
-            <span class="iconfont">&#xe6f9;</span>
618
-          </div>
619
-        </div> -->
620
-
621 582
          <div
622 583
           @click="showSubMenu('sealing_fluid_dispose')"
623 584
           class="item"
@@ -722,8 +683,7 @@
722 683
               id="ml"
723 684
               v-model="formValue.cvc_a"
724 685
             />
725
-            <!--<span class="text">HD</span>-->
726
-            <!--<span class="iconfont">&#xe6f9;</span>-->
686
+
727 687
           </div>
728 688
         </div>
729 689
 

+ 3 - 3
src/pages/main/dialog/TreatmentDialog.vue 파일 보기

@@ -207,11 +207,11 @@ export default {
207 207
     this.getPermission();
208 208
     // this.summary = this.$store.getters.summary;
209 209
     this.summary = getDataConfig("summary", "summary");
210
-    console.log("透后选叫", getDataConfig("summary", "summary"));
210
+    // console.log("透后选叫", getDataConfig("summary", "summary"));
211 211
     // console.log("this.summary",this.summary)
212 212
     // this.teach = this.$store.getters.teach;
213 213
     this.teach = getDataConfig("education", "education");
214
-    console.log("this", this.teach);
214
+    // console.log("this", this.teach);
215 215
     if (this.teach.length > 0) {
216 216
       var tlen = this.teach.length;
217 217
       for (let index = 0; index < tlen; index++) {
@@ -227,7 +227,7 @@ export default {
227 227
       }
228 228
     }
229 229
     this.nursingRecord = getDataConfig("nursing_record", "nursing_record");
230
-    console.log("透析护理记录", this.nursingRecord);
230
+    // console.log("透析护理记录", this.nursingRecord);
231 231
 
232 232
     if (this.nursingRecord.length > 0) {
233 233
       var tlen = this.nursingRecord.length;

+ 0 - 14
src/pages/main/dialog/TwoMenu.vue 파일 보기

@@ -5,7 +5,6 @@
5 5
         <span class="iconfont">&#xe720;</span>返回
6 6
       </div>
7 7
       <h1 class="name">{{ title }}</h1>
8
-      <!-- <span class="success" @click="handle_selected()">完成</span> -->
9 8
       <span v-if="type == 1" class="success"></span>
10 9
       <span v-if="type == 2" @click="handle_selected" class="success"
11 10
         >确定</span
@@ -61,9 +60,6 @@ export default {
61 60
   name: "TwoMenu",
62 61
   data() {
63 62
     return {
64
-      // list: ["复选框1", "复选框2"],
65
-      // result: ["复选框1"],
66
-
67 63
       show: false,
68 64
       type: 1, // 1.单选 2.复选
69 65
       handle_select: null, // function
@@ -112,16 +108,6 @@ export default {
112 108
       this.handle_select = handle_select;
113 109
       this.handle_hide = handle_hide;
114 110
     },
115
-    // showMutableSelect(list_options, selected_values, title, show_key, id_key, handle_select) {
116
-    //   this.show = true
117
-    //   this.type = 2
118
-    //   this.title = title
119
-    //   this.mutable.options = list_options
120
-    //   this.mutable.selected_values = selected_values
121
-    //   this.mutable.show_key = show_key
122
-    //   this.mutable.id_key = id_key
123
-    //   this.handle_select = handle_select
124
-    // },
125 111
     hide() {
126 112
       if (this.handle_hide != null && this.handle_hide != undefined) {
127 113
         this.handle_hide();

+ 2 - 3
src/pages/main/dialog/new_order/AddNewOrders.vue 파일 보기

@@ -49,9 +49,8 @@
49 49
                 <th width="15%">给药途径</th>
50 50
                 <th width="15%">执行频率</th>
51 51
               </tr>
52
-              <template v-for="(advice, advice_index) in advices">
53
-                <tr
54
-                  :key="advice_index"
52
+              <template v-for="(advice, advice_index) in advices" :key="advice_index">
53
+                <tr     
55 54
                   @click="clickAdviceAction(advice_index)"
56 55
                   :class="{
57 56
                     'row-class-active':

+ 0 - 6
src/pages/main/dialysis/AdviceTable.vue 파일 보기

@@ -1,5 +1,4 @@
1 1
 <template>
2
-
3 2
   <div class="newDoctorManagement">
4 3
     <div style="height:100%;display:flex;flex-direction: column;">
5 4
       <div class="toolBox">
@@ -192,11 +191,6 @@
192 191
         <img src="../../../assets/images/none.png" alt />
193 192
       </div>
194 193
     </div>
195
-    <!-- <div class="add">
196
-      <div style="display: flex;align-items: center;">
197
-        <van-icon class="addIcon" name="add" />新增
198
-      </div>
199
-    </div>-->
200 194
 
201 195
     <!-- 弹出层 -->
202 196
     <div>

+ 0 - 34
src/pages/main/dialysis/CourseManagement.vue 파일 보기

@@ -469,37 +469,3 @@ export default {
469 469
   width: 0;
470 470
 }
471 471
 </style>
472
-<style lang="scss">
473
-// #app{
474
-// .newPopup{
475
-//   .van-picker__toolbar{
476
-//     height: 1.46rem;
477
-//     line-height: 1.46rem;
478
-//   }
479
-//   .van-picker__cancel, .van-picker__confirm{
480
-//     padding: 0 0.53rem;
481
-//     font-size: 0.46rem;
482
-//   }
483
-//   .van-picker-column{
484
-//     font-size: 0.53rem;
485
-//   }
486
-//   .van-picker-column__item{
487
-//     padding: 0 0.14rem;
488
-//   }
489
-//   .van-action-sheet__item{
490
-//     height: 1.6rem;
491
-//   }
492
-//   .van-action-sheet__cancel, .van-action-sheet__item{
493
-//     height: 1.6rem;
494
-//     font-size: 0.53rem;
495
-//     line-height: 1.6rem;
496
-//   }
497
-//   .van-action-sheet__gap{
498
-//     height: 0.26rem;
499
-//   }
500
-//   .van-action-sheet__cancel::before{
501
-//     height: 0.26rem;
502
-//   }
503
-// }
504
-// }
505
-</style>

+ 0 - 11
src/pages/main/dialysis/DialysisTab.vue 파일 보기

@@ -39,17 +39,6 @@
39 39
         </van-tab>
40 40
       </van-tabs>
41 41
   </div>
42
-<!--    </div>-->
43
-
44
-<!--    <div class="tab-content">-->
45
-<!--      <long-table v-show="index == 0" title="长期透析处方"></long-table>-->
46
-<!--      <record-table v-show="index == 1" title="透析记录"></record-table>-->
47
-<!--      <schedul-table v-show="index == 2" class="排班信息"></schedul-table>-->
48
-<!--      <mission-table v-show="index == 3" class="宣教信息"></mission-table>-->
49
-<!--    </div>-->
50
-<!--  </div>-->
51
-  <!-- <div>
52
-  </div> -->
53 42
 </template>
54 43
 
55 44
 <script>

+ 0 - 19
src/pages/main/dialysis/DryWeight.vue 파일 보기

@@ -433,25 +433,6 @@ export default {
433 433
       display: block;
434 434
     }
435 435
   }
436
-  // .add {
437
-  //   position: fixed;
438
-  //   bottom: 0;
439
-  //   left: 0;
440
-  //   width: 100%;
441
-  //   height: 2.75rem;
442
-  //   background: rgba(255, 255, 255, 1);
443
-  //   box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1);
444
-  //   display: flex;
445
-  //   align-items: center;
446
-  //   justify-content: space-around;
447
-  //   font-size: 0.9375rem;
448
-  //   color: #979798;
449
-  //   .addIcon {
450
-  //     color: #5b98ff;
451
-  //     font-size: 1.25rem;
452
-  //     margin-right: 0.25rem;
453
-  //   }
454
-  // }
455 436
   .van-popup {
456 437
     border-radius: 0;
457 438
     transform: translate3d(0, 0, 0);

+ 0 - 301
src/pages/main/dialysis/MissionTable.vue 파일 보기

@@ -1,69 +1,5 @@
1 1
 <template>
2
-  <!-- <div>
3
-    <div class="choice">
4
-      <ul>
5
-        <li>
6
-          日期查询:
7
-          <div @click="openStartPicker" class>
8
-            {{ parseTime(startTime.getTime() / 1000, "{y}-{m}-{d}") }}
9
-            <span class="iconfont">&#xe74a;</span>
10
-          </div>
11
-          <span class="line"></span>
12
-          <div @click="openEndPicker" class>
13
-            {{ parseTime(endTime.getTime() / 1000, "{y}-{m}-{d}") }}
14
-            <span class="iconfont">&#xe74a;</span>
15
-          </div>
16
-        </li>
17
-      </ul>
18
-    </div>
19
-    <div class="blueBorder"></div>
20
-    <van-list
21
-      width="100%"
22
-      v-model="loading"
23
-      :finished="finished"
24
-      @load="onLoad"
25
-    >
26
-      <div class="tableTit">
27
-        <ul>
28
-          <li style="width:10%;">序号</li>
29
-          <li style="width:25%;">日期</li>
30
-          <li style="width:65%;">宣教内容</li>
31
-        </ul>
32
-      </div>
33
-      <div class="tableDate">
34
-        <ul v-for="(item, index) in tableDate" :key="index" :value="item.value">
35
-          <li style="width:10%;">{{ index + 1 }}</li>
36
-          <li style="width:25%;">
37
-            {{ parseTime(item.assessment_date, "{y}-{m}-{d}") }}
38
-          </li>
39
-          <li style="width:65%;">{{ item.mission }}</li>
40
-        </ul>
41
-      </div>
42
-      <div class="NoData" v-show="tableDate.length == 0">
43
-        <img
44
-          style="margin-top: 50px; margin-bottom: 50px"
45
-          src="@/assets/login/data.jpg"
46
-          alt
47
-        />
48
-      </div>
49
-    </van-list>
50
-
51
-    <mt-datetime-picker
52
-      ref="start_date_picker"
53
-      type="date"
54
-      @confirm="handleStartDateConfirm"
55
-      :endDate="new Date()"
56
-      v-model="startTime"
57
-    ></mt-datetime-picker>
58 2
 
59
-    <mt-datetime-picker
60
-      ref="end_date_picker"
61
-      type="date"
62
-      @confirm="handleEndDateConfirm"
63
-      :endDate="new Date()"
64
-      v-model="endTime"
65
-    ></mt-datetime-picker>
66
-  </div> -->
67 3
   <div class="newEducation">
68 4
     <div>
69 5
       <div class="toolBox">
@@ -162,152 +98,6 @@
162 98
   </div>
163 99
 </template>
164 100
 
165
-<script>
166
-// import { parseTime } from "@/utils";
167
-// import { getAllEducationList } from "@/api/patient";
168
-
169
-// import { Popover } from "vux";
170
-// export default {
171
-//   name: "LongTable",
172
-//   created() {
173
-//     this.tableDate = [];
174
-
175
-//     this.queryParams.start_time = this.parseTime(
176
-//       new Date().getTime() / 1000,
177
-//       "{y}-{m}-{d}"
178
-//     );
179
-//     this.queryParams.end_time = this.parseTime(
180
-//       new Date().getTime() / 1000,
181
-//       "{y}-{m}-{d}"
182
-//     );
183
-//     this.queryParams.patient_id = this.$route.query.patient_id;
184
-//     this.queryParams.page = this.queryParams.page + 1;
185
-//     this.queryParams.limit = 15;
186
-//     this.tableDate = [];
187
-
188
-//     getAllEducationList(this.queryParams).then(response => {
189
-//       if (response.data.state == 0) {
190
-//         return false;
191
-//       } else {
192
-//         if (response.data.data.total == 0) {
193
-//         } else {
194
-//           for (let i = 0; i < response.data.data.edus.length; i++) {
195
-//             this.tableDate.push(response.data.data.edus[i]);
196
-//           }
197
-//         }
198
-//       }
199
-//     });
200
-//   },
201
-//   data() {
202
-//     return {
203
-//       tableDate: [],
204
-//       loading: false,
205
-//       finished: false,
206
-
207
-//       startTime: new Date(),
208
-//       endTime: new Date(),
209
-
210
-//       queryParams: {
211
-//         mode_id: "",
212
-//         start_time: "",
213
-//         end_time: "",
214
-//         page: 0,
215
-//         patient_id: 0,
216
-//         limit: 15
217
-//       }
218
-//     };
219
-//   },
220
-//   methods: {
221
-//     parseTime(time, layout) {
222
-//       return parseTime(time, layout);
223
-//     },
224
-//     onLoad() {
225
-//       this.queryParams.start_time = this.parseTime(
226
-//         this.startTime.getTime() / 1000,
227
-//         "{y}-{m}-{d}"
228
-//       );
229
-//       this.queryParams.end_time = this.parseTime(
230
-//         this.endTime.getTime() / 1000,
231
-//         "{y}-{m}-{d}"
232
-//       );
233
-//       this.queryParams.patient_id = this.$route.query.patient_id;
234
-//       this.queryParams.page = this.queryParams.page + 1;
235
-//       this.queryParams.limit = 15;
236
-
237
-//       getAllEducationList(params).then(response => {
238
-//         if (response.data.state == 0) {
239
-//           this.finished = true;
240
-//           this.loading = false;
241
-//           return false;
242
-//         } else {
243
-//           if (response.data.data.edus.length == 0) {
244
-//             this.finished = true;
245
-//             this.loading = false;
246
-//           } else {
247
-//             for (let i = 0; i < response.data.data.edus.length; i++) {
248
-//               this.tableDate.push(response.data.data.edus[i]);
249
-//             }
250
-//             this.loading = false;
251
-//           }
252
-//         }
253
-//       });
254
-//     },
255
-//     handleStartDateConfirm: function(val) {
256
-//       this.queryParams.start_time = this.parseTime(
257
-//         this.startTime / 1000,
258
-//         "{y}-{m}-{d}"
259
-//       );
260
-//       this.queryParams.end_time = this.parseTime(
261
-//         this.endTime / 1000,
262
-//         "{y}-{m}-{d}"
263
-//       );
264
-//       this.queryParams.page = 1;
265
-//       this.queryParams.limit = 15;
266
-
267
-//       this.getRecordList(this.queryParams);
268
-//     },
269
-//     handleEndDateConfirm: function(val) {
270
-//       this.queryParams.start_time = this.parseTime(
271
-//         this.startTime / 1000,
272
-//         "{y}-{m}-{d}"
273
-//       );
274
-//       this.queryParams.end_time = this.parseTime(
275
-//         this.endTime / 1000,
276
-//         "{y}-{m}-{d}"
277
-//       );
278
-//       this.queryParams.page = 1;
279
-//       this.queryParams.limit = 15;
280
-//       this.getRecordList(this.queryParams);
281
-//     },
282
-//     openStartPicker: function() {
283
-//       this.$refs.start_date_picker.open();
284
-//     },
285
-//     openEndPicker: function() {
286
-//       this.$refs.end_date_picker.open();
287
-//     },
288
-//     getRecordList: function(val) {
289
-//       this.tableDate = [];
290
-//       getAllEducationList(val).then(response => {
291
-//         if (response.data.state == 0) {
292
-//           return false;
293
-//         } else {
294
-//           if (response.data.data.edus.length == 0) {
295
-//           } else {
296
-//             for (let i = 0; i < response.data.data.edus.length; i++) {
297
-//               this.tableDate.push(response.data.data.edus[i]);
298
-//             }
299
-//           }
300
-//         }
301
-//       });
302
-//     }
303
-//   },
304
-
305
-//   components: {
306
-//     Popover
307
-//   }
308
-// };
309
-</script>
310
-
311 101
 <script>
312 102
 import {
313 103
   getNewPatientId,
@@ -647,94 +437,3 @@ export default {
647 437
 }
648 438
 </style>
649 439
 
650
-
651
-<style style="stylesheet/scss" lang="scss" scoped>
652
-// .choice {
653
-//   border-bottom: 1px #e5e5e5 solid;
654
-//   ul {
655
-//     @include display-flex;
656
-//     @include align-items-center;
657
-//     @include text-align;
658
-//     @include justify-content-between;
659
-//     width: 80%;
660
-//     margin: 0 auto;
661
-//     font-size: 0.45rem;
662
-//     color: $pgh-color;
663
-//     li {
664
-//       @include display-flex;
665
-//       @include align-items-center;
666
-//       @include text-align;
667
-//       @include justify-content-between;
668
-//       padding: 0.3rem 0;
669
-//       margin: 0 auto;
670
-//       .iconfont {
671
-//         margin: 0 0.1rem;
672
-//         // @media only screen and (max-width: 812px) {
673
-//         //   font-size: 12px !important;
674
-//         // }
675
-//       }
676
-//       .line {
677
-//         background: #a8b3ba;
678
-//         width: 0.2rem;
679
-//         height: 1px;
680
-//         margin: 0 0.2rem;
681
-//         display: inline-block;
682
-//       }
683
-//     }
684
-//   }
685
-// }
686
-// .tableTit {
687
-//   background: $main-color;
688
-//   color: $text-color;
689
-//   @include box-sizing;
690
-//   ul {
691
-//     @include display-flex;
692
-//     @include align-items-center;
693
-//     @include text-align;
694
-//     @include justify-content-center;
695
-//     li {
696
-//       border-right: 2px #fff solid;
697
-//       font-size: 0.45rem;
698
-//       height: 1.2rem;
699
-//       line-height: 1.2rem;
700
-//     }
701
-//     &:last-child {
702
-//       border-right: none;
703
-//     }
704
-//   }
705
-// }
706
-// .tableDate {
707
-//   background: #ecf5ff;
708
-//   color: $pgh-color;
709
-//   @include box-sizing;
710
-//   ul {
711
-//     @include display-flex;
712
-//     @include align-items-center;
713
-//     @include text-align;
714
-//     @include justify-content-center;
715
-//     li {
716
-//       font-size: 0.45rem;
717
-//       padding: 0.16rem 0;
718
-//       line-height: 0.5rem;
719
-//       border-right: 2px #fff solid;
720
-//       span {
721
-//         @include flex;
722
-//         border-right: 2px #fff solid;
723
-//         border-bottom: 2px #fff solid;
724
-//         background: #ecf5ff;
725
-//         display: inline-block;
726
-//         height: 1.2rem;
727
-//         line-height: 1.2rem;
728
-//         .iconfont {
729
-//           color: $main-color;
730
-//           font-size: 0.3rem;
731
-//           margin-right: 0.1rem;
732
-//         }
733
-//       }
734
-//     }
735
-//     &:last-child {
736
-//       border-right: none;
737
-//     }
738
-//   }
739
-// }
740
-</style>

+ 0 - 24
src/pages/main/dialysis/PassAssesment.vue 파일 보기

@@ -1,8 +1,6 @@
1 1
 <template>
2 2
   <div class="newDryWeight">
3 3
     <div>
4
-     
5
-
6 4
       <div class="adviceBox" v-if="tableList.length > 0">
7 5
         <van-list
8 6
           v-model="loading"
@@ -57,9 +55,6 @@
57 55
         <img src="../../../assets/images/none.png" alt />
58 56
       </div>
59 57
     </div>
60
-   
61
-   
62
-   
63 58
   </div>
64 59
 </template>
65 60
 
@@ -256,25 +251,6 @@ export default {
256 251
       display: block;
257 252
     }
258 253
   }
259
-  // .add {
260
-  //   position: fixed;
261
-  //   bottom: 0;
262
-  //   left: 0;
263
-  //   width: 100%;
264
-  //   height: 2.75rem;
265
-  //   background: rgba(255, 255, 255, 1);
266
-  //   box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1);
267
-  //   display: flex;
268
-  //   align-items: center;
269
-  //   justify-content: space-around;
270
-  //   font-size: 0.9375rem;
271
-  //   color: #979798;
272
-  //   .addIcon {
273
-  //     color: #5b98ff;
274
-  //     font-size: 1.25rem;
275
-  //     margin-right: 0.25rem;
276
-  //   }
277
-  // }
278 254
   .van-popup {
279 255
     border-radius: 0;
280 256
     transform: translate3d(0, 0, 0);

+ 1 - 564
src/pages/main/dialysis/RecordTable.vue 파일 보기

@@ -1,147 +1,5 @@
1 1
 <template>
2
-  <!-- <div>
3
-    <van-list width="100%" v-model="loading" :finished="finished" @load="onLoad">
4
-      <div class="choice">
5
-        <ul>
6
-          <li>
7
-            透析时间:
8
-            <div @click="openStartPicker" class>
9
-              {{ parseTime(startTime.getTime() / 1000, "{y}-{m}-{d}") }}
10
-              <span
11
-                class="iconfont"
12
-              >&#xe74a;</span>
13
-            </div>
14
-            <span class="line"></span>
15
-            <div @click="openEndPicker" class>
16
-              {{ parseTime(endTime.getTime() / 1000, "{y}-{m}-{d}") }}
17
-              <span
18
-                class="iconfont"
19
-              >&#xe74a;</span>
20
-            </div>
21
-          </li>
22 2
 
23
-          <el-popover placement="bottom" trigger="click">
24
-            <li slot="reference">
25
-              透析模式:{{ modeNameOther(mode_id) }}
26
-              <span class="iconfont">&#xe74a;</span>
27
-            </li>
28
-            <div class="popover-demo-content">
29
-              <ul>
30
-                <li
31
-                  v-for="item in modeOptions"
32
-                  :key="item.id"
33
-                  @click="itemClick(item.id)"
34
-                  :class="mode_id == item.id ? 'tick' : ''"
35
-                >{{ item.name }}</li>
36
-              </ul>
37
-            </div>
38
-          </el-popover>
39
-        </ul>
40
-      </div>
41
-      <div class="blueBorder"></div>
42
-      <div style="width:100%;overflow:hildden;overflow-x:auto;" class="RecordTable">
43
-        <table class="table newRecordTable" style>
44
-          <tr>
45
-            <th width="124px">透析日期</th>
46
-            <th width="72px">班次</th>
47
-            <th width="80px">分区-机号</th>
48
-            <th width="110px">透析模式</th>
49
-            <th width="92px">透析时长(h)</th>
50
-            <th width="76px">干体重(kg)</th>
51
-            <th width="76px">透前称重(kg)</th>
52
-            <th width="76px">透后称重(kg)</th>
53
-            <th width="92px">透前血压(mmHg)</th>
54
-            <th width="92px">透后血压(mmHg)</th>
55
-            <th width="92px">超滤总量(L)</th>
56
-            <th width="92px">抗凝剂种类 首剂/维持/总量</th>
57
-            <th width="92px">治疗护士</th>
58
-            <th width="92px">治疗医生</th>
59
-          </tr>
60
-          <tr
61
-            v-for="(item, index) in tableDate"
62
-            :key="index"
63
-            :value="item.value"
64
-            @click="jump(item)"
65
-          >
66
-            <td>{{ parseTime(item.dialysis_date, "{y}-{m}-{d}") }}</td>
67
-            <td>{{ scheduleType(item.schedule_type) }}</td>
68
-            <td>{{ item.partition_name }} - {{ item.device_number }}</td>
69
-            <td>{{ modeName(item.prescription.mode_id) }}</td>
70
-            <td>
71
-              {{
72
-              item.prescription.dialysis_duration
73
-              ? item.prescription.dialysis_duration
74
-              : ""
75
-              }}
76
-            </td>
77
-            <td>
78
-              {{
79
-              item.prescription.dry_weight ? item.prescription.dry_weight : ""
80
-              }}
81
-            </td>
82
-            <td>
83
-              {{
84
-              item.predialysis_evaluation.weight_before
85
-              ? item.predialysis_evaluation.weight_before
86
-              : ""
87
-              }}
88
-            </td>
89
-            <td>
90
-              {{
91
-              item.assessment_after_dislysis.weight_after
92
-              ? item.assessment_after_dislysis.weight_after
93
-              : ""
94
-              }}
95
-            </td>
96
-            <td>
97
-              {{
98
-              item.predialysis_evaluation.systolic_blood_pressure
99
-              ? item.predialysis_evaluation.systolic_blood_pressure
100
-              : ""
101
-              }}
102
-            </td>
103
-            <td>
104
-              {{
105
-              item.assessment_after_dislysis.systolic_blood_pressure
106
-              ? item.assessment_after_dislysis.systolic_blood_pressure
107
-              : ""
108
-              }}
109
-            </td>
110
-            <td>
111
-              {{
112
-              item.predialysis_evaluation.ultrafiltration_amount
113
-              ? item.predialysis_evaluation.ultrafiltration_amount
114
-              : ""
115
-              }}
116
-            </td>
117
-            <td>{{ setAnticoagulantsConfit(item.prescription) }}</td>
118
-            <td>{{ getName(item.treatment_summary.zl_nurse) }}</td>
119
-            <td>{{ getName(item.treatment_summary.zl_doctor) }}</td>
120
-          </tr>
121
-        </table>
122
-
123
-        <div class="NoData" v-show="tableDate.length == 0">
124
-          <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
125
-        </div>
126
-      </div>
127
-    </van-list>
128
-
129
-    <mt-datetime-picker
130
-      ref="start_date_picker"
131
-      type="date"
132
-      @confirm="handleStartDateConfirm"
133
-      :endDate="new Date()"
134
-      v-model="startTime"
135
-    ></mt-datetime-picker>
136
-
137
-    <mt-datetime-picker
138
-      ref="end_date_picker"
139
-      type="date"
140
-      @confirm="handleEndDateConfirm"
141
-      :endDate="new Date()"
142
-      v-model="endTime"
143
-    ></mt-datetime-picker>
144
-  </div> -->
145 3
   <div class="newDialysisRecord">
146 4
     <div>
147 5
       <div class="toolBox">
@@ -353,11 +211,6 @@
353 211
         <img src="../../../assets/images/none.png" alt />
354 212
       </div>
355 213
     </div>
356
-    <!-- <div class="add">
357
-      <div style="display: flex;align-items: center;">
358
-        <van-icon class="addIcon" name="add" />新增
359
-      </div>
360
-    </div>-->
361 214
 
362 215
     <!-- 弹出层 -->
363 216
     <div>
@@ -414,308 +267,6 @@
414 267
   </div>
415 268
 </template>
416 269
 
417
-<script>
418
-// import { Popover } from "vux";
419
-// import { parseTime } from "@/utils";
420
-// import { getRecordList } from "@/api/patient";
421
-// import { fetchAllDoctorAndNurse, fetchAllAdminUsers } from "@/api/doctor";
422
-
423
-// export default {
424
-//   name: "LongTable",
425
-//   created() {
426
-//     var date = new Date();
427
-//     var year = date.getFullYear();
428
-//     var month = date.getMonth();
429
-//     var day = date.getDate();
430
-//     if (month < 10) {
431
-//       month = "0" + month;
432
-//     }
433
-//     if (day < 10) {
434
-//       day = "0" + day;
435
-//     }
436
-//     var nowDate = year + "-" + month + "-" + day;
437
-
438
-//     this.startTime = new Date(nowDate);
439
-
440
-//     this.modeOptions = this.$store.getters.treatment_mode;
441
-
442
-//     this.modeOptions["0"] = {
443
-//       id: 0,
444
-//       name: "全部"
445
-//     };
446
-
447
-//     // console.log(this.modeOptions);
448
-//     this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
449
-//     this.queryParams.start_time = this.parseTime(
450
-//       this.startTime.getTime() / 1000,
451
-//       "{y}-{m}-{d}"
452
-//     );
453
-//     this.queryParams.end_time = this.parseTime(
454
-//       new Date().getTime() / 1000,
455
-//       "{y}-{m}-{d}"
456
-//     );
457
-//     this.queryParams.patient_id = this.$route.query.patient_id;
458
-//     this.queryParams.page = this.queryParams.page + 1;
459
-//     this.queryParams.limit = 15;
460
-//     this.tableDate = [];
461
-//     // console.log(this.queryParams);
462
-
463
-//     getRecordList(this.queryParams).then(response => {
464
-//       if (response.data.state == 0) {
465
-//         return false;
466
-//       } else {
467
-//         if (response.data.data.records.length == 0) {
468
-//         } else {
469
-//           for (let i = 0; i < response.data.data.records.length; i++) {
470
-//             this.tableDate.push(response.data.data.records[i]);
471
-//           }
472
-//         }
473
-//       }
474
-//     });
475
-//     this.fetchAllAdminUsers();
476
-//     this.fetchAllDoctorAndNurse();
477
-//   },
478
-//   data() {
479
-//     return {
480
-//       mode_id: "",
481
-//       loading: false,
482
-//       finished: false,
483
-//       startTime: new Date(),
484
-//       endTime: new Date(),
485
-//       modeOptions: {},
486
-//       anticoagulantsConfit: [],
487
-//       doctorList: [],
488
-//       nurseList: [],
489
-//       doctorOptions: [],
490
-//       adminUserOptions: null,
491
-
492
-//       queryParams: {
493
-//         mode_id: "",
494
-//         start_time: "",
495
-//         end_time: "",
496
-//         page: 0,
497
-//         patient_id: 0,
498
-//         limit: 15
499
-//       },
500
-
501
-//       tableDate: []
502
-//     };
503
-//   },
504
-//   methods: {
505
-//     modeName(mode_id) {
506
-//       return typeof this.modeOptions[mode_id] != "undefined" &&
507
-//         typeof this.modeOptions[mode_id].name != "undefined"
508
-//         ? this.modeOptions[mode_id].name
509
-//         : "";
510
-//     },
511
-//     modeNameOther(mode_id) {
512
-//       return typeof this.modeOptions[mode_id] != "undefined" &&
513
-//         typeof this.modeOptions[mode_id].name != "undefined"
514
-//         ? this.modeOptions[mode_id].name
515
-//         : "全部";
516
-//     },
517
-
518
-//     parseTime(time, layout) {
519
-//       return parseTime(time, layout);
520
-//     },
521
-//     openStartPicker: function() {
522
-//       this.$refs.start_date_picker.open();
523
-//     },
524
-//     openEndPicker: function() {
525
-//       this.$refs.end_date_picker.open();
526
-//     },
527
-//     handleStartDateConfirm: function(val) {
528
-//       this.queryParams.start_time = this.parseTime(
529
-//         this.startTime / 1000,
530
-//         "{y}-{m}-{d}"
531
-//       );
532
-//       this.queryParams.end_time = this.parseTime(
533
-//         this.endTime / 1000,
534
-//         "{y}-{m}-{d}"
535
-//       );
536
-//       this.queryParams.page = 1;
537
-//       this.queryParams.limit = 15;
538
-
539
-//       this.getRecordList(this.queryParams);
540
-//     },
541
-//     handleEndDateConfirm: function(val) {
542
-//       this.queryParams.start_time = this.parseTime(
543
-//         this.startTime / 1000,
544
-//         "{y}-{m}-{d}"
545
-//       );
546
-//       this.queryParams.end_time = this.parseTime(
547
-//         this.endTime / 1000,
548
-//         "{y}-{m}-{d}"
549
-//       );
550
-//       this.queryParams.page = 1;
551
-//       this.queryParams.limit = 15;
552
-//       this.getRecordList(this.queryParams);
553
-//     },
554
-//     getRecordList: function(val) {
555
-//       this.tableDate = [];
556
-//       getRecordList(val).then(response => {
557
-//         if (response.data.state == 0) {
558
-//           return false;
559
-//         } else {
560
-//           if (response.data.data.records.length == 0) {
561
-//           } else {
562
-//             for (let i = 0; i < response.data.data.records.length; i++) {
563
-//               this.tableDate.push(response.data.data.records[i]);
564
-//             }
565
-//           }
566
-//         }
567
-//       });
568
-//     },
569
-//     onLoad() {
570
-//       this.queryParams.start_time = this.parseTime(
571
-//         this.startTime.getTime() / 1000,
572
-//         "{y}-{m}-{d}"
573
-//       );
574
-//       this.queryParams.end_time = this.parseTime(
575
-//         this.endTime.getTime() / 1000,
576
-//         "{y}-{m}-{d}"
577
-//       );
578
-//       this.queryParams.patient_id = this.$route.query.patient_id;
579
-//       this.queryParams.page = this.queryParams.page + 1;
580
-//       this.queryParams.limit = 15;
581
-
582
-//       getRecordList(this.queryParams).then(response => {
583
-//         if (response.data.state == 0) {
584
-//           this.finished = true;
585
-//           this.loading = false;
586
-//           return false;
587
-//         } else {
588
-//           if (response.data.data.records.length == 0) {
589
-//             this.finished = true;
590
-//             this.loading = false;
591
-//           } else {
592
-//             for (let i = 0; i < response.data.data.records.length; i++) {
593
-//               this.tableDate.push(response.data.data.records[i]);
594
-//             }
595
-//             this.loading = false;
596
-//           }
597
-//         }
598
-//       });
599
-//     },
600
-//     scheduleType(scheduleType) {
601
-//       var typeName = "";
602
-//       switch (scheduleType) {
603
-//         case 1:
604
-//           typeName = "上午";
605
-//           break;
606
-//         case 2:
607
-//           typeName = "下午";
608
-//           break;
609
-//         case 3:
610
-//           typeName = "晚上";
611
-//           break;
612
-//         default:
613
-//           break;
614
-//       }
615
-//       return typeName;
616
-//     },
617
-//     setAnticoagulantsConfit: function(prescription) {
618
-//       if (
619
-//         typeof this.anticoagulantsConfit[prescription.anticoagulant] ==
620
-//         "undefined"
621
-//       ) {
622
-//         return "";
623
-//       } else {
624
-//         if (this.anticoagulantsConfit[prescription.anticoagulant].shouji != 1) {
625
-//           return this.anticoagulantsConfit[prescription.anticoagulant].name;
626
-//         } else {
627
-//           return (
628
-//             this.anticoagulantsConfit[prescription.anticoagulant].name +
629
-//             "/" +
630
-//             prescription.anticoagulant_shouji +
631
-//             "/" +
632
-//             prescription.anticoagulant_weichi +
633
-//             "/" +
634
-//             prescription.anticoagulant_zongliang
635
-//           );
636
-//         }
637
-//       }
638
-//     },
639
-//     getName: function(id) {
640
-//       if (id <= 0) {
641
-//         return "";
642
-//       }
643
-//       var name = "";
644
-//       if (
645
-//         this.adminUserOptions == null ||
646
-//         typeof this.adminUserOptions.length == "undefined"
647
-//       ) {
648
-//         return name;
649
-//       }
650
-//       var leng = this.adminUserOptions.length;
651
-//       if (leng == 0) {
652
-//         return name;
653
-//       }
654
-//       for (let index = 0; index < leng; index++) {
655
-//         if (this.adminUserOptions[index].id == id) {
656
-//           name = this.adminUserOptions[index].name;
657
-//           break;
658
-//         }
659
-//       }
660
-//       return name;
661
-//     },
662
-//     fetchAllAdminUsers() {
663
-//       fetchAllAdminUsers().then(response => {
664
-//         if (response.data.state == 1) {
665
-//           this.adminUserOptions = response.data.data.users;
666
-//           var alen = this.adminUserOptions.length;
667
-//           for (let index = 0; index < alen; index++) {
668
-//             if (this.adminUserOptions[index].user_type == 2) {
669
-//               this.doctorOptions.push(this.adminUserOptions[index]);
670
-//             }
671
-//           }
672
-//         }
673
-//       });
674
-//     },
675
-//     fetchAllDoctorAndNurse() {
676
-//       fetchAllDoctorAndNurse().then(response => {
677
-//         if (response.data.state == 1) {
678
-//           this.doctorOptions = response.data.data.doctors;
679
-//         }
680
-//       });
681
-//     },
682
-//     itemClick: function(val) {
683
-//       if (val == "0") {
684
-//         this.mode_id = "0";
685
-//       } else {
686
-//         this.mode_id = val;
687
-//       }
688
-//       this.queryParams.mode_id = val;
689
-//       this.queryParams.start_time = this.parseTime(
690
-//         this.startTime / 1000,
691
-//         "{y}-{m}-{d}"
692
-//       );
693
-//       this.queryParams.end_time = this.parseTime(
694
-//         this.endTime / 1000,
695
-//         "{y}-{m}-{d}"
696
-//       );
697
-//       this.queryParams.page = 1;
698
-//       this.queryParams.limit = 15;
699
-//       this.getRecordList(this.queryParams);
700
-//     },
701
-//     jump: function(val) {
702
-//       this.$emit("record", val);
703
-
704
-//       this.$router.push({
705
-//         path: "/details",
706
-//         query: {
707
-//           patient_id: val.patient_id,
708
-//           date: val.dialysis_date
709
-//         }
710
-//       });
711
-//     }
712
-//   },
713
-//   components: {
714
-//     Popover
715
-//   }
716
-// };
717
-</script>
718
-
719 270
 <script>
720 271
 import { getNewPatientId,getPatientDetail, getDialysisRecord } from "@/api/patient/patient";
721 272
 import { uParseTime } from "@/utils/tools";
@@ -882,23 +433,6 @@ export default {
882 433
       );
883 434
       this.endShow = false;
884 435
     },
885
-    // getPatientDetail(patientid) {
886
-    //   getPatientDetail(patientid).then(response => {
887
-    //     if (response.data.state === 1) {
888
-    //       var patientDetail = response.data.data.patientDetail;
889
-    //       this.patient_name = patientDetail.name;
890
-    //       if (patientDetail.blood_patients == 0) {
891
-    //         this.showOne = false;
892
-    //         this.showTwo = true;
893
-    //       }
894
-    //       if (patientDetail.blood_patients == 1) {
895
-    //         this.showOne = true;
896
-    //         this.showTwo = false;
897
-    //       }
898
-    //       this.patientName = patientDetail.name;
899
-    //     }
900
-    //   });
901
-    // },
902 436
     getDialysisRecord(id) {
903 437
       getDialysisRecord(id,this.limit,this.page,this.startTime,this.endTime,this.types).then(response => {
904 438
         if (response.data.state === 1) {
@@ -990,22 +524,7 @@ export default {
990 524
         '/details?patient_id=' + this.patientid + '&date=' + date + '&patient_name=' + this.patient_name + '&active1=' + 0
991 525
       )
992 526
     },
993
-    // getLastTime(dialysis_date){
994
-    //   console.log("dialysis_date-------",dialysis_date)
995 527
 
996
-    //   var arr = []
997
-    //   for(let i=0;i<this.dialysisRecord.length;i++){
998
-    //     if(this.dialysisRecord[i].dialysis_date < dialysis_date){
999
-    //        arr.push(this.dialysisRecord[i])
1000
-    //     }
1001
-    //   }
1002
-    //   var newList = arr.sort(this.compareList('dialysis_date'))
1003
-    //   console.log("newList--------",newList)
1004
-    //   if(newList!=null && newList.length >0){
1005
-    //      newList[i].
1006
-    //   }
1007
-    //   // return newList[1].dialysis_date
1008
-    // },
1009 528
     compareList: function (k) {
1010 529
       return function (a, b) {
1011 530
         var M = a[k]
@@ -1109,25 +628,6 @@ export default {
1109 628
       display: block;
1110 629
     }
1111 630
   }
1112
-  // .add {
1113
-  //   position: fixed;
1114
-  //   bottom: 0;
1115
-  //   left: 0;
1116
-  //   width: 100%;
1117
-  //   height: 2.75rem;
1118
-  //   background: rgba(255, 255, 255, 1);
1119
-  //   box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1);
1120
-  //   display: flex;
1121
-  //   align-items: center;
1122
-  //   justify-content: space-around;
1123
-  //   font-size: 0.9375rem;
1124
-  //   color: #979798;
1125
-  //   .addIcon {
1126
-  //     color: #5b98ff;
1127
-  //     font-size: 1.25rem;
1128
-  //     margin-right: 0.25rem;
1129
-  //   }
1130
-  // }
1131 631
   .van-popup {
1132 632
     border-radius: 0;
1133 633
     transform: translate3d(0, 0, 0);
@@ -1137,67 +637,4 @@ export default {
1137 637
 ::-webkit-scrollbar {
1138 638
   width: 0;
1139 639
 }
1140
-</style>
1141
-
1142
-<style style="stylesheet/scss" lang="scss" scoped>
1143
-// .choice {
1144
-//   border-bottom: 1px #e5e5e5 solid;
1145
-//   ul {
1146
-//     @include display-flex;
1147
-//     @include align-items-center;
1148
-//     @include text-align;
1149
-//     @include justify-content-between;
1150
-//     width: 98%;
1151
-//     margin: 0 auto;
1152
-//     font-size: 0.4rem;
1153
-//     color: $pgh-color;
1154
-//     @media only screen and (min-width: 768px) {
1155
-//       width: 80%;
1156
-//     }
1157
-//     li {
1158
-//       @include display-flex;
1159
-//       @include align-items-center;
1160
-//       @include text-align;
1161
-//       padding: 0.3rem 0;
1162
-//       .iconfont {
1163
-//         margin: 0 0.1rem;
1164
-//         // @media only screen and (max-width: 812px) {
1165
-//         //   font-size: 12px !important;
1166
-//         // }
1167
-//       }
1168
-//       .line {
1169
-//         background: #a8b3ba;
1170
-//         width: 0.2rem;
1171
-//         height: 1px;
1172
-//         margin: 0 0.2rem;
1173
-//         display: inline-block;
1174
-//       }
1175
-//     }
1176
-//   }
1177
-// }
1178
-// .RecordTable {
1179
-//   padding-top: 0;
1180
-//   background: #fff;
1181
-//   min-height: calc(100vh - 180px);
1182
-// }
1183
-// .popover-demo-content {
1184
-//   max-height: 400px;
1185
-//   overflow-y: scroll;
1186
-// }
1187
-// .newRecordTable {
1188
-//   @media only screen and (max-width: 414px) {
1189
-//     width: 1200px;
1190
-//   }
1191
-//   @media only screen and (min-width: 415px) and (max-width: 767px) {
1192
-//     width: 1600px;
1193
-//   }
1194
-// }
1195
-</style>
1196
-// <style lang="scss">
1197
-// .el-table td {
1198
-//   padding: 0;
1199
-// }
1200
-// .el-table th {
1201
-//   padding: 6px 0;
1202
-// }
1203
-// </style>
640
+</style>

+ 1 - 19
src/pages/main/dialysis/RescueRecord.vue 파일 보기

@@ -414,25 +414,7 @@ export default {
414 414
       display: block;
415 415
     }
416 416
   }
417
-  // .add {
418
-  //   position: fixed;
419
-  //   bottom: 0;
420
-  //   left: 0;
421
-  //   width: 100%;
422
-  //   height: 2.75rem;
423
-  //   background: rgba(255, 255, 255, 1);
424
-  //   box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1);
425
-  //   display: flex;
426
-  //   align-items: center;
427
-  //   justify-content: space-around;
428
-  //   font-size: 0.9375rem;
429
-  //   color: #979798;
430
-  //   .addIcon {
431
-  //     color: #5b98ff;
432
-  //     font-size: 1.25rem;
433
-  //     margin-right: 0.25rem;
434
-  //   }
435
-  // }
417
+  
436 418
   .van-popup {
437 419
     border-radius: 0;
438 420
     transform: translate3d(0, 0, 0);

+ 0 - 205
src/pages/main/dialysis/SchedulTable.vue 파일 보기

@@ -1,41 +1,4 @@
1 1
 <template>
2
-  <!-- <div>
3
-    <van-list width="100%" v-model="loading" :finished="finished" @load="onLoad" >
4
-      <div class="blueBorder"></div>
5
-      <div class="schedulTable">
6
-        <div class="tableTit">
7
-          <ul>
8
-            <li
9
-              v-for="(item, index) in [
10
-                '日期',
11
-                '班次',
12
-                '分区',
13
-                '机号',
14
-                '治疗模式'
15
-              ]"
16
-              :key="index"
17
-              :value="item.value"
18
-            >{{ item }}</li>
19
-          </ul>
20
-        </div>
21
-        <div class="tableDate">
22
-          <ul>
23
-            <li v-for="(item, index) in tableDate" :key="index" :value="item.value">
24
-              <span>{{ parseTime(item.schedule_date, "{y}-{m}-{d}") }}</span>
25
-              <span>{{ scheduleType(item.schedule_type) }}</span>
26
-              <span>{{ item.zone.name }}</span>
27
-              <span>{{ item.bed.number }}</span>
28
-              <span>{{ item.mode.name }}</span>
29
-            </li>
30
-          </ul>
31
-        </div>
32
-      </div>
33
-    </van-list>
34
-    <div class="NoData" v-show="tableDate.length == 0">
35
-      <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
36
-    </div>
37
-  </div> -->
38
-
39 2
   <div class="newScheduling">
40 3
     <div>
41 4
       <div class="toolBox">
@@ -153,91 +116,6 @@
153 116
     </div>
154 117
 </template>
155 118
 
156
-<script>
157
-// import { parseTime } from "@/utils";
158
-// import { getSchedualList } from "@/api/patient";
159
-// export default {
160
-//   name: "LongTable",
161
-//   created() {
162
-//     this.tableDate = [];
163
-//     let params = {
164
-//       page: this.page + 1,
165
-//       limit: this.limit,
166
-//       patient_id: this.$route.query.patient_id
167
-//     };
168
-//     getSchedualList(params).then(response => {
169
-//       if (response.data.state == 0) {
170
-//         return false;
171
-//       } else {
172
-//         if (response.data.data.schedules.length == 0) {
173
-//         } else {
174
-//           for (let i = 0; i < response.data.data.schedules.length; i++) {
175
-//             this.tableDate.push(response.data.data.schedules[i]);
176
-//           }
177
-//         }
178
-//       }
179
-//     });
180
-//   },
181
-//   data() {
182
-//     return {
183
-//       tableDate: [],
184
-//       loading: false,
185
-//       finished: false,
186
-//       page: 0,
187
-//       limit: 15
188
-//     };
189
-//   },
190
-//   methods: {
191
-//     parseTime(time, layout) {
192
-//       return parseTime(time, layout);
193
-//     },
194
-//     onLoad() {
195
-//       this.page = this.page + 1;
196
-//       let params = {
197
-//         page: this.page + 1,
198
-//         limit: this.limit,
199
-//         patient_id: this.$route.query.patient_id
200
-//       };
201
-//       getAllEducationList(params).then(response => {
202
-//         if (response.data.state == 0) {
203
-//           this.finished = true;
204
-//           this.loading = false;
205
-//           return false;
206
-//         } else {
207
-//           if (response.data.data.schedules.length == 0) {
208
-//             this.finished = true;
209
-//             this.loading = false;
210
-//           } else {
211
-//             for (let i = 0; i < response.data.data.schedules.length; i++) {
212
-//               this.tableDate.push(response.data.data.schedules[i]);
213
-//             }
214
-//             this.loading = false;
215
-//           }
216
-//         }
217
-//       });
218
-//     },
219
-//     scheduleType(scheduleType) {
220
-//       var typeName = "";
221
-//       switch (scheduleType) {
222
-//         case 1:
223
-//           typeName = "上午";
224
-//           break;
225
-//         case 2:
226
-//           typeName = "下午";
227
-//           break;
228
-//         case 3:
229
-//           typeName = "晚上";
230
-//           break;
231
-
232
-//         default:
233
-//           break;
234
-//       }
235
-//       return typeName;
236
-//     }
237
-//   }
238
-// };
239
-</script>
240
-
241 119
 <script>
242 120
 import {
243 121
   getNewPatientId,
@@ -789,25 +667,6 @@ export default {
789 667
       display: block;
790 668
     }
791 669
   }
792
-  // .add {
793
-  //   position: fixed;
794
-  //   bottom: 0;
795
-  //   left: 0;
796
-  //   width: 100%;
797
-  //   height: 2.75rem;
798
-  //   background: rgba(255, 255, 255, 1);
799
-  //   box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1);
800
-  //   display: flex;
801
-  //   align-items: center;
802
-  //   justify-content: space-around;
803
-  //   font-size: 0.9375rem;
804
-  //   color: #979798;
805
-  //   .addIcon {
806
-  //     color: #5b98ff;
807
-  //     font-size: 1.25rem;
808
-  //     margin-right: 0.25rem;
809
-  //   }
810
-  // }
811 670
   .van-popup {
812 671
     border-radius: 0;
813 672
     transform: translate3d(0, 0, 0);
@@ -819,67 +678,3 @@ export default {
819 678
 }
820 679
 </style>
821 680
 
822
-
823
-<style style="stylesheet/scss" lang="scss" scoped>
824
-// .schedulTable {
825
-//   width: 100%;
826
-//   overflow: auto;
827
-// }
828
-// .tableTit {
829
-//   background: $main-color;
830
-//   color: $text-color;
831
-//   @include box-sizing;
832
-//   width: 768px;
833
-//   ul {
834
-//     @include display-flex;
835
-//     @include align-items-center;
836
-//     @include text-align;
837
-//     @include justify-content-center;
838
-
839
-//     li {
840
-//       @include flex;
841
-//       border-right: 2px #fff solid;
842
-//       font-size: 0.45rem;
843
-//       height: 1.2rem;
844
-//       line-height: 1.2rem;
845
-//     }
846
-//     &:last-child {
847
-//       border-right: none;
848
-//     }
849
-//   }
850
-// }
851
-// .tableDate {
852
-//   background: $text-color;
853
-//   color: $pgh-color;
854
-//   @include box-sizing;
855
-//   ul {
856
-//     width: 768px;
857
-//     li {
858
-//       font-size: 0.45rem;
859
-//       height: 1.2rem;
860
-//       line-height: 1.2rem;
861
-//       @include display-flex;
862
-//       @include align-items-center;
863
-//       @include text-align;
864
-//       @include justify-content-center;
865
-//       span {
866
-//         @include flex;
867
-//         border-right: 2px #fff solid;
868
-//         border-bottom: 2px #fff solid;
869
-//         background: #ecf5ff;
870
-//         display: inline-block;
871
-//         height: 1.2rem;
872
-//         line-height: 1.2rem;
873
-//         .iconfont {
874
-//           color: $main-color;
875
-//           font-size: 0.3rem;
876
-//           margin-right: 0.1rem;
877
-//         }
878
-//       }
879
-//     }
880
-//     &:last-child {
881
-//       border-right: none;
882
-//     }
883
-//   }
884
-// }
885
-</style>

+ 0 - 39
src/pages/main/dialysis/TreatSummary.vue 파일 보기

@@ -37,26 +37,6 @@
37 37
               <div class="adviceTitle">
38 38
                 <p>阶段小结时间:{{getTime(item.record_time)}}</p>
39 39
               </div>
40
-<!--              <div class="adviceTitle">阶段小结概要:</div>-->
41
-<!--              <div>-->
42
-<!--                <ul style="display: flex;flex-wrap: wrap;">-->
43
-<!--                  <li style="width:50%">干体重(kg):{{item.dry_weight}}</li>-->
44
-<!--                  <li style="width:50%">共透析(次):{{item.dialysis_count}}</li>-->
45
-<!--                  <li style="width:50%">HD(次):{{item.hd_count}}</li>-->
46
-<!--                  <li style="width:50%">HDF(次):{{item.hdf_count}}</li>-->
47
-<!--                  <li style="width:50%">HP(次):{{item.hp_count}}</li>-->
48
-<!--                  <li style="width:50%">其他(次):{{item.other_count}}</li>-->
49
-<!--                  <li style="width:50%">透析器:{{item.dialzer_apparatus}}</li>-->
50
-<!--                  <li style="width:50%">灌流器:{{item.perfusion_apparatus}}</li>-->
51
-<!--                  <li style="width:50%">抗凝剂:{{getAnticoagulant(item.anticoagulant)}}</li>-->
52
-<!--                  <li style="width:50%">透析液:(钾:{{item.kalium}}钠:{{item.natrium}}钙:{{item.autunite}})</li>-->
53
-<!--                  <li style="width:50%">每次透析:{{item.hour}}时<span v-if="item.minute!=0">{{item.minute}}分</span></li>-->
54
-<!--                  <li style="width:50%">透前体重(kg):{{item.befor_weight}}</li>-->
55
-<!--                  <li style="width:50%">透后体重(kg):{{item.after_weight}}</li>-->
56
-<!--                  <li style="width:50%">透前血压(mmHg):{{item.befor_pressure}}</li>-->
57
-<!--                  <li style="width:50%">透后血压(mmHg):{{item.after_pressure}}</li>-->
58
-<!--                </ul>-->
59
-<!--              </div>-->
60 40
               <div style="margin-top:10px;">阶段小结化验结果:</div>
61 41
               <div v-for="it in item.template_inspection_content ? item.template_inspection_content : []">
62 42
                 <p style="font-weight:bold;">{{ it.project_name }}&nbsp;&nbsp;检查日期:{{getTime(it.arr[0].inspect_date)}}</p>
@@ -569,25 +549,6 @@ export default {
569 549
       display: block;
570 550
     }
571 551
   }
572
-  // .add {
573
-  //   position: fixed;
574
-  //   bottom: 0;
575
-  //   left: 0;
576
-  //   width: 100%;
577
-  //   height: 2.75rem;
578
-  //   background: rgba(255, 255, 255, 1);
579
-  //   box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1);
580
-  //   display: flex;
581
-  //   align-items: center;
582
-  //   justify-content: space-around;
583
-  //   font-size: 0.9375rem;
584
-  //   color: #979798;
585
-  //   .addIcon {
586
-  //     color: #5b98ff;
587
-  //     font-size: 1.25rem;
588
-  //     margin-right: 0.25rem;
589
-  //   }
590
-  // }
591 552
   .van-popup {
592 553
     border-radius: 0;
593 554
     transform: translate3d(0, 0, 0);

+ 0 - 10
src/pages/main/index.vue 파일 보기

@@ -73,10 +73,6 @@ export default {
73 73
     for (var i = 0; i < this.sqls.length; i++) {
74 74
       this.sqls[i].addListener(this.mediaMatches);
75 75
     }
76
-    
77
-   
78
-
79
-
80 76
     // document.documentElement.style.fontSize = 30 + "px";
81 77
     // this.requestScheduals()
82 78
     // this.requestDialysisScheduals()
@@ -102,11 +98,7 @@ export default {
102 98
             window.clientHeight = document.body.clientHeight
103 99
             that.clientHeight = window.clientHeight
104 100
         })()
105
-
106
-      
107 101
     }
108
-
109
-    
110 102
   },
111 103
 
112 104
   methods: {
@@ -122,8 +114,6 @@ export default {
122 114
         // console.log(this.scheduals);
123 115
         let doctorAdvice = [];
124 116
         let project = [];
125
-
126
-
127 117
         for (let i = 0; i < this.scheduals.length; i++) {
128 118
           if(this.scheduals[i].doctor_advice!=null){
129 119
             for (let y = 0; y < this.scheduals[i].doctor_advice.length; y++) {

+ 0 - 30
src/pages/main/newActionBar/components/adviceTemplate.vue 파일 보기

@@ -194,35 +194,6 @@ export default {
194 194
       console.log('advice', advices)
195 195
       this.$emit('finish', advices, this.start_time_str)
196 196
       this.adviceResult = []
197
-      // WAIN: 效率低,可以通过在 selecting_advice_ids 加上 template_index 和 advice_index 字段来消除 this.templates 的循环
198
-      // for (let t_a_i = 0; t_a_i < this.selecting_advice_ids.length; t_a_i++) {
199
-      //     const tpl_advice = this.selecting_advice_ids[t_a_i];
200
-      //     for (let t_i = 0; t_i < this.templates.length; t_i++) {
201
-      //     const tpl = this.templates[t_i];
202
-      //     if (tpl.id == tpl_advice.template_id) {
203
-      //         var child_begin = false;
204
-      //         for (let a_i = 0; a_i < tpl.DoctorAdviceTemplate.length; a_i++) {
205
-      //         const adv = tpl.DoctorAdviceTemplate[a_i];
206
-      //         if (adv.id == tpl_advice.advice_id) {
207
-      //             advices.push(adv);
208
-      //             child_begin = true;
209
-      //         } else if (child_begin == true) {
210
-      //             if (adv.parent_id == tpl_advice.advice_id) {
211
-      //             advices.push(adv);
212
-      //             } else {
213
-      //             break;
214
-      //             }
215
-      //         }
216
-      //         }
217
-      //     }
218
-      //     }
219
-      // }
220
-      // this.$emit("finish", advices);
221
-
222
-      // this.$nextTick(() => {
223
-      //     this.fold_template_ids = [];
224
-      //     this.selecting_advice_ids = [];
225
-      // });
226 197
     },
227 198
 
228 199
     didSelectStartTime: function (time) {
@@ -232,7 +203,6 @@ export default {
232 203
       this.$refs.start_time_picker.open()
233 204
     }
234 205
   }
235
-
236 206
 }
237 207
 </script>
238 208
 

+ 20 - 21
src/pages/main/newActionBar/components/checkBoxMenu.vue 파일 보기

@@ -4,30 +4,29 @@
4 4
     </van-checkbox-group>
5 5
 </template>
6 6
 
7
-
8 7
 <script>
9 8
 export default {
10
-    props: {
11
-        propsForm: {
12
-            type: Object
13
-        },
14
-    },
15
-    data(){
16
-        return{
9
+  props: {
10
+      propsForm: {
11
+          type: Object
12
+      },
13
+  },
14
+  data(){
15
+      return{
17 16
 
18
-        }
19
-    },
20
-    methods:{
21
-        getValue: function() {
22
-            let form = {};
23
-            form["type"] = this.propsForm.type;
24
-            form["result"] = this.propsForm.result;
25
-            return form;
26
-        },
27
-        changeVal(){
28
-            this.$emit("menu-comfirm", this.getValue());
29
-        }
30
-    }
17
+      }
18
+  },
19
+  methods:{
20
+      getValue: function() {
21
+          let form = {};
22
+          form["type"] = this.propsForm.type;
23
+          form["result"] = this.propsForm.result;
24
+          return form;
25
+      },
26
+      changeVal(){
27
+          this.$emit("menu-comfirm", this.getValue());
28
+      }
29
+  }
31 30
 }
32 31
 </script>
33 32
 

+ 0 - 2
src/pages/main/newActionBar/components/lastOrNextAdvice.vue 파일 보기

@@ -43,8 +43,6 @@
43 43
                 <div class="lastOrNextBox">
44 44
                     <div @click="openLast">上一方</div>
45 45
                     <div @click="openNext">下一方</div>
46
-                    <!-- <van-button @click="openLast" type="info" size="small" style="padding: 0 2rem;font-size:.875rem !important;border-radius:4px">上一方</van-button>
47
-                    <van-button @click="openNext" type="info" size="small" style="padding: 0 2rem;font-size:.875rem !important;border-radius:4px">下一方</van-button> -->
48 46
                 </div>
49 47
             </div>
50 48
             <mt-datetime-picker

+ 1 - 6
src/pages/main/newActionBar/components/modifyOrder.vue 파일 보기

@@ -111,12 +111,7 @@
111 111
                         style="width:100%"
112 112
                         v-model="order.remark"
113 113
                     ></el-input>
114
-                </div>
115
-                
116
-
117
-
118
-
119
-               
114
+                </div>  
120 115
             </div>
121 116
             <mt-datetime-picker
122 117
             ref="start_time_picker"

+ 0 - 2
src/pages/main/newActionBar/components/newAddOrder.vue 파일 보기

@@ -140,8 +140,6 @@
140 140
                 </div>
141 141
             </van-popup>
142 142
         </div>
143
-
144
-
145 143
        <van-popup
146 144
         v-model="infor_visibility"
147 145
         class="advicePopup"

+ 0 - 7
src/pages/main/newActionBar/components/singature.vue 파일 보기

@@ -1,13 +1,6 @@
1 1
 <template>
2 2
   <div class="mainBox">
3 3
     <div class="mainContent">
4
-      <!-- <h1 class="title">
5
-        <div class="GoBack" @click="$router.go(-1)">
6
-          <span class="iconfont">&#xe720;</span>返回
7
-        </div>
8
-        <span class="name">电子签名</span>
9
-        <div class="GoBack"></div>
10
-      </h1> -->
11 4
       <div class="electronicTitle">
12 5
         <i class="iconfont icon-zuojiantou jiantou" @click="$router.go(-1)"></i>
13 6
         <span class="titleName">电子签名</span>

+ 0 - 43
src/pages/main/newActionBar/consumables.vue 파일 보기

@@ -614,41 +614,6 @@ export default {
614 614
         patient_id: this.patient_id ? this.patient_id : this.$route.query.patient_id
615 615
       }
616 616
       console.log('Data0-----', data)
617
-      // if (count == 0) {
618
-      //   Dialog.confirm({
619
-      //     title: '删除',
620
-      //     message: '是否删除该条耗材'
621
-      //   }).then(() => {
622
-      //     deteleAutoReduceDetail(data).then((res) => {
623
-      //       if (res.data.state == 1) {
624
-      //         this.list.map((item, index) => {
625
-      //           if (item.good_id == good_id) {
626
-      //             this.list.splice(index, 1)
627
-      //           }
628
-      //         })
629
-      //         Toast.success('删除成功')
630
-      //       }
631
-      //     })
632
-      //   }).catch(() => {
633
-      // if (count == 0) {
634
-      //   Dialog.confirm({
635
-      //     title: '删除',
636
-      //     message: '是否删除该条耗材'
637
-      //   }).then(() => {
638
-      //     deteleAutoReduceDetail(data).then((res) => {
639
-      //       if (res.data.state == 1) {
640
-      //         this.list.map((item, index) => {
641
-      //           if (item.good_id == good_id) {
642
-      //             this.list.splice(index, 1)
643
-      //           }
644
-      //         })
645
-      //         Toast.success('删除成功')
646
-      //       }
647
-      //     })
648
-      //   }).catch(() => {
649
-
650
-      //   })
651
-      // }
652 617
 
653 618
         updateStockGoods(data).then(response => {
654 619
             if (response.data.state == 1) {
@@ -657,14 +622,6 @@ export default {
657 622
             }
658 623
           })
659 624
 
660
-        // updateStockGoods(data).then((res) => {
661
-        //   updateStockGoods(data).then(response => {
662
-        //     if (response.data.state == 1) {
663
-        //       var msg = response.data.data.msg
664
-        //       // Toast.success('更新成功')
665
-        //     }
666
-        //   })
667
-        // })
668 625
         updateStockGoods(data).then(response => {
669 626
           if (response.data.state == 1) {
670 627
             var msg = response.data.data.msg

+ 1 - 7
src/pages/main/newActionBar/doctorAdvice.vue 파일 보기

@@ -1324,13 +1324,7 @@ export default {
1324 1324
             return false
1325 1325
           } else {
1326 1326
             // 新版医嘱
1327
-            // Toast.success('修改成功!')
1328
-            // var advice = response.data.data.advice
1329
-            // this.advice_list_prop.map(item => {
1330
-            //     if(item.id == advice.id){
1331
-            //         item.execution_time = advice.execution_time
1332
-            //     }
1333
-            // })
1327
+
1334 1328
 
1335 1329
             Toast.success('修改成功!')
1336 1330
             var advice = response.data.data.advice

+ 1 - 36
src/pages/main/newActionBar/monitoring.vue 파일 보기

@@ -289,23 +289,6 @@
289 289
                           <van-field v-model="form.replacement_speed" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('置换液速度')" label="置换液速度(ml/h)" type="number" input-align="right"/>
290 290
                           <van-field v-model="form.dicarbonate" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('碳酸氢钠用量')" label="碳酸氢钠用量(ml)" type="number" input-align="right"/>
291 291
 
292
-
293
-                          <!-- <van-cell title='病情变化' v-if="isShow('病情变化')" @click="symptomsShow = true" is-link value="请选择"></van-cell> -->
294
-                          <!-- <van-field v-model="form.accumulated_blood_volume" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血容量')" :required="isShow_title('血容量')" label="血容量(L)" type="number" input-align="right"/> -->
295
-                          <!-- <van-field v-model="form.blood_temperature" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血温监测')" :required="isShow_title('血温监测')" label="血温监测" type="number" input-align="right"/>
296
-                          <van-field v-model="form.urea_monitoring" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('尿素监测')" :required="isShow_title('尿素监测')" label="尿素监测" type="number" input-align="right"/>
297
-                          <van-field v-model="form.blood_thickness" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血浓量')" :required="isShow_title('血浓量')" label="血浓量" type="number" input-align="right"/>
298
-                          <van-field v-model="form.blood_monitor" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血压监测')" :required="isShow_title('血压监测')" label="血压监测" type="number" input-align="right"/>
299
-                          <van-field v-model="form.dehydration" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('脱水')" :required="isShow_title('脱水')" label="脱水(L)" type="number" input-align="right"/> -->
300
-                          <!-- <van-cell title='病情变化' v-if="isShow('病情变化')">
301
-                              <template #label>
302
-                                  <van-checkbox-group v-model="symptomsArr" @change='menuComfirmSymptoms'>
303
-                                      <van-checkbox :name="item.name" v-for='(item,index) in symptoms' :key="index">{{ item.name }}</van-checkbox>
304
-                                  </van-checkbox-group>
305
-                              </template>
306
-                          </van-cell> -->
307
-                          <!-- <van-cell title='病情变化' v-if="isShow('病情变化')" :required="isShow_title('病情变化')" @click="symptomsShow = true" is-link value="请选择"></van-cell> -->
308
-
309 292
                           <van-cell title='病情变化' v-if="isShow('病情变化')" @click="symptomsShow = true" is-link value="请选择"></van-cell>
310 293
                           <van-popup v-model="symptomsShow" class="listBoxPopup newListBoxPopup" style="z-index:5000">
311 294
                               <div class="listBox">
@@ -315,13 +298,6 @@
315 298
                           </van-popup>
316 299
 
317 300
                           <van-field class="bgField" v-if="isShow('病情变化')" :required="isShow_title('病情变化')" @focus="inputFocus" v-model="form.symptom" rows="1" autosize type="textarea" placeholder="请输入"/>
318
-                          <!-- <van-cell title='处理' v-if="isShow('处理')">
319
-                              <template #label>
320
-                                  <van-checkbox-group v-model="disposeArr" @change='menuComfirmDispose'>
321
-                                      <van-checkbox :name="item.name" v-for='(item,index) in dispose' :key="index">{{ item.name }}</van-checkbox>
322
-                                  </van-checkbox-group>
323
-                              </template>
324
-                          </van-cell> -->
325 301
                           <van-cell title='处理' v-if="isShow('处理')" :required="isShow_title('处理')" @click="disposeShow = true" is-link value="请选择"></van-cell>
326 302
                           <van-popup v-model="disposeShow" class="listBoxPopup newListBoxPopup" style="z-index:5000">
327 303
                               <div class="listBox">
@@ -330,13 +306,6 @@
330 306
                               </div>
331 307
                           </van-popup>
332 308
                           <van-field class="bgField" v-if="isShow('处理')" :required="isShow_title('处理')" @focus="inputFocus" v-model="form.dispose" rows="1" autosize type="textarea" placeholder="请输入"/>
333
-                          <!-- <van-cell title='结果' v-if="isShow('结果')">
334
-                              <template #label>
335
-                                  <van-checkbox-group v-model="resultsArr" @change='menuComfirmResults'>
336
-                                      <van-checkbox :name="item.name" v-for='(item,index) in results' :key="index">{{ item.name }}</van-checkbox>
337
-                                  </van-checkbox-group>
338
-                              </template>
339
-                          </van-cell> -->
340 309
                           <van-cell title='结果' v-if="isShow('结果')" :required="isShow_title('结果')" @click="resultsShow = true" is-link value="请选择"></van-cell>
341 310
                           <van-popup v-model="resultsShow" class="listBoxPopup newListBoxPopup" style="z-index:5000">
342 311
                               <div class="listBox">
@@ -465,7 +434,6 @@
465 434
           <span :class="{ forbid: is_has_modify != true && is_has_modify_other != true }" @click="openEidtForm">修改</span>
466 435
           <span :class="{ forbid: is_has_del != true && is_has_del_other != true }" class="deleteColor" @click="deleteForm">删除</span>
467 436
           <!-- <div @click="commitInfo">保存</div> -->
468
-
469 437
       </div>
470 438
 
471 439
       <van-popup
@@ -489,7 +457,7 @@ import { addMonitorRecord, deleteMonitorRecord, editMonitorRecord, GetMonitor, G
489 457
 import { parseTime } from '@/utils'
490 458
 import { Dialog, Toast } from 'vant'
491 459
 import { getDataConfig } from '@/utils/data'
492
-import InforSubMenu from "../dialog/subMenu/InforSubMenu.vue"
460
+import InforSubMenu from "../dialog/subMenu/InforSubMenu"
493 461
 import request from '@/utils/request'
494 462
 export default {
495 463
 props: {
@@ -701,9 +669,6 @@ methods: {
701 669
   },
702 670
   inputFocus: function (event) {
703 671
     var input = event.target
704
-    // setTimeout(function () {
705
-    //     input.scrollIntoView()
706
-    // }, 0)
707 672
 
708 673
     if (input.setSelectionRange) {
709 674
       setTimeout(function () {

+ 1 - 7
src/pages/main/newActionBar/patientSign.vue 파일 보기

@@ -1,13 +1,7 @@
1 1
 <template>
2 2
   <div class="mainBox">
3 3
     <div class="mainContent">
4
-      <!-- <h1 class="title">
5
-        <div class="GoBack" @click="$router.go(-1)">
6
-          <span class="iconfont">&#xe720;</span>返回
7
-        </div>
8
-        <span class="name">电子签名</span>
9
-        <div class="GoBack"></div>
10
-      </h1> -->
4
+
11 5
       <div class="electronicTitle">
12 6
         <i class="iconfont icon-zuojiantou jiantou" @click="$router.go(-1)"></i>
13 7
         <span class="titleName">电子签名</span>

+ 3 - 625
src/pages/main/today/TodayTab.vue 파일 보기

@@ -3,46 +3,14 @@
3 3
          element-loading-text="拼命加载中"
4 4
          element-loading-spinner="el-icon-loading"
5 5
          element-loading-background="rgba(0, 0, 0, 0.8)">
6
-  <!-- <div> -->
7
-    <div>
8
-      <!-- <div class="patientInfo">
9
-        <div class="patientInfoBox">
10
-          <img v-if='patientInfo.avatar' :src="patientInfo.avatar" alt="">
11
-          <img v-else src="../../../assets/images/man.png" alt="">
12
-          <div>
13
-            <div>
14
-              <span class="patientFontWeight">{{ patientInfo.name }}</span>
15
-              <span>({{ patientInfo.dialysis_no }})</span>
16
-              <span v-if="patientInfo.gender > 0">{{ patientInfo.gender == 1 ? '男' : '女' }}/{{ patientInfo.age + '岁' }}</span>
17
-              <span style="color: #4bb467;">{{ todayDate }}</span>
18 6
 
19
-            </div>
20
-            <div style="display:flex;align-items:center;">
21
-              <span style="margin-right:10px">{{ dialysis_mode }}/{{ bedNumber }}</span>
22
-              <span style="margin-right:10px">{{blood_access_part_opera_name}}</span>
23
-              <span style="display:flex;align-items:center;">
24
-                <span v-if="patientInfo.is_infectious == 1 || patientInfo.is_infectious == 0">无</span>
25
-                <span v-if="patientInfo.is_infectious == 2" style="display:flex;align-items:center;">
26
-                  <img class="contagionImg" v-if="contagion.indexOf('艾滋病') > -1" src="../../../assets/images/contagion1.png" alt="">
27
-                  <img class="contagionImg" v-if="contagion.indexOf('丙肝') > -1" src="../../../assets/images/contagion2.png" alt="">
28
-                  <img class="contagionImg" v-if="contagion.indexOf('肺结核') > -1" src="../../../assets/images/contagion3.png" alt="">
29
-                  <img class="contagionImg" v-if="contagion.indexOf('梅毒') > -1" src="../../../assets/images/contagion4.png" alt="">
30
-                  <img class="contagionImg" v-if="contagion.indexOf('乙肝') > -1" src="../../../assets/images/contagion5.png" alt="">
31
-                </span>
32
-              </span>
33
-            </div>
34
-          </div>
35
-        </div>
36
-        <div class="changePatient" @click="choosePatient">切换病人</div>
37
-      </div> -->
7
+    <div>
38 8
       <div class="infoContent" v-show="keyBoardShow">
39 9
         <div style="display:flex;flex:1;margin-right:20px;">
40 10
           <span style="color: #4bb467;margin-right:5px;">{{ todayDate }}</span>
41 11
           <span style="margin-right:5px">({{ patientInfo.dialysis_no }})</span>
42
-          <!-- <span>{{ patientInfo.gender == 1 ? '男' : '女' }}|{{ patientInfo.age + '岁' }}</span> -->
43 12
           <span style="margin-right:5px">| {{ dialysis_mode }}/{{ bedNumber }}</span>
44 13
           <span style="flex:1;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;width:40px;">{{blood_access_part_opera_name}}</span>
45
-
46 14
         </div>
47 15
         <div><i class="el-icon-s-unfold" @click="msgtip_visibility = true"></i></div>
48 16
       </div>
@@ -53,28 +21,6 @@
53 21
             <van-icon v-if="item.value == 1" class="hook" name="passed" />
54 22
             <span class="redpoint" v-if="getUnReadNum() && index == 4">{{getUnReadNum()}}</span>
55 23
             <span class="redpoint" v-if="getUnReadNumOne() && index == 11">{{getUnReadNumOne()}}</span>
56
-            <!-- <span v-if="$store.getters.user.template_info.org_id == 10340">
57
-              <span v-if="$store.getters.user.user.user_type == 3 && (item.is_show == 0 || item.is_show == 2)">
58
-                {{ item.title }}
59
-               <van-icon v-if="item.value == 1" class="hook" name="passed" />
60
-              <span class="redpoint" v-if="getUnReadNum() && index == 4">{{getUnReadNum()}}</span>
61
-              <span class="redpoint" v-if="getUnReadNumOne() && index == 11">{{getUnReadNumOne()}}</span>
62
-             </span>
63
-              <span v-if="$store.getters.user.user.user_type == 2 && (item.is_show == 0 || item.is_show == 1)">
64
-                {{ item.title }}
65
-              <van-icon v-if="item.value == 1" class="hook" name="passed" />
66
-              <span class="redpoint" v-if="getUnReadNum() && index == 4">{{getUnReadNum()}}</span>
67
-              <span class="redpoint" v-if="getUnReadNumOne() && index == 11">{{getUnReadNumOne()}}</span>
68
-              </span>
69
-
70
-            </span>
71
-            <span v-if="$store.getters.user.template_info.org_id != 10340">
72
-              {{ item.title}}
73
-              <van-icon v-if="item.value == 1" class="hook" name="passed" />
74
-              <span class="redpoint" v-if="getUnReadNum() && index == 4">{{getUnReadNum()}}</span>
75
-              <span class="redpoint" v-if="getUnReadNumOne() && index == 11">{{getUnReadNumOne()}}</span>
76
-            </span> -->
77
-
78 24
           </div>
79 25
         </div>
80 26
       </div>
@@ -84,11 +30,6 @@
84 30
 
85 31
     <div class="todayMain">
86 32
       <div v-show="barActive == 0">
87
-        <!-- <basic-details-info title="基本信息" :patient="patient"
88
-                    :device_number="getDeviceNumber()"
89
-                    :step_data="stepData"></basic-details-info>
90
-
91
-      <div class="blueBorder"></div> -->
92 33
         <van-button type="primary" color="#409eff" block @click="requestDialysisRecord">更新数据</van-button>
93 34
         <basic-dialysis-prescription id="prescription" :prescription="prescription" :solution="solution" :admin_map="admin_user_map"  title="透析处方"
94 35
                               :device_number_map="device_map" :preparestock="preparestock"></basic-dialysis-prescription>
@@ -249,292 +190,6 @@
249 190
         v-on:menu-msg-tip="menuMsgTip"
250 191
       ></msg-tip>
251 192
     </van-popup>
252
-
253
-      <!-- <div class="grid">
254
-        <div class="list">
255
-          <ul>
256
-            <li @click="menuClick(1)">
257
-              <img src="@/assets/record/2.png"/>
258
-              <p>透析处方</p>
259
-            </li>
260
-            <li @click="menuClick(2)">
261
-              <img src="@/assets/record/3.png"/>
262
-              <p>接诊评估</p>
263
-            </li>
264
-            <li @click="menuClick(3)">
265
-              <img src="@/assets/record/4.png"/>
266
-              <p>透前评估</p>
267
-            </li>
268
-            <li style="position: relative;" @click="menuClick(4)">
269
-              <img src="@/assets/record/5.png"/>
270
-              <span class="redpoint" v-if="getUnReadNum()">{{getUnReadNum()}}</span>
271
-              <p>临时医嘱</p>
272
-            </li>
273
-            <li @click="menuClick(5)">
274
-              <img src="@/assets/record/6.png"/>
275
-              <p>双人核对</p>
276
-            </li>
277
-            <li @click="menuClick(0)">
278
-              <img src="@/assets/record/1.png"/>
279
-              <p>透析上机</p>
280
-            </li>
281
-          </ul>
282
-        </div>
283
-        <div class="list">
284
-          <ul>
285
-
286
-            <li @click="menuClick(6)">
287
-              <img src="@/assets/record/7.png"/>
288
-              <p>透析监测</p>
289
-            </li>
290
-            <li @click="menuClick(7)">
291
-              <img src="@/assets/record/8.png"/>
292
-              <p>透析下机</p>
293
-            </li>
294
-            <li @click="menuClick(8)">
295
-              <img src="@/assets/record/9.png"/>
296
-              <p>透后评估</p>
297
-            </li>
298
-            <li @click="menuClick(9)">
299
-              <img src="@/assets/record/10.png"/>
300
-              <p>治疗小结</p>
301
-            </li>
302
-            <li @click="newMenuClick()">
303
-              <img src="@/assets/record/17.png"/>
304
-              <p>耗材出库</p>
305
-            </li>
306
-            <li style="visibility: hidden;">
307
-              <img src="@/assets/record/17.png"/>
308
-              <p>透析耗材</p>
309
-            </li>
310
-          </ul>
311
-        </div>
312
-      </div>
313
-      <div class="blueBorder"></div>
314
-
315
-      <details-info title="基本信息" :patient="patient"
316
-                    :device_number="getDeviceNumber()"
317
-                    :step_data="stepData"></details-info>
318
-
319
-      <div class="blueBorder"></div>
320
-
321
-      <dialysis-prescription id="prescription" :prescription="prescription" :solution="solution" title="透析处方"
322
-                             :device_number_map="device_map" :preparestock="preparestock"></dialysis-prescription>
323
-
324
-      <div class="blueBorder"></div>
325
-
326
-    <accepts-assessment id="accepts_assessment" :record="receiver_treatment_access" title="接诊评估"></accepts-assessment>
327
-
328
-    <div class="blueBorder"></div>
329
-
330
-    <assessment-before id="assessment_before" :record="predialysis_evaluation" ref="assessment_before"
331
-                       title="透前评估" :dry_weights="dryWeight"
332
-                       :last_predialysis="last_predialysis_evaluation"></assessment-before>
333
-
334
-    <div class="blueBorder"></div>
335
-
336
-    <stat-order id="stat_order" ref="stat_order" title="临时医嘱" :doctor_map="admin_user_map"
337
-                :advice_groups="advice_groups"></stat-order>
338
-
339
-    <div class="blueBorder"></div>
340
-
341
-    <dialysis-computer id="dialysis_computer" ref="dialysis_computer" title="透析上机 " :record="dialysis_order"
342
-                       :admin_map="admin_user_map" :device_number_map="device_number_map"></dialysis-computer>
343
-
344
-    <div class="blueBorder"></div>
345
-
346
-    <double-check id="double_check" ref="double_check" title="双人核对 " :record="double_check"  :admin_map="admin_user_map"></double-check>
347
-
348
-    <div class="blueBorder"></div>
349
-
350
-    <dialysis-monitoring id="monitoring" ref="monitoring" title="透析监测"></dialysis-monitoring>
351
-
352
-    <div class="blueBorder"></div>
353
-
354
-    <dialysis-off id="dialysis_off" ref="dialysis_off" title="透析下机 " :record="dialysis_order"
355
-                  :admin_map="admin_user_map"></dialysis-off>
356
-
357
-    <div class="blueBorder"></div>
358
-
359
-    <assessment-after
360
-      id="assessment_after"
361
-      ref="assessment_after"
362
-      title="透后评估"
363
-      :record="assessment_after_dislysis"
364
-      :predialysis="predialysis_evaluation"
365
-      :prescription_prop="prescription"
366
-    ></assessment-after>
367
-
368
-    <div class="blueBorder"></div>
369
-
370
-    <treatment-of id="treatment_of" ref="treatment_of" title="治疗小结" :record="treatment_summary"></treatment-of>
371
-
372
-    <van-popup title="透析处方" v-model="menuList[1].showPopup" :overlay="true" :close-on-click-overlay="false">
373
-      <prescription-dialog v-if="prescription_dialog_reset == true" :patient_prop="patient" :solution_prop="solution" :machines_prop="devices" :config="config"
374
-                           :prescription_prop="prescription" @finish="closePrescriptionDialog" :operators="operators"
375
-                           :types="goodTypes" :info="goodInfos" :status="status" :targetAdvices="longAdvices"
376
-                           :waitUploadAdvices="waitUploadAdvices" :is_open="is_open"
377
-                           @close="closePrescriptionDialog" @prescription="prescriptionFunc"
378
-                           :admin_users_prop="admin_users"
379
-                           :predialysis="predialysis_evaluation"
380
-                           :last_predialysis="last_predialysis_evaluation"
381
-                           :record="assessment_after_dislysis"
382
-                           :last_record="last_assessment_after_dislysis"
383
-                           :last_prescription="last_prescription"
384
-                           :dry_weight="dryWeight"
385
-                           :system_prescription ="system_prescription"
386
-                           :schedual="schedual"
387
-                           ref="prescription_dialog"
388
-                           @longSolution="longSolutionFunc"
389
-                           :stockType="stockType">
390
-     </prescription-dialog>
391
-
392
-    </van-popup>
393
-
394
-    <van-popup
395
-      title="接诊评估"
396
-      v-model="menuList[2].showPopup"
397
-      :overlay="true"
398
-      :close-on-click-overlay="false"
399
-    >
400
-      <accepts-dialog
401
-        :accepts="receiver_treatment_access"
402
-        :patient_prop="patient"
403
-        @finish="closeAcceptsAssessment"
404
-        @close="closeAcceptsAssessment"
405
-      ></accepts-dialog>
406
-    </van-popup>
407
-
408
-    <van-popup title="透前评估" v-model="menuList[3].showPopup" :overlay="true" :close-on-click-overlay="false">
409
-      <assessment-dialog :predialysis="predialysis_evaluation" :last_predialysis="last_predialysis_evaluation"
410
-                         :dry_weight="dryWeight"
411
-                         :patient_prop="patient" @evaluation="update_evaluation" @close="closeAssessmentBefore"
412
-                         :admin_users_prop="admin_users" :lastAssessment="lastAssessment"
413
-                         ref="assessment_dialog" @weight_update="weightFunc"></assessment-dialog>
414
-    </van-popup>
415
-
416
-    <van-popup
417
-      title="临时医嘱"
418
-      v-model="menuList[4].showPopup"
419
-      :overlay="true"
420
-      :close-on-click-overlay="false"
421
-    >
422
-      <orders-dialog
423
-        :patient_prop="patient"
424
-        :advice_groups="advice_groups"
425
-        :advice_list_prop="doctor_advices"
426
-        :admin_users_prop="admin_users"
427
-        :his_is_open="his_is_open"
428
-        @orderDialog="closeStatOrder"
429
-        :dialysis_order="dialysis_order"
430
-        ref="orders_dialog"
431
-      ></orders-dialog>
432
-    </van-popup>
433
-
434
-    <van-popup
435
-      title="双人核对"
436
-      v-model="menuList[5].showPopup"
437
-      :overlay="true"
438
-      :close-on-click-overlay="false"
439
-    >
440
-      <double-dialog
441
-        :patient_prop="patient"
442
-        :record="double_check"
443
-        :admin_users_prop="admin_users"
444
-        :admin_map="admin_user_map"
445
-        @did_update="closeDoubleCheck"
446
-        @close="closeDoubleCheck"
447
-        :admins="admin_users"
448
-        :predialysis="predialysis_evaluation"
449
-         :prescription_prop="prescription"
450
-      ></double-dialog>
451
-    </van-popup>
452
-
453
-    <van-popup
454
-      title="透析上机"
455
-      v-model="menuList[0].showPopup"
456
-      :overlay="true"
457
-      :close-on-click-overlay="false"
458
-    >
459
-      <computer-dialog
460
-        :schedule="schedual"
461
-        :patient_prop="patient"
462
-        :record="dialysis_order"
463
-        :admins="admin_users"
464
-        :device_numbers="device_numbers"
465
-        :admin_map="admin_user_map"
466
-        :admin_staff="admin_staff_map"
467
-        :device_number_map="device_number_map"
468
-        @did_start="closeDialysisComputer"
469
-        @did_add_monitor="didAddMonitor"
470
-        @close="closeDialysisComputerclose"
471
-        ref="computer_dialog"
472
-      ></computer-dialog>
473
-    </van-popup>
474
-
475
-    <van-popup
476
-      title="透析监测"
477
-      v-model="menuList[6].showPopup"
478
-      :overlay="true"
479
-      :close-on-click-overlay="false"
480
-    >
481
-      <monit-dialog v-if="monit_dialog_reset"
482
-        :monitor_records="monitor_records"
483
-        :last_monitor_record="last_monitor_record"
484
-        :patient="patient"
485
-        :order="dialysis_order"
486
-        :dialysis_order="dialysis_order"
487
-        @did_add_monitor="didAddMonitor"
488
-        @did_edit_monitor="didEditMonitor"
489
-        @did_delete_monitor="didDelMonitor"
490
-        @close="closeMonitoring"
491
-        ref="monit_dialog"
492
-
493
-      ></monit-dialog>
494
-    </van-popup>
495
-
496
-    <van-popup title="透析下机" v-model="menuList[7].showPopup" :overlay="true" :close-on-click-overlay="false">
497
-      <plane-dialog :patient_prop="patient" :record="dialysis_order" :last_monitor_record="last_monitor_record"
498
-                    :admins="admin_users" :admin_map="admin_user_map"
499
-                    :prescription_prop="prescription"
500
-                    @did_off="closeDialysisOff" @close="closeDialysisOffclose" ref="plane_dialog"></plane-dialog>
501
-    </van-popup>
502
-
503
-    <van-popup
504
-      title="透后评估"
505
-      v-model="menuList[8].showPopup"
506
-      :overlay="true"
507
-      :close-on-click-overlay="false"
508
-    >
509
-      <thoroug-dialog
510
-        v-if="thoroug_dialog_reset == true"
511
-        :patient_prop="patient"
512
-        :record="assessment_after_dislysis"
513
-        :last_record="last_assessment_after_dislysis"
514
-        :predialysis="predialysis_evaluation"
515
-        :prescription_prop="prescription"
516
-        @did_update="closeAssessmentAfter"
517
-        @close="closeAssessmentAfter"
518
-
519
-        ref="thoroug_dialog"
520
-      ></thoroug-dialog>
521
-    </van-popup>
522
-
523
-    <van-popup title="治疗小结" v-model="menuList[9].showPopup" :overlay="true" :close-on-click-overlay="false">
524
-      <treatment-dialog :patient_prop="patient" :record="treatment_summary" @did_update="updateTreatmentOf"
525
-                        @close="closeTreatmentOf" ref="treatment_dialog"></treatment-dialog>
526
-
527
-    </van-popup>
528
-
529
-    <el-button
530
-      class="goTop"
531
-      v-show="goTopShow"
532
-      @click="goTop"
533
-      type="primary"
534
-      icon="el-icon-arrow-up"
535
-      circle
536
-      style="position:fixed;right:50px;bottom:50px;"
537
-    ></el-button>-->
538 193
     <div class="checkBox2" @click="goBack" v-show="date<todayTime">
539 194
       <img src="../../../assets/images/gotoday.png" alt="">
540 195
     </div>
@@ -547,7 +202,6 @@
547 202
       @touchcancel="end" alt="">
548 203
     </div>
549 204
 
550
-
551 205
     <div class="checkBox3"  @click="toExecution" ref="moveBtns" v-if="user_type==3 && ($store.getters.user.template_info.org_id==10340 || $store.getters.user.template_info.org_id==10489)">
552 206
         <img src="../../../assets/images/advice.png" @mousedown="downs" @touchstart="downs"
553 207
       @mousemove="moves"
@@ -560,36 +214,6 @@
560 214
         </span> 
561 215
      </div>
562 216
 
563
-
564
-    
565
-
566
-<!--    <van-dialog v-model="dry_visibility"  width="90%"  show-cancel-button>-->
567
-<!--      <div style="margin:10px;height:100px;overflow: scroll;">-->
568
-<!--        <table border="1" cellspacing="0" cellpadding="0" width="100%" >-->
569
-<!--          <tr v-for="(item, index) in remind_lists">-->
570
-<!--            <th>项目名称</th>-->
571
-<!--            <th>上次检查日期</th>-->
572
-<!--            <th>{{item.re.project_name}} </th>-->
573
-<!--            <th>{{getTimeTwo(item.last_remind_date)}}</th>-->
574
-<!--          </tr>-->
575
-<!--        </table>-->
576
-<!--      </div>-->
577
-<!--    </van-dialog>-->
578
-<!--    <van-dialog v-model="dry_visibility"  width="90%"  show-cancel-button>-->
579
-<!--      <div style="margin:10px;height:100px;overflow: scroll;">-->
580
-<!--        <table border="1" cellspacing="0" cellpadding="0" width="100%" >-->
581
-<!--          <tr>-->
582
-<!--            <th>项目名称</th>-->
583
-<!--            <th>上次检查日期</th>-->
584
-<!--          </tr>-->
585
-<!--          <tr v-for="(item, index) in remind_lists">-->
586
-<!--            <th>{{item.re.project_name}} </th>-->
587
-<!--            <th>{{getTimeTwo(item.last_remind_date)}}</th>-->
588
-<!--          </tr>-->
589
-
590
-<!--        </table>-->
591
-<!--      </div>-->
592
-<!--    </van-dialog>-->
593 217
     <van-dialog v-model="dry_visibility"  width="90%"  show-cancel-button>
594 218
       <div style="margin:10px;height:100px; overflow-y: scroll;">
595 219
         <div style="">
@@ -641,66 +265,6 @@
641 265
         </div>
642 266
       </van-popup>
643 267
     </div>
644
-
645
-    <!-- <el-dialog
646
-        title="未执行医嘱患者名单"
647
-        :visible.sync="dialogVisible"
648
-        width="60%">
649
-          <el-table
650
-              :data="adviceList"
651
-              v-if="drugStockConfig.is_open == 0 || drugStockConfig.is_open == 2"
652
-              border
653
-              style="width: 100%">
654
-              <el-table-column prop="date" label="姓名" width="60" align="center">
655
-                  <template slot-scope="scope">
656
-                       {{getPaitenName( scope.row.patient_id) }}
657
-                  </template>
658
-              </el-table-column>
659
-
660
-              <el-table-column prop="date" label="条数" width="60" align="center">
661
-                <template slot-scope="scope">
662
-                       {{scope.row.count }}
663
-                  </template>
664
-              </el-table-column>
665
-
666
-              <el-table-column prop="date" label="操作" width="160" align="center">
667
-                <template slot-scope="scope">
668
-                   <el-button type="primary" size="small" @click="toExecutionPatent(scope.row)">去执行</el-button>
669
-                  </template>
670
-              </el-table-column>
671
-              
672
-          </el-table>
673
-
674
-          <el-table
675
-              :data="tableData"
676
-              v-if="drugStockConfig.is_open == 1"
677
-              border
678
-              style="width: 100%">
679
-              <el-table-column prop="date" label="姓名" width="60" align="center">
680
-                <template slot-scope="scope">
681
-                    {{getPaitenName( scope.row.patient_id) }}
682
-                </template>
683
-              </el-table-column>
684
-
685
-              <el-table-column prop="date" label="条数" width="60" align="center">
686
-                 <template slot-scope="scope">
687
-                       {{scope.row.total }}
688
-                 </template>
689
-              </el-table-column>
690
-
691
-              <el-table-column prop="date" label="操作" width="160" align="center">
692
-                <template slot-scope="scope">
693
-                   <el-button type="primary" size="small" @click="toExecutionPatent(scope.row)">去执行</el-button>
694
-                </template>
695
-              </el-table-column>
696
-              
697
-          </el-table>
698
-
699
-        <span slot="footer" class="dialog-footer">
700
-          <el-button @click="dialogVisible = false">取 消</el-button>
701
-          <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
702
-        </span>
703
-      </el-dialog> -->
704 268
   </div>
705 269
 </template>
706 270
 <script>
@@ -717,21 +281,7 @@ import basicDialysisMonitoring from './dialysisMonitoring'
717 281
 import basicDialysisOff from './dialysisOff'
718 282
 import basicAssessmentAfter from './assessmentAfter'
719 283
 import basicTreatmentOf from './treatmentOf'
720
-// import OperationStaff from './operationStaff'
721
-
722
-// import LongDialog from '../dialog/LongDialog'
723
-// import PrescriptionDialog from '../dialog/PrescriptionDialog'
724
-// import AssessmentDialog from '../dialog/AssessmentDialog'
725
-// import ThorougDialog from '../dialog/ThorougDialog'
726
-// import AcceptsDialog from '../dialog/AcceptsDialog'
727
-// import PlaneDialog from '../dialog/PlaneDialog'
728
-// import TreatmentDialog from '../dialog/TreatmentDialog'
729
-// import DoubleDialog from '../dialog/DoubleDialog'
730
-// import OrdersDialog from '../dialog/OrdersDialog'
731
-// import MonitDialog from '../dialog/MonitDialog'
732
-// import ComputerDialog from '../dialog/ComputerDialog'
733 284
 import { Toast } from 'vant'
734
-
735 285
 // new
736 286
 import dialysisPrescription from '../newActionBar/dialysisPrescription'
737 287
 import accepts from '../newActionBar/accepts'
@@ -964,9 +514,6 @@ export default {
964 514
       }
965 515
       var datenow = this.$route.query.date
966 516
 
967
-      // if (typeof this.predialysis_evaluation.id !== 'undefined' &&!isNaN(this.predialysis_evaluation.id) &&this.predialysis_evaluation.id > 0 &&this.predialysis_evaluation.creater > 0 &&this.predialysis_evaluation.assessment_date >= datenow) {
968
-      //   steps[3].value = 1
969
-      // }
970 517
       if (typeof this.predialysis_evaluation.id !== 'undefined' && !isNaN(this.predialysis_evaluation.id) && this.predialysis_evaluation.id > 0 && this.predialysis_evaluation.assessment_date >= datenow) {
971 518
         steps[3].value = 1
972 519
       }
@@ -990,9 +537,6 @@ export default {
990 537
       if (this.monitor_records.length > 0) {
991 538
         steps[7].value = 1
992 539
       }
993
-      // if (!isNaN(this.assessment_after_dislysis.id) && this.assessment_after_dislysis.id > 0 && this.assessment_after_dislysis.creater > 0) {
994
-      //   steps[9].value = 1
995
-      // }
996 540
       if (!isNaN(this.assessment_after_dislysis.id) && this.assessment_after_dislysis.id > 0) {
997 541
         steps[9].value = 1
998 542
       }
@@ -1093,26 +637,7 @@ export default {
1093 637
     this.timerDia = window.setInterval(() => {
1094 638
       setTimeout(this.getAdviceListNoExecution(admin_user_id), 0)
1095 639
     }, 1000*300)
1096
-    // document.body.addEventListener('focusin', () => {
1097
-    //   //软键盘弹出的事件处理
1098
-    //   if(this.barActive != 3 && this.barActive != 4 && this.barActive != 6){
1099
-    //     if(this.appSourceState == 'ios'){
1100
-    //       console.log('弹起')
1101
-    //       this.keyBoardShow = false
1102
-    //     }
1103
-    //   }
1104
-
1105
-    // })
1106
-    // document.body.addEventListener('focusout', () => {
1107
-    //   //软键盘收起的事件处理
1108
-    //   if(this.barActive != 3 && this.barActive != 4 && this.barActive != 6){
1109
-    //     if(this.appSourceState == 'ios'){
1110
-    //       console.log('收起')
1111
-    //       this.keyBoardShow = true
1112
-    //     }
1113
-    //   }
1114
-
1115
-    // })
640
+ 
1116 641
   },
1117 642
 
1118 643
   watch: {
@@ -1435,23 +960,6 @@ export default {
1435 960
 
1436 961
       this.monitor_records.sort((a, b) => a.operate_time - b.operate_time)
1437 962
 
1438
-      // if (monitor_index >= 0) {
1439
-      //   var record = this.monitor_records[monitor_index]
1440
-      //
1441
-      //   this.monitor_records.splice(monitor_index, 1)
1442
-      //   if(this.monitor_records.length == 0){
1443
-      //     this.monitor_records.splice(0, 0, monitor)
1444
-      //   }else {
1445
-      //
1446
-      //     for (let index = 0; index < this.monitor_records.length; index++) {
1447
-      //       const temp = this.monitor_records[index];
1448
-      //       if (temp.operate_time <= monitor.operate_time) {
1449
-      //         this.monitor_records.splice(index, 0, monitor)
1450
-      //         break
1451
-      //       }
1452
-      //     }
1453
-      //   }
1454
-      // }
1455 963
     },
1456 964
     didDelMonitor (record_id) {
1457 965
       var mrl = this.monitor_records.length
@@ -2236,136 +1744,10 @@ export default {
2236 1744
       this.prescription = val
2237 1745
       this.prescribeOne = val
2238 1746
       this.newRequestDialysisRecord()
2239
-      // if (advices.length > 0){
2240
-      //
2241
-      //   // if (advices.length > 0) {
2242
-      //   //   var group = this.newAdviceGroupObject()
2243
-      //   //   var initGroupBlock = function (group, advice) {
2244
-      //   //     group.group_no = advice.groupno
2245
-      //   //     // group.start_time = advice.start_time
2246
-      //   //     // group.advice_doctor = advice.advice_doctor
2247
-      //   //     // group.exec_staff = advice.execution_staff
2248
-      //   //     // group.exec_time = advice.execution_time
2249
-      //   //     // group.checker = advice.checker
2250
-      //   //   }
2251
-      //   //   for (let index = 0; index < advices.length; index++) {
2252
-      //   //     const advice = advices[index]
2253
-      //   //     if (advice.groupno == 0) {
2254
-      //   //       // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
2255
-      //   //       if (advice.parent_id > 0) {
2256
-      //   //         if (this.advice_groups.length > 0) {
2257
-      //   //           var parent_group = this.advice_groups[
2258
-      //   //           this.advice_groups.length - 1
2259
-      //   //             ]
2260
-      //   //           if (parent_group.advices.length > 0) {
2261
-      //   //             if (parent_group.advices[0].id == advice.parent_id) {
2262
-      //   //               parent_group.advices.push(advice)
2263
-      //   //             }
2264
-      //   //           }
2265
-      //   //         }
2266
-      //   //         continue
2267
-      //   //       } else {
2268
-      //   //         if (group.group_no > 0) {
2269
-      //   //           this.advice_groups.push(group)
2270
-      //   //           group = this.newAdviceGroupObject()
2271
-      //   //         }
2272
-      //   //
2273
-      //   //         initGroupBlock(group, advice)
2274
-      //   //         group.advices.push(advice)
2275
-      //   //         this.advice_groups.push(group)
2276
-      //   //         group = this.newAdviceGroupObject()
2277
-      //   //         continue
2278
-      //   //       }
2279
-      //   //     }
2280
-      //   //
2281
-      //   //     if (group.group_no > 0 && group.group_no != advice.groupno) {
2282
-      //   //       this.advice_groups.push(group)
2283
-      //   //       group = this.newAdviceGroupObject()
2284
-      //   //     }
2285
-      //   //     if (group.group_no == 0) {
2286
-      //   //       initGroupBlock(group, advice)
2287
-      //   //     }
2288
-      //   //     if (group.group_no == advice.groupno) {
2289
-      //   //       group.advices.push(advice)
2290
-      //   //     }
2291
-      //   //   }
2292
-      //   //   if (group.group_no > 0) {
2293
-      //   //     // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
2294
-      //   //     this.advice_groups.push(group)
2295
-      //   //   }
2296
-      //   //
2297
-      //   // }
2298
-      //
2299
-      //
2300
-      // }
2301 1747
     },
2302 1748
 
2303 1749
     longSolutionFunc: function (val) {
2304 1750
       this.solution = val
2305
-      // this.requestDialysisRecord()
2306
-
2307
-      // if (advices.length > 0){
2308
-      //
2309
-      //   if (advices.length > 0) {
2310
-      //     var group = this.newAdviceGroupObject()
2311
-      //     var initGroupBlock = function (group, advice) {
2312
-      //       group.group_no = advice.groupno
2313
-      //       // group.start_time = advice.start_time
2314
-      //       // group.advice_doctor = advice.advice_doctor
2315
-      //       // group.exec_staff = advice.execution_staff
2316
-      //       // group.exec_time = advice.execution_time
2317
-      //       // group.checker = advice.checker
2318
-      //     }
2319
-      //     for (let index = 0; index < advices.length; index++) {
2320
-      //       const advice = advices[index]
2321
-      //       if (advice.groupno == 0) {
2322
-      //         // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
2323
-      //         if (advice.parent_id > 0) {
2324
-      //           if (this.advice_groups.length > 0) {
2325
-      //             var parent_group = this.advice_groups[
2326
-      //             this.advice_groups.length - 1
2327
-      //               ]
2328
-      //             if (parent_group.advices.length > 0) {
2329
-      //               if (parent_group.advices[0].id == advice.parent_id) {
2330
-      //                 parent_group.advices.push(advice)
2331
-      //               }
2332
-      //             }
2333
-      //           }
2334
-      //           continue
2335
-      //         } else {
2336
-      //           if (group.group_no > 0) {
2337
-      //             this.advice_groups.push(group)
2338
-      //             group = this.newAdviceGroupObject()
2339
-      //           }
2340
-      //
2341
-      //           initGroupBlock(group, advice)
2342
-      //           group.advices.push(advice)
2343
-      //           this.advice_groups.push(group)
2344
-      //           group = this.newAdviceGroupObject()
2345
-      //           continue
2346
-      //         }
2347
-      //       }
2348
-      //
2349
-      //       if (group.group_no > 0 && group.group_no != advice.groupno) {
2350
-      //         this.advice_groups.push(group)
2351
-      //         group = this.newAdviceGroupObject()
2352
-      //       }
2353
-      //       if (group.group_no == 0) {
2354
-      //         initGroupBlock(group, advice)
2355
-      //       }
2356
-      //       if (group.group_no == advice.groupno) {
2357
-      //         group.advices.push(advice)
2358
-      //       }
2359
-      //     }
2360
-      //     if (group.group_no > 0) {
2361
-      //       // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
2362
-      //       this.advice_groups.push(group)
2363
-      //     }
2364
-      //
2365
-      //   }
2366
-      //
2367
-      //
2368
-      // }
2369 1751
     },
2370 1752
 
2371 1753
     closePrescriptionDialog: function () {
@@ -3769,10 +3151,7 @@ export default {
3769 3151
           this.total= 0
3770 3152
           this.total = total_one + total_two
3771 3153
         }
3772
-        
3773
-        console.log("时间人民万岁我我我",this.hisAdviceList)
3774
-      
3775
-        
3154
+        // console.log("时间人民万岁我我我",this.hisAdviceList)
3776 3155
         this.patientList =  response.data.data.patientList
3777 3156
 
3778 3157
          this.tableData = []
@@ -3794,7 +3173,6 @@ export default {
3794 3173
           }
3795 3174
            
3796 3175
         }
3797
-
3798 3176
         if(this.tableData!=null && this.tableData.length>0){
3799 3177
             let objinfo = {}
3800 3178
             this.tableData.forEach((item, index) => {

+ 0 - 23
src/pages/main/today/assessmentAfter.vue 파일 보기

@@ -290,29 +290,6 @@ export default {
290 290
     return {
291 291
       title: '透后评估 ',
292 292
       template_id: 0
293
-      // note: "无明显异常",
294
-      // doctor: "刘小军  医生",
295
-      // info1: [
296
-      //   { value: "1", label: "透后体重 : ", content: "55", unit: "kg" },
297
-      //   { value: "2", label: "收缩压 : ", content: "174", unit: "mmHg" },
298
-      //   { value: "3", label: "实际超滤量: ", content: "20", unit: "ml" },
299
-      //   { value: "4", label: "疑血 : ", content: "无震颤", unit: "" },
300
-      //   { value: "5", label: "", content: "", unit: "" }
301
-      // ],
302
-      // info2: [
303
-      //   { value: "1", label: "体重减少 : ", content: "3", unit: "kg" },
304
-      //   { value: "2", label: "舒张压 : ", content: "200", unit: "mmHg" },
305
-      //   { value: "3", label: "实际置换量 : ", content: "20", unit: "ml" },
306
-      //   { value: "3", label: "透后症状 : ", content: "无症状", unit: "" },
307
-      //   { value: "4", label: "导管 : ", content: "导管堵塞", unit: "" }
308
-      // ],
309
-      // info3: [
310
-      //   { value: "1", label: "体温 : ", content: "14", unit: "℃" },
311
-      //   { value: "2", label: "心率 : ", content: "2", unit: "次/分" },
312
-      //   { value: "3", label: "实际治疗时长 : ", content: "4时4分", unit: "" },
313
-      //   { value: "4", label: "透析中入量: ", content: "一般", unit: "" },
314
-      //   { value: "4", label: "并发症: ", content: "痔疮出血", unit: "" }
315
-      // ]
316 293
     }
317 294
   },
318 295
   props: {

+ 1 - 68
src/pages/main/today/assessmentBefore.vue 파일 보기

@@ -121,10 +121,6 @@
121 121
           <span class="unit"></span>
122 122
         </li>
123 123
 
124
-        <!-- </ul>
125
-
126
-      <ul> -->
127
-
128 124
         <li v-if="isShow('透析机型号')">
129 125
           <label>透析机型号: </label>
130 126
           <span class="content">{{ machine_type ? machine_type : "" }}</span>
@@ -559,32 +555,7 @@ export default {
559 555
         return '-'
560 556
       } else {
561 557
         return this.record.internal_fistula
562
-        // if (this.record != null && this.record.id != undefined && this.record.id  > 0) {
563
-        //   var internal_fistula_list = getDataConfig(
564
-        //     "hemodialysis",
565
-        //     "internal_fistula"
566
-        //   );
567
-        //   var value = ""
568
-        //   if (this.record.internal_fistula.length > 0) {
569
-        //     var internal_fistula_value_arr = this.record.internal_fistula.split(",")
570
-        //     for (let a = 0; a < internal_fistula_value_arr.length; a++) {
571
-        //       for (let i = 0; i < internal_fistula_list.length; i++) {
572
-        //         console.log(internal_fistula_list[i].name)
573
-        //         if (internal_fistula_value_arr[a] == internal_fistula_list[i].name) {
574
-        //           if (value.length == 0) {
575
-        //             value = internal_fistula_value_arr[a]
576
-        //           } else {
577
-        //             value = value + "," + internal_fistula_value_arr[a]
578
-        //           }
579
-        //         }
580
-        //       }
581
-        //     }
582
-        //   }
583
-        //   return value;
584
-        // }else{
585
-        //   return "-";
586
-        //
587
-        // }
558
+
588 559
       }
589 560
     },
590 561
     is_hemorrhage: function () {
@@ -816,44 +787,6 @@ export default {
816 787
       }
817 788
       
818 789
     },
819
-    // setRecord(record) {
820
-    //   if (record == null) {
821
-    //     this.info1[0].content = "0"
822
-    //     this.info1[1].content = "0"
823
-    //     this.info1[2].content = "0"
824
-    //     // this.info1[3].content = ""
825
-
826
-    //     this.info2[0].content = "0"
827
-    //     this.info2[1].content = "0"
828
-    //     this.info2[2].content = ""
829
-    //     this.info2[3].content = ""
830
-
831
-    //     this.info3[0].content = "0"
832
-    //     this.info3[1].content = "0"
833
-    //     this.info3[2].content = ""
834
-    //     this.info3[3].content = ""
835
-
836
-    //     this.note = ""
837
-
838
-    //   } else {
839
-    //     this.info1[0].content = record.weight_before
840
-    //     this.info1[1].content = record.systolic_blood_pressure
841
-    //     this.info1[2].content = record.last_post_dialysis
842
-    //     // this.info1[3].content = ""
843
-
844
-    //     this.info2[0].content = record.additional_weight
845
-    //     this.info2[1].content = record.diastolic_blood_pressure
846
-    //     this.info2[2].content = record.dialysis_interphase
847
-    //     this.info2[3].content = record.catheter
848
-
849
-    //     this.info3[0].content = record.temperature
850
-    //     this.info3[1].content = record.breathing_rate
851
-    //     this.info3[2].content = record.symptom_before_dialysis
852
-    //     this.info3[3].content = record.complication
853
-
854
-    //     this.note = record.remark
855
-    //   }
856
-    // }
857 790
   }
858 791
 }
859 792
 </script>

+ 0 - 0
src/pages/main/today/dialysisMonitoring.vue 파일 보기


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.