Check.js 1.62 KB
Newer Older
唐贵贤 committed
1 2 3 4 5 6 7 8
import Utils from "~/utils"

/**
* Cctdav Check规则
*/
let checkObj = {
    "ccdgrp.cbs.max.cur"                      :null,
    "ccdgrp.dro.pts.extkey"                      :null,
wangna committed
9
    "setmod.dspflg"                      :null,
唐贵贤 committed
10 11 12 13 14 15 16 17 18 19 20 21 22
    "ccdgrp.cor.pts.adrblk"                      :null,
    "ccdgrp.cbs.max.amt"                      :null,
    "ccdgrp.rec.purflg"                      :null,
    "ccdgrp.col.pts.extkey"                      :null,
    "ccdgrp.col.pts.adrblk"                      :null,
    "ccdgrp.pre.adrelc"                      :null,
    "ccdgrp.dro.pts.adrblk"                      :null,
    "ccdgrp.cor.namelc"                      :null,
    "ccdgrp.col.namelc"                      :null,
    "ccdgrp.dro.namelc"                      :null,
    "ccdgrp.rec.tocsel"                      :null,
    "ccdgrp.pre.namelc"                      :null,
    "ccdgrp.rec.modset"                      :null,
wangna committed
23
    "mtabut.coninf.conexedat"                      :null,
唐贵贤 committed
24 25 26 27 28
    "ccdgrp.cor.adrelc"                      :null,
    "ccdgrp.cor.pts.extkey"                      :null,
    "ccdgrp.rec.ownref"                      :null,
    "ccdgrp.dro.adrelc"                      :null,
    "ccdgrp.col.adrelc"                      :null,
wangna committed
29
    "ccdgrp.blk.setins"                      :null,
唐贵贤 committed
30
    "ccdgrp.pre.pts.adrblk"                      :null,
wangna committed
31
    "setmod.docamt"                      :null,
唐贵贤 committed
32 33 34 35 36 37 38 39 40 41
    "ccdgrp.pre.pts.extkey"                      :null,
}

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