Check.js 1.09 KB
Newer Older
wangren committed
1 2 3 4 5 6 7 8 9
import Utils from "~/utils"

/**
* Infpty Check规则
*/
let checkObj = {
    "seatypo"                      :null,
    "recgrp.rec.hbkaccflg"                      :null,
    "recgrp.hbk.extkey"                      :null,
wangren committed
10
    "recgrp.rec.idcode"                      :null,
wangren committed
11 12 13 14 15 16 17
    "seatypc"                      :null,
    "seatypb"                      :null,
    "recgrp.ptamaa.issbchinf"                      :null,
    "seatypa"                      :null,
    "seatyph"                      :null,
    "recgrp.rec.heqaccflg"                      :null,
    "recgrp.heq.extkey"                      :null,
wangren committed
18
    "recgrp.rec.trnman"                      :null,
wangren committed
19 20 21
    "recgrp.rec.extkey"                      :null,
    "recpan.bchkey"                      :null,
    "recgrp.rec.juscod"                      :null,
wangren committed
22 23
    "recgrp.rec.bngcod"                      :null,
    "recgrp.rec.idtype"                      :null,
wangren committed
24 25 26 27 28 29 30 31 32
}

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