Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

杨青 1 year ago
parent
commit
07851a25c8

+ 1 - 1
config/dev.env.js View File

7
   NODE_ENV: '"development"',
7
   NODE_ENV: '"development"',
8
   ENV_CONFIG: '"dev"',
8
   ENV_CONFIG: '"dev"',
9
   // BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
9
   // BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
10
-  //  BASE_API: '"https://api.xt.test.sgjyun.com"',
10
+  // BASE_API: '"https://api.xt.test.sgjyun.com"',
11
   BASE_API: '"http://localhost:9531"',
11
   BASE_API: '"http://localhost:9531"',
12
   SSO_HOST: '"http://testsso.sgjyun.com"',
12
   SSO_HOST: '"http://testsso.sgjyun.com"',
13
   SRCM_HOST: '"http://test1.sgjyun.com"',
13
   SRCM_HOST: '"http://test1.sgjyun.com"',

+ 1 - 1
config/index.js View File

29
 
29
 
30
     // host: 'xt.test.sgjyun.com',
30
     // host: 'xt.test.sgjyun.com',
31
     //  host: 'xt.kuyicloud.com',
31
     //  host: 'xt.kuyicloud.com',
32
-    // host: 'xt.test.sgjyun.com',
32
+    //  host: 'xt.test.sgjyun.com',
33
     host: 'localhost',
33
     host: 'localhost',
34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
35
     autoOpenBrowser: true,
35
     autoOpenBrowser: true,

+ 5 - 33
src/api/dialysis.js View File

182
 }
182
 }
183
 
183
 
