index.js 4.34 KB
Newer Older
jianglong committed
1 2 3 4
import Api from "~/service/Api"
import Pts from "../Common/Pts"

export default class Sptneg{
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
	constructor () {
		this.data = {
			docimm:{
				ascin:"",			//  Message as stream		.docimm.ascin
				prtswtrpblk:"",			//  XMLPanel prtswtrp的内置block		.docimm.prtswtrpblk
				prtswtpblk:"",			//  XMLPanel prtswtp的内置block		.docimm.prtswtpblk
				xmldocblk:"",			//  XMLPanel xmldoc的内置block		.docimm.xmldocblk
				docbol:{
					prtpblk:"",			//  XMLPanel prtp的内置block		.docimm.docbol.prtpblk
				},
			},
			spt:{
				sta:"",			//  Type		.spt.sta
				hldflg:"",			//  Hold Flag		.spt.hldflg
				objnam:"",			//  Reference		.spt.objnam
				inr:"",			//  Internal Unique ID of Pending Transaction		.spt.inr
				txt:"",			//  Name		.spt.txt
				frm:"",			//  Transaction 		.spt.frm
				ownusr:"",			//  Responsible User 		.spt.ownusr
				ownusg:"",			//  Responsible Group		.spt.ownusg
				inftxt:"",			//  Infotext		.spt.inftxt
				infdsp:"",			//  Infotext		.spt.infdsp
				usr:"",			//  Entered by		.spt.usr
				dattim:"",			//  Time of Creation		.spt.dattim
				cretrn:"",			//  Creating Transaction ID		.spt.cretrn
				tardattim:"",			//  Target for Completion		.spt.tardattim
			},
			sptp:{
				smh:{
					msgtyp:"",			//  Message Type 		.sptp.smh.msgtyp
					sndkey:"",			//  Receiver Key 		.sptp.smh.sndkey
					relcur:"",			//  Relevant Amount		.sptp.smh.relcur
					relamt:"",			//  Relevant Amount Optional		.sptp.smh.relamt
				},
				ordp0:{
					orddur:"",			//  Duration		.sptp.ordp0.orddur
					recget:{
						sdamod:{
							dadsnd:"",			//  Drag  Drop Sender		.sptp.ordp0.recget.sdamod.dadsnd
							seainf:"",			//  		.sptp.ordp0.recget.sdamod.seainf
jianglong committed
45
						},
46 47 48 49 50 51 52
					},
					conarg:{
						sector:"",			//  Sector		.sptp.ordp0.conarg.sector
						selref:"",			//  Contract		.sptp.ordp0.conarg.selref
						selnam:"",			//  name of selected contract		.sptp.ordp0.conarg.selnam
					},
					pta:{
53
						ptyextkey:"",			//  Ordering Party		.sptp.ordp0.pta.ptyextkey
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 96 97 98 99 100 101
						nam:"",			//  Externally Visible Name of Address		.sptp.ordp0.pta.nam
					},
					prtpanblk:"",			//  XMLPanel prtpan的内置block		.sptp.ordp0.prtpanblk
				},
				ord:{
					extkey:"",			//  Order Number		.sptp.ord.extkey
					nam:"",			//  External Readable Identification		.sptp.ord.nam
					inr:"",			//  Internal Unique ID of Transaction		.sptp.ord.inr
					ownusr:"",			//  Responsible User		.sptp.ord.ownusr
					ownusg:"",			//  Responsible Group Optional		.sptp.ord.ownusg
					sta:"",			//  Status		.sptp.ord.sta
					chkflg:"",			//  Order OK		.sptp.ord.chkflg
					inftxt:"",			//  Infotext		.sptp.ord.inftxt
					infdsp:"",			//  Infotext		.sptp.ord.infdsp
					inidattim:"",			//  Group		.sptp.ord.inidattim
					stadattim:"",			//  Timestamp of Last Status Update		.sptp.ord.stadattim
					cpldattim:"",			//  Timestamp of Completion		.sptp.ord.cpldattim
					tardattim:"",			//  Target for Completion		.sptp.ord.tardattim
				},
				prtpanblk:"",			//  XMLPanel prtpan的内置block		.sptp.prtpanblk
				cmt100pylblk:"",			//  XMLPanel cmt100pyl的内置block		.sptp.cmt100pylblk
				fmtpylblk:"",			//  XMLPanel fmtpyl的内置block		.sptp.fmtpylblk
				cipspanblk:"",			//  XMLPanel cipspan的内置block		.sptp.cipspanblk
			},
			chkinc:"",			//  Incoming		.chkinc
			chkrim:"",			//  Registered		.chkrim
			chkpen:"",			//  Pending		.chkpen
			chkcor:"",			//  Correction		.chkcor
			chkaut:"",			//  Automatic		.chkaut
			selobj:"",			//  Reference		.selobj
			seltxt:"",			//  Selection Name		.seltxt
			usfmod:{
				labtxt:"",			//  Text of Label		.usfmod.labtxt
				usftxt:"",			//  Text of Selection Text		.usfmod.usftxt
				flt:"",			//  Filter		.usfmod.flt
				selusg:"",			//  Selected User Group		.usfmod.selusg
				selusgset:"",			//  Selected User Group Set		.usfmod.selusgset
				usr:{
					extkey:"",			//  User ID		.usfmod.usr.extkey
				},
				usrget:{
					sdamod:{
						seainf:"",			//  		.usfmod.usrget.sdamod.seainf
					},
				},
				selusb:"",			//  Select user branch		.usfmod.selusb
			},
			sptstm:"",			//  List of SPT records		.sptstm
102 103 104 105 106 107 108 109
			clmmod:{
				wfs:{
					objtyp:"",			//  Table Used to Store Associated Object		.clmmod.wfs.objtyp
					objinr:"",			//  Object		.clmmod.wfs.objinr
					objnam:"",			//  External Readable Object Identification		.clmmod.wfs.objnam
				},
				wfestm:"",			//  WFEs for transaction for display		.clmmod.wfestm
			},
110 111 112
			pageId: ""			// ctx的key
		}
	}
jianglong committed
113
}