Commit e502cfd5 by liuxin

待复核详情页调整

parent 7795d9ba
......@@ -5826,5 +5826,9 @@ const CodeTable = {
{ label: "混合付款单据", value: "M" },
{ label: "即期单据", value: "P" },
],
infdsp: [
{ label: "Do not display", value: "" },
{ label: "Automatically display", value: "1" },
],
}
export default CodeTable;
\ No newline at end of file
......@@ -96,12 +96,13 @@ import Bttrcl from "./Bttrcl"
import Betacc from "./Betacc"
import Betrcl from "./Betrcl"
import InftrnpsDetail from "./Trnrel/InftrnpsDetail"
import TrnfndsDetail from "./Trnrel/Trnfnd/TrnfndsDetail"
/**
* 带有name的才会被添加进顶部的标签页里
*/
const BusRouter = [
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '详情' } },
{ path: 'trnfndsDetail', component: TrnfndsDetail, name: 'TrnfndsDetail', meta: { title: '已完成详情' } },
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
{ path: 'cltdav', component: Cltdav, name: 'Cltdav', meta: { title: '打包托收开立' } },
{ path: 'clttra', component: Clttra, name: 'Clttra', meta: { title: '打包托收催收' } },
{ path: 'cltset', component: Cltset, name: 'Cltset', meta: { title: '打包托收解包' } },
......
......@@ -2,11 +2,14 @@
<c-page title="">
<div class="eContainer">
<div class="eibs-tab">
<c-function-btn :hideFuncBtn="true"
>
<el-button size="small">Detail</el-button>
<el-button size="small">Warning</el-button>
</c-function-btn>
<c-col :span="23">
<div style="float:right;margin-bottom:10px">
<el-button size="small">交易快照</el-button>
<el-button size="small">智能提示</el-button>
<el-button size="small" @click="exit">退出</el-button>
</div>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.recpan.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
......@@ -19,8 +22,12 @@
:validate-on-rule-change="false"
label-width="150px"
size="small"
style="margin-left:15px"
>
<c-content>
<!-- -------------------基础信息------------------- -->
<c-col :span="23">
<c-col :span="8">
<el-form-item label="Reference">
......@@ -28,10 +35,14 @@
</el-form-item>
</c-col>
<c-col :span="1">
<c-button size="small" type="primary">
i
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
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="12">
<el-form-item label="Reference">
<c-input v-model="model.recpan.con" placeholder="请输入Reference"></c-input>
......@@ -55,12 +66,16 @@
</c-col>
<c-col :span="1">
<c-button size="small" type="primary">
i
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
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="6">
<c-col :span="7">
<c-input v-model="model.trn.objnam" maxlength="40" placeholder="请输入External Readable Object Identification"></c-input>
</c-col>
</c-col>
......@@ -92,9 +107,17 @@
</c-col> -->
<c-col :span="1">
<c-button size="small" type="primary">
i
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button>
</c-col>
<c-col :span="1">
&nbsp;
</c-col>
<c-col :span="14">
......@@ -115,7 +138,10 @@
<c-input v-model="model.trn.reloricur" maxlength="3" placeholder="请输入Relevant Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="1">
&nbsp;
</c-col>
<c-col :span="11">
<c-input v-model="model.trn.reloriamt" placeholder="请输入Relevant Amount for Release in Original Currency"></c-input>
</c-col>
</c-row>
......@@ -193,6 +219,11 @@
</c-col>
</c-col>
<!-- <c-col :span="23" style="margin-left:9px;height:25px;margin-bottom:10px">
<el-divider></el-divider>
</c-col> -->
<!-- -------------------Entered by------------------- -->
<c-col :span="23">
<c-col :span="6">
<el-form-item label="Entered by">
......@@ -223,11 +254,20 @@
Pending Item
</c-button>
</c-col> -->
<c-col :span="23" style="margin-left:9px;height:25px">
<el-divider></el-divider>
</c-col>
<!-- -------------------document------------------- -->
<c-col :span="23" style="height:14px;">
<el-form-item class="formItemLabel" label="Documents:">
</el-form-item>
</c-col>
<c-col :span="23">
<el-form-item label="Documents">
<!-- <c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input> -->
<c-istream-table :list="documentsData.data" :columns="documentsData.columns" style="width:100%">
<c-col :span="24">
<c-istream-table :list="documentsData.data" :columns="documentsData.columns" :paginationShow="false" style="width:100%">
<el-table-column
fixed="right"
prop="display"
......@@ -238,27 +278,23 @@
<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="onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onHandle(scope.$index,scope.row)"
>
处理
</c-button>
<template>
<c-button
style="margin-left: 0"
size="small"
>
Show
</c-button>
<c-button
style="margin-left: 0"
size="small"
>
生成PDF
</c-button>
</template>
</el-table-column>
</c-istream-table>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
......@@ -289,22 +325,49 @@
</c-button>
</c-col> -->
<c-col :span="23">
<c-col :span="16">
<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>
</c-col>
<c-col :span="1">
<c-button size="small" type="primary">
...
</c-button>
<c-col :span="23" style="margin-left:9px;height:25px">
<el-divider></el-divider>
</c-col>
<!-- -------------------Infotext------------------- -->
<c-col :span="23" style="margin-top:10px">
<c-col :span="17">
<c-col :span="22">
<el-form-item label="Infotext">
<c-input type="textarea" v-model="model.trn.inftxt" maxlength="65" :rows="3" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
style="margin:0 10px 0 10px;padding: 0 10px;"
size="small"
icon="el-icon-search"
type="primary"
></c-button>
</c-col>
</c-col>
<c-col :span="6">
<el-form-item label-width="20%" label="Infoflag">
<c-input v-model="model.trn.infdsp" style="width:100%" placeholder="请选择Infoflag">
</c-input>
</el-form-item>
<c-col :span="7">
<c-col :span="24">
<el-form-item label-width="40%">
<!-- <c-input v-model="model.trn.infdsp" style="width:100%" placeholder="请选择Infoflag">
</c-input> -->
<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-width="40%" label="Send for Repair to">
<c-input v-model="model.recpan.usr.extkey" disabled style="width:100%" placeholder="请选择extkey">
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
......@@ -320,11 +383,14 @@
</el-form-item>
</c-col>
-->
<c-col :span="23" style="height:14px;">
<el-form-item class="formItemLabel" label="Signatures:">
</el-form-item>
</c-col>
<c-col :span="23">
<c-col :span="18">
<el-form-item label="Signatures">
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-istream-table :list="SignaturesData.data" :columns="SignaturesData.columns" style="width:100%">
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-col :span="24">
<c-istream-table :list="SignaturesData.data" :columns="SignaturesData.columns" :paginationShow="false" style="width:100%">
<el-table-column
fixed="right"
prop="display"
......@@ -335,30 +401,35 @@
<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="onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onHandle(scope.$index,scope.row)"
>
处理
</c-button>
</template>
<!-- <template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onHandle(scope.$index,scope.row)"
>
处理
</c-button>
</template> -->
</el-table-column>
</c-istream-table>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="23" style="margin-left:9px;height:25px;margin-bottom:10px">
<el-divider></el-divider>
</c-col>
<!-- -------------------workflow------------------- -->
<c-col :span="23">
<c-col :span="12">
<el-form-item label="Object">
......@@ -377,11 +448,10 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="23">
<el-form-item>
<c-col :span="24">
<!-- <c-input v-model="model.recpan.wfestm" placeholder="请输入WFEs for transaction for display"></c-input> -->
<c-istream-table :list="stmData.data" :columns="stmData.columns" style="width:100%">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :paginationShow="false" style="width:100%">
<el-table-column
fixed="right"
prop="display"
......@@ -412,7 +482,7 @@
</template>
</el-table-column>
</c-istream-table>
</el-form-item>
</c-col>
</c-col>
</c-content>
......@@ -447,10 +517,10 @@ export default {
},
SignaturesData: {
columns: [
'1 2:1 "User" 70 50',
'1 2:1 "User" 200',
'2 3:1 "Date / Time" 200',
'3 5:1 "Action" 120',
'4 1:1 "Type" 150'
'3 5:1 "Action" 200',
'4 1:1 "Type" 200'
],
data: [],
},
......@@ -467,9 +537,9 @@ export default {
],
data: [],
},
codes: { infdsp: CodeTable.infdsp },
}
},
methods:{...Event},
mounted() {
this.loadData()
},
......@@ -480,10 +550,21 @@ export default {
this.documentsData.data = this.model.recpan.smhstm.rows;
this.SignaturesData.data = this.model.recpan.trsstm.rows;
this.stmData.data = this.model.recpan.wfestm.rows;
}
},
exit(){
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList");
},
...Event
}
}
</script>
<style>
<style scoped>
.el-col >>> .el-divider--horizontal {
margin-top: 10px;
}
.formItemLabel >>> .el-form-item__label{
text-align: left;
font-weight:bold;
}
</style>
\ No newline at end of file
<template>
<c-page title="">
<div class="eContainer">
<div class="eibs-tab">
<c-function-btn :hideFuncBtn="true" :handleStash="true"
>
<el-button size="small">交易快照</el-button>
<el-button size="small">智能提示</el-button>
</c-function-btn>
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.recpan.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<el-form
:model="model"
ref="modelForm"
tokenKey="modelForm"
:validate-on-rule-change="false"
label-width="150px"
size="small"
>
<c-content>
<c-col :span="23">
<c-col :span="8">
<el-form-item label="Reference">
<c-input v-model="model.trn.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button size="small" type="primary">
i
</c-button>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Reference">
<c-input v-model="model.recpan.con" placeholder="请输入Reference"></c-input>
</el-form-item>
</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>
</c-col> -->
<c-col :span="6">
<el-form-item label-width="30%" label="Ident No.">
<c-input v-model="model.trn.inr" placeholder="请输入Ident No."></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
&nbsp;
</c-col>
<c-col :span="1">
<c-button size="small" type="primary">
i
</c-button>
</c-col>
<c-col :span="6">
<c-input v-model="model.trn.objnam" maxlength="40" placeholder="请输入External Readable Object Identification"></c-input>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanDet">
详情
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.recpan.atpget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="23">
<c-col :span="8">
<el-form-item label="Transaction ID">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Transaction">
<c-input v-model="model.recpan.atpget.sdamod.seainf" placeholder="请输入Transaction"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="1">
<c-button size="small" type="primary">
i
</c-button>
</c-col>
<c-col :span="14">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></c-input>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButshw">
&Warning
</c-button>
</c-col> -->
<c-col :span="23">
<c-col :span="12">
<c-row>
<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>
</c-col>
<c-col :span="12">
<c-input v-model="model.trn.reloriamt" placeholder="请输入Relevant Amount for Release in Original Currency"></c-input>
</c-col>
</c-row>
</c-col>
<c-col :span="12">
<el-form-item label-width="40%" label="Release Status of Transaction">
<c-input v-model="model.trn.relflg" style="width:100%" placeholder="请选择Release Status of Transaction">
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanNotmap">
Unmapped
</c-button>
</c-col> -->
<c-col :span="23">
<c-col :span="6">
<el-form-item label="Responsible">
<c-input v-model="model.trn.usr" maxlength="8" placeholder="请输入Responsible"></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label-width="35%" label="Group">
<c-input v-model="model.trn.usg" maxlength="6" placeholder="请输入Responsible Group"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="40%" label="Signatures Required/Obtained">
<c-row>
<c-col :span="11">
<c-input v-model="model.trn.relreq" maxlength="3" placeholder="请输入Signatures Required/Obtained"></c-input>
</c-col>
<c-col :span="2">
<span style="margin-left:40%">/</span>
</c-col>
<c-col :span="11">
<c-input v-model="model.trn.relres" maxlength="3" placeholder="请输入Applied Signatures"></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
</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>
</c-col> -->
<c-col :span="23">
<c-col :span="6">
<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>
</c-col>
<c-col :span="6">
<el-form-item label-width="35%" 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>
</c-col>
<c-col :span="12">
<el-form-item>
<span style="text-align:center;display:block;" v-text="model.recpan.cpltxt" data-path=".recpan.cpltxt" > </span>
</el-form-item>
</c-col>
</c-col>
<c-col :span="23">
<c-col :span="6">
<el-form-item label="Entered by">
<c-input v-model="model.recpan.cretrs.usr" maxlength="8" placeholder="请输入Entered by"></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label-width="35%" label="Timestamp">
<c-input v-model="model.recpan.cretrs.dattim" placeholder="请输入Timestamp"></c-input>
</el-form-item>
</c-col>
</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>
</c-col> -->
<!-- <c-col :span="12">
<span v-text="model.recpan.spt.sta" data-path=".recpan.spt.sta" > </span>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanButspt">
Pending Item
</c-button>
</c-col> -->
<c-col :span="23">
<el-form-item label="Documents">
<!-- <c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input> -->
<c-istream-table :list="documentsData.data" :columns="documentsData.columns" style="width:100%">
<el-table-column
fixed="right"
prop="display"
label="操作"
width="auto"
>
<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="onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onHandle(scope.$index,scope.row)"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</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> -->
<!-- <c-col :span="12">
<span v-text="model.recpan.ord.sta" data-path=".recpan.ord.sta" > </span>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onImgmod1Image">
imgyge
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanIncben">
Inc to Ben
</c-button>
</c-col> -->
<c-col :span="23">
<c-col :span="16">
<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>
</c-col>
<c-col :span="1">
<c-button size="small" type="primary">
...
</c-button>
</c-col>
<c-col :span="6">
<el-form-item label-width="20%" label="Infoflag">
<c-input v-model="model.trn.infdsp" style="width:100%" placeholder="请选择Infoflag">
</c-input>
</el-form-item>
</c-col>
</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>
</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="23">
<c-col :span="18">
<el-form-item label="Signatures">
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-istream-table :list="SignaturesData.data" :columns="SignaturesData.columns" style="width:100%">
<el-table-column
fixed="right"
prop="display"
label="操作"
width="auto"
>
<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="onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onHandle(scope.$index,scope.row)"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</el-form-item>
</c-col>
</c-col>
<c-col :span="23">
<c-col :span="12">
<el-form-item label="Object">
<c-col :span="10">
<c-input v-model="model.wfmmod.wfs.objtyp" style="width:100%" placeholder="请选择Table Used to Store Associated Object"></c-input>
</c-col>
<c-col :span="10">
<c-input v-model="model.wfmmod.wfs.objinr" maxlength="8" placeholder="请输入Object"></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Object Name">
<c-input v-model="model.wfmmod.wfs.objnam" maxlength="40" placeholder="请输入External Readable Object Identification"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="23">
<el-form-item>
<!-- <c-input v-model="model.recpan.wfestm" placeholder="请输入WFEs for transaction for display"></c-input> -->
<c-istream-table :list="stmData.data" :columns="stmData.columns" style="width:100%">
<el-table-column
fixed="right"
prop="display"
label="操作"
width="auto"
>
<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="onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onHandle(scope.$index,scope.row)"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</el-form-item>
</c-col>
</c-content>
</el-form>
</div>
</div>
</c-page>
</template>
<script>
import Trnrel from "~/Model/Trnrel";
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
name: "InftrnpsDetail",
mixins: [CommonProcess],
data(){
return {
model: new Trnrel().data,
documentsData: {
columns: [
"1 1 \"Type\" 60 1 0:0 1 CORTYP",
"2 2 \"External Key\" 210",
"3 3 \"Document\" 240",
"4 4 \"Show\" 80 5 6:1 0 A",
"5 5 \"GenPDF\" 80 5 6:1 0 B"
],
data: [],
},
SignaturesData: {
columns: [
'1 2:1 "User" 70 50',
'2 3:1 "Date / Time" 200',
'3 5:1 "Action" 120',
'4 1:1 "Type" 150'
],
data: [],
},
stmData: {
columns: [
'1 1 "ID" 50',
'2 2 "Service" 125 1 0:0 1 SRVTXT',
'3 3 "Status" 80 1 0:0 1 WFE:STA',
'4 4 "Last Update" 102',
'5 5 "Retries" 100 1 0:1',
'6 6 "Text" 300',
'7 7 "Contrary Text" 200',
'8 8 "Target Time" 200'
],
data: [],
},
}
},
methods:{...Event},
mounted() {
this.loadData()
},
methods: {
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;
}
}
}
</script>
<style>
</style>
\ No newline at end of file
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