184
 export function postAccepts(params) {
184
 export function postAccepts(params) {
185
-  console.log('params', params)
185
+ 
186
   return request({
186
   return request({
187
     url: '/api/dialysis/accepts',
187
     url: '/api/dialysis/accepts',
188
     method: 'Post',
188
     method: 'Post',
195
 }
195
 }
196
 
196
 
197
 export function postAssessmentBeforeDislysis(params) {
197
 export function postAssessmentBeforeDislysis(params) {
198
-  console.log('params', params)
198
+ 
199
   return request({
199
   return request({
200
     url: '/api/dialysis/assessmentbeforedislysis',
200
     url: '/api/dialysis/assessmentbeforedislysis',
201
     method: 'Post',
201
     method: 'Post',
208
 }
208
 }
209
 
209
 
210
 export function postTreatmentsummary(params) {
210
 export function postTreatmentsummary(params) {
211
-  console.log('param223322323', params)
211
+ 
212
   return request({
212
   return request({
213
     url: '/api/dialysis/treatmentsummary',
213
     url: '/api/dialysis/treatmentsummary',
214
     method: 'Post',
214
     method: 'Post',
404
   })
404
   })
405
 }
405
 }
406
 
406
 
407
-
408
-export function SaveDialysisInformationSetting(params) {
409
-  return request({
410
-    url: '/api/patient/savedialysisInformationsetting',
411
-    method: 'get',
412
-    params: params
413
-  })
414
-}
415
-
416
-export function getDialysisInformationSetting(params){
407
+export function saveInformation(params){
417
   
408
   
418
   return request({
409
   return request({
419
-    url:"/api/patient/getdialyisinformationsetting",
410
+    url:"/api/patient/saveinformation",
420
     method:"get",
411
     method:"get",
421
     params:params
412
     params:params
422
   })
413
   })
423
-}
424
-
425
-export function checkDialysisInformation(params){
426
-  
427
-  return request({
428
-    url:"/api/patient/checkdialysisinformation",
429
-    method:"Get",
430
-    params:params
431
-  })
432
-}
433
-
434
-
435
-
436
-export function getSchedualPatientFlow(params) {
437
-  return request({
438
-    url: '/api/dialysis/patientsflow',
439
-    method: 'get',
440
-    params: params
441
-  })
442
 }
414
 }

+ 124 - 80
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue View File

223
         :cell-class-name="adviceNameShow"
223
         :cell-class-name="adviceNameShow"
224
         :modal-append-to-body="false"
224
         :modal-append-to-body="false"
225
         highlight-current-row
225
         highlight-current-row
226
-        
226
+
227
       >
227
       >
228
       <!-- @selection-change="handleSelectionChange" -->
228
       <!-- @selection-change="handleSelectionChange" -->
229
         <!-- <el-table-column type="selection"  width="55"></el-table-column> -->
229
         <!-- <el-table-column type="selection"  width="55"></el-table-column> -->
257
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
257
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
258
               <span class="el-dropdown-link">
258
               <span class="el-dropdown-link">
259
                 &emsp;{{ getAdviceContent(scope.row, 2)}}
259
                 &emsp;{{ getAdviceContent(scope.row, 2)}}
260
-               
261
                 <i class="el-icon-arrow-down el-icon--right"></i>
260
                 <i class="el-icon-arrow-down el-icon--right"></i>
262
               </span>
261
               </span>
263
               <el-dropdown-menu slot="dropdown">
262
               <el-dropdown-menu slot="dropdown">
291
           </template>
290
           </template>
292
         </el-table-column>
291
         </el-table-column>
293
         <el-table-column
292
         <el-table-column
294
-          v-if="template_id != 6 && org_id!=10223 && org_id!=10445 && org_id!=0"
293
+          v-if="template_id != 6 && org_id!=10223 && org_id!=10445"
295
           prop="checker"
294
           prop="checker"
296
           min-width="30px"
295
           min-width="30px"
297
           align="center"
296
           align="center"
305
         </el-table-column>
304
         </el-table-column>
306
       </el-table>
305
       </el-table>
307
 
306
 
308
-     
307
+
309
 
308
 
310
       <el-table
309
       <el-table
311
         v-if="his_is_open  == 1 || is_advice_open == 1"
310
         v-if="his_is_open  == 1 || is_advice_open == 1"
360
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
359
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
361
               <span class="el-dropdown-link">
360
               <span class="el-dropdown-link">
362
                 &emsp;{{ getAdviceContent(scope.row, 2)}}
361
                 &emsp;{{ getAdviceContent(scope.row, 2)}}
363
-                 
364
                 <i class="el-icon-arrow-down el-icon--right"></i>
362
                 <i class="el-icon-arrow-down el-icon--right"></i>
365
               </span>
363
               </span>
366
               <el-dropdown-menu slot="dropdown">
364
               <el-dropdown-menu slot="dropdown">
608
       v-on:add-new-order="addNewOrder"
606
       v-on:add-new-order="addNewOrder"
609
       :admin_users="admin_users"
607
       :admin_users="admin_users"
610
     ></edit-group-advice>
608
     ></edit-group-advice>
609
+
610
+
611
+      <el-dialog
612
+          title="提示"
613
+          :visible.sync="infoDialogVisible"
614
+          width="30%">
615
+          <span>
616
+           <el-form>
617
+             <el-row>
618
+               <span>申请日期:</span>
619
+                <span>
620
+                    <el-date-picker
621
+                      type="datetime"
622
+                      format="yyyy-MM-dd HH:mm"
623
+                      value-format="yyyy-MM-dd HH:mm"
624
+                      placeholder="选择时间"
625
+                      v-model="selected_date"
626
+                  ></el-date-picker>
627
+                </span>
628
+             </el-row>
629
+             <el-row>
630
+               <span>备注:</span>
631
+                <span>
632
+                   <el-input v-model="remark" style="width:200px"></el-input>
633
+                </span>
634
+             </el-row>
635
+           </el-form>
636
+         
637
+          </span>
638
+          <span slot="footer" class="dialog-footer">
639
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
640
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
641
+          </span>
642
+        </el-dialog>
611
   </div>
643
   </div>
612
 </template>
644
 </template>
613
 
645
 
783
         src_type:"",
815
         src_type:"",
784
         org_id:0,
816
         org_id:0,
785
         schedulePatient:{},
817
         schedulePatient:{},
786
-        tempArrOne:[],
818
+        infoDialogVisible:false,
819
+        selected_date:"",
820
+        remark:""
787
       }
821
       }
788
     },
822
     },
789
     watch: {
823
     watch: {
798
         this.form['dialysis_order_id'] = this.dialysis_order.id
832
         this.form['dialysis_order_id'] = this.dialysis_order.id
799
       },
833
       },
800
 
834
 
801
-      'doctor_advices': function() {
802
-      
803
-        this.handleSpanTempArrOne();
804
-      },
805
-     
806
     },
835
     },
807
     methods: {
836
     methods: {
808
-      handleSpanTempArrOne() {
809
-          this.tempArrOne = [];
810
-         
811
-          for (let i = 0; i < this.doctor_advices.length; i++) {
812
-            if (i === 0) {
813
-              this.tempArrOne.push(1);
814
-              this.pos = 0;
815
-            } else {
816
-              // 判断当前元素与上一个元素是否相同
817
-              if (
818
-                this.doctor_advices[i].groupno ===
819
-                this.doctor_advices[i - 1].groupno
820
-              ) {
821
-                this.tempArrOne[this.pos] += 1;
822
-                this.tempArrOne.push(0);
823
-              } else {
824
-                this.tempArrOne.push(1);
825
-                this.pos = i;
826
-              }
827
-            }
828
-          }
829
-      },
830
       handleSelectionChange(){
837
       handleSelectionChange(){
831
 
838
 
832
       },
839
       },
833
-     
834
-    
840
+
835
       //调试
841
       //调试
836
       lili(index,row){
842
       lili(index,row){
837
         // console.log("==index==",index)
843
         // console.log("==index==",index)
915
               response => {
921
               response => {
916
                 if (response.data.state == 0) {
922
                 if (response.data.state == 0) {
917
                   this.$message.error(response.data.msg);
923
                   this.$message.error(response.data.msg);
924
+                  if(response.data.code == 600000008){
925
+                     this.infoDialogVisible = true
926
+                   }
918
                   return false;
927
                   return false;
919
                 } else {
928
                 } else {
920
                   this.$notify({
929
                   this.$notify({
949
           return ''
958
           return ''
950
         }
959
         }
951
       },
960
       },
952
-     
953
       submitEditAdvice() {
961
       submitEditAdvice() {
954
         // console.log()
962
         // console.log()
955
         console.log("保存22222222222222")
963
         console.log("保存22222222222222")
975
           response => {
983
           response => {
976
             if (response.data.state == 0) {
984
             if (response.data.state == 0) {
977
               this.$message.error(response.data.msg)
985
               this.$message.error(response.data.msg)
986
+              if(response.data.code == 600000008){
987
+               this.infoDialogVisible = true
988
+              }
978
               return false
989
               return false
979
             } else {
990
             } else {
980
               this.$notify({
991
               this.$notify({
1283
         ExecDoctorAdvice(this.patient.id, this.currentRow.id, this.execTime, mode,this.currentRow.origin).then(response => {
1294
         ExecDoctorAdvice(this.patient.id, this.currentRow.id, this.execTime, mode,this.currentRow.origin).then(response => {
1284
             if (response.data.state == 0) {
1295
             if (response.data.state == 0) {
1285
               this.$message.error(response.data.msg)
1296
               this.$message.error(response.data.msg)
1297
+             if(response.data.code == 600000008){
1298
+               this.infoDialogVisible = true
1299
+             }
1286
               this.exceLoading = false
1300
               this.exceLoading = false
1287
               return false
1301
               return false
1288
             } else {
1302
             } else {
1326
               }
1340
               }
1327
 
1341
 
1328
               if(msg == 2){
1342
               if(msg == 2){
1329
-                this.$message.error("执行失败,库存不足,请入库")
1343
+                this.$message.error("库存不足,请入库")
1330
                 this.execTimeDialogVisible = false
1344
                 this.execTimeDialogVisible = false
1331
                 return false
1345
                 return false
1332
               }
1346
               }
1333
               if(msg == 3){
1347
               if(msg == 3){
1334
-                this.$message.error("执行失败,无库存,请入库")
1348
+                this.$message.error("无库存,请入库")
1335
                 this.execTimeDialogVisible = false
1349
                 this.execTimeDialogVisible = false
1336
                 return false
1350
                 return false
1337
               }
1351
               }
1377
             this.loading = false
1391
             this.loading = false
1378
             if (response.data.state == 0) {
1392
             if (response.data.state == 0) {
1379
               this.$message.error(response.data.msg)
1393
               this.$message.error(response.data.msg)
1394
+              if(response.data.code == 600000008){
1395
+               this.infoDialogVisible = true
1396
+              }
1380
               return false
1397
               return false
1381
             } else {
1398
             } else {
1382
               this.$notify({
1399
               this.$notify({
1650
               response => {
1667
               response => {
1651
                 if (response.data.state == 0) {
1668
                 if (response.data.state == 0) {
1652
                   this.$message.error(response.data.msg)
1669
                   this.$message.error(response.data.msg)
1653
-
1670
+                  if(response.data.code == 600000008){
1671
+                    this.infoDialogVisible = true
1672
+                  }
1654
                   this.deleLoading = false
1673
                   this.deleLoading = false
1655
                   return false
1674
                   return false
1656
                 } else {
1675
                 } else {
1822
             DeleteGroupAdvice(groupno, mode).then(response => {
1841
             DeleteGroupAdvice(groupno, mode).then(response => {
1823
               if (response.data.state == 0) {
1842
               if (response.data.state == 0) {
1824
                 this.$message.error(response.data.msg)
1843
                 this.$message.error(response.data.msg)
1844
+                if(response.data.code == 600000008){
1845
+                 this.infoDialogVisible = true
1846
+                }
1825
                 return false
1847
                 return false
1826
               } else {
1848
               } else {
1827
                 this.$notify({
1849
                 this.$notify({
1870
               this.deleLoading = false
1892
               this.deleLoading = false
1871
               if (response.data.state == 0) {
1893
               if (response.data.state == 0) {
1872
                 this.$message.error(response.data.msg)
1894
                 this.$message.error(response.data.msg)
1895
+                if(response.data.code == 600000008){
1896
+                   this.infoDialogVisible = true
1897
+                }
1873
                 return false
1898
                 return false
1874
               } else {
1899
               } else {
1875
                 this.$notify({
1900
                 this.$notify({
1911
             DeleteDoctorAdvice(this.currentRow.id, mode).then(response => {
1936
             DeleteDoctorAdvice(this.currentRow.id, mode).then(response => {
1912
               this.deleLoading = false
1937
               this.deleLoading = false
1913
               if (response.data.state == 0) {
1938
               if (response.data.state == 0) {
1939
+                 if(response.data.code == 600000008){
1940
+                  this.infoDialogVisible = true
1941
+                 }
1914
                 this.$message.error(response.data.msg)
1942
                 this.$message.error(response.data.msg)
1915
                 return false
1943
                 return false
1916
               } else {
1944
               } else {
2126
         return true
2154
         return true
2127
       }
2155
       }
2128
       ,
2156
       ,
2129
-    
2130
-      
2157
+      mergeSpan({ row, column, rowIndex, columnIndex }) {
2158
+        if (columnIndex != 2) {
2159
+          const _row = this.tempArr[rowIndex]
2160
+          const _col = _row > 0 ? 1 : 0
2161
+          return {
2162
+            rowspan: _row,
2163
+            colspan: _col
2164
+          }
2165
+        }
2166
+      }
2167
+      ,
2131
       handleSpanTempArr() {
2168
       handleSpanTempArr() {
2132
         this.tempArr = []
2169
         this.tempArr = []
2133
 
2170
 
2290
         // });
2327
         // });
2291
       },
2328
       },
2292
       objectSpanMethod({ row, column, rowIndex, columnIndex }) {
2329
       objectSpanMethod({ row, column, rowIndex, columnIndex }) {
2293
-        console.log("hhhhhhhhhh",this.tempArrOne)
2294
-        //合并单元格
2295
-        if (columnIndex === 0 || columnIndex === 1 ) {
2296
-          const _row = this.tempArrOne[rowIndex];
2297
-          const _col = _row > 0 ? 1 : 0;
2298
-          console.log("_row====",_row)
2299
-          console.log("_row----------",_col)
2300
-          return {
2301
-            rowspan: _row,
2302
-            colspan: _col
2303
-          };
2304
-        }
2305
-        // if (columnIndex === 0) {
2306
-        //   if (rowIndex % 2 === 0) {
2307
-        //     return {
2308
-        //       rowspan: 2,
2309
-        //       colspan: 1
2310
-        //     }
2311
-        //   } else {
2312
-        //     return {
2313
-        //       rowspan: 0,
2314
-        //       colspan: 0
2315
-        //     }
2316
-        //   }
2317
-        // }
2318
 
2330
 
2319
-        // if (columnIndex === 1) {
2320
-        //   if (rowIndex % 2 === 0) {
2321
-        //     return {
2322
-        //       rowspan: 2,
2323
-        //       colspan: 1
2324
-        //     }
2325
-        //   } else {
2326
-        //     return {
2327
-        //       rowspan: 0,
2328
-        //       colspan: 0
2329
-        //     }
2330
-        //   }
2331
-        // }
2331
+        if (columnIndex === 0) {
2332
+          if (rowIndex % 2 === 0) {
2333
+            return {
2334
+              rowspan: 2,
2335
+              colspan: 1
2336
+            }
2337
+          } else {
2338
+            return {
2339
+              rowspan: 0,
2340
+              colspan: 0
2341
+            }
2342
+          }
2343
+        }
2344
+
2345
+        if (columnIndex === 1) {
2346
+          if (rowIndex % 2 === 0) {
2347
+            return {
2348
+              rowspan: 2,
2349
+              colspan: 1
2350
+            }
2351
+          } else {
2352
+            return {
2353
+              rowspan: 0,
2354
+              colspan: 0
2355
+            }
2356
+          }
2357
+        }
2332
       }
2358
       }
2333
       ,
2359
       ,
2334
       GetLastOrNextDoctorAdvice(params) {
2360
       GetLastOrNextDoctorAdvice(params) {
2631
          }
2657
          }
2632
          console.log("nam e23233232322323wo",name)
2658
          console.log("nam e23233232322323wo",name)
2633
          return name
2659
          return name
2660
+      },
2661
+
2662
+     saveInformation(){
2663
+        var params = {
2664
+          selected_date:this.selected_date,
2665
+          patient_id:this.$route.query.patient_id,
2666
+          record_date:this.$route.query.date,
2667
+          module:2,
2668
+          remark:this.remark,
2669
+        }
2670
+        saveInformation(params).then(response=>{
2671
+           if(response.data.state == 1){
2672
+             var information = response.data.data.information
2673
+             this.$message.success("审核成功!")
2674
+             this.infoDialogVisible = false
2675
+           }
2676
+        })
2634
       }
2677
       }
2678
+      
2635
     },
2679
     },
2636
     created() {
2680
     created() {
2637
-     
2681
+    
2638
       var date = this.$route.query && this.$route.query.date
2682
       var date = this.$route.query && this.$route.query.date
2639
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
2683
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
2640
       this.form.advice_date = this.record_date
2684
       this.form.advice_date = this.record_date

+ 120 - 81
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue View File

140
           >{{ item.name }}
140
           >{{ item.name }}
141
         </el-radio>
141
         </el-radio>
142
       </el-radio-group>
142
       </el-radio-group>
143
-     
143
+
144
       </el-form-item>
144
       </el-form-item>
145
 
145
 
146
       <el-form-item
146
       <el-form-item
208
           >高风险</el-radio
208
           >高风险</el-radio
209
         >
209
         >
210
       </el-radio-group>
210
       </el-radio-group>
211
- 
211
+
212
+      </el-form-item>
213
+
214
+      <el-form-item
215
+        label-width="150px"
216
+        label="跌倒风险预防措施: "
217
+        :prop="isName('跌倒风险预防措施')"
218
+        :rules="isCheckmust('跌倒风险预防措施')"
219
+        v-if="isShow('跌倒风险预防措施')"
220
+      >
221
+        <!-- isFalldown prop="precautionTwo" @change="precautionchange" isCheckmust('跌倒风险预防措施') :prop="isName('跌倒风险预防措施')" :rules="isCheckmust('跌倒风险预防措施')"
222
+           [{required: true, message: '请选择跌倒风险预防措施', trigger: 'change'}]-->
223
+        <el-checkbox-group v-model="precautionTwo" @change="precautionchange">
224
+          <el-checkbox
225
+            v-for="item in precaution_arr"
226
+            :label="item.name"
227
+            :key="item.id"
228
+            >{{ item.name }}</el-checkbox
229
+          >
230
+        </el-checkbox-group>
212
       </el-form-item>
231
       </el-form-item>
213
 
232
 
214
-      <div style="position: relative;">
215
-        <span v-if="isrequired" style="color: red;position: absolute;top: 10px;">*</span>
216
-        <el-form-item
217
-          label-width="138px"
218
-          label="跌倒风险预防措施: "
219
-          prop="precautionTwo"
220
-          :rules="isCheckmust('跌倒风险预防措施')"
221
-          v-if="isShow('跌倒风险预防措施')"
222
-          style="display: inline-block;"
223
-        >
224
-          <!--v-if="isShow('跌倒风险预防措施')" isFalldown prop="precautionTwo" @change="precautionchange" isCheckmust('跌倒风险预防措施')
225
-            :prop="isName('跌倒风险预防措施')" :rules="isCheckmust('跌倒风险预防措施')"
226
-            [{required: true, message: '请选择跌倒风险预防措施', trigger: 'change'}]-->
227
-            
228
-          <el-checkbox-group v-model="precautionTwo" @change="precautionchange" >
229
-            <el-checkbox
230
-              v-for="item in precaution_arr"
231
-              :label="item.name"
232
-              :key="item.id"
233
-              >{{ item.name }}</el-checkbox
234
-            >
235
-          </el-checkbox-group>
236
-        </el-form-item>
237
-      </div>
238
       <el-form-item
233
       <el-form-item
239
         label-width="200px"
234
         label-width="200px"
240
         label="其他跌倒风险预防措施 : "
235
         label="其他跌倒风险预防措施 : "
340
     </el-form>
335
     </el-form>
341
     <div slot="footer" class="dialog-footer">
336
     <div slot="footer" class="dialog-footer">
342
       <el-button @click="handleCancle">取 消</el-button>
337
       <el-button @click="handleCancle">取 消</el-button>
343
-      <!-- v-if="hasPermission"-->
344
-      <el-button type="primary"   @click="handleComfirm('receiveTreatmentAsses')"
338
+      <!--v-if="hasPermission" -->
339
+      <el-button type="primary"  @click="handleComfirm('receiveTreatmentAsses')"
345
         >保 存</el-button
340
         >保 存</el-button
346
       >
341
       >
347
     </div>
342
     </div>
348
   </el-dialog>
343
   </el-dialog>
344
+
345
+
346
+ <el-dialog
347
+          title="提示"
348
+          :visible.sync="infoDialogVisible"
349
+          width="30%">
350
+          <span>
351
+           <el-form>
352
+             <el-row>
353
+               <span>申请日期:</span>
354
+                <span>
355
+                    <el-date-picker
356
+                      type="datetime"
357
+                      format="yyyy-MM-dd HH:mm"
358
+                      value-format="yyyy-MM-dd HH:mm"
359
+                      placeholder="选择时间"
360
+                      v-model="selected_date"
361
+                  ></el-date-picker>
362
+                </span>
363
+             </el-row>
364
+             <el-row>
365
+               <span>备注:</span>
366
+                <span>
367
+                   <el-input v-model="remark" style="width:200px"></el-input>
368
+                </span>
369
+             </el-row>
370
+           </el-form>
371
+
372
+          </span>
373
+          <span slot="footer" class="dialog-footer">
374
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
375
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
376
+          </span>
377
+        </el-dialog>
378
+
379
+  </div>
380
+
381
+
349
 </template>
382
 </template>
350
 
383
 
351
 <script>
384
 <script>
352
-import { postAccepts } from "@/api/dialysis";
385
+import { postAccepts,saveInformation } from "@/api/dialysis";
353
 import { uParseTime } from "@/utils/tools";
386
 import { uParseTime } from "@/utils/tools";
354
 import store from "@/store";
387
 import store from "@/store";
355
 import { getDataConfig } from "@/utils/data";
388
 import { getDataConfig } from "@/utils/data";
395
         tumble: "",
428
         tumble: "",
396
         his_department: "",
429
         his_department: "",
397
         his_bed: "",
430
         his_bed: "",
398
-        falldown:[],
399
       },
431
       },
400
       precautionTwo: [],
432
       precautionTwo: [],
401
-      arr:[]
433
+      infoDialogVisible:false,
434
+      selected_date:"",
435
+      remark:"",
402
     };
436
     };
403
   },
437
   },
404
   methods: {
438
   methods: {
422
       }
456
       }
423
       this.accepts = accepts;
457
       this.accepts = accepts;
424
       // console.log("accepts", accepts);
458
       // console.log("accepts", accepts);
425
-      // var arr = [];
426
-      // if (this.accepts.precaution) {
427
-      //   var precaution = this.accepts.precaution.split(",");
428
-      //   // console.log("precaution", precaution);
429
-      //   // console.log("hhh", this.precaution_arr);
430
-      //   for (let i = 0; i < precaution.length; i++) {
431
-      //     for (let j = 0; j < this.precaution_arr.length; j++) {
432
-      //       if (parseInt(precaution[i]) == this.precaution_arr[j].id) {
433
-      //         // console.log("aaaa");
434
-      //         this.arr.push(this.precaution_arr[j].name);
435
-      //       }
436
-      //     }
437
-      //   }
438
-      //   this.precautionTwo = this.arr;
439
-      // }
459
+      var arr = [];
460
+      if (this.accepts.precaution) {
461
+        var precaution = this.accepts.precaution.split(",");
462
+        // console.log("precaution", precaution);
463
+        // console.log("hhh", this.precaution_arr);
464
+        for (let i = 0; i < precaution.length; i++) {
465
+          for (let j = 0; j < this.precaution_arr.length; j++) {
466
+            if (parseInt(precaution[i]) == this.precaution_arr[j].id) {
467
+              // console.log("aaaa");
468
+              arr.push(this.precaution_arr[j].name);
469
+            }
470
+          }
471
+        }
472
+        this.precautionTwo = arr;
473
+        // console.log("arr", arr);
474
+      }
440
 
475
 
441
       this.getPermission();
476
       this.getPermission();
442
       for (var index in this.receiveTreatmentAsses) {
477
       for (var index in this.receiveTreatmentAsses) {
462
     },
497
     },
463
     // 复选框跌倒风险措施
498
     // 复选框跌倒风险措施
464
     precautionchange(){
499
     precautionchange(){
465
-     
500
+
466
       if(this.precautionTwo.length>0){
501
       if(this.precautionTwo.length>0){
467
         this.$refs.receiveTreatmentAsses.clearValidate('precautionTwo');
502
         this.$refs.receiveTreatmentAsses.clearValidate('precautionTwo');
468
       }
503
       }
476
             this.arr.push(this.precaution_arr[i].id);
511
             this.arr.push(this.precaution_arr[i].id);
477
           }
512
           }
478
         }
513
         }
479
-      } 
514
+      }
480
       // this.precautionchange()
515
       // this.precautionchange()
481
       var obj = this.arr.join(",");
516
       var obj = this.arr.join(",");
482
       this.receiveTreatmentAsses.precaution = obj;
517
       this.receiveTreatmentAsses.precaution = obj;
483
       let ParamsQuery = this.receiveTreatmentAsses;
518
       let ParamsQuery = this.receiveTreatmentAsses;
484
-      
519
+
485
       console.log("ParamsQuery", ParamsQuery);
520
       console.log("ParamsQuery", ParamsQuery);
486
       ParamsQuery["patient"] = this.patient.id;
521
       ParamsQuery["patient"] = this.patient.id;
487
       ParamsQuery["record_date"] = this.record_date;
522
       ParamsQuery["record_date"] = this.record_date;
545
     isCheckmust(name) {
580
     isCheckmust(name) {
546
       let filedList = store.getters.xt_user.fileds;
581
       let filedList = store.getters.xt_user.fileds;
547
       for (let i = 0; i < filedList.length; i++) {
582
       for (let i = 0; i < filedList.length; i++) {
548
-        
583
+
549
         if (
584
         if (
550
           filedList[i].module == 2 &&
585
           filedList[i].module == 2 &&
551
           filedList[i].filed_name_cn == name &&
586
           filedList[i].filed_name_cn == name &&
552
           filedList[i].is_write == 1
587
           filedList[i].is_write == 1
553
         ) {
588
         ) {
554
-          // name == '跌倒风险预防措施' && filedList[i].is_write == 1
589
+          // name == '跌倒风险预防措施' && this.precautionTwo.length<=0
555
           if (name == "风险程度"||name == "病人情况"||name == '心理评估') {
590
           if (name == "风险程度"||name == "病人情况"||name == '心理评估') {
556
             return [
591
             return [
557
               { required: true, message: `请输入${name}`,trigger: ['blur','change'] },
592
               { required: true, message: `请输入${name}`,trigger: ['blur','change'] },
562
                 trigger: ['blur','change']
597
                 trigger: ['blur','change']
563
               },
598
               },
564
             ];
599
             ];
565
-          } 
600
+          }
566
           else if(name == "跌倒风险预防措施"){
601
           else if(name == "跌倒风险预防措施"){
567
             if(this.precautionTwo.length<=0){
602
             if(this.precautionTwo.length<=0){
568
               this.isrequired=false
603
               this.isrequired=false
569
               return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
604
               return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
570
-              
605
+
571
             }
606
             }
572
             this.precautionchange()
607
             this.precautionchange()
573
             this.isrequired=true
608
             this.isrequired=true
574
             // return [{ required: true, message: '',trigger: ['blur','change'] }];
609
             // return [{ required: true, message: '',trigger: ['blur','change'] }];
575
           }else{
610
           }else{
576
             return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
611
             return [{ required: true, message: `请输入${name}`,trigger: ['blur','change'] }];
577
-            
612
+
578
           }
613
           }
579
-          
614
+
580
         }
615
         }
581
       }
616
       }
582
     },
617
     },
585
     //   for (let i = 0; i < filedList.length; i++) {
620
     //   for (let i = 0; i < filedList.length; i++) {
586
     //     if (
621
     //     if (
587
     //       filedList[i].module == 2 &&
622
     //       filedList[i].module == 2 &&
588
-    //       filedList[i].filed_name_cn == name 
589
-          
623
+    //       filedList[i].filed_name_cn == name &&
624
+    //       filedList[i].is_write == 1
590
     //     ) {
625
     //     ) {
591
-    //       // &&filedList[i].is_write == 1
592
-    //       if (name == "跌倒风险预防措施") {
593
-    //         if(this.precautionTwo.length<=0){
594
-    //             return [
595
-    //             { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
596
-    //             {
597
-    //               required: true,
598
-    //               pattern: /^[1-9]\d*$/,
599
-    //               message: `请选择${name}`,
600
-    //               trigger: ['blur','change']
601
-    //             },
602
-    //           ];
603
-    //         }
604
-    //         this.precautionchange()
605
-    //         return[{ required: true, message: '',trigger: ['blur','change'] }]
606
-    //         // this.$refs.receiveTreatmentAsses.clearValidate('precautionTwo');
607
-             
608
-    //       } 
609
-          
626
+    //       if (name == "跌倒风险预防措施" && this.precautionTwo.length<=0) {
627
+    //         return [
628
+    //           { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
629
+    //           {
630
+    //             required: true,
631
+    //             pattern: /^[1-9]\d*$/,
632
+    //             message: `请选择${name}`,
633
+    //             trigger: ['blur','change']
634
+    //           },
635
+    //         ];
636
+    //       }
610
     //     }
637
     //     }
611
     //   }
638
     //   }
612
     // },
639
     // },
650
           }
677
           }
651
         });
678
         });
652
     },
679
     },
680
+
681
+   saveInformation(){
682
+        var params = {
683
+          selected_date:this.selected_date,
684
+          patient_id:this.$route.query.patient_id,
685
+          record_date:this.$route.query.date,
686
+          module:2,
687
+          remark:this.remark,
688
+        }
689
+        saveInformation(params).then(response=>{
690
+           if(response.data.state == 1){
691
+             var information = response.data.data.information
692
+             this.$message.success("审核成功!")
693
+             this.infoDialogVisible = false
694
+           }
695
+        })
696
+      }
653
   },
697
   },
654
   props: {
698
   props: {
655
     receiver_treatment_access: {
699
     receiver_treatment_access: {
679
     },
723
     },
680
   },
724
   },
681
   created() {
725
   created() {
682
-    
683
     // console.log("接诊评估", this.receiver_treatment_access);
726
     // console.log("接诊评估", this.receiver_treatment_access);
684
     var date = this.$route.query && this.$route.query.date;
727
     var date = this.$route.query && this.$route.query.date;
685
     this.record_date = date
728
     this.record_date = date
696
     // console.log("风险", this.precaution_arr);
739
     // console.log("风险", this.precaution_arr);
697
     this.intake_arr = getDataConfig("hemodialysis", "intake");
740
     this.intake_arr = getDataConfig("hemodialysis", "intake");
698
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
741
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
699
-    
700
   },
742
   },
701
-  // mounted(){
702
-  //   this.isFalldown()
703
-  // }
704
 };
743
 };
705
 </script>
744
 </script>
706
 
745
 

+ 59 - 2
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

699
         <el-button type="primary" @click="submitDryWeight()">保 存</el-button>
699
         <el-button type="primary" @click="submitDryWeight()">保 存</el-button>
700
       </div>
700
       </div>
701
     </el-dialog>
701
     </el-dialog>
702
+
703
+
704
+    <el-dialog
705
+          title="提示"
706
+          :visible.sync="infoDialogVisible"
707
+          width="30%">
708
+          <span>
709
+           <el-form>
710
+             <el-row>
711
+               <span>申请日期:</span>
712
+                <span>
713
+                    <el-date-picker
714
+                      type="datetime"
715
+                      format="yyyy-MM-dd HH:mm"
716
+                      value-format="yyyy-MM-dd HH:mm"
717
+                      placeholder="选择时间"
718
+                      v-model="selected_date"
719
+                  ></el-date-picker>
720
+                </span>
721
+             </el-row>
722
+             <el-row>
723
+               <span>备注:</span>
724
+                <span>
725
+                   <el-input v-model="remark" style="width:200px"></el-input>
726
+                </span>
727
+             </el-row>
728
+           </el-form>
729
+         
730
+          </span>
731
+          <span slot="footer" class="dialog-footer">
732
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
733
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
734
+          </span>
735
+        </el-dialog>
702
   </div>
736
   </div>
703
 
737
 
704
 
738
 
708
   import axios from 'axios'
742
   import axios from 'axios'
709
   import multiSelectBox from './MultiSelectBox'
743
   import multiSelectBox from './MultiSelectBox'
710
   import { getDataConfig } from '@/utils/data'
744
   import { getDataConfig } from '@/utils/data'
711
-  import { postAssessmentBeforeDislysis, CreateDryWeight } from '@/api/dialysis'
745
+  import { postAssessmentBeforeDislysis, CreateDryWeight,saveInformation } from '@/api/dialysis'
712
   import store from '@/store'
746
   import store from '@/store'
713
   import { uParseTime } from '@/utils/tools'
747
   import { uParseTime } from '@/utils/tools'
714
   import { parseTime } from '@/utils'
748
   import { parseTime } from '@/utils'
851
         thrombuShow:false,
885
         thrombuShow:false,
852
         body_weight_before:"",
886
         body_weight_before:"",
853
         point_punctures:[],
887
         point_punctures:[],
854
-       
888
+        infoDialogVisible:false,
889
+        selected_date:"",
890
+        remark:""
891
+
855
       }
892
       }
856
     },
893
     },
857
     props: {
894
     props: {
1388
           
1425
           
1389
           if (response.data.state == 0) {
1426
           if (response.data.state == 0) {
1390
             this.$message.error(response.data.msg)
1427
             this.$message.error(response.data.msg)
1428
+            if(response.data.code == 600000008){
1429
+              this.infoDialogVisible = true
1430
+            }
1391
             return false
1431
             return false
1392
           } else {
1432
           } else {
1393
             this.$notify({
1433
             this.$notify({
1522
           }
1562
           }
1523
         }
1563
         }
1524
         return user_name
1564
         return user_name
1565
+      },
1566
+    
1567
+      saveInformation(){
1568
+        var params = {
1569
+          selected_date:this.selected_date,
1570
+          patient_id:this.$route.query.patient_id,
1571
+          record_date:this.$route.query.date,
1572
+          module:2,
1573
+          remark:this.remark,
1574
+        }
1575
+        saveInformation(params).then(response=>{
1576
+           if(response.data.state == 1){
1577
+             var information = response.data.data.information
1578
+             this.$message.success("审核成功!")
1579
+             this.infoDialogVisible = false
1580
+           }
1581
+        })
1525
       }
1582
       }
1526
       
1583
       
1527
     },
1584
     },

+ 63 - 2
src/xt_pages/dialysis/details/dialog/computer_dialog.vue View File

343
         </el-form-item>
343
         </el-form-item>
344
       </el-form>
344
       </el-form>
345
     </el-dialog>
345
     </el-dialog>
346
+  
347
+
348
+     <el-dialog
349
+          title="提示"
350
+          :visible.sync="infoDialogVisible"
351
+          width="30%">
352
+          <span>
353
+           <el-form>
354
+             <el-row>
355
+               <span>申请日期:</span>
356
+                <span>
357
+                    <el-date-picker
358
+                      type="datetime"
359
+                      format="yyyy-MM-dd HH:mm"
360
+                      value-format="yyyy-MM-dd HH:mm"
361
+                      placeholder="选择时间"
362
+                      v-model="selected_date"
363
+                  ></el-date-picker>
364
+                </span>
365
+             </el-row>
366
+             <el-row>
367
+               <span>备注:</span>
368
+                <span>
369
+                   <el-input v-model="remark" style="width:200px"></el-input>
370
+                </span>
371
+             </el-row>
372
+           </el-form>
373
+         
374
+          </span>
375
+          <span slot="footer" class="dialog-footer">
376
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
377
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
378
+          </span>
379
+        </el-dialog>
380
+
346
   </div>
381
   </div>
347
 </template>
382
 </template>
348
 
383
 
420
       irrigations: [],
455
       irrigations: [],
421
       summary:[],
456
       summary:[],
422
       blood_access_option_name:"",
457
       blood_access_option_name:"",
423
-      value2:""
458
+      value2:"",
459
+      infoDialogVisible:false,
460
+      selected_date:"",
461
+      remark:""
424
     };
462
     };
425
   },
463
   },
426
   props: {
464
   props: {
891
               this.$emit("monitor", resp.data.monitor);
929
               this.$emit("monitor", resp.data.monitor);
892
               this.$message.success("上机成功");
930
               this.$message.success("上机成功");
893
             } else {
931
             } else {
932
+
894
               this.$message.error(resp.msg);
933
               this.$message.error(resp.msg);
934
+              if(response.data.code == 600000008){
935
+                this.infoDialogVisible = true
936
+              }
895
             }
937
             }
896
           });
938
           });
897
         } else {
939
         } else {
941
           }
983
           }
942
         } else {
984
         } else {
943
           this.$message.error(resp.msg);
985
           this.$message.error(resp.msg);
986
+          if(response.data.code == 600000008){
987
+            this.infoDialogVisible = true
988
+          }
944
         }
989
         }
945
       });
990
       });
946
         }else{
991
         }else{
1094
       }
1139
       }
1095
 
1140
 
1096
       return name
1141
       return name
1097
-    }
1142
+    },
1143
+    saveInformation(){
1144
+        var params = {
1145
+          selected_date:this.selected_date,
1146
+          patient_id:this.$route.query.patient_id,
1147
+          record_date:this.$route.query.date,
1148
+          module:2,
1149
+          remark:this.remark,
1150
+        }
1151
+        saveInformation(params).then(response=>{
1152
+           if(response.data.state == 1){
1153
+             var information = response.data.data.information
1154
+             this.$message.success("审核成功!")
1155
+             this.infoDialogVisible = false
1156
+           }
1157
+        })
1158
+      }
1098
   },
1159
   },
1099
 };
1160
 };
