|
@@ -1,8 +1,11 @@
|
1
|
1
|
import store from '@/store'
|
2
|
2
|
|
3
|
|
-export function getDataConfig(module, field) {
|
|
3
|
+export function getDataConfig (module, field) {
|
4
|
4
|
var storeConfigList = store.getters.configlist
|
5
|
5
|
var moduleConfig = storeConfigList[module]
|
|
6
|
+ if (moduleConfig == undefined) {
|
|
7
|
+ return false
|
|
8
|
+ }
|
6
|
9
|
if (module === 'summary' || module === 'education' || module === 'nursing_record' || module === 'special_record') {
|
7
|
10
|
var Aresult = []
|
8
|
11
|
for (var j = 0; j < moduleConfig.length; j++) {
|