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

export default class Sptrou{
    constructor () {
        this.data = {
						recpan:{
							contxt:"",			//  text		.recpan.contxt
							filpth:"",			//  File Path		.recpan.filpth
							filnam:"",			//  File Name		.recpan.filnam
							atp:{
								cod:"",			//  Transaction		.recpan.atp.cod
							},
							atpget:{
								sdamod:{
									seainf:"",			//  		.recpan.atpget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.recpan.atpget.sdamod.dadsnd
								},
							},
							atptxt:"",			//  Application Transaction Profile Code		.recpan.atptxt
							conget:{
								refnum:"",			//  Reference No.		.recpan.conget.refnum
								selref:"",			//  Refecence of selected contract		.recpan.conget.selref
								selnam:"",			//  name of selected contract		.recpan.conget.selnam
								sdamod:{
									seainf:"",			//  		.recpan.conget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.recpan.conget.sdamod.dadsnd
								},
							},
							dpcget:{
								refnum:"",			//  Reference No.		.recpan.dpcget.refnum
								selref:"",			//  Refecence of selected contract		.recpan.dpcget.selref
								selnam:"",			//  name of selected contract		.recpan.dpcget.selnam
								sdamod:{
									seainf:"",			//  		.recpan.dpcget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.recpan.dpcget.sdamod.dadsnd
								},
							},
							usrget:{
								sdamod:{
									seainf:"",			//  		.recpan.usrget.sdamod.seainf
								},
							},
						},
						spt:{
							sta:"",			//  Type		.spt.sta
							objnam:"",			//  Message Reference		.spt.objnam
							txt:"",			//  Name		.spt.txt
							inftxt:"",			//  Info Text		.spt.inftxt
							infdsp:"",			//  Info Text		.spt.infdsp
							usr:"",			//  Entered by		.spt.usr
							cretrn:"",			//  Creating Transaction ID		.spt.cretrn
							dattim:"",			//  Time of Creation		.spt.dattim
							wrkusr:"",			//  Work User		.spt.wrkusr
							wrkgrp:"",			//  WORK GROUP		.spt.wrkgrp
						},
						srvprtm:{
							prt:{
								heatxt:"",			//  Text for Header		.srvprtm.prt.heatxt
								tef:"",			//  Technical Form		.srvprtm.prt.tef
								getprt:"",			//  Default Printer from:		.srvprtm.prt.getprt
								prt:"",			//  Printer		.srvprtm.prt.prt
								bin:"",			//  Paperbin		.srvprtm.prt.bin
								bin2:"",			//  Bin for 2nd Page		.srvprtm.prt.bin2
								cpycnt:"",			//  # of Copies		.srvprtm.prt.cpycnt
							},
							prtmod:{
								cltprtflg:"",			//  Client Printing		.srvprtm.prtmod.cltprtflg
							},
						},
						chgetyprt:"",			//  Print message when entity is changed		.chgetyprt
						pageId: ""			// ctx的key
				}
    }
}