1100
 </script>
1161
 </script>

+ 140 - 146
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

23
                     ref="dialysisPrescription"
23
                     ref="dialysisPrescription"
24
                     :model="dialysisPrescription"
24
                     :model="dialysisPrescription"
25
                     label-width="148px"
25
                     label-width="148px"
26
-                   
27
             >
26
             >
28
                 <el-row :gutter="24">
27
                 <el-row :gutter="24">
29
                     <el-col :span="8" v-if="isShows('透析模式')">
28
                     <el-col :span="8" v-if="isShows('透析模式')">
75
                             <el-input v-model="dialysisPrescription.replacement_flow"></el-input>
74
                             <el-input v-model="dialysisPrescription.replacement_flow"></el-input>
76
                         </el-form-item>
75
                         </el-form-item>
77
                     </el-col>
76
                     </el-col>
78
-                    
77
+
79
                     <el-col :span="8" v-if="isShows('置换流量')  &&  this.$store.getters.xt_user.template_info.org_id == 10340">
78
                     <el-col :span="8" v-if="isShows('置换流量')  &&  this.$store.getters.xt_user.template_info.org_id == 10340">
80
                         <el-form-item label="置换流量(ml/min):" prop="replacement_flow" :rules="isCheckmust('置换流量')">
79
                         <el-form-item label="置换流量(ml/min):" prop="replacement_flow" :rules="isCheckmust('置换流量')">
81
                             <el-input v-model="dialysisPrescription.replacement_flow"></el-input>
80
                             <el-input v-model="dialysisPrescription.replacement_flow"></el-input>
102
                             ></el-input>
101
                             ></el-input>
103
                         </el-form-item>
102
                         </el-form-item>
104
                     </el-col>
103
                     </el-col>
105
-                   
104
+
106
                     <el-col :span="8"
105
                     <el-col :span="8"
107
                             v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 ||  this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395 ||this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 9829|| this.$store.getters.xt_user.template_info.org_id == 10440 || this.$store.getters.xt_user.template_info.org_id == 10469|| this.$store.getters.xt_user.template_info.org_id == 10471)">
106
                             v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 ||  this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395 ||this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 9829|| this.$store.getters.xt_user.template_info.org_id == 10440 || this.$store.getters.xt_user.template_info.org_id == 10469|| this.$store.getters.xt_user.template_info.org_id == 10471)">
108
-                        <el-form-item label="目标超滤量(ml):" 
107
+                        <el-form-item label="目标超滤量(ml):"
109
                         prop="target_ultrafiltration" :rules="isCheckmust('目标超滤量')">
108
                         prop="target_ultrafiltration" :rules="isCheckmust('目标超滤量')">
110
                             <el-input
109
                             <el-input
111
                                     type="number"
110
                                     type="number"
114
                         </el-form-item>
113
                         </el-form-item>
115
                     </el-col>
114
                     </el-col>
116
 
115
 
117
-                    
116
+
118
 
117
 
119
 
118
 
120
                     <el-col :span="8"
119
                     <el-col :span="8"
121
                             v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395 &&  this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id!=10441 && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469&& this.$store.getters.xt_user.template_info.org_id != 10471">
120
                             v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395 &&  this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id!=10441 && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469&& this.$store.getters.xt_user.template_info.org_id != 10471">
122
-                        <el-form-item 
121
+                        <el-form-item
123
                         label="目标超滤量(L):" prop="target_ultrafiltration" :rules="isCheckmust('目标超滤量')">
122
                         label="目标超滤量(L):" prop="target_ultrafiltration" :rules="isCheckmust('目标超滤量')">
124
                             <el-input
123
                             <el-input
125
                                     type="number"
124
                                     type="number"
137
                             ></el-input>
136
                             ></el-input>
138
                         </el-form-item>
137
                         </el-form-item>
139
                     </el-col>
138
                     </el-col>
140
-                    
139
+
141
                    <el-col :span="8" v-if="isShows('带水上机')">
140
                    <el-col :span="8" v-if="isShows('带水上机')">
142
                         <el-form-item label="带水上机:" prop="water_machine" :rules="isCheckmust('带水上机')">
141
                         <el-form-item label="带水上机:" prop="water_machine" :rules="isCheckmust('带水上机')">
143
                            <el-select v-model="dialysisPrescription.water_machine">
142
                            <el-select v-model="dialysisPrescription.water_machine">
149
                                 ></el-option>
148
                                 ></el-option>
150
                             </el-select>
149
                             </el-select>
151
                         </el-form-item>
150
                         </el-form-item>
152
-                    </el-col> 
153
-                   
151
+                    </el-col>
152
+
154
                     <el-col :span="8" v-if="isShows('是否单超脱水')">
153
                     <el-col :span="8" v-if="isShows('是否单超脱水')">
155
                         <el-form-item label="是否单超脱水:" prop="is_water" :rules="isCheckmust('是否单超脱水')">
154
                         <el-form-item label="是否单超脱水:" prop="is_water" :rules="isCheckmust('是否单超脱水')">
156
                            <el-select v-model="dialysisPrescription.is_water">
155
                            <el-select v-model="dialysisPrescription.is_water">
169
                             <el-input v-model="dialysisPrescription.single_time"></el-input>
168
                             <el-input v-model="dialysisPrescription.single_time"></el-input>
170
                         </el-form-item>
169
                         </el-form-item>
171
                     </el-col>
170
                     </el-col>
172
-                    
171
+
173
                     <el-col :span="8" v-if="isShows('单超脱水') && dialysisPrescription.is_water == 1">
172
                     <el-col :span="8" v-if="isShows('单超脱水') && dialysisPrescription.is_water == 1">
174
                         <el-form-item label="单超脱水(ml):" prop="single_water" :rules="isCheckmust('单超脱水')">
173
                         <el-form-item label="单超脱水(ml):" prop="single_water" :rules="isCheckmust('单超脱水')">
175
                             <el-input v-model="dialysisPrescription.single_water"></el-input>
174
                             <el-input v-model="dialysisPrescription.single_water"></el-input>
176
                         </el-form-item>
175
                         </el-form-item>
177
                     </el-col>
176
                     </el-col>
178
 
177
 
179
-                  
178
+
180
                     <el-col :span="8" v-if="isShows('曲线脱水')">
179
                     <el-col :span="8" v-if="isShows('曲线脱水')">
181
                         <el-form-item label="曲线脱水(ml):" prop="drhy_water" :rules="isCheckmust('曲线脱水')">
180
                         <el-form-item label="曲线脱水(ml):" prop="drhy_water" :rules="isCheckmust('曲线脱水')">
182
                             <el-input v-model="dialysisPrescription.drhy_water"></el-input>
181
                             <el-input v-model="dialysisPrescription.drhy_water"></el-input>
211
                     <el-row :gutter="20"> -->
210
                     <el-row :gutter="20"> -->
212
 
211
 
213
                     <el-col :span="8" v-if="isShows('抗凝剂')">
212
                     <el-col :span="8" v-if="isShows('抗凝剂')">
214
-                     
213
+
215
                         <el-form-item label="抗凝剂:" prop="anticoagulant" :rules="isCheckmust('抗凝剂')">
214
                         <el-form-item label="抗凝剂:" prop="anticoagulant" :rules="isCheckmust('抗凝剂')">
216
                             <el-select v-model="dialysisPrescription.anticoagulant" placeholder="请选择"
215
                             <el-select v-model="dialysisPrescription.anticoagulant" placeholder="请选择"
217
                                        style="width:100%;"
216
                                        style="width:100%;"
226
                         </el-form-item>
225
                         </el-form-item>
227
                     </el-col>
226
                     </el-col>
228
 
227
 
229
-                    <el-col :span="8" v-if="isShows('抗凝剂商品名称')">    
228
+                    <el-col :span="8" v-if="isShows('抗凝剂商品名称')">
230
                         <el-form-item label="抗凝剂商品名称:" prop="antioxidant_commodity_name" :rules="isCheckmust('抗凝剂商品名称')">
229
                         <el-form-item label="抗凝剂商品名称:" prop="antioxidant_commodity_name" :rules="isCheckmust('抗凝剂商品名称')">
231
                             <el-input
230
                             <el-input
232
                                     v-model="dialysisPrescription.antioxidant_commodity_name"
231
                                     v-model="dialysisPrescription.antioxidant_commodity_name"
250
                             ></el-input肝素>
249
                             ></el-input肝素>
251
                         </el-form-item>
250
                         </el-form-item>
252
                     </el-col>
251
                     </el-col>
253
-                    
252
+
254
                     <el-col :span="8" v-if="isShows('下机前推注鱼精蛋白') && dialysisPrescription.anticoagulant ==10">
253
                     <el-col :span="8" v-if="isShows('下机前推注鱼精蛋白') && dialysisPrescription.anticoagulant ==10">
255
                         <el-form-item label="下机前推注鱼精蛋白(mg):" prop="push_the_protamine" :rules="isCheckmust('下机前推注鱼精蛋白')">
254
                         <el-form-item label="下机前推注鱼精蛋白(mg):" prop="push_the_protamine" :rules="isCheckmust('下机前推注鱼精蛋白')">
256
                             <el-input
255
                             <el-input
260
                     </el-col>
259
                     </el-col>
261
 
260
 
262
                     <el-col :span="8" v-if="isShows('追加肝素量')" >
261
                     <el-col :span="8" v-if="isShows('追加肝素量')" >
263
-                       <el-form-item v-if="dialysisPrescription.anticoagulant == 2" 
262
+                       <el-form-item v-if="dialysisPrescription.anticoagulant == 2"
264
                        :label="'追加肝素量(mg) : '" prop="add_amount" :rules="isCheckmust('追加肝素量')">
263
                        :label="'追加肝素量(mg) : '" prop="add_amount" :rules="isCheckmust('追加肝素量')">
265
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
264
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
266
                                           v-model="dialysisPrescription.add_amount"></el-input>
265
                                           v-model="dialysisPrescription.add_amount"></el-input>
268
                                           v-model="dialysisPrescription.add_amount"></el-input>
267
                                           v-model="dialysisPrescription.add_amount"></el-input>
269
                             </el-form-item>
268
                             </el-form-item>
270
 
269
 
271
-                            <el-form-item v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 1" 
270
+                            <el-form-item v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 1"
272
                             :label="'追加肝素量(' + anticoagulant.shouji_unit + ') : '" prop="add_amount" :rules="isCheckmust('追加肝素量')">
271
                             :label="'追加肝素量(' + anticoagulant.shouji_unit + ') : '" prop="add_amount" :rules="isCheckmust('追加肝素量')">
273
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
272
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
274
                                           v-model="dialysisPrescription.add_amount"></el-input>
273
                                           v-model="dialysisPrescription.add_amount"></el-input>
276
                                           v-model="dialysisPrescription.add_amount"></el-input>
275
                                           v-model="dialysisPrescription.add_amount"></el-input>
277
                             </el-form-item>
276
                             </el-form-item>
278
                     </el-col>
277
                     </el-col>
279
-                    
278
+
280
                   <el-col :span="8" v-if="isShows('减肝素量')">
279
                   <el-col :span="8" v-if="isShows('减肝素量')">
281
                        <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'减肝素量(mg) : '" prop="calculateAnticoagulantZL" :rules="isCheckmust('减肝素量')">
280
                        <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'减肝素量(mg) : '" prop="calculateAnticoagulantZL" :rules="isCheckmust('减肝素量')">
282
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
281
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
295
                     </el-col>
294
                     </el-col>
296
 
295
 
297
                     <el-col :span="8" v-if="anticoagulant!=undefined && anticoagulant.shouji != -1 && isShows('首剂')  && dialysisPrescription.anticoagulant!=1 && dialysisPrescription.anticoagulant!=12">
296
                     <el-col :span="8" v-if="anticoagulant!=undefined && anticoagulant.shouji != -1 && isShows('首剂')  && dialysisPrescription.anticoagulant!=1 && dialysisPrescription.anticoagulant!=12">
298
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && 
299
-                        this.$store.getters.xt_user.template_info.template_id != 54 && 
300
-                        this.$store.getters.xt_user.template_info.org_id != 10340 && 
301
-                        this.$store.getters.xt_user.template_info.org_id != 10432 && 
302
-                        this.$store.getters.xt_user.template_info.org_id != 9829 && 
303
-                        this.$store.getters.xt_user.template_info.org_id != 10440 && 
304
-                        this.$store.getters.xt_user.template_info.org_id != 10469 && 
297
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 &&
298
+                        this.$store.getters.xt_user.template_info.template_id != 54 &&
299
+                        this.$store.getters.xt_user.template_info.org_id != 10340 &&
300
+                        this.$store.getters.xt_user.template_info.org_id != 10432 &&
301
+                        this.$store.getters.xt_user.template_info.org_id != 9829 &&
302
+                        this.$store.getters.xt_user.template_info.org_id != 10440 &&
303
+                        this.$store.getters.xt_user.template_info.org_id != 10469 &&
305
                         this.$store.getters.xt_user.template_info.org_id != 10471">
304
                         this.$store.getters.xt_user.template_info.org_id != 10471">
306
-                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && 
307
-                          this.$store.getters.xt_user.template_info.template_id != 45 && 
308
-                          this.$store.getters.xt_user.template_info.org_id != 10346 && 
305
+                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 &&
306
+                          this.$store.getters.xt_user.template_info.template_id != 45 &&
307
+                          this.$store.getters.xt_user.template_info.org_id != 10346 &&
309
                           this.$store.getters.xt_user.template_info.org_id != 10387">
308
                           this.$store.getters.xt_user.template_info.org_id != 10387">
310
                             <el-form-item
309
                             <el-form-item
311
                                     v-if='dialysisPrescription.anticoagulant != 1 &&
310
                                     v-if='dialysisPrescription.anticoagulant != 1 &&
314
                                       this.$store.getters.xt_user.template_info.template_id != 38 &&
313
                                       this.$store.getters.xt_user.template_info.template_id != 38 &&
315
                                        this.$store.getters.xt_user.template_info.org_id != 9987 &&
314
                                        this.$store.getters.xt_user.template_info.org_id != 9987 &&
316
                                         this.$store.getters.xt_user.template_info.org_id!=9990'
315
                                         this.$store.getters.xt_user.template_info.org_id!=9990'
317
-                                    :label="'首剂(' + anticoagulant.shouji_unit + ') : '" prop="anticoagulant_shouji" 
316
+                                    :label="'首剂(' + anticoagulant.shouji_unit + ') : '" prop="anticoagulant_shouji"
318
                                     :rules="isCheckmust('首剂')">
317
                                     :rules="isCheckmust('首剂')">
319
 
318
 
320
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
319
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
324
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
323
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
325
                             </el-form-item>
324
                             </el-form-item>
326
 
325
 
327
-                            <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant==7 && 
328
-                            this.$store.getters.xt_user.template_info.template_id!=6" :label="'首剂(mg):'" 
329
-                            prop="anticoagulant_shouji" :rules="isCheckmust('首剂')"> 
326
+                            <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant==7 &&
327
+                            this.$store.getters.xt_user.template_info.template_id!=6" :label="'首剂(mg):'"
328
+                            prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
330
                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
329
                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
331
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
330
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
332
 
331
 
333
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
332
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
334
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
333
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
335
                             </el-form-item>
334
                             </el-form-item>
336
-                           <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && 
337
-                           dialysisPrescription.anticoagulant!=7 && this.$store.getters.xt_user.template_info.template_id!=6" 
338
-                           :label="'首剂(iu):'" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')"> 
335
+                           <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 &&
336
+                           dialysisPrescription.anticoagulant!=7 && this.$store.getters.xt_user.template_info.template_id!=6"
337
+                           :label="'首剂(iu):'" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
339
                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
338
                                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
340
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
339
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
341
 
340
 
342
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
341
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
343
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
342
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
344
                             </el-form-item>
343
                             </el-form-item>
345
-                    
344
+
346
                             <el-form-item
345
                             <el-form-item
347
-                                    v-if='dialysisPrescription.anticoagulant == 2 && 
348
-                                    this.$store.getters.xt_user.template_info.template_id == 21 || 
349
-                                    this.$store.getters.xt_user.template_info.template_id == 23 || 
350
-                                    this.$store.getters.xt_user.template_info.template_id == 38 || 
351
-                                    this.$store.getters.xt_user.template_info.org_id == 9987 || 
352
-                                    this.$store.getters.xt_user.template_info.org_id == 10346 || 
346
+                                    v-if='dialysisPrescription.anticoagulant == 2 &&
347
+                                    this.$store.getters.xt_user.template_info.template_id == 21 ||
348
+                                    this.$store.getters.xt_user.template_info.template_id == 23 ||
349
+                                    this.$store.getters.xt_user.template_info.template_id == 38 ||
350
+                                    this.$store.getters.xt_user.template_info.org_id == 9987 ||
351
+                                    this.$store.getters.xt_user.template_info.org_id == 10346 ||
353
                                     this.$store.getters.xt_user.template_info.org_id == 10387'
352
                                     this.$store.getters.xt_user.template_info.org_id == 10387'
354
                                     :label="'首剂(mg) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
353
                                     :label="'首剂(mg) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
355
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
354
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
358
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
357
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
359
                             </el-form-item>
358
                             </el-form-item>
360
 
359
 
361
- 
360
+
362
 
361
 
363
                           </div>
362
                           </div>
364
 
363
 
379
                         </div>
378
                         </div>
380
 
379
 
381
                         <div v-else>
380
                         <div v-else>
382
-                            
381
+
383
                             <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'首剂(mg) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
382
                             <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'首剂(mg) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
384
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
383
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
385
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
384
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
393
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
392
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
394
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
393
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
395
                             </el-form-item>
394
                             </el-form-item>
396
-                           
397
-                           
395
+
396
+
398
                         </div>
397
                         </div>
399
 
398
 
400
                     </el-col>
399
                     </el-col>
406
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
405
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
407
                                           v-if="anticoagulant.weichi != -1 &&
406
                                           v-if="anticoagulant.weichi != -1 &&
408
                                            this.$store.getters.xt_user.template_info.template_id != 21 &&
407
                                            this.$store.getters.xt_user.template_info.template_id != 21 &&
409
-                                            this.$store.getters.xt_user.template_info.template_id != 23 && 
410
-                                            this.$store.getters.xt_user.template_info.template_id != 38 && 
411
-                                            this.$store.getters.xt_user.template_info.org_id != 9987  && 
412
-                                            this.$store.getters.xt_user.template_info.org_id != 54 && 
408
+                                            this.$store.getters.xt_user.template_info.template_id != 23 &&
409
+                                            this.$store.getters.xt_user.template_info.template_id != 38 &&
410
+                                            this.$store.getters.xt_user.template_info.org_id != 9987  &&
411
+                                            this.$store.getters.xt_user.template_info.org_id != 54 &&
413
                                             this.$store.getters.xt_user.template_info.org_id != 9990" prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
412
                                             this.$store.getters.xt_user.template_info.org_id != 9990" prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
414
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
413
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
415
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
414
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
417
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
416
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
418
                             </el-form-item>
417
                             </el-form-item>
419
                             <el-form-item :label="'维持(mg/h) : '"
418
                             <el-form-item :label="'维持(mg/h) : '"
420
-                                          v-if="anticoagulant.weichi != -1 && 
421
-                                          this.$store.getters.xt_user.template_info.template_id == 21 || 
422
-                                          this.$store.getters.xt_user.template_info.template_id == 23 || 
423
-                                          this.$store.getters.xt_user.template_info.template_id == 38 || 
424
-                                          this.$store.getters.xt_user.template_info.org_id == 9987 || 
425
-                                          this.$store.getters.xt_user.template_info.org_id == 54 ||  
426
-                                          this.$store.getters.xt_user.template_info.org_id == 10346 ||  
427
-                                          this.$store.getters.xt_user.template_info.org_id == 10387  || 
419
+                                          v-if="anticoagulant.weichi != -1 &&
420
+                                          this.$store.getters.xt_user.template_info.template_id == 21 ||
421
+                                          this.$store.getters.xt_user.template_info.template_id == 23 ||
422
+                                          this.$store.getters.xt_user.template_info.template_id == 38 ||
423
+                                          this.$store.getters.xt_user.template_info.org_id == 9987 ||
424
+                                          this.$store.getters.xt_user.template_info.org_id == 54 ||
425
+                                          this.$store.getters.xt_user.template_info.org_id == 10346 ||
426
+                                          this.$store.getters.xt_user.template_info.org_id == 10387  ||
428
                                           this.$store.getters.xt_user.template_info.org_id == 9990" prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
427
                                           this.$store.getters.xt_user.template_info.org_id == 9990" prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
429
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
428
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
430
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
429
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
431
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
430
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
432
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
431
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
433
                             </el-form-item>
432
                             </el-form-item>
434
-                           
435
-             
436
-                           
433
+
434
+
435
+
437
                           </div>
436
                           </div>
438
                           <div v-else>
437
                           <div v-else>
439
                             <el-form-item :label="'维持(iu/h) : '" prop="anticoagulant_weichi" :rules="isCheckmust('维持')"
438
                             <el-form-item :label="'维持(iu/h) : '" prop="anticoagulant_weichi" :rules="isCheckmust('维持')"
450
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
449
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
451
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
450
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
452
                             </el-form-item>
451
                             </el-form-item>
453
-                           
454
-                           
455
-                
452
+
453
+
454
+
456
                           </div>
455
                           </div>
457
                         </div>
456
                         </div>
458
 
457
 
459
 
458
 
460
                         <div v-else>
459
                         <div v-else>
461
-                            <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'维持(mg/h) : '" 
460
+                            <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'维持(mg/h) : '"
462
                             prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
461
                             prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
463
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
462
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
464
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
463
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
465
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
464
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
466
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
465
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
467
                             </el-form-item>
466
                             </el-form-item>
468
-                            <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" v-else 
467
+                            <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" v-else
469
                             prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
468
                             prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
470
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
469
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
471
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
470
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
482
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.zongliang != -1 && isShows('总量') && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
481
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.zongliang != -1 && isShows('总量') && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
483
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 9675 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471">
482
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 9675 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471">
484
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387">
483
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387">
485
-                            <el-form-item 
484
+                            <el-form-item
486
                                     v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 9990'
485
                                     v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 9990'
487
                                     :label="'总量(' + anticoagulant.zongliang_unit + ') : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
486
                                     :label="'总量(' + anticoagulant.zongliang_unit + ') : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
488
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
487
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
490
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
489
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
491
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
490
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
492
                             </el-form-item>
491
                             </el-form-item>
493
-                            <el-form-item 
492
+                            <el-form-item
494
                                     v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38||  this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.template_id == 54 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10387'
493
                                     v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38||  this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.template_id == 54 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10387'
495
                                     :label="'总量(mg) : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
494
                                     :label="'总量(mg) : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
496
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
495
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
507
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
506
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
508
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
507
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
509
                             </el-form-item>
508
                             </el-form-item>
510
-                            <el-form-item 
511
-                                    v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant!=7" 
509
+                            <el-form-item
510
+                                    v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant!=7"
512
                                     :label="'总量(iu)'" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
511
                                     :label="'总量(iu)'" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
513
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
512
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
514
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
513
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
551
                         </div>
550
                         </div>
552
 
551
 
553
                     </el-col>
552
                     </el-col>
554
-                    
553
+
555
                     <el-col :span="8"
554
                     <el-col :span="8"
556
                             v-if="isShows('开药数量')">
555
                             v-if="isShows('开药数量')">
557
                         <el-form-item label="开药数量(支):" prop="prescribing_number" :rules="isCheckmust('开药数量')">
556
                         <el-form-item label="开药数量(支):" prop="prescribing_number" :rules="isCheckmust('开药数量')">
559
                         </el-form-item>
558
                         </el-form-item>
560
                     </el-col>
559
                     </el-col>
561
 
560
 
562
-<!-- dialysisPrescription.mode_id -->
563
-                    <el-col :span="8" 
561
+
562
+                    <el-col :span="8"
564
                             v-if="isShows('置换量') && ((this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 46 || this.$store.getters.xt_user.template_info.template_id == 53)&& this.$store.getters.xt_user.template_info.org_id!=10441)"
563
                             v-if="isShows('置换量') && ((this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 46 || this.$store.getters.xt_user.template_info.template_id == 53)&& this.$store.getters.xt_user.template_info.org_id!=10441)"
565
                             v-show="zhiShow">
564
                             v-show="zhiShow">
566
-                        <el-form-item label="置换量(ml):" prop="replacement_total" :rules="isSubstitution('置换量')">
565
+                        <el-form-item label="置换量(ml):" prop="replacement_total" :rules="isCheckmust('置换量')">
567
                             <el-input
566
                             <el-input
568
                                     type="number"
567
                                     type="number"
569
                                     v-model="dialysisPrescription.replacement_total"
568
                                     v-model="dialysisPrescription.replacement_total"
572
                     </el-col>
571
                     </el-col>
573
                     <el-col :span="8"
572
                     <el-col :span="8"
574
                             v-if="isShows('置换量') && (this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 46 && this.$store.getters.xt_user.template_info.template_id != 53) || this.$store.getters.xt_user.template_info.org_id == 10441"
573
                             v-if="isShows('置换量') && (this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 46 && this.$store.getters.xt_user.template_info.template_id != 53) || this.$store.getters.xt_user.template_info.org_id == 10441"
575
-                           v-show="zhiShow">
576
-                           <!--   -->
577
-                        <el-form-item label="置换量(L):" prop="replacement_total" :rules="isSubstitution('置换量')">
574
+                            v-show="zhiShow">
575
+                        <el-form-item label="置换量(L):" prop="replacement_total" :rules="isCheckmust('置换量')">
578
                             <el-input
576
                             <el-input
579
                                     type="number"
577
                                     type="number"
580
                                     v-model="dialysisPrescription.replacement_total"
578
                                     v-model="dialysisPrescription.replacement_total"
582
                         </el-form-item>
580
                         </el-form-item>
583
                     </el-col>
581
                     </el-col>
584
 
582
 
585
-                    
586
-                    <el-col :span="8" v-if="isShows('置换速度')" v-show="totalShow"><!-- substitution isCheckmust-->
587
-                        <el-form-item label="置换速度(ml/min)" prop="displace_speed" :rules="isSubstitution('置换速度')">
583
+
584
+                    <el-col :span="8" v-if="isShows('置换速度')" v-show="totalShow">
585
+                        <el-form-item label="置换速度(ml/min)" prop="displace_speed" :rules="isCheckmust('置换速度')">
588
                             <el-input
586
                             <el-input
589
                                     v-model="dialysisPrescription.displace_speed"
587
                                     v-model="dialysisPrescription.displace_speed"
590
                             ></el-input>
588
                             ></el-input>
606
                             :span="8"
604
                             :span="8"
607
                             v-if="isShows('钙剂量')"
605
                             v-if="isShows('钙剂量')"
608
                     ></el-col>
606
                     ></el-col>
609
-                    
607
+
610
                     <el-col :span="8" v-if="isShows('钙剂量')" >
608
                     <el-col :span="8" v-if="isShows('钙剂量')" >
611
                         <el-form-item label="钙剂量(ml) : " prop="anticoagulant_gaijiliang" :rules="isCheckmust('钙剂量')">
609
                         <el-form-item label="钙剂量(ml) : " prop="anticoagulant_gaijiliang" :rules="isCheckmust('钙剂量')">
612
                             <el-input
610
                             <el-input
616
                             ></el-input>
614
                             ></el-input>
617
                         </el-form-item>
615
                         </el-form-item>
618
                     </el-col>
616
                     </el-col>
619
-                    
617
+
620
                     <el-col :span="8" v-if="isShows('钾')">
618
                     <el-col :span="8" v-if="isShows('钾')">
621
                         <el-form-item label="钾(mmol/L): " prop="kalium" :rules="isCheckmust('钾')">
619
                         <el-form-item label="钾(mmol/L): " prop="kalium" :rules="isCheckmust('钾')">
622
                             <el-input
620
                             <el-input
687
                             ></el-input>
685
                             ></el-input>
688
                         </el-form-item>
686
                         </el-form-item>
689
                     </el-col>
687
                     </el-col>
690
-                    
688
+
691
                     <el-col :span="8" v-if="isShows('透析器/灌流器')" >
689
                     <el-col :span="8" v-if="isShows('透析器/灌流器')" >
692
                         <el-form-item label="透析器/灌流器" prop="dialyzer_perfusion_apparatus" :rules="isCheckmust('透析器/灌流器')">
690
                         <el-form-item label="透析器/灌流器" prop="dialyzer_perfusion_apparatus" :rules="isCheckmust('透析器/灌流器')">
693
                             <el-input v-model="dialysisPrescription.dialyzer_perfusion_apparatus"
691
                             <el-input v-model="dialysisPrescription.dialyzer_perfusion_apparatus"
716
                                       @focus="showInnerDialog('12')"></el-input>
714
                                       @focus="showInnerDialog('12')"></el-input>
717
                         </el-form-item>
715
                         </el-form-item>
718
                     </el-col>
716
                     </el-col>
719
-                    
720
-                    <el-col :span="8" v-if="isShows('血浆分离器')"> 
717
+
718
+                    <el-col :span="8" v-if="isShows('血浆分离器')">
721
                         <el-form-item label="血浆分离器:" prop="plasma_separator" :rules="isCheckmust('血浆分离器')">
719
                         <el-form-item label="血浆分离器:" prop="plasma_separator" :rules="isCheckmust('血浆分离器')">
722
                             <el-input v-model="dialysisPrescription.plasma_separator"
720
                             <el-input v-model="dialysisPrescription.plasma_separator"
723
                                       @focus="showInnerDialog('9')"></el-input>
721
                                       @focus="showInnerDialog('9')"></el-input>
793
                                 prop="displace_liqui_part"
791
                                 prop="displace_liqui_part"
794
                                 :rules="isCheckmust('置换液')"
792
                                 :rules="isCheckmust('置换液')"
795
                         >
793
                         >
796
-                        <!--  -->
797
                             <el-select
794
                             <el-select
798
                                     v-model="dialysisPrescription.displace_liqui_part"
795
                                     v-model="dialysisPrescription.displace_liqui_part"
799
                                     placeholder="请选择"
796
                                     placeholder="请选择"
897
                             <el-input v-model="dialysisPrescription.amylaceum"></el-input>
894
                             <el-input v-model="dialysisPrescription.amylaceum"></el-input>
898
                         </el-form-item>
895
                         </el-form-item>
899
                     </el-col>
896
                     </el-col>
900
-                    
897
+
901
                     <el-col :span="8" v-if="isShows('吸氧')">
898
                     <el-col :span="8" v-if="isShows('吸氧')">
902
                         <el-form-item label="吸氧:" prop="oxygen_uptake" :rules="isCheckmust('吸氧')">
899
                         <el-form-item label="吸氧:" prop="oxygen_uptake" :rules="isCheckmust('吸氧')">
903
                             <el-select v-model="dialysisPrescription.oxygen_uptake" placeholder="请选择"
900
                             <el-select v-model="dialysisPrescription.oxygen_uptake" placeholder="请选择"
