Sfoglia il codice sorgente

Merge branch 'master' of http://git.shengws.com/csx/Vue_New

XMLWAN 4 anni fa
parent
commit
88af040fda

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

@@ -6,7 +6,7 @@
6 6
 module.exports = {
7 7
   NODE_ENV: '"development"',
8 8
   ENV_CONFIG: '"dev"',
9
-  BASE_API: '"http://api.xt.test.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 10
   // BASE_API:'"http://localhost:9531"',
11 11
   SSO_HOST: '"http://testsso.sgjyun.com"',
12 12
   SRCM_HOST: '"http://test1.sgjyun.com"',

+ 2 - 2
src/xt_pages/data/druguseTemplate.vue Vedi File

@@ -1211,7 +1211,7 @@
1211 1211
         day_count: '',
1212 1212
 
1213 1213
         crumbs: [
1214
-          { path: false, name: '数据字典' },
1214
+          { path: false, name: '管理中心' },
1215 1215
           { path: 'data/druguse', name: '医嘱模版' }
1216 1216
         ],
1217 1217
         rowIndex: -1,
@@ -1928,7 +1928,7 @@
1928 1928
                   this.$message.error(response.data.msg)
1929 1929
                   return false
1930 1930
                 } else {
1931
-                  this.$message.error('添加成功')
1931
+                  this.$message.success('添加成功')
1932 1932
 
1933 1933
                   this.efFormVisible = false
1934 1934
                   this.resetForm(formName)

+ 2 - 2
src/xt_pages/data/index.vue Vedi File

@@ -31,8 +31,8 @@ export default {
31 31
   data() {
32 32
     return {
33 33
       crumbs: [
34
-        { path: false, name: '数据字典' },
35
-        { path: 'data/dictionary', name: '字段配置' }
34
+        { path: false, name: '管理中心' },
35
+        { path: 'data/dictionary', name: '数据字典' }
36 36
       ],
37 37
       tabMapOptions: [
38 38
         { label: this.$t('data_config.patient'), key: 'patient' },

+ 1 - 1
src/xt_pages/data/printTemplate.vue Vedi File

@@ -181,7 +181,7 @@ export default {
181 181
   data() {
182 182
     return {
183 183
       crumbs: [
184
-        { path: false, name: "系统管理" },
184
+        { path: false, name: "管理中心" },
185 185
         { path: "data/print", name: "打印模版" }
186 186
       ],
187 187
       imgUrl_One: require("@/assets/home/1.jpg"),

+ 1 - 1
src/xt_pages/data/showConfig.vue Vedi File

@@ -52,7 +52,7 @@
52 52
     data() {
53 53
       return {
54 54
         crumbs: [
55
-          { path: false, name: '数据字典' },
55
+          { path: false, name: '管理中心' },
56 56
           { path: '/data/showconfig', name: '显示配置' }
57 57
         ],
58 58
         activeName: 'first',

+ 1 - 1
src/xt_pages/data/template.vue Vedi File

@@ -27,7 +27,7 @@ export default {
27 27
   data() {
28 28
     return {
29 29
       crumbs: [
30
-        { path: false, name: '数据字典' },
30
+        { path: false, name: '管理中心' },
31 31
         { path: 'data/template', name: '模版配置' },
32 32
       ],
33 33
       tabMapOptions: [

+ 44 - 8
src/xt_pages/dialysis/bloodPresssWatch.vue Vedi File

@@ -265,7 +265,7 @@
265 265
           align="center"
266 266
           width="120"
267 267
         ></el-table-column>
268
-        <el-table-column label="透中血压(Hgmm)" align="center">
268
+        <el-table-column label="透中血压(mmHg)" align="center">
269 269
           <el-table-column
270 270
             v-for="(item, index) in labelArr"
271 271
             :key="index"
@@ -336,23 +336,59 @@ export default {
336 336
           {
337 337
             text: "今天",
338 338
             onClick(picker) {
339
-              picker.$emit("pick", new Date());
339
+              var date = new Date();
340
+              var year = date.getFullYear();
341
+              var month = date.getMonth() + 1;
342
+              var day = date.getDate();
343
+              if (month < 10) {
344
+                month = "0" + month;
345
+              }
346
+              if (day < 10) {
347
+                day = "0" + day;
348
+              }
349
+              var nowDate = year + "-" + month + "-" + day;
350
+              var date1 = new Date(nowDate + " 00:00:00");
351
+              picker.$emit("pick", date1.getTime());
340 352
             }
341 353
           },
342 354
           {
343 355
             text: "昨天",
344 356
             onClick(picker) {
345
-              const date = new Date();
346
-              date.setTime(date.getTime() - 3600 * 1000 * 24);
347
-              picker.$emit("pick", date);
357
+              var d = new Date();
358
+              d.setTime(d.getTime() - 3600 * 1000 * 24);
359
+              var date = d;
360
+              var year = date.getFullYear();
361
+              var month = date.getMonth() + 1;
362
+              var day = date.getDate();
363
+              if (month < 10) {
364
+                month = "0" + month;
365
+              }
366
+              if (day < 10) {
367
+                day = "0" + day;
368
+              }
369
+              var nowDate = year + "-" + month + "-" + day;
370
+              var date1 = new Date(nowDate + " 00:00:00");
371
+              picker.$emit("pick", date1.getTime());
348 372
             }
349 373
           },
350 374
           {
351 375
             text: "一周前",
352 376
             onClick(picker) {
353
-              const date = new Date();
354
-              date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
355
-              picker.$emit("pick", date);
377
+              var d = new Date();
378
+              d.setTime(d.getTime() - 3600 * 1000 * 24 * 7);
379
+              var date = d;
380
+              var year = date.getFullYear();
381
+              var month = date.getMonth() + 1;
382
+              var day = date.getDate();
383
+              if (month < 10) {
384
+                month = "0" + month;
385
+              }
386
+              if (day < 10) {
387
+                day = "0" + day;
388
+              }
389
+              var nowDate = year + "-" + month + "-" + day;
390
+              var date1 = new Date(nowDate + " 00:00:00");
391
+              picker.$emit("pick", date1.getTime());
356 392
             }
357 393
           },
358 394
           {

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Vedi File

@@ -28,7 +28,7 @@
28 28
 
29 29
           <el-col :span="8" v-if="isShow('实际超滤量')">
30 30
 
31
-            <el-form-item label="实际超滤量(ml): " v-if="this.template_id == 6 || this.template_id == 10">
31
+            <el-form-item label="实际超滤量(ml): " v-if="this.template_id == 6 || this.template_id == 10 || this.template_id == 11">
32 32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33 33
             </el-form-item>
34 34
             <el-form-item label="实际超滤量(L): " v-else>

+ 2 - 13
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Vedi File

@@ -691,10 +691,10 @@
691 691
       <span slot="footer" class="dialog-footer">
692 692
         <el-button @click="handleCancle">取 消</el-button>
693 693
         <!-- <el-button type="primary" @click="handleCommit" v-if="isPermission()">保 存</el-button> -->
694
-        <el-button type="primary" @click="handleCommit" v-if="hasPermission"
694
+        <el-button type="primary" @click="handleCommit"
695 695
           >保 存</el-button
696 696
         >
697
-        <el-button type="primary" @click="handleSolution" v-if="isPermission()"
697
+        <el-button type="primary" @click="handleSolution"
698 698
           >保存为长期处方</el-button
699 699
         >
700 700
       </span>
@@ -1178,17 +1178,6 @@ export default {
1178 1178
         }
1179 1179
       }
1180 1180
     },
1181
-    isPermission() {
1182
-      if (
1183
-        this.$store.getters.xt_user.user.user_type == 3 &&
1184
-        (this.$store.getters.xt_user.template_info.template_id == 2 ||
1185
-          this.$store.getters.xt_user.template_info.template_id == 6)
1186
-      ) {
1187
-        return false;
1188
-      } else {
1189
-        return true;
1190
-      }
1191
-    },
1192 1181
     setLastRecord: function(
1193 1182
       schedual,
1194 1183
       lastAssessmentAfterDislysis,

+ 176 - 222
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Vedi File

@@ -9,21 +9,9 @@
9 9
     >
10 10
       <div v-show="edit == false">
11 11
         <div class="txsj">
12
-          <el-button round :disabled="!is_has_create" @click="newRecordAction"
13
-            >新增监测</el-button
14
-          >
15
-          <el-button
16
-            round
17
-            :disabled="!is_has_modify && !is_has_modify_other"
18
-            @click="modifyRecordAction"
19
-            >修改监测</el-button
20
-          >
21
-          <el-button
22
-            round
23
-            :disabled="!is_has_del && !is_has_del_other"
24
-            @click="deleteRecordAction"
25
-            >删除监测</el-button
26
-          >
12
+          <el-button round :disabled="!is_has_create" @click="newRecordAction">新增监测</el-button>
13
+          <el-button round :disabled="!is_has_modify && !is_has_modify_other" @click="modifyRecordAction">修改监测</el-button>
14
+          <el-button round :disabled="!is_has_del && !is_has_del_other" @click="deleteRecordAction">删除监测</el-button>
27 15
         </div>
28 16
         <el-table
29 17
           :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
@@ -152,7 +140,7 @@
152 140
             align="center"
153 141
             label="超滤量(ml)"
154 142
             width="110"
155
-            v-if="isShow('超滤量') && (template_id == 6 || template_id == 10)"
143
+            v-if="isShow('超滤量') && (template_id == 6 || template_id == 10 || template_id == 11)"
156 144
           >
157 145
             <template slot-scope="scope">
158 146
               {{
@@ -167,7 +155,7 @@
167 155
             align="center"
168 156
             label="超滤量(L)"
169 157
             width="110"
170
-            v-if="isShow('超滤量') && template_id != 6 && template_id != 10"
158
+            v-if="isShow('超滤量') && template_id != 6 &&  template_id != 10 && template_id != 11"
171 159
           >
172 160
             <template slot-scope="scope">
173 161
               {{
@@ -212,7 +200,7 @@
212 200
             align="center"
213 201
             label="置换率(ml/min)"
214 202
             width="120"
215
-            v-if="isShow('置换率') && (template_id == 6 || template_id == 10)"
203
+            v-if="isShow('置换率') && (template_id == 6  || template_id == 10 || template_id == 11)"
216 204
           >
217 205
             <template slot-scope="scope">
218 206
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
@@ -223,7 +211,7 @@
223 211
             align="center"
224 212
             label="置换率(L/h)"
225 213
             width="120"
226
-            v-if="isShow('置换率') && template_id != 6 && template_id != 10"
214
+            v-if="isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11"
227 215
           >
228 216
             <template slot-scope="scope">
229 217
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
@@ -234,7 +222,7 @@
234 222
             align="center"
235 223
             label="置换量(ml)"
236 224
             width="100"
237
-            v-if="isShow('置换量') && (template_id == 6 || template_id == 10)"
225
+            v-if="isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11)"
238 226
           >
239 227
             <template slot-scope="scope">
240 228
               {{
@@ -250,7 +238,7 @@
250 238
             align="center"
251 239
             label="SpO₂(%)"
252 240
             width="100"
253
-            v-if="isShow('SpO₂') && template_id != 6 && template_id != 10"
241
+            v-if="isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11"
254 242
           >
255 243
             <template slot-scope="scope">
256 244
               {{
@@ -266,7 +254,7 @@
266 254
             align="center"
267 255
             label="置换量(L)"
268 256
             width="100"
269
-            v-if="isShow('置换量') && template_id != 6 && template_id != 10"
257
+            v-if="isShow('置换量') && template_id != 6 && template_id != 10 || template_id != 11"
270 258
           >
271 259
             <template slot-scope="scope">
272 260
               {{
@@ -383,7 +371,7 @@
383 371
               <el-button
384 372
                 size="mini"
385 373
                 type="primary"
386
-                @click="venousPressureChangeOne"
374
+                @click="venousPressureChange(1)"
387 375
                 >转换</el-button
388 376
               >
389 377
             </el-form-item>
@@ -397,7 +385,7 @@
397 385
               <el-button
398 386
                 size="mini"
399 387
                 type="primary"
400
-                @click="venousPressureChangeTwo"
388
+                @click="venousPressureChange(3)"
401 389
                 >转换</el-button
402 390
               >
403 391
             </el-form-item>
@@ -418,7 +406,7 @@
418 406
               <el-button
419 407
                 size="mini"
420 408
                 type="primary"
421
-                @click="venousPressureChangeThree"
409
+                @click="venousPressureChange(2)"
422 410
                 >转换</el-button
423 411
               >
424 412
             </el-form-item>
@@ -429,18 +417,12 @@
429 417
               <el-input v-model="form.ultrafiltration_rate"></el-input>
430 418
             </el-form-item>
431 419
           </el-col>
432
-          <el-col
433
-            :span="8"
434
-            v-if="isShow('超滤量') && (template_id != 6 || template_id != 10)"
435
-          >
420
+          <el-col :span="8" v-if="isShow('超滤量') &&(template_id != 6 || template_id != 10 || template_id != 11)">
436 421
             <el-form-item label="超滤量(ml):">
437 422
               <el-input v-model="form.ultrafiltration_volume"></el-input>
438 423
             </el-form-item>
439 424
           </el-col>
440
-          <el-col
441
-            :span="8"
442
-            v-if="isShow('超滤量') && template_id != 6 && template_id != 10"
443
-          >
425
+          <el-col :span="8" v-if="isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11">
444 426
             <el-form-item label="超滤量(L):">
445 427
               <el-input v-model="form.ultrafiltration_volume"></el-input>
446 428
             </el-form-item>
@@ -487,6 +469,13 @@
487 469
             </el-form-item>
488 470
           </el-col>
489 471
 
472
+
473
+          <el-col :span="8" v-if="isShow('肝素用量余量')">
474
+            <el-form-item label="肝素用量余量(ml):">
475
+              <el-input v-model="form.heparin"></el-input>
476
+            </el-form-item>
477
+          </el-col>
478
+
490 479
           <!-- </el-row>
491 480
 
492 481
           <el-row :gutter="20"> -->
@@ -616,21 +605,21 @@ import {
616 605
 } from "@/api/dialysis_record";
617 606
 import store from "@/store";
618 607
 
619
-import request from "@/utils/request";
608
+import request from '@/utils/request'
620 609
 
621 610
 export default {
622 611
   name: "MonitorDialog",
623 612
   data() {
624 613
     return {
625
-      is_has_create: true,
626
-      is_has_modify: true,
627
-      is_has_modify_other: true,
628
-      is_has_del: true,
629
-      is_has_del_other: true,
614
+      is_has_create:true,
615
+      is_has_modify:true,
616
+      is_has_modify_other:true,
617
+      is_has_del:true,
618
+      is_has_del_other:true,
630 619
       visible: false,
631 620
       edit: false,
632 621
       current_row_class: "current-box-class",
633
-      creator: 0,
622
+      creator:0,
634 623
       patient_id: 0,
635 624
       schedule_date: 0,
636 625
       template_id: 0,
@@ -660,6 +649,7 @@ export default {
660 649
         displacement_quantity: "", // 置换量
661 650
         conductivity: "", // 电导度
662 651
         displacement_flow_quantity: "", // 置换液流量
652
+        heparin:"", //肝素用量余量
663 653
         ktv: "", // KT/V
664 654
         symptom: "", // 病情变化
665 655
         dispose: "", // 处理
@@ -674,10 +664,7 @@ export default {
674 664
       dispose_selecteds: [],
675 665
       dispose_options: getDataConfig("hemodialysis", "deals"),
676 666
       result_selecteds: [],
677
-      result_options: getDataConfig("hemodialysis", "results"),
678
-      value: 0,
679
-      valuetwo: 0,
680
-      valuethree: 0
667
+      result_options: getDataConfig("hemodialysis", "results")
681 668
     };
682 669
   },
683 670
   props: {
@@ -717,54 +704,6 @@ export default {
717 704
         );
718 705
       }
719 706
     },
720
-    venousPressureChangeOne() {
721
-      if (this.value == 0) {
722
-        this.form.venous_pressure = Math.ceil(
723
-          Math.round(this.form.venous_pressure * 7.5)
724
-        );
725
-        this.value = 1;
726
-        return false;
727
-      }
728
-      if (this.value == 1) {
729
-        this.form.venous_pressure = Math.ceil(
730
-          Math.round(this.form.venous_pressure / 7.5)
731
-        );
732
-        this.value = 0;
733
-        return false;
734
-      }
735
-    },
736
-    venousPressureChangeTwo() {
737
-      if (this.valuetwo == 0) {
738
-        this.form.arterial_pressure = Math.ceil(
739
-          Math.round(this.form.arterial_pressure * 7.5)
740
-        );
741
-        this.valuetwo = 1;
742
-        return false;
743
-      }
744
-      if (this.valuetwo == 1) {
745
-        this.form.arterial_pressure = Math.ceil(
746
-          Math.round(this.form.arterial_pressure / 7.5)
747
-        );
748
-        this.valuetwo = 0;
749
-        return false;
750
-      }
751
-    },
752
-    venousPressureChangeThree() {
753
-      if (this.valuethree == 0) {
754
-        this.form.transmembrane_pressure = Math.ceil(
755
-          Math.round(this.form.transmembrane_pressure * 7.5)
756
-        );
757
-        this.valuethree = 1;
758
-        return false;
759
-      }
760
-      if (this.valuethree == 1) {
761
-        this.form.transmembrane_pressure = Math.ceil(
762
-          Math.round(this.form.transmembrane_pressure / 7.5)
763
-        );
764
-        this.valuethree = 0;
765
-        return false;
766
-      }
767
-    },
768 707
     isShow(name) {
769 708
       var filedList = store.getters.xt_user.fileds;
770 709
       for (let i = 0; i < filedList.length; i++) {
@@ -782,7 +721,7 @@ export default {
782 721
       this.cancelEditAction();
783 722
     },
784 723
     show() {
785
-      this.getPermission();
724
+      this.getPermission()
786 725
       this.visible = true;
787 726
     },
788 727
     hide() {
@@ -839,6 +778,9 @@ export default {
839 778
         this.form.replacement_rate = resp.monitor.replacement_rate
840 779
           ? resp.monitor.replacement_rate
841 780
           : "";
781
+        this.form.heparin = resp.monitor.heparin
782
+          ? resp.monitor.heparin
783
+          : "";
842 784
         this.form.displacement_quantity = ""; // this.last_monitor_record.displacement_quantity;
843 785
         this.form.conductivity = "";
844 786
         this.form.displacement_flow_quantity = "";
@@ -855,10 +797,10 @@ export default {
855 797
         this.$message.error("请选择一条监测记录");
856 798
         return;
857 799
       }
858
-      this.creator = this.table_current_row.creator;
859
-      console.log(this.table_current_row);
860
-      console.log(this.table_current_row.creator);
861
-      console.log(this.creator);
800
+      this.creator = this.table_current_row.creator
801
+      console.log( this.table_current_row)
802
+      console.log( this.table_current_row.creator)
803
+      console.log(this.creator)
862 804
       this.setEditMonitor(this.table_current_row);
863 805
       this.$refs.table.setCurrentRow(null);
864 806
       this.edit = true;
@@ -897,6 +839,8 @@ export default {
897 839
         this.form.displacement_quantity = "";
898 840
         this.form.conductivity = "";
899 841
         this.form.displacement_flow_quantity = "";
842
+        this.form.heparin = "";
843
+
900 844
         this.form.ktv = "";
901 845
         this.form.symptom = "";
902 846
         this.form.dispose = "";
@@ -959,6 +903,12 @@ export default {
959 903
           ? monitor.displacement_flow_quantity
960 904
           : "";
961 905
 
906
+        this.form.heparin = monitor.heparin
907
+          ? monitor.heparin
908
+          : "";
909
+
910
+
911
+
962 912
         this.form.ktv = monitor.ktv;
963 913
         this.form.symptom = monitor.symptom;
964 914
         this.form.dispose = monitor.dispose;
@@ -1044,118 +994,126 @@ export default {
1044 994
           ? 0
1045 995
           : parseFloat(this.form.displacement_flow_quantity);
1046 996
 
997
+
998
+      this.form.heparin =
999
+        parseFloat(this.form.heparin) == NaN
1000
+          ? 0
1001
+          : parseFloat(this.form.heparin);
1002
+
1047 1003
       this.form.ktv =
1048 1004
         parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
1049 1005
       this.form.monitoring_date = parseInt(this.form.monitoring_date);
1050 1006
 
1051
-      let mode = "1";
1052
-      if (this.form.id > 0) {
1053
-        mode = "2";
1054
-        if (
1055
-          this.creator > 0 &&
1056
-          this.creator != this.$store.getters.xt_user.user.id
1057
-        ) {
1058
-          mode = "3";
1059
-        }
1007
+
1008
+      let mode = "1"
1009
+       if(this.form.id > 0){
1010
+         mode = "2"
1011
+         if(this.creator > 0 && this.creator!= this.$store.getters.xt_user.user.id){
1012
+          mode = "3"
1013
+         }
1060 1014
       }
1061
-      editMonitor(this.patient_id, this.schedule_date, this.form, mode).then(
1062
-        rs => {
1063
-          var resp = rs.data;
1064
-          if (resp.state == 1) {
1065
-            var monitor = resp.data.monitor;
1066
-            if (this.isAdd) {
1067
-              this.monitors.unshift(monitor);
1068
-              this.monitors.sort((a, b) => b.operate_time - a.operate_time);
1069
-              this.monitors.reverse();
1070
-            } else {
1071
-              for (let index = 0; index < this.monitors.length; index++) {
1072
-                const m = this.monitors[index];
1073
-                if (m.id == monitor.id) {
1074
-                  for (const key in monitor) {
1075
-                    m[key] = monitor[key];
1076
-                  }
1077
-                  break;
1015
+      editMonitor(this.patient_id, this.schedule_date, this.form,mode).then(rs => {
1016
+        var resp = rs.data;
1017
+        if (resp.state == 1) {
1018
+          var monitor = resp.data.monitor;
1019
+          if (this.isAdd) {
1020
+            this.monitors.unshift(monitor);
1021
+            this.monitors.sort((a, b) => b.operate_time - a.operate_time);
1022
+            this.monitors.reverse();
1023
+          } else {
1024
+            for (let index = 0; index < this.monitors.length; index++) {
1025
+              const m = this.monitors[index];
1026
+              if (m.id == monitor.id) {
1027
+                for (const key in monitor) {
1028
+                  m[key] = monitor[key];
1078 1029
                 }
1030
+                break;
1079 1031
               }
1080 1032
             }
1081
-            this.reset();
1082
-          } else {
1083
-            this.form.systolic_bp =
1084
-              parseFloat(this.form.systolic_bp) == NaN
1085
-                ? 0
1086
-                : parseFloat(this.form.systolic_bp);
1087
-            this.form.diastolic_bp =
1088
-              parseFloat(this.form.diastolic_bp) == NaN
1089
-                ? 0
1090
-                : parseFloat(this.form.diastolic_bp);
1091
-            this.form.temperature =
1092
-              parseFloat(this.form.temperature) == NaN
1093
-                ? 0
1094
-                : parseFloat(this.form.temperature);
1095
-            this.form.pulse_frequency =
1096
-              parseFloat(this.form.pulse_frequency) == NaN
1097
-                ? 0
1098
-                : parseFloat(this.form.pulse_frequency);
1099
-            this.form.breathing_rated =
1100
-              parseFloat(this.form.breathing_rated) == NaN
1101
-                ? 0
1102
-                : parseFloat(this.form.breathing_rated);
1103
-            this.form.blood_flow_volume =
1104
-              parseFloat(this.form.blood_flow_volume) == NaN
1105
-                ? 0
1106
-                : parseFloat(this.form.blood_flow_volume);
1107
-            this.form.venous_pressure =
1108
-              parseFloat(this.form.venous_pressure) == NaN
1109
-                ? 0
1110
-                : parseFloat(this.form.venous_pressure);
1111
-            this.form.transmembrane_pressure =
1112
-              parseFloat(this.form.transmembrane_pressure) == NaN
1113
-                ? 0
1114
-                : parseFloat(this.form.transmembrane_pressure);
1115
-            this.form.ultrafiltration_volume =
1116
-              parseFloat(this.form.ultrafiltration_volume) == NaN
1117
-                ? 0
1118
-                : parseFloat(this.form.ultrafiltration_volume);
1119
-            this.form.ultrafiltration_rate =
1120
-              parseFloat(this.form.ultrafiltration_rate) == NaN
1121
-                ? 0
1122
-                : parseFloat(this.form.ultrafiltration_rate);
1123
-            this.form.arterial_pressure =
1124
-              parseFloat(this.form.arterial_pressure) == NaN
1125
-                ? 0
1126
-                : parseFloat(this.form.arterial_pressure);
1127
-            this.form.sodium_concentration =
1128
-              parseFloat(this.form.sodium_concentration) == NaN
1129
-                ? 0
1130
-                : parseFloat(this.form.sodium_concentration);
1131
-            this.form.dialysate_temperature =
1132
-              parseFloat(this.form.dialysate_temperature) == NaN
1133
-                ? 0
1134
-                : parseFloat(this.form.dialysate_temperature);
1135
-            this.form.replacement_rate =
1136
-              parseFloat(this.form.replacement_rate) == NaN
1137
-                ? 0
1138
-                : parseFloat(this.form.replacement_rate);
1139
-            this.form.displacement_quantity =
1140
-              parseFloat(this.form.displacement_quantity) == NaN
1141
-                ? 0
1142
-                : parseFloat(this.form.displacement_quantity);
1143
-            this.form.conductivity =
1144
-              parseFloat(this.form.conductivity) == NaN
1145
-                ? 0
1146
-                : parseFloat(this.form.conductivity);
1147
-            this.form.displacement_flow_quantity =
1148
-              parseFloat(this.form.displacement_flow_quantity) == NaN
1149
-                ? 0
1150
-                : parseFloat(this.form.displacement_flow_quantity);
1033
+          }
1034
+          this.reset();
1035
+        } else {
1036
+          this.form.systolic_bp =
1037
+            parseFloat(this.form.systolic_bp) == NaN
1038
+              ? 0
1039
+              : parseFloat(this.form.systolic_bp);
1040
+          this.form.diastolic_bp =
1041
+            parseFloat(this.form.diastolic_bp) == NaN
1042
+              ? 0
1043
+              : parseFloat(this.form.diastolic_bp);
1044
+          this.form.temperature =
1045
+            parseFloat(this.form.temperature) == NaN
1046
+              ? 0
1047
+              : parseFloat(this.form.temperature);
1048
+          this.form.pulse_frequency =
1049
+            parseFloat(this.form.pulse_frequency) == NaN
1050
+              ? 0
1051
+              : parseFloat(this.form.pulse_frequency);
1052
+          this.form.breathing_rated =
1053
+            parseFloat(this.form.breathing_rated) == NaN
1054
+              ? 0
1055
+              : parseFloat(this.form.breathing_rated);
1056
+          this.form.blood_flow_volume =
1057
+            parseFloat(this.form.blood_flow_volume) == NaN
1058
+              ? 0
1059
+              : parseFloat(this.form.blood_flow_volume);
1060
+          this.form.venous_pressure =
1061
+            parseFloat(this.form.venous_pressure) == NaN
1062
+              ? 0
1063
+              : parseFloat(this.form.venous_pressure);
1064
+          this.form.transmembrane_pressure =
1065
+            parseFloat(this.form.transmembrane_pressure) == NaN
1066
+              ? 0
1067
+              : parseFloat(this.form.transmembrane_pressure);
1068
+          this.form.ultrafiltration_volume =
1069
+            parseFloat(this.form.ultrafiltration_volume) == NaN
1070
+              ? 0
1071
+              : parseFloat(this.form.ultrafiltration_volume);
1072
+          this.form.ultrafiltration_rate =
1073
+            parseFloat(this.form.ultrafiltration_rate) == NaN
1074
+              ? 0
1075
+              : parseFloat(this.form.ultrafiltration_rate);
1076
+          this.form.arterial_pressure =
1077
+            parseFloat(this.form.arterial_pressure) == NaN
1078
+              ? 0
1079
+              : parseFloat(this.form.arterial_pressure);
1080
+          this.form.sodium_concentration =
1081
+            parseFloat(this.form.sodium_concentration) == NaN
1082
+              ? 0
1083
+              : parseFloat(this.form.sodium_concentration);
1084
+          this.form.dialysate_temperature =
1085
+            parseFloat(this.form.dialysate_temperature) == NaN
1086
+              ? 0
1087
+              : parseFloat(this.form.dialysate_temperature);
1088
+          this.form.replacement_rate =
1089
+            parseFloat(this.form.replacement_rate) == NaN
1090
+              ? 0
1091
+              : parseFloat(this.form.replacement_rate);
1092
+          this.form.displacement_quantity =
1093
+            parseFloat(this.form.displacement_quantity) == NaN
1094
+              ? 0
1095
+              : parseFloat(this.form.displacement_quantity);
1096
+          this.form.conductivity =
1097
+            parseFloat(this.form.conductivity) == NaN
1098
+              ? 0
1099
+              : parseFloat(this.form.conductivity);
1100
+          this.form.displacement_flow_quantity =
1101
+            parseFloat(this.form.displacement_flow_quantity) == NaN
1102
+              ? 0
1103
+              : parseFloat(this.form.displacement_flow_quantity);
1151 1104
 
1152
-            this.form.ktv =
1153
-              parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
1105
+          this.form.heparin =
1106
+            parseFloat(this.form.heparin) == NaN
1107
+              ? 0
1108
+              : parseFloat(this.form.heparin);
1154 1109
 
1155
-            this.$message.error(resp.msg);
1156
-          }
1110
+          this.form.ktv =
1111
+            parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
1112
+
1113
+
1114
+          this.$message.error(resp.msg);
1157 1115
         }
1158
-      );
1116
+      });
1159 1117
     },
1160 1118
 
1161 1119
     symptomTextareaBlur: function() {
@@ -1215,19 +1173,16 @@ export default {
1215 1173
         type: "warning"
1216 1174
       })
1217 1175
         .then(() => {
1218
-          let mode = "4";
1219
-          if (
1220
-            this.table_current_row.creator > 0 &&
1221
-            this.table_current_row.creator !=
1222
-              this.$store.getters.xt_user.user.id
1223
-          ) {
1224
-            mode = "5";
1176
+          let mode = "4"
1177
+          if(this.table_current_row.creator > 0 && this.table_current_row.creator != this.$store.getters.xt_user.user.id){
1178
+            mode = "5"
1225 1179
           }
1226 1180
 
1227 1181
           const params = {
1228 1182
             patient_id: this.patient_id,
1229 1183
             record_id: this.table_current_row.id,
1230 1184
             mode: mode
1185
+
1231 1186
           };
1232 1187
 
1233 1188
           postDelMonitorInfo(params).then(response => {
@@ -1242,14 +1197,14 @@ export default {
1242 1197
                 }
1243 1198
               }
1244 1199
               this.$message.success("删除成功");
1200
+
1245 1201
             }
1246 1202
           });
1247 1203
         })
1248 1204
         .catch(() => {});
1249 1205
     },
1250 1206
     getPermission() {
1251
-      request
1252
-        .get("/api/func_per/get", {
1207
+        request.get("/api/func_per/get", {
1253 1208
           params: {
1254 1209
             create_url: "/api/dislysis/monitor/edit?mode=1",
1255 1210
             modify_url: "/api/dislysis/monitor/edit?mode=2",
@@ -1258,23 +1213,22 @@ export default {
1258 1213
             del_other_url: "/api/dialysis/monitor/del?mode=5",
1259 1214
             module: 7
1260 1215
           }
1261
-        })
1262
-        .then(res => {
1263
-          console.log(res);
1216
+        }).then(res => {
1217
+          console.log(res)
1264 1218
           if (res.data.state == 0) {
1265
-            this.hasPermission = false;
1219
+            this.hasPermission = false
1266 1220
           } else if (res.data.state == 1) {
1267
-            this.is_has_create = res.data.data.is_has_create;
1268
-            this.is_has_exce = res.data.data.is_has_exce;
1269
-            this.is_has_check = res.data.data.is_has_check;
1270
-            this.is_has_modify = res.data.data.is_has_modify;
1271
-            this.is_has_modify_other = res.data.data.is_has_modify_other;
1272
-            this.is_has_modify_exce = res.data.data.is_has_modify_exce;
1273
-            this.is_has_del = res.data.data.is_has_del;
1274
-            this.is_has_del_other = res.data.data.is_has_del_other;
1221
+            this.is_has_create = res.data.data.is_has_create
1222
+            this.is_has_exce = res.data.data.is_has_exce
1223
+            this.is_has_check = res.data.data.is_has_check
1224
+            this.is_has_modify = res.data.data.is_has_modify
1225
+            this.is_has_modify_other = res.data.data.is_has_modify_other
1226
+            this.is_has_modify_exce = res.data.data.is_has_modify_exce
1227
+            this.is_has_del = res.data.data.is_has_del
1228
+            this.is_has_del_other = res.data.data.is_has_del_other
1275 1229
           }
1276
-        });
1277
-    }
1230
+        })
1231
+      }
1278 1232
   }
1279 1233
 };
1280 1234
 </script>
@@ -1332,7 +1286,7 @@ export default {
1332 1286
 .el-table__body-wrapper::-webkit-scrollbar {
1333 1287
   height: 20px;
1334 1288
 }
1335
-.dialog_box .current-box-class .current-row {
1289
+.dialog_box .current-box-class .current-row{
1336 1290
   background: #87ceff;
1337 1291
 }
1338 1292
 .dialog_box tr:hover > td {

+ 12 - 7
src/xt_pages/dialysis/details/dialysisMonitoring.vue Vedi File

@@ -12,18 +12,20 @@
12 12
         <th width="76px">静脉压/动脉压(mmHg)</th>
13 13
         <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
14 14
         <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmhg)</th>
15
-        <th v-if="isShow('超滤量') && (template_id == 6 || template_id == 10)" width="76px">超滤量(ml)</th>
16
-        <th v-if="isShow('超滤量') && template_id != 6 && template_id != 10" width="76px">超滤量(L)</th>
15
+        <th v-if="isShow('超滤量') && (template_id == 6 || template_id == 10 || template_id == 11)" width="76px">超滤量(ml)</th>
16
+        <th v-if="isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11" width="76px">超滤量(L)</th>
17 17
         <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
18 18
         <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
19
-        <th v-if="isShow('置换率')&& (template_id == 6 || template_id == 10)" width="92px">置换率(ml/min)</th>
20
-        <th v-if="isShow('置换率')&& template_id != 6 && template_id != 10" width="92px">置换率(L/h)</th>
19
+        <th v-if="isShow('置换率')&& (template_id == 6 || template_id == 10 || template_id == 11)" width="92px">置换率(ml/min)</th>
20
+        <th v-if="isShow('置换率')&& template_id != 6 && template_id != 10 && template_id != 11" width="92px">置换率(L/h)</th>
21 21
 
22
-        <th v-if="isShow('置换量')&& (template_id == 6 || template_id == 10)" width="92px">置换量(ml)</th>
23
-        <th v-if="isShow('置换量')&& template_id != 6 && template_id != 10" width="92px">置换量(L)</th>
24
-         <th v-if="isShow('SpO₂')&& template_id != 6 && template_id != 10" width="92px">SpO₂(%)</th>
22
+        <th v-if="isShow('置换量')&& (template_id == 6 || template_id == 10 ||  template_id == 11)" width="92px">置换量(ml)</th>
23
+        <th v-if="isShow('置换量')&& template_id != 6 && template_id != 10 && template_id != 10" width="92px">置换量(L)</th>
24
+         <th v-if="isShow('SpO₂')&& template_id != 6 && template_id != 10 && template_id != 11" width="92px">SpO₂(%)</th>
25 25
         <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
26 26
         <th v-if="isShow('置换液流量')"  width="92px">置换液流量(ml/h)</th>
27
+        <th v-if="isShow('肝素用量余量')"  width="92px">肝素用量余量(ml)</th>
28
+
27 29
         <th v-if="isShow('病情变化')" width="92px">病情变化</th>
28 30
         <th v-if="isShow('处理')"  width="92px">处理</th>
29 31
         <th v-if="isShow('结果')" width="92px">结果</th>
@@ -45,6 +47,9 @@
45 47
         <td v-if="isShow('SpO₂')">{{monitor.blood_oxygen_saturation?monitor.blood_oxygen_saturation:''}}</td>
46 48
         <td v-if="isShow('电导度')">{{ monitor.conductivity?monitor.conductivity:'' }}</td>
47 49
         <th v-if="isShow('置换液流量')" >{{monitor.displacement_flow_quantity?monitor.displacement_flow_quantity:''}}</th>
50
+
51
+        <th v-if="isShow('肝素用量余量')" >{{monitor.heparin?monitor.heparin:''}}</th>
52
+
48 53
         <td v-if="isShow('病情变化')">{{ monitor.symptom }}</td>
49 54
         <td v-if="isShow('处理')">{{ monitor.dispose }}</td>
50 55
         <td v-if="isShow('结果')">{{ monitor.result }}</td>

+ 9 - 2
src/xt_pages/dialysis/dialysisPrintOrder.vue Vedi File

@@ -96,7 +96,7 @@
96 96
       <template
97 97
         v-if="
98 98
           org_template_info.template_id == 6 ||
99
-            org_template_info.template_id == 10
99
+            org_template_info.template_id == 10 ||  org_template_info.template_id == 11
100 100
         "
101 101
       >
102 102
         <el-button
@@ -211,6 +211,11 @@
211 211
         v-bind:childResponse="childResponse"
212 212
         v-if="org_template_info.template_id == 9"
213 213
       ></DialysisPrintOrderNine>
214
+
215
+    <DialysisPrintOrderEleven
216
+      v-bind:childResponse="childResponse"
217
+      v-if="org_template_info.template_id == 11"
218
+    ></DialysisPrintOrderEleven>
214 219
     </div>
215 220
   </div>
216 221
 </template>
@@ -232,10 +237,12 @@ import DialysisPrintOrderEight from "./template/DialysisPrintOrderEight";
232 237
 import DialysisPrintOrderNine from "./template/DialysisPrintOrderNine";
233 238
 import print from "print-js";
234 239
 import DialysisPrintOrderTen from "./template/DialysisPrintOrderTen";
240
+import DialysisPrintOrderEleven from './template/DialysisPrintOrderEleven'
235 241
 
236 242
 export default {
237 243
   name: "dialysisPrintOrder",
238 244
   components: {
245
+    DialysisPrintOrderEleven,
239 246
     DialysisPrintOrderTen,
240 247
     DialysisPrintOrderOne,
241 248
     DialysisPrintOrderTwo,
@@ -423,7 +430,7 @@ export default {
423 430
         });
424 431
       } else if (
425 432
         this.org_template_info.template_id == 6 ||
426
-        this.org_template_info.template_id == 10
433
+        this.org_template_info.template_id == 10 ||  this.org_template_info.template_id == 11
427 434
       ) {
428 435
         printJS({
429 436
           printable: "dialysis-print-box-1",

File diff suppressed because it is too large
+ 1954 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderEleven.vue


+ 2 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue Vedi File

@@ -1025,6 +1025,8 @@
1025 1025
                           </span>
1026 1026
                     </div>
1027 1027
                   </td>
1028
+
1029
+
1028 1030
                   <td>
1029 1031
                   <span
1030 1032
                     v-if="setAdminUserES(monitor.monitoring_nurse) == ''"

+ 26 - 28
src/xt_pages/dialysis/template/dialysisPrintOrderNine.vue Vedi File

@@ -1383,7 +1383,7 @@
1383 1383
                   </tr> -->
1384 1384
                   <tr>
1385 1385
                     <td width="70">拔针压迫:</td>
1386
-                    <td width="350">
1386
+                    <td width="300">
1387 1387
                       <div style="display:flex;justify-content:space-between;">
1388 1388
                         <label-box
1389 1389
                           showValue="自己压迫"
@@ -1405,12 +1405,6 @@
1405 1405
                             afterdialysis.hemostasis_opera == 1 ? true : false
1406 1406
                           "
1407 1407
                         ></label-box>
1408
-                        <label-box
1409
-                          showValue="内瘘止血带"
1410
-                          :isChecked="
1411
-                            afterdialysis.hemostasis_opera == 4 ? true : false
1412
-                          "
1413
-                        ></label-box>
1414 1408
                       </div>
1415 1409
                     </td>
1416 1410
                     <td width="50"></td>
@@ -1669,24 +1663,24 @@
1669 1663
                         ></label-box>
1670 1664
                       </div>
1671 1665
                     </td>
1672
-                    <!--<td width="80"></td>-->
1673
-                    <!--<td width="60">管路:</td>-->
1674
-                    <!--<td width="220">-->
1675
-                      <!--<div style="display:flex;justify-content:space-between;">-->
1676
-                        <!--<label-box showValue="无" :isChecked="-->
1677
-                            <!--afterdialysis.channel == 1 ? true : false-->
1678
-                          <!--"></label-box>-->
1679
-                        <!--<label-box showValue="+" :isChecked="-->
1680
-                            <!--afterdialysis.channel == 2 ? true : false-->
1681
-                          <!--"></label-box>-->
1682
-                        <!--<label-box showValue="+ +" :isChecked="-->
1683
-                            <!--afterdialysis.channel == 3  ? true : false-->
1684
-                          <!--"></label-box>-->
1685
-                        <!--<label-box showValue="+ + +" :isChecked="-->
1686
-                            <!--afterdialysis.channel == 4 ? true : false-->
1687
-                          <!--"></label-box>-->
1688
-                      <!--</div>-->
1689
-                    <!--</td>-->
1666
+                    <td width="80"></td>
1667
+                    <td width="60">管路:</td>
1668
+                    <td width="220">
1669
+                      <div style="display:flex;justify-content:space-between;">
1670
+                        <label-box showValue="无" :isChecked="
1671
+                            afterdialysis.channel == 1 ? true : false
1672
+                          "></label-box>
1673
+                        <label-box showValue="+" :isChecked="
1674
+                            afterdialysis.channel == 2 ? true : false
1675
+                          "></label-box>
1676
+                        <label-box showValue="+ +" :isChecked="
1677
+                            afterdialysis.channel == 3  ? true : false
1678
+                          "></label-box>
1679
+                        <label-box showValue="+ + +" :isChecked="
1680
+                            afterdialysis.channel == 4 ? true : false
1681
+                          "></label-box>
1682
+                      </div>
1683
+                    </td>
1690 1684
                     <td></td>
1691 1685
                   </tr>
1692 1686
                 </tbody>
@@ -1977,9 +1971,13 @@
1977 1971
             <td width="30">医生</td>
1978 1972
             <td width="80">
1979 1973
               <div class="under-line">
1980
-                &nbsp
1981
-                <span v-if=" setAdminUserES(prescription.creater) == '' " >{{ getAdminUser(prescription.creater)}}</span >
1982
-                <img style="height:20px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else  />
1974
+                &nbsp;
1975
+                <span v-if="doctorForm.url === ''">{{
1976
+                  doctorForm.doctor
1977
+                }}</span>
1978
+                <span v-if="doctorForm.url !== ''">
1979
+                  <img style="height:20px" :src="doctorForm.url" />
1980
+                </span>
1983 1981
               </div>
1984 1982
             </td>
1985 1983
             <td width="50">治疗护士</td>

+ 1 - 1
src/xt_pages/role/admin.vue Vedi File

@@ -163,7 +163,7 @@ export default {
163 163
   data() {
164 164
     return {
165 165
       crumbs: [
166
-        { path: false, name: "权限管理" },
166
+        { path: false, name: "管理中心" },
167 167
         { path: false, name: "员工管理" }
168 168
       ],
169 169
       is_loading_admins: true,

+ 15 - 2
src/xt_pages/role/components/AdminRoleInfoForm.vue Vedi File

@@ -10,6 +10,19 @@
10 10
         <el-input v-model="form.name" placeholder="用户姓名"></el-input>
11 11
       </el-form-item>
12 12
 
13
+      <el-form-item label="角色 : " prop="role" label-width="60px">
14
+
15
+           <el-checkbox-group v-model="form.role">
16
+            <el-checkbox label="子管理员" name="type"></el-checkbox>
17
+            <el-checkbox label="医生" name="type"></el-checkbox>
18
+            <el-checkbox label="护士" name="type"></el-checkbox>
19
+            <el-checkbox label="技师" name="type"></el-checkbox>
20
+            <el-checkbox label="运营" name="type"></el-checkbox>
21
+            <el-checkbox label="库存" name="type"></el-checkbox>
22
+            <el-checkbox label="院长" name="type"></el-checkbox>
23
+          </el-checkbox-group>
24
+        </el-form-item>
25
+
13 26
       <el-form-item label="职称 : ">
14 27
         <el-select v-model="form.user_type" placeholder="用户类型">
15 28
           <el-option
@@ -114,8 +127,8 @@
114 127
         },
115 128
         rules: {
116 129
           mobile: [{ required: true, validator: checkMobile, trigger: 'blur' }],
117
-          name: [{ required: true, validator: checkName, trigger: 'blur' }]
118
-
130
+          name: [{ required: true, validator: checkName, trigger: 'blur' }],
131
+          role: [{ required: true, message: '请选择角色', trigger: 'blur' }]
119 132
         }
120 133
       }
121 134
     },

+ 18 - 5
src/xt_pages/role/components/EditRole.vue Vedi File

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
   <el-dialog
3
-    title="新增用户"
4
-    width="660px"
3
+    title="新增员工"
4
+    width="750px"
5 5
     :visible.sync="visible"
6 6
     :before-close="_close"
7 7
   >
@@ -14,7 +14,7 @@
14 14
             </el-form-item>
15 15
     </el-form>-->
16 16
     <div class="chooseuser">
17
-      <span style="color:#303133">选择用户:</span>
17
+      <span style="color:#303133">选择员工:</span>
18 18
       <el-radio v-model="checked" label="1">从已有员工中选择</el-radio>
19 19
       <el-radio v-model="checked" label="2">新增员工</el-radio>
20 20
     </div>
@@ -78,6 +78,18 @@
78 78
 
79 79
           <el-input  v-model="ruleForm.phone"  maxlength="11"></el-input>
80 80
         </el-form-item>
81
+        <el-form-item label="角色" prop="role" label-width="70px">
82
+
83
+           <el-checkbox-group v-model="ruleForm.role">
84
+            <el-checkbox label="子管理员" name="type"></el-checkbox>
85
+            <el-checkbox label="医生" name="type"></el-checkbox>
86
+            <el-checkbox label="护士" name="type"></el-checkbox>
87
+            <el-checkbox label="技师" name="type"></el-checkbox>
88
+            <el-checkbox label="运营" name="type"></el-checkbox>
89
+            <el-checkbox label="库存" name="type"></el-checkbox>
90
+            <el-checkbox label="院长" name="type"></el-checkbox>
91
+          </el-checkbox-group>
92
+        </el-form-item>
81 93
 
82 94
         <el-form-item label="职称 : " label-width="50px">
83 95
           <el-select v-model="ruleForm.user_type" placeholder="用户类型">
@@ -160,7 +172,7 @@
160 172
         rules: {
161 173
           phone: [{ required: true, validator: checkMobile, trigger: 'blur' }],
162 174
           name: [{ required: true, validator: checkName, trigger: 'blur' }],
163
-          intro: [{ required: true, message: '请输入角色说明', trigger: 'blur' }]
175
+          intro: [{ required: true, message: '请输入角色说明', trigger: 'blur' }],
164 176
         },
165 177
         admin_user: [],
166 178
         is_check_admin_user: [],
@@ -202,7 +214,8 @@
202 214
           name: [
203 215
             { required: true, message: '请输入用户名字', trigger: 'blur' },
204 216
             { max: 10, message: '10个字以内', trigger: 'blur' }
205
-          ]
217
+          ],
218
+          role: [{ required: true, message: '请选择角色', trigger: 'blur' }]
206 219
         }
207 220
       }
208 221
     },

+ 1 - 1
src/xt_pages/role/role.vue Vedi File

@@ -161,7 +161,7 @@ export default {
161 161
   data: function() {
162 162
     return {
163 163
       crumbs: [
164
-        { path: false, name: "权限管理" },
164
+        { path: false, name: "管理中心" },
165 165
         { path: false, name: "角色管理" }
166 166
       ],
167 167
       loading_roles: true,

+ 1 - 0
src/xt_pages/workforce/remind_print.vue Vedi File

@@ -125,6 +125,7 @@
125 125
 
126 126
       getScheduleWeekDay({week_type: this.week_type}).then(rs => {
127 127
         var resp = rs.data
128
+        console.log(resp)
128 129
         if (resp.state == 1) {
129 130
           this.scheduleData = resp.data.schdules
130 131
         } else {