Commit 442aae34 by wangna

流程交易汉化补充

parent 725c2e23
......@@ -276,12 +276,12 @@ export default {
],
relflg: [
{ label: "<all>", value: "" },
{ label: "Correct", value: "C" },
{ label: "已修改", value: "C" },
{ label: "Final", value: "F" },
{ label: "Picked up", value: "P" },
{ label: "Rejected", value: "N" },
{ label: "已拾取", value: "P" },
{ label: "已拒绝", value: "N" },
{ label: "Released", value: "R" },
{ label: "Waiting", value: "W" },
{ label: "等待", value: "W" },
],
trntyp: [
{ label: "ALL", value: "" },
......
......@@ -41,15 +41,15 @@
</c-col>
<c-col :span="24">
<el-form-item label="Selected User" prop="usfmod.usr.extkey" v-if="model.usfmod.flt ==='<SELU>'">
<c-input v-model="model.usfmod.usr.extkey" maxlength="8" placeholder="请输入客户经理"></c-input>
<el-form-item label="所选用户" prop="usfmod.usr.extkey" v-if="model.usfmod.flt ==='<SELU>'">
<c-input v-model="model.usfmod.usr.extkey" maxlength="8" placeholder="请输入所选用户"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Selected branch" prop="usfmod.selusb" v-if="model.usfmod.flt ==='<SELB>'">
<c-select v-model="model.usfmod.selusb" style="width:100%" placeholder="请选择Select user branch" :code="codes.selusg">
<el-form-item label="所选分支" prop="usfmod.selusb" v-if="model.usfmod.flt ==='<SELB>'">
<c-select v-model="model.usfmod.selusb" style="width:100%" placeholder="请选择所选分支" :code="codes.selusg">
</c-select>
</el-form-item>
</c-col>
......@@ -101,19 +101,6 @@
</c-select>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="" prop="usfmod.usrget.sdamod.seainf">
<c-input v-model="model.usfmod.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="List of SPT records" prop="sptstm">
<c-input v-model="model.sptstm" placeholder="请输入List of SPT records"></c-input>
</el-form-item>
</c-col>
-->
</c-col>
</c-col>
......@@ -327,7 +314,7 @@ export default {
}
},
onButpan(){
this.$confirm('Are you sure that you want to return selected items?','提示',{
this.$confirm('确定要返回所选项目吗?','提示',{
confirmButtonText: '是',
cancelButtonText: '否',
type: 'warning',
......
<template>
<el-dialog
:visible.sync="initdialog3"
:title="'Order for Pending Item'"
append-to-body
id="dialog3"
@opened="opened"
>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Order Number" prop="sptp.ord.extkey">
<c-input v-model="model.sptp.ord.extkey" maxlength="32" placeholder="请输入Order Number" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Sector" prop="sptp.ordp0.conarg.sector">
<c-select v-model="model.sptp.ordp0.conarg.sector" style="width:100%" placeholder="请选择Sector" :code="codes.sector" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Contract" prop="sptp.ordp0.conarg.selref">
<c-input v-model="model.sptp.ordp0.conarg.selref" maxlength="40" placeholder="请输入Contract" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Ordering Party" prop="sptp.ordp0.pta.ptyextkey">
<c-input v-model="model.sptp.ordp0.pta.ptyextkey" maxlength="24" placeholder="请输入Ordering Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Responsible User" prop="sptp.ord.ownusr">
<c-input v-model="model.sptp.ord.ownusr" maxlength="8" placeholder="请输入Responsible User" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Group" prop="sptp.ord.ownusg" label-width="100px">
<c-select v-model="model.sptp.ord.ownusg" style="width:100%" placeholder="请选择Responsible Group Optional" :code="codes.usgtxt" disabled>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="交易状态" prop="sptp.ord.sta">
<c-select v-model="model.sptp.ord.sta" style="width:100%" placeholder="请选择Status" :code="codes.sptDetSta" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Last Update" prop="sptp.ord.stadattim" label-width="100px">
<c-input v-model="model.sptp.ord.stadattim" placeholder="请输入Timestamp of Last 交易状态 Update" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="External Readable Identification" prop="sptp.ord.nam">
<c-input v-model="model.sptp.ord.nam" maxlength="40" placeholder="请输入External Readable Identification" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Ident No." prop="sptp.ord.inr">
<c-input v-model="model.sptp.ord.inr" maxlength="8" placeholder="请输入Internal Unique ID of Transaction" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="sptp.ordp0.conarg.selnam">
<c-input v-model="model.sptp.ordp0.conarg.selnam" maxlength="40" placeholder="请输入选定合同的名称" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易关键字名称" prop="sptp.ordp0.pta.nam">
<c-input v-model="model.sptp.ordp0.pta.nam" maxlength="40" placeholder="请输入Externally Visible 交易关键字名称 of Address" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label="创建时间" prop="sptp.ord.inidattim">
<c-input v-model="model.sptp.ord.inidattim" placeholder="请输入Group" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<span v-text="model.sptp.ordp0.orddur" data-path=".sptp.ordp0.orddur" disabled> </span>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label="Target" prop="sptp.ord.tardattim">
<c-input v-model="model.sptp.ord.tardattim" placeholder="请输入Target for Completion" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="Completion" prop="sptp.ord.cpldattim">
<c-input v-model="model.sptp.ord.cpldattim" placeholder="请输入Timestamp of Completion" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-button size="small" type="primary"
@click="showGridPromptDialog('ordp0.butore')"
<el-dialog
:visible.sync="initdialog3"
:title="'Order for Pending Item'"
append-to-body
id="dialog3"
@opened="opened"
>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="订单编号" prop="sptp.ord.extkey">
<c-input
v-model="model.sptp.ord.extkey"
maxlength="32"
placeholder="请输入订单编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Sector" prop="sptp.ordp0.conarg.sector">
<c-select
v-model="model.sptp.ordp0.conarg.sector"
style="width: 100%"
placeholder="请选择Sector"
:code="codes.sector"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="合同" prop="sptp.ordp0.conarg.selref">
<c-input
v-model="model.sptp.ordp0.conarg.selref"
maxlength="40"
placeholder="请输入合同"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="订购方"
prop="sptp.ordp0.pta.ptyextkey"
>
<c-input
v-model="model.sptp.ordp0.pta.ptyextkey"
maxlength="24"
placeholder="请输入订购方"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="责任用户" prop="sptp.ord.ownusr">
<c-input
v-model="model.sptp.ord.ownusr"
maxlength="8"
placeholder="请输入责任用户"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="组"
prop="sptp.ord.ownusg"
label-width="100px"
>
<c-select
v-model="model.sptp.ord.ownusg"
style="width: 100%"
placeholder="请选择"
:code="codes.usgtxt"
disabled
>
Events
</c-button>
</c-col>
<c-col :span="12" label-width="5px">
<c-checkbox v-model="model.sptp.ord.chkflg" disabled>Order OK</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<br>
</c-col>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<br>
</c-col>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="Infotext" prop="sptp.ord.inftxt">
<c-input type="textarea" v-model="model.sptp.ord.inftxt" maxlength="65" show-word-limit placeholder="请输入Infotext" rows="5" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="6" :offset="-1">
<el-form-item label="" prop="sptp.ord.infdsp" label-width="5px">
<c-select v-model="model.sptp.ord.infdsp" style="width:100%" placeholder="请选择Infotext" :code="codes.infdsp" disabled>
</c-select>
</el-form-item>
<c-button size="small" type="primary" @click="onOrdp0Butsmh" disabled>
Show &Message
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="交易状态" prop="sptp.ord.sta">
<c-select
v-model="model.sptp.ord.sta"
style="width: 100%"
placeholder="请选择交易状态"
:code="codes.sptDetSta"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" v-show="false">
<el-form-item label="Drag Drop Sender" prop="sptp.ordp0.recget.sdamod.dadsnd">
<c-input v-model="model.sptp.ordp0.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender" disabled></c-input>
<c-col :span="12">
<el-form-item
label="最后更新"
prop="sptp.ord.stadattim"
label-width="100px"
>
<c-input
v-model="model.sptp.ord.stadattim"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
label="外部可读标识"
prop="sptp.ord.nam"
>
<c-input
v-model="model.sptp.ord.nam"
maxlength="40"
placeholder="请输入外部可读标识"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="身份证号码" prop="sptp.ord.inr">
<c-input
v-model="model.sptp.ord.inr"
maxlength="8"
placeholder="请输入身份证号码"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="sptp.ordp0.conarg.selnam">
<c-input
v-model="model.sptp.ordp0.conarg.selnam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易关键字名称" prop="sptp.ordp0.pta.nam">
<c-input
v-model="model.sptp.ordp0.pta.nam"
maxlength="40"
placeholder="请输入交易关键字名称"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label="创建时间" prop="sptp.ord.inidattim">
<c-input
v-model="model.sptp.ord.inidattim"
placeholder="请输入创建时间"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<span
v-text="model.sptp.ordp0.orddur"
data-path=".sptp.ordp0.orddur"
disabled
>
</span>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label="目标" prop="sptp.ord.tardattim">
<c-input
v-model="model.sptp.ord.tardattim"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="结束" prop="sptp.ord.cpldattim">
<c-input
v-model="model.sptp.ord.cpldattim"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="12" v-show="false">
<el-form-item label="" prop="sptp.ordp0.recget.sdamod.seainf">
<c-input v-model="model.sptp.ordp0.recget.sdamod.seainf" placeholder="请输入" disabled></c-input>
<c-col :span="24">
<c-col :span="12">
<c-button
size="small"
type="primary"
@click="showGridPromptDialog('ordp0.butore')"
>
事件
</c-button>
</c-col>
<c-col :span="12" label-width="5px">
<c-checkbox v-model="model.sptp.ord.chkflg" disabled
>订单确定</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<br />
</c-col>
<c-col :span="24">
<br />
</c-col>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="信息文本" prop="sptp.ord.inftxt">
<c-input
type="textarea"
v-model="model.sptp.ord.inftxt"
maxlength="65"
show-word-limit
placeholder="请输入信息文本"
rows="5"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="6" :offset="-1">
<el-form-item label="" prop="sptp.ord.infdsp" label-width="5px">
<c-select
v-model="model.sptp.ord.infdsp"
style="width: 100%"
placeholder="请选择"
:code="codes.infdsp"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-button
size="small"
type="primary"
@click="onOrdp0Butsmh"
disabled
>
显示报文
</c-button>
</c-col>
</c-col>
</c-col>
</div>
<c-col :span="12" v-show="false">
<el-form-item
label="Drag Drop Sender"
prop="sptp.ordp0.recget.sdamod.dadsnd"
>
<c-input
v-model="model.sptp.ordp0.recget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
disabled
></c-input>
</el-form-item>
</c-col>
</el-dialog>
<c-col :span="12" v-show="false">
<el-form-item label="" prop="sptp.ordp0.recget.sdamod.seainf">
<c-input
v-model="model.sptp.ordp0.recget.sdamod.seainf"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</el-dialog>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptneg/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
initdialog3:false,
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
initdialog3: false,
};
},
mounted() {
this.trnName = "sptneg";
this.$nextTick(function () {
this.$on("childmethods", async function () {
let res = await this.executeRule("sptp.butord");
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
} else {
}
});
});
},
methods: {
...Event,
opened() {
this.$emit("childmethods");
},
mounted() {
this.trnName = "sptneg";
this.$nextTick(function () {
this.$on("childmethods", async function () {
let res = await this.executeRule("sptp.butord");
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
} else {
}
})
})
},
methods:{...Event,
opened() {
this.$emit("childmethods");
},
},
created:function(){
}
}
},
created: function () {},
};
</script>
<style>
#dialog3 .el-dialog{
width: 80%;
height: 80%;
}
#dialog3 .el-dialog {
width: 80%;
height: 80%;
}
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="11">
<c-col :span="12">
<el-form-item label="Object" prop="clmmod.wfs.objtyp" label-width="40px">
<c-input v-model="model.clmmod.wfs.objtyp" maxlength="6" placeholder="请输入Table Used to Store Associated Object" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="clmmod.wfs.objinr" label-width="5px">
<c-input v-model="model.clmmod.wfs.objinr" maxlength="8" placeholder="请输入Object" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Object Name" prop="clmmod.wfs.objnam">
<c-input v-model="model.clmmod.wfs.objnam" maxlength="40" placeholder="请输入External Readable Object Identification" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" @click="onClmmodDet" label-width="5px">
详情
</c-button>
</c-col>
</c-col>
</c-col>
<c-istream-table
:list="stmData.data"
:columns="stmData.columns">
</c-istream-table>
</c-col>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="11">
<c-col :span="12">
<el-form-item
label="对象"
prop="clmmod.wfs.objtyp"
label-width="40px"
>
<c-input
v-model="model.clmmod.wfs.objtyp"
maxlength="6"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="clmmod.wfs.objinr" label-width="5px">
<c-input
v-model="model.clmmod.wfs.objinr"
maxlength="8"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="对象名称" prop="clmmod.wfs.objnam">
<c-input
v-model="model.clmmod.wfs.objnam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button
size="small"
type="primary"
@click="onClmmodDet"
label-width="5px"
>
详情
</c-button>
</c-col>
</c-col>
</c-col>
<c-istream-table :list="stmData.data" :columns="stmData.columns">
</c-istream-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptneg/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
stmData: {
columns: [
'4 1 "ID" 150',
'5 2 "Service" 200',
'6 3 "交易状态" 150',
'8 4 "Last Update" 200',
'14 5 "Retries" 200',
'3 6 "Text" 300',
],
data: [],
},
}
},
methods:{...Event,
},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
stmData: {
columns: [
'4 1 "ID" 150',
'5 2 "服务" 200',
'6 3 "交易状态" 150',
'8 4 "最后更新" 200',
'14 5 "重试次数" 200',
'3 6 "文本" 300',
],
data: [],
},
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<el-dialog
:visible.sync="initdialog2"
:title="'Details of Pending Item'"
append-to-body
id="dialog2"
@opened="opened"
>
<div class="eibs-tab">
<c-col :span="24">
<!------------------左边------------------>
<c-col :span="11">
<c-col :span="24">
<el-form-item label="类型" prop="spt.sta">
<c-select
v-model="model.spt.sta"
style="width: 100%"
placeholder="请选择类型"
:code="codes.sptrelstatus"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务编号" prop="spt.objnam">
<c-input
v-model="model.spt.objnam"
maxlength="40"
placeholder="请输入业务编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易关键字名称" prop="spt.txt">
<c-input
v-model="model.spt.txt"
maxlength="40"
placeholder="请输入交易关键字名称"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!------------------右边------------------>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="交易状态" prop="spt.hldflg">
<c-select
v-model="model.spt.hldflg"
style="width: 100%"
placeholder="请选择交易状态"
:code="codes.hldflg"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="身份证号码" prop="spt.inr">
<c-input
v-model="model.spt.inr"
maxlength="8"
placeholder="请输入身份证号码"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<el-dialog
:visible.sync="initdialog2"
:title="'Details of Pending Item'"
append-to-body
id="dialog2"
@opened="opened"
>
<div class="eibs-tab">
<c-col :span="24">
<!------------------左边------------------>
<c-col :span="11">
<c-col :span="24">
<el-form-item label="类型" prop="spt.sta">
<c-select v-model="model.spt.sta" style="width:100%" placeholder="请选择Type" :code="codes.sptrelstatus" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务编号" prop="spt.objnam">
<c-input v-model="model.spt.objnam" maxlength="40" placeholder="请输入业务编号" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易关键字名称" prop="spt.txt">
<c-input v-model="model.spt.txt" maxlength="40" placeholder="请输入交易关键字名称" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<!------------------右边------------------>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="交易状态" prop="spt.hldflg">
<c-select v-model="model.spt.hldflg" style="width:100%" placeholder="请选择Hold Flag" :code="codes.hldflg" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Ident No." prop="spt.inr">
<c-input v-model="model.spt.inr" maxlength="8" placeholder="请输入Internal Unique ID of Pending Transaction" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="交易 " prop="spt.frm">
<c-input
v-model="model.spt.frm"
maxlength="6"
placeholder="请输入交易 "
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="交易 " prop="spt.frm">
<c-input v-model="model.spt.frm" maxlength="6" placeholder="请输入交易 " disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="责任用户" prop="spt.ownusr">
<c-input
v-model="model.spt.ownusr"
maxlength="8"
placeholder="请输入责任用户"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="责任小组" prop="spt.ownusg">
<c-select
v-model="model.spt.ownusg"
style="width: 100%"
placeholder="请选择责任小组"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Responsible User " prop="spt.ownusr">
<c-input v-model="model.spt.ownusr" maxlength="8" placeholder="请输入Responsible User " disabled></c-input>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="信息文本" prop="spt.inftxt">
<c-input
type="textarea"
v-model="model.spt.inftxt"
maxlength="65"
show-word-limit
placeholder="请输入信息文本"
rows="5"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Responsible Group" prop="spt.ownusg">
<c-select v-model="model.spt.ownusg" style="width:100%" placeholder="请选择Responsible Group" disabled>
</c-select>
<c-col :span="6" :offset="-1">
<el-form-item label="" prop="spt.infdsp" label-width="5px">
<c-select
v-model="model.spt.infdsp"
placeholder="请选择"
:code="codes.infdsp"
disabled
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="Infotext" prop="spt.inftxt">
<c-input type="textarea" v-model="model.spt.inftxt" maxlength="65" show-word-limit placeholder="请输入Infotext" rows="5" disabled ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="12">
<el-form-item label="经办柜员" prop="spt.usr">
<c-input
v-model="model.spt.usr"
maxlength="8"
placeholder="请输入经办人"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="at" prop="spt.dattim" label-width="50px">
<c-input
v-model="model.spt.dattim"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6" :offset="-1">
<el-form-item label="" prop="spt.infdsp" label-width="5px">
<c-select v-model="model.spt.infdsp" placeholder="请选择Infotext" :code="codes.infdsp" disabled>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="12">
<el-form-item label="创建交易" prop="spt.cretrn">
<c-input
v-model="model.spt.cretrn"
maxlength="6"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="12">
<el-form-item label="经办柜员" prop="spt.usr">
<c-input v-model="model.spt.usr" maxlength="8" placeholder="请输入经办人" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="at" prop="spt.dattim" label-width="50px">
<c-input v-model="model.spt.dattim" placeholder="请输入创建时间" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSptpButord">
订单
</c-button>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="12">
<el-form-item label="创建交易" prop="spt.cretrn">
<c-input v-model="model.spt.cretrn" maxlength="6" placeholder="请输入Creating Transaction ID" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="12">
<el-form-item label="完成目标" prop="" disabled>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="spt.tardattim" label-width="50px">
<c-input
v-model="model.spt.tardattim"
placeholder="请输入完成目标"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSptpButord">
Order
</c-button>
</c-col>
</c-col>
<c-col :span="13">
<el-form-item label="报文类型" prop="sptp.smh.msgtyp">
<c-input
v-model="model.sptp.smh.msgtyp"
maxlength="20"
placeholder="请输入报文类型"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="12">
<el-form-item label="Target for Completion" prop="" disabled>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="spt.tardattim" label-width="50px">
<c-input v-model="model.spt.tardattim" placeholder="请输入Target for Completion" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="15">
<el-form-item label="接收密钥" prop="sptp.smh.sndkey">
<c-input
v-model="model.sptp.smh.sndkey"
maxlength="50"
placeholder="请输入接收密钥"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="Message Type " prop="sptp.smh.msgtyp">
<c-input v-model="model.sptp.smh.msgtyp" maxlength="20" placeholder="请输入Message Type " disabled></c-input>
<c-col :span="13">
<c-col :span="13">
<el-form-item label="相关金额" prop="sptp.smh.relcur">
<c-input
v-model="model.sptp.smh.relcur"
maxlength="3"
placeholder="请输入相关金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="15">
<el-form-item label="Receiver Key " prop="sptp.smh.sndkey">
<c-input v-model="model.sptp.smh.sndkey" maxlength="50" placeholder="请输入Receiver Key " disabled></c-input>
<c-col :span="11">
<el-form-item label="" prop="sptp.smh.relamt" label-width="5px">
<c-input
v-model="model.sptp.smh.relamt"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="13">
<c-col :span="13">
<el-form-item label="Relevant Amount" prop="sptp.smh.relcur">
<c-input v-model="model.sptp.smh.relcur" maxlength="3" placeholder="请输入Relevant Amount" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="sptp.smh.relamt" label-width="5px">
<c-input v-model="model.sptp.smh.relamt" placeholder="请输入Relevant Amount Optional" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</el-dialog>
</c-col>
</c-col>
</c-col>
</div>
</el-dialog>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
import Sptneg from "~/model/Sptneg"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptneg/Event";
import Sptneg from "~/model/Sptneg";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
initdialog2:false,
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
initdialog2: false,
};
},
mounted() {
this.trnName = "sptneg";
this.$nextTick(function () {
this.$on("childmethods", async function () {
let res = await this.executeRule("butspt");
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
} else {
}
});
});
},
methods: {
...Event,
opened() {
this.$emit("childmethods");
},
mounted() {
this.trnName = "sptneg";
this.$nextTick(function () {
this.$on("childmethods", async function () {
let res = await this.executeRule("butspt");
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
} else {
}
})
})
},
methods:{...Event,
opened() {
this.$emit("childmethods");
},
async onSptpButord(){
this.$emit("onSptp");
}
async onSptpButord() {
this.$emit("onSptp");
},
created:function(){
}
}
},
created: function () {},
};
</script>
<style>
#dialog2 .el-dialog{
width: 80%;
height: 80%;
}
#dialog2 .el-dialog {
width: 80%;
height: 80%;
}
</style>
......@@ -51,7 +51,7 @@
</c-col>
<c-col :span="24" v-if="model.usfmod.flt === '<SELB>'">
<el-form-item label="Selected Branch" prop="usfmod.selusg">
<el-form-item label="所选分支" prop="usfmod.selusg">
<c-select
v-model="model.usfmod.selusg"
style="width: 100%"
......@@ -68,12 +68,12 @@
</c-col>
<c-col :span="24" v-if="model.usfmod.flt === '<SELU>'">
<el-form-item label="Selected User" prop="usfmod.usr.extkey">
<el-form-item label="所选用户" prop="usfmod.usr.extkey">
<c-input
v-model="model.usfmod.usr.extkey"
maxlength="8"
style="width: 100%"
placeholder="请输入User ID"
placeholder="请输入所选用户"
></c-input>
</el-form-item>
</c-col>
......@@ -261,11 +261,11 @@ export default {
flag:true,
index:0,
sta:[
{ label: 'All', value: '' },
{ label: 'Branch Release', value: 'CMC' },
{ label: 'Branch Register', value: 'CMP' },
{ label: 'Branch Repair', value: 'CMR' },
{ label: 'Center Repair', value: 'CTR' },
{ label: '全部', value: '' },
{ label: '分支发布', value: 'CMC' },
{ label: '分支登记', value: 'CMP' },
{ label: '分支维修', value: 'CMR' },
{ label: '中心维修', value: 'CTR' },
],
stmData: {
columns: [
......
......@@ -95,9 +95,6 @@
</el-form-item>
</c-col>
<!-- <c-col :span="12" :offset="2">
<c-button size="small" type="primary" @click="onCan"> E&xit </c-button>
</c-col> -->
</div>
</template>
<script>
......
......@@ -7,13 +7,13 @@
<c-col :span="22" :offset="1">
<c-col :span="12">
<c-button size="small" type="primary" @click="onDisp">
Display
显示
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onExi">
E&xit
退出
</c-button>
</c-col>
</c-col>
......
......@@ -15,7 +15,7 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000052 -->
<el-tab-pane label="Items Overview" name="sptroup" v-if="false">
<el-tab-pane label="项目概述" name="sptroup" v-if="false">
<m-sptroup :model="model" :codes="codes"/>
</el-tab-pane>
......
......@@ -50,17 +50,6 @@
<el-option v-for="item in codes.flt" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
<!-- </c-col> -->
<!-- <c-col :span="4" style="text-align: right">
<c-button
size="small"
type="primary"
style="margin: 0 0"
icon="el-icon-search"
@click="onUsfmodShwflt"
>
</c-button>
</c-col> -->
</el-form-item>
</c-col>
......@@ -119,16 +108,7 @@
</c-button>
<c-button style="margin-left: 0" size="small" type="primary" @click="continueEdit(scope.row)">处理
</c-button>
<!-- <c-button
style="margin-left: 0"
size="small"
type="primary"
@click="choose(scope.$index)"
>选择
</c-button> -->
<el-popover placement="top-start" width="50" trigger="click">
<!-- <c-button type="primary" size="small">指派</c-button>
<c-button type="primary" size="small">删除</c-button> -->
<ul class="table-button-item-list">
<li>
......@@ -220,12 +200,12 @@ export default {
},
async mounted() {
this.sourceData = [
{ label: "Incoming", value: "chkinc" },
{ label: "E-Trade", value: "chkdzt" },
{ label: "传入", value: "chkinc" },
{ label: "电子贸易", value: "chkdzt" },
// { label: "Break", value: "chkpen" },
{ label: "Correction", value: "chkcor" },
{ label: "Automatic", value: "chkaut" },
{ label: "Reject", value: "chkdel" },
{ label: "修改", value: "chkcor" },
{ label: "自动", value: "chkaut" },
{ label: "拒绝", value: "chkdel" },
{ label: "网银", value: "chktco" },
{ label: "归档", value: "chkcan" },
{ label: "云平台", value: "chkypt" },
......
......@@ -31,7 +31,7 @@
type="date"
v-model="model.inidatfro"
style="width: 100%"
placeholder="请选择Date of entry of Transaction"
placeholder="请选择创建时间"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
......@@ -42,7 +42,7 @@
type="date"
v-model="model.inidattil"
style="width: 100%"
placeholder="请选择Date of entry of Transaction until"
placeholder="请选择"
></c-date-picker>
</c-col>
</el-form-item>
......@@ -68,17 +68,6 @@
>
</el-option>
</c-select>
<!-- </c-col> -->
<!-- <c-col :span="4" style="text-align: right">
<c-button
size="small"
type="primary"
style="margin: 0 0"
icon="el-icon-search"
@click="onUsfmodShwflt"
>
</c-button>
</c-col> -->
</el-form-item>
</c-col>
</c-col>
......@@ -91,7 +80,7 @@
<c-input
v-model="model.seltxt"
maxlength="32"
placeholder="请输入Selection Name"
placeholder="请输入业务描述"
></c-input>
</el-form-item>
</c-col>
......@@ -127,13 +116,6 @@
<c-input></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="8" v-else>
<el-form-item
label=""
style="width: 100%; height: 36.8px; margin: 0 0 0 0"
>
</el-form-item>
</c-col> -->
<c-col :span="8" style="text-align: right" v-else>
<el-button size="small" @click="sptfndHandleReset">重置</el-button>
......@@ -158,24 +140,6 @@
</c-col>
<c-col :span="24" style="">
<!-- <c-col :span="12" style="text-align:center" >
<c-checkbox v-model="model.chkypt">云平台</c-checkbox>
</c-col> -->
<!-- <c-col :span="8">
<el-form-item
label="退回原因"
prop="yptinf"
style="width: 100%"
>
<c-input
v-model="model.yptinf"
maxlength="60"
placeholder="请输入退回原因"
:readonly="true"
></c-input>
</el-form-item>
</c-col> -->
</c-col>
</el-row>
</el-form>
......@@ -190,7 +154,6 @@
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align:center"><span>操作</span></c-col>
<!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
</template>
<template slot-scope="scope">
<c-button
......@@ -249,7 +212,7 @@ export default {
'5 3 "业务编号" 300',
'6 2 "交易名称" 180',
// '1 4 "状态" 60 1 tdViewTypeEdit:0 1 SPT:STA',
{index:1,position:4,width:100,pattern:'code',label:'状态',code:[{label:"Pending",value:"PEN"}]},
{index:1,position:4,width:100,pattern:'code',label:'状态',code:[{label:"待定",value:"PEN"}]},
'17 5 "报文类型" 100',
'18 6 "对方银行BIC" 130',
// '7 7 "创建时间" 160 20 DateTime 1',
......
......@@ -171,26 +171,6 @@ export default {
earnAmt: 0,
},
stmData: {
// columns: [
// '10 1 "TRN" 50 1 tdViewTypeEdit:0 3 ATPTXT',
// '11 2:1 "Own Reference" 112',
// '17 2:2 "Addtional Text" 112',
// '12 3 "Cur" 37',
// '13 4 "Relevant Amount" 101 2 8:1 2 5',
// '14 5 "Entry" 104 20 DateTime 1',
// '9 6:1 "Req" 39',
// '2 6:2 "Sig" 35',
// '6 8:1 "Rq0" 40',
// '3 8:2 "Rel0" 40',
// '7 9:1 "Rq1" 40',
// '4 9:2 "Rel1" 40',
// '8 10:1 "Rq2" 40',
// '5 10:2 "Rel2" 40',
// '15 13 "Branch" 142',
// '16 11:1 "User" 62',
// '18 11:2 "" 62',
// '0 12 "Status" 54 1 tdViewTypeEdit:0 1 RELSTA',
// ],
columns: [
'10 1 "交易代码" 100',
'11 2 "业务编号" 150',
......@@ -204,10 +184,10 @@ export default {
'16 9 "经办柜员" 100',
// '0 10 "业务状态" 80',
{
index: 0, position: 10, width: 100, pattern: 'code', label: '业务状态', code: [{ label: "Waiting", value: "W" },
{ label: "Correct", value: "C" },
{ label: "Picked up", value: "P" },
{ label: "Rejected", value: "N" },]
index: 0, position: 10, width: 100, pattern: 'code', label: '业务状态', code: [{ label: "等待", value: "W" },
{ label: "已修改", value: "C" },
{ label: "已拾取", value: "P" },
{ label: "已拒绝", value: "N" },]
},
'15 11 "业务机构" 120',
],
......@@ -241,14 +221,14 @@ export default {
async mounted() {
this.relflgCodes = [
{ label: "ALL", value: "0" }, //待复核列表业务状态All
{ label: "Correct", value: "C" },
{ label: "全部", value: "0" }, //待复核列表业务状态All
{ label: "已修改", value: "C" },
// { label: "Closed", value: "M" },
// { label: "Entered", value: "E" },
// { label: "External", value: "X" },
{ label: "Picked up", value: "P" },
{ label: "Rejected", value: "N" },
{ label: "Waiting", value: "W" },
{ label: "已拾取", value: "P" },
{ label: "已拒绝", value: "N" },
{ label: "等待", value: "W" },
];
// await this.handleSearch()
// this.$store.commit("setTaskList", {key: "trnrel", val: this.stmData.data.length})
......
<template>
<c-page title="">
<!-- <div class="eContainer"> -->
<c-content :height="120">
<div class="eibs-tab">
<el-form
:model="model"
ref="modelForm"
tokenKey="modelForm"
:validate-on-rule-change="false"
label-width="150px"
size="small"
>
<c-content>
<!-- <c-col :span="24" style="margin:0 0 5px 0"> -->
<c-col :span="12" style="height:24px;">
<el-form-item label="基本信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="11" style="text-align:right;">
<c-button size="small" type="primary" style="margin-left:0" @click="display(model.trn.inr)">交易快照</c-button>
<c-button size="small" type="primary" style="margin-left:0">智能提示</c-button>
<c-button size="small" @click="exit" type="primary" style="margin-left:0">返回</c-button>
</c-col>
<!-- </c-col> -->
<c-col :span="24" style="height: 10px;margin-bottom:10px">
<el-divider></el-divider>
</c-col>
<c-page title="">
<!-- <div class="eContainer"> -->
<c-content :height="120">
<div class="eibs-tab">
<el-form
:model="model"
ref="modelForm"
tokenKey="modelForm"
:validate-on-rule-change="false"
label-width="150px"
size="small"
>
<c-content>
<!-- <c-col :span="24" style="margin:0 0 5px 0"> -->
<c-col :span="12" style="height: 24px">
<el-form-item label="基本信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="11" style="text-align: right">
<c-button
size="small"
type="primary"
style="margin-left: 0"
@click="display(model.trn.inr)"
>交易快照</c-button
>
<c-button size="small" type="primary" style="margin-left: 0"
>智能提示</c-button
>
<c-button
size="small"
@click="exit"
type="primary"
style="margin-left: 0"
>返回</c-button
>
</c-col>
<!-- </c-col> -->
<c-col :span="24" style="height: 10px; margin-bottom: 10px">
<el-divider></el-divider>
</c-col>
<!-- -------------------基础信息------------------- -->
<!-- -------------------基础信息------------------- -->
<!-- ========================= Left ========================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="22">
<el-form-item label="业务编号">
<c-input v-model="model.trn.ownref" maxlength="16" disabled placeholder="请输入业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin:0;padding: 0 14px;"
size="small"
type="primary"
>
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="交易代码">
<c-input v-model="model.recpan.atp.cod" maxlength="6" disabled placeholder="请输入交易代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin:0;padding: 0 14px;"
size="small"
type="primary"
>
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button>
</c-col>
</c-col>
<!-- ========================= Left ========================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="22">
<el-form-item label="业务编号">
<c-input
v-model="model.trn.ownref"
maxlength="16"
disabled
placeholder="请输入业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin: 0; padding: 0 14px"
size="small"
type="primary"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="相关金额">
<c-input v-model="model.trn.reloricur" maxlength="3" disabled placeholder="请输入Relevant Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="8px">
<c-input v-model="model.trn.reloriamt" disabled placeholder="请输入Relevant Amount for Release in Original Currency"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="交易代码">
<c-input
v-model="model.recpan.atp.cod"
maxlength="6"
disabled
placeholder="请输入交易代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin: 0; padding: 0 14px"
size="small"
type="primary"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="经办柜员">
<c-input v-model="model.trn.usr" maxlength="8" disabled placeholder="请输入经办柜员"></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label-width="40%" label="责任小组">
<!-- <c-input v-model="model.trn.usg" maxlength="6" disabled placeholder="请输入责任小组"></c-input> -->
<el-select v-model="model.trn.usg" style="width: 100%" disabled>
<el-option
v-for="item in codes.usgtxt"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="相关金额">
<c-input
v-model="model.trn.reloricur"
maxlength="3"
disabled
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="8px">
<c-input
v-model="model.trn.reloriamt"
disabled
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="根据识别号">
<c-input v-model="model.trn.cortrninr" maxlength="8" disabled placeholder="请输入根据识别号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="执行日期">
<c-date-picker type="date" v-model="model.trn.exedat" style="width:100%" disabled placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="经办柜员">
<c-input
v-model="model.trn.usr"
maxlength="8"
disabled
placeholder="请输入经办柜员"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="信息文本">
<c-input type="textarea" v-model="model.trn.inftxt" maxlength="65" :rows="3" show-word-limit placeholder="请输入信息文本" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin:0;padding: 0 12px;"
size="small"
icon="el-icon-search"
type="primary"
></c-button>
</c-col>
</c-col>
<c-col :span="11">
<el-form-item label-width="40%" label="责任小组">
<!-- <c-input v-model="model.trn.usg" maxlength="6" disabled placeholder="请输入责任小组"></c-input> -->
<el-select
v-model="model.trn.usg"
style="width: 100%"
disabled
>
<el-option
v-for="item in codes.usgtxt"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="根据识别号">
<c-input
v-model="model.trn.cortrninr"
maxlength="8"
disabled
placeholder="请输入根据识别号"
></c-input>
</el-form-item>
</c-col>
<!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="22">
<el-form-item label="身份证号">
<c-input v-model="model.trn.inr" disabled placeholder="请输入身份证号"></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin:0;padding: 0 14px;"
size="small"
type="primary"
>
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="执行日期">
<c-date-picker
type="date"
v-model="model.trn.exedat"
style="width: 100%"
disabled
placeholder="请选择执行日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="交易代码">
<!-- <el-select v-model="model.recpan.atp.cod" style="width: 100%" disabled>
<el-option
v-for="item in codes.atptxt"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select> -->
<c-input v-model="this.atptxt" maxlength="6" disabled placeholder="请输入交易代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="信息文本">
<c-input
type="textarea"
v-model="model.trn.inftxt"
maxlength="65"
:rows="3"
show-word-limit
placeholder="请输入信息文本"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin: 0; padding: 0 12px"
size="small"
icon="el-icon-search"
type="primary"
></c-button>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Drop Receiver">
<c-input v-model="model.trn.objnam" maxlength="40" disabled placeholder="请输入External Readable Object Identification"></c-input>
</el-form-item>
</c-col>
<!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="22">
<el-form-item label="身份证号">
<c-input
v-model="model.trn.inr"
disabled
placeholder="请输入身份证号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin: 0; padding: 0 14px"
size="small"
type="primary"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="发布状态">
<!-- <c-input v-model="model.trn.relflg" style="width:100%" disabled placeholder="请选择交易的发布状态">
</c-input> -->
<el-select v-model="model.trn.relflg" style="width: 100%" disabled>
<el-option
v-for="item in codes.relstaEN"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易代码">
<c-input
v-model="this.atptxt"
maxlength="6"
disabled
placeholder="请输入交易代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="经办柜员">
<c-input v-model="model.recpan.cretrs.usr" maxlength="8" disabled placeholder="请输入经办人"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="时间戳">
<c-input v-model="model.recpan.cretrs.dattim" disabled placeholder="请输入时间戳"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Drop Receiver">
<c-input
v-model="model.trn.objnam"
maxlength="40"
disabled
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信息标志">
<el-select v-model="model.trn.infdsp" style="width: 100%">
<el-option
v-for="item in codes.infdsp"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="发布状态">
<el-select
v-model="model.trn.relflg"
style="width: 100%"
disabled
>
<el-option
v-for="item in codes.relstaEN"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="发送退回至">
<c-input v-model="model.recpan.usr.extkey" disabled style="width:100%" placeholder="">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="经办柜员">
<c-input
v-model="model.recpan.cretrs.usr"
maxlength="8"
disabled
placeholder="请输入经办人"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- -------------------分割线------------------- -->
<!-- <c-col :span="24">
<div style="border-bottom: 10px solid rgb(232, 232, 232);">
</div>
</c-col> -->
<!-- <c-col :span="24" style="height:25px">
<el-divider></el-divider>
</c-col> -->
<c-col :span="24">
<el-form-item label="时间戳">
<c-input
v-model="model.recpan.cretrs.dattim"
disabled
placeholder="请输入时间戳"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- -------------------document------------------- -->
<c-col :span="24" style="height:24px">
<el-form-item label="面函/报文" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<!-- <c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input> -->
<!-- <c-istream-table :list="documentsData.data" :columns="documentsData.columns" :paginationShow="false">
<el-table-column
fixed="right"
prop="display"
label="操作"
width="140px"
>
<template slot="header">
<c-col :span="11" style="text-align:center"><span style="line-height: 30px;">操作</span></c-col>
<c-col :span="12" style="text-align:center"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template>
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="show(scope.$index,scope.row)"
>
显示
</c-button>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
>
打印
</c-button>
</template>
</el-table-column>
</c-istream-table> -->
<c-col :span="24">
<el-form-item label="信息标志">
<el-select v-model="model.trn.infdsp" style="width: 100%">
<el-option
v-for="item in codes.infdsp"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
<c-istream-table :list="documentsData.data" :columns="documentsData.columns">
<el-table-column label="介质" width="110px">
<template slot-scope="scope">
<el-form-item label-width="0"
:prop="'trnmod.trndoc.doceot.' + scope.$index + '.cortyp'">
<c-select v-model="
scope.row.cortyp
" style="width: 100%" disabled placeholder="请选择">
<el-option v-for="item in codes.doceotCortyp" :key="item.value"
:label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="报文格式" width="150px">
<template slot-scope="scope">
<c-select v-model="
scope.row.docsnf
" style="width: 100%" placeholder="请选择"
@change="executeDefault('trnmod.trndoc.doccur.docsnf')">
<el-option v-for="item in codes.docsnf" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="语言" width="150px">
<template slot-scope="scope">
<c-select v-model="
scope.row.docuil
" style="width: 100%" placeholder="请选择">
<el-option v-for="item in codes.uiltxt" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="传送方式" width="110px">
<template slot-scope="scope">
<el-form-item label-width="0"
:prop="'trnmod.trndoc.doceot.' + scope.$index + '.apf'">
<c-select v-model="
scope.row.apf
" disabled style="width: 100%" placeholder="请选择">
<el-option v-for="item in codes.apftxt" :key="item.value"
:label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="发送份数" width="70">
<template slot-scope="scope">
<c-input v-model="
scope.row.apfcpy1
" :readonly="true" style="width: 100%" placeholder="请选择">
</c-input>
</template>
</el-table-column>
<el-table-column label="抄送份数" width="70">
<template slot-scope="scope">
<c-input v-model="
scope.row.apfcpy2
" style="width: 100%" placeholder="请选择">
</c-input>
</template>
</el-table-column>
<el-table-column label="" width="110px">
<template slot-scope="scope">
<el-form-item label-width="0"
:prop="'trnmod.trndoc.doceot.' + scope.$index + '.staflg'">
<c-select v-model="
scope.row.staflg
" style="width: 100%" placeholder="请选择">
<el-option v-for="item in codes.swttlx" :key="item.value"
:label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="操作" width="200px" fixed="right">
<template slot-scope="scope">
<c-button type="primary" size="small" :disabled="
(scope.row
.pandsc == 'MT799' && model.didgrp && model.didgrp.rec &&
model.didgrp.rec.elcflg == 'Y')||suppress
" @click="show(scope.$index,scope.row)"
style="margin-right:10px">预览</c-button>
<c-button size="small" type="primary" style="margin-left:0"
@click="handleDetail(scope.row.index, scope.row)">详情</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<c-col :span="24">
<el-form-item label="发送退回至">
<c-input
v-model="model.recpan.usr.extkey"
disabled
style="width: 100%"
placeholder=""
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="height:24px;margin-top:20px">
<el-form-item label="经办/复核" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height:0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-col :span="24" :offset="0">
<c-istream-table :list="SignaturesData.data" :columns="SignaturesData.columns" :paginationShow="false" style="width:100%">
<el-table-column label="Action" width="auto">
<template slot-scope="scope">
<span>{{flg[scope.row.IDX]}}</span>
<!-- <el-select v-model="action[scope.row.IDX]" style="100%" disabled>
<el-option
v-for="item in codes.flg"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select> -->
</template>
</el-table-column>
</c-istream-table>
</c-col>
</c-col>
<!-- -------------------document------------------- -->
<c-col :span="24" style="height: 24px">
<el-form-item label="面函/报文" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px; margin-top: -5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<c-istream-table
:list="documentsData.data"
:columns="documentsData.columns"
>
<el-table-column label="介质" width="110px">
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'trnmod.trndoc.doceot.' + scope.$index + '.cortyp'"
>
<c-select
v-model="scope.row.cortyp"
style="width: 100%"
disabled
placeholder="请选择"
>
<el-option
v-for="item in codes.doceotCortyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="报文格式" width="150px">
<template slot-scope="scope">
<c-select
v-model="scope.row.docsnf"
style="width: 100%"
placeholder="请选择"
@change="executeDefault('trnmod.trndoc.doccur.docsnf')"
>
<el-option
v-for="item in codes.docsnf"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="语言" width="150px">
<template slot-scope="scope">
<c-select
v-model="scope.row.docuil"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.uiltxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="传送方式" width="110px">
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'trnmod.trndoc.doceot.' + scope.$index + '.apf'"
>
<c-select
v-model="scope.row.apf"
disabled
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.apftxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="发送份数" width="70">
<template slot-scope="scope">
<c-input
v-model="scope.row.apfcpy1"
:readonly="true"
style="width: 100%"
placeholder="请选择"
>
</c-input>
</template>
</el-table-column>
<el-table-column label="抄送份数" width="70">
<template slot-scope="scope">
<c-input
v-model="scope.row.apfcpy2"
style="width: 100%"
placeholder="请选择"
>
</c-input>
</template>
</el-table-column>
<el-table-column label="" width="110px">
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'trnmod.trndoc.doceot.' + scope.$index + '.staflg'"
>
<c-select
v-model="scope.row.staflg"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.swttlx"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="操作" width="200px" fixed="right">
<template slot-scope="scope">
<c-button
type="primary"
size="small"
:disabled="
(scope.row.pandsc == 'MT799' &&
model.didgrp &&
model.didgrp.rec &&
model.didgrp.rec.elcflg == 'Y') ||
suppress
"
@click="show(scope.$index, scope.row)"
style="margin-right: 10px"
>预览</c-button
>
<c-button
size="small"
type="primary"
style="margin-left: 0"
@click="handleDetail(scope.row.index, scope.row)"
>详情</c-button
>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<!-- -------------------workflow------------------- -->
<c-col :span="24" style="height:24px;margin-top:20px">
<el-form-item label="工作流服务" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height:0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<c-col :span="24" :offset="0">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :paginationShow="false" style="width:100%">
</c-istream-table>
</c-col>
</c-col>
<c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item label="经办/复核" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px; margin-top: -5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-col :span="24" :offset="0">
<c-istream-table
:list="SignaturesData.data"
:columns="SignaturesData.columns"
:paginationShow="false"
style="width: 100%"
>
<el-table-column label="Action" width="auto">
<template slot-scope="scope">
<span>{{ flg[scope.row.IDX] }}</span>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</c-col>
</c-content>
</el-form>
</div>
<!-- </div> -->
</c-content>
</c-page>
<!-- -------------------workflow------------------- -->
<c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item label="工作流服务" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px; margin-top: -5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<c-col :span="24" :offset="0">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:paginationShow="false"
style="width: 100%"
>
</c-istream-table>
</c-col>
</c-col>
</c-content>
</el-form>
</div>
<!-- </div> -->
</c-content>
</c-page>
</template>
<script>
import Trnrel from "~/model/Trnrel";
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
import DocUtils from '~/utils/DocUtils'
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trnrel/Event";
import DocUtils from "~/utils/DocUtils";
export default {
name: "InftrnpsDetail",
mixins: [commonProcess],
data(){
return {
model: new Trnrel().data,
documentsData: {
columns: [
// "1 1 \"类型\" 300 1 0:0 1 CORTYP",
// "2 2 \"外部密钥\" 300",
// "3 3 \"文档\" auto",
"1 4 \"收报人\" 90",
"2 5 \"描述\" 200",
],
data: [],
},
SignaturesData: {
columns: [
'1 2:1 "用户" 300',
// '2 3:1 "Date / Time" 300',
{index:2,position:3,width:300,pattern:'time',label:'日期/时间'},
// '3 5:1 "Action" 400',
'4 1:1 "类型" 300'
],
data: [],
},
codes: { infdsp: CodeTable.infdsp,
flg : CodeTable.flg,
atptxt : CodeTable.atptxt,
relstaEN : CodeTable.relstaEN,
usgtxt : CodeTable.usgtxt,
wfetrssta : CodeTable.wfetrssta },
stmData: {
columns: [
'1 1 "编号" 100',
'2 2 "服务" 100',
// '3 3 "交易状态" 100',
{index:3,position:3,width:100,pattern:'code',label:'交易状态',code: CodeTable.wfetrssta},
'4 4 "最新更新" 120',
'5 5 "重试" 100',
'6 6 "文本" 200',
'7 7 "相反文本" 200',
// '8 8 "Target Time" auto'
{index:8,position:8,width:'auto',pattern:'dateFormat',label:'目标时间'},
],
data: [],
},
flg:[],
atptxt:'',
relstaEN:'',
usgtxt:'',
name: "InftrnpsDetail",
mixins: [commonProcess],
data() {
return {
model: new Trnrel().data,
documentsData: {
columns: [
// "1 1 \"类型\" 300 1 0:0 1 CORTYP",
// "2 2 \"外部密钥\" 300",
// "3 3 \"文档\" auto",
'1 4 "收报人" 90',
'2 5 "描述" 200',
],
data: [],
},
SignaturesData: {
columns: [
'1 2:1 "用户" 300',
// '2 3:1 "Date / Time" 300',
{
index: 2,
position: 3,
width: 300,
pattern: "time",
label: "日期/时间",
},
// '3 5:1 "Action" 400',
'4 1:1 "类型" 300',
],
data: [],
},
codes: {
infdsp: CodeTable.infdsp,
flg: CodeTable.flg,
atptxt: CodeTable.atptxt,
relstaEN: CodeTable.relstaEN,
usgtxt: CodeTable.usgtxt,
wfetrssta: CodeTable.wfetrssta,
},
stmData: {
columns: [
'1 1 "编号" 100',
'2 2 "服务" 100',
// '3 3 "交易状态" 100',
{
index: 3,
position: 3,
width: 100,
pattern: "code",
label: "交易状态",
code: CodeTable.wfetrssta,
},
'4 4 "最新更新" 120',
'5 5 "重试" 100',
'6 6 "文本" 200',
'7 7 "相反文本" 200',
// '8 8 "Target Time" auto'
{
index: 8,
position: 8,
width: "auto",
pattern: "dateFormat",
label: "目标时间",
},
],
data: [],
},
flg: [],
atptxt: "",
relstaEN: "",
usgtxt: "",
};
},
mounted() {
this.loadData();
},
methods: {
...Event,
async handleDetail(index, row) {
const params = {
index: row.idx,
};
let rtnmsg = await Api.post(
`${this.requestPrefix}/executeDocpanDetail`,
this.wrapper(params)
);
if (rtnmsg.respCode == SUCCESS) {
this.title = row.pandsc;
(this.centerDialogVisible = true), this.updateModel(rtnmsg.data);
this.dialog = this.model.trnmod.trndoc.doceot[row.idx];
this.index = row.idx;
}
},
loadData() {
// const { data } = this.$route.query
this.model = JSON.parse(sessionStorage.getItem("InftrnpsDetail"));
this.documentsData.data = this.model.recpan.smhstm.rows;
this.SignaturesData.data = this.model.recpan.trsstm.rows;
this.stmData.data = this.model.recpan.wfestm.rows;
this.flg = this.ArrCalCode(this.SignaturesData.data, this.codes.flg, 3);
this.atptxt = this.strCalCode(
this.model.recpan.atp.cod,
this.codes.atptxt
);
this.relstaEN = this.strCalCode(
this.model.trn.relflg,
this.codes.relstaEN
);
this.usgtxt = this.strCalCode(this.model.trn.usg, this.codes.usgtxt);
},
strCalCode(str, code) {
var result = "";
for (let i = 0; i < code.length; i++) {
if (code[i].value === code) {
result = code[i].label;
continue;
}
}
if (result === "") {
return str;
} else {
return result;
}
},
ArrCalCode(table, code, index) {
var result = [];
for (let i = 0; i < table.length; i++) {
const d = table[i];
const items = d.split("\t");
result[i] = items[index];
for (let j = 0; j < code.length; j++) {
if (code[j].value === result[i]) {
result[i] = code[j].label;
continue;
}
}
}
return result;
},
mounted() {
this.loadData()
exit() {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.history.push("/taskList");
},
methods: {
...Event,
async handleDetail(index, row) {
const params = {
index: row.idx
}
let rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpanDetail`, this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) {
this.title = row.pandsc
this.centerDialogVisible = true,
this.updateModel(rtnmsg.data);
this.dialog = this.model.trnmod.trndoc.doceot[row.idx]
this.index = row.idx
}
},
loadData() {
// const { data } = this.$route.query
this.model = JSON.parse(sessionStorage.getItem('InftrnpsDetail'));
this.documentsData.data = this.model.recpan.smhstm.rows;
this.SignaturesData.data = this.model.recpan.trsstm.rows;
this.stmData.data = this.model.recpan.wfestm.rows;
this.flg = this.ArrCalCode(this.SignaturesData.data, this.codes.flg, 3);
this.atptxt = this.strCalCode(this.model.recpan.atp.cod, this.codes.atptxt);
this.relstaEN = this.strCalCode(this.model.trn.relflg, this.codes.relstaEN);
this.usgtxt = this.strCalCode(this.model.trn.usg, this.codes.usgtxt);
},
strCalCode(str, code){
var result = '';
for(let i = 0; i < code.length; i++){
if(code[i].value === code){
result = code[i].label;
continue;
}
}
if(result === ''){
return str;
}else{
return result;
}
},
ArrCalCode(table, code, index){
var result = [];
for (let i = 0; i < table.length; i++) {
const d = table[i];
const items = d.split("\t");
result[i] = items[index];
for(let j = 0; j < code.length; j++){
if(code[j].value === result[i]){
result[i] = code[j].label;
continue;
}
}
}
return result;
},
exit(){
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList");
},
async show(idx,row){
var params = {selDst:"recpan.smhstm",selIds:[idx+1],selBtnId:"A"}
let rtnmsg = await Api.post(`/business/trnrel/executeRule/recpan.smhstm`, this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) {
this.title = "面函"
let viewurl = "/#/docpan/show";
let XMLdata;
if (row.类型 == 'LET') {
window.sessionStorage.docTXT = ''
window.sessionStorage.docXML = rtnmsg.data.docimm_xmldocblk;
}
else if (row.pandsc == "MT799") {
window.sessionStorage.docTXT = ''
XMLdata = rtnmsg.data.litbenl1blk
}
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
else {
const h = this.$createElement
const msg = rtnmsg.respMsg||'请求执行失败!'
this.$notify.error({ title: '错误', message: h('p',{style: 'word-break:break-all;'}, msg) })
}
async show(idx, row) {
var params = {
selDst: "recpan.smhstm",
selIds: [idx + 1],
selBtnId: "A",
};
let rtnmsg = await Api.post(
`/business/trnrel/executeRule/recpan.smhstm`,
this.wrapper(params)
);
if (rtnmsg.respCode == SUCCESS) {
this.title = "面函";
let viewurl = "/#/docpan/show";
let XMLdata;
if (row.类型 == "LET") {
window.sessionStorage.docTXT = "";
window.sessionStorage.docXML = rtnmsg.data.docimm_xmldocblk;
} else if (row.pandsc == "MT799") {
window.sessionStorage.docTXT = "";
XMLdata = rtnmsg.data.litbenl1blk;
}
}
}
window.open(
viewurl,
"newwindow",
"height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no"
);
} else {
const h = this.$createElement;
const msg = rtnmsg.respMsg || "请求执行失败!";
this.$notify.error({
title: "错误",
message: h("p", { style: "word-break:break-all;" }, msg),
});
}
},
},
};
</script>
<style scoped>
.el-col >>> .el-divider--horizontal {
margin-top: 10px;
margin-top: 10px;
}
.formItemLabel >>> .el-form-item__label{
text-align: left;
font-weight:bold;
.formItemLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
}
.el-col >>> .el-divider--horizontal {
margin-top: 5px;
}
.messageLabel >>> .el-form-item__label{
text-align: left;
font-weight:bold;
font-size: 12px;
.messageLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style>
\ No newline at end of file
......@@ -87,7 +87,7 @@
<c-select
v-model="model.trncorco.relflg"
style="width: 100%"
placeholder="请选择Status"
placeholder="请选择业务状态"
>
<el-option
v-for="item in relflgCodes"
......@@ -105,7 +105,7 @@
<c-select
v-model="model.bchcon"
style="width: 100%"
placeholder="请选择Branch"
placeholder="请选择业务机构"
>
<el-option
v-for="item in codes.bchtyp"
......
<template>
<c-page title="">
<!-- <div class="eContainer"> -->
<c-content :height="120">
<div class="eibs-tab">
<el-form
:model="model"
ref="modelForm"
tokenKey="modelForm"
:validate-on-rule-change="false"
label-width="150px"
<c-page title="">
<!-- <div class="eContainer"> -->
<c-content :height="120">
<div class="eibs-tab">
<el-form
:model="model"
ref="modelForm"
tokenKey="modelForm"
:validate-on-rule-change="false"
label-width="150px"
size="small"
>
<c-content>
<!-- <c-col :span="24" style="margin:0 0 5px 0"> -->
<c-col :span="12" style="height: 24px">
<el-form-item label="基本信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="11" style="text-align: right">
<c-button
size="small"
type="primary"
style="margin-left: 0"
@click="display(model.trn.inr)"
>交易快照</c-button
>
<c-button size="small" type="primary" style="margin-left: 0"
>智能提示</c-button
>
<c-button
size="small"
@click="exit"
type="primary"
style="margin-left: 0"
>返回</c-button
>
</c-col>
<!-- </c-col> -->
<c-col :span="24" style="height: 10px; margin-bottom: 10px">
<el-divider></el-divider>
</c-col>
<!-- -------------------基础信息------------------- -->
<!-- ========================= Left ========================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="22">
<el-form-item label="业务编号">
<c-input
v-model="model.trn.ownref"
maxlength="16"
disabled
placeholder="请输入业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin: 0; padding: 0 14px"
size="small"
type="primary"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
<c-content>
<!-- <c-col :span="24" style="margin:0 0 5px 0"> -->
<c-col :span="12" style="height:24px;">
<el-form-item label="基本信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="11" style="text-align:right;">
<c-button size="small" type="primary" style="margin-left:0" @click="display(model.trn.inr)">交易快照</c-button>
<c-button size="small" type="primary" style="margin-left:0">智能提示</c-button>
<c-button size="small" @click="exit" type="primary" style="margin-left:0">返回</c-button>
</c-col>
<!-- </c-col> -->
<c-col :span="24" style="height: 10px;margin-bottom:10px">
<el-divider></el-divider>
</c-col>
<!-- -------------------基础信息------------------- -->
</c-button>
</c-col>
</c-col>
<!-- ========================= Left ========================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="22">
<el-form-item label="业务编号">
<c-input v-model="model.trn.ownref" maxlength="16" disabled placeholder="请输入业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin:0;padding: 0 14px;"
size="small"
type="primary"
>
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="交易编号">
<c-input
v-model="model.recpan.atp.cod"
maxlength="6"
disabled
placeholder="请输入交易编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin: 0; padding: 0 14px"
size="small"
type="primary"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="交易编号">
<c-input v-model="model.recpan.atp.cod" maxlength="6" disabled placeholder="请输入交易编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin:0;padding: 0 14px;"
size="small"
type="primary"
>
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="相关金额">
<c-input
v-model="model.trn.reloricur"
maxlength="3"
disabled
placeholder="请输入相关金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="2%">
<c-input
v-model="model.trn.reloriamt"
disabled
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="相关金额">
<c-input v-model="model.trn.reloricur" maxlength="3" disabled placeholder="请输入相关金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="2%">
<c-input v-model="model.trn.reloriamt" disabled placeholder="请输入Relevant Amount for Release in Original Currency"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="责任人">
<c-input
v-model="model.trn.usr"
maxlength="8"
disabled
placeholder="请输入责任人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="责任人">
<c-input v-model="model.trn.usr" maxlength="8" disabled placeholder="请输入责任人"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="35%" label="责任小组">
<!-- <c-input v-model="model.trn.usg" maxlength="6" disabled placeholder="请输入责任小组"></c-input> -->
<el-select v-model="model.trn.usg" style="width: 100%" disabled>
<el-option
v-for="item in codes.usgtxt"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label-width="35%" label="责任小组">
<!-- <c-input v-model="model.trn.usg" maxlength="6" disabled placeholder="请输入责任小组"></c-input> -->
<el-select
v-model="model.trn.usg"
style="width: 100%"
disabled
>
<el-option
v-for="item in codes.usgtxt"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="根据身份证号">
<c-input v-model="model.trn.cortrninr" maxlength="8" disabled placeholder="请输入根据身份证号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="35%" label="Execution Date">
<c-date-picker type="date" v-model="model.trn.exedat" style="width:100%" disabled placeholder="请选择Execution Date"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="根据身份证号">
<c-input
v-model="model.trn.cortrninr"
maxlength="8"
disabled
placeholder="请输入根据身份证号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="信息文本">
<c-input type="textarea" v-model="model.trn.inftxt" maxlength="65" :rows="3" show-word-limit placeholder="请输入信息文本" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin:0;padding: 0 12px;"
size="small"
icon="el-icon-search"
type="primary"
></c-button>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label-width="35%" label="执行日期">
<c-date-picker
type="date"
v-model="model.trn.exedat"
style="width: 100%"
disabled
placeholder="请选择执行日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="信息文本">
<c-input
type="textarea"
v-model="model.trn.inftxt"
maxlength="65"
:rows="3"
show-word-limit
placeholder="请输入信息文本"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin: 0; padding: 0 12px"
size="small"
icon="el-icon-search"
type="primary"
></c-button>
</c-col>
</c-col>
</c-col>
<!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="22">
<el-form-item label="身份证号">
<c-input v-model="model.trn.inr" disabled placeholder="请输入身份证号"></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin:0;padding: 0 14px;"
size="small"
type="primary"
>
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button>
</c-col>
</c-col>
<!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="22">
<el-form-item label="身份证号">
<c-input
v-model="model.trn.inr"
disabled
placeholder="请输入身份证号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" style="text-align: right">
<c-button
style="margin: 0; padding: 0 14px"
size="small"
type="primary"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="交易编号">
<!-- <el-select v-model="model.recpan.atp.cod" style="width: 100%" disabled>
<el-option
v-for="item in codes.atptxt"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select> -->
<c-input v-model="this.atptxt" maxlength="6" disabled placeholder="请输入交易编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易编号">
<c-input
v-model="this.atptxt"
maxlength="6"
disabled
placeholder="请输入交易编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Drop Receiver">
<c-input v-model="model.trn.objnam" maxlength="40" disabled placeholder="请输入External Readable Object Identification"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Drop Receiver">
<c-input
v-model="model.trn.objnam"
maxlength="40"
disabled
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="发布状态">
<!-- <c-input v-model="model.trn.relflg" style="width:100%" disabled placeholder="请选择交易发布状态">
</c-input> -->
<el-select v-model="model.trn.relflg" style="width: 100%" disabled>
<el-option
v-for="item in codes.relstaEN"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="经办柜员">
<c-input v-model="model.recpan.cretrs.usr" maxlength="8" disabled placeholder="请输入经办人"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="35%" label="时间戳">
<c-input v-model="model.recpan.cretrs.dattim" disabled placeholder="请输入时间戳"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="发布状态">
<el-select
v-model="model.trn.relflg"
style="width: 100%"
disabled
>
<el-option
v-for="item in codes.relstaEN"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="经办柜员">
<c-input
v-model="model.recpan.cretrs.usr"
maxlength="8"
disabled
placeholder="请输入经办人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信息标志">
<el-select v-model="model.trn.infdsp" style="width: 100%">
<el-option
v-for="item in codes.infdsp"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="35%" label="时间戳">
<c-input
v-model="model.recpan.cretrs.dattim"
disabled
placeholder="请输入时间戳"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="发送退回至">
<c-input v-model="model.recpan.usr.extkey" disabled style="width:100%" placeholder="">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信息标志">
<el-select v-model="model.trn.infdsp" style="width: 100%">
<el-option
v-for="item in codes.infdsp"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
</c-col>
<!-- -------------------分割线------------------- -->
<!-- <c-col :span="24">
<div style="border-bottom: 10px solid rgb(232, 232, 232);">
</div>
</c-col> -->
<!-- <c-col :span="24" style="height:25px">
<el-divider></el-divider>
</c-col> -->
<c-col :span="24">
<el-form-item label="发送退回至">
<c-input
v-model="model.recpan.usr.extkey"
disabled
style="width: 100%"
placeholder=""
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- -------------------document------------------- -->
<c-col :span="24" style="height:24px">
<el-form-item label="面函/报文" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<!-- <c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input> -->
<c-istream-table :list="documentsData.data" :columns="documentsData.columns" :paginationShow="false" style="width:100%">
<el-table-column
fixed="right"
prop="display"
label="操作"
width="170px"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template>
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="show(scope.$index,scope.row)"
>
显示
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
>
打印
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="User ID">
<c-input v-model="model.recpan.usr.extkey" maxlength="8" placeholder="请输入客户经理"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="">
<c-input v-model="model.recpan.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="24" style="height:24px;margin-top:20px">
<el-form-item label="经办/复核" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height:0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-col :span="24" :offset="0">
<c-istream-table :list="SignaturesData.data" :columns="SignaturesData.columns" :paginationShow="false" style="width:100%">
<el-table-column label="Action" width="auto">
<template slot-scope="scope">
<span>{{flg[scope.row.IDX]}}</span>
<!-- <el-select v-model="action[scope.row.IDX]" style="100%" disabled>
<el-option
v-for="item in codes.flg"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select> -->
</template>
</el-table-column>
</c-istream-table>
</c-col>
</c-col>
<!-- -------------------document------------------- -->
<c-col :span="24" style="height: 24px">
<el-form-item label="面函/报文" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px; margin-top: -5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<!-- <c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input> -->
<c-istream-table
:list="documentsData.data"
:columns="documentsData.columns"
:paginationShow="false"
style="width: 100%"
>
<el-table-column
fixed="right"
prop="display"
label="操作"
width="170px"
>
<template slot="header">
<c-col :span="11" style="text-align: left"
><span>操作</span></c-col
>
<c-col :span="12" style="text-align: right"
><c-button icon="el-icon-s-tools"></c-button
></c-col>
</template>
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="show(scope.$index, scope.row)"
>
显示
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
>
打印
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<!-- -------------------workflow------------------- -->
<c-col :span="24" style="height:24px;margin-top:20px">
<el-form-item label="工作流服务" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height:0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<c-col :span="24" :offset="0">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :paginationShow="false" style="width:100%">
</c-istream-table>
</c-col>
</c-col>
<c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item label="经办/复核" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px; margin-top: -5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-col :span="24" :offset="0">
<c-istream-table
:list="SignaturesData.data"
:columns="SignaturesData.columns"
:paginationShow="false"
style="width: 100%"
>
<el-table-column label="Action" width="auto">
<template slot-scope="scope">
<span>{{ flg[scope.row.IDX] }}</span>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</c-col>
</c-content>
</el-form>
</div>
<!-- </div> -->
</c-content>
</c-page>
<!-- -------------------workflow------------------- -->
<c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item label="工作流服务" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px; margin-top: -5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<c-col :span="24" :offset="0">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:paginationShow="false"
style="width: 100%"
>
</c-istream-table>
</c-col>
</c-col>
</c-content>
</el-form>
</div>
<!-- </div> -->
</c-content>
</c-page>
</template>
<script>
import Trnrel from "~/model/Trnrel";
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
import DocUtils from '~/utils/DocUtils'
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trnrel/Event";
import DocUtils from "~/utils/DocUtils";
export default {
name: "InftrnpsDetail",
mixins: [commonProcess],
data(){
return {
model: new Trnrel().data,
documentsData: {
columns: [
"1 1 \"类型\" 300 1 0:0 1 CORTYP",
"2 2 \"External Key\" 300",
"3 3 \"Document\" auto",
],
data: [],
},
SignaturesData: {
columns: [
'1 2:1 "User" 300',
'2 3:1 "Date / Time" 300',
// '3 5:1 "Action" 400',
'4 1:1 "类型" 300'
],
data: [],
},
codes: { infdsp: CodeTable.infdsp,
flg : CodeTable.flg,
atptxt : CodeTable.atptxt,
relstaEN : CodeTable.relstaEN,
usgtxt : CodeTable.usgtxt,
wfetrssta : CodeTable.wfetrssta },
stmData: {
columns: [
'1 1 "ID" 100',
'2 2 "Service" 100',
// '3 3 "交易状态" 100',
{index:3,position:3,width:100,pattern:'code',label:'交易状态',code: CodeTable.wfetrssta},
'4 4 "Last Update" 100',
'5 5 "Retries" 100',
'6 6 "Text" 200',
'7 7 "Contrary Text" 200',
'8 8 "Target Time" auto'
],
data: [],
},
flg:[],
atptxt:'',
relstaEN:'',
usgtxt:'',
name: "InftrnpsDetail",
mixins: [commonProcess],
data() {
return {
model: new Trnrel().data,
documentsData: {
columns: [
'1 1 "类型" 300 1 0:0 1 CORTYP',
'2 2 "外部密钥" 300',
'3 3 "单据" auto',
],
data: [],
},
SignaturesData: {
columns: [
'1 2:1 "用户" 300',
'2 3:1 "日期/时间" 300',
// '3 5:1 "Action" 400',
'4 1:1 "类型" 300',
],
data: [],
},
codes: {
infdsp: CodeTable.infdsp,
flg: CodeTable.flg,
atptxt: CodeTable.atptxt,
relstaEN: CodeTable.relstaEN,
usgtxt: CodeTable.usgtxt,
wfetrssta: CodeTable.wfetrssta,
},
stmData: {
columns: [
'1 1 "ID" 100',
'2 2 "服务" 100',
// '3 3 "交易状态" 100',
{
index: 3,
position: 3,
width: 100,
pattern: "code",
label: "交易状态",
code: CodeTable.wfetrssta,
},
'4 4 "最后更新" 100',
'5 5 "重试次数" 100',
'6 6 "文本" 200',
'7 7 "对立文本" 200',
'8 8 "目标时间" auto',
],
data: [],
},
flg: [],
atptxt: "",
relstaEN: "",
usgtxt: "",
};
},
mounted() {
this.loadData();
},
methods: {
...Event,
loadData() {
// const { data } = this.$route.query
this.model = JSON.parse(sessionStorage.getItem("InftrnpsDetail"));
this.documentsData.data = this.model.recpan.smhstm.rows;
this.SignaturesData.data = this.model.recpan.trsstm.rows;
this.stmData.data = this.model.recpan.wfestm.rows;
this.flg = this.ArrCalCode(this.SignaturesData.data, this.codes.flg, 3);
this.atptxt = this.strCalCode(
this.model.recpan.atp.cod,
this.codes.atptxt
);
this.relstaEN = this.strCalCode(
this.model.trn.relflg,
this.codes.relstaEN
);
this.usgtxt = this.strCalCode(this.model.trn.usg, this.codes.usgtxt);
},
strCalCode(str, code) {
var result = "";
for (let i = 0; i < code.length; i++) {
if (code[i].value === code) {
result = code[i].label;
continue;
}
}
if (result === "") {
return str;
} else {
return result;
}
},
mounted() {
this.loadData()
ArrCalCode(table, code, index) {
var result = [];
for (let i = 0; i < table.length; i++) {
const d = table[i];
const items = d.split("\t");
result[i] = items[index];
for (let j = 0; j < code.length; j++) {
if (code[j].value === result[i]) {
result[i] = code[j].label;
continue;
}
}
}
return result;
},
exit() {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.history.push("/taskList");
},
methods: {
...Event,
loadData() {
// const { data } = this.$route.query
this.model = JSON.parse(sessionStorage.getItem('InftrnpsDetail'));
this.documentsData.data = this.model.recpan.smhstm.rows;
this.SignaturesData.data = this.model.recpan.trsstm.rows;
this.stmData.data = this.model.recpan.wfestm.rows;
this.flg = this.ArrCalCode(this.SignaturesData.data, this.codes.flg, 3);
this.atptxt = this.strCalCode(this.model.recpan.atp.cod, this.codes.atptxt);
this.relstaEN = this.strCalCode(this.model.trn.relflg, this.codes.relstaEN);
this.usgtxt = this.strCalCode(this.model.trn.usg, this.codes.usgtxt);
},
strCalCode(str, code){
var result = '';
for(let i = 0; i < code.length; i++){
if(code[i].value === code){
result = code[i].label;
continue;
}
}
if(result === ''){
return str;
}else{
return result;
}
},
ArrCalCode(table, code, index){
var result = [];
for (let i = 0; i < table.length; i++) {
const d = table[i];
const items = d.split("\t");
result[i] = items[index];
for(let j = 0; j < code.length; j++){
if(code[j].value === result[i]){
result[i] = code[j].label;
continue;
}
}
}
return result;
},
exit(){
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList");
},
async show(idx,row){
var params = {selDst:"recpan.smhstm",selIds:[idx+1],selBtnId:"A"}
let rtnmsg = await Api.post(`/business/trnrel/executeRule/recpan.smhstm`, this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) {
this.title = "面函"
let viewurl = "/#/docpan/show";
let XMLdata;
if (row.类型 == 'LET') {
window.sessionStorage.docTXT = ''
window.sessionStorage.docXML = rtnmsg.data.docimm_xmldocblk;
}
else if (row.pandsc == "MT799") {
window.sessionStorage.docTXT = ''
XMLdata = rtnmsg.data.litbenl1blk
}
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
else {
const h = this.$createElement
const msg = rtnmsg.respMsg||'请求执行失败!'
this.$notify.error({ title: '错误', message: h('p',{style: 'word-break:break-all;'}, msg) })
}
async show(idx, row) {
var params = {
selDst: "recpan.smhstm",
selIds: [idx + 1],
selBtnId: "A",
};
let rtnmsg = await Api.post(
`/business/trnrel/executeRule/recpan.smhstm`,
this.wrapper(params)
);
if (rtnmsg.respCode == SUCCESS) {
this.title = "面函";
let viewurl = "/#/docpan/show";
let XMLdata;
if (row.类型 == "LET") {
window.sessionStorage.docTXT = "";
window.sessionStorage.docXML = rtnmsg.data.docimm_xmldocblk;
} else if (row.pandsc == "MT799") {
window.sessionStorage.docTXT = "";
XMLdata = rtnmsg.data.litbenl1blk;
}
}
}
window.open(
viewurl,
"newwindow",
"height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no"
);
} else {
const h = this.$createElement;
const msg = rtnmsg.respMsg || "请求执行失败!";
this.$notify.error({
title: "错误",
message: h("p", { style: "word-break:break-all;" }, msg),
});
}
},
},
};
</script>
<style scoped>
.el-col >>> .el-divider--horizontal {
margin-top: 10px;
margin-top: 10px;
}
.formItemLabel >>> .el-form-item__label{
text-align: left;
font-weight:bold;
.formItemLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
}
.el-col >>> .el-divider--horizontal {
margin-top: 5px;
}
.messageLabel >>> .el-form-item__label{
text-align: left;
font-weight:bold;
font-size: 12px;
.messageLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style>
\ No newline at end of file
......@@ -20,20 +20,20 @@
</c-col>
<c-col :span="12">
<el-form-item label="Transaction Key">
<c-input v-model="model.trn.inr" maxlength="8" placeholder="请输入Transaction Key"></c-input>
<el-form-item label="事务处理密钥">
<c-input v-model="model.trn.inr" maxlength="8" placeholder="请输入事务处理密钥"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Ident No.">
<c-input v-model="model.recpan.recget.sdamod.seainf" placeholder="请输入Ident No."></c-input>
<el-form-item label="身份证号码">
<c-input v-model="model.recpan.recget.sdamod.seainf" placeholder="请输入身份证号码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Readable Object Identification">
<c-input v-model="model.trn.objnam" maxlength="40" placeholder="请输入External Readable Object Identification"></c-input>
<el-form-item label="外部可读对象标识">
<c-input v-model="model.trn.objnam" maxlength="40" placeholder="请输入外部可读对象标识"></c-input>
</el-form-item>
</c-col>
......@@ -50,8 +50,8 @@
</c-col>
<c-col :span="12">
<el-form-item label="Transaction ID">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></c-input>
<el-form-item label="事务ID">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入事务ID"></c-input>
</el-form-item>
</c-col>
......@@ -62,75 +62,75 @@
</c-col>
<c-col :span="12">
<el-form-item label="Transaction ID">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></c-input>
<el-form-item label="事务ID">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入事务ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButshw">
&Warning
警告
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Relevant Amount">
<c-input v-model="model.trn.reloricur" maxlength="3" placeholder="请输入Relevant Amount"></c-input>
<el-form-item label="相关金额">
<c-input v-model="model.trn.reloricur" maxlength="3" placeholder="请输入相关金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Relevant Amount for Release in Original Currency">
<c-input v-model="model.trn.reloriamt" placeholder="请输入Relevant Amount for Release in Original Currency"></c-input>
<el-form-item label="原币相关发放金额">
<c-input v-model="model.trn.reloriamt" placeholder="请输入原币相关发放金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Release Status of Transaction">
<c-select v-model="model.trn.relflg" style="width:100%" placeholder="请选择Release Status of Transaction">
<el-form-item label="事务处理的发布状态">
<c-select v-model="model.trn.relflg" style="width:100%" placeholder="请选择事务处理的发布状态">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanNotmap">
Unmapped
未映射
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Responsible">
<c-input v-model="model.trn.usr" maxlength="8" placeholder="请输入Responsible"></c-input>
<el-form-item label="责任">
<c-input v-model="model.trn.usr" maxlength="8" placeholder="请输入责任"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Responsible Group">
<c-input v-model="model.trn.usg" maxlength="6" placeholder="请输入Responsible Group"></c-input>
<el-form-item label="责任小组">
<c-input v-model="model.trn.usg" maxlength="6" placeholder="请输入责任小组"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Signatures Required/Obtained">
<c-input v-model="model.trn.relreq" maxlength="3" placeholder="请输入Signatures Required/Obtained"></c-input>
<el-form-item label="要求/获得的签名">
<c-input v-model="model.trn.relreq" maxlength="3" placeholder="请输入要求/获得的签名"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Applied Signatures">
<c-input v-model="model.trn.relres" maxlength="3" placeholder="请输入Applied Signatures"></c-input>
<el-form-item label="应用的签名">
<c-input v-model="model.trn.relres" maxlength="3" placeholder="请输入应用的签名"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Based on Ident No.">
<c-input v-model="model.trn.cortrninr" maxlength="8" placeholder="请输入Based on Ident No."></c-input>
<el-form-item label="根据身份证号码">
<c-input v-model="model.trn.cortrninr" maxlength="8" placeholder="请输入根据身份证号码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Execution Date">
<c-date-picker type="date" v-model="model.trn.exedat" style="width:100%" placeholder="请选择Execution Date"></c-date-picker>
<el-form-item label="执行日期">
<c-date-picker type="date" v-model="model.trn.exedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
......@@ -145,14 +145,14 @@
</c-col>
<c-col :span="12">
<el-form-item label="Timestamp">
<c-input v-model="model.recpan.cretrs.dattim" placeholder="请输入Timestamp"></c-input>
<el-form-item label="时间戳">
<c-input v-model="model.recpan.cretrs.dattim" placeholder="请输入时间戳"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Send to SOP/CASmf reference">
<c-input v-model="model.recpan.ackgrp.rec.sndref" maxlength="40" placeholder="请输入Send to SOP/CASmf reference"></c-input>
<el-form-item label="发送至SOP/CASmf参考">
<c-input v-model="model.recpan.ackgrp.rec.sndref" maxlength="40" placeholder="请输入发送至SOP/CASmf参考"></c-input>
</el-form-item>
</c-col>
......@@ -167,20 +167,20 @@
</c-col>
<c-col :span="12">
<el-form-item label="Documents">
<c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input>
<el-form-item label="单据">
<c-input v-model="model.recpan.smhstm" placeholder="请输入单据"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanInc">
Show &Incoming
显示传入
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanButord">
Order
订单
</c-button>
</c-col>
......@@ -201,14 +201,14 @@
</c-col>
<c-col :span="12">
<el-form-item label="Infotext">
<c-input type="textarea" v-model="model.trn.inftxt" maxlength="65" show-word-limit placeholder="请输入Infotext" ></c-input>
<el-form-item label="信息文本">
<c-input type="textarea" v-model="model.trn.inftxt" maxlength="65" show-word-limit placeholder="请输入信息文本" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infoflag">
<c-select v-model="model.trn.infdsp" style="width:100%" placeholder="请选择Infoflag">
<el-form-item label="信息标志">
<c-select v-model="model.trn.infdsp" style="width:100%" placeholder="请选择信息标志">
</c-select>
</el-form-item>
</c-col>
......@@ -220,8 +220,8 @@
</c-col>
<c-col :span="12">
<el-form-item label="User ID">
<c-input v-model="model.recpan.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
<el-form-item label="客户经理">
<c-input v-model="model.recpan.usr.extkey" maxlength="8" placeholder="请输入客户经理"></c-input>
</el-form-item>
</c-col>
......@@ -232,8 +232,8 @@
</c-col>
<c-col :span="12">
<el-form-item label="Signatures">
<c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input>
<el-form-item label="签名">
<c-input v-model="model.recpan.trsstm" placeholder="请输入签名"></c-input>
</el-form-item>
</c-col>
</div>
......
......@@ -2,8 +2,8 @@
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="ACKs for transaction">
<c-input v-model="model.recpan.ackstm" placeholder="请输入ACKs for transaction"></c-input>
<el-form-item label="交易确认">
<c-input v-model="model.recpan.ackstm" placeholder="请输入交易确认"></c-input>
</el-form-item>
</c-col>
</div>
......
......@@ -2,14 +2,14 @@
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="stream of history of transactions">
<c-input v-model="model.recpan.evthisstm" placeholder="请输入stream of history of transactions"></c-input>
<el-form-item label="交易历史流">
<c-input v-model="model.recpan.evthisstm" placeholder="请输入交易历史流"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream of events">
<c-input v-model="model.recpan.evtstm" placeholder="请输入stream of events"></c-input>
<el-form-item label="事件流">
<c-input v-model="model.recpan.evtstm" placeholder="请输入事件流"></c-input>
</el-form-item>
</c-col>
</div>
......
......@@ -2,8 +2,8 @@
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="TROs for transaction for display">
<c-input v-model="model.recpan.trostm" placeholder="请输入TROs for transaction for display"></c-input>
<el-form-item label="用于显示交易的TRO">
<c-input v-model="model.recpan.trostm" placeholder="请输入用于显示交易的TRO"></c-input>
</el-form-item>
</c-col>
</div>
......
......@@ -2,27 +2,27 @@
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Table Used to Store Associated Object">
<c-select v-model="model.wfmmod.wfs.objtyp" style="width:100%" placeholder="请选择Table Used to Store Associated Object">
<el-form-item label="用于存储关联对象的表">
<c-select v-model="model.wfmmod.wfs.objtyp" style="width:100%" placeholder="请选择用于存储关联对象的表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Object">
<c-input v-model="model.wfmmod.wfs.objinr" maxlength="8" placeholder="请输入Object"></c-input>
<el-form-item label="对象">
<c-input v-model="model.wfmmod.wfs.objinr" maxlength="8" placeholder="请输入对象"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Readable Object Identification">
<c-input v-model="model.wfmmod.wfs.objnam" maxlength="40" placeholder="请输入External Readable Object Identification"></c-input>
<el-form-item label="外部可读对象标识">
<c-input v-model="model.wfmmod.wfs.objnam" maxlength="40" placeholder="请输入外部可读对象标识"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="WFEs for transaction for display">
<c-input v-model="model.recpan.wfestm" placeholder="请输入WFEs for transaction for display"></c-input>
<el-form-item label="用于显示交易的外资企业">
<c-input v-model="model.recpan.wfestm" placeholder="请输入用于显示交易的外资企业"></c-input>
</el-form-item>
</c-col>
</div>
......
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