1007
 
1004
 
1008
 
1005
 
1009
                 </el-row>
1006
                 </el-row>
1010
-                   
1007
+
1011
                 <el-row :gutter="20">
1008
                 <el-row :gutter="20">
1012
                   <el-col :span="24" v-if="isShows('透析备注') && (dialysisPrescription.mode_id == 2 || dialysisPrescription.mode_id == 3 || dialysisPrescription.mode_id == 4)">
1009
                   <el-col :span="24" v-if="isShows('透析备注') && (dialysisPrescription.mode_id == 2 || dialysisPrescription.mode_id == 3 || dialysisPrescription.mode_id == 4)">
1013
                     <el-form-item label="透析备注:" prop="value" :rules="isCheckmust('透析备注')">
1010
                     <el-form-item label="透析备注:" prop="value" :rules="isCheckmust('透析备注')">
1045
                     </el-col>
1042
                     </el-col>
1046
                     <el-col :span="8"  v-if="isShows('开始钠')">
1043
                     <el-col :span="8"  v-if="isShows('开始钠')">
1047
                         <el-form-item label="开始钠: " prop="start_sodium" :rules="isCheckmust('开始钠')">
1044
                         <el-form-item label="开始钠: " prop="start_sodium" :rules="isCheckmust('开始钠')">
1048
-                            <el-input    
1045
+                            <el-input
1049
                                 v-model="dialysisPrescription.start_sodium"
1046
                                 v-model="dialysisPrescription.start_sodium"
1050
                                 :rows="5"
1047
                                 :rows="5"
1051
                             ></el-input>
1048
                             ></el-input>
1065
                   <el-col :span="8" v-if="isShows('透析液流速')">
1062
                   <el-col :span="8" v-if="isShows('透析液流速')">
1066
                         <el-form-item label="透析液流速(ml/h):" prop="dialysis_fluid_flow" :rules="isCheckmust('透析液流速')">
1063
                         <el-form-item label="透析液流速(ml/h):" prop="dialysis_fluid_flow" :rules="isCheckmust('透析液流速')">
1067
                             <el-input
1064
                             <el-input
1068
-                                  
1065
+
1069
                                     v-model="dialysisPrescription.dialysis_fluid_flow"
1066
                                     v-model="dialysisPrescription.dialysis_fluid_flow"
1070
                                     :rows="5"
1067
                                     :rows="5"
1071
                             ></el-input>
1068
                             ></el-input>
1106
                     </el-col>
1103
                     </el-col>
1107
                 </el-row>
1104
                 </el-row>
1108
             </el-form>
1105
             </el-form>
1109
-            
1106
+
1110
             <span slot="footer" class="dialog-footer">
1107
             <span slot="footer" class="dialog-footer">
1111
         <el-button @click="handleCancle">取 消</el-button>
1108
         <el-button @click="handleCancle">取 消</el-button>
1112
                 <!-- <el-button type="primary" @click="handleCommit" v-if="isPermission()">保 存</el-button> -->
1109
                 <!-- <el-button type="primary" @click="handleCommit" v-if="isPermission()">保 存</el-button> -->
1678
         zongliang:"",
1675
         zongliang:"",
1679
         educationList:[],
1676
         educationList:[],
1680
         value:"",
1677
         value:"",
1681
-
1682
       }
1678
       }
1683
-      
1679
+
1684
     },
1680
     },
1685
     methods: {
1681
     methods: {
1686
       changeOxygenList(val) {
1682
       changeOxygenList(val) {
1698
 
1694
 
1699
       },
1695
       },
1700
       showInnerDialog: function(val) {
1696
       showInnerDialog: function(val) {
1701
-       
1697
+
1702
         this.InnerDialogProps.visibility = true
1698
         this.InnerDialogProps.visibility = true
1703
         switch (val) {
1699
         switch (val) {
1704
           case '5': // 透析器/灌流器
1700
           case '5': // 透析器/灌流器
1706
             this.InnerDialogProps.values = this.dialyzerPerfusionApparatus
1702
             this.InnerDialogProps.values = this.dialyzerPerfusionApparatus
1707
             this.InnerDialogProps.titles = '透析器/灌流器'
1703
             this.InnerDialogProps.titles = '透析器/灌流器'
1708
             this.InnerDialogProps.type = 'dialyzer_perfusion_apparatus'
1704
             this.InnerDialogProps.type = 'dialyzer_perfusion_apparatus'
1709
-           
1705
+
1710
             this.InnerDialogProps.selected = this.dialysisPrescription.dialyzer_perfusion_apparatus
1706
             this.InnerDialogProps.selected = this.dialysisPrescription.dialyzer_perfusion_apparatus
1711
             this.InnerDialogProps.isShowTextArea = false
1707
             this.InnerDialogProps.isShowTextArea = false
1712
             break
1708
             break
1779
         }
1775
         }
1780
       },
1776
       },
1781
       innerDialogComfirm: function(val) {
1777
       innerDialogComfirm: function(val) {
1782
-      
1778
+
1783
 
1779
 
1784
         this.InnerDialogProps.visibility = false
1780
         this.InnerDialogProps.visibility = false
1785
         switch (val.type) {
1781
         switch (val.type) {
1794
                    }
1790
                    }
1795
                 }
1791
                 }
1796
               }
1792
               }
1797
-            } 
1793
+            }
1798
             if(newArr!=null && newArr.length>0){
1794
             if(newArr!=null && newArr.length>0){
1799
-              
1795
+
1800
               this.dialysisPrescription.dialyzer_perfusion_apparatus = newArr.join(',')
1796
               this.dialysisPrescription.dialyzer_perfusion_apparatus = newArr.join(',')
1801
             }else{
1797
             }else{
1802
               this.dialysisPrescription.dialyzer_perfusion_apparatus = ""
1798
               this.dialysisPrescription.dialyzer_perfusion_apparatus = ""
1803
             }
1799
             }
1804
-           
1800
+
1805
             break
1801
             break
1806
           case 'blood':
1802
           case 'blood':
1807
-            
1803
+
1808
             this.dialysisPrescription.blood = val.value.join(',')
1804
             this.dialysisPrescription.blood = val.value.join(',')
1809
             break
1805
             break
1810
           case 'dialyzers':
1806
           case 'dialyzers':
1811
-            
1807
+
1812
             var newArr = []
1808
             var newArr = []
1813
             if(this.dialyzers!=null && this.dialyzers.length >0){
1809
             if(this.dialyzers!=null && this.dialyzers.length >0){
1814
               for(let i=0;i<this.dialyzers.length;i++){
1810
               for(let i=0;i<this.dialyzers.length;i++){
1824
             }else{
1820
             }else{
1825
               this.dialysisPrescription.dialysis_dialyszers = ""
1821
               this.dialysisPrescription.dialysis_dialyszers = ""
1826
             }
1822
             }
1827
-            
1823
+
1828
             break
1824
             break
1829
           case 'irrigations':
1825
           case 'irrigations':
1830
             var newArr = []
1826
             var newArr = []
1842
             }else{
1838
             }else{
1843
               this.dialysisPrescription.dialysis_irrigation = ""
1839
               this.dialysisPrescription.dialysis_irrigation = ""
1844
             }
1840
             }
1845
-            
1841
+
1846
             break
1842
             break
1847
           case 'plasma_separator':
1843
           case 'plasma_separator':
1848
             this.dialysisPrescription.plasma_separator = val.value.join(',')
1844
             this.dialysisPrescription.plasma_separator = val.value.join(',')
2334
        }else{
2330
        }else{
2335
           this.dialysisPrescription.admin_user_id = prescription.admin_user_id
2331
           this.dialysisPrescription.admin_user_id = prescription.admin_user_id
2336
        }
2332
        }
2337
-      
2333
+
2338
        this.adminRoles = []
2334
        this.adminRoles = []
2339
         if(admins.length > 0 ){
2335
         if(admins.length > 0 ){
2340
           for(let i=0;i<admins.length;i++){
2336
           for(let i=0;i<admins.length;i++){
2519
           this.zhiShow = true
2515
           this.zhiShow = true
2520
           this.huShow = true
2516
           this.huShow = true
2521
           this.totalShow = true
2517
           this.totalShow = true
2522
-          
2523
         } else if (
2518
         } else if (
2524
           pre.mode_id == 1 ||
2519
           pre.mode_id == 1 ||
2525
           pre.mode_id == 3 ||
2520
           pre.mode_id == 3 ||
2537
           this.zhiShow = false
2532
           this.zhiShow = false
2538
           this.huShow = false
2533
           this.huShow = false
2539
           this.totalShow = false
2534
           this.totalShow = false
2540
-         
2535
+
2541
         }
2536
         }
2542
         this.pre = pre
2537
         this.pre = pre
2543
         // console.log("pre1", pre);
2538
         // console.log("pre1", pre);
2565
             }
2560
             }
2566
         }
2561
         }
2567
         if (this.predialysis == null || this.predialysis.id == 0) {
2562
         if (this.predialysis == null || this.predialysis.id == 0) {
2568
-          
2563
+
2569
           if (last != null) {
2564
           if (last != null) {
2570
 
2565
 
2571
             this.dialysisPrescription.niprocart = last.niprocart
2566
             this.dialysisPrescription.niprocart = last.niprocart
2586
             if(this.$store.getters.xt_user.template_info.org_id!=10013  && this.$store.getters.xt_user.template_info.org_id!=10014){
2581
             if(this.$store.getters.xt_user.template_info.org_id!=10013  && this.$store.getters.xt_user.template_info.org_id!=10014){
2587
               this.remark = last.remark
2582
               this.remark = last.remark
2588
             }
2583
             }
2589
-           
2584
+
2590
             weight_before = 0
2585
             weight_before = 0
2591
 
2586
 
2592
           }
2587
           }
2593
 
2588
 
2594
         } else {
2589
         } else {
2595
           weight_before = this.predialysis.weight_before
2590
           weight_before = this.predialysis.weight_before
2596
-          
2591
+
2597
         }
2592
         }
2598
 
2593
 
2599
 
2594
 
2625
         if(moment().weekday() == 6){
2620
         if(moment().weekday() == 6){
2626
            total_day ="周六"
2621
            total_day ="周六"
2627
         }
2622
         }
2628
-        if(moment().weekday() == 7){
2623
+        if(moment().weekday() == 0){
2629
            total_day ="周日"
2624
            total_day ="周日"
2630
         }
2625
         }
2631
         console.log("---------",this.targetAdvices)
2626
         console.log("---------",this.targetAdvices)
2637
             }
2632
             }
2638
         }
2633
         }
2639
         for (let i = 0; i < this.targetAdvices.length; i++) {
2634
         for (let i = 0; i < this.targetAdvices.length; i++) {
2640
-         
2635
+
2641
           if (this.targetAdvices[i].isCheck == 1) {
2636
           if (this.targetAdvices[i].isCheck == 1) {
2642
             this.checkedCities.push(this.targetAdvices[i].id)
2637
             this.checkedCities.push(this.targetAdvices[i].id)
2643
           }
2638
           }
2714
                   this.dialysisPrescription.displace_liqui_part == 0 ||
2709
                   this.dialysisPrescription.displace_liqui_part == 0 ||
2715
                   this.dialysisPrescription.displace_liqui_part == -2 ||
2710
                   this.dialysisPrescription.displace_liqui_part == -2 ||
2716
                   this.dialysisPrescription.displace_liqui_value == 0 ||
2711
                   this.dialysisPrescription.displace_liqui_value == 0 ||
2717
-                  this.dialysisPrescription.displace_liqui_value == '' 
2712
+                  this.dialysisPrescription.displace_liqui_value == ''
2718
                   || this.dialysisPrescription.replacement_total == 0 ||
2713
                   || this.dialysisPrescription.replacement_total == 0 ||
2719
                   this.dialysisPrescription.replacement_total == '' ||
2714
                   this.dialysisPrescription.replacement_total == '' ||
2720
                   this.dialysisPrescription.displace_speed == 0 ||
2715
                   this.dialysisPrescription.displace_speed == 0 ||
2721
-                  this.dialysisPrescription.displace_speed == '' 
2716
+                  this.dialysisPrescription.displace_speed == ''
2722
                 ) {
2717
                 ) {
2723
                   this.$message.error('HDF模式下置换液和置换液总量不能为空!')
2718
                   this.$message.error('HDF模式下置换液和置换液总量不能为空!')
2724
                   return
2719
                   return
2725
                 }
2720
                 }
2726
               }
2721
               }
2727
-              
2722
+
2728
             }
2723
             }
2729
             if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12){
2724
             if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12){
2730
               this.dialysisPrescription.displace_liqui_part = 0
2725
               this.dialysisPrescription.displace_liqui_part = 0
2731
               this.dialysisPrescription.displace_liqui_value = 0
2726
               this.dialysisPrescription.displace_liqui_value = 0
2732
               this.dialysisPrescription.replacement_total = 0
2727
               this.dialysisPrescription.replacement_total = 0
2733
-              this.dialysisPrescription.displace_speed = 0 
2728
+              this.dialysisPrescription.displace_speed = 0
2734
               console.log('this.dialysisPrescription.displace_liqui_part',this.dialysisPrescription.displace_liqui_part);
2729
               console.log('this.dialysisPrescription.displace_liqui_part',this.dialysisPrescription.displace_liqui_part);
2735
               console.log('this.dialysisPrescription.replacement_total',this.dialysisPrescription.replacement_total);
2730
               console.log('this.dialysisPrescription.replacement_total',this.dialysisPrescription.replacement_total);
2736
-              
2737
-            } 
2731
+
2732
+            }
2738
 
2733
 
2739
             this.is_pre = 1
2734
             this.is_pre = 1
2740
 
2735
 
3203
             return false;
3198
             return false;
3204
           }
3199
           }
3205
         })
3200
         })
3206
-        
3201
+
3207
       },
3202
       },
