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

export default class Sptrel{
    constructor () {
        this.data = {
			            selsptinr:"",
						sptrel: {
							selinr: {},
						},
						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
						},
						selobj:"",			//  Reference		.selobj
						seltxt:"",			//  Name		.seltxt
						usr:{
							extkey:"",			//  User ID		.usr.extkey
						},
						usrget:{
							sdamod:{
								seainf:"",			//  		.usrget.sdamod.seainf
							},
						},
						atp:{
							cod:"",			//  Transaction Type 		.atp.cod
						},
						atpget:{
							sdamod:{
								seainf:"",			//  		.atpget.sdamod.seainf
								dadsnd:"",			//  Drag  Drop Sender		.atpget.sdamod.dadsnd
							},
						},
						atptxt:"",			//  Transaction Text		.atptxt
						inidatfro:"",			//  Date of entry of Transaction		.inidatfro
						inidattil:"",			//  Date of entry of Transaction until		.inidattil
						sptstm:"",			//  List of SPT records		.sptstm
						sta:"",			//  Status		.sta
						// chkinc:"",
						// chkdzt:"",
						// chkpen:"",
						// chkcor:"",

						// chkaut:"",
						// chkdel:"",
						// chktco:"",
						// chkcan:"",
						selrow:"",
						pageId: ""			// ctx的key
				}
    }
}