doomiwork 4.0.5 → 4.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -114,6 +114,7 @@ module.exports.getListInfo = (req, dataKey, cfgType = 0, dao) => {
|
|
|
114
114
|
//req.order =req.sort? utility.ifNull((req.body.order || req.query.order), ""):'';
|
|
115
115
|
const dataConfig = dataconfig.getConfig(dataKey, cfgType);
|
|
116
116
|
if (dataConfig && dataConfig.list) {
|
|
117
|
+
req.dataConfig = dataConfig
|
|
117
118
|
let { sql, countsql, sqltype = 'sql', field, footer, search, sort: constsort } = dataConfig.list
|
|
118
119
|
/**解析查询条件 */
|
|
119
120
|
const searchCondition = this.getSearchCondition({ request: req, refer: search });
|