3208
       handleCancle: function() {
3203
       handleCancle: function() {
3209
         this.hide()
3204
         this.hide()
3223
                     this.dialysisPrescription.displace_liqui_part == 0 ||
3218
                     this.dialysisPrescription.displace_liqui_part == 0 ||
3224
                     this.dialysisPrescription.displace_liqui_part == -2 ||
3219
                     this.dialysisPrescription.displace_liqui_part == -2 ||
3225
                     this.dialysisPrescription.displace_liqui_value == 0 ||
3220
                     this.dialysisPrescription.displace_liqui_value == 0 ||
3226
-                    this.dialysisPrescription.displace_liqui_value == '' 
3221
+                    this.dialysisPrescription.displace_liqui_value == ''
3227
                     || this.dialysisPrescription.replacement_total == 0 ||
3222
                     || this.dialysisPrescription.replacement_total == 0 ||
3228
                     this.dialysisPrescription.replacement_total == ''||
3223
                     this.dialysisPrescription.replacement_total == ''||
3229
                     this.dialysisPrescription.displace_speed == 0 ||
3224
                     this.dialysisPrescription.displace_speed == 0 ||
3230
-                    this.dialysisPrescription.displace_speed == '' 
3225
+                    this.dialysisPrescription.displace_speed == ''
3231
                   ) {
3226
                   ) {
3232
                     this.$message.error('HDF模式下置换液和置换液总量不能为空!')
3227
                     this.$message.error('HDF模式下置换液和置换液总量不能为空!')
3233
                     return
3228
                     return
3234
                   }
3229
                   }
3235
                 }
3230
                 }
3236
                 if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12){
3231
                 if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12){
3237
-                  this.dialysisPrescription.displace_liqui_part == 0 
3232
+                  this.dialysisPrescription.displace_liqui_part == 0
3238
                   this.dialysisPrescription.displace_liqui_value == 0
3233
                   this.dialysisPrescription.displace_liqui_value == 0
3239
                   this.dialysisPrescription.replacement_total == 0
3234
                   this.dialysisPrescription.replacement_total == 0
3240
-                  this.dialysisPrescription.displace_speed == 0 
3235
+                  this.dialysisPrescription.displace_speed == 0
3241
                   console.log('this.dialysisPrescription.displace_liqui_part',this.dialysisPrescription.displace_liqui_part);
3236
                   console.log('this.dialysisPrescription.displace_liqui_part',this.dialysisPrescription.displace_liqui_part);
3242
                   console.log('this.dialysisPrescription.replacement_total',this.dialysisPrescription.replacement_total);
3237
                   console.log('this.dialysisPrescription.replacement_total',this.dialysisPrescription.replacement_total);
3243
-                  // this.dialysisPrescription.displace_liqui_part = 0 
3238
+                  // this.dialysisPrescription.displace_liqui_part = 0
3244
                   // this.dialysisPrescription.displace_liqui_value = 0
3239
                   // this.dialysisPrescription.displace_liqui_value = 0
3245
                   // this.dialysisPrescription.replacement_total = 0
3240
                   // this.dialysisPrescription.replacement_total = 0
3246
-                  // this.dialysisPrescription.displace_speed = 0 
3241
+                  // this.dialysisPrescription.displace_speed = 0
3247
                 }
3242
                 }
3248
               }
3243
               }
3249
 
3244
 
3250
-              this.is_pre = 2
3245
+          this.is_pre = 2
3251
 
3246
 
3252
               if (this.prescription.id == 0) {
3247
               if (this.prescription.id == 0) {
3253
                 if (this.is_open == 0) {
3248
                 if (this.is_open == 0) {
3754
         var filedList = store.getters.xt_user.fileds
3749
         var filedList = store.getters.xt_user.fileds
3755
         for (let i = 0; i < filedList.length; i++) {
3750
         for (let i = 0; i < filedList.length; i++) {
3756
           if (filedList[i].module == 1 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
3751
           if (filedList[i].module == 1 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
3757
-
3758
             return true
3752
             return true
3759
           }
3753
           }
3760
-
3761
         }
3754
         }
3762
         return false
3755
         return false
3763
       },
3756
       },
3785
             ];
3778
             ];
3786
           }
3779
           }
3787
           return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
3780
           return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
3788
-          
3781
+
3789
         }
3782
         }
3790
       }
3783
       }
3791
     },
3784
     },
3800
           filedList[i].is_show == 1
3793
           filedList[i].is_show == 1
3801
         ) {
3794
         ) {
3802
           return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
3795
           return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
3803
-          
3796
+
3804
         }
3797
         }
3805
       }
3798
       }
3806
     },
3799
     },
3826
               ];
3819
               ];
3827
             }
3820
             }
3828
             return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
3821
             return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
3829
-            
3822
+
3830
           }
3823
           }
3831
         }
3824
         }
3832
       }else{
3825
       }else{
3833
         return [{required: false}]
3826
         return [{required: false}]
3834
       }
3827
       }
3835
-      
3828
+
3836
     },
3829
     },
3837
 
3830
 
3838
     getDoctorName(doctor_id) {
3831
     getDoctorName(doctor_id) {
3932
         this.dialysisPrescription.replacement_total = ""
3925
         this.dialysisPrescription.replacement_total = ""
3933
         this.dialysisPrescription.displace_speed = ""
3926
         this.dialysisPrescription.displace_speed = ""
3934
       }
3927
       }
3935
-      
3928
+
3936
       const ParamsQuery = {}
3929
       const ParamsQuery = {}
3937
       ParamsQuery['patient_id'] = this.$route.query.patient_id
3930
       ParamsQuery['patient_id'] = this.$route.query.patient_id
3938
       ParamsQuery['mode_id'] = id
3931
       ParamsQuery['mode_id'] = id
3944
           console.log('切换数据', response.data.data.solution)
3937
           console.log('切换数据', response.data.data.solution)
3945
           this.$message.success('切换成功')
3938
           this.$message.success('切换成功')
3946
           console.log("dialysisPrescription",response.data.data.dialysisPrescription)
3939
           console.log("dialysisPrescription",response.data.data.dialysisPrescription)
3947
-          
3940
+
3948
           if (response.data.data.solution != null) {
3941
           if (response.data.data.solution != null) {
3949
             for (const key in response.data.data.solution) {
3942
             for (const key in response.data.data.solution) {
3950
               // 长期处方不为空
3943
               // 长期处方不为空
4008
           }
4001
           }
4009
 
4002
 
4010
           if(response.data.data.dialysisPrescription!=null){
4003
           if(response.data.data.dialysisPrescription!=null){
4011
-              this.dialysisPrescription.remark =  response.data.data.dialysisPrescription.remark 
4004
+              this.dialysisPrescription.remark =  response.data.data.dialysisPrescription.remark
4012
           }
4005
           }
4013
         }
4006
         }
4014
         if (response.data.data.solution == null) {
4007
         if (response.data.data.solution == null) {
4250
         if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
4243
         if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
4251
           this.dialysisPrescription.anticoagulant_zongliang = ''
4244
           this.dialysisPrescription.anticoagulant_zongliang = ''
4252
         }
4245
         }
4253
-    
4246
+
4254
       if(this.$store.getters.xt_user.template_info.template_id == 41 && this.dialysisPrescription.anticoagulant == 2){
4247
       if(this.$store.getters.xt_user.template_info.template_id == 41 && this.dialysisPrescription.anticoagulant == 2){
4255
           this.dialysisPrescription.anticoagulant_zongliang = ""
4248
           this.dialysisPrescription.anticoagulant_zongliang = ""
4256
           this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) +  parseInt(this.dialysisPrescription.anticoagulant_weichi)
4249
           this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) +  parseInt(this.dialysisPrescription.anticoagulant_weichi)
4257
        }
4250
        }
4258
- 
4251
+
4259
       },
4252
       },
4260
       'dialysisPrescription.anticoagulant_weichi': function() {
4253
       'dialysisPrescription.anticoagulant_weichi': function() {
4261
         let dialysis_duration_minute = 0
4254
         let dialysis_duration_minute = 0
4287
          this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) +  parseInt(this.dialysisPrescription.anticoagulant_weichi)
4280
          this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) +  parseInt(this.dialysisPrescription.anticoagulant_weichi)
4288
        }
4281
        }
4289
         this.zongliang =  this.dialysisPrescription.anticoagulant_zongliang
4282
         this.zongliang =  this.dialysisPrescription.anticoagulant_zongliang
4290
-     
4283
+
4291
       },
4284
       },
4292
-   
4293
-   
4285
+
4286
+
4294
       'prescription.id': {
4287
       'prescription.id': {
4295
         immediate: true,
4288
         immediate: true,
4296
         deep: true,
4289
         deep: true,
4678
         if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
4671
         if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
4679
           this.dialysisPrescription.anticoagulant_zongliang = ''
4672
           this.dialysisPrescription.anticoagulant_zongliang = ''
4680
         }
4673
         }
4681
-    
4674
+
4682
       if(this.$store.getters.xt_user.template_info.template_id == 41 && this.dialysisPrescription.anticoagulant == 2){
4675
       if(this.$store.getters.xt_user.template_info.template_id == 41 && this.dialysisPrescription.anticoagulant == 2){
4683
           this.dialysisPrescription.anticoagulant_zongliang = ""
4676
           this.dialysisPrescription.anticoagulant_zongliang = ""
4684
           this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) +  parseInt(this.dialysisPrescription.anticoagulant_weichi)
4677
           this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) +  parseInt(this.dialysisPrescription.anticoagulant_weichi)
4685
        }
4678
        }
4686
- 
4679
+
4687
       },
4680
       },
4688
       'dialysisPrescription.reduce_amount': function() {
4681
       'dialysisPrescription.reduce_amount': function() {
4689
         let dialysis_duration_minute = 0
4682
         let dialysis_duration_minute = 0
4717
         if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
4710
         if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
4718
           this.dialysisPrescription.anticoagulant_zongliang = ''
4711
           this.dialysisPrescription.anticoagulant_zongliang = ''
4719
         }
4712
         }
4720
-    
4713
+
4721
       if(this.$store.getters.xt_user.template_info.template_id == 41 && this.dialysisPrescription.anticoagulant == 2){
4714
       if(this.$store.getters.xt_user.template_info.template_id == 41 && this.dialysisPrescription.anticoagulant == 2){
4722
           this.dialysisPrescription.anticoagulant_zongliang = ""
4715
           this.dialysisPrescription.anticoagulant_zongliang = ""
4723
           this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) +  parseInt(this.dialysisPrescription.anticoagulant_weichi)
4716
           this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) +  parseInt(this.dialysisPrescription.anticoagulant_weichi)
4724
        }
4717
        }
4725
- 
4718
+
4726
       },
4719
       },
4727
       stockType: function() {
4720
       stockType: function() {
4728
         console.log('stockType', this.stockType)
4721
         console.log('stockType', this.stockType)
4756
           }
4749
           }
4757
         }
4750
         }
4758
         this.irrigations = irrigation
4751
         this.irrigations = irrigation
4759
-        
4752
+
4760
         for(let i=0;i<arrThree.length;i++){
4753
         for(let i=0;i<arrThree.length;i++){
4761
           for (let j = 0; j < arrThree[i].GoodInfo.length; j++) {
4754
           for (let j = 0; j < arrThree[i].GoodInfo.length; j++) {
4762
             dialysis_strainer.push(arrThree[i].GoodInfo[j])
4755
             dialysis_strainer.push(arrThree[i].GoodInfo[j])
4763
           }
4756
           }
4764
         }
4757
         }
4765
-       
4758
+
4766
         this.dialysisStrainerList = dialysis_strainer
4759
         this.dialysisStrainerList = dialysis_strainer
4767
       },
4760
       },
4768
-      
4761
+
4769
       admin_user_id:function(){
4762
       admin_user_id:function(){
4770
         console.log("处方医生",this.admins)
4763
         console.log("处方医生",this.admins)
4771
         if(this.admins.length > 0 ){
4764
         if(this.admins.length > 0 ){
4777
       }
4770
       }
4778
     },
4771
     },
4779
     created() {
4772
     created() {
4773
+      console.log('weretrertf',this.dialysisPrescription.sodium);
4780
       console.log("schedual232323323232323232",this.adminRoles)
4774
       console.log("schedual232323323232323232",this.adminRoles)
4781
       this.illnessList = getDataConfig('hemodialysis', 'illness')
4775
       this.illnessList = getDataConfig('hemodialysis', 'illness')
4782
 
4776
 
4784
 
4778
 
4785
       this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis', 'bilirubin_adsorption_column')
4779
       this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis', 'bilirubin_adsorption_column')
4786
 
4780
 
4787
-      
4781
+
4788
       this.educationList = getDataConfig('dialysis_remark', 'dialysis_remark')
4782
       this.educationList = getDataConfig('dialysis_remark', 'dialysis_remark')
4789
       console.log("透析准备232323232323wo",this.educationList)
4783
       console.log("透析准备232323232323wo",this.educationList)
4790
     }
4784
     }

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

1
 <template>
1
 <template>
2
+   <div>
2
   <el-dialog
3
   <el-dialog
3
     title="双人核对"
4
     title="双人核对"
4
     :visible.sync="isVisibility"
5
     :visible.sync="isVisibility"
291
       >
292
       >
292
     </div>
293
     </div>
293
   </el-dialog>
294
   </el-dialog>
295
+
296
+
297
+
298
+    <el-dialog
299
+          title="提示"
300
+          :visible.sync="infoDialogVisible"
301
+          width="30%">
302
+          <span>
303
+           <el-form>
304
+             <el-row>
305
+               <span>申请日期:</span>
306
+                <span>
307
+                    <el-date-picker
308
+                      type="datetime"
309
+                      format="yyyy-MM-dd HH:mm"
310
+                      value-format="yyyy-MM-dd HH:mm"
311
+                      placeholder="选择时间"
312
+                      v-model="selected_date"
313
+                  ></el-date-picker>
314
+                </span>
315
+             </el-row>
316
+             <el-row>
317
+               <span>备注:</span>
318
+                <span>
319
+                   <el-input v-model="remark" style="width:200px"></el-input>
320
+                </span>
321
+             </el-row>
322
+           </el-form>
323
+         
324
+          </span>
325
+          <span slot="footer" class="dialog-footer">
326
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
327
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
328
+          </span>
329
+        </el-dialog>
330
+ </div>
331
+
332
+ 
333
+
334
+  
294
 </template>
335
 </template>
295
 
336
 
296
 <script>
337
 <script>
297
-import { postDoubleCheck, changeRole } from "@/api/dialysis";
338
+import { postDoubleCheck, changeRole,saveInformation } from "@/api/dialysis";
298
 import { uParseTime } from "@/utils/tools";
339
 import { uParseTime } from "@/utils/tools";
299
 import { parseTime } from "@/utils";
340
 import { parseTime } from "@/utils";
300
 import { getDataConfig } from "@/utils/data";
341
 import { getDataConfig } from "@/utils/data";
357
       displace_liqui_value: "置换液总量:",
398
       displace_liqui_value: "置换液总量:",
358
       job_number: "",
399
       job_number: "",
359
       org_id: 0,
400
       org_id: 0,
401
+      infoDialogVisible:false,
402
+      selected_date:"",
403
+      remark:""
360
     };
404
     };
361
   },
405
   },
362
   methods: {
406
   methods: {
510
           console.log(ParamsQuery, "提交参数");
554
           console.log(ParamsQuery, "提交参数");
511
           postDoubleCheck(ParamsQuery).then((response) => {
555
           postDoubleCheck(ParamsQuery).then((response) => {
512
             if (response.data.state == 0) {
556
             if (response.data.state == 0) {
557
+               if(response.data.code == 600000008){
558
+                this.infoDialogVisible = true
559
+              }
513
               this.$message.error(response.data.msg);
560
               this.$message.error(response.data.msg);
514
               return false;
561
               return false;
515
             } else {
562
             } else {
1841
           (nowMinutes < 10 ? "0" + nowMinutes : nowMinutes);
1888
           (nowMinutes < 10 ? "0" + nowMinutes : nowMinutes);
1842
       }
1889
       }
1843
     },
1890
     },
1891
+
1892
+   saveInformation(){
1893
+        var params = {
1894
+          selected_date:this.selected_date,
1895
+          patient_id:this.$route.query.patient_id,
1896
+          record_date:this.$route.query.date,
1897
+          module:5,
1898
+          remark:this.remark,
1899
+        }
1900
+        saveInformation(params).then(response=>{
1901
+           if(response.data.state == 1){
1902
+             var information = response.data.data.information
1903
+             this.$message.success("审核成功!")
1904
+             this.infoDialogVisible = false
1905
+           }
1906
+        })
1907
+      }
1844
   },
1908
   },
1845
   created() {
1909
   created() {
1846
     var date = this.$route.query && this.$route.query.date;
1910
     var date = this.$route.query && this.$route.query.date;

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

98
       v-on:dialog-comfirm="innerDialogComfirm"
98
       v-on:dialog-comfirm="innerDialogComfirm"
99
       v-on:dialog-cancle="innerDialogCancle"
99
       v-on:dialog-cancle="innerDialogCancle"
100
     ></multi-select-box>
100
     ></multi-select-box>
101
+    
101
 
102
 
103
+       <el-dialog
104
+          title="提示"
105
+          :visible.sync="infoDialogVisible"
106
+          width="30%">
107
+          <span>
108
+           <el-form>
109
+             <el-row>
110
+               <span>申请日期:</span>
111
+                <span>
112
+                    <el-date-picker
113
+                      type="datetime"
114
+                      format="yyyy-MM-dd HH:mm"
115
+                      value-format="yyyy-MM-dd HH:mm"
116
+                      placeholder="选择时间"
117
+                      v-model="selected_date"
118
+                  ></el-date-picker>
119
+                </span>
120
+             </el-row>
121
+             <el-row>
122
+               <span>备注:</span>
123
+                <span>
124
+                   <el-input v-model="remark" style="width:200px"></el-input>
125
+                </span>
126
+             </el-row>
127
+           </el-form>
128
+         
129
+          </span>
130
+          <span slot="footer" class="dialog-footer">
131
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
132
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
133
+          </span>
134
+        </el-dialog>
135
+  
102
   </div>
136
   </div>
103
 </template>
137
 </template>
104
 
138
 
105
 <script>
139
 <script>
106
   import axios from 'axios'
140
   import axios from 'axios'
107
   import { finishDialysis,PostModifyFinishDialysis } from '@/api/dialysis_record'
141
   import { finishDialysis,PostModifyFinishDialysis } from '@/api/dialysis_record'
142
+   import { saveInformation } from '@/api/dialysis'
108
   import { parseTime } from '@/utils'
143
   import { parseTime } from '@/utils'
109
   import multiSelectBox from './MultiSelectBox'
144
   import multiSelectBox from './MultiSelectBox'
110
   import request from '@/utils/request'
145
   import request from '@/utils/request'
149
         cruorOptions: [],
184
         cruorOptions: [],
150
         required:false,
185
         required:false,
151
         education:[],
186
         education:[],
187
+        infoDialogVisible:false,
188
+        selected_date:"",
189
+        pickerOptions: {
190
+          disabledDate(time) {
191
+            return time.getTime() > Date.now()
192
+          }
193
+        },
194
+        remark:""
152
        
195
        
153
       }
196
       }
154
     },
197
     },
378
             PostModifyFinishDialysis(ParamsQuery).then(response => {
421
             PostModifyFinishDialysis(ParamsQuery).then(response => {
379
               if (response.data.state == 0) {
422
               if (response.data.state == 0) {
380
                 this.$message.error(response.data.msg)
423
                 this.$message.error(response.data.msg)
381
-
424
+                 if(response.data.code == 600000008){
425
+                  this.infoDialogVisible = true
426
+                 }
382
                 return false;
427
                 return false;
383
               } else {
428
               } else {
384
                 this.$message.success("修改成功")
429
                 this.$message.success("修改成功")
432
 
477
 
433
               } else {
478
               } else {
434
                 this.$message.error(resp.msg)
479
                 this.$message.error(resp.msg)
480
+               if(response.data.code == 600000008){
481
+                  this.infoDialogVisible = true
482
+                }
435
               }
483
               }
436
             })
484
             })
437
           }else{
485
           }else{
522
       innerDialogCancle: function() {
570
       innerDialogCancle: function() {
523
         this.InnerDialogProps.visibility = false
571
         this.InnerDialogProps.visibility = false
524
       },
572
       },
573
+
574
+      saveInformation(){
575
+        var params = {
576
+          selected_date:this.selected_date,
577
+          patient_id:this.$route.query.patient_id,
578
+          record_date:this.$route.query.date,
579
+          module:1,
580
+          remark:this.remark,
581
+        }
582
+        console.log("params32222222222----",params)
583
+        saveInformation(params).then(response=>{
584
+           if(response.data.state == 1){
585
+             var information = response.data.data.information
586
+             this.$message.success("审核成功!")
587
+             this.infoDialogVisible = false
588
+           }
589
+        })
590
+      }
525
     }
591
     }
526
   }
592
   }
527
 </script>
593
 </script>

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

1754
       </div>
1754
       </div>
1755
       <!--</div>-->
1755
       <!--</div>-->
1756
     </el-dialog>
1756
     </el-dialog>
1757
+
1758
+  
1759
+    <el-dialog
1760
+          title="提示"
1761
+          :visible.sync="infoDialogVisible"
1762
+          width="30%">
1763
+          <span>
1764
+           <el-form>
1765
+             <el-row>
1766
+               <span>申请日期:</span>
1767
+                <span>
1768
+                    <el-date-picker
1769
+                      type="datetime"
1770
+                      format="yyyy-MM-dd HH:mm"
1771
+                      value-format="yyyy-MM-dd HH:mm"
1772
+                      placeholder="选择时间"
1773
+                      v-model="selected_date"
1774
+                  ></el-date-picker>
1775
+                </span>
1776
+             </el-row>
1777
+             <el-row>
1778
+               <span>备注:</span>
1779
+                <span>
1780
+                   <el-input v-model="remark" style="width:200px"></el-input>
1781
+                </span>
1782
+             </el-row>
1783
+           </el-form>
1784
+         
1785
+          </span>
1786
+          <span slot="footer" class="dialog-footer">
1787
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
1788
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
1789
+          </span>
1790
+        </el-dialog>
1791
+
1757
   </div>
1792
   </div>
1758
 </template>
1793
 </template>
1759
 
1794
 
1764
   editMonitor,
1799
   editMonitor,
1765
   postDelMonitorInfo,
1800
   postDelMonitorInfo,
1766
   getTodayMonitor,
1801
   getTodayMonitor,
1802
+  
1767
 } from "@/api/dialysis_record";
1803
 } from "@/api/dialysis_record";
1804
+ import { saveInformation } from '@/api/dialysis'
1768
 import store from "@/store";
1805
 import store from "@/store";
1769
 
1806
 
1770
 import request from "@/utils/request";
1807
 import request from "@/utils/request";
1854
       anticoagulantsConfit: {},
1891
       anticoagulantsConfit: {},
1855
       bloodPressureMmonitoringSite: [],
1892
       bloodPressureMmonitoringSite: [],
1856
       complicationList: [],
1893
       complicationList: [],
1894
+      infoDialogVisible:false,
1895
+      selected_date:"",
1896
+      remark:""
1857
     };
1897
     };
1858
   },
1898
   },
1859
   props: {
1899
   props: {
2727
           ? 0
2767
           ? 0
2728
           : parseFloat(this.form.dicarbonate);
2768
           : parseFloat(this.form.dicarbonate);
2729
             this.$message.error(resp.msg);
2769
             this.$message.error(resp.msg);
2770
+            if(response.data.code == 600000008){
2771
+              this.infoDialogVisible = true
2772
+             }
2730
           }
2773
           }
2731
         }
2774
         }
2732
       );
2775
       );
2815
           postDelMonitorInfo(params).then((response) => {
2858
           postDelMonitorInfo(params).then((response) => {
2816
             if (response.data.state == 0) {
2859
             if (response.data.state == 0) {
2817
               this.$message.error(response.data.msg);
2860
               this.$message.error(response.data.msg);
2861
+              if(response.data.code == 600000008){
2862
+                 this.infoDialogVisible = true
2863
+              }
2818
               return false;
2864
               return false;
2819
             } else {
2865
             } else {
2820
               const record_id = response.data.data.record_id;
2866
               const record_id = response.data.data.record_id;
2875
       }
2921
       }
2876
       return name;
2922
       return name;
2877
     },
2923
     },
2924
+
2925
+    saveInformation(){
2926
+        var params = {
2927
+          selected_date:this.selected_date,
2928
+          patient_id:this.$route.query.patient_id,
2929
+          record_date:this.$route.query.date,
2930
+          module:2,
2931
+          remark:this.remark,
2932
+        }
2933
+        saveInformation(params).then(response=>{
2934
+           if(response.data.state == 1){
2935
+             var information = response.data.data.information
2936
+             this.$message.success("审核成功!")
2937
+             this.infoDialogVisible = false
2938
+           }
2939
+        })
2940
+      }
2878
   },
2941
   },
2879
   watch: {
2942
   watch: {
2880
     patient: {
2943
     patient: {

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

1
 <template>
1
 <template>
2
+ <div>
2
   <el-dialog
3
   <el-dialog
3
     class="newDialog"
4
     class="newDialog"
4
     title="治疗小结"
5
     title="治疗小结"
152
         >保 存</el-button> <!--  -->
153
         >保 存</el-button> <!--  -->
153
     </div>
154
     </div>
154
   </el-dialog>
155
   </el-dialog>
156
+
157
+       <el-dialog
158
+          title="提示"
159
+          :visible.sync="infoDialogVisible"
160
+          width="30%">
161
+          <span>
162
+           <el-form>
163
+             <el-row>
164
+               <span>申请日期:</span>
165
+                <span>
166
+                    <el-date-picker
167
+                      type="datetime"
168
+                      format="yyyy-MM-dd HH:mm"
169
+                      value-format="yyyy-MM-dd HH:mm"
170
+                      placeholder="选择时间"
171
+                      v-model="selected_date"
172
+                  ></el-date-picker>
173
+                </span>
174
+             </el-row>
175
+             <el-row>
176
+               <span>备注:</span>
177
+                <span>
178
+                   <el-input v-model="remark" style="width:200px"></el-input>
179
+                </span>
180
+             </el-row>
181
+           </el-form>
182
+         
183
+          </span>
184
+          <span slot="footer" class="dialog-footer">
185
+            <el-button @click="infoDialogVisible = false">取 消</el-button>
186
+            <el-button type="primary" @click="saveInformation">确 定</el-button>
187
+          </span>
188
+        </el-dialog>
189
+</div>
190
+
191
+
192
+
193
+
155
 </template>
194
 </template>
156
 
195
 
157
 <script>
196
 <script>
158
 import { getDataConfig } from "@/utils/data";
197
 import { getDataConfig } from "@/utils/data";
159
-import { postTreatmentsummary } from "@/api/dialysis";
198
+import { postTreatmentsummary,saveInformation } from "@/api/dialysis";
160
 import { uParseTime } from "@/utils/tools";
199
 import { uParseTime } from "@/utils/tools";
161
 import store from "@/store";
200
 import store from "@/store";
162
 import request from "@/utils/request";
201
 import request from "@/utils/request";
208
       },
247
       },
209
       //
248
       //
210
       date: "",
249
       date: "",
250
+     infoDialogVisible:false,
251
+      selected_date:"",
252
+      pickerOptions: {
253
+        disabledDate(time) {
254
+          return time.getTime() > Date.now()
255
+        }
256
+      },
257
+      remark:""
211
     };
258
     };
212
   },
259
   },
213
   methods: {
260
   methods: {
352
           postTreatmentsummary(ParamsQuery).then((response) => {
399
           postTreatmentsummary(ParamsQuery).then((response) => {
353
             if (response.data.state == 0) {
400
             if (response.data.state == 0) {
354
               this.$message.error(response.data.msg);
401
               this.$message.error(response.data.msg);
402
+               if(response.data.code == 600000008){
403
+              this.infoDialogVisible = true
404
+             }
355
               return false;
405
               return false;
356
             } else {
406
             } else {
357
               this.$notify({
407
               this.$notify({
430
       }
480
       }
431
       return false;
481
       return false;
432
     },
482
     },
483
+
484
+   saveInformation(){
485
+        var params = {
486
+          selected_date:this.selected_date,
487
+          patient_id:this.$route.query.patient_id,
488
+          record_date:this.$route.query.date,
489
+          module:1,
490
+          remark:this.remark,
491
+        }
492
+        console.log("params32222222222----",params)
493
+      saveInformation(params).then(response=>{
494
+           if(response.data.state == 1){
495
+             var information = response.data.data.information
496
+             this.$message.success("审核成功!")
497
+             this.infoDialogVisible = false
498
+           }
499
+        })
500
+     }
433
   },
501
   },
434
   watch: {
502
   watch: {
435
     isVisibility(val) {},
503
     isVisibility(val) {},