Commit 9696c268 by Wuyuqiu

infact工具条

parent f80d9177
......@@ -15,6 +15,18 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
// async getTrnInfo(idx, row) {
// this.model.infcon.objinr = row["INR"];
// this.model.ledgrp.rec.inr = row["INR"];
// this.model.infcon.chksubcon = "X";
// this.dialogTableVisible = true;
// let rtnmsg = await this.executeDefault("infcon.chksubcon");
// if ((rtnmsg.respCode = SUCCESS)) {
// this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
// }
// },
async onInfbutDsp(idx,row){
const selIds= [idx + 1];
const selDst= "dspstm";//dspstm是数据流
......@@ -138,5 +150,30 @@ export default {
this.model.cur="";
},
async handleSearch() {
this.stmData.data = [];
// let opndatfrom = this.model.infcon.opndatfrom;
// if(!opndatfrom || opndatfrom == ''){
// this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
// return;
// }
// let opndatto = this.model.infcon.opndatto;
// if(!opndatto || opndatto == ''){
// this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
// return;
// }
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -389,7 +389,8 @@ export default {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this.$router.push({ path: viewurl, query: {} });
// this.$router.push({ path: viewurl, query: {} });
this.$router.push({ name: business.charAt(0).toUpperCase() + business.substring(1), params:{prePageId:this.model.pageId} });
}else{
const h = this.$createElement;
const msg = res.respMsg||'请求执行失败!'
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--infact PD000041 Search Panel -->
<el-tab-pane :label="'查询页面'" name="infsea">
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea"/>
</el-tab-pane>
<!--actp PD000000 Accounts -->
<el-tab-pane :label="'详情'" name="actp0">
<m-actp0 :model="model" :codes="codes" ref="actp0"/>
</el-tab-pane>
<!--actp PD000700 Info and Stoptext -->
<el-tab-pane :label="'Info and Stoptext'" name="oitpan">
<m-oitpan :model="model" :codes="codes" ref="oitpan"/>
</el-tab-pane>
<!-- <el-tab-pane :label="$t('actp.PD000040')" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane :label="$t('infbut.PD000022')" name="evtinfp">
<m-evtinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane :label="$t('vermod.PD000005')" name="difstm">
<m-difstm :model="model" :codes="codes"/>
</el-tab-pane> -->
</c-tabs>
</c-content>
</el-form>
</div>
</template>
......@@ -63,13 +46,13 @@ export default {
return {
tabVal: "infsea",
trnName: "infact",
trnType: "",
model: new Infact().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
codes: {
...CodeTable
},
}
},
......
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