| | |
| | | |
| | | let _group = config.subcards[0] |
| | | |
| | | if (_data && config.wrap.statusControl && _data[config.wrap.statusControl]) { |
| | | let _status = _data[config.wrap.statusControl] |
| | | if (_data && config.wrap.statusControl && _data[config.wrap.statusControl] !== undefined) { |
| | | let _status = _data[config.wrap.statusControl] + '' |
| | | |
| | | let _groups = config.subcards.filter(item => item.setting.status === _status)[0] |
| | | _group = _groups || _group |
| | |
| | | |
| | | _data.$$uuid = _data[config.setting.primaryKey] || '' |
| | | |
| | | if (config.wrap.statusControl && _data[config.wrap.statusControl]) { |
| | | let _status = _data[config.wrap.statusControl] |
| | | if (config.wrap.statusControl && _data[config.wrap.statusControl] !== undefined) { |
| | | let _status = _data[config.wrap.statusControl] + '' |
| | | let _groups = config.subcards.filter(item => item.setting.status === _status)[0] |
| | | _group = _groups || _group |
| | | } |
| | |
| | | _group = config.subcards[0] |
| | | } |
| | | |
| | | if (config.wrap.statusControl && _data[config.wrap.statusControl]) { |
| | | let _status = _data[config.wrap.statusControl] |
| | | if (config.wrap.statusControl && _data[config.wrap.statusControl] !== undefined) { |
| | | let _status = _data[config.wrap.statusControl] + '' |
| | | let _groups = config.subcards.filter(item => item.setting.status === _status)[0] |
| | | _group = _groups || _group |
| | | } |