import Api from "~/service/Api";
import Pts from "~/page/Model/Common/Pts";
import Pub from "~/components/business/commonModel/index.js";

export default class Fxtlop {
  constructor() {
    this.data = {
      setmod: new Pub().data.Setmod,
      docpan: new Pub().data.Docpan,
      trndia: new Pub().data.Trndia,
      fxdgrp: {
        rec: {
          ownref: "", //  业务编号		.fxdgrp.rec.ownref
          nam: "", //  业务名称		.fxdgrp.rec.nam
          fxtyp: "", //  平盘类型		.fxdgrp.rec.fxtyp
          opndat: "", //  成交日		.fxdgrp.rec.opndat
          valdat: "", //  起息日		.fxdgrp.rec.valdat
          rat: "", //  平盘牌价		.fxdgrp.rec.rat
          midrat: "", //  中间价		.fxdgrp.rec.midrat
        },
        apl: {
          pts: new Pts().data,
          dbfadrblkcn: "", //  Chinese address		.fxdgrp.apl.dbfadrblkcn
        },
        blk: {
          remark: "", //  备注		.fxdgrp.blk.remark
        },
        cbs: {
          max: {
            cur: "", //  Currency		.fxdgrp.cbs.max.cur
            amt: "", //  Balance		.fxdgrp.cbs.max.amt
          },
          nom1: {
            cur: "", //  Currency		.fxdgrp.cbs.nom1.cur
            amt: "", //  Balance		.fxdgrp.cbs.nom1.amt
          },
        },
      },
      fxtp: {
        amtlab: "", //  Amount Label		.fxtp.amtlab
        cnylab: "", //  Amount LabelCNY		.fxtp.cnylab
        frgchk: "", //  外币		.fxtp.frgchk
        cnychk: "", //  人民币		.fxtp.cnychk
        aplp: {
          ptsget: {
            sdamod: {
              seainf: "", //  		.fxtp.aplp.ptsget.sdamod.seainf
              dadsnd: "", //  Drag  Drop Sender		.fxtp.aplp.ptsget.sdamod.dadsnd
            },
          },
        },
        usrget: {
          sdamod: {
            seainf: "", //  		.fxtp.usrget.sdamod.seainf
          },
        },
        usr: {
          extkey: "", //  业务负责人		.fxtp.usr.extkey
        },
      },
      pageId: "", // ctx的key
    };
  }
}