瀏覽代碼

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

张保健 5 年之前
父節點
當前提交
c8bfe8cefd

+ 158 - 102
package-lock.json 查看文件

5
   "requires": true,
5
   "requires": true,
6
   "dependencies": {
6
   "dependencies": {
7
     "@antv/adjust": {
7
     "@antv/adjust": {
8
-      "version": "0.0.7",
9
-      "resolved": "http://registry.npm.taobao.org/@antv/adjust/download/@antv/adjust-0.0.7.tgz",
10
-      "integrity": "sha1-Aeg8NrKMUO7LmPrZ3GYhdrQDarc=",
8
+      "version": "0.1.1",
9
+      "resolved": "https://registry.npm.taobao.org/@antv/adjust/download/@antv/adjust-0.1.1.tgz",
10
+      "integrity": "sha1-4mOrDhoZQaZIhC/Ahs9lp+O3Xpg=",
11
       "requires": {
11
       "requires": {
12
-        "@antv/util": "~1.2.5"
12
+        "@antv/util": "~1.3.1"
13
+      },
14
+      "dependencies": {
15
+        "@antv/util": {
16
+          "version": "1.3.1",
17
+          "resolved": "https://registry.npm.taobao.org/@antv/util/download/@antv/util-1.3.1.tgz",
18
+          "integrity": "sha1-MKNLIB/5Em7A1YxyyBZqnD5kTM0=",
19
+          "requires": {
20
+            "@antv/gl-matrix": "^2.7.1"
21
+          }
22
+        }
13
       }
23
       }
14
     },
24
     },
15
     "@antv/attr": {
25
     "@antv/attr": {
16
-      "version": "0.0.7",
17
-      "resolved": "http://registry.npm.taobao.org/@antv/attr/download/@antv/attr-0.0.7.tgz",
18
-      "integrity": "sha1-Mz8lLONfw+/fitSARsJjpr4tfQQ=",
26
+      "version": "0.1.2",
27
+      "resolved": "https://registry.npm.taobao.org/@antv/attr/download/@antv/attr-0.1.2.tgz",
28
+      "integrity": "sha1-LusSL8qvhRoth0mrx8YFGdP3fjc=",
19
       "requires": {
29
       "requires": {
20
-        "@antv/util": "~1.2.5"
30
+        "@antv/util": "~1.3.1"
31
+      },
32
+      "dependencies": {
33
+        "@antv/util": {
34
+          "version": "1.3.1",
35
+          "resolved": "https://registry.npm.taobao.org/@antv/util/download/@antv/util-1.3.1.tgz",
36
+          "integrity": "sha1-MKNLIB/5Em7A1YxyyBZqnD5kTM0=",
37
+          "requires": {
38
+            "@antv/gl-matrix": "^2.7.1"
39
+          }
40
+        }
21
       }
41
       }
22
     },
42
     },
23
     "@antv/f2": {
43
     "@antv/f2": {
24
-      "version": "3.2.3",
25
-      "resolved": "http://registry.npm.taobao.org/@antv/f2/download/@antv/f2-3.2.3.tgz",
26
-      "integrity": "sha1-VYSNlYGVU+swpt182pIbqSTQZPI=",
44
+      "version": "3.3.9",
45
+      "resolved": "https://registry.npm.taobao.org/@antv/f2/download/@antv/f2-3.3.9.tgz",
46
+      "integrity": "sha1-N5PaGSWrolzz451whLaSkDMMEQc=",
27
       "requires": {
47
       "requires": {
28
-        "@antv/adjust": "~0.0.3",
29
-        "@antv/attr": "~0.0.3",
30
-        "@antv/scale": "~0.0.6",
48
+        "@antv/adjust": "~0.1.1",
49
+        "@antv/attr": "~0.1.0",
50
+        "@antv/scale": "~0.1.2",
31
         "@antv/util": "~1.2.5",
51
         "@antv/util": "~1.2.5",
32
         "hammerjs": "^2.0.8"
52
         "hammerjs": "^2.0.8"
33
       }
53
       }
34
     },
54
     },
35
     "@antv/gl-matrix": {
55
     "@antv/gl-matrix": {
36
       "version": "2.7.1",
56
       "version": "2.7.1",
37
-      "resolved": "http://registry.npm.taobao.org/@antv/gl-matrix/download/@antv/gl-matrix-2.7.1.tgz",
57
+      "resolved": "https://registry.npm.taobao.org/@antv/gl-matrix/download/@antv/gl-matrix-2.7.1.tgz",
38
       "integrity": "sha1-rLjjf3qz3wE0WrpDcteUK+QuuhQ="
58
       "integrity": "sha1-rLjjf3qz3wE0WrpDcteUK+QuuhQ="
39
     },
59
     },
40
     "@antv/scale": {
60
     "@antv/scale": {
41
-      "version": "0.0.9",
42
-      "resolved": "http://registry.npm.taobao.org/@antv/scale/download/@antv/scale-0.0.9.tgz",
43
-      "integrity": "sha1-JKltPDpKUHMVqaM15aQ1vk1szUU=",
61
+      "version": "0.1.2",
62
+      "resolved": "https://registry.npm.taobao.org/@antv/scale/download/@antv/scale-0.1.2.tgz",
63
+      "integrity": "sha1-vZyzMDPYlEtSw+DkrM/WBUHDwUc=",
44
       "requires": {
64
       "requires": {
45
-        "@antv/util": "~1.2.5",
65
+        "@antv/util": "~1.3.1",
46
         "fecha": "~2.3.3"
66
         "fecha": "~2.3.3"
67
+      },
68
+      "dependencies": {
69
+        "@antv/util": {
70
+          "version": "1.3.1",
71
+          "resolved": "https://registry.npm.taobao.org/@antv/util/download/@antv/util-1.3.1.tgz",
72
+          "integrity": "sha1-MKNLIB/5Em7A1YxyyBZqnD5kTM0=",
73
+          "requires": {
74
+            "@antv/gl-matrix": "^2.7.1"
75
+          }
76
+        }
47
       }
77
       }
48
     },
78
     },
49
     "@antv/util": {
79
     "@antv/util": {
50
       "version": "1.2.5",
80
       "version": "1.2.5",
51
-      "resolved": "http://registry.npm.taobao.org/@antv/util/download/@antv/util-1.2.5.tgz",
81
+      "resolved": "https://registry.npm.taobao.org/@antv/util/download/@antv/util-1.2.5.tgz",
52
       "integrity": "sha1-iJbFBV7Cnko0S12ql7+CkF99QM0=",
82
       "integrity": "sha1-iJbFBV7Cnko0S12ql7+CkF99QM0=",
53
       "requires": {
83
       "requires": {
54
         "@antv/gl-matrix": "^2.7.1"
84
         "@antv/gl-matrix": "^2.7.1"
810
     },
840
     },
811
     "array-filter": {
841
     "array-filter": {
812
       "version": "1.0.0",
842
       "version": "1.0.0",
813
-      "resolved": "http://registry.npm.taobao.org/array-filter/download/array-filter-1.0.0.tgz",
843
+      "resolved": "https://registry.npm.taobao.org/array-filter/download/array-filter-1.0.0.tgz",
814
       "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM="
844
       "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM="
815
     },
845
     },
816
     "array-find": {
846
     "array-find": {
817
       "version": "1.0.0",
847
       "version": "1.0.0",
818
-      "resolved": "http://registry.npm.taobao.org/array-find/download/array-find-1.0.0.tgz",
848
+      "resolved": "https://registry.npm.taobao.org/array-find/download/array-find-1.0.0.tgz",
819
       "integrity": "sha1-bI4obRHtdoMn+OYuzuhzU8o+eLg="
849
       "integrity": "sha1-bI4obRHtdoMn+OYuzuhzU8o+eLg="
820
     },
850
     },
821
     "array-find-index": {
851
     "array-find-index": {
841
     },
871
     },
842
     "array-map": {
872
     "array-map": {
843
       "version": "0.0.0",
873
       "version": "0.0.0",
844
-      "resolved": "http://registry.npm.taobao.org/array-map/download/array-map-0.0.0.tgz",
874
+      "resolved": "https://registry.npm.taobao.org/array-map/download/array-map-0.0.0.tgz",
845
       "integrity": "sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI="
875
       "integrity": "sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI="
846
     },
876
     },
847
     "array-shuffle": {
877
     "array-shuffle": {
848
       "version": "1.0.1",
878
       "version": "1.0.1",
849
-      "resolved": "http://registry.npm.taobao.org/array-shuffle/download/array-shuffle-1.0.1.tgz",
879
+      "resolved": "https://registry.npm.taobao.org/array-shuffle/download/array-shuffle-1.0.1.tgz",
850
       "integrity": "sha1-fqSIKjVrS8pfVF4LblLq9tlxVXo="
880
       "integrity": "sha1-fqSIKjVrS8pfVF4LblLq9tlxVXo="
851
     },
881
     },
852
     "array-union": {
882
     "array-union": {
988
     },
1018
     },
989
     "async-validator": {
1019
     "async-validator": {
990
       "version": "1.8.5",
1020
       "version": "1.8.5",
991
-      "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-1.8.5.tgz",
992
-      "integrity": "sha512-tXBM+1m056MAX0E8TL2iCjg8WvSyXu0Zc8LNtYqrVeyoL3+esHRZ4SieE9fKQyyU09uONjnMEjrNBMqT0mbvmA==",
1021
+      "resolved": "https://registry.npm.taobao.org/async-validator/download/async-validator-1.8.5.tgz",
1022
+      "integrity": "sha1-3D4I7B/Q3dtn5ghC8CwM0c7G1/A=",
993
       "requires": {
1023
       "requires": {
994
         "babel-runtime": "6.x"
1024
         "babel-runtime": "6.x"
995
       }
1025
       }
1022
     },
1052
     },
1023
     "autosize": {
1053
     "autosize": {
1024
       "version": "3.0.21",
1054
       "version": "3.0.21",
1025
-      "resolved": "http://registry.npm.taobao.org/autosize/download/autosize-3.0.21.tgz",
1055
+      "resolved": "https://registry.npm.taobao.org/autosize/download/autosize-3.0.21.tgz",
1026
       "integrity": "sha1-8YL0DRd1fZeKE5pMnKQMTA5EhgM="
1056
       "integrity": "sha1-8YL0DRd1fZeKE5pMnKQMTA5EhgM="
1027
     },
1057
     },
1028
     "aws-sign2": {
1058
     "aws-sign2": {
1038
       "dev": true
1068
       "dev": true
1039
     },
1069
     },
1040
     "axios": {
1070
     "axios": {
1041
-      "version": "0.18.0",
1042
-      "resolved": "http://registry.npmjs.org/axios/-/axios-0.18.0.tgz",
1043
-      "integrity": "sha1-MtU+SFHv3AoRmTts0AB4nXDAUQI=",
1071
+      "version": "0.19.0",
1072
+      "resolved": "https://registry.npm.taobao.org/axios/download/axios-0.19.0.tgz",
1073
+      "integrity": "sha1-jgm/89kSLhM/e4EByPvdAO09Krg=",
1044
       "requires": {
1074
       "requires": {
1045
-        "follow-redirects": "^1.3.0",
1046
-        "is-buffer": "^1.1.5"
1075
+        "follow-redirects": "1.5.10",
1076
+        "is-buffer": "^2.0.2"
1077
+      },
1078
+      "dependencies": {
1079
+        "debug": {
1080
+          "version": "3.1.0",
1081
+          "resolved": "http://registry.npm.taobao.org/debug/download/debug-3.1.0.tgz",
1082
+          "integrity": "sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=",
1083
+          "requires": {
1084
+            "ms": "2.0.0"
1085
+          }
1086
+        },
1087
+        "follow-redirects": {
1088
+          "version": "1.5.10",
1089
+          "resolved": "https://registry.npm.taobao.org/follow-redirects/download/follow-redirects-1.5.10.tgz",
1090
+          "integrity": "sha1-e3qfmuov3/NnhqlP9kPtB/T/Xio=",
1091
+          "requires": {
1092
+            "debug": "=3.1.0"
1093
+          }
1094
+        },
1095
+        "is-buffer": {
1096
+          "version": "2.0.3",
1097
+          "resolved": "https://registry.npm.taobao.org/is-buffer/download/is-buffer-2.0.3.tgz",
1098
+          "integrity": "sha1-Ts8/z3ScvR5HJonhCaxmJhol5yU="
1099
+        }
1047
       }
1100
       }
1048
     },
1101
     },
1049
     "babel-code-frame": {
1102
     "babel-code-frame": {
2141
     },
2194
     },
2142
     "blueimp-md5": {
2195
     "blueimp-md5": {
2143
       "version": "2.10.0",
2196
       "version": "2.10.0",
2144
-      "resolved": "http://registry.npm.taobao.org/blueimp-md5/download/blueimp-md5-2.10.0.tgz",
2197
+      "resolved": "https://registry.npm.taobao.org/blueimp-md5/download/blueimp-md5-2.10.0.tgz",
2145
       "integrity": "sha1-AvCEOSH5DcoU9biSCjhZMgHWlk0="
2198
       "integrity": "sha1-AvCEOSH5DcoU9biSCjhZMgHWlk0="
2146
     },
2199
     },
2147
     "bn.js": {
2200
     "bn.js": {
2250
     },
2303
     },
2251
     "boom": {
2304
     "boom": {
2252
       "version": "2.10.1",
2305
       "version": "2.10.1",
2253
-      "resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz",
2306
+      "resolved": "http://registry.npm.taobao.org/boom/download/boom-2.10.1.tgz",
2254
       "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=",
2307
       "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=",
2255
       "dev": true,
2308
       "dev": true,
2256
       "requires": {
2309
       "requires": {
3354
     },
3407
     },
3355
     "countup.js": {
3408
     "countup.js": {
3356
       "version": "1.9.3",
3409
       "version": "1.9.3",
3357
-      "resolved": "http://registry.npm.taobao.org/countup.js/download/countup.js-1.9.3.tgz",
3410
+      "resolved": "https://registry.npm.taobao.org/countup.js/download/countup.js-1.9.3.tgz",
3358
       "integrity": "sha1-zj5QzXFgRB5HjwfaMYle3MDxyd0="
3411
       "integrity": "sha1-zj5QzXFgRB5HjwfaMYle3MDxyd0="
3359
     },
3412
     },
3360
     "create-ecdh": {
3413
     "create-ecdh": {
3446
     },
3499
     },
3447
     "cryptiles": {
3500
     "cryptiles": {
3448
       "version": "2.0.5",
3501
       "version": "2.0.5",
3449
-      "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz",
3502
+      "resolved": "http://registry.npm.taobao.org/cryptiles/download/cryptiles-2.0.5.tgz",
3450
       "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=",
3503
       "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=",
3451
       "dev": true,
3504
       "dev": true,
3452
       "optional": true,
3505
       "optional": true,
3894
     },
3947
     },
3895
     "deepmerge": {
3948
     "deepmerge": {
3896
       "version": "1.5.2",
3949
       "version": "1.5.2",
3897
-      "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-1.5.2.tgz",
3898
-      "integrity": "sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ=="
3950
+      "resolved": "https://registry.npm.taobao.org/deepmerge/download/deepmerge-1.5.2.tgz",
3951
+      "integrity": "sha1-EEmdhohEza1P7ghC34x/bwyVp1M="
3899
     },
3952
     },
3900
     "default-require-extensions": {
3953
     "default-require-extensions": {
3901
       "version": "1.0.0",
3954
       "version": "1.0.0",
4233
     },
4286
     },
4234
     "draftlog": {
4287
     "draftlog": {
4235
       "version": "1.0.12",
4288
       "version": "1.0.12",
4236
-      "resolved": "https://registry.npmjs.org/draftlog/-/draftlog-1.0.12.tgz",
4289
+      "resolved": "http://registry.npm.taobao.org/draftlog/download/draftlog-1.0.12.tgz",
4237
       "integrity": "sha1-fbajxbYhBrsy3Uo11nvMy2x9naA=",
4290
       "integrity": "sha1-fbajxbYhBrsy3Uo11nvMy2x9naA=",
4238
       "dev": true
4291
       "dev": true
4239
     },
4292
     },
4299
       "dev": true
4352
       "dev": true
4300
     },
4353
     },
4301
     "element-ui": {
4354
     "element-ui": {
4302
-      "version": "2.4.6",
4303
-      "resolved": "https://registry.npmjs.org/element-ui/-/element-ui-2.4.6.tgz",
4304
-      "integrity": "sha512-VYqKckWIyshGun707WedZeqHoRQkadR0QSuJjEwCzWQC/ofued4wCOoSXWdBwWAUPcdhaPJWMVZfwPuE29zB+w==",
4355
+      "version": "2.10.1",
4356
+      "resolved": "https://registry.npm.taobao.org/element-ui/download/element-ui-2.10.1.tgz",
4357
+      "integrity": "sha1-EBEBblDnb12ub7+chuU7blP8ues=",
4305
       "requires": {
4358
       "requires": {
4306
         "async-validator": "~1.8.1",
4359
         "async-validator": "~1.8.1",
4307
         "babel-helper-vue-jsx-merge-props": "^2.0.0",
4360
         "babel-helper-vue-jsx-merge-props": "^2.0.0",
4894
     },
4947
     },
4895
     "esprima-extract-comments": {
4948
     "esprima-extract-comments": {
4896
       "version": "0.2.1",
4949
       "version": "0.2.1",
4897
-      "resolved": "https://registry.npmjs.org/esprima-extract-comments/-/esprima-extract-comments-0.2.1.tgz",
4950
+      "resolved": "http://registry.npm.taobao.org/esprima-extract-comments/download/esprima-extract-comments-0.2.1.tgz",
4898
       "integrity": "sha1-kBjY3zf/2V3WFQFajF8Ede10NCM=",
4951
       "integrity": "sha1-kBjY3zf/2V3WFQFajF8Ede10NCM=",
4899
       "dev": true,
4952
       "dev": true,
4900
       "requires": {
4953
       "requires": {
5147
     },
5200
     },
5148
     "extract-comments": {
5201
     "extract-comments": {
5149
       "version": "0.10.1",
5202
       "version": "0.10.1",
5150
-      "resolved": "https://registry.npmjs.org/extract-comments/-/extract-comments-0.10.1.tgz",
5203
+      "resolved": "http://registry.npm.taobao.org/extract-comments/download/extract-comments-0.10.1.tgz",
5151
       "integrity": "sha1-i2AxgIovX94c1nv4MXuRggQwRAg=",
5204
       "integrity": "sha1-i2AxgIovX94c1nv4MXuRggQwRAg=",
5152
       "dev": true,
5205
       "dev": true,
5153
       "requires": {
5206
       "requires": {
5159
       "dependencies": {
5212
       "dependencies": {
5160
         "define-property": {
5213
         "define-property": {
5161
           "version": "0.2.5",
5214
           "version": "0.2.5",
5162
-          "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
5215
+          "resolved": "http://registry.npm.taobao.org/define-property/download/define-property-0.2.5.tgz",
5163
           "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
5216
           "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
5164
           "dev": true,
5217
           "dev": true,
5165
           "requires": {
5218
           "requires": {
5168
         },
5221
         },
5169
         "extend-shallow": {
5222
         "extend-shallow": {
5170
           "version": "2.0.1",
5223
           "version": "2.0.1",
5171
-          "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
5224
+          "resolved": "http://registry.npm.taobao.org/extend-shallow/download/extend-shallow-2.0.1.tgz",
5172
           "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
5225
           "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
5173
           "dev": true,
5226
           "dev": true,
5174
           "requires": {
5227
           "requires": {
5227
     },
5280
     },
5228
     "fastclick": {
5281
     "fastclick": {
5229
       "version": "1.0.6",
5282
       "version": "1.0.6",
5230
-      "resolved": "http://registry.npm.taobao.org/fastclick/download/fastclick-1.0.6.tgz",
5283
+      "resolved": "https://registry.npm.taobao.org/fastclick/download/fastclick-1.0.6.tgz",
5231
       "integrity": "sha1-FhYlsnsaWAZAWTa9qaLBkm0Gvmo="
5284
       "integrity": "sha1-FhYlsnsaWAZAWTa9qaLBkm0Gvmo="
5232
     },
5285
     },
5233
     "fastparse": {
5286
     "fastparse": {
5265
     },
5318
     },
5266
     "fecha": {
5319
     "fecha": {
5267
       "version": "2.3.3",
5320
       "version": "2.3.3",
5268
-      "resolved": "http://registry.npm.taobao.org/fecha/download/fecha-2.3.3.tgz",
5321
+      "resolved": "https://registry.npm.taobao.org/fecha/download/fecha-2.3.3.tgz",
5269
       "integrity": "sha1-lI50FX3xoy/RsSw6PDzctuydls0="
5322
       "integrity": "sha1-lI50FX3xoy/RsSw6PDzctuydls0="
5270
     },
5323
     },
5271
     "figures": {
5324
     "figures": {
5496
       "version": "1.5.7",
5549
       "version": "1.5.7",
5497
       "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.7.tgz",
5550
       "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.7.tgz",
5498
       "integrity": "sha512-NONJVIFiX7Z8k2WxfqBjtwqMifx7X42ORLFrOZ2LTKGj71G3C0kfdyTqGqr8fx5zSX6Foo/D95dgGWbPUiwnew==",
5551
       "integrity": "sha512-NONJVIFiX7Z8k2WxfqBjtwqMifx7X42ORLFrOZ2LTKGj71G3C0kfdyTqGqr8fx5zSX6Foo/D95dgGWbPUiwnew==",
5552
+      "dev": true,
5499
       "requires": {
5553
       "requires": {
5500
         "debug": "^3.1.0"
5554
         "debug": "^3.1.0"
5501
       },
5555
       },
5504
           "version": "3.1.0",
5558
           "version": "3.1.0",
5505
           "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
5559
           "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
5506
           "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
5560
           "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
5561
+          "dev": true,
5507
           "requires": {
5562
           "requires": {
5508
             "ms": "2.0.0"
5563
             "ms": "2.0.0"
5509
           }
5564
           }
6419
     },
6474
     },
6420
     "hammerjs": {
6475
     "hammerjs": {
6421
       "version": "2.0.8",
6476
       "version": "2.0.8",
6422
-      "resolved": "http://registry.npm.taobao.org/hammerjs/download/hammerjs-2.0.8.tgz",
6477
+      "resolved": "https://registry.npm.taobao.org/hammerjs/download/hammerjs-2.0.8.tgz",
6423
       "integrity": "sha1-BO93hiz/K7edMPdpIJWTAiK/YPE="
6478
       "integrity": "sha1-BO93hiz/K7edMPdpIJWTAiK/YPE="
6424
     },
6479
     },
6425
     "handle-thing": {
6480
     "handle-thing": {
6482
     },
6537
     },
6483
     "has-symbols": {
6538
     "has-symbols": {
6484
       "version": "1.0.0",
6539
       "version": "1.0.0",
6485
-      "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz",
6540
+      "resolved": "http://registry.npm.taobao.org/has-symbols/download/has-symbols-1.0.0.tgz",
6486
       "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=",
6541
       "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=",
6487
       "dev": true
6542
       "dev": true
6488
     },
6543
     },
6580
     },
6635
     },
6581
     "hawk": {
6636
     "hawk": {
6582
       "version": "3.1.3",
6637
       "version": "3.1.3",
6583
-      "resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz",
6638
+      "resolved": "http://registry.npm.taobao.org/hawk/download/hawk-3.1.3.tgz",
6584
       "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=",
6639
       "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=",
6585
       "dev": true,
6640
       "dev": true,
6586
       "optional": true,
6641
       "optional": true,
6610
     },
6665
     },
6611
     "hoek": {
6666
     "hoek": {
6612
       "version": "2.16.3",
6667
       "version": "2.16.3",
6613
-      "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz",
6668
+      "resolved": "http://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz",
6614
       "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=",
6669
       "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=",
6615
       "dev": true
6670
       "dev": true
6616
     },
6671
     },
7004
     },
7059
     },
7005
     "inline-manifest-webpack-plugin": {
7060
     "inline-manifest-webpack-plugin": {
7006
       "version": "3.0.1",
7061
       "version": "3.0.1",
7007
-      "resolved": "https://registry.npmjs.org/inline-manifest-webpack-plugin/-/inline-manifest-webpack-plugin-3.0.1.tgz",
7062
+      "resolved": "http://registry.npm.taobao.org/inline-manifest-webpack-plugin/download/inline-manifest-webpack-plugin-3.0.1.tgz",
7008
       "integrity": "sha1-yiFRBjEVKY4v2UtmmrdsfdY+RK0=",
7063
       "integrity": "sha1-yiFRBjEVKY4v2UtmmrdsfdY+RK0=",
7009
       "dev": true,
7064
       "dev": true,
7010
       "requires": {
7065
       "requires": {
7131
     "is-buffer": {
7186
     "is-buffer": {
7132
       "version": "1.1.6",
7187
       "version": "1.1.6",
7133
       "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
7188
       "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
7134
-      "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
7189
+      "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
7190
+      "dev": true
7135
     },
7191
     },
7136
     "is-builtin-module": {
7192
     "is-builtin-module": {
7137
       "version": "1.0.0",
7193
       "version": "1.0.0",
7339
     },
7395
     },
7340
     "is-regexp": {
7396
     "is-regexp": {
7341
       "version": "1.0.0",
7397
       "version": "1.0.0",
7342
-      "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz",
7398
+      "resolved": "http://registry.npm.taobao.org/is-regexp/download/is-regexp-1.0.0.tgz",
7343
       "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=",
7399
       "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=",
7344
       "dev": true
7400
       "dev": true
7345
     },
7401
     },
8496
     },
8552
     },
8497
     "lodash.differencewith": {
8553
     "lodash.differencewith": {
8498
       "version": "4.5.0",
8554
       "version": "4.5.0",
8499
-      "resolved": "https://registry.npmjs.org/lodash.differencewith/-/lodash.differencewith-4.5.0.tgz",
8555
+      "resolved": "http://registry.npm.taobao.org/lodash.differencewith/download/lodash.differencewith-4.5.0.tgz",
8500
       "integrity": "sha1-uvr7yRi1UVTheRdqALsK76rIVLc=",
8556
       "integrity": "sha1-uvr7yRi1UVTheRdqALsK76rIVLc=",
8501
       "dev": true
8557
       "dev": true
8502
     },
8558
     },
8514
     },
8570
     },
8515
     "lodash.isequal": {
8571
     "lodash.isequal": {
8516
       "version": "4.5.0",
8572
       "version": "4.5.0",
8517
-      "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz",
8573
+      "resolved": "http://registry.npm.taobao.org/lodash.isequal/download/lodash.isequal-4.5.0.tgz",
8518
       "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=",
8574
       "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=",
8519
       "dev": true
8575
       "dev": true
8520
     },
8576
     },
8579
     },
8635
     },
8580
     "lodash.throttle": {
8636
     "lodash.throttle": {
8581
       "version": "4.1.1",
8637
       "version": "4.1.1",
8582
-      "resolved": "http://registry.npm.taobao.org/lodash.throttle/download/lodash.throttle-4.1.1.tgz",
8638
+      "resolved": "https://registry.npm.taobao.org/lodash.throttle/download/lodash.throttle-4.1.1.tgz",
8583
       "integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ="
8639
       "integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ="
8584
     },
8640
     },
8585
     "lodash.unionwith": {
8641
     "lodash.unionwith": {
8586
       "version": "4.6.0",
8642
       "version": "4.6.0",
8587
-      "resolved": "https://registry.npmjs.org/lodash.unionwith/-/lodash.unionwith-4.6.0.tgz",
8643
+      "resolved": "http://registry.npm.taobao.org/lodash.unionwith/download/lodash.unionwith-4.6.0.tgz",
8588
       "integrity": "sha1-dNFAtcqBRubGQ8NyT1FSU42awfA=",
8644
       "integrity": "sha1-dNFAtcqBRubGQ8NyT1FSU42awfA=",
8589
       "dev": true
8645
       "dev": true
8590
     },
8646
     },
9231
     },
9287
     },
9232
     "node-cli-config": {
9288
     "node-cli-config": {
9233
       "version": "0.0.1",
9289
       "version": "0.0.1",
9234
-      "resolved": "https://registry.npmjs.org/node-cli-config/-/node-cli-config-0.0.1.tgz",
9290
+      "resolved": "http://registry.npm.taobao.org/node-cli-config/download/node-cli-config-0.0.1.tgz",
9235
       "integrity": "sha1-r3d02FQCprfLlsH5G7JP3VjXwLA=",
9291
       "integrity": "sha1-r3d02FQCprfLlsH5G7JP3VjXwLA=",
9236
       "dev": true
9292
       "dev": true
9237
     },
9293
     },
9446
     },
9502
     },
9447
     "normalize-wheel": {
9503
     "normalize-wheel": {
9448
       "version": "1.0.1",
9504
       "version": "1.0.1",
9449
-      "resolved": "https://registry.npmjs.org/normalize-wheel/-/normalize-wheel-1.0.1.tgz",
9505
+      "resolved": "http://registry.npm.taobao.org/normalize-wheel/download/normalize-wheel-1.0.1.tgz",
9450
       "integrity": "sha1-rsiGr/2wRQcNhWRH32Ls+GFG7EU="
9506
       "integrity": "sha1-rsiGr/2wRQcNhWRH32Ls+GFG7EU="
9451
     },
9507
     },
9452
     "npm-run-path": {
9508
     "npm-run-path": {
9879
     },
9935
     },
9880
     "parse-code-context": {
9936
     "parse-code-context": {
9881
       "version": "0.2.2",
9937
       "version": "0.2.2",
9882
-      "resolved": "https://registry.npmjs.org/parse-code-context/-/parse-code-context-0.2.2.tgz",
9938
+      "resolved": "http://registry.npm.taobao.org/parse-code-context/download/parse-code-context-0.2.2.tgz",
9883
       "integrity": "sha1-FEuK+3IZSC1+iMHranZVlvOmrA0=",
9939
       "integrity": "sha1-FEuK+3IZSC1+iMHranZVlvOmrA0=",
9884
       "dev": true
9940
       "dev": true
9885
     },
9941
     },
12402
     },
12458
     },
12403
     "qr.js": {
12459
     "qr.js": {
12404
       "version": "0.0.0",
12460
       "version": "0.0.0",
12405
-      "resolved": "http://registry.npm.taobao.org/qr.js/download/qr.js-0.0.0.tgz",
12461
+      "resolved": "https://registry.npm.taobao.org/qr.js/download/qr.js-0.0.0.tgz",
12406
       "integrity": "sha1-ys6GOG9ZoNuAUPqQ2baw6IoeNk8="
12462
       "integrity": "sha1-ys6GOG9ZoNuAUPqQ2baw6IoeNk8="
12407
     },
12463
     },
12408
     "qs": {
12464
     "qs": {
12877
       "dev": true
12933
       "dev": true
12878
     },
12934
     },
12879
     "resize-observer-polyfill": {
12935
     "resize-observer-polyfill": {
12880
-      "version": "1.5.0",
12881
-      "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.0.tgz",
12882
-      "integrity": "sha512-M2AelyJDVR/oLnToJLtuDJRBBWUGUvvGigj1411hXhAdyFWqMaqHp7TixW3FpiLuVaikIcR1QL+zqoJoZlOgpg=="
12936
+      "version": "1.5.1",
12937
+      "resolved": "http://registry.npm.taobao.org/resize-observer-polyfill/download/resize-observer-polyfill-1.5.1.tgz",
12938
+      "integrity": "sha1-DpAg3T0hAkRY1OvSfiPkAmmBBGQ="
12883
     },
12939
     },
12884
     "resolve": {
12940
     "resolve": {
12885
       "version": "1.8.1",
12941
       "version": "1.8.1",
13362
         },
13418
         },
13363
         "os-locale": {
13419
         "os-locale": {
13364
           "version": "1.4.0",
13420
           "version": "1.4.0",
13365
-          "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
13421
+          "resolved": "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
13366
           "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
13422
           "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
13367
           "dev": true,
13423
           "dev": true,
13368
           "requires": {
13424
           "requires": {
13675
     },
13731
     },
13676
     "shake.js": {
13732
     "shake.js": {
13677
       "version": "1.2.2",
13733
       "version": "1.2.2",
13678
-      "resolved": "http://registry.npm.taobao.org/shake.js/download/shake.js-1.2.2.tgz",
13734
+      "resolved": "https://registry.npm.taobao.org/shake.js/download/shake.js-1.2.2.tgz",
13679
       "integrity": "sha1-sqxWCoKr5o14oCliOnCI4bMLrP8="
13735
       "integrity": "sha1-sqxWCoKr5o14oCliOnCI4bMLrP8="
13680
     },
13736
     },
13681
     "shallow-clone": {
13737
     "shallow-clone": {
13878
     },
13934
     },
13879
     "sntp": {
13935
     "sntp": {
13880
       "version": "1.0.9",
13936
       "version": "1.0.9",
13881
-      "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz",
13937
+      "resolved": "http://registry.npm.taobao.org/sntp/download/sntp-1.0.9.tgz",
13882
       "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=",
13938
       "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=",
13883
       "dev": true,
13939
       "dev": true,
13884
       "optional": true,
13940
       "optional": true,
14298
     },
14354
     },
14299
     "strip-comments": {
14355
     "strip-comments": {
14300
       "version": "0.4.4",
14356
       "version": "0.4.4",
14301
-      "resolved": "https://registry.npmjs.org/strip-comments/-/strip-comments-0.4.4.tgz",
14357
+      "resolved": "http://registry.npm.taobao.org/strip-comments/download/strip-comments-0.4.4.tgz",
14302
       "integrity": "sha1-ucqvxP6QX5bAkd+J+achXyqmKcY=",
14358
       "integrity": "sha1-ucqvxP6QX5bAkd+J+achXyqmKcY=",
14303
       "dev": true,
14359
       "dev": true,
14304
       "requires": {
14360
       "requires": {
14308
       "dependencies": {
14364
       "dependencies": {
14309
         "extend-shallow": {
14365
         "extend-shallow": {
14310
           "version": "2.0.1",
14366
           "version": "2.0.1",
14311
-          "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
14367
+          "resolved": "http://registry.npm.taobao.org/extend-shallow/download/extend-shallow-2.0.1.tgz",
14312
           "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
14368
           "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
14313
           "dev": true,
14369
           "dev": true,
14314
           "requires": {
14370
           "requires": {
14319
     },
14375
     },
14320
     "strip-css-comments": {
14376
     "strip-css-comments": {
14321
       "version": "3.0.0",
14377
       "version": "3.0.0",
14322
-      "resolved": "https://registry.npmjs.org/strip-css-comments/-/strip-css-comments-3.0.0.tgz",
14378
+      "resolved": "http://registry.npm.taobao.org/strip-css-comments/download/strip-css-comments-3.0.0.tgz",
14323
       "integrity": "sha1-elYl7/iisibPiUehElTaluE9rok=",
14379
       "integrity": "sha1-elYl7/iisibPiUehElTaluE9rok=",
14324
       "dev": true,
14380
       "dev": true,
14325
       "requires": {
14381
       "requires": {
14533
     },
14589
     },
14534
     "throttle-debounce": {
14590
     "throttle-debounce": {
14535
       "version": "1.1.0",
14591
       "version": "1.1.0",
14536
-      "resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-1.1.0.tgz",
14537
-      "integrity": "sha512-XH8UiPCQcWNuk2LYePibW/4qL97+ZQ1AN3FNXwZRBNPPowo/NRU5fAlDCSNBJIYCKbioZfuYtMhG4quqoJhVzg=="
14592
+      "resolved": "http://registry.npm.taobao.org/throttle-debounce/download/throttle-debounce-1.1.0.tgz",
14593
+      "integrity": "sha1-UYU9o3vmihVctugns1FKPEIuic0="
14538
     },
14594
     },
14539
     "through": {
14595
     "through": {
14540
       "version": "2.3.8",
14596
       "version": "2.3.8",
14656
     },
14712
     },
14657
     "touch": {
14713
     "touch": {
14658
       "version": "1.0.0",
14714
       "version": "1.0.0",
14659
-      "resolved": "https://registry.npmjs.org/touch/-/touch-1.0.0.tgz",
14715
+      "resolved": "http://registry.npm.taobao.org/touch/download/touch-1.0.0.tgz",
14660
       "integrity": "sha1-RJy+LbrlqMgDjjDXH6D/RklHxN4=",
14716
       "integrity": "sha1-RJy+LbrlqMgDjjDXH6D/RklHxN4=",
14661
       "dev": true,
14717
       "dev": true,
14662
       "requires": {
14718
       "requires": {
14665
       "dependencies": {
14721
       "dependencies": {
14666
         "nopt": {
14722
         "nopt": {
14667
           "version": "1.0.10",
14723
           "version": "1.0.10",
14668
-          "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz",
14724
+          "resolved": "http://registry.npm.taobao.org/nopt/download/nopt-1.0.10.tgz",
14669
           "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=",
14725
           "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=",
14670
           "dev": true,
14726
           "dev": true,
14671
           "requires": {
14727
           "requires": {
15157
     },
15213
     },
15158
     "validator": {
15214
     "validator": {
15159
       "version": "9.4.1",
15215
       "version": "9.4.1",
15160
-      "resolved": "http://registry.npm.taobao.org/validator/download/validator-9.4.1.tgz",
15216
+      "resolved": "https://registry.npm.taobao.org/validator/download/validator-9.4.1.tgz",
15161
       "integrity": "sha1-q/Rm05i1Yc0kMFARLG/x3mzBJmM="
15217
       "integrity": "sha1-q/Rm05i1Yc0kMFARLG/x3mzBJmM="
15162
     },
15218
     },
15163
     "vanilla-masker": {
15219
     "vanilla-masker": {
15164
       "version": "1.2.0",
15220
       "version": "1.2.0",
15165
-      "resolved": "http://registry.npm.taobao.org/vanilla-masker/download/vanilla-masker-1.2.0.tgz",
15221
+      "resolved": "https://registry.npm.taobao.org/vanilla-masker/download/vanilla-masker-1.2.0.tgz",
15166
       "integrity": "sha1-woMOnZlKX+zSJhUGR3wnB/5Yl1Y="
15222
       "integrity": "sha1-woMOnZlKX+zSJhUGR3wnB/5Yl1Y="
15167
     },
15223
     },
15168
     "vant": {
15224
     "vant": {
15412
       "integrity": "sha512-wLoqz0B7DSZtgbWL1ShIBBCjv22GV5U+vcBFox658g6V0s4wZV9P4YjCNyoHSyIBpj1f29JBoNQIqD82cR4O3w=="
15468
       "integrity": "sha512-wLoqz0B7DSZtgbWL1ShIBBCjv22GV5U+vcBFox658g6V0s4wZV9P4YjCNyoHSyIBpj1f29JBoNQIqD82cR4O3w=="
15413
     },
15469
     },
15414
     "vux": {
15470
     "vux": {
15415
-      "version": "2.9.2",
15416
-      "resolved": "http://registry.npm.taobao.org/vux/download/vux-2.9.2.tgz",
15417
-      "integrity": "sha1-nGZkEGtX0zplZsaPdW+aiLG8Gkc=",
15471
+      "version": "2.9.4",
15472
+      "resolved": "https://registry.npm.taobao.org/vux/download/vux-2.9.4.tgz",
15473
+      "integrity": "sha1-OWTfTwrFSz+/bMm+sHLkTc4Ar6o=",
15418
       "requires": {
15474
       "requires": {
15419
         "@antv/f2": "^3.1.4-beta.2",
15475
         "@antv/f2": "^3.1.4-beta.2",
15420
         "array-filter": "^1.0.0",
15476
         "array-filter": "^1.0.0",
15441
       "dependencies": {
15497
       "dependencies": {
15442
         "axios": {
15498
         "axios": {
15443
           "version": "0.15.3",
15499
           "version": "0.15.3",
15444
-          "resolved": "http://registry.npm.taobao.org/axios/download/axios-0.15.3.tgz",
15500
+          "resolved": "https://registry.npm.taobao.org/axios/download/axios-0.15.3.tgz",
15445
           "integrity": "sha1-LJ1jiy4ZGgjqHWzJiOrda6W9wFM=",
15501
           "integrity": "sha1-LJ1jiy4ZGgjqHWzJiOrda6W9wFM=",
15446
           "requires": {
15502
           "requires": {
15447
             "follow-redirects": "1.0.0"
15503
             "follow-redirects": "1.0.0"
15449
         },
15505
         },
15450
         "follow-redirects": {
15506
         "follow-redirects": {
15451
           "version": "1.0.0",
15507
           "version": "1.0.0",
15452
-          "resolved": "http://registry.npm.taobao.org/follow-redirects/download/follow-redirects-1.0.0.tgz",
15508
+          "resolved": "https://registry.npm.taobao.org/follow-redirects/download/follow-redirects-1.0.0.tgz",
15453
           "integrity": "sha1-jjQpjL0uF28lTv/sdaHHjMhJ/Tc=",
15509
           "integrity": "sha1-jjQpjL0uF28lTv/sdaHHjMhJ/Tc=",
15454
           "requires": {
15510
           "requires": {
15455
             "debug": "^2.2.0"
15511
             "debug": "^2.2.0"
15459
     },
15515
     },
15460
     "vux-blazy": {
15516
     "vux-blazy": {
15461
       "version": "1.6.4",
15517
       "version": "1.6.4",
15462
-      "resolved": "http://registry.npm.taobao.org/vux-blazy/download/vux-blazy-1.6.4.tgz",
15518
+      "resolved": "https://registry.npm.taobao.org/vux-blazy/download/vux-blazy-1.6.4.tgz",
15463
       "integrity": "sha1-4zBz2QLgo4RO8aRjzOPKLgqrR78="
15519
       "integrity": "sha1-4zBz2QLgo4RO8aRjzOPKLgqrR78="
15464
     },
15520
     },
15465
     "vux-loader": {
15521
     "vux-loader": {
15491
       "dependencies": {
15547
       "dependencies": {
15492
         "ajv": {
15548
         "ajv": {
15493
           "version": "4.11.8",
15549
           "version": "4.11.8",
15494
-          "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz",
15550
+          "resolved": "http://registry.npm.taobao.org/ajv/download/ajv-4.11.8.tgz",
15495
           "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=",
15551
           "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=",
15496
           "dev": true,
15552
           "dev": true,
15497
           "optional": true,
15553
           "optional": true,
15502
         },
15558
         },
15503
         "assert-plus": {
15559
         "assert-plus": {
15504
           "version": "0.2.0",
15560
           "version": "0.2.0",
15505
-          "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz",
15561
+          "resolved": "http://registry.npm.taobao.org/assert-plus/download/assert-plus-0.2.0.tgz",
15506
           "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=",
15562
           "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=",
15507
           "dev": true,
15563
           "dev": true,
15508
           "optional": true
15564
           "optional": true
15509
         },
15565
         },
15510
         "aws-sign2": {
15566
         "aws-sign2": {
15511
           "version": "0.6.0",
15567
           "version": "0.6.0",
15512
-          "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz",
15568
+          "resolved": "http://registry.npm.taobao.org/aws-sign2/download/aws-sign2-0.6.0.tgz",
15513
           "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=",
15569
           "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=",
15514
           "dev": true,
15570
           "dev": true,
15515
           "optional": true
15571
           "optional": true
15516
         },
15572
         },
15517
         "form-data": {
15573
         "form-data": {
15518
           "version": "2.1.4",
15574
           "version": "2.1.4",
15519
-          "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.1.4.tgz",
15575
+          "resolved": "http://registry.npm.taobao.org/form-data/download/form-data-2.1.4.tgz",
15520
           "integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=",
15576
           "integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=",
15521
           "dev": true,
15577
           "dev": true,
15522
           "optional": true,
15578
           "optional": true,
15528
         },
15584
         },
15529
         "har-schema": {
15585
         "har-schema": {
15530
           "version": "1.0.5",
15586
           "version": "1.0.5",
15531
-          "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-1.0.5.tgz",
15587
+          "resolved": "http://registry.npm.taobao.org/har-schema/download/har-schema-1.0.5.tgz",
15532
           "integrity": "sha1-0mMTX0MwfALGAq/I/pWXDAFRNp4=",
15588
           "integrity": "sha1-0mMTX0MwfALGAq/I/pWXDAFRNp4=",
15533
           "dev": true,
15589
           "dev": true,
15534
           "optional": true
15590
           "optional": true
15535
         },
15591
         },
15536
         "har-validator": {
15592
         "har-validator": {
15537
           "version": "4.2.1",
15593
           "version": "4.2.1",
15538
-          "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-4.2.1.tgz",
15594
+          "resolved": "http://registry.npm.taobao.org/har-validator/download/har-validator-4.2.1.tgz",
15539
           "integrity": "sha1-M0gdDxu/9gDdID11gSpqX7oALio=",
15595
           "integrity": "sha1-M0gdDxu/9gDdID11gSpqX7oALio=",
15540
           "dev": true,
15596
           "dev": true,
15541
           "optional": true,
15597
           "optional": true,
15546
         },
15602
         },
15547
         "http-signature": {
15603
         "http-signature": {
15548
           "version": "1.1.1",
15604
           "version": "1.1.1",
15549
-          "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz",
15605
+          "resolved": "http://registry.npm.taobao.org/http-signature/download/http-signature-1.1.1.tgz",
15550
           "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=",
15606
           "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=",
15551
           "dev": true,
15607
           "dev": true,
15552
           "optional": true,
15608
           "optional": true,
15574
         },
15630
         },
15575
         "loader-utils": {
15631
         "loader-utils": {
15576
           "version": "0.2.17",
15632
           "version": "0.2.17",
15577
-          "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz",
15633
+          "resolved": "http://registry.npm.taobao.org/loader-utils/download/loader-utils-0.2.17.tgz",
15578
           "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=",
15634
           "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=",
15579
           "dev": true,
15635
           "dev": true,
15580
           "requires": {
15636
           "requires": {
15586
         },
15642
         },
15587
         "oauth-sign": {
15643
         "oauth-sign": {
15588
           "version": "0.8.2",
15644
           "version": "0.8.2",
15589
-          "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz",
15645
+          "resolved": "http://registry.npm.taobao.org/oauth-sign/download/oauth-sign-0.8.2.tgz",
15590
           "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=",
15646
           "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=",
15591
           "dev": true,
15647
           "dev": true,
15592
           "optional": true
15648
           "optional": true
15602
         },
15658
         },
15603
         "performance-now": {
15659
         "performance-now": {
15604
           "version": "0.2.0",
15660
           "version": "0.2.0",
15605
-          "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-0.2.0.tgz",
15661
+          "resolved": "http://registry.npm.taobao.org/performance-now/download/performance-now-0.2.0.tgz",
15606
           "integrity": "sha1-M+8wxcd9TqIcWlOGnZG1bY8lVeU=",
15662
           "integrity": "sha1-M+8wxcd9TqIcWlOGnZG1bY8lVeU=",
15607
           "dev": true,
15663
           "dev": true,
15608
           "optional": true
15664
           "optional": true
15609
         },
15665
         },
15610
         "qs": {
15666
         "qs": {
15611
           "version": "6.4.0",
15667
           "version": "6.4.0",
15612
-          "resolved": "https://registry.npmjs.org/qs/-/qs-6.4.0.tgz",
15668
+          "resolved": "http://registry.npm.taobao.org/qs/download/qs-6.4.0.tgz",
15613
           "integrity": "sha1-E+JtKK1rD/qpExLNO/cI7TUecjM=",
15669
           "integrity": "sha1-E+JtKK1rD/qpExLNO/cI7TUecjM=",
15614
           "dev": true,
15670
           "dev": true,
15615
           "optional": true
15671
           "optional": true
15616
         },
15672
         },
15617
         "request": {
15673
         "request": {
15618
           "version": "2.81.0",
15674
           "version": "2.81.0",
15619
-          "resolved": "https://registry.npmjs.org/request/-/request-2.81.0.tgz",
15675
+          "resolved": "http://registry.npm.taobao.org/request/download/request-2.81.0.tgz",
15620
           "integrity": "sha1-xpKJRqDgbF+Nb4qTM0af/aRimKA=",
15676
           "integrity": "sha1-xpKJRqDgbF+Nb4qTM0af/aRimKA=",
15621
           "dev": true,
15677
           "dev": true,
15622
           "optional": true,
15678
           "optional": true,
15647
         },
15703
         },
15648
         "source-list-map": {
15704
         "source-list-map": {
15649
           "version": "0.1.8",
15705
           "version": "0.1.8",
15650
-          "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-0.1.8.tgz",
15706
+          "resolved": "http://registry.npm.taobao.org/source-list-map/download/source-list-map-0.1.8.tgz",
15651
           "integrity": "sha1-xVCyq1Qn9rPyH1r+rYjE9Vh7IQY=",
15707
           "integrity": "sha1-xVCyq1Qn9rPyH1r+rYjE9Vh7IQY=",
15652
           "dev": true
15708
           "dev": true
15653
         },
15709
         },
15654
         "source-map": {
15710
         "source-map": {
15655
           "version": "0.5.7",
15711
           "version": "0.5.7",
15656
-          "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
15712
+          "resolved": "http://registry.npm.taobao.org/source-map/download/source-map-0.5.7.tgz",
15657
           "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
15713
           "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
15658
           "dev": true
15714
           "dev": true
15659
         },
15715
         },
15669
         },
15725
         },
15670
         "webpack-merge": {
15726
         "webpack-merge": {
15671
           "version": "1.1.2",
15727
           "version": "1.1.2",
15672
-          "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-1.1.2.tgz",
15728
+          "resolved": "http://registry.npm.taobao.org/webpack-merge/download/webpack-merge-1.1.2.tgz",
15673
           "integrity": "sha1-SfKmi6X9NLsTwzjBhMcCjZOENDI=",
15729
           "integrity": "sha1-SfKmi6X9NLsTwzjBhMcCjZOENDI=",
15674
           "dev": true,
15730
           "dev": true,
15675
           "requires": {
15731
           "requires": {
15684
         },
15740
         },
15685
         "webpack-sources": {
15741
         "webpack-sources": {
15686
           "version": "0.1.5",
15742
           "version": "0.1.5",
15687
-          "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.5.tgz",
15743
+          "resolved": "http://registry.npm.taobao.org/webpack-sources/download/webpack-sources-0.1.5.tgz",
15688
           "integrity": "sha1-qh86vw8NdNtxEcQOUAuE+WZkB1A=",
15744
           "integrity": "sha1-qh86vw8NdNtxEcQOUAuE+WZkB1A=",
15689
           "dev": true,
15745
           "dev": true,
15690
           "requires": {
15746
           "requires": {
15696
     },
15752
     },
15697
     "vux-xscroll": {
15753
     "vux-xscroll": {
15698
       "version": "3.1.12",
15754
       "version": "3.1.12",
15699
-      "resolved": "http://registry.npm.taobao.org/vux-xscroll/download/vux-xscroll-3.1.12.tgz",
15755
+      "resolved": "https://registry.npm.taobao.org/vux-xscroll/download/vux-xscroll-3.1.12.tgz",
15700
       "integrity": "sha1-41Ln+dxfn+6SU9szHJZ91Ws7yVA="
15756
       "integrity": "sha1-41Ln+dxfn+6SU9szHJZ91Ws7yVA="
15701
     },
15757
     },
15702
     "w3c-hr-time": {
15758
     "w3c-hr-time": {
16413
     },
16469
     },
16414
     "x-photoswipe": {
16470
     "x-photoswipe": {
16415
       "version": "4.1.3-rc.1",
16471
       "version": "4.1.3-rc.1",
16416
-      "resolved": "http://registry.npm.taobao.org/x-photoswipe/download/x-photoswipe-4.1.3-rc.1.tgz",
16472
+      "resolved": "https://registry.npm.taobao.org/x-photoswipe/download/x-photoswipe-4.1.3-rc.1.tgz",
16417
       "integrity": "sha1-52GQF1LdPdH3GOU4UUtgm13199s="
16473
       "integrity": "sha1-52GQF1LdPdH3GOU4UUtgm13199s="
16418
     },
16474
     },
16419
     "xml-name-validator": {
16475
     "xml-name-validator": {

+ 8 - 1
src/pages/home/login.vue 查看文件

57
     loginAction: function() {
57
     loginAction: function() {
58
       loginByPwd(this.form.mobile, hex_md5(this.form.pwd)).then(rs => {
58
       loginByPwd(this.form.mobile, hex_md5(this.form.pwd)).then(rs => {
59
         var resp = rs.data
59
         var resp = rs.data
60
+
60
         if (resp.state == 1) {
61
         if (resp.state == 1) {
61
           cacheLoginInfo(this.form.mobile, this.form.pwd)
62
           cacheLoginInfo(this.form.mobile, this.form.pwd)
63
+          console.log(resp)
62
 
64
 
63
           var user = resp.data.user
65
           var user = resp.data.user
64
           var org = resp.data.org
66
           var org = resp.data.org
65
           var subscibe = resp.data.subscibe
67
           var subscibe = resp.data.subscibe
66
           var config_list = resp.data.config_list
68
           var config_list = resp.data.config_list
67
           var template_info = resp.data.template_info
69
           var template_info = resp.data.template_info
70
+          var filed_list = resp.data.filed_list
71
+          console.log(resp.data.filed_list)
72
+          console.log(filed_list)
73
+
74
+
68
 
75
 
69
-          this.$store.dispatch("InitUserInfo", {user: user, org: org, subscibe: subscibe,template_info:template_info})
76
+          this.$store.dispatch("InitUserInfo", {user: user, org: org, subscibe: subscibe,template_info:template_info,filed_list:filed_list})
70
           this.$store.dispatch("SetConfigList", config_list)
77
           this.$store.dispatch("SetConfigList", config_list)
71
 
78
 
72
           // this.$router.push({path: "/product"})
79
           // this.$router.push({path: "/product"})

+ 20 - 11
src/pages/main/dialog/AcceptsDialog.vue 查看文件

8
       </div>
8
       </div>
9
       <div class="DialogContent choose">
9
       <div class="DialogContent choose">
10
         <el-form :model="receiveTreatmentAsses" label-width="90px">
10
         <el-form :model="receiveTreatmentAsses" label-width="90px">
11
-          <el-form-item label="入室方式: ">
11
+          <el-form-item label="入室方式: " v-if="isShow('入室方式')">
12
             <el-radio v-model="receiveTreatmentAsses.way" label="1">步行</el-radio>
12
             <el-radio v-model="receiveTreatmentAsses.way" label="1">步行</el-radio>
13
             <el-radio v-model="receiveTreatmentAsses.way" label="2">扶行</el-radio>
13
             <el-radio v-model="receiveTreatmentAsses.way" label="2">扶行</el-radio>
14
             <el-radio v-model="receiveTreatmentAsses.way" label="3">轮椅</el-radio>
14
             <el-radio v-model="receiveTreatmentAsses.way" label="3">轮椅</el-radio>
15
             <el-radio v-model="receiveTreatmentAsses.way" label="4">平车</el-radio>
15
             <el-radio v-model="receiveTreatmentAsses.way" label="4">平车</el-radio>
16
             <!--</el-radio-group>-->
16
             <!--</el-radio-group>-->
17
           </el-form-item>
17
           </el-form-item>
18
-          <el-form-item label="病人意识: ">
18
+          <el-form-item label="病人意识: " v-if="isShow('病人意识')">
19
 
19
 
20
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="1">清醒</el-radio>
20
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="1">清醒</el-radio>
21
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="2">嗜睡</el-radio>
21
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="2">嗜睡</el-radio>
22
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="3">昏迷</el-radio>
22
             <el-radio v-model="receiveTreatmentAsses.consciousness" label="3">昏迷</el-radio>
23
 
23
 
24
           </el-form-item>
24
           </el-form-item>
25
-          <el-form-item label="病人食欲: ">
25
+          <el-form-item label="病人食欲: " v-if="isShow('病人食欲')">
26
             <el-radio v-model="receiveTreatmentAsses.appetite" label="1">正常</el-radio>
26
             <el-radio v-model="receiveTreatmentAsses.appetite" label="1">正常</el-radio>
27
             <el-radio v-model="receiveTreatmentAsses.appetite" label="2">减退</el-radio>
27
             <el-radio v-model="receiveTreatmentAsses.appetite" label="2">减退</el-radio>
28
             <el-radio v-model="receiveTreatmentAsses.appetite" label="3">恶心</el-radio>
28
             <el-radio v-model="receiveTreatmentAsses.appetite" label="3">恶心</el-radio>
29
             <el-radio v-model="receiveTreatmentAsses.appetite" label="4">呕吐</el-radio>
29
             <el-radio v-model="receiveTreatmentAsses.appetite" label="4">呕吐</el-radio>
30
             <el-radio v-model="receiveTreatmentAsses.appetite" label="5">腹泻</el-radio>
30
             <el-radio v-model="receiveTreatmentAsses.appetite" label="5">腹泻</el-radio>
31
           </el-form-item>
31
           </el-form-item>
32
-          <el-form-item label="病人情况: ">
32
+          <el-form-item label="病人情况: " v-if="isShow('病人情况')">
33
             <el-radio v-model="receiveTreatmentAsses.condition" label="1">住院</el-radio>
33
             <el-radio v-model="receiveTreatmentAsses.condition" label="1">住院</el-radio>
34
             <el-radio v-model="receiveTreatmentAsses.condition" label="2">门诊</el-radio>
34
             <el-radio v-model="receiveTreatmentAsses.condition" label="2">门诊</el-radio>
35
             <el-radio v-model="receiveTreatmentAsses.condition" label="3">手术期</el-radio>
35
             <el-radio v-model="receiveTreatmentAsses.condition" label="3">手术期</el-radio>
36
           </el-form-item>
36
           </el-form-item>
37
-          <el-form-item label="体位: ">
37
+          <el-form-item label="体位: " v-if="isShow('体位')">
38
             <el-radio v-model="receiveTreatmentAsses.posture" label="1">自动体位</el-radio>
38
             <el-radio v-model="receiveTreatmentAsses.posture" label="1">自动体位</el-radio>
39
             <el-radio v-model="receiveTreatmentAsses.posture" label="2">平卧位</el-radio>
39
             <el-radio v-model="receiveTreatmentAsses.posture" label="2">平卧位</el-radio>
40
             <el-radio v-model="receiveTreatmentAsses.posture" label="3">半卧位</el-radio>
40
             <el-radio v-model="receiveTreatmentAsses.posture" label="3">半卧位</el-radio>
41
             <el-radio v-model="receiveTreatmentAsses.posture" label="4">端坐位</el-radio>
41
             <el-radio v-model="receiveTreatmentAsses.posture" label="4">端坐位</el-radio>
42
             <el-radio v-model="receiveTreatmentAsses.posture" label="5">躁动不安</el-radio>
42
             <el-radio v-model="receiveTreatmentAsses.posture" label="5">躁动不安</el-radio>
43
           </el-form-item>
43
           </el-form-item>
44
-          <el-form-item label="病情: " v-if="this.$store.getters.user.template_info.template_id == 2">
44
+          <el-form-item label="病情: "  v-if="isShow('病情')">
45
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="1">一般</el-radio>
45
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="1">一般</el-radio>
46
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="2">严重</el-radio>
46
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="2">严重</el-radio>
47
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="3">危</el-radio>
47
             <el-radio v-model="receiveTreatmentAsses.sick_condition" label="3">危</el-radio>
48
           </el-form-item>
48
           </el-form-item>
49
 
49
 
50
-          <el-form-item label="风险程度: " v-if="this.$store.getters.user.template_info.template_id == 2">
50
+          <el-form-item label="风险程度: " v-if="isShow('风险程度')">
51
             <el-radio v-model="receiveTreatmentAsses.danger_level" label="1">无</el-radio>
51
             <el-radio v-model="receiveTreatmentAsses.danger_level" label="1">无</el-radio>
52
             <el-radio v-model="receiveTreatmentAsses.danger_level" label="2">低风险</el-radio>
52
             <el-radio v-model="receiveTreatmentAsses.danger_level" label="2">低风险</el-radio>
53
             <el-radio v-model="receiveTreatmentAsses.danger_level" label="3">中度风险</el-radio>
53
             <el-radio v-model="receiveTreatmentAsses.danger_level" label="3">中度风险</el-radio>
54
             <el-radio v-model="receiveTreatmentAsses.danger_level" label="4">高风险</el-radio>
54
             <el-radio v-model="receiveTreatmentAsses.danger_level" label="4">高风险</el-radio>
55
 
55
 
56
           </el-form-item>
56
           </el-form-item>
57
-          <el-form-item label="摄入量: " v-if="this.$store.getters.user.template_info.template_id == 2">
57
+          <el-form-item label="摄入量: "  v-if="isShow('摄入量')">
58
             <el-radio v-model="receiveTreatmentAsses.intake" label="1">正常</el-radio>
58
             <el-radio v-model="receiveTreatmentAsses.intake" label="1">正常</el-radio>
59
             <el-radio v-model="receiveTreatmentAsses.intake" label="2">减少</el-radio>
59
             <el-radio v-model="receiveTreatmentAsses.intake" label="2">减少</el-radio>
60
           </el-form-item>
60
           </el-form-item>
61
-          <el-form-item label="营养状况: " v-if="this.$store.getters.user.template_info.template_id == 2">
61
+          <el-form-item label="营养状况: "  v-if="isShow('营养状况')">
62
             <el-radio v-model="receiveTreatmentAsses.nutrition" label="1">正常</el-radio>
62
             <el-radio v-model="receiveTreatmentAsses.nutrition" label="1">正常</el-radio>
63
             <el-radio v-model="receiveTreatmentAsses.nutrition" label="2">营养不良</el-radio>
63
             <el-radio v-model="receiveTreatmentAsses.nutrition" label="2">营养不良</el-radio>
64
           </el-form-item>
64
           </el-form-item>
65
-          <el-form-item label="心理评估: " v-if="this.$store.getters.user.template_info.template_id == 2">
65
+          <el-form-item label="心理评估: "  v-if="isShow('心理评估')">
66
             <el-radio v-model="receiveTreatmentAsses.psychological_assessment" label="1">正常</el-radio>
66
             <el-radio v-model="receiveTreatmentAsses.psychological_assessment" label="1">正常</el-radio>
67
             <el-radio v-model="receiveTreatmentAsses.psychological_assessment" label="2">异常</el-radio>
67
             <el-radio v-model="receiveTreatmentAsses.psychological_assessment" label="2">异常</el-radio>
68
           </el-form-item>
68
           </el-form-item>
69
           <el-form-item label-width="100dp" label="心理评估异常情况 : "
69
           <el-form-item label-width="100dp" label="心理评估异常情况 : "
70
-                        v-if="this.$store.getters.user.template_info.template_id == 2&&receiveTreatmentAsses.psychological_assessment == 2">
70
+                        v-if="isShow('心理评估异常情况')&&receiveTreatmentAsses.psychological_assessment == 2">
71
             <el-input v-model="receiveTreatmentAsses.psychological_assessment_other"></el-input>
71
             <el-input v-model="receiveTreatmentAsses.psychological_assessment_other"></el-input>
72
           </el-form-item>
72
           </el-form-item>
73
         </el-form>
73
         </el-form>
218
       this.patient.id = this.patient_prop.id
218
       this.patient.id = this.patient_prop.id
219
     },
219
     },
220
     methods: {
220
     methods: {
221
+      isShow(name){
222
+        var filedList = this.$store.getters.user.fileds
223
+        for (let i = 0; i < filedList.length; i++){
224
+          if(filedList[i].module == 2 && filedList[i].filed_name_cn == name&&filedList[i].is_show == 1){
225
+            return true
226
+          }
227
+        }
228
+        return false
229
+      },
221
       commitInfo: function () {
230
       commitInfo: function () {
222
         Toast.loading({forbidClick: true, duration: 0})
231
         Toast.loading({forbidClick: true, duration: 0})
223
         let ParamsQuery = this.receiveTreatmentAsses
232
         let ParamsQuery = this.receiveTreatmentAsses

+ 41 - 31
src/pages/main/dialog/AssessmentDialog.vue 查看文件

8
       </div>
8
       </div>
9
 
9
 
10
       <div class="DialogContent" id="dialogTop">
10
       <div class="DialogContent" id="dialogTop">
11
-        <div class="item">
11
+        <div class="item" v-if="isShow('透前体重')">
12
           <h2 class="name">透前体重(kg)</h2>
12
           <h2 class="name">透前体重(kg)</h2>
13
           <div class="content">
13
           <div class="content">
14
             <input type="tel" @focus="inputFocus" v-model="formValue.weight_before"/>
14
             <input type="tel" @focus="inputFocus" v-model="formValue.weight_before"/>
15
           </div>
15
           </div>
16
         </div>
16
         </div>
17
-        <div class="item">
17
+        <div class="item" v-if="isShow('干体重')">
18
           <h2 class="name">干体重(kg)</h2>
18
           <h2 class="name">干体重(kg)</h2>
19
           <div class="content">
19
           <div class="content">
20
             <input type="tel" @focus="inputFocus" v-model="formValue.dry_weight"/>
20
             <input type="tel" @focus="inputFocus" v-model="formValue.dry_weight"/>
21
           </div>
21
           </div>
22
         </div>
22
         </div>
23
-        <div class="item">
23
+        <div class="item" v-if="isShow('体温')">
24
           <h2 class="name">体温(℃)</h2>
24
           <h2 class="name">体温(℃)</h2>
25
           <div class="content">
25
           <div class="content">
26
             <input type="tel" @focus="inputFocus" v-model="formValue.temperature"/>
26
             <input type="tel" @focus="inputFocus" v-model="formValue.temperature"/>
27
           </div>
27
           </div>
28
         </div>
28
         </div>
29
-        <div class="item">
29
+        <div class="item" v-if="isShow('出血')">
30
           <h2 class="name">出血</h2>
30
           <h2 class="name">出血</h2>
31
           <div class="content">
31
           <div class="content">
32
             <span class="text" style="width: 50px;"><div style="padding-top: 0.08rem; height: 0.8rem;"><van-switch
32
             <span class="text" style="width: 50px;"><div style="padding-top: 0.08rem; height: 0.8rem;"><van-switch
33
               v-model="hemorrhage_state" @change="hemorrhageStateChange"/></div></span>
33
               v-model="hemorrhage_state" @change="hemorrhageStateChange"/></div></span>
34
           </div>
34
           </div>
35
         </div>
35
         </div>
36
-        <div @click="showSubMenu('hemorrhage')" class="item" ref="hemorrhage" v-show="hemorrhage_state">
36
+        <div @click="showSubMenu('hemorrhage')" class="item" ref="hemorrhage" v-if="hemorrhage_state&&isShow('出血选项')">
37
           <h2 class="name">—— 出血选项</h2>
37
           <h2 class="name">—— 出血选项</h2>
38
           <div class="content">
38
           <div class="content">
39
             <span class="text" style="width: 50px">{{formValue.hemorrhage}}</span>
39
             <span class="text" style="width: 50px">{{formValue.hemorrhage}}</span>
40
             <span class="iconfont">&#xe6f9;</span>
40
             <span class="iconfont">&#xe6f9;</span>
41
           </div>
41
           </div>
42
         </div>
42
         </div>
43
-        <div class="item" v-show="hemorrhage_state">
43
+        <div class="item" v-if="hemorrhage_state&&isShow('其他出血情况')">
44
           <h2 class="name">—— 其他出血情况</h2>
44
           <h2 class="name">—— 其他出血情况</h2>
45
           <div class="content">
45
           <div class="content">
46
             <input @focus="inputFocus" v-model="formValue.hemorrhage_other"/>
46
             <input @focus="inputFocus" v-model="formValue.hemorrhage_other"/>
47
           </div>
47
           </div>
48
         </div>
48
         </div>
49
-        <div @click="showSubMenu('internal_fistula')" class="item" ref="internal_fistula">
49
+        <div @click="showSubMenu('internal_fistula')" class="item" ref="internal_fistula" v-if="isShow('内瘘')">
50
           <h2 class="name">内瘘</h2>
50
           <h2 class="name">内瘘</h2>
51
           <div class="content">
51
           <div class="content">
52
             <span class="text" style="width: 100px">{{formValue.internal_fistula}}</span>
52
             <span class="text" style="width: 100px">{{formValue.internal_fistula}}</span>
53
             <span class="iconfont">&#xe6f9;</span>
53
             <span class="iconfont">&#xe6f9;</span>
54
           </div>
54
           </div>
55
         </div>
55
         </div>
56
-        <div @click="showSubMenu('internal_fistula_skin')" class="item" ref="internal_fistula_skin">
56
+        <div @click="showSubMenu('internal_fistula_skin')" class="item" ref="internal_fistula_skin" v-if="isShow('内瘘皮肤情况')">
57
           <h2 class="name">内瘘皮肤情况</h2>
57
           <h2 class="name">内瘘皮肤情况</h2>
58
           <div class="content">
58
           <div class="content">
59
             <span class="text" style="width: 100px">{{formValue.internal_fistula_skin}}</span>
59
             <span class="text" style="width: 100px">{{formValue.internal_fistula_skin}}</span>
60
             <span class="iconfont">&#xe6f9;</span>
60
             <span class="iconfont">&#xe6f9;</span>
61
           </div>
61
           </div>
62
         </div>
62
         </div>
63
-        <div @click="showSubMenu('catheter')" class="item" ref="catheter">
63
+        <div @click="showSubMenu('catheter')" class="item" ref="catheter" v-if="isShow('导管')">
64
           <h2 class="name">导管</h2>
64
           <h2 class="name">导管</h2>
65
           <div class="content">
65
           <div class="content">
66
             <span class="text">{{formValue.catheter}}</span>
66
             <span class="text">{{formValue.catheter}}</span>
67
             <span class="iconfont">&#xe6f9;</span>
67
             <span class="iconfont">&#xe6f9;</span>
68
           </div>
68
           </div>
69
         </div>
69
         </div>
70
-        <div @click="showSubMenu('catheter_bend')" class="item" ref="catheter_bend">
70
+        <div @click="showSubMenu('catheter_bend')" class="item" ref="catheter_bend" v-if="isShow('导管打折')">
71
           <h2 class="name">导管打折</h2>
71
           <h2 class="name">导管打折</h2>
72
           <div class="content">
72
           <div class="content">
73
             <span class="text">{{GetCatheterBendById(formValue.catheter_bend)}}</span>
73
             <span class="text">{{GetCatheterBendById(formValue.catheter_bend)}}</span>
76
         </div>
76
         </div>
77
 
77
 
78
         <div class="line"></div>
78
         <div class="line"></div>
79
-        <div class="item">
79
+        <div class="item" v-if="isShow('收缩压')">
80
           <h2 class="name">收缩压(mmHg)</h2>
80
           <h2 class="name">收缩压(mmHg)</h2>
81
           <div class="content">
81
           <div class="content">
82
             <input type="tel" @focus="inputFocus" v-model="formValue.systolic_blood_pressure"/>
82
             <input type="tel" @focus="inputFocus" v-model="formValue.systolic_blood_pressure"/>
83
           </div>
83
           </div>
84
         </div>
84
         </div>
85
-        <div class="item">
85
+        <div class="item" v-if="isShow('舒张压')">
86
           <h2 class="name">舒张压(mmHg)</h2>
86
           <h2 class="name">舒张压(mmHg)</h2>
87
           <div class="content">
87
           <div class="content">
88
             <input type="tel" @focus="inputFocus" v-model="formValue.diastolic_blood_pressure"/>
88
             <input type="tel" @focus="inputFocus" v-model="formValue.diastolic_blood_pressure"/>
89
           </div>
89
           </div>
90
         </div>
90
         </div>
91
-        <div class="item">
91
+        <div class="item" v-if="isShow('脉率')">
92
           <h2 class="name">脉率(次/分)</h2>
92
           <h2 class="name">脉率(次/分)</h2>
93
           <div class="content">
93
           <div class="content">
94
             <input type="tel" @focus="inputFocus" v-model="formValue.pulse_frequency"/>
94
             <input type="tel" @focus="inputFocus" v-model="formValue.pulse_frequency"/>
95
           </div>
95
           </div>
96
         </div>
96
         </div>
97
-        <div @click="showSubMenu('blood_access_part')" class="item" ref="blood_access_part">
97
+        <div @click="showSubMenu('blood_access_part')" class="item" ref="blood_access_part" v-if="isShow('血管通路部位')">
98
           <h2 class="name">血管通路部位</h2>
98
           <h2 class="name">血管通路部位</h2>
99
           <div class="content">
99
           <div class="content">
100
             <span class="text">{{QueryPartById(formValue.blood_access_part_id)}}</span>
100
             <span class="text">{{QueryPartById(formValue.blood_access_part_id)}}</span>
101
             <span class="iconfont">&#xe6f9;</span>
101
             <span class="iconfont">&#xe6f9;</span>
102
           </div>
102
           </div>
103
         </div>
103
         </div>
104
-        <div @click="showSubMenu('blood_access_opera')" class="item" ref="blood_access_opera">
104
+        <div @click="showSubMenu('blood_access_opera')" class="item" ref="blood_access_opera" v-if="isShow('血管通路操作')">
105
           <h2 class="name">血管通路操作</h2>
105
           <h2 class="name">血管通路操作</h2>
106
           <div class="content">
106
           <div class="content">
107
             <span class="text">{{QueryOperaById(formValue.blood_access_part_opera_id)}}</span>
107
             <span class="text">{{QueryOperaById(formValue.blood_access_part_opera_id)}}</span>
110
         </div>
110
         </div>
111
         <div class="line"></div>
111
         <div class="line"></div>
112
 
112
 
113
-        <div @click="showSubMenu('complication')" class="item" ref="complication">
113
+        <div @click="showSubMenu('complication')" class="item" ref="complication" v-if="isShow('并发症')">
114
           <h2 class="name">并发症</h2>
114
           <h2 class="name">并发症</h2>
115
           <div class="content">
115
           <div class="content">
116
             <span class="text" style="width: 50px">{{formValue.complication}}</span>
116
             <span class="text" style="width: 50px">{{formValue.complication}}</span>
117
             <span class="iconfont">&#xe6f9;</span>
117
             <span class="iconfont">&#xe6f9;</span>
118
           </div>
118
           </div>
119
         </div>
119
         </div>
120
-        <div @click="showSubMenu('last_post_dialysis')" class="item" ref="last_post_dialysis">
120
+        <div @click="showSubMenu('last_post_dialysis')" class="item" ref="last_post_dialysis" v-if="isShow('前次透析后')">
121
           <h2 class="name">前次透析后</h2>
121
           <h2 class="name">前次透析后</h2>
122
           <div class="content">
122
           <div class="content">
123
             <span class="text" style="width: 100px">{{formValue.last_post_dialysis}}</span>
123
             <span class="text" style="width: 100px">{{formValue.last_post_dialysis}}</span>
124
             <span class="iconfont">&#xe6f9;</span>
124
             <span class="iconfont">&#xe6f9;</span>
125
           </div>
125
           </div>
126
         </div>
126
         </div>
127
-        <div @click="showSubMenu('dialysis_interphase')" class="item" ref="dialysis_interphase">
127
+        <div @click="showSubMenu('dialysis_interphase')" class="item" ref="dialysis_interphase" v-if="isShow('透析期间')">
128
           <h2 class="name">透析期间</h2>
128
           <h2 class="name">透析期间</h2>
129
           <div class="content">
129
           <div class="content">
130
             <span class="text" style="width: 100px">{{formValue.dialysis_interphase}}</span>
130
             <span class="text" style="width: 100px">{{formValue.dialysis_interphase}}</span>
131
             <span class="iconfont">&#xe6f9;</span>
131
             <span class="iconfont">&#xe6f9;</span>
132
           </div>
132
           </div>
133
         </div>
133
         </div>
134
-        <div @click="showSubMenu('symptom_before_dialysis')" class="item" ref="symptom_before_dialysis">
134
+        <div @click="showSubMenu('symptom_before_dialysis')" class="item" ref="symptom_before_dialysis" v-if="isShow('透析前症状')">
135
           <h2 class="name">透析前症状</h2>
135
           <h2 class="name">透析前症状</h2>
136
           <div class="content">
136
           <div class="content">
137
             <span class="text" style="width: 100px">{{formValue.symptom_before_dialysis}}</span>
137
             <span class="text" style="width: 100px">{{formValue.symptom_before_dialysis}}</span>
141
 
141
 
142
         <div class="line"></div>
142
         <div class="line"></div>
143
 
143
 
144
-        <div class="item" ref="symptom_before_dialysis" v-if="this.$store.getters.user.template_info.template_id == 2">
144
+        <div class="item" ref="symptom_before_dialysis" v-if="isShow('透析机型号')">
145
           <h2 class="name">透析机型号</h2>
145
           <h2 class="name">透析机型号</h2>
146
           <div class="content">
146
           <div class="content">
147
             <input type="tel" @focus="inputFocus" v-model="formValue.machine_type"/>
147
             <input type="tel" @focus="inputFocus" v-model="formValue.machine_type"/>
148
           </div>
148
           </div>
149
         </div>
149
         </div>
150
 
150
 
151
-        <div class="item" ref="symptom_before_dialysis" v-if="this.$store.getters.user.template_info.template_id == 2">
151
+        <div class="item" ref="symptom_before_dialysis" v-if="isShow('透析频次')">
152
           <h2 class="name">透析频次(次/周)</h2>
152
           <h2 class="name">透析频次(次/周)</h2>
153
           <div class="content">
153
           <div class="content">
154
             <input type="tel" @focus="inputFocus" v-model="formValue.dialysis_count"/>
154
             <input type="tel" @focus="inputFocus" v-model="formValue.dialysis_count"/>
155
           </div>
155
           </div>
156
         </div>
156
         </div>
157
-        <div @click="showSubMenu('blood_access_internal_fistula')" class="item" ref="blood_access_internal_fistula" v-if="this.$store.getters.user.template_info.template_id == 2">
157
+        <div @click="showSubMenu('blood_access_internal_fistula')" class="item" ref="blood_access_internal_fistula" v-if="isShow('血管通路(内瘘)')">
158
           <h2 class="name">血管通路(内瘘)</h2>
158
           <h2 class="name">血管通路(内瘘)</h2>
159
           <div class="content">
159
           <div class="content">
160
             <span class="text" style="width: 100px">{{formValue.blood_access_internal_fistula}}</span>
160
             <span class="text" style="width: 100px">{{formValue.blood_access_internal_fistula}}</span>
162
           </div>
162
           </div>
163
         </div>
163
         </div>
164
 
164
 
165
-        <div class="item" ref="internal_fistula_other" v-if="this.$store.getters.user.template_info.template_id == 2">
165
+        <div class="item" ref="internal_fistula_other" v-if="isShow('血管通路(内瘘)其他')">
166
           <h2 class="name">血管通路(内瘘)其他</h2>
166
           <h2 class="name">血管通路(内瘘)其他</h2>
167
           <div class="content">
167
           <div class="content">
168
             <input @focus="inputFocus" v-model="formValue.internal_fistula_other"/>
168
             <input @focus="inputFocus" v-model="formValue.internal_fistula_other"/>
169
           </div>
169
           </div>
170
         </div>
170
         </div>
171
 
171
 
172
-        <div @click="showSubMenu('blood_access_noise')" class="item" ref="blood_access_noise" v-if="this.$store.getters.user.template_info.template_id == 2">
172
+        <div @click="showSubMenu('blood_access_noise')" class="item" ref="blood_access_noise" v-if="isShow('血管杂音')">
173
           <h2 class="name">血管杂音</h2>
173
           <h2 class="name">血管杂音</h2>
174
           <div class="content">
174
           <div class="content">
175
             <span class="text" style="width: 100px">{{getBloodAccessNoise(formValue.blood_access_noise)}}</span>
175
             <span class="text" style="width: 100px">{{getBloodAccessNoise(formValue.blood_access_noise)}}</span>
178
         </div>
178
         </div>
179
 
179
 
180
 
180
 
181
-        <div @click="showSubMenu('puncture_way')" class="item" ref="puncture_way" v-if="this.$store.getters.user.template_info.template_id == 2">
181
+        <div @click="showSubMenu('puncture_way')" class="item" ref="puncture_way" v-if="isShow('穿刺方式')">
182
           <h2 class="name">穿刺方式</h2>
182
           <h2 class="name">穿刺方式</h2>
183
           <div class="content">
183
           <div class="content">
184
             <span class="text" style="width: 100px">{{getWay(formValue.puncture_way)}}</span>
184
             <span class="text" style="width: 100px">{{getWay(formValue.puncture_way)}}</span>
187
         </div>
187
         </div>
188
 
188
 
189
 
189
 
190
-        <div @click="showSubMenu('venous_catheterization')" class="item" ref="venous_catheterization" v-if="this.$store.getters.user.template_info.template_id == 2">
190
+        <div @click="showSubMenu('venous_catheterization')" class="item" ref="venous_catheterization" v-if="isShow('中心静脉置管')">
191
           <h2 class="name">中心静脉置管</h2>
191
           <h2 class="name">中心静脉置管</h2>
192
           <div class="content">
192
           <div class="content">
193
             <span class="text" style="width: 100px">{{getVenousCatheterization(formValue.venous_catheterization)}}</span>
193
             <span class="text" style="width: 100px">{{getVenousCatheterization(formValue.venous_catheterization)}}</span>
196
         </div>
196
         </div>
197
 
197
 
198
 
198
 
199
-        <div @click="showSubMenu('venous_catheterization_part')" class="item" ref="venous_catheterization_part" v-if="this.$store.getters.user.template_info.template_id == 2">
199
+        <div @click="showSubMenu('venous_catheterization_part')" class="item" ref="venous_catheterization_part" v-if="isShow('位置')">
200
           <h2 class="name">位置</h2>
200
           <h2 class="name">位置</h2>
201
           <div class="content">
201
           <div class="content">
202
             <span class="text" style="width: 100px">{{getVenousCatheterizationPart(formValue.venous_catheterization_part)}}</span>
202
             <span class="text" style="width: 100px">{{getVenousCatheterizationPart(formValue.venous_catheterization_part)}}</span>
205
         </div>
205
         </div>
206
 
206
 
207
         <div class="item" ref="venous_catheterization_part_other"
207
         <div class="item" ref="venous_catheterization_part_other"
208
-             v-if="this.$store.getters.user.template_info.template_id == 2">
208
+             v-if="isShow('其他位置')">
209
           <h2 class="name">其他位置</h2>
209
           <h2 class="name">其他位置</h2>
210
           <div class="content">
210
           <div class="content">
211
             <input @focus="inputFocus" v-model="formValue.venous_catheterization_part_other"/>
211
             <input @focus="inputFocus" v-model="formValue.venous_catheterization_part_other"/>
213
         </div>
213
         </div>
214
 
214
 
215
 
215
 
216
-        <div @click="showSubMenu('ductus_arantii')" class="item" ref="ductus_arantii" v-if="this.$store.getters.user.template_info.template_id == 2">
216
+        <div @click="showSubMenu('ductus_arantii')" class="item" ref="ductus_arantii" v-if="isShow('中心静脉导管')">
217
           <h2 class="name">中心静脉导管</h2>
217
           <h2 class="name">中心静脉导管</h2>
218
           <div class="content">
218
           <div class="content">
219
             <span class="text" style="width: 100px">{{formValue.ductus_arantii}}</span>
219
             <span class="text" style="width: 100px">{{formValue.ductus_arantii}}</span>
222
         </div>
222
         </div>
223
 
223
 
224
 
224
 
225
-        <div @click="showSubMenu('emergency_treatment')" class="item" ref="emergency_treatment" v-if="this.$store.getters.user.template_info.template_id == 2">
225
+        <div @click="showSubMenu('emergency_treatment')" class="item" ref="emergency_treatment" v-if="isShow('急诊')">
226
           <h2 class="name">急诊</h2>
226
           <h2 class="name">急诊</h2>
227
           <div class="content">
227
           <div class="content">
228
             <span class="text" style="width: 100px">{{getEmergencyTreatment(formValue.emergency_treatment)}}</span>
228
             <span class="text" style="width: 100px">{{getEmergencyTreatment(formValue.emergency_treatment)}}</span>
230
           </div>
230
           </div>
231
         </div>
231
         </div>
232
 
232
 
233
-        <div class="item" ref="emergency_treatment_other" v-if="this.$store.getters.user.template_info.template_id == 2">
233
+        <div class="item" ref="emergency_treatment_other" v-if="isShow('其他急诊情况')">
234
           <h2 class="name">其他急诊情况</h2>
234
           <h2 class="name">其他急诊情况</h2>
235
           <div class="content">
235
           <div class="content">
236
             <input @focus="inputFocus" v-model="formValue.emergency_treatment_other"/>
236
             <input @focus="inputFocus" v-model="formValue.emergency_treatment_other"/>
334
       }
334
       }
335
     },
335
     },
336
     methods: {
336
     methods: {
337
+      isShow(name){
338
+        var filedList = this.$store.getters.user.fileds
339
+
340
+        for (let i = 0; i < filedList.length; i++){
341
+          if(filedList[i].module == 3 && filedList[i].filed_name_cn == name&&filedList[i].is_show == 1){
342
+            return true
343
+          }
344
+        }
345
+        return false
346
+      },
337
       getBloodAccessInternalFistula: function (id) {
347
       getBloodAccessInternalFistula: function (id) {
338
         if (id == -1) {
348
         if (id == -1) {
339
           return '其他'
349
           return '其他'

+ 58 - 48
src/pages/main/dialog/MonitDialog.vue 查看文件

18
            <div style="width:100%;overflow:hildden;">
18
            <div style="width:100%;overflow:hildden;">
19
             <table  class="table" style="">
19
             <table  class="table" style="">
20
             <tr @click="selectRow(-1, null)">
20
             <tr @click="selectRow(-1, null)">
21
-                <th width="124px">时间</th>
22
-                <th width="72px">血压(mmHg)</th>
23
-                <th width="80px">心率(次/分)</th>
24
-                <th width="110px">呼吸(次/分)</th>
25
-                <th width="92px">血流量(ml/min)</th>
21
+                <th  v-if="isShow('监测时间')"  width="124px">时间</th>
22
+                <th  v-if="isShow('血压')" width="72px">血压(mmHg)</th>
23
+                <th  v-if="isShow('心率')" width="80px">心率(次/分)</th>
24
+                <th  v-if="isShow('呼吸')" width="110px">呼吸(次/分)</th>
25
+                <th  v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
26
                 <th width="76px">静脉压/动脉压(mmHg)</th>
26
                 <th width="76px">静脉压/动脉压(mmHg)</th>
27
-                <th width="76px">跨膜压(mmHg)</th>
28
-                <th width="76px">超滤量(L)</th>
29
-                <th width="92px">钠浓度(mmol/L)</th>
30
-                <th width="82px">透析液温度(℃)</th>
31
-                <th width="92px">置换率(L/h)</th>
32
-                <th width="50px">置换量(L)</th>
33
-                <th width="92px">病情变化</th>
34
-                <th width="92px">处理</th>
35
-                <th width="92px">结果</th>
27
+                <th  v-if="isShow('跨膜压')" width="76px">跨膜压(mmHg)</th>
28
+                <th  v-if="isShow('超滤量')" width="76px">超滤量(L)</th>
29
+                <th  v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
30
+                <th  v-if="isShow('透析液温度')" width="82px">透析液温度(℃)</th>
31
+                <th  v-if="isShow('置换率')" width="92px">置换率(L/h)</th>
32
+                <th  v-if="isShow('置换量')" width="50px">置换量(L)</th>
33
+                <th  v-if="isShow('病情变化')" width="92px">病情变化</th>
34
+                <th  v-if="isShow('处理')" width="92px">处理</th>
35
+                <th  v-if="isShow('结果')" width="92px">结果</th>
36
             </tr>
36
             </tr>
37
             <tr v-for="(item,index) in monitorRecords" :key="index" :value="item.value" @click="selectRow(index, item)" :class="index==currentIndex?rowClass:''">
37
             <tr v-for="(item,index) in monitorRecords" :key="index" :value="item.value" @click="selectRow(index, item)" :class="index==currentIndex?rowClass:''">
38
-                <td>{{parseTime(item.operate_time, "{y}-{m}-{d} {h}:{i}")}}</td>
39
-                <td>{{item.systolic_blood_pressure?item.systolic_blood_pressure:""}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:""}}</td>
40
-                <td>{{item.pulse_frequency?item.pulse_frequency:""}}</td>
41
-                <td>{{item.breathing_rate?item.breathing_rate:""}}</td>
42
-                <td>{{item.blood_flow_volume?item.blood_flow_volume:""}}</td>
43
-                <td>{{item.venous_pressure?item.venous_pressure:""}}/{{item.arterial_pressure?item.arterial_pressure:""}}</td>
44
-                <td>{{item.transmembrane_pressure?item.transmembrane_pressure:""}}</td>
45
-                <td>{{item.ultrafiltration_volume?item.ultrafiltration_volume:""}}</td>
46
-                <td>{{item.sodium_concentration?item.sodium_concentration:""}}</td>
47
-                <td>{{item.dialysate_temperature?item.dialysate_temperature:""}}</td>
48
-                <td>{{item.replacement_rate?item.replacement_rate:""}}</td>
49
-                <td>{{item.displacement_quantity?item.displacement_quantity:""}}</td>
50
-                <td>{{item.symptom}}</td>
51
-                <td>{{item.dispose}}</td>
52
-                <td>{{item.result}}</td>
38
+                <td   v-if="isShow('监测时间')">{{parseTime(item.operate_time, "{y}-{m}-{d} {h}:{i}")}}</td>
39
+                <td v-if="isShow('血压')">{{item.systolic_blood_pressure?item.systolic_blood_pressure:""}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:""}}</td>
40
+                <td v-if="isShow('心率')">{{item.pulse_frequency?item.pulse_frequency:""}}</td>
41
+                <td v-if="isShow('呼吸')">{{item.breathing_rate?item.breathing_rate:""}}</td>
42
+                <td v-if="isShow('血流量')">{{item.blood_flow_volume?item.blood_flow_volume:""}}</td>
43
+                <td >{{item.venous_pressure?item.venous_pressure:""}}/{{item.arterial_pressure?item.arterial_pressure:""}}</td>
44
+                <td v-if="isShow('跨膜压')">{{item.transmembrane_pressure?item.transmembrane_pressure:""}}</td>
45
+                <td v-if="isShow('超滤量')">{{item.ultrafiltration_volume?item.ultrafiltration_volume:""}}</td>
46
+                <td v-if="isShow('钠浓度')">{{item.sodium_concentration?item.sodium_concentration:""}}</td>
47
+                <td v-if="isShow('透析液温度')">{{item.dialysate_temperature?item.dialysate_temperature:""}}</td>
48
+                <td v-if="isShow('置换率')">{{item.replacement_rate?item.replacement_rate:""}}</td>
49
+                <td v-if="isShow('置换量')">{{item.displacement_quantity?item.displacement_quantity:""}}</td>
50
+                <td v-if="isShow('病情变化')">{{item.symptom}}</td>
51
+                <td v-if="isShow('处理')">{{item.dispose}}</td>
52
+                <td v-if="isShow('结果')">{{item.result}}</td>
53
             </tr>
53
             </tr>
54
             </table>
54
             </table>
55
             </div>
55
             </div>
65
         </div>
65
         </div>
66
         <div class="DialogContent choose">
66
         <div class="DialogContent choose">
67
           <div class="content">
67
           <div class="content">
68
-            <div class="cell">
68
+            <div class="cell"  v-if="isShow('监测时间')">
69
               <label>监测时间</label>
69
               <label>监测时间</label>
70
               <input type="text" class="inputBox" @click="chooseTime()" :value="parseTime(this.form.operate_time, '{y}-{m}-{d} {h}:{i}')" readonly>
70
               <input type="text" class="inputBox" @click="chooseTime()" :value="parseTime(this.form.operate_time, '{y}-{m}-{d} {h}:{i}')" readonly>
71
             </div>
71
             </div>
72
-            <div class="cell">
72
+            <div class="cell"  v-if="isShow('收缩压')">
73
               <label>收缩压(mmHg)</label>
73
               <label>收缩压(mmHg)</label>
74
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.systolic_bp">
74
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.systolic_bp">
75
             </div>
75
             </div>
76
-            <div class="cell">
76
+            <div class="cell"  v-if="isShow('舒张压')">
77
               <label>舒张压(mmHg)</label>
77
               <label>舒张压(mmHg)</label>
78
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.diastolic_bp">
78
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.diastolic_bp">
79
             </div>
79
             </div>
80
-            <div class="cell">
80
+            <div class="cell"  v-if="isShow('心率')">
81
               <label>心率(次/分)</label>
81
               <label>心率(次/分)</label>
82
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.pulse_frequency">
82
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.pulse_frequency">
83
             </div>
83
             </div>
84
-            <div class="cell">
84
+            <div class="cell"  v-if="isShow('呼吸频率')">
85
               <label>呼吸频率(次/分)</label>
85
               <label>呼吸频率(次/分)</label>
86
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.breathing_rated">
86
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.breathing_rated">
87
             </div>
87
             </div>
88
-            <div class="cell">
88
+            <div class="cell"  v-if="isShow('血流量')">
89
               <label>血流量(ml/min)</label>
89
               <label>血流量(ml/min)</label>
90
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.blood_flow_volume">
90
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.blood_flow_volume">
91
             </div>
91
             </div>
92
-            <div class="cell">
92
+            <div class="cell"  >
93
               <label>静脉压(mmHg)</label>
93
               <label>静脉压(mmHg)</label>
94
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.venous_pressure">
94
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.venous_pressure">
95
             </div>
95
             </div>
96
-            <div class="cell">
96
+            <div class="cell"  v-if="isShow('跨膜压')">
97
               <label>跨膜压(mmHg)</label>
97
               <label>跨膜压(mmHg)</label>
98
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.transmembrane_pressure">
98
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.transmembrane_pressure">
99
             </div>
99
             </div>
100
-            <div class="cell">
100
+            <div class="cell"  v-if="isShow('超滤量')">
101
               <label>超滤量(L)</label>
101
               <label>超滤量(L)</label>
102
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.ultrafiltration_volume">
102
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.ultrafiltration_volume">
103
             </div>
103
             </div>
104
-            <div class="cell">
104
+            <div class="cell"  v-if="isShow('超滤率')">
105
               <label>超滤率(ml/h)</label>
105
               <label>超滤率(ml/h)</label>
106
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.ultrafiltration_rate">
106
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.ultrafiltration_rate">
107
             </div>
107
             </div>
108
-            <div class="cell">
108
+            <div class="cell"  >
109
               <label>动脉压(mmHg)</label>
109
               <label>动脉压(mmHg)</label>
110
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.arterial_pressure">
110
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.arterial_pressure">
111
             </div>
111
             </div>
112
-            <div class="cell">
112
+            <div class="cell"  v-if="isShow('钠浓度')">
113
               <label>钠浓度(mmol/L)</label>
113
               <label>钠浓度(mmol/L)</label>
114
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.sodium_concentration">
114
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.sodium_concentration">
115
             </div>
115
             </div>
116
-            <div class="cell">
116
+            <div class="cell"  v-if="isShow('透析液温度')">
117
               <label>透析液温度(℃)</label>
117
               <label>透析液温度(℃)</label>
118
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.dialysate_temperature">
118
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.dialysate_temperature">
119
             </div>
119
             </div>
120
-            <div class="cell">
120
+            <div class="cell"  v-if="isShow('置换率')">
121
               <label>置换率(L/h)</label>
121
               <label>置换率(L/h)</label>
122
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.replacement_rate">
122
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.replacement_rate">
123
             </div>
123
             </div>
124
-            <div class="cell">
124
+            <div class="cell"  v-if="isShow('置换量')">
125
               <label>置换量(L)</label>
125
               <label>置换量(L)</label>
126
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.displacement_quantity">
126
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.displacement_quantity">
127
             </div>
127
             </div>
128
-            <div class="cell width" >
128
+            <div class="cell width"  v-if="isShow('KT/V')" >
129
               <label>KT/V(在线)</label>
129
               <label>KT/V(在线)</label>
130
               <!-- <input type="text" class="inputBox" v-model="form.ktv"> -->
130
               <!-- <input type="text" class="inputBox" v-model="form.ktv"> -->
131
               <textarea @focus="inputFocus" class="inputBox" style="width: 100%;" :rows="4" v-model="form.ktv"></textarea>
131
               <textarea @focus="inputFocus" class="inputBox" style="width: 100%;" :rows="4" v-model="form.ktv"></textarea>
132
             </div>
132
             </div>
133
-            <div class="cell width" >
133
+            <div class="cell width"  v-if="isShow('病情变化')" >
134
               <label>病情变化</label>
134
               <label>病情变化</label>
135
               <input type="text" class="inputBox" style="width: 100%;margin-bottom:5px;" v-model="form.symptom" readonly placeholder="选择 " @click="showSubMenu('symptom')">
135
               <input type="text" class="inputBox" style="width: 100%;margin-bottom:5px;" v-model="form.symptom" readonly placeholder="选择 " @click="showSubMenu('symptom')">
136
               <textarea @focus="inputFocus" class="inputBox" style="width: 100%;" :rows="4" v-model="form.symptom"></textarea>
136
               <textarea @focus="inputFocus" class="inputBox" style="width: 100%;" :rows="4" v-model="form.symptom"></textarea>
137
             </div>
137
             </div>
138
-            <div class="cell width" >
138
+            <div class="cell width"  v-if="isShow('处理')">
139
               <label>处理</label>
139
               <label>处理</label>
140
               <!-- <input type="text" class="inputBox" v-model="form.dispose"> -->
140
               <!-- <input type="text" class="inputBox" v-model="form.dispose"> -->
141
               <input type="text" class="inputBox" style="width: 100%;margin-bottom:5px;" v-model="form.dispose" readonly placeholder="选择" @click="showSubMenu('dispose')">
141
               <input type="text" class="inputBox" style="width: 100%;margin-bottom:5px;" v-model="form.dispose" readonly placeholder="选择" @click="showSubMenu('dispose')">
142
               <textarea @focus="inputFocus" class="inputBox" style="width: 100%;" :rows="4" v-model="form.dispose"></textarea>
142
               <textarea @focus="inputFocus" class="inputBox" style="width: 100%;" :rows="4" v-model="form.dispose"></textarea>
143
             </div>
143
             </div>
144
-            <div class="cell width" >
144
+            <div class="cell width"  v-if="isShow('结果')" >
145
               <label>结果</label>
145
               <label>结果</label>
146
               <!-- <input type="text" class="inputBox" v-model="form.result"> -->
146
               <!-- <input type="text" class="inputBox" v-model="form.result"> -->
147
               <input type="text" class="inputBox" style="width: 100%;margin-bottom:5px;" v-model="form.result" readonly placeholder="选择"  @click="showSubMenu('result')">
147
               <input type="text" class="inputBox" style="width: 100%;margin-bottom:5px;" v-model="form.result" readonly placeholder="选择"  @click="showSubMenu('result')">
289
     this.form.operate_time = this.pickertime.getTime();
289
     this.form.operate_time = this.pickertime.getTime();
290
   },
290
   },
291
   methods: {
291
   methods: {
292
+    isShow(name){
293
+      var filedList = this.$store.getters.user.fileds
294
+
295
+      for (let i = 0; i < filedList.length; i++){
296
+        if(filedList[i].module == 4 && filedList[i].filed_name_cn == name&&filedList[i].is_show == 1){
297
+          return true
298
+        }
299
+      }
300
+      return false
301
+    },
292
     getLastRecord() {
302
     getLastRecord() {
293
       let params = {
303
       let params = {
294
         patient_id: this.patient.id
304
         patient_id: this.patient.id

+ 40 - 30
src/pages/main/dialog/PrescriptionDialog.vue 查看文件

9
       </div>
9
       </div>
10
 
10
 
11
       <div class="DialogContent" id="dialogTop">
11
       <div class="DialogContent" id="dialogTop">
12
-        <div @click="showSubMenu('mode')" class="item" ref="mode">
12
+        <div @click="showSubMenu('mode')" class="item" ref="mode" v-if="isShow('透析模式')">
13
           <label class="name" for="txms">透析模式</label>
13
           <label class="name" for="txms">透析模式</label>
14
           <div class="content">
14
           <div class="content">
15
             <span class="text" id="txms">{{GetModeByModeId(dialysisPrescription.mode_id)}}</span>
15
             <span class="text" id="txms">{{GetModeByModeId(dialysisPrescription.mode_id)}}</span>
16
             <span class="iconfont">&#xe6f9;</span>
16
             <span class="iconfont">&#xe6f9;</span>
17
           </div>
17
           </div>
18
         </div>
18
         </div>
19
-        <div class="item" @click="openPicker">
19
+        <div class="item" @click="openPicker"  v-if="isShow('透析时长')">
20
           <label class="name" for="txsc">透析时长</label>
20
           <label class="name" for="txsc">透析时长</label>
21
           <div class="content">
21
           <div class="content">
22
             <span class="text" style="width: 100px">{{timeValue}}</span>
22
             <span class="text" style="width: 100px">{{timeValue}}</span>
24
           </div>
24
           </div>
25
         </div>
25
         </div>
26
 
26
 
27
-        <div class="item">
27
+        <div class="item"  v-if="isShow('血流量')">
28
           <label class="name" for="xll">血流量(ml/min)</label>
28
           <label class="name" for="xll">血流量(ml/min)</label>
29
           <div class="content">
29
           <div class="content">
30
             <input type="tel" @focus="inputFocus" id="xll" v-model="dialysisPrescription.blood_flow_volume"/>
30
             <input type="tel" @focus="inputFocus" id="xll" v-model="dialysisPrescription.blood_flow_volume"/>
31
           </div>
31
           </div>
32
         </div>
32
         </div>
33
 
33
 
34
-        <div class="item">
34
+        <div class="item"  v-if="isShow('目标超滤量')">
35
           <label class="name" for="mbcll">目标超滤量(L)</label>
35
           <label class="name" for="mbcll">目标超滤量(L)</label>
36
           <div class="content">
36
           <div class="content">
37
             <input type="tel" @focus="inputFocus" id="mbcll" v-model="dialysisPrescription.target_ultrafiltration"/>
37
             <input type="tel" @focus="inputFocus" id="mbcll" v-model="dialysisPrescription.target_ultrafiltration"/>
38
           </div>
38
           </div>
39
         </div>
39
         </div>
40
-        <div @click="showSubMenu('dialysate_formulation')" class="item" ref="dialysate_formulation">
40
+        <div @click="showSubMenu('dialysate_formulation')" class="item" ref="dialysate_formulation"  v-if="isShow('透析液配方')">
41
           <label class="name" for="txypf">透析液配方</label>
41
           <label class="name" for="txypf">透析液配方</label>
42
           <div class="content">
42
           <div class="content">
43
             <span class="text"
43
             <span class="text"
46
           </div>
46
           </div>
47
         </div>
47
         </div>
48
 
48
 
49
-        <div @click="showSubMenu('anticoagulant')" class="item" ref="anticoagulant">
50
-          <label class="name" for="knj">抗剂</label>
49
+        <div @click="showSubMenu('anticoagulant')" class="item" ref="anticoagulant"  v-if="isShow('抗凝剂')">
50
+          <label class="name" for="knj">抗剂</label>
51
           <div class="content">
51
           <div class="content">
52
             <span class="text" id="knj">{{GetAnticoagulantById(dialysisPrescription.anticoagulant)}}</span>
52
             <span class="text" id="knj">{{GetAnticoagulantById(dialysisPrescription.anticoagulant)}}</span>
53
             <span class="iconfont">&#xe6f9;</span>
53
             <span class="iconfont">&#xe6f9;</span>
54
           </div>
54
           </div>
55
         </div>
55
         </div>
56
 
56
 
57
-        <div class="item" v-if="anticoagulant.shouji != -1">
57
+        <div class="item" v-if="anticoagulant.shouji != -1&&isShow('首剂')">
58
           <label class="name" for="sj">首剂({{anticoagulant.shouji_unit}})</label>
58
           <label class="name" for="sj">首剂({{anticoagulant.shouji_unit}})</label>
59
           <div class="content">
59
           <div class="content">
60
             <input type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.anticoagulant_shouji"
60
             <input type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.anticoagulant_shouji"
61
                    :disabled="anticoagulant.shouji==1?false:true"/>
61
                    :disabled="anticoagulant.shouji==1?false:true"/>
62
           </div>
62
           </div>
63
         </div>
63
         </div>
64
-        <div class="item" v-if="anticoagulant.weichi != -1">
64
+        <div class="item" v-if="anticoagulant.weichi != -1&&isShow('维持')">
65
           <label class="name" for="wz">维持({{anticoagulant.weichi_unit}})</label>
65
           <label class="name" for="wz">维持({{anticoagulant.weichi_unit}})</label>
66
           <div class="content">
66
           <div class="content">
67
             <input type="tel" @focus="inputFocus" id="wz" class="inputBox"
67
             <input type="tel" @focus="inputFocus" id="wz" class="inputBox"
69
                    :disabled="anticoagulant.weichi==1?false:true">
69
                    :disabled="anticoagulant.weichi==1?false:true">
70
           </div>
70
           </div>
71
         </div>
71
         </div>
72
-        <div class="item" v-if="anticoagulant.zongliang != -1">
72
+        <div class="item" v-if="anticoagulant.zongliang != -1 && isShow('总量')">
73
           <label class="name" for="zl">总量(mg)</label>
73
           <label class="name" for="zl">总量(mg)</label>
74
           <div class="content">
74
           <div class="content">
75
             <input type="tel" @focus="inputFocus" id="zl" class="inputBox"
75
             <input type="tel" @focus="inputFocus" id="zl" class="inputBox"
78
           </div>
78
           </div>
79
         </div>
79
         </div>
80
 
80
 
81
-        <div class="item" v-if="anticoagulant.gaimingcheng != -1">
81
+        <div class="item" v-if="anticoagulant.gaimingcheng != -1 && isShow('钙名称')">
82
           <label class="name" for="g">钙名称({{anticoagulant.gaimingcheng_unit}})</label>
82
           <label class="name" for="g">钙名称({{anticoagulant.gaimingcheng_unit}})</label>
83
           <div class="content">
83
           <div class="content">
84
             <input type="text" id="g" class="inputBox" v-model="dialysisPrescription.anticoagulant_gaimingcheng"
84
             <input type="text" id="g" class="inputBox" v-model="dialysisPrescription.anticoagulant_gaimingcheng"
86
           </div>
86
           </div>
87
         </div>
87
         </div>
88
 
88
 
89
-        <div class="item" v-if="anticoagulant.gaijiliang != -1">
89
+        <div class="item" v-if="anticoagulant.gaijiliang != -1 && isShow('钙剂量')">
90
           <label class="name" for="gjl">钙剂量</label>
90
           <label class="name" for="gjl">钙剂量</label>
91
           <div class="content">
91
           <div class="content">
92
             <input type="text" id="gjl" class="inputBox" v-model="dialysisPrescription.anticoagulant_gaimingcheng"
92
             <input type="text" id="gjl" class="inputBox" v-model="dialysisPrescription.anticoagulant_gaimingcheng"
101
         </div> -->
101
         </div> -->
102
 
102
 
103
         <div class="line"></div>
103
         <div class="line"></div>
104
-        <div class="item">
104
+        <div class="item" v-if="isShow('置换量')">
105
           <label class="name" for="zhy">置换量(L)</label>
105
           <label class="name" for="zhy">置换量(L)</label>
106
           <div class="content">
106
           <div class="content">
107
             <input type="tel" @focus="inputFocus" id="zhy" v-model="dialysisPrescription.replacement_total"/>
107
             <input type="tel" @focus="inputFocus" id="zhy" v-model="dialysisPrescription.replacement_total"/>
109
         </div>
109
         </div>
110
 
110
 
111
         <!-- <div class="line"></div> -->
111
         <!-- <div class="line"></div> -->
112
-        <div class="item">
112
+        <div class="item" v-if="isShow('钾')">
113
           <label class="name" for="j">钾(mmol/L)</label>
113
           <label class="name" for="j">钾(mmol/L)</label>
114
           <div class="content">
114
           <div class="content">
115
             <input type="tel" @focus="inputFocus" id="j" v-model="dialysisPrescription.kalium"/>
115
             <input type="tel" @focus="inputFocus" id="j" v-model="dialysisPrescription.kalium"/>
116
           </div>
116
           </div>
117
         </div>
117
         </div>
118
-        <div class="item">
118
+        <div class="item" v-if="isShow('钠')">
119
           <label class="name" for="n">钠(mmol/L):</label>
119
           <label class="name" for="n">钠(mmol/L):</label>
120
           <div class="content">
120
           <div class="content">
121
             <input type="tel" @focus="inputFocus" id="n" v-model="dialysisPrescription.sodium"/>
121
             <input type="tel" @focus="inputFocus" id="n" v-model="dialysisPrescription.sodium"/>
122
           </div>
122
           </div>
123
         </div>
123
         </div>
124
-        <div class="item">
124
+        <div class="item" v-if="isShow('钙')">
125
           <label class="name" for="gg">钙(mmol/L)</label>
125
           <label class="name" for="gg">钙(mmol/L)</label>
126
           <div class="content">
126
           <div class="content">
127
             <input type="tel" @focus="inputFocus" id="gg" v-model="dialysisPrescription.calcium"/>
127
             <input type="tel" @focus="inputFocus" id="gg" v-model="dialysisPrescription.calcium"/>
128
           </div>
128
           </div>
129
         </div>
129
         </div>
130
-        <div class="item">
130
+        <div class="item" v-if="isShow('碳酸氢盐')">
131
           <label class="name" for="tsqy">碳酸氢盐(mmol/L)</label>
131
           <label class="name" for="tsqy">碳酸氢盐(mmol/L)</label>
132
           <div class="content">
132
           <div class="content">
133
             <input type="tel" @focus="inputFocus" id="tsqy" v-model="dialysisPrescription.bicarbonate"/>
133
             <input type="tel" @focus="inputFocus" id="tsqy" v-model="dialysisPrescription.bicarbonate"/>
134
 
134
 
135
           </div>
135
           </div>
136
         </div>
136
         </div>
137
-        <div class="item">
137
+        <div class="item" v-if="isShow('葡萄糖')">
138
           <label class="name" for="ptt">葡萄糖(mmol/L)</label>
138
           <label class="name" for="ptt">葡萄糖(mmol/L)</label>
139
           <div class="content">
139
           <div class="content">
140
             <input type="tel" @focus="inputFocus" id="ptt" v-model="dialysisPrescription.glucose"/>
140
             <input type="tel" @focus="inputFocus" id="ptt" v-model="dialysisPrescription.glucose"/>
143
 
143
 
144
         <div class="line"></div>
144
         <div class="line"></div>
145
 
145
 
146
-        <div class="item">
146
+        <div class="item" v-if="isShow('透析液流量')">
147
           <label class="name" for="txyll">透析液流量(ml/min)</label>
147
           <label class="name" for="txyll">透析液流量(ml/min)</label>
148
           <div class="content">
148
           <div class="content">
149
             <input type="tel" @focus="inputFocus" id="txyll" v-model="dialysisPrescription.dialysate_flow"/>
149
             <input type="tel" @focus="inputFocus" id="txyll" v-model="dialysisPrescription.dialysate_flow"/>
150
           </div>
150
           </div>
151
         </div>
151
         </div>
152
-        <div class="item">
152
+        <div class="item" v-if="isShow('透析液温度')">
153
           <label class="name" for="txywd">透析液温度(℃)</label>
153
           <label class="name" for="txywd">透析液温度(℃)</label>
154
           <div class="content">
154
           <div class="content">
155
             <!--<span class="text">HD</span>-->
155
             <!--<span class="text">HD</span>-->
158
 
158
 
159
           </div>
159
           </div>
160
         </div>
160
         </div>
161
-        <div class="item">
161
+        <div class="item" v-if="isShow('电导率')">
162
           <label class="name" for="dtl">电导率(mS/cm)</label>
162
           <label class="name" for="dtl">电导率(mS/cm)</label>
163
           <div class="content">
163
           <div class="content">
164
 
164
 
165
             <input type="tel" @focus="inputFocus" id="dtl" v-model="dialysisPrescription.conductivity"/>
165
             <input type="tel" @focus="inputFocus" id="dtl" v-model="dialysisPrescription.conductivity"/>
166
           </div>
166
           </div>
167
         </div>
167
         </div>
168
-        <div class="item">
168
+        <div class="item" v-if="isShow('透析器/灌流器')">
169
           <label class="name" for="dtl">透析器/灌流器</label>
169
           <label class="name" for="dtl">透析器/灌流器</label>
170
           <div class="content">
170
           <div class="content">
171
 
171
 
174
         </div>
174
         </div>
175
         <div class="line" v-if="this.$store.getters.user.template_info.template_id == 2"></div>
175
         <div class="line" v-if="this.$store.getters.user.template_info.template_id == 2"></div>
176
 
176
 
177
-        <div @click="showSubMenu('body_fluid')" class="item" ref="body_fluid" v-if="this.$store.getters.user.template_info.template_id == 2">
177
+        <div @click="showSubMenu('body_fluid')" class="item" ref="body_fluid" v-if="isShow('体液过多症状')">
178
           <label class="name" for="knj">体液过多症状</label>
178
           <label class="name" for="knj">体液过多症状</label>
179
           <div class="content">
179
           <div class="content">
180
             <span class="text" id="knja">{{getBodyFluid(dialysisPrescription.body_fluid)}}</span>
180
             <span class="text" id="knja">{{getBodyFluid(dialysisPrescription.body_fluid)}}</span>
182
           </div>
182
           </div>
183
         </div>
183
         </div>
184
 
184
 
185
-        <div class="item"  v-if="this.$store.getters.user.template_info.template_id == 2">
185
+        <div class="item"  v-if="isShow('体液过多其他症状')">
186
           <label class="name" for="knj">体液过多其他症状</label>
186
           <label class="name" for="knj">体液过多其他症状</label>
187
           <div class="content">
187
           <div class="content">
188
             <input  @focus="inputFocus" id="dt" v-model="dialysisPrescription.body_fluid_other"/>
188
             <input  @focus="inputFocus" id="dt" v-model="dialysisPrescription.body_fluid_other"/>
190
         </div>
190
         </div>
191
 
191
 
192
 
192
 
193
-        <div @click="showSubMenu('special_medicine')" class="item" ref="special_medicine" v-if="this.$store.getters.user.template_info.template_id == 2">
193
+        <div @click="showSubMenu('special_medicine')" class="item" ref="special_medicine" v-if="isShow('透析前使用特殊药物')">
194
           <label class="name" for="knj">透析前使用特殊药物</label>
194
           <label class="name" for="knj">透析前使用特殊药物</label>
195
           <div class="content">
195
           <div class="content">
196
             <span class="text" id="knjaa">{{getSpecialMedicine(dialysisPrescription.special_medicine)}}</span>
196
             <span class="text" id="knjaa">{{getSpecialMedicine(dialysisPrescription.special_medicine)}}</span>
198
           </div>
198
           </div>
199
         </div>
199
         </div>
200
 
200
 
201
-        <div class="item"  v-if="this.$store.getters.user.template_info.template_id == 2">
201
+        <div class="item"  v-if="isShow('透析前使用其他特殊药物')">
202
           <label class="name" for="knj">透析前使用其他特殊药物</label>
202
           <label class="name" for="knj">透析前使用其他特殊药物</label>
203
           <div class="content">
203
           <div class="content">
204
             <input  @focus="inputFocus" id="dt" v-model="dialysisPrescription.special_medicine_other"/>
204
             <input  @focus="inputFocus" id="dt" v-model="dialysisPrescription.special_medicine_other"/>
205
           </div>
205
           </div>
206
         </div>
206
         </div>
207
 
207
 
208
-        <div @click="showSubMenu('displace_liqui_part')" class="item" ref="displace_liqui_part" v-if="this.$store.getters.user.template_info.template_id == 2">
208
+        <div @click="showSubMenu('displace_liqui_part')" class="item" ref="displace_liqui_part" v-if="isShow('置换液')">
209
           <label class="name" for="knj">置换液</label>
209
           <label class="name" for="knj">置换液</label>
210
           <div class="content">
210
           <div class="content">
211
             <span class="text" id="knjaa">{{getDisplaceLiquiPart(dialysisPrescription.displace_liqui_part)}}</span>
211
             <span class="text" id="knjaa">{{getDisplaceLiquiPart(dialysisPrescription.displace_liqui_part)}}</span>
213
           </div>
213
           </div>
214
         </div>
214
         </div>
215
 
215
 
216
-        <div  class="item"  v-if="this.$store.getters.user.template_info.template_id == 2">
216
+        <div  class="item"  v-if="isShow('置换液总量')">
217
           <label class="name" for="knj">置换液总量(L)</label>
217
           <label class="name" for="knj">置换液总量(L)</label>
218
           <div class="content">
218
           <div class="content">
219
             <input  @focus="inputFocus" id="dt" v-model="dialysisPrescription.displace_liqui_value"/>
219
             <input  @focus="inputFocus" id="dt" v-model="dialysisPrescription.displace_liqui_value"/>
222
 
222
 
223
 
223
 
224
 
224
 
225
-        <div @click="showSubMenu('blood_access')" class="item" ref="blood_access" v-if="this.$store.getters.user.template_info.template_id == 2">
225
+        <div @click="showSubMenu('blood_access')" class="item" ref="blood_access" v-if="isShow('血管通路')">
226
           <label class="name" for="knj">血管通路</label>
226
           <label class="name" for="knj">血管通路</label>
227
           <div class="content">
227
           <div class="content">
228
             <span class="text" id="knjaa">{{getBloodAccess(dialysisPrescription.blood_access)}}</span>
228
             <span class="text" id="knjaa">{{getBloodAccess(dialysisPrescription.blood_access)}}</span>
230
           </div>
230
           </div>
231
         </div>
231
         </div>
232
 
232
 
233
-        <div  class="item"  v-if="this.$store.getters.user.template_info.template_id == 2">
233
+        <div  class="item"  v-if="isShow('实际超滤量')">
234
           <label class="name" for="knj">实际超滤量(L)</label>
234
           <label class="name" for="knj">实际超滤量(L)</label>
235
           <div class="content">
235
           <div class="content">
236
             <input  @focus="inputFocus" id="dt" v-model="dialysisPrescription.ultrafiltration"/>
236
             <input  @focus="inputFocus" id="dt" v-model="dialysisPrescription.ultrafiltration"/>
417
       };
417
       };
418
     },
418
     },
419
     methods: {
419
     methods: {
420
+      isShow(name){
421
+        var filedList = this.$store.getters.user.fileds
422
+
423
+        for (let i = 0; i < filedList.length; i++){
424
+          if(filedList[i].module == 1 && filedList[i].filed_name_cn == name&&filedList[i].is_show == 1){
425
+            return true
426
+          }
427
+        }
428
+        return false
429
+      },
420
       openPicker: function () {
430
       openPicker: function () {
421
         this.$refs.picker.open();
431
         this.$refs.picker.open();
422
       },
432
       },

+ 55 - 39
src/pages/main/dialog/ThorougDialog.vue 查看文件

10
 
10
 
11
 
11
 
12
       <div class="DialogContent" id="dialogTop">
12
       <div class="DialogContent" id="dialogTop">
13
-        <div @click="openPicker" class="item">
13
+        <div @click="openPicker" class="item" v-if="isShow('实际治疗时长')">
14
           <h2 class="name">实际治疗时长</h2>
14
           <h2 class="name">实际治疗时长</h2>
15
           <div class="content">
15
           <div class="content">
16
             <span class="text" style="width: 100px">{{timeValue}}</span>
16
             <span class="text" style="width: 100px">{{timeValue}}</span>
18
           </div>
18
           </div>
19
         </div>
19
         </div>
20
 
20
 
21
-        <div class="item">
21
+        <div class="item" v-if="isShow('实际超滤量')">
22
           <label class="name" for="sjcll">实际超滤量(L)</label>
22
           <label class="name" for="sjcll">实际超滤量(L)</label>
23
           <div class="content">
23
           <div class="content">
24
             <input type="tel" @focus="inputFocus" id="sjcll" v-model="formValue.actual_ultrafiltration"/>
24
             <input type="tel" @focus="inputFocus" id="sjcll" v-model="formValue.actual_ultrafiltration"/>
25
 
25
 
26
-            <!--<span class="text">HD</span>-->
27
-            <!--<span class="iconfont">&#xe6f9;</span>-->
28
           </div>
26
           </div>
29
         </div>
27
         </div>
30
 
28
 
31
-        <div class="item">
32
-          <label class="name" for="thtz">透后体重(kg)</label>
29
+        <div class="item" v-if="isShow('透后体重')">
30
+          <label class="name" for="sjcll">透后体重(kg)</label>
33
           <div class="content">
31
           <div class="content">
34
-            <input type="tel" @focus="inputFocus" id="thtz" v-model="formValue.weight_after"/>
32
+            <input type="tel" @focus="inputFocus" id="sjcll" v-model="formValue.weight_after"/>
33
+
35
           </div>
34
           </div>
36
         </div>
35
         </div>
37
 
36
 
38
 
37
 
39
-        <div @click="showSubMenu('cruor')" class="item" ref="cruor">
38
+        <!--<div class=item" v-if="isShow('透后体重')">-->
39
+          <!--<label class="name" for="thtz">透后体重(kg)</label>-->
40
+          <!--<div class="content">-->
41
+            <!--<input type="tel" @focus="inputFocus" id="thtz" v-model="formValue.weight_after"/>-->
42
+          <!--</div>-->
43
+        <!--</div>-->
44
+
45
+
46
+        <div @click="showSubMenu('cruor')" class="item" ref="cruor" v-if="isShow('透析器凝血')">
40
           <label class="name" for="nx">透析器凝血</label>
47
           <label class="name" for="nx">透析器凝血</label>
41
           <div class="content">
48
           <div class="content">
42
             <span class="text" id="nx" style="width: 100px">{{formValue.cruor}}</span>
49
             <span class="text" id="nx" style="width: 100px">{{formValue.cruor}}</span>
45
         </div>
52
         </div>
46
 
53
 
47
 
54
 
48
-        <div class="item">
55
+        <div class="item" v-if="isShow('拔针后穿刺点渗血')">
49
           <h2 class="name">拔针后穿刺点渗血</h2>
56
           <h2 class="name">拔针后穿刺点渗血</h2>
50
           <div class="content">
57
           <div class="content">
51
             <span class="text" style="width: 50px;"><div style="padding-top: 0.08rem; height: 0.8rem;"><van-switch
58
             <span class="text" style="width: 50px;"><div style="padding-top: 0.08rem; height: 0.8rem;"><van-switch
53
           </div>
60
           </div>
54
         </div>
61
         </div>
55
 
62
 
56
-        <div class="item">
63
+        <div class="item" v-if="isShow('穿刺处血肿')">
57
           <h2 class="name">穿刺处血肿</h2>
64
           <h2 class="name">穿刺处血肿</h2>
58
           <div class="content">
65
           <div class="content">
59
             <span class="text" style="width: 50px;"><div style="padding-top: 0.08rem; height: 0.8rem;"><van-switch
66
             <span class="text" style="width: 50px;"><div style="padding-top: 0.08rem; height: 0.8rem;"><van-switch
61
           </div>
68
           </div>
62
         </div>
69
         </div>
63
 
70
 
64
-        <div @click="showSubMenu('internal_fistula_tremor_ac')" class="item" ref="internal_fistula_tremor_ac">
71
+        <div @click="showSubMenu('internal_fistula_tremor_ac')" class="item" ref="internal_fistula_tremor_ac" v-if="isShow('压迫后内瘘震颤')">
65
           <label class="name" for="internal_fistula_tremor_ac">压迫后内瘘震颤</label>
72
           <label class="name" for="internal_fistula_tremor_ac">压迫后内瘘震颤</label>
66
           <div class="content">
73
           <div class="content">
67
             <span class="text" id="internal_fistula_tremor_ac" style="width: 50px">{{GetIFTAValue(formValue.internal_fistula_tremor_ac)}}</span>
74
             <span class="text" id="internal_fistula_tremor_ac" style="width: 50px">{{GetIFTAValue(formValue.internal_fistula_tremor_ac)}}</span>
69
           </div>
76
           </div>
70
         </div>
77
         </div>
71
 
78
 
72
-        <div @click="showSubMenu('complication')" class="item" ref="complication">
79
+        <div @click="showSubMenu('complication')" class="item" ref="complication" v-if="isShow('并发症')">
73
           <label class="name" for="bfz">并发症</label>
80
           <label class="name" for="bfz">并发症</label>
74
           <div class="content">
81
           <div class="content">
75
             <span class="text" id="bfz" style="width: 50px">{{formValue.complication}}</span>
82
             <span class="text" id="bfz" style="width: 50px">{{formValue.complication}}</span>
77
           </div>
84
           </div>
78
         </div>
85
         </div>
79
 
86
 
80
-        <div @click="showSubMenu('patient_gose')" class="item" ref="patient_gose">
87
+        <div @click="showSubMenu('patient_gose')" class="item" ref="patient_gose" v-if="isShow('患者去向')">
81
           <label class="name" for="patient_gose">患者去向</label>
88
           <label class="name" for="patient_gose">患者去向</label>
82
           <div class="content">
89
           <div class="content">
83
             <span class="text" id="patient_gose" style="width: 50px">{{GetPatientGoes(formValue.patient_gose)}}</span>
90
             <span class="text" id="patient_gose" style="width: 50px">{{GetPatientGoes(formValue.patient_gose)}}</span>
85
           </div>
92
           </div>
86
         </div>
93
         </div>
87
 
94
 
88
-        <div class="item" v-show="formValue.patient_gose==3">
95
+        <div class="item"  v-if="formValue.patient_gose==3&&isShow('科室')">
89
           <label class="name" for="inpatient_department">科室</label>
96
           <label class="name" for="inpatient_department">科室</label>
90
           <div class="content">
97
           <div class="content">
91
             <input type="text" @focus="inputFocus" id="inpatient_department" v-model="formValue.inpatient_department"/>
98
             <input type="text" @focus="inputFocus" id="inpatient_department" v-model="formValue.inpatient_department"/>
94
 
101
 
95
 
102
 
96
         <div @click="showSubMenu('observation_content')" class="item" ref="observation_content"
103
         <div @click="showSubMenu('observation_content')" class="item" ref="observation_content"
97
-             v-show="formValue.patient_gose==3">
104
+             v-if="formValue.patient_gose==3&&isShow('交待病房护士/患者/陪人观察内容')">
98
           <label class="name" for="observation_content">交待病房护士/患者/陪人观察内容</label>
105
           <label class="name" for="observation_content">交待病房护士/患者/陪人观察内容</label>
99
           <div class="content">
106
           <div class="content">
100
             <span class="text" id="observation_content" style="width: 50px">{{formValue.observation_content}}</span>
107
             <span class="text" id="observation_content" style="width: 50px">{{formValue.observation_content}}</span>
102
           </div>
109
           </div>
103
         </div>
110
         </div>
104
 
111
 
105
-        <div class="item" v-show="formValue.patient_gose==3">
112
+        <div class="item" v-if="formValue.patient_gose==3&&isShow('其他观察内容')">
106
           <label class="name" for="observation_content_other">其他观察内容</label>
113
           <label class="name" for="observation_content_other">其他观察内容</label>
107
           <div class="content">
114
           <div class="content">
108
             <input type="text" @focus="inputFocus" id="observation_content_other"
115
             <input type="text" @focus="inputFocus" id="observation_content_other"
124
         <!--&lt;!&ndash;<span class="iconfont">&#xe6f9;</span>&ndash;&gt;-->
131
         <!--&lt;!&ndash;<span class="iconfont">&#xe6f9;</span>&ndash;&gt;-->
125
         <!--</div>-->
132
         <!--</div>-->
126
         <!--</div>-->
133
         <!--</div>-->
127
-        <div class="item">
134
+        <div class="item" v-if="isShow('体重减少')">
128
           <label class="name" for="tzjs">体重减少(kg)</label>
135
           <label class="name" for="tzjs">体重减少(kg)</label>
129
           <div class="content">
136
           <div class="content">
130
             <input type="tel" @focus="inputFocus" id="tzjs" v-model="formValue.weight_loss"/>
137
             <input type="tel" @focus="inputFocus" id="tzjs" v-model="formValue.weight_loss"/>
132
             <!--<span class="iconfont">&#xe6f9;</span>-->
139
             <!--<span class="iconfont">&#xe6f9;</span>-->
133
           </div>
140
           </div>
134
         </div>
141
         </div>
135
-        <div class="item">
142
+        <div class="item" v-if="isShow('体温')">
136
           <label class="name" for="tw">体温(℃)</label>
143
           <label class="name" for="tw">体温(℃)</label>
137
           <div class="content">
144
           <div class="content">
138
             <input type="tel" @focus="inputFocus" id="tw" v-model="formValue.temperature"/>
145
             <input type="tel" @focus="inputFocus" id="tw" v-model="formValue.temperature"/>
141
             <!--<span class="iconfont">&#xe6f9;</span>-->
148
             <!--<span class="iconfont">&#xe6f9;</span>-->
142
           </div>
149
           </div>
143
         </div>
150
         </div>
144
-        <div class="item">
151
+        <div class="item" v-if="isShow('收缩压')">
145
           <label class="name" for="ssy">收缩压(mmHg)</label>
152
           <label class="name" for="ssy">收缩压(mmHg)</label>
146
           <div class="content">
153
           <div class="content">
147
             <input type="tel" @focus="inputFocus" id="ssy" v-model="formValue.systolic_blood_pressure"/>
154
             <input type="tel" @focus="inputFocus" id="ssy" v-model="formValue.systolic_blood_pressure"/>
150
           </div>
157
           </div>
151
         </div>
158
         </div>
152
 
159
 
153
-        <div class="item">
160
+        <div class="item" v-if="isShow('舒张压')">
154
           <label class="name" for="szy">舒张压(mmHg)</label>
161
           <label class="name" for="szy">舒张压(mmHg)</label>
155
           <div class="content">
162
           <div class="content">
156
             <input type="tel" @focus="inputFocus" id="szy" v-model="formValue.diastolic_blood_pressure"/>
163
             <input type="tel" @focus="inputFocus" id="szy" v-model="formValue.diastolic_blood_pressure"/>
158
             <!--<span class="iconfont">&#xe6f9;</span>-->
165
             <!--<span class="iconfont">&#xe6f9;</span>-->
159
           </div>
166
           </div>
160
         </div>
167
         </div>
161
-        <div class="item">
168
+        <div class="item" v-if="isShow('脉率')">
162
           <label class="name" for="ml">脉率(次/分)</label>
169
           <label class="name" for="ml">脉率(次/分)</label>
163
           <div class="content">
170
           <div class="content">
164
             <input type="tel" @focus="inputFocus" id="ml" v-model="formValue.pulse_frequency"/>
171
             <input type="tel" @focus="inputFocus" id="ml" v-model="formValue.pulse_frequency"/>
170
 
177
 
171
 
178
 
172
 
179
 
173
-        <div @click="showSubMenu('symptom_after_dialysis')" class="item" ref="symptom_after_dialysis">
180
+        <div @click="showSubMenu('symptom_after_dialysis')" class="item" ref="symptom_after_dialysis" v-if="isShow('透后症状')">
174
           <label class="name" for="thzz">透后症状</label>
181
           <label class="name" for="thzz">透后症状</label>
175
           <div class="content">
182
           <div class="content">
176
             <span class="text" id="thzz" style="width: 100px">{{formValue.symptom_after_dialysis}}</span>
183
             <span class="text" id="thzz" style="width: 100px">{{formValue.symptom_after_dialysis}}</span>
177
             <span class="iconfont">&#xe6f9;</span>
184
             <span class="iconfont">&#xe6f9;</span>
178
           </div>
185
           </div>
179
         </div>
186
         </div>
180
-        <div @click="showSubMenu('dialysis_intakes')" class="item" ref="dialysis_intakes">
187
+        <div @click="showSubMenu('dialysis_intakes')" class="item" ref="dialysis_intakes" v-if="isShow('透析中入量')">
181
           <label class="name" for="txz">透析中入量</label>
188
           <label class="name" for="txz">透析中入量</label>
182
           <div class="content">
189
           <div class="content">
183
             <input type="tel" @focus="inputFocus" id="txz" v-model="formValue.dialysis_intakes"/>
190
             <input type="tel" @focus="inputFocus" id="txz" v-model="formValue.dialysis_intakes"/>
186
           </div>
193
           </div>
187
         </div>
194
         </div>
188
 
195
 
189
-        <div @click="showSubMenu('internal_fistula')" class="item" ref="internal_fistula">
196
+        <div @click="showSubMenu('internal_fistula')" class="item" ref="internal_fistula" v-if="isShow('内瘘')">
190
           <label class="name" for="dg">内瘘</label>
197
           <label class="name" for="dg">内瘘</label>
191
           <div class="content">
198
           <div class="content">
192
             <span class="text" id="dg">{{formValue.internal_fistula}}</span>
199
             <span class="text" id="dg">{{formValue.internal_fistula}}</span>
195
         </div>
202
         </div>
196
 
203
 
197
         <div class="line"></div>
204
         <div class="line"></div>
198
-        <div @click="showSubMenu('blood_access_part')" class="item" ref="blood_access_part">
205
+        <div @click="showSubMenu('blood_access_part')" class="item" ref="blood_access_part" v-if="isShow('血管通路部位')">
199
           <label class="name" for="xgtl">血管通路部位</label>
206
           <label class="name" for="xgtl">血管通路部位</label>
200
           <div class="content">
207
           <div class="content">
201
             <span class="text" id="xgtl">{{QueryPartById(formValue.blood_access_part_id)}}</span>
208
             <span class="text" id="xgtl">{{QueryPartById(formValue.blood_access_part_id)}}</span>
202
             <span class="iconfont">&#xe6f9;</span>
209
             <span class="iconfont">&#xe6f9;</span>
203
           </div>
210
           </div>
204
         </div>
211
         </div>
205
-        <div @click="showSubMenu('blood_access_opera')" class="item" ref="blood_access_opera">
212
+        <div @click="showSubMenu('blood_access_opera')" class="item" ref="blood_access_opera" v-if="isShow('血管通路操作')">
206
           <label class="name" for="xgtlcz">血管通路操作</label>
213
           <label class="name" for="xgtlcz">血管通路操作</label>
207
           <div class="content">
214
           <div class="content">
208
             <span class="text" id="xgtlcz">{{QueryOperaById(formValue.blood_access_part_opera_id)}}</span>
215
             <span class="text" id="xgtlcz">{{QueryOperaById(formValue.blood_access_part_opera_id)}}</span>
211
         </div>
218
         </div>
212
         <div class="line"></div>
219
         <div class="line"></div>
213
 
220
 
214
-        <div @click="showSubMenu('catheter')" class="item" ref="catheter">
221
+        <div @click="showSubMenu('catheter')" class="item" ref="catheter" v-if="isShow('导管')">
215
           <label class="name" for="dg">导管</label>
222
           <label class="name" for="dg">导管</label>
216
           <div class="content">
223
           <div class="content">
217
             <span class="text" id="dg">{{formValue.catheter}}</span>
224
             <span class="text" id="dg">{{formValue.catheter}}</span>
221
 
228
 
222
         <div class="line"></div>
229
         <div class="line"></div>
223
 
230
 
224
-        <div @click="showSubMenu('dialysis_process')" class="item" ref="dialysis_process" v-if="this.$store.getters.user.template_info.template_id == 2">
231
+        <div @click="showSubMenu('dialysis_process')" class="item" ref="dialysis_process" v-if="isShow('透析过程')">
225
           <label class="name" for="dg">透析过程</label>
232
           <label class="name" for="dg">透析过程</label>
226
           <div class="content">
233
           <div class="content">
227
             <span class="text" id="dg">{{getDialysisProcess(formValue.dialysis_process)}}</span>
234
             <span class="text" id="dg">{{getDialysisProcess(formValue.dialysis_process)}}</span>
228
             <span class="iconfont">&#xe6f9;</span>
235
             <span class="iconfont">&#xe6f9;</span>
229
           </div>
236
           </div>
230
         </div>
237
         </div>
231
-        <div  class="item" ref="in_advance_minute" v-if="formValue.dialysis_process == 2 && this.$store.getters.user.template_info.template_id == 2">
238
+        <div  class="item" ref="in_advance_minute" v-if="formValue.dialysis_process == 2 && isShow('透析过程提前时间') ">
232
           <label class="name" for="dg">透析过程提前时间(min)</label>
239
           <label class="name" for="dg">透析过程提前时间(min)</label>
233
           <div class="content">
240
           <div class="content">
234
             <input type="tel" @focus="inputFocus" id="txz" v-model="formValue.in_advance_minute"/>
241
             <input type="tel" @focus="inputFocus" id="txz" v-model="formValue.in_advance_minute"/>
235
           </div>
242
           </div>
236
         </div>
243
         </div>
237
-        <div @click="showSubMenu('in_advance_reason')" class="item" ref="in_advance_reason" v-if="formValue.dialysis_process == 2 && this.$store.getters.user.template_info.template_id == 2">
244
+        <div @click="showSubMenu('in_advance_reason')" class="item" ref="in_advance_reason" v-if="formValue.dialysis_process == 2 && isShow('透析过程提前原因')">
238
         <label class="name" for="dg">透析过程提前原因</label>
245
         <label class="name" for="dg">透析过程提前原因</label>
239
         <div class="content">
246
         <div class="content">
240
           <span class="text" id="dg">{{formValue.in_advance_reason}}</span>
247
           <span class="text" id="dg">{{formValue.in_advance_reason}}</span>
241
           <span class="iconfont">&#xe6f9;</span>
248
           <span class="iconfont">&#xe6f9;</span>
242
         </div>
249
         </div>
243
       </div>
250
       </div>
244
-        <div class="item" ref="in_advance_reason_other" v-if="formValue.dialysis_process == 2 && this.$store.getters.user.template_info.template_id == 2">
251
+        <div class="item" ref="in_advance_reason_other" v-if="formValue.dialysis_process == 2 && isShow('透析过程提前其他原因')">
245
           <label class="name" for="dg">透析过程提前其他原因</label>
252
           <label class="name" for="dg">透析过程提前其他原因</label>
246
           <div class="content">
253
           <div class="content">
247
             <input type="tel" @focus="inputFocus" id="txz" v-model="formValue.in_advance_reason_other"/>
254
             <input type="tel" @focus="inputFocus" id="txz" v-model="formValue.in_advance_reason_other"/>
248
           </div>
255
           </div>
249
         </div>
256
         </div>
250
-        <div  class="item" ref="hemostasis_minute" v-if="this.$store.getters.user.template_info.template_id == 2">
257
+        <div  class="item" ref="hemostasis_minute" v-if="isShow('内瘘管拔针后压迫止血时间')">
251
           <label class="name" for="dg">内瘘管拔针后压迫止血时间(min)</label>
258
           <label class="name" for="dg">内瘘管拔针后压迫止血时间(min)</label>
252
           <div class="content">
259
           <div class="content">
253
             <input type="tel" @focus="inputFocus" id="txz" v-model="formValue.hemostasis_minute"/>
260
             <input type="tel" @focus="inputFocus" id="txz" v-model="formValue.hemostasis_minute"/>
254
           </div>
261
           </div>
255
         </div>
262
         </div>
256
 
263
 
257
-        <div @click="showSubMenu('hemostasis_opera')" class="item" ref="hemostasis_opera" v-if="this.$store.getters.user.template_info.template_id == 2">
264
+        <div @click="showSubMenu('hemostasis_opera')" class="item" ref="hemostasis_opera" v-if="isShow('内瘘管拔针后压迫止血操作')">
258
           <label class="name" for="dg">内瘘管拔针后压迫止血操作</label>
265
           <label class="name" for="dg">内瘘管拔针后压迫止血操作</label>
259
           <div class="content">
266
           <div class="content">
260
             <span class="text" id="dg">{{getOpera(formValue.hemostasis_opera)}}</span>
267
             <span class="text" id="dg">{{getOpera(formValue.hemostasis_opera)}}</span>
263
         </div>
270
         </div>
264
 
271
 
265
 
272
 
266
-        <div @click="showSubMenu('tremor_noise')" class="item" ref="tremor_noise" v-if="this.$store.getters.user.template_info.template_id == 2">
273
+        <div @click="showSubMenu('tremor_noise')" class="item" ref="tremor_noise" v-if="isShow('内瘘震颤和血管杂音')">
267
           <label class="name" for="dg">内瘘震颤和血管杂音</label>
274
           <label class="name" for="dg">内瘘震颤和血管杂音</label>
268
           <div class="content">
275
           <div class="content">
269
             <span class="text" id="dg">{{getTremorNoise(formValue.tremor_noise)}}</span>
276
             <span class="text" id="dg">{{getTremorNoise(formValue.tremor_noise)}}</span>
272
         </div>
279
         </div>
273
 
280
 
274
 
281
 
275
-        <div @click="showSubMenu('disequilibrium_syndrome')" class="item" ref="disequilibrium_syndrome" v-if="this.$store.getters.user.template_info.template_id == 2">
282
+        <div @click="showSubMenu('disequilibrium_syndrome')" class="item" ref="disequilibrium_syndrome" v-if="isShow('失衡综合症')">
276
           <label class="name" for="dg">失衡综合症</label>
283
           <label class="name" for="dg">失衡综合症</label>
277
           <div class="content">
284
           <div class="content">
278
             <span class="text" id="dg">{{getDisequilibriumSyndrome(formValue.disequilibrium_syndrome)}}</span>
285
             <span class="text" id="dg">{{getDisequilibriumSyndrome(formValue.disequilibrium_syndrome)}}</span>
280
           </div>
287
           </div>
281
         </div>
288
         </div>
282
 
289
 
283
-        <div @click="showSubMenu('disequilibrium_syndrome_option')" class="item" ref="disequilibrium_syndrome_option" v-if="formValue.disequilibrium_syndrome == 2 && this.$store.getters.user.template_info.template_id == 2">
290
+        <div @click="showSubMenu('disequilibrium_syndrome_option')" class="item" ref="disequilibrium_syndrome_option" v-if="formValue.disequilibrium_syndrome == 2 && isShow('失衡综合症症状')">
284
           <label class="name" for="dg">失衡综合症症状</label>
291
           <label class="name" for="dg">失衡综合症症状</label>
285
           <div class="content">
292
           <div class="content">
286
             <span class="text" id="dg">{{formValue.disequilibrium_syndrome_option}}</span>
293
             <span class="text" id="dg">{{formValue.disequilibrium_syndrome_option}}</span>
289
         </div>
296
         </div>
290
 
297
 
291
 
298
 
292
-        <div @click="showSubMenu('arterial_tube')" class="item" ref="arterial_tube" v-if="this.$store.getters.user.template_info.template_id == 2">
299
+        <div @click="showSubMenu('arterial_tube')" class="item" ref="arterial_tube" v-if="isShow('动脉管道')">
293
           <label class="name" for="dg">动脉管道</label>
300
           <label class="name" for="dg">动脉管道</label>
294
           <div class="content">
301
           <div class="content">
295
             <span class="text" id="dg">{{getArterialTubeName(formValue.arterial_tube)}}</span>
302
             <span class="text" id="dg">{{getArterialTubeName(formValue.arterial_tube)}}</span>
298
         </div>
305
         </div>
299
 
306
 
300
 
307
 
301
-        <div @click="showSubMenu('intravenous_tube')" class="item" ref="intravenous_tube" v-if="this.$store.getters.user.template_info.template_id == 2">
308
+        <div @click="showSubMenu('intravenous_tube')" class="item" ref="intravenous_tube" v-if="isShow('静脉管道')">
302
           <label class="name" for="dg">静脉管道</label>
309
           <label class="name" for="dg">静脉管道</label>
303
           <div class="content">
310
           <div class="content">
304
             <span class="text" id="dg">{{getIntravenousTubeName(formValue.intravenous_tube)}}</span>
311
             <span class="text" id="dg">{{getIntravenousTubeName(formValue.intravenous_tube)}}</span>
308
 
315
 
309
 
316
 
310
 
317
 
311
-        <div @click="showSubMenu('dialyzer')" class="item" ref="dialyzer" v-if="this.$store.getters.user.template_info.template_id == 2">
318
+        <div @click="showSubMenu('dialyzer')" class="item" ref="dialyzer" v-if="isShow('透析器')">
312
           <label class="name" for="dg">透析器</label>
319
           <label class="name" for="dg">透析器</label>
313
           <div class="content">
320
           <div class="content">
314
             <span class="text" id="dg">{{getDialyzer(formValue.dialyzer)}}</span>
321
             <span class="text" id="dg">{{getDialyzer(formValue.dialyzer)}}</span>
434
       };
441
       };
435
     },
442
     },
436
     methods: {
443
     methods: {
444
+      isShow(name){
445
+        var filedList = this.$store.getters.user.fileds
446
+        for (let i = 0; i < filedList.length; i++){
447
+          if(filedList[i].module == 5 && filedList[i].filed_name_cn == name&&filedList[i].is_show == 1){
448
+            return true
449
+          }
450
+        }
451
+        return false
452
+      },
437
 
453
 
438
       puncturePointOozingBlood: function (is_select) {
454
       puncturePointOozingBlood: function (is_select) {
439
         this.formValue.puncture_point_oozing_blood = is_select == true ? 1 : 2
455
         this.formValue.puncture_point_oozing_blood = is_select == true ? 1 : 2

+ 22 - 12
src/pages/main/today/acceptsAssessment.vue 查看文件

3
     <h2 class="title"><span class="line"></span><p>{{title}}</p><span class="line"></span> </h2>
3
     <h2 class="title"><span class="line"></span><p>{{title}}</p><span class="line"></span> </h2>
4
     <div class="plate " >
4
     <div class="plate " >
5
       <ul>
5
       <ul>
6
-        <li style="height: 0.6rem;">
6
+        <li style="height: 0.6rem;" v-if="isShow('入室方式')">
7
           <label>入室方式 : </label>
7
           <label>入室方式 : </label>
8
           <span class="content">{{way}}</span>
8
           <span class="content">{{way}}</span>
9
         </li>
9
         </li>
10
-        <li style="height: 0.6rem;">
10
+        <li style="height: 0.6rem;" v-if="isShow('病人情况')">
11
           <label>病人情况 : </label>
11
           <label>病人情况 : </label>
12
           <span class="content">{{condition}}</span>
12
           <span class="content">{{condition}}</span>
13
         </li>
13
         </li>
14
-        <li style="height: 0.6rem;">
14
+        <li style="height: 0.6rem;" v-if="isShow('病人意识')">
15
           <label>病人意识 : </label>
15
           <label>病人意识 : </label>
16
           <span class="content">{{consciousness}}</span>
16
           <span class="content">{{consciousness}}</span>
17
         </li>
17
         </li>
18
-        <li style="height: 0.6rem;">
18
+        <li style="height: 0.6rem;" v-if="isShow('体位')">
19
           <label>体位 : </label>
19
           <label>体位 : </label>
20
           <span class="content">{{posture}}</span>
20
           <span class="content">{{posture}}</span>
21
         </li>
21
         </li>
22
       </ul>
22
       </ul>
23
 
23
 
24
       <ul>
24
       <ul>
25
-        <li style="height: 0.6rem;">
25
+        <li style="height: 0.6rem;" v-if="isShow('病人食欲')">
26
           <label>病人食欲 : </label>
26
           <label>病人食欲 : </label>
27
           <span class="content">{{appetite}}</span>
27
           <span class="content">{{appetite}}</span>
28
         </li>
28
         </li>
29
-        <li style="height: 0.6rem;" v-if="this.$store.getters.user.template_info.template_id == 2">
29
+        <li style="height: 0.6rem;" v-if="isShow('病情')">
30
           <label>病情 </label>
30
           <label>病情 </label>
31
           <span class="content">{{sickCondition}} </span>
31
           <span class="content">{{sickCondition}} </span>
32
         </li>
32
         </li>
33
-        <li style="height: 0.6rem;" v-if="this.$store.getters.user.template_info.template_id == 2">
33
+        <li style="height: 0.6rem;" v-if="isShow('风险程度')">
34
           <label>风险程度:</label>
34
           <label>风险程度:</label>
35
           <span class="content">{{dangerLevel}}</span>
35
           <span class="content">{{dangerLevel}}</span>
36
         </li>
36
         </li>
37
-        <li style="height: 0.6rem;" v-if="this.$store.getters.user.template_info.template_id == 2">
37
+        <li style="height: 0.6rem;"  v-if="isShow('摄入量')">
38
           <label>摄入量:</label>
38
           <label>摄入量:</label>
39
           <span class="content">{{intakes}}</span>
39
           <span class="content">{{intakes}}</span>
40
         </li>
40
         </li>
43
 
43
 
44
 
44
 
45
 
45
 
46
-      <ul v-if="this.$store.getters.user.template_info.template_id == 2">
47
-        <li style="height: 0.6rem;">
46
+      <ul >
47
+        <li style="height: 0.6rem;" v-if="isShow('营养状况')">
48
           <label>营养状况:</label>
48
           <label>营养状况:</label>
49
           <span class="content">{{nutritions}}</span>
49
           <span class="content">{{nutritions}}</span>
50
         </li>
50
         </li>
51
-        <li style="height: 0.6rem;">
51
+        <li style="height: 0.6rem;" v-if="isShow('心理评估')">
52
           <label> 心理评估</label>
52
           <label> 心理评估</label>
53
           <span class="content">{{psychologicalAssessment}}</span>
53
           <span class="content">{{psychologicalAssessment}}</span>
54
         </li>
54
         </li>
55
-        <li style="height: 0.6rem;" v-if="this.$store.getters.user.template_info.template_id == 2 &&this.record.psychological_assessment == 2 ">
55
+        <li style="height: 0.6rem;" v-if="isShow('心理评估异常原因')&&this.record.psychological_assessment == 2 ">
56
           <label>心理评估异常原因:</label>
56
           <label>心理评估异常原因:</label>
57
           <span class="content">{{this.record.psychological_assessment_other}}</span>
57
           <span class="content">{{this.record.psychological_assessment_other}}</span>
58
         </li>
58
         </li>
194
     }
194
     }
195
   },
195
   },
196
   methods: {
196
   methods: {
197
+    isShow(name){
198
+      var filedList = this.$store.getters.user.fileds
199
+
200
+      for (let i = 0; i < filedList.length; i++){
201
+        if(filedList[i].module == 2 && filedList[i].filed_name_cn == name&&filedList[i].is_show == 1){
202
+          return true
203
+        }
204
+      }
205
+      return false
206
+    },
197
 
207
 
198
   }
208
   }
199
 };
209
 };

+ 48 - 38
src/pages/main/today/assessmentAfter.vue 查看文件

4
       <p>{{title}}</p><span class="line"></span></h2>
4
       <p>{{title}}</p><span class="line"></span></h2>
5
     <div class="plate ">
5
     <div class="plate ">
6
       <ul>
6
       <ul>
7
-        <li>
7
+        <li v-if="isShow('透后体重')">
8
           <label for="thtz">透后体重 : </label>
8
           <label for="thtz">透后体重 : </label>
9
           <span class="content" id="thtz">{{weight_after?weight_after:''}}</span>
9
           <span class="content" id="thtz">{{weight_after?weight_after:''}}</span>
10
           <span class="unit">{{weight_after?"kg":''}}</span>
10
           <span class="unit">{{weight_after?"kg":''}}</span>
11
         </li>
11
         </li>
12
-        <li>
12
+        <li v-if="isShow('收缩压')">
13
           <label for="ssy">收缩压 : </label>
13
           <label for="ssy">收缩压 : </label>
14
           <span class="content" id="ssy">{{systolic_blood_pressure?systolic_blood_pressure:''}}</span>
14
           <span class="content" id="ssy">{{systolic_blood_pressure?systolic_blood_pressure:''}}</span>
15
           <span class="unit">{{systolic_blood_pressure?"mmHg":''}}</span>
15
           <span class="unit">{{systolic_blood_pressure?"mmHg":''}}</span>
16
         </li>
16
         </li>
17
-        <li>
17
+        <li v-if="isShow('实际超滤量')">
18
           <label for="sjcll">实际超滤量: </label>
18
           <label for="sjcll">实际超滤量: </label>
19
           <span class="content" id="sjcll">{{actual_ultrafiltration?actual_ultrafiltration:''}}</span>
19
           <span class="content" id="sjcll">{{actual_ultrafiltration?actual_ultrafiltration:''}}</span>
20
           <span class="unit">{{actual_ultrafiltration?"L":''}}</span>
20
           <span class="unit">{{actual_ultrafiltration?"L":''}}</span>
21
         </li>
21
         </li>
22
-        <li>
22
+        <li v-if="isShow('透析器凝血')">
23
           <label for="nx">透析器凝血 : </label>
23
           <label for="nx">透析器凝血 : </label>
24
           <span class="content" id="nx">{{cruor}}</span>
24
           <span class="content" id="nx">{{cruor}}</span>
25
         </li>
25
         </li>
26
-        <li>
26
+        <li v-if="isShow('内瘘')">
27
           <label for="nw">内瘘 : </label>
27
           <label for="nw">内瘘 : </label>
28
           <span id="nw" class="content">{{internal_fistula}}</span>
28
           <span id="nw" class="content">{{internal_fistula}}</span>
29
         </li>
29
         </li>
30
-        <li>
30
+        <li v-if="isShow('导管')">
31
           <label for="dg">导管 : </label>
31
           <label for="dg">导管 : </label>
32
           <span id="dg" class="content">{{catheter}}</span>
32
           <span id="dg" class="content">{{catheter}}</span>
33
         </li>
33
         </li>
34
-        <li>
34
+        <li v-if="isShow('穿刺处血肿')">
35
           <label for="jccxz">穿刺处血肿 : </label>
35
           <label for="jccxz">穿刺处血肿 : </label>
36
           <span id="jccxz" class="content">{{puncture_point_haematoma_name}}</span>
36
           <span id="jccxz" class="content">{{puncture_point_haematoma_name}}</span>
37
         </li>
37
         </li>
38
-        <li v-show="patient_gose==3">
38
+        <li v-if="patient_gose==3&&isShow('科室')">
39
           <label for="ks">科室 : </label>
39
           <label for="ks">科室 : </label>
40
           <span id="ks" class="content">{{inpatient_department}}</span>
40
           <span id="ks" class="content">{{inpatient_department}}</span>
41
         </li>
41
         </li>
42
-        <li>
42
+        <li v-if="isShow('体温')">
43
           <label for="tw">体温 : </label>
43
           <label for="tw">体温 : </label>
44
           <span class="content" id="tw">{{temperature?temperature:''}}</span>
44
           <span class="content" id="tw">{{temperature?temperature:''}}</span>
45
           <span class="unit">{{temperature?"℃":''}}</span>
45
           <span class="unit">{{temperature?"℃":''}}</span>
46
         </li>
46
         </li>
47
-        <li>
47
+        <li v-if="isShow('脉率')">
48
           <label for="ml">脉率 : </label>
48
           <label for="ml">脉率 : </label>
49
           <span id="ml" class="content">{{pulse_frequency?pulse_frequency:''}}</span>
49
           <span id="ml" class="content">{{pulse_frequency?pulse_frequency:''}}</span>
50
           <span class="unit">{{pulse_frequency?"次/分":''}}</span>
50
           <span class="unit">{{pulse_frequency?"次/分":''}}</span>
51
         </li>
51
         </li>
52
 
52
 
53
-        <li>
53
+        <li v-if="isShow('血管通路操作')">
54
           <label for="xgtlcz">血管通路操作: </label>
54
           <label for="xgtlcz">血管通路操作: </label>
55
           <span id="xgtlcz" class="content">{{blood_access_opera}}</span>
55
           <span id="xgtlcz" class="content">{{blood_access_opera}}</span>
56
         </li>
56
         </li>
58
       </ul>
58
       </ul>
59
 
59
 
60
       <ul>
60
       <ul>
61
-        <li>
61
+        <li v-if="isShow('体重减少')">
62
           <label for="tzjs">体重减少 : </label>
62
           <label for="tzjs">体重减少 : </label>
63
           <span class="content" id="tzjs">{{weight_loss?weight_loss:''}}</span>
63
           <span class="content" id="tzjs">{{weight_loss?weight_loss:''}}</span>
64
           <span class="unit">{{weight_loss?"kg":''}}</span>
64
           <span class="unit">{{weight_loss?"kg":''}}</span>
65
         </li>
65
         </li>
66
-        <li>
66
+        <li v-if="isShow('舒张压')">
67
           <label for="szy">舒张压 : </label>
67
           <label for="szy">舒张压 : </label>
68
           <span id="szy" class="content">{{diastolic_blood_pressure?diastolic_blood_pressure:''}}</span>
68
           <span id="szy" class="content">{{diastolic_blood_pressure?diastolic_blood_pressure:''}}</span>
69
           <span class="unit">{{diastolic_blood_pressure?"mmHg":''}}</span>
69
           <span class="unit">{{diastolic_blood_pressure?"mmHg":''}}</span>
70
         </li>
70
         </li>
71
-        <li>
71
+        <li v-if="isShow('实际置换量')">
72
           <label for="sjzhl">实际置换量 : </label>
72
           <label for="sjzhl">实际置换量 : </label>
73
           <span id="sjzhl" class="content">{{actual_displacement?actual_displacement:''}}</span>
73
           <span id="sjzhl" class="content">{{actual_displacement?actual_displacement:''}}</span>
74
           <span class="unit">{{actual_displacement?"ml":''}}</span>
74
           <span class="unit">{{actual_displacement?"ml":''}}</span>
75
         </li>
75
         </li>
76
-        <li>
76
+        <li v-if="isShow('透后症状')">
77
           <label for="thzz">透后症状 : </label>
77
           <label for="thzz">透后症状 : </label>
78
           <span id="thzz" class="content">{{symptom_after_dialysis}}</span>
78
           <span id="thzz" class="content">{{symptom_after_dialysis}}</span>
79
         </li>
79
         </li>
80
-        <li>
80
+        <li v-if="isShow('血管通路部位')">
81
           <label for="xgtl">血管通路部位 : </label>
81
           <label for="xgtl">血管通路部位 : </label>
82
           <span id="xgtl" class="content">{{blood_access_part}}</span>
82
           <span id="xgtl" class="content">{{blood_access_part}}</span>
83
         </li>
83
         </li>
84
-        <li>
84
+        <li v-if="isShow('并发症')">
85
           <label for="bfz">并发症: </label>
85
           <label for="bfz">并发症: </label>
86
           <span id="bfz" class="content">{{complication}}</span>
86
           <span id="bfz" class="content">{{complication}}</span>
87
         </li>
87
         </li>
88
-        <li>
88
+        <li v-if="isShow('压迫后内瘘震颤')">
89
           <label for="yph">压迫后内瘘震颤: </label>
89
           <label for="yph">压迫后内瘘震颤: </label>
90
           <span id="yph" class="content">{{internal_fistula_tremor_ac_name}}</span>
90
           <span id="yph" class="content">{{internal_fistula_tremor_ac_name}}</span>
91
         </li>
91
         </li>
92
-        <li v-show="patient_gose==3">
92
+        <li v-if="patient_gose==3&&isShow('交待病房护士/患者/陪人观察内容')">
93
           <label for="jdbf">交待病房护士/患者/陪人观察内容 : </label>
93
           <label for="jdbf">交待病房护士/患者/陪人观察内容 : </label>
94
           <span class="content" id="jdbf">{{observation_content}}</span>
94
           <span class="content" id="jdbf">{{observation_content}}</span>
95
         </li>
95
         </li>
96
-        <li>
96
+        <li v-if="isShow('实际治疗时长')">
97
           <label for="sjzl">实际治疗时长 : </label>
97
           <label for="sjzl">实际治疗时长 : </label>
98
           <span id="sjzl" class="content">{{actual_treatment_hour}}时{{actual_treatment_minute}}分</span>
98
           <span id="sjzl" class="content">{{actual_treatment_hour}}时{{actual_treatment_minute}}分</span>
99
         </li>
99
         </li>
100
-        <li>
100
+        <li v-if="isShow('透析中入量')">
101
           <label for="txzrl">透析中入量: </label>
101
           <label for="txzrl">透析中入量: </label>
102
           <span id="txzrl" class="content">{{dialysis_intakes_feed?dialysis_intakes_feed:''}}</span>
102
           <span id="txzrl" class="content">{{dialysis_intakes_feed?dialysis_intakes_feed:''}}</span>
103
         </li>
103
         </li>
104
 
104
 
105
-        <li>
105
+        <li v-if="isShow('患者去向')">
106
           <label for="hzqx">患者去向: </label>
106
           <label for="hzqx">患者去向: </label>
107
           <span id="hzqx" class="content">{{patient_gose_name}}</span>
107
           <span id="hzqx" class="content">{{patient_gose_name}}</span>
108
         </li>
108
         </li>
109
-        <li v-show="patient_gose==3">
109
+        <li v-if="patient_gose==3&&isShow('其他观察内容')">
110
           <label for="qtgcnr">其他观察内容 : </label>
110
           <label for="qtgcnr">其他观察内容 : </label>
111
           <span id="qtgcnr" class="content">{{observation_content_other}}</span>
111
           <span id="qtgcnr" class="content">{{observation_content_other}}</span>
112
-        </li>
113
-        <li>
112
+        </li >
113
+        <li  v-if="isShow('拔针后穿刺点渗血')">
114
           <label for="bzh">拔针后穿刺点渗血: </label>
114
           <label for="bzh">拔针后穿刺点渗血: </label>
115
           <span id="bzh" class="content">{{puncture_point_oozing_blood_name}}</span>
115
           <span id="bzh" class="content">{{puncture_point_oozing_blood_name}}</span>
116
         </li>
116
         </li>
117
       </ul>
117
       </ul>
118
 
118
 
119
 
119
 
120
-      <ul v-if="this.$store.getters.user.template_info.template_id == 2">
121
-        <li>
120
+      <ul >
121
+        <li v-if="isShow('透析过程')">
122
           <label for="tw">透析过程 : </label>
122
           <label for="tw">透析过程 : </label>
123
           <span class="content" id="tw" v-if="this.record.dialysis_process == 1">完成</span>
123
           <span class="content" id="tw" v-if="this.record.dialysis_process == 1">完成</span>
124
           <span class="content" id="tw" v-if="this.record.dialysis_process == 2">提前{{in_advance_minute}}min</span>
124
           <span class="content" id="tw" v-if="this.record.dialysis_process == 2">提前{{in_advance_minute}}min</span>
125
         </li>
125
         </li>
126
-        <li v-if="this.record.dialysis_process == 2&&this.$store.getters.user.template_info.template_id == 2">
126
+        <li v-if="this.record.dialysis_process == 2&&isShow('透析过程提前原因')">
127
           <label for="tw">透析过程提前原因 : </label>
127
           <label for="tw">透析过程提前原因 : </label>
128
           <span class="content" id="tw" >{{in_advance_reason}}</span>
128
           <span class="content" id="tw" >{{in_advance_reason}}</span>
129
         </li>
129
         </li>
130
 
130
 
131
 
131
 
132
 
132
 
133
-        <li v-if="this.$store.getters.user.template_info.template_id == 2">
134
-          <label for="ml">内瘘管拔针后压迫止血 : </label>
133
+        <li v-if="isShow('内瘘管拔针后压迫止血时间')">
134
+          <label for="ml">内瘘管拔针后压迫止血时间 : </label>
135
           <span id="ml" class="content" v-if="hemostasis_minute">{{hemostasis_minute}}min</span>
135
           <span id="ml" class="content" v-if="hemostasis_minute">{{hemostasis_minute}}min</span>
136
           <span id="ml" class="content" v-else>-min</span>
136
           <span id="ml" class="content" v-else>-min</span>
137
         </li>
137
         </li>
138
-        <li v-if="this.$store.getters.user.template_info.template_id == 2">
138
+        <li v-if="isShow('内瘘管拔针后压迫止血操作')">
139
           <label for="ml">内瘘管拔针后压迫止血操作 : </label>
139
           <label for="ml">内瘘管拔针后压迫止血操作 : </label>
140
           <span id="ml" class="content">{{getOpera(this.record.hemostasis_opera)}}</span>
140
           <span id="ml" class="content">{{getOpera(this.record.hemostasis_opera)}}</span>
141
         </li>
141
         </li>
142
-        <li v-if="this.$store.getters.user.template_info.template_id == 2">
142
+        <li v-if="isShow('血管震颤和血管杂音')">
143
           <label for="sjzl">血管震颤和血管杂音 : </label>
143
           <label for="sjzl">血管震颤和血管杂音 : </label>
144
           <span id="sjzl" class="content">{{getTremorNoise(this.record.tremor_noise)}}</span>
144
           <span id="sjzl" class="content">{{getTremorNoise(this.record.tremor_noise)}}</span>
145
         </li>
145
         </li>
146
-        <li v-if="this.$store.getters.user.template_info.template_id == 2">
146
+        <li v-if="isShow('失衡综合症')">
147
           <label for="txzrl">失衡综合症: </label>
147
           <label for="txzrl">失衡综合症: </label>
148
           <span id="txzrl" class="content">{{getDisequilibriumSyndrome(this.record.disequilibrium_syndrome)}}</span>
148
           <span id="txzrl" class="content">{{getDisequilibriumSyndrome(this.record.disequilibrium_syndrome)}}</span>
149
         </li>
149
         </li>
150
-        <li v-if="this.record.disequilibrium_syndrome == 2&&this.$store.getters.user.template_info.template_id == 2">
151
-          <label for="txzrl">失衡综合症情况: </label>
150
+        <li v-if="this.record.disequilibrium_syndrome == 2&&isShow('失衡综合症症状')">
151
+          <label for="txzrl">失衡综合症症状: </label>
152
           <span id="txzrl" class="content">{{this.record.disequilibrium_syndrome_option}}</span>
152
           <span id="txzrl" class="content">{{this.record.disequilibrium_syndrome_option}}</span>
153
         </li>
153
         </li>
154
-        <li v-if="this.$store.getters.user.template_info.template_id == 2">
154
+        <li v-if="isShow('动脉管道')">
155
           <label for="xgtlcz">动脉管道: </label>
155
           <label for="xgtlcz">动脉管道: </label>
156
           <span id="xgtlcz" class="content">{{getArterialTubeName(this.record.arterial_tube)}}</span>
156
           <span id="xgtlcz" class="content">{{getArterialTubeName(this.record.arterial_tube)}}</span>
157
         </li>
157
         </li>
158
-        <li v-if="this.$store.getters.user.template_info.template_id == 2">
158
+        <li v-if="isShow('静脉管道')">
159
           <label for="bzh">静脉管道: </label>
159
           <label for="bzh">静脉管道: </label>
160
           <span id="bzh" class="content">{{getIntravenousTubeName(this.record.intravenous_tube)}}</span>
160
           <span id="bzh" class="content">{{getIntravenousTubeName(this.record.intravenous_tube)}}</span>
161
         </li>
161
         </li>
162
-        <li v-if="this.$store.getters.user.template_info.template_id == 2">
162
+        <li v-if="isShow('透析器')">
163
           <label for="hzqx">透析器: </label>
163
           <label for="hzqx">透析器: </label>
164
           <span id="hzqx" class="content">{{getDialyzer(this.record.dialyzer)}}</span>
164
           <span id="hzqx" class="content">{{getDialyzer(this.record.dialyzer)}}</span>
165
         </li>
165
         </li>
459
       }
459
       }
460
     },
460
     },
461
     methods: {
461
     methods: {
462
+      isShow(name){
463
+        var filedList = this.$store.getters.user.fileds
464
+
465
+        for (let i = 0; i < filedList.length; i++){
466
+          if(filedList[i].module == 5 && filedList[i].filed_name_cn == name&&filedList[i].is_show == 1){
467
+            return true
468
+          }
469
+        }
470
+        return false
471
+      },
462
       getOpera:function (id) {
472
       getOpera:function (id) {
463
         var hemostasis_opera = this.$store.getters.hemostasis_opera;
473
         var hemostasis_opera = this.$store.getters.hemostasis_opera;
464
         var hemostasisOperaName = "";
474
         var hemostasisOperaName = "";

+ 36 - 26
src/pages/main/today/assessmentBefore.vue 查看文件

4
       <p>{{title}}</p><span class="line"></span></h2>
4
       <p>{{title}}</p><span class="line"></span></h2>
5
     <div class="plate ">
5
     <div class="plate ">
6
       <ul>
6
       <ul>
7
-        <li>
7
+        <li v-if="isShow('透前体重')">
8
           <label>透前体重 : </label>
8
           <label>透前体重 : </label>
9
           <span class="content">{{ weight_before?weight_before:'' }}</span>
9
           <span class="content">{{ weight_before?weight_before:'' }}</span>
10
           <span class="unit">{{ weight_before?'kg':'' }}</span>
10
           <span class="unit">{{ weight_before?'kg':'' }}</span>
11
         </li>
11
         </li>
12
-        <li>
12
+        <li v-if="isShow('收缩压')">
13
           <label>收缩压 : </label>
13
           <label>收缩压 : </label>
14
           <span class="content">{{ systolic_blood_pressure?systolic_blood_pressure:''}}</span>
14
           <span class="content">{{ systolic_blood_pressure?systolic_blood_pressure:''}}</span>
15
           <span class="unit">{{ systolic_blood_pressure?'mmHg':''}}</span>
15
           <span class="unit">{{ systolic_blood_pressure?'mmHg':''}}</span>
16
         </li>
16
         </li>
17
 
17
 
18
-        <li>
18
+        <li v-if="isShow('舒张压')">
19
           <label>舒张压 : </label>
19
           <label>舒张压 : </label>
20
           <span class="content">{{ diastolic_blood_pressure?diastolic_blood_pressure:''}}</span>
20
           <span class="content">{{ diastolic_blood_pressure?diastolic_blood_pressure:''}}</span>
21
           <span class="unit">{{ diastolic_blood_pressure?'mmHg':''}}</span>
21
           <span class="unit">{{ diastolic_blood_pressure?'mmHg':''}}</span>
22
         </li>
22
         </li>
23
 
23
 
24
-        <li>
24
+        <li v-if="isShow('前次透析后')">
25
           <label>前次透析后: </label>
25
           <label>前次透析后: </label>
26
           <span class="content">{{ last_post_dialysis}}</span>
26
           <span class="content">{{ last_post_dialysis}}</span>
27
           <span class="unit"></span>
27
           <span class="unit"></span>
28
         </li>
28
         </li>
29
-        <li>
29
+        <li v-if="isShow('导管')">
30
           <label>导管 : </label>
30
           <label>导管 : </label>
31
           <span class="content">{{ catheter }}</span>
31
           <span class="content">{{ catheter }}</span>
32
           <span class="unit"></span>
32
           <span class="unit"></span>
33
         </li>
33
         </li>
34
-        <li>
34
+        <li v-if="isShow('干体重')">
35
           <label>干体重 : </label>
35
           <label>干体重 : </label>
36
           <span class="content">{{ dry_weight?dry_weight:''}}</span>
36
           <span class="content">{{ dry_weight?dry_weight:''}}</span>
37
           <span class="unit">{{ dry_weight?'kg':''}}</span>
37
           <span class="unit">{{ dry_weight?'kg':''}}</span>
38
         </li>
38
         </li>
39
-        <li>
39
+        <li v-if="isShow('透析期间')">
40
           <label>透析期间 : </label>
40
           <label>透析期间 : </label>
41
           <span class="content">{{ dialysis_interphase }}</span>
41
           <span class="content">{{ dialysis_interphase }}</span>
42
           <span class="unit"></span>
42
           <span class="unit"></span>
45
 
45
 
46
       </ul>
46
       </ul>
47
       <ul>
47
       <ul>
48
-        <li>
48
+        <li v-if="isShow('体温')">
49
           <label>体温 : </label>
49
           <label>体温 : </label>
50
           <span class="content">{{ temperature?temperature:''}}</span>
50
           <span class="content">{{ temperature?temperature:''}}</span>
51
           <span class="unit">{{ temperature?'℃':''}}</span>
51
           <span class="unit">{{ temperature?'℃':''}}</span>
52
         </li>
52
         </li>
53
-        <li>
54
-          <label>率 : </label>
53
+        <li v-if="isShow('脉率')">
54
+          <label>率 : </label>
55
           <span class="content">{{ pulse_frequency?pulse_frequency:''}}</span>
55
           <span class="content">{{ pulse_frequency?pulse_frequency:''}}</span>
56
           <span class="unit">{{ pulse_frequency?'次/分':''}}</span>
56
           <span class="unit">{{ pulse_frequency?'次/分':''}}</span>
57
         </li>
57
         </li>
58
-        <li>
58
+        <li v-if="isShow('透析前症状')">
59
           <label>透析前症状 : </label>
59
           <label>透析前症状 : </label>
60
           <span class="content">{{ symptom_before_dialysis }}</span>
60
           <span class="content">{{ symptom_before_dialysis }}</span>
61
           <span class="unit"></span>
61
           <span class="unit"></span>
62
         </li>
62
         </li>
63
-        <li style="height: 0.6rem;">
63
+        <li style="height: 0.6rem;" v-if="isShow('出血')">
64
           <label>出血:</label>
64
           <label>出血:</label>
65
           <span class="content">{{ is_hemorrhage ? hemorrhage + ';' + hemorrhage_other : '无' }}</span>
65
           <span class="content">{{ is_hemorrhage ? hemorrhage + ';' + hemorrhage_other : '无' }}</span>
66
           <span class="unit"> </span>
66
           <span class="unit"> </span>
67
-        </li>
68
-        <li>
69
-          <label>并症: </label>
67
+
68
+        <li v-if="isShow('并发症')">
69
+          <label>并症: </label>
70
           <span class="content">{{ complication }}</span>
70
           <span class="content">{{ complication }}</span>
71
           <span class="unit"></span>
71
           <span class="unit"></span>
72
         </li>
72
         </li>
73
-        <li>
73
+        <li v-if="isShow('透析前症状')">
74
           <label>透析前症状 : </label>
74
           <label>透析前症状 : </label>
75
           <span class="content">{{ symptom_before_dialysis }}</span>
75
           <span class="content">{{ symptom_before_dialysis }}</span>
76
           <span class="unit"></span>
76
           <span class="unit"></span>
80
 
80
 
81
       <ul>
81
       <ul>
82
 
82
 
83
-        <li  v-if="this.$store.getters.user.template_info.template_id == 2">
83
+        <li v-if="isShow('透析机型号')">
84
           <label>透析机型号: </label>
84
           <label>透析机型号: </label>
85
           <span class="content">{{machine_type?machine_type:''}}</span>
85
           <span class="content">{{machine_type?machine_type:''}}</span>
86
           <span class="unit"></span>
86
           <span class="unit"></span>
87
         </li>
87
         </li>
88
 
88
 
89
-        <li  v-if="this.$store.getters.user.template_info.template_id == 2">
89
+        <li v-if="isShow('透析频次')">
90
           <label>透析频次: </label>
90
           <label>透析频次: </label>
91
           <span class="content">{{dialysis_count?dialysis_count:''}}</span>
91
           <span class="content">{{dialysis_count?dialysis_count:''}}</span>
92
           <span class="unit">{{ dialysis_count?'次/周':''}}</span>
92
           <span class="unit">{{ dialysis_count?'次/周':''}}</span>
93
         </li>
93
         </li>
94
-        <li  v-if="this.$store.getters.user.template_info.template_id == 2">
94
+        <li v-if="isShow('血管通路(内瘘)')">
95
           <label>血管通路(内瘘) : </label>
95
           <label>血管通路(内瘘) : </label>
96
           <span class="content">{{blood_access_internal_fistula}}</span>
96
           <span class="content">{{blood_access_internal_fistula}}</span>
97
         </li>
97
         </li>
98
-        <li  v-if="this.$store.getters.user.template_info.template_id == 2">
98
+        <li v-if="isShow('血管杂音')">
99
           <label>血管杂音 : </label>
99
           <label>血管杂音 : </label>
100
           <span class="content">{{getBloodAccessNoise(this.record.blood_access_noise)}}</span>
100
           <span class="content">{{getBloodAccessNoise(this.record.blood_access_noise)}}</span>
101
         </li>
101
         </li>
102
-        <li v-if="this.$store.getters.user.template_info.template_id == 2">
102
+        <li v-if="isShow('穿刺方式')">
103
           <label>穿刺方式 : </label>
103
           <label>穿刺方式 : </label>
104
           <span class="content">{{getWay(this.record.puncture_way)}}</span>
104
           <span class="content">{{getWay(this.record.puncture_way)}}</span>
105
         </li>
105
         </li>
106
-        <li style="height: 0.6rem;" v-if="this.$store.getters.user.template_info.template_id == 2">
106
+        <li style="height: 0.6rem;" v-if="isShow('中心静脉置管')">
107
           <label>中心静脉置管:</label>
107
           <label>中心静脉置管:</label>
108
           <span class="content">{{getVenousCatheterization(this.record.venous_catheterization)}}</span>
108
           <span class="content">{{getVenousCatheterization(this.record.venous_catheterization)}}</span>
109
           <span class="unit"> </span>
109
           <span class="unit"> </span>
113
 
113
 
114
 
114
 
115
 
115
 
116
-      <ul v-if="this.$store.getters.user.template_info.template_id == 2">
117
-        <li style="height: 0.6rem;">
116
+      <ul >
117
+        <li style="height: 0.6rem;" v-if="isShow('位置')">
118
           <label>位置:</label>
118
           <label>位置:</label>
119
           <span class="content" v-if="this.record.venous_catheterization_part != -1">{{getVenousCatheterizationPart(this.record.venous_catheterization_part)}}</span>
119
           <span class="content" v-if="this.record.venous_catheterization_part != -1">{{getVenousCatheterizationPart(this.record.venous_catheterization_part)}}</span>
120
           <span class="content" v-if="this.record.venous_catheterization_part == -1">{{venous_catheterization_part_other}}</span>
120
           <span class="content" v-if="this.record.venous_catheterization_part == -1">{{venous_catheterization_part_other}}</span>
121
         </li>
121
         </li>
122
 
122
 
123
-        <li>
123
+        <li v-if="isShow('中心静脉导管')">
124
           <label>中心静脉导管: </label>
124
           <label>中心静脉导管: </label>
125
           <span class="content">{{this.record.ductus_arantii}}</span>
125
           <span class="content">{{this.record.ductus_arantii}}</span>
126
         </li>
126
         </li>
127
-        <li>
127
+        <li v-if="isShow('急诊')">
128
           <label>急诊: </label>
128
           <label>急诊: </label>
129
           <span class="content" v-if="this.record.emergency_treatment != -1">{{getEmergencyTreatment(this.record.emergency_treatment)}}</span>
129
           <span class="content" v-if="this.record.emergency_treatment != -1">{{getEmergencyTreatment(this.record.emergency_treatment)}}</span>
130
           <span class="content" v-if="this.record.emergency_treatment == -1">{{emergency_treatment_other}}</span>
130
           <span class="content" v-if="this.record.emergency_treatment == -1">{{emergency_treatment_other}}</span>
302
       }
302
       }
303
     },
303
     },
304
     methods: {
304
     methods: {
305
+      isShow(name){
306
+        var filedList = this.$store.getters.user.fileds
307
+
308
+        for (let i = 0; i < filedList.length; i++){
309
+          if(filedList[i].module == 3 && filedList[i].filed_name_cn == name&&filedList[i].is_show == 1){
310
+            return true
311
+          }
312
+        }
313
+        return false
314
+      },
305
       getBloodAccessInternalFistula: function (id) {
315
       getBloodAccessInternalFistula: function (id) {
306
         var BloodAccessInternalFistulaOptions = this.$store.getters.blood_access_internal_fistula;
316
         var BloodAccessInternalFistulaOptions = this.$store.getters.blood_access_internal_fistula;
307
         var BloodAccessInternalFistulaName = "";
317
         var BloodAccessInternalFistulaName = "";

+ 39 - 31
src/pages/main/today/dialysisMonitoring.vue 查看文件

4
     <div class="dm" style="width:100%;overflow:hildden;overflow-x:auto;">
4
     <div class="dm" style="width:100%;overflow:hildden;overflow-x:auto;">
5
       <table  class="table" style="">
5
       <table  class="table" style="">
6
         <tr>
6
         <tr>
7
-          <th width="124px">时间</th>
8
-          <th width="72px">血压(mmHg)</th>
9
-          <th width="80px">心率(次/分)</th>
10
-          <th width="110px">呼吸(次/分)</th>
11
-          <th width="92px">血流量(ml/min)</th>
12
-          <th width="76px">静脉压/动脉压(mmHg)</th>
13
-          <th width="76px">跨膜压(mmHg)</th>
14
-          <th width="76px">超滤量(L)</th>
15
-          <th width="92px">钠浓度(mmol/L)</th>
16
-          <th width="92px">透析液温度(℃)</th>
17
-          <th width="92px">置换率(L/h)</th>
18
-          <th width="92px">置换量(L)</th>
19
-          <th width="92px">病情变化</th>
20
-          <th width="92px">处理</th>
21
-          <th width="92px">结果</th>
7
+          <th  v-if="isShow('监测时间')" width="124px">时间</th>
8
+          <th v-if="isShow('血压')" width="72px">血压(mmHg)</th>
9
+          <th v-if="isShow('心率')" width="80px">心率(次/分)</th>
10
+          <th v-if="isShow('呼吸')" width="110px">呼吸(次/分)</th>
11
+          <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
12
+          <th  width="76px">静脉压/动脉压(mmHg)</th>
13
+          <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmHg)</th>
14
+          <th v-if="isShow('超滤量')" width="76px">超滤量(L)</th>
15
+          <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
16
+          <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
17
+          <th v-if="isShow('置换率')" width="92px">置换率(L/h)</th>
18
+          <th v-if="isShow('置换量')"  width="92px">置换量(L)</th>
19
+          <th v-if="isShow('病情变化')" width="92px">病情变化</th>
20
+          <th v-if="isShow('处理')" width="92px">处理</th>
21
+          <th v-if="isShow('结果')" width="92px">结果</th>
22
         </tr>
22
         </tr>
23
         <tr v-for="(item,index) in tableDate" :key="index" :value="item.value">
23
         <tr v-for="(item,index) in tableDate" :key="index" :value="item.value">
24
-          <td>{{parseTime(item.operate_time, "{y}-{m}-{d} {h}:{i}")}}</td>
25
-
26
-
27
-          <td>{{item.systolic_blood_pressure?item.systolic_blood_pressure:''}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:''}}</td>
28
-          <td>{{item.pulse_frequency?item.pulse_frequency:''}}</td>
29
-          <td>{{item.breathing_rate?item.breathing_rate:''}}</td>
30
-          <td>{{item.blood_flow_volume?item.blood_flow_volume:''}}</td>
24
+          <td v-if="isShow('监测时间')">{{parseTime(item.operate_time, "{y}-{m}-{d} {h}:{i}")}}</td>
25
+          <td v-if="isShow('血压')">{{item.systolic_blood_pressure?item.systolic_blood_pressure:''}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:''}}</td>
26
+          <td v-if="isShow('心率')">{{item.pulse_frequency?item.pulse_frequency:''}}</td>
27
+          <td v-if="isShow('呼吸')">{{item.breathing_rate?item.breathing_rate:''}}</td>
28
+          <td v-if="isShow('血流量')">{{item.blood_flow_volume?item.blood_flow_volume:''}}</td>
31
           <td>{{item.venous_pressure?item.venous_pressure:''}}/{{item.arterial_pressure?item.arterial_pressure:''}}</td>
29
           <td>{{item.venous_pressure?item.venous_pressure:''}}/{{item.arterial_pressure?item.arterial_pressure:''}}</td>
32
-          <td>{{item.transmembrane_pressure?item.transmembrane_pressure:''}}</td>
33
-          <td>{{item.ultrafiltration_volume?item.ultrafiltration_volume:''}}</td>
34
-          <td>{{item.sodium_concentration?item.sodium_concentration:''}}</td>
35
-          <td>{{item.dialysate_temperature?item.dialysate_temperature:''}}</td>
36
-          <td>{{item.replacement_rate?item.replacement_rate:''}}</td>
37
-          <td>{{item.displacement_quantity?item.displacement_quantity:''}}</td>
38
-          <td>{{item.symptom}}</td>
39
-          <td>{{item.dispose}}</td>
40
-          <td>{{item.result}}</td>
30
+          <td v-if="isShow('跨膜压')">{{item.transmembrane_pressure?item.transmembrane_pressure:''}}</td>
31
+          <td v-if="isShow('超滤量')">{{item.ultrafiltration_volume?item.ultrafiltration_volume:''}}</td>
32
+          <td v-if="isShow('钠浓度')">{{item.sodium_concentration?item.sodium_concentration:''}}</td>
33
+          <td v-if="isShow('透析液温度')">{{item.dialysate_temperature?item.dialysate_temperature:''}}</td>
34
+          <td v-if="isShow('置换率')">{{item.replacement_rate?item.replacement_rate:''}}</td>
35
+          <td v-if="isShow('置换量')">{{item.displacement_quantity?item.displacement_quantity:''}}</td>
36
+          <td v-if="isShow('病情变化')">{{item.symptom}}</td>
37
+          <td v-if="isShow('处理')">{{item.dispose}}</td>
38
+          <td v-if="isShow('结果')">{{item.result}}</td>
41
         </tr>
39
         </tr>
42
       </table>
40
       </table>
43
       <div class="NoData" v-show="tableDate.length == 0"><img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt=""></div>
41
       <div class="NoData" v-show="tableDate.length == 0"><img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt=""></div>
58
     };
56
     };
59
   },
57
   },
60
   methods: {
58
   methods: {
59
+    isShow(name){
60
+      var filedList = this.$store.getters.user.fileds
61
+
62
+      for (let i = 0; i < filedList.length; i++){
63
+        if(filedList[i].module == 4 && filedList[i].filed_name_cn == name&&filedList[i].is_show == 1){
64
+          return true
65
+        }
66
+      }
67
+      return false
68
+    },
61
     setRecords(records) {
69
     setRecords(records) {
62
       if (records == null) {
70
       if (records == null) {
63
         records = [];
71
         records = [];

+ 35 - 26
src/pages/main/today/dialysisPrescription.vue 查看文件

3
     <h2 class="title"><span class="line"></span><p>{{title}}</p><span class="line"></span> </h2>
3
     <h2 class="title"><span class="line"></span><p>{{title}}</p><span class="line"></span> </h2>
4
     <div class="plate">
4
     <div class="plate">
5
       <ul>
5
       <ul>
6
-        <li>
6
+        <li v-if="isShow('透析模式')">
7
           <label>透析模式 : </label>
7
           <label>透析模式 : </label>
8
           <span class="content">{{dialysis_mode}}</span>
8
           <span class="content">{{dialysis_mode}}</span>
9
         </li>
9
         </li>
10
-        <li>
10
+        <li v-if="isShow('目标超滤量')">
11
           <label>目标超滤量 : </label>
11
           <label>目标超滤量 : </label>
12
           <span class="content">{{target_ultrafiltration != '0'?target_ultrafiltration:''}}</span>
12
           <span class="content">{{target_ultrafiltration != '0'?target_ultrafiltration:''}}</span>
13
           <span class="unit">{{target_ultrafiltration != '0'?"L":''}}</span>
13
           <span class="unit">{{target_ultrafiltration != '0'?"L":''}}</span>
14
         </li>
14
         </li>
15
-        <li>
15
+        <li v-if="isShow('首剂')">
16
           <label>首剂 : </label>
16
           <label>首剂 : </label>
17
           <span class="content">{{anticoagulant_shouji != '0'?anticoagulant_shouji:''}}</span>
17
           <span class="content">{{anticoagulant_shouji != '0'?anticoagulant_shouji:''}}</span>
18
           <span class="unit">{{anticoagulant_shouji != '0'?"mg":''}}</span>
18
           <span class="unit">{{anticoagulant_shouji != '0'?"mg":''}}</span>
19
         </li>
19
         </li>
20
-        <li>
20
+        <li v-if="isShow('钙')">
21
           <label>钙: </label>
21
           <label>钙: </label>
22
           <span class="content">{{calcium != '0'?calcium:""}}</span>
22
           <span class="content">{{calcium != '0'?calcium:""}}</span>
23
           <span class="unit">{{calcium != '0'?"mmol/l":""}}</span>
23
           <span class="unit">{{calcium != '0'?"mmol/l":""}}</span>
24
         </li>
24
         </li>
25
-        <li>
25
+        <li  v-if="isShow('置换量')">
26
           <label>置换量 : </label>
26
           <label>置换量 : </label>
27
           <span class="content">{{replacement_total != '0'?replacement_total:""}}</span>
27
           <span class="content">{{replacement_total != '0'?replacement_total:""}}</span>
28
           <span class="unit">{{replacement_total != '0'?"L":""}}</span>
28
           <span class="unit">{{replacement_total != '0'?"L":""}}</span>
29
         </li>
29
         </li>
30
 
30
 
31
-        <li>
31
+        <li v-if="isShow('葡萄糖')">
32
           <label>葡萄糖 : </label>
32
           <label>葡萄糖 : </label>
33
           <span class="content">{{glucose != '0'?glucose:""}}</span>
33
           <span class="content">{{glucose != '0'?glucose:""}}</span>
34
           <span class="unit">{{glucose != '0'?"mmol/l":""}}</span>
34
           <span class="unit">{{glucose != '0'?"mmol/l":""}}</span>
35
         </li>
35
         </li>
36
       </ul>
36
       </ul>
37
       <ul>
37
       <ul>
38
-        <li>
38
+        <li v-if="isShow('透析时长')">
39
           <label>透析时长 : </label>
39
           <label>透析时长 : </label>
40
           <span class="content">{{dialysis_duration != '0'?dialysis_duration:""}}</span>
40
           <span class="content">{{dialysis_duration != '0'?dialysis_duration:""}}</span>
41
         </li>
41
         </li>
42
-        <li>
42
+        <li v-if="isShow('透析液配方')">
43
           <label>透析液配方 : </label>
43
           <label>透析液配方 : </label>
44
           <span class="content">{{dialysate_formulation}}</span>
44
           <span class="content">{{dialysate_formulation}}</span>
45
         </li>
45
         </li>
46
-        <li>
46
+        <li v-if="isShow('维持')">
47
           <label>维持 : </label>
47
           <label>维持 : </label>
48
           <span class="content">{{anticoagulant_weichi != '0'?anticoagulant_weichi:""}}</span>
48
           <span class="content">{{anticoagulant_weichi != '0'?anticoagulant_weichi:""}}</span>
49
           <span class="unit">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
49
           <span class="unit">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
50
         </li>
50
         </li>
51
-        <li>
51
+        <li v-if="isShow('钾')">
52
           <label>钾 : </label>
52
           <label>钾 : </label>
53
           <span class="content">{{kalium != '0'?kalium:""}}</span>
53
           <span class="content">{{kalium != '0'?kalium:""}}</span>
54
           <span class="unit">{{kalium != '0'?"mmol/L":""}}</span>
54
           <span class="unit">{{kalium != '0'?"mmol/L":""}}</span>
55
         </li>
55
         </li>
56
-        <li>
56
+        <li v-if="isShow('碳酸氢盐')">
57
           <label>碳酸氢盐 : </label>
57
           <label>碳酸氢盐 : </label>
58
           <span class="content">{{bicarbonate != '0'?bicarbonate:""}}</span>
58
           <span class="content">{{bicarbonate != '0'?bicarbonate:""}}</span>
59
           <span class="unit">{{bicarbonate != '0'?"mmol/l":""}}</span>
59
           <span class="unit">{{bicarbonate != '0'?"mmol/l":""}}</span>
63
           <span class="content">{{dry_weight}}</span>
63
           <span class="content">{{dry_weight}}</span>
64
           <span class="unit">kg</span>
64
           <span class="unit">kg</span>
65
         </li> -->
65
         </li> -->
66
-        <li>
66
+        <li v-if="isShow('透析液温度')">
67
           <label>透析液温度 : </label>
67
           <label>透析液温度 : </label>
68
           <span class="content">{{dialysate_temperature != '0'?dialysate_temperature:""}}</span>
68
           <span class="content">{{dialysate_temperature != '0'?dialysate_temperature:""}}</span>
69
           <span class="unit">{{dialysate_temperature != '0'?"℃":""}}</span>
69
           <span class="unit">{{dialysate_temperature != '0'?"℃":""}}</span>
70
         </li>
70
         </li>
71
       </ul>
71
       </ul>
72
       <ul>
72
       <ul>
73
-        <li>
73
+        <li v-if="isShow('血流量')">
74
           <label>血流量 : </label>
74
           <label>血流量 : </label>
75
           <span class="content">{{blood_flow_volume != '0'?blood_flow_volume:''}}</span>
75
           <span class="content">{{blood_flow_volume != '0'?blood_flow_volume:''}}</span>
76
           <span class="unit">{{blood_flow_volume != '0'?"ml/min":''}}</span>
76
           <span class="unit">{{blood_flow_volume != '0'?"ml/min":''}}</span>
77
         </li>
77
         </li>
78
-        <li>
79
-          <label>抗剂 : </label>
78
+        <li v-if="isShow('抗凝剂')">
79
+          <label>抗剂 : </label>
80
           <span class="content">{{anticoagulant}}</span>
80
           <span class="content">{{anticoagulant}}</span>
81
         </li>
81
         </li>
82
-        <li>
82
+        <li v-if="isShow('总量')">
83
           <label>总量: </label>
83
           <label>总量: </label>
84
           <span class="content">{{anticoagulant_zongliang != '0'?anticoagulant_zongliang:""}}</span>
84
           <span class="content">{{anticoagulant_zongliang != '0'?anticoagulant_zongliang:""}}</span>
85
           <span class="unit">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
85
           <span class="unit">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
86
         </li>
86
         </li>
87
-        <li>
87
+        <li v-if="isShow('钠')">
88
           <label>钠 : </label>
88
           <label>钠 : </label>
89
           <span class="content">{{sodium != '0'?sodium:""}}</span>
89
           <span class="content">{{sodium != '0'?sodium:""}}</span>
90
           <span class="unit">{{sodium != '0'?"mmol/l":""}}</span>
90
           <span class="unit">{{sodium != '0'?"mmol/l":""}}</span>
91
         </li>
91
         </li>
92
-        <li>
92
+        <li v-if="isShow('透析液流量')">
93
           <label>透析液流量 : </label>
93
           <label>透析液流量 : </label>
94
           <span class="content">{{dialysate_flow != '0'?dialysate_flow:""}}</span>
94
           <span class="content">{{dialysate_flow != '0'?dialysate_flow:""}}</span>
95
           <span class="unit">{{dialysate_flow != '0'?"ml/min":""}}</span>
95
           <span class="unit">{{dialysate_flow != '0'?"ml/min":""}}</span>
96
         </li>
96
         </li>
97
-        <li>
97
+        <li v-if="isShow('电导率')">
98
           <label>电导率 : </label>
98
           <label>电导率 : </label>
99
           <span class="content">{{conductivity != '0'?conductivity:""}}</span>
99
           <span class="content">{{conductivity != '0'?conductivity:""}}</span>
100
           <span class="unit">{{conductivity != '0'?"mS/cm":""}}</span>
100
           <span class="unit">{{conductivity != '0'?"mS/cm":""}}</span>
101
         </li>
101
         </li>
102
       </ul>
102
       </ul>
103
       <ul>
103
       <ul>
104
-        <li>
104
+        <li v-if="isShow('透析器/灌流器')">
105
           <label>透析器/灌流器 : </label>
105
           <label>透析器/灌流器 : </label>
106
           <span class="content">{{dialyzer_perfusion_apparatus}}</span>
106
           <span class="content">{{dialyzer_perfusion_apparatus}}</span>
107
           <span class="unit"></span>
107
           <span class="unit"></span>
108
         </li>
108
         </li>
109
-        <li v-if="this.$store.getters.user.template_info.template_id == 2">
109
+        <li v-if="isShow('体液过多症状')">
110
           <label>体液过多症状: </label>
110
           <label>体液过多症状: </label>
111
           <span class="content">{{body_fluid}}</span>
111
           <span class="content">{{body_fluid}}</span>
112
           <span class="unit"></span>
112
           <span class="unit"></span>
113
         </li>
113
         </li>
114
-        <li v-if="this.$store.getters.user.template_info.template_id == 2">
114
+        <li v-if="isShow('透析前使用特殊药物')">
115
           <label>透析前使用特殊药物: </label>
115
           <label>透析前使用特殊药物: </label>
116
           <span class="content">{{special_medicine}}</span>
116
           <span class="content">{{special_medicine}}</span>
117
           <span class="unit"></span>
117
           <span class="unit"></span>
118
         </li>
118
         </li>
119
-        <li v-if="this.$store.getters.user.template_info.template_id == 2">
119
+        <li v-if="isShow('透析前使用其他特殊药物')">
120
           <label>透析前使用其他特殊药物: </label>
120
           <label>透析前使用其他特殊药物: </label>
121
           <span class="content">{{special_medicine_other}}</span>
121
           <span class="content">{{special_medicine_other}}</span>
122
           <span class="unit"></span>
122
           <span class="unit"></span>
123
         </li>
123
         </li>
124
-        <li v-if="this.$store.getters.user.template_info.template_id == 2">
124
+        <li v-if="isShow('置换液')">
125
           <label>置换液: </label>
125
           <label>置换液: </label>
126
           <span class="content">{{displace_liqui}}</span>
126
           <span class="content">{{displace_liqui}}</span>
127
           <span class="unit"></span>
127
           <span class="unit"></span>
128
         </li>
128
         </li>
129
-        <li v-if="this.$store.getters.user.template_info.template_id == 2">
129
+        <li v-if="isShow('血管通路')">
130
           <label>血管通路: </label>
130
           <label>血管通路: </label>
131
           <span class="content">{{blood_access}}</span>
131
           <span class="content">{{blood_access}}</span>
132
           <span class="unit"></span>
132
           <span class="unit"></span>
133
         </li>
133
         </li>
134
-        <li v-if="this.$store.getters.user.template_info.template_id == 2">
134
+        <li v-if="isShow('实际超滤量')">
135
           <label>实际超滤量: </label>
135
           <label>实际超滤量: </label>
136
           <span class="content">{{ultrafiltration != '0'? ultrafiltration:''}}</span>
136
           <span class="content">{{ultrafiltration != '0'? ultrafiltration:''}}</span>
137
           <span class="unit">{{ultrafiltration != '0'?"L":""}}</span>
137
           <span class="unit">{{ultrafiltration != '0'?"L":""}}</span>
379
     }
379
     }
380
   },
380
   },
381
   methods: {
381
   methods: {
382
+    isShow(name){
383
+      var filedList = this.$store.getters.user.fileds
384
+      for (let i = 0; i < filedList.length; i++){
385
+        if(filedList[i].module == 1 && filedList[i].filed_name_cn == name&&filedList[i].is_show == 1){
386
+          return true
387
+        }
388
+      }
389
+      return false
390
+    },
382
     getValueStr(pkey, skey) {
391
     getValueStr(pkey, skey) {
383
       if ((this.prescription == null || this.prescription.id == "") && (this.solution == null || this.solution.id == "")) {
392
       if ((this.prescription == null || this.prescription.id == "") && (this.solution == null || this.solution.id == "")) {
384
         return ""
393
         return ""

+ 20 - 1
src/store/user/user.js 查看文件

1
+
1
 const user = {
2
 const user = {
2
   state: {
3
   state: {
3
     role_type: 1, // 1.医生 2.护士
4
     role_type: 1, // 1.医生 2.护士
37
       id: 0,
38
       id: 0,
38
       org_id:0,
39
       org_id:0,
39
       template_id:0,
40
       template_id:0,
40
-    }
41
+    },
42
+    fileds:[],
43
+
41
   },
44
   },
42
 
45
 
43
   mutations: {
46
   mutations: {
47
+    SET_FILEDS: (state, payload) => {
48
+      state.fileds = payload.fileds
49
+      console.log(payload.fileds)
50
+      console.log(state.fileds)
51
+
52
+    },
44
     SET_USER: (state, user) => {
53
     SET_USER: (state, user) => {
45
       state.user.id = user.id
54
       state.user.id = user.id
46
       state.user.mobile = user.mobile
55
       state.user.mobile = user.mobile
89
       var subscibe = userInfo.subscibe
98
       var subscibe = userInfo.subscibe
90
       var template_info = userInfo.template_info
99
       var template_info = userInfo.template_info
91
 
100
 
101
+      var fileds = userInfo.filed_list
102
+      console.log(userInfo.filed_list)
103
+      console.log(fileds)
104
+
92
       commit("SET_USER", user)
105
       commit("SET_USER", user)
93
       commit("SET_ORG", org)
106
       commit("SET_ORG", org)
94
       commit("SET_SUBSCIBE", subscibe)
107
       commit("SET_SUBSCIBE", subscibe)
95
       commit("SET_TEMPLATE", template_info)
108
       commit("SET_TEMPLATE", template_info)
109
+      commit('SET_FILEDS', {
110
+        fileds
111
+      })
112
+
113
+
114
+
96
 
115
 
97
     },
116
     },
98
     SwitchRoleTypeToDoctor({commit}) {
117
     SwitchRoleTypeToDoctor({commit}) {

+ 17 - 0
src/utils/data_config.js 查看文件

1
 const dataConfigKey = 'data_config_list'
1
 const dataConfigKey = 'data_config_list'
2
 
2
 
3
+const filedConfigKey = 'filed_config_list'
4
+
5
+
6
+
3
 export function getDataConfigList() {
7
 export function getDataConfigList() {
4
   return window.sessionStorage.getItem(dataConfigKey)
8
   return window.sessionStorage.getItem(dataConfigKey)
5
 }
9
 }
11
 export function removeDataConfigList() {
15
 export function removeDataConfigList() {
12
   window.sessionStorage.removeItem(dataConfigKey)
16
   window.sessionStorage.removeItem(dataConfigKey)
13
 }
17
 }
18
+
19
+
20
+export function getFiledConfigList() {
21
+  return window.sessionStorage.getItem(filedConfigKey)
22
+}
23
+
24
+export function setFiledConfigList(infoJSONStr) {
25
+  window.sessionStorage.setItem(filedConfigKey, infoJSONStr)
26
+}
27
+
28
+export function removeFiledConfigList() {
29
+  window.sessionStorage.removeItem(filedConfigKey)
30
+}