Check.js 936 Bytes
Newer Older
唐贵贤 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
import Utils from "~/utils"

/**
* Infbtd Check规则
*/
let checkObj = {
    "btdgrp.blk.comcon"                      :null,
    "btdgrp.blk.setinsbt"                      :null,
    "btdgrp.blk.docdis"                      :null,
    "btdgrp.prb.pts.nam"                      :null,
    "recpan.ltdget.sdamod.dadsnd"                      :null,
    "recpan.recget.sdamod.dadsnd"                      :null,
    "btdgrp.be1.pts.nam"                      :null,
    "btdgrp.blk.intdis"                      :null,
    "recpan.ledget.sdamod.dadsnd"                      :null,
    "infcon.seaamtto"                      :null,
    "mtabut.coninf.conexedat"                      :null,
    "btdgrp.be2.pts.nam"                      :null,
}

for (const key in checkObj) {
    if (Object.hasOwnProperty.call(checkObj, key)) {
        checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
    }
}
export default checkObj