import Api from "~/service/Api"
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Gctfre {
	constructor() {
		this.data = {
			gcdgrp: {
				rec: {
					inr:"",
					demstat: "",			//  Demand Statement		.gcdgrp.rec.demstat
					newexpdat: "",			//  Validity Requested		.gcdgrp.rec.newexpdat
					ownref: "",			//  Claim Number		.gcdgrp.rec.ownref
					nam: "",			//  Externally Displayed Name to Identify the Contract		.gcdgrp.rec.nam
					clmdat: "",			//  Date of Claim		.gcdgrp.rec.clmdat
				},
				blk: {
					addamtinf: "",			//  Add. Amt. Information		.gcdgrp.blk.addamtinf
					presentdet: "",			//  Present. Compl. Det.		.gcdgrp.blk.presentdet
				},
				cbs: {
					max: {
						cur: "",			//  Amount Claimed		.gcdgrp.cbs.max.cur
						amt: "",			//  Balance		.gcdgrp.cbs.max.amt
					},
					max2: {
						cur: "",			//  Amount Claimed		.gcdgrp.cbs.max.cur
						amt: "",			//  Balance		.gcdgrp.cbs.max.amt
					},
					opn1: {
						cur: "",			//  Open Amount		.gcdgrp.cbs.opn1.cur
						amt: "",			//  Balance		.gcdgrp.cbs.opn1.amt
					},
					opn2: {
						cur: "",			//  Open Amount		.gcdgrp.cbs.opn1.cur
						amt: "",			//  Balance		.gcdgrp.cbs.opn1.amt
					},
				},
				apl: {
					ptytyp:"",
					pts: new Pts().data,
				},
				ben: {
					ptytyp:"",
					pts: new Pts().data,
				},
				bec: {
					ptytyp:"",
					pts: new Pts().data,
				},
				prb: {
					ptytyp:"",
					pts: new Pts().data,
				},
				oth: {
					ptytyp:"",
					pts: new Pts().data,
				},
				iss: {
					ptytyp:"",
					pts: new Pts().data,
				},
				int: {
					ptytyp:"",
					pts: new Pts().data,
				},
				awi: {
					ptytyp:"",
					pts: new Pts().data,
				},
				oap: {
					ptytyp:"",
					pts: new Pts().data,
				},
				rmr: {
					ptytyp:"",
					pts: new Pts().data,
				},
			},
			clmtxts20: "",			//  Demand Statem. Text 		.clmtxts20
			gctp0: {
				intp: {
					ptsget: {
						sdamod: {
							dadsnd: "",			//  Drag  Drop Sender		.gctp0.intp.ptsget.sdamod.dadsnd
							seainf: "",			//  		.gctp0.intp.ptsget.sdamod.seainf
						},
					},
				},
				awip: {
					ptsget: {
						sdamod: {
							dadsnd: "",			//  Drag  Drop Sender		.gctp0.awip.ptsget.sdamod.dadsnd
							seainf: "",			//  		.gctp0.awip.ptsget.sdamod.seainf
						},
					},
				},
				aplmullab: "",			//  Label, that is set, if there are multiple applicants		.gctp0.aplmullab
				liafldlab: "",			//  Label for Field Liability		.gctp0.liafldlab
				expfldlab: "",			//  Label for Field Validity		.gctp0.expfldlab
				explab: "",			//  Label unlimited Validity		.gctp0.explab
				lialab: "",			//  Label unlimited Liability		.gctp0.lialab
				gidget: {
					sdamod: {
						seainf: "",			//  		.gctp0.gidget.sdamod.seainf
						dadsnd: "",			//  Drag  Drop Sender		.gctp0.gidget.sdamod.dadsnd
					},
				},
				recget: {
					sdamod: {
						dadsnd: "",			//  Drag  Drop Sender		.gctp0.recget.sdamod.dadsnd
						seainf: "",			//  		.gctp0.recget.sdamod.seainf
					},
				},
				adaflg: "",			//  Add.  Amount		.gctp0.adaflg
			},
			extpay: false,			//  Extend or Pay		.extpay
			gidgrp: {
				rec: {
					inr:"",
					ownref: "",			//  Guarantee		.gidgrp.rec.ownref
					expdat: "",			//  Valid until		.gidgrp.rec.expdat
					gartyp: "",			//  Type of Undertaking		.gidgrp.rec.gartyp
					liadat: "",			//  Liability until		.gidgrp.rec.liadat
					branchinr:"",
					stacty:"",
					giduil:"",
				},
				cbs: {
					opn1: {
						cur: "",			//  Open Guar. Amt. 		.gidgrp.cbs.opn1.cur
						amt: "",			//  Balance		.gidgrp.cbs.opn1.amt
					},
					opn2: {
						cur: "",
						amt: "",
					},
					max: {
						cur: "",
						amt: "",
					},
					max2: {
						cur: "",
						amt: "",
					},
				},
				apl: {
					pts: new Pts().data,
				},
				ben: {
					pts: new Pts().data,
				},
				iss: {
					pts: new Pts().data,
				},
				atb: {
					pts: new Pts().data,
				},
				adv: {
					pts: new Pts().data,
				},
			},
			fremsg: {
				reldatlab: "",			//  label for date		.fremsg.reldatlab
				strinflab: "",			//  label for tag 79		.fremsg.strinflab
				sndmt: "",			//  发报类型		.fremsg.sndmt
				fulmt: "",			//  报文类型		.fremsg.fulmt
				prttitle: "",			//  标题		.fremsg.prttitle
				relmt: "",			//  相关报文		.fremsg.relmt
				reldat: "",			//  from		.fremsg.reldat
				reldir: "",			//  relevant message sent/received		.fremsg.reldir
				strinf: "",			//  Narrative		.fremsg.strinf
				tag20lab: "",			//  MT799 tag20		.fremsg.tag20lab
				tag20ref: "",			//  tag 20 Ref.		.fremsg.tag20ref
				flg: "",			//  FLG FOR GITFRE		.fremsg.flg
				msgrol: "",			//  收报行		.fremsg.msgrol
				ccrol: "",			//  副本的收报行		.fremsg.ccrol
				msgrolSet: [],
				othmsg: {
					pts: new Pts().data,
					namelc: "",			//  名称		.fremsg.othmsg.namelc
					adrelc: "",			//  地址		.fremsg.othmsg.adrelc
					dbfadrblkcn: "",			//  Chinese address		.fremsg.othmsg.dbfadrblkcn
				},
				othmsgp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.fremsg.othmsgp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.fremsg.othmsgp.ptsget.sdamod.dadsnd
						},
					},
				},
				othcc: {
					pts: new Pts().data,
					namelc: "",			//  名称		.fremsg.othcc.namelc
					adrelc: "",			//  地址		.fremsg.othcc.adrelc
					dbfadrblkcn: "",			//  Chinese address		.fremsg.othcc.dbfadrblkcn
				},
				othccp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.fremsg.othccp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.fremsg.othccp.ptsget.sdamod.dadsnd
						},
					},
				},
				det: "",			//  Query/ Answer		.fremsg.det
				tag77a: "",			//  Narrative (77A)		.fremsg.tag77a
				tag22d: "",			//  Form of Undertaking		.fremsg.tag22d
				tag23: "",			//  Undertaking Number		.fremsg.tag23
				issrol: "",			//  Issuer of Undertak.		.fremsg.issrol
				iss: {
					pts: new Pts().data,
					namelc: "",			//  名称		.fremsg.iss.namelc
					adrelc: "",			//  地址		.fremsg.iss.adrelc
					dbfadrblkcn: "",			//  Chinese address		.fremsg.iss.dbfadrblkcn
				},
				issp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.fremsg.issp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.fremsg.issp.ptsget.sdamod.dadsnd
						},
					},
				},
				tag23h: "",			//  Function		.fremsg.tag23h
				tag45d: "",			//  Details of Request		.fremsg.tag45d
			},
			pageId: "",			// ctx的key
			gctfrel1blk: "",
			gctfrel2blk: "",
			gct752l1blk: "",
			swiadd: new Pub().data.Trnmod.swiadd,
			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,
		}
	}
}