Przeglądaj źródła

Merge branch 'new_pad_branch' of http://git.shengws.com/zhangbj/xt_pad into new_pad_branch

See999 5 lat temu
rodzic
commit
7245b56575

+ 1 - 1
src/pages/main/dialog/PrescriptionDialog.vue Wyświetl plik

1058
         for (let keys in treatment_mode) {
1058
         for (let keys in treatment_mode) {
1059
           if (treatment_mode[keys].id == val) {
1059
           if (treatment_mode[keys].id == val) {
1060
             treatment_mode_name = treatment_mode[keys].name
1060
             treatment_mode_name = treatment_mode[keys].name
1061
-            if (treatment_mode_name == 'HD') {
1061
+            if (treatment_mode_name == 'HD' || treatment_mode_name == 'HD+HP' || treatment_mode_name == 'HP' || treatment_mode_name == 'HF' || treatment_mode_name == 'SCUF' || treatment_mode_name == 'IUF' || treatment_mode_name == 'HFHD' || treatment_mode_name == 'HFHD +HP' || treatment_mode_name == 'PHF'|| treatment_mode_name == 'HFR' || treatment_mode_name == 'CRRT' || treatment_mode_name == '腹水回收' || treatment_mode_name == 'HD前置换' || treatment_mode_name == 'HD后置换') {
1062
               this.zhiShow = false
1062
               this.zhiShow = false
1063
               this.totalShow = false
1063
               this.totalShow = false
1064
               this.huShow = false
1064
               this.huShow = false

+ 8 - 10
src/pages/product/index.vue Wyświetl plik

37
 
37
 
38
 <script>
38
 <script>
39
 export default {
39
 export default {
40
-  name: "Product",
41
-  data() {
40
+  name: 'Product',
41
+  data () {
42
     return {}
42
     return {}
43
   },
43
   },
44
   computed: {
44
   computed: {
45
-    avatar: function() {
45
+    avatar: function () {
46
       var avatar = this.$store.getters.user.user.avatar
46
       var avatar = this.$store.getters.user.user.avatar
47
-      return avatar.length > 0 ? avatar : require("@/assets/product/test.jpg")
47
+      return avatar.length > 0 ? avatar : require('@/assets/product/test.jpg')
48
     }
48
     }
49
   },
49
   },
50
   methods: {
50
   methods: {
51
-    doctorEnterAction: function() {
52
-      this.$store.dispatch("SwitchRoleTypeToDoctor")
53
-      this.$router.push({path: "/main"})
51
+    doctorEnterAction: function () {
52
+      this.$store.dispatch('SwitchRoleTypeToDoctor')
53
+      this.$router.push({path: '/main'})
54
       // this.$router.push({path: "/layout"})
54
       // this.$router.push({path: "/layout"})
55
-      console.log(".")
56
     }
55
     }
57
   }
56
   }
58
-};
57
+}
59
 </script>
58
 </script>
60
 
59
 
61
 <style style="stylesheet/scss" lang="scss" scoped >
60
 <style style="stylesheet/scss" lang="scss" scoped >
160
   }
159
   }
161
 }
160
 }
162
 </style>
161
 </style>
163
-