Commit 0b653a50 by 潘际乾

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 68e220a9 d40f2617
...@@ -19,6 +19,7 @@ export default { ...@@ -19,6 +19,7 @@ export default {
}; };
}, },
watch: { watch: {
<<<<<<< HEAD
model: function (newVal, oldVal) { model: function (newVal, oldVal) {
this.updateValue(); this.updateValue();
}, },
...@@ -40,6 +41,24 @@ export default { ...@@ -40,6 +41,24 @@ export default {
this.$refs.editor.quill.enable(enabled); this.$refs.editor.quill.enable(enabled);
} }
}); });
=======
model: {
handler: function (newVal, oldVal) {
let rows = this.model["rows"] || [];
let enabled = false;
if (this.$refs.editor.quill) {
enabled = this.$refs.editor.quill.isEnabled();
this.$refs.editor.quill.enable(false);
}
this.value = this.show(rows);
this.$nextTick(() => {
if (this.$refs.editor.quill) {
this.$refs.editor.quill.enable(enabled);
}
});
},
immediate: true
>>>>>>> d40f2617f923aea5c856138450c663c2d8a2e631
}, },
// 修改文本后的失去焦点事件 // 修改文本后的失去焦点事件
blurEvent(quill) { blurEvent(quill) {
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Getfre{ export default class Getfre{
constructor () { constructor () {
this.data = { this.data = {
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
gitp0:{ gitp0:{
explab:"", // Label unlimited Validity .gitp0.explab explab:"", // Label unlimited Validity .gitp0.explab
lialab:"", // Label unlimited lLability .gitp0.lialab lialab:"", // Label unlimited lLability .gitp0.lialab
...@@ -120,67 +125,67 @@ export default class Getfre{ ...@@ -120,67 +125,67 @@ export default class Getfre{
det:"", // Query/ Answer .fremsg.det det:"", // Query/ Answer .fremsg.det
tag77a:"", // Narrative (77A) .fremsg.tag77a tag77a:"", // Narrative (77A) .fremsg.tag77a
}, },
setmod:{ // setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab // docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg // retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref // ref:"", // our reference .setmod.ref
doccur:"", // 减少后的结算金额 .setmod.doccur // doccur:"", // 减少后的结算金额 .setmod.doccur
docamt:"", // document amount .setmod.docamt // docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg // dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg // xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{ // setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg // labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
}, // },
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab // zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc // zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
redamt:"", // 减少的金额 .setmod.redamt // redamt:"", // 减少的金额 .setmod.redamt
setamt:"", // Reduced Amount to settle .setmod.setamt // setamt:"", // Reduced Amount to settle .setmod.setamt
redamttxt:"", // 注释 .setmod.redamttxt // redamttxt:"", // 注释 .setmod.redamttxt
}, // },
mtabut:{ // mtabut:{
coninf:{ // coninf:{
oitinf:{ // oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt // labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{ // oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt // inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev // inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
}, // },
}, // },
oitset:{ // oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt // labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{ // oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt // inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev // inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
}, // },
}, // },
conexedat:"", // 执行日期 .mtabut.coninf.conexedat // conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{ // usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey // extkey:"", // User ID .mtabut.coninf.usr.extkey
}, // },
}, // },
}, // },
trnmod:{ // trnmod:{
trndoc:{ // trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel // advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam // amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc // advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam // advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl // amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl // doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm // doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc // shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout // shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm // condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{ // rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf // seainf:"", // .trnmod.trndoc.rcvatt.seainf
}, // },
filrecv:"", // File Receiver .trnmod.trndoc.filrecv // filrecv:"", // File Receiver .trnmod.trndoc.filrecv
}, // },
swiadd:{ // swiadd:{
amenbr:"", // Number of Amendm. .trnmod.swiadd.amenbr // amenbr:"", // Number of Amendm. .trnmod.swiadd.amenbr
amestatxt:"", // Reason for Rejection .trnmod.swiadd.amestatxt // amestatxt:"", // Reason for Rejection .trnmod.swiadd.amestatxt
}, // },
}, // },
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -3,14 +3,14 @@ ...@@ -3,14 +3,14 @@
<!-- SF000077 : Query/ Answer --> <!-- SF000077 : Query/ Answer -->
<c-col :span="12"> <c-col :span="12">
<c-form-item :label="$t('fremsg.SF000077')" prop="fremsg.det"> <c-form-item label="需求/答复" prop="fremsg.det">
<c-input type="textarea" v-model="model.fremsg.det" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000077')" ></c-input> <c-input type="textarea" v-model="model.fremsg.det" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000077')" ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- SF000078 : Narrative (77A) --> <!-- SF000078 : Narrative (77A) -->
<c-col :span="12"> <c-col :span="12">
<c-form-item :label="$t('fremsg.SF000078')" prop="fremsg.tag77a"> <c-form-item label="叙述内容" prop="fremsg.tag77a">
<c-input type="textarea" v-model="model.fremsg.tag77a" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000078')" ></c-input> <c-input type="textarea" v-model="model.fremsg.tag77a" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000078')" ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- SF000256 : Form of Undertaking --> <!-- SF000256 : Form of Undertaking -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('fremsg.SF000256')" prop="fremsg.tag22d"> <el-form-item label="承诺形式" prop="fremsg.tag22d">
<c-select v-model="model.fremsg.tag22d" style="width:100%" :placeholder="$t('other.please_enter')+$t('fremsg.SF000256')"> <c-select v-model="model.fremsg.tag22d" style="width:100%" :code="codes.legfrm3" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SF000257 : Undertaking Number --> <!-- SF000257 : Undertaking Number -->
<c-col :span="12">
<c-form-item :label="$t('fremsg.SF000257')" prop="fremsg.tag23"> <c-col :span="24">
<c-input v-model="model.fremsg.tag23" maxlength="16" :placeholder="$t('other.please_enter')+$t('fremsg.SF000257')"></c-input> <c-form-item label="企业编号" prop="fremsg.tag23">
<c-input v-model="model.fremsg.tag23" maxlength="16" placeholder=""></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- SF000258 : Issuer of Undertak. --> <!-- SF000258 : Issuer of Undertak. -->
<c-col :span="24">
<c-col :span="12"> <el-form-item label="发行人" prop="fremsg.issrol">
<el-form-item :label="$t('fremsg.SF000258')" prop="fremsg.issrol"> <c-select v-model="model.fremsg.issrol" style="width: 100%" placeholder="请选择发行人" :code="codes.payrol"
<c-select v-model="model.fremsg.issrol" style="width:100%" :placeholder="$t('other.please_enter')+$t('fremsg.SF000258')"> @change="eventFunction('fremsg.issrol')"
</c-select> >
</el-form-item> <!-- <el-option v-for="item in codes.docprbrol" :key="item.value" :label="item.label" :value="item.value">
</c-col> </el-option> -->
<!-- SF000289 : Extended Maturity --> </c-select>
</el-form-item>
<c-col :span="12">
<el-form-item label="New Maturity Date" prop="fremsg.swiadd.newmatdat">
<c-date-picker type="date" v-model="model.fremsg.swiadd.newmatdat" style="width:100%" :placeholder="$t('other.please_enter')+'New Maturity Date'"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="fremsg.issp.ptsget.sdamod.dadsnd">
<c-input v-model="model.fremsg.issp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="fremsg.iss.pts.extkey">
<c-input v-model="model.fremsg.iss.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fremsg.issp.ptsget.sdamod.seainf">
<c-input v-model="model.fremsg.issp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIsspDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="fremsg.iss.namelc">
<c-input type="textarea" v-model="model.fremsg.iss.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <el-form-item label="" prop="fremsg.iss.pts.extkey">
<c-form-item label="Address Block" prop="fremsg.iss.pts.adrblk"> <c-fullbox>
<c-input type="textarea" v-model="model.fremsg.iss.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input> <c-input v-model="model.fremsg.iss.pts.extkey" maxlength="16" placeholder="请输入"
</c-form-item> @keyup.enter.native="
showGridPromptDialog('fremsg.iss.pts.extkey')
"></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button style="margin: 0 0" size="small" type="primary" @click="">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <el-form-item label="" prop="fremsg.iss.pts.adrblk">
<c-form-item label="Chinese address" prop="fremsg.iss.dbfadrblkcn"> <c-input :rows="4" type="textarea" v-model="model.fremsg.iss.pts.adrblk"
<c-input type="textarea" v-model="model.fremsg.iss.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input> maxlength="300" show-word-limit placeholder="请输入">
</c-form-item> </c-input>
</c-col> </el-form-item>
<c-col :span="12">
<c-form-item label="地址" prop="fremsg.iss.adrelc">
<c-input type="textarea" v-model="model.fremsg.iss.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col> </c-col>
<!-- SF000259 : Function --> <!-- SF000259 : Function -->
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('fremsg.SF000259')" prop="fremsg.tag23h"> <el-form-item label="功能" prop="fremsg.tag23h">
<c-select v-model="model.fremsg.tag23h" style="width:100%" :placeholder="$t('other.please_enter')+$t('fremsg.SF000259')"> <c-select v-model="model.fremsg.tag23h" style="width:100%" :code="codes.tag23h" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SF000260 : Details of Request --> <!-- SF000260 : Details of Request -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('fremsg.SF000260')" prop="fremsg.tag45d"> <c-form-item label="请求的详细信息" prop="fremsg.tag45d">
<c-input type="textarea" v-model="model.fremsg.tag45d" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000260')" ></c-input> <c-input type="textarea" v-model="model.fremsg.tag45d" :code="tag45d" :rows="5" maxlength="65" show-word-limit placeholder="" ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col>
</div> </div>
</template> </template>
<script> <script>
...@@ -106,7 +85,7 @@ export default { ...@@ -106,7 +85,7 @@ export default {
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {
} }
}, },
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="业务信息" name="gitfrep1"> <el-collapse-item title="业务信息" name="gitfrep1">
<m-gitfrep1 :model="model" :codes="codes" /> <m-gitfrep1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse>
<el-collapse-item title="赔偿声明" name="revp" v-if="model.fremsg.sndmt == 'REV'">
<m-revp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Mt759p" name="Mt759p" v-if="model.fremsg.sndmt=='59'">
<m-mt759p :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Rejp" name="Rejp" v-if="model.fremsg.sndmt=='AME'">
<m-rejp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="报文详情 " name="Fredet" v-if="model.fremsg.sndmt=='95'||model.fremsg.sndmt=='96'">
<m-fredet :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div> </div>
</template> </template>
<script> <script>
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Getamc/Event"; import Event from "~/model/Getamc/Event";
import Gitfrep1 from "./Gitfrep1"; import Gitfrep1 from "./Gitfrep1";
import Mt759p from "./Mt759p";
import Detp from "./Detp";
import Fredet from "./Fredet";
import Revp from "./Revp";
import Rejp from "./Rejp";
export default { export default {
components: { components: {
"m-gitfrep1": Gitfrep1, "m-gitfrep1": Gitfrep1,
"m-mt759p": Mt759p,
"m-detp": Detp,
"m-fredet": Fredet,
"m-revp": Revp,
"m-rejp": Rejp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["ovwp1"],
};
}, },
inject: ['root'], methods: { ...Event, handleChange() {} },
props:["model","codes"], created: function () {},
mixins: [commonProcess], };
data(){ </script>
return {
activeNames: ["ovwp1"],
}
},
methods:{...Event,handleChange(){}},
created:function(){
}
}
</script>
<style> <style>
</style>
</style> \ No newline at end of file
\ No newline at end of file
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="自由格式报文"> <c-page title="自由格式报文">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--getfre PD000141 Common Messages --> :rules="rules"
<el-tab-pane label="业务信息" name="ovwp"> ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--getfre PD000141 Common Messages -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes" /> <m-ovwp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--setmod PD000000 Settlement --> <!--setmod PD000000 Settlement -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan"> <el-tab-pane label="报文/面函" name="docpan">
<c-content> <c-content>
<div class="eibs-tab"> <m-docpan :model="model" :codes="codes" />
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="备查/附言" name="coninfp"> <el-tab-pane label="附件信息" name="doctre">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content> <c-content>
<m-docpan :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane :label="$t('trndoc.PD000546')" name="doctre"> <el-tab-pane label="附言" name="coninfp">
<m-doctre :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--fremsg PD000255 Message Details MT759 -->
<el-tab-pane :label="$t('fremsg.PD000255')" name="mt759p"> <!--PD000000 -->
<m-mt759p :model="model" :codes="codes"/> <el-tab-pane label="费用及账务" name="setpan">
</el-tab-pane> <c-content>
<!--setmod PD000020 Settlement Details Panel --> <m-setpan :model="model" :codes="codes" />
<el-tab-pane :label="$t('setmod.PD000020')" name="detp"> </c-content>
<m-detp :model="model" :codes="codes"/> </el-tab-pane>
</el-tab-pane> </c-tabs>
<!--fremsg PD000076 Message Details --> </el-form>
<el-tab-pane :label="$t('fremsg.PD000076')" name="fredet"> <c-function-btn
<m-fredet :model="model" :codes="codes"/> :handleSubmit="handleSubmit"
</el-tab-pane> :handleCheck="handleCheck"
<!--getfre PD000333 Declaration of Indemnity --> :handleStash="handleStash"
<el-tab-pane :label="$t('getfre.PD000333')" name="revp"> >
<m-revp :model="model" :codes="codes"/> </c-function-btn>
</el-tab-pane>
<!--getfre PD000343 Rejection of Amendment -->
<el-tab-pane :label="$t('getfre.PD000343')" name="rejp">
<m-rejp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page> </c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Getfre from "~/model/Getfre" import Getfre from "~/model/Getfre";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Getfre/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Getfre/Default"
import Pattern from "~/model/Getfre/Pattern" import Check from "~/model/Getfre/Check";
import Gitfrep1 from "./Gitfrep1" import Default from "~/model/Getfre/Default";
import Ovwp from "./Ovwp" import Pattern from "~/model/Getfre/Pattern";
import Gitfrep1 from "./Gitfrep1";
import Ovwp from "./Ovwp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "./Coninfp" import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Mt759p from "./Mt759p" import Mt759p from "./Mt759p";
import Detp from "./Detp" import Detp from "./Detp";
import Fredet from "./Fredet" import Fredet from "./Fredet";
import Revp from "./Revp" import Revp from "./Revp";
import Rejp from "./Rejp" import Rejp from "./Rejp";
export default { export default {
name: "Getfre", name: "Getfre",
components:{ components:{
"m-ovwp" : Ovwp, "m-ovwp" : Ovwp,
"m-gitfrep1" : Gitfrep1,
"m-setpan" : Setpan, "m-setpan" : Setpan,
"m-coninfp" : Coninfp, "m-coninfp" : Coninfp,
"m-docpan" : Docpan, "m-docpan" : Docpan,
"m-doctre" : Doctre, "m-doctre" : Doctre,
"m-mt759p" : Mt759p,
"m-detp" : Detp,
"m-fredet" : Fredet,
"m-revp" : Revp,
"m-rejp" : Rejp,
},
provide() {
return {
root: this
}
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 provide() {
data(){ return {
return { root: this,
tabVal: "", };
trnName: "getfre", },
trnType: "", mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
model: new Getfre().data, data() {
checkRules: Check, return {
defaultRules: Default, tabVal: "ovwp",
pattern: Pattern, trnName: "getfre",
rules: null, trnType: "",
codes: { model: new Getfre().data,
}, checkRules: Check,
} defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
myTabClick(tab){ created: async function () {
this.tabClick(tab) console.log("进入getfre交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} //TODO 处理数据逻辑
}, } else {
created:async function(){ this.$notify.error({ title: "错误", message: "服务请求失败!" });
console.log("进入getfre交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment