Check.js 1.64 KB
Newer Older
jinqian committed
1 2 3 4 5 6 7
import Utils from "~/utils"

/**
* Betdcr Check规则
*/
let checkObj = {
    "liaall.misamt"                      :null,
8 9 10
    "liaall.limmod.limpts.oth.pts.extkey"                      :null,
    "liaall.limmod.ownref"                      :null,
    "bedgrp.apl.pts.nam"                      :null,
jinqian committed
11
    "bedgrp.oth.namelc"                      :null,
12 13
    "liaall.limmod.ecifno"                      :null,
    "bedgrp.prb.pts.nam"                      :null,
jinqian committed
14 15
    "bedgrp.oth.adrelc"                      :null,
    "bedgrp.prb.namelc"                      :null,
16
    "liaall.limmod.limpts.oth.pts.nam"                      :null,
jinqian committed
17 18
    "bedgrp.blk.docdis"                      :null,
    "bedgrp.prb.adrelc"                      :null,
19
    "liaall.limmod.limpts.wrk.pts.nam"                      :null,
jinqian committed
20
    "bedgrp.blk.docins"                      :null,
21
    "liaall.limmod.limpts.wrk.pts.extkey"                      :null,
jinqian committed
22 23 24 25
    "bedgrp.blk.intdis"                      :null,
    "bedgrp.prb.pts.extkey"                      :null,
    "mtabut.coninf.conexedat"                      :null,
    "bedgrp.oth.pts.adrblk"                      :null,
26
    "liaall.limmod.limpts.nonrevflg1"                      :null,
jinqian committed
27 28 29
    "bedgrp.prb.pts.adrblk"                      :null,
    "bedgrp.oth.pts.extkey"                      :null,
    "bedgrp.blk.disdoc"                      :null,
30
    "bedgrp.iss.pts.nam"                      :null,
jinqian committed
31 32 33 34 35 36 37 38 39 40
    "mtabut.clsflg"                      :null,
}

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