import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"

export default class Cptrel {
	constructor() {
		this.data = {
			// infcon: {
			// 	objinr: "",
			// },
			trncorco: {
				usfmod: {
					labtxt: "",			//  Text of Label		.trncorco.usfmod.labtxt
					usftxt: "",			//  Text of Selection Text		.trncorco.usfmod.usftxt
					flt: "",			//  Filter		.trncorco.usfmod.flt
					selusg: "",			//  Selected User Group		.trncorco.usfmod.selusg
					selusgset: "",			//  Selected User Group Set		.trncorco.usfmod.selusgset
					usr: {
						extkey: "",			//  User ID		.trncorco.usfmod.usr.extkey
					},
					usrget: {
						sdamod: {
							seainf: "",			//  		.trncorco.usfmod.usrget.sdamod.seainf
						},
					},
					selusb: "",			//  Select user branch		.trncorco.usfmod.selusb
				},
				ownref: "",			//  Reference		.trncorco.ownref
				relflg: "",			//  Status		.trncorco.relflg
				inidatfro: "",			//  Date of entry of Transaction		.trncorco.inidatfro
				inidattil: "",			//  Date of entry of Transaction until		.trncorco.inidattil
				trnstm: "",			//  List of transaction sfor display		.trncorco.trnstm
				trntyp: "",			//  汇款性�'�		.trncorco.trntyp
			},
			atp: {
				cod: "",			//  Transaction Type 		.atp.cod
			},
			atpget: {
				sdamod: {
					seainf: "",			//  		.atpget.sdamod.seainf
					dadsnd: "",			//  Drag  Drop Sender		.atpget.sdamod.dadsnd
				},
			},
			numtrn: "",			//  # of transactions		.numtrn
			relcur: "",			//  Curr.		.relcur
			amt1: "",			//  Amount		.amt1
			amt2: "",			//  Amount		.amt2
			ptyextkey: "",			//  Party extkey		.ptyextkey
			branch: "",			//  branch		.branch
			recpan: {
				cpltxt: "",			//  Completion text		.recpan.cpltxt
				spt: {
					sta: "",			//  Status		.recpan.spt.sta
				},
				ord: {
					sta: "",			//  Status		.recpan.ord.sta
				},
				recget: {
					sdamod: {
						seainf: "",			//  Ident No.		.recpan.recget.sdamod.seainf
						dadsnd: "",			//  Drag  Drop Sender		.recpan.recget.sdamod.dadsnd
					},
				},
				atp: {
					cod: "",			//  Transaction  ID		.recpan.atp.cod
				},
				atpget: {
					sdamod: {
						dadsnd: "",			//  Drag  Drop Sender		.recpan.atpget.sdamod.dadsnd
						seainf: "",			//  Transaction		.recpan.atpget.sdamod.seainf
					},
				},
				smhstm: "",			//  Documents		.recpan.smhstm
				usr: {
					extkey: "",			//  User ID		.recpan.usr.extkey
				},
				usrget: {
					sdamod: {
						seainf: "",			//  		.recpan.usrget.sdamod.seainf
					},
				},
				trsstm: "",			//  Signatures		.recpan.trsstm
				con: "",			//  Reference		.recpan.con
				cretrs: {
					usr: "",			//  Entered by		.recpan.cretrs.usr
					dattim: "",			//  Timestamp		.recpan.cretrs.dattim
				},
				ackgrp: {
					rec: {
						sndref: "",			//  Send to SOP/CASmf reference		.recpan.ackgrp.rec.sndref
					},
				},
				wfestm: "",			//  WFEs for transaction for display		.recpan.wfestm
				trostm: "",			//  TROs for transaction for display		.recpan.trostm
				glestm: "",			//  GLEs for transaction		.recpan.glestm
				transcode: "",			//  Transaction Code		.recpan.transcode
				amt: "",			//  Amount		.recpan.amt
				pinno: "",			//  Pin No		.recpan.pinno
				userid: "",			//  UserID		.recpan.userid
				acttyp: "",			//  UserID		.recpan.acttyp
				accno: "",			//  Pin No.		.recpan.accno
				rescode: "",			//  Response Code		.recpan.rescode
			},
			trn: {
				ownref: "",			//  Reference		.trn.ownref
				inr: "",			//  Transaction Key		.trn.inr
				objnam: "",			//  External Readable Object Identification		.trn.objnam
				reloricur: "",			//  Relevant Amount		.trn.reloricur
				reloriamt: "",			//  Relevant Amount for Release in Original Currency		.trn.reloriamt
				relflg: "",			//  Release Status of Transaction		.trn.relflg
				usr: "",			//  Responsible		.trn.usr
				usg: "",			//  Responsible Group		.trn.usg
				relreq: "",			//  Signatures Required/Obtained		.trn.relreq
				relres: "",			//  Applied Signatures		.trn.relres
				cortrninr: "",			//  Based on Ident No.		.trn.cortrninr
				exedat: "",			//  Execution Date		.trn.exedat
				inftxt: "",			//  Infotext		.trn.inftxt
				infdsp: "",			//  Infoflag		.trn.infdsp
			},
			wfmmod: {
				wfs: {
					objnam: "",			//  External Readable Object Identification		.wfmmod.wfs.objnam
					objtyp: "",			//  Table Used to Store Associated Object		.wfmmod.wfs.objtyp
					objinr: "",			//  Object		.wfmmod.wfs.objinr
				},
			},
			mtabut: new Pub().data.Mtabut,
			coninf: {
				oitinf: {
					labinftxt: "",			//  Label for INFTXT		.coninf.oitinf.labinftxt
					oit: {
						inftxt: "",			//  Infotext		.coninf.oitinf.oit.inftxt
						inflev: "",			//  Infotext Level		.coninf.oitinf.oit.inflev
					},
				},
				oitset: {
					labinftxt: "",			//  Label for INFTXT		.coninf.oitset.labinftxt
					oit: {
						inftxt: "",			//  Infotext		.coninf.oitset.oit.inftxt
						inflev: "",			//  Infotext Level		.coninf.oitset.oit.inflev
					},
				},
				conexedat: "",			//  执行日期		.coninf.conexedat
				usr: {
					extkey: "",			//  User ID		.coninf.usr.extkey
				},
			},
			subp: {
				subpenablk: "",			//  XMLPanel subpena的内置block		.subp.subpenablk
			},
			orestr: "",			//  stream of ore records		.orestr
			pageId: ""			// ctx的key
		}
	}
}