index.js 2.47 KB
Newer Older
fukai 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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
import Api from "~/service/Api"
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';

export default class Nitcom {
	constructor() {
		this.data = {
			gitp0: {
				explab: "", //  Label unlimited Validity		.gitp0.explab
				lialab: "", //  Label unlimited lLability		.gitp0.lialab
				aplmullab: "", //  Label, that is set, if there are multiple applicants		.gitp0.aplmullab
				expfldlab: "", //  Label for Field Validity		.gitp0.expfldlab
				liafldlab: "", //  Label for Field Lability		.gitp0.liafldlab
				recget: {
					sdamod: {
						seainf: "", //  		.gitp0.recget.sdamod.seainf
						dadsnd: "", //  Drag  Drop Sender		.gitp0.recget.sdamod.dadsnd
					},
				},
				aamgid: {
					addamtflg: "",
				},
      },
      comsel:{},
			nidgrp: {
				rec: {
					ownref: "", //  Reference		.gidgrp.rec.ownref
					nam: "", //  Externally Displayed Name to Identify the Contract		.gidgrp.rec.nam
					hndtyp: "", //  Handling Type		.gidgrp.rec.hndtyp
					gartyp: "", //  Type of Undertaking		.gidgrp.rec.gartyp
					expdat: "", //  Valid until		.gidgrp.rec.expdat
					liadat: "", //  Liability until		.gidgrp.rec.liadat
					purpos: "", //  Purpose of Message		.gidgrp.rec.purpos
					exptyp: "",
					liatypc: "",
					grtnam:"",
					inr: "",
					ver: "",
					branchinr: "",
          etyextkey: "",
          segtyp:"",
          feecoldat: "",
          opndat: "",
				},
				blk: {
					inr: "",
					addamtinf: "",
					disdoc: "", // Disposal of Documents .gcdgrp.blk.disdoc
				},
				cbs: {
					max: {
						cur: "", //  Currency		.gidgrp.cbs.max.cur
						amt: "", //  Balance		.gidgrp.cbs.max.amt
					},
					opn1: {
						cur: "", //  Currency		.gidgrp.cbs.opn1.cur
						amt: "", //  Balance		.gidgrp.cbs.opn1.amt
					},
					opn2: {
						cur: "", //  附加金额		.ncdgrp.cbs.opn2.cur
						amt: "",
					},
					max2: {
						amt: "", //  附加金额		.ncdgrp.cbs.max2.amt
						cur: "",
					},
				},
				apl: {
					pts: new Pts().data,
				},
				adv: {
					pts: new Pts().data,
				},
				ben: {
					pts: new Pts().data,
				},
				ctr: {
					pts: new Pts().data,
				},
				iss: {
					pts: new Pts().data,
				},
			},
			pageId: "", // ctx的key
			setmod: new Pub().data.Setmod,
			mtabut: new Pub().data.Mtabut,
			trnmod: new Pub().data.Trnmod,
			liaall: new Pub().data.Liaall,
			liaccv: new Pub().data.Liaccv,
			docpan: new Pub().data.Docpan,
			doctre: new Pub().data.Doctre,
			trndia: new Pub().data.Trndia,
		}
	}
}