Commit 325e16e1 by liuxin

待复核已完成详情码表调整

parent 9c7a14b5
......@@ -2,7 +2,7 @@
<c-page title="">
<!-- <div class="eContainer"> -->
<c-content :height="120">
<div class="eibs-tab">
<div class="eibs-tab" style="margin-left:9px;padding:5px 5px 5px 5px">
<!-- <c-col :span="23">
<div style="float:right;margin-bottom:10px">
<el-button size="small">交易快照</el-button>
......@@ -168,15 +168,15 @@
<c-col :span="24">
<el-form-item label="Transaction ID">
<el-select v-model="model.recpan.atp.cod" style="width: 100%" disabled>
<!-- <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="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></c-input> -->
</el-select> -->
<c-input v-model="this.atptxt" maxlength="6" disabled placeholder="请输入Transaction ID"></c-input>
</el-form-item>
</c-col>
......@@ -269,47 +269,44 @@
</c-col> -->
<!-- -------------------document------------------- -->
<c-col :span="24" style="height:24px">
<c-col :span="23" style="height:24px">
<el-form-item label="面函/报文" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height: 0px">
<c-col :span="23" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="23">
<!-- <c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input> -->
<c-col :span="23" :offset="1">
<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"
@click="show(scope.$index,scope.row)"
>
Show
</c-button>
<!-- <c-button
style="margin-left: 0"
size="small"
>
生成PDF
</c-button> -->
</template>
</el-table-column>
</c-istream-table>
</c-col>
<!-- <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"
@click="show(scope.$index,scope.row)"
>
Show
</c-button>
<!-- <c-button
style="margin-left: 0"
size="small"
>
生成PDF
</c-button> -->
</template>
</el-table-column>
</c-istream-table>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="User ID">
......@@ -323,20 +320,20 @@
</el-form-item>
</c-col>
-->
<c-col :span="24" style="height:24px;margin-top:30px">
<c-col :span="24" style="height:24px;margin-top:20px">
<el-form-item label="经办/复核" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height:0px;">
<c-col :span="23" style="height:0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="23">
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-col :span="23" :offset="1">
<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>{{action[scope.row.IDX]}}</span>
<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"
......@@ -352,15 +349,15 @@
</c-col>
<!-- -------------------workflow------------------- -->
<c-col :span="24" style="height:24px;margin-top:30px">
<c-col :span="24" style="height:24px;margin-top:20px">
<el-form-item label="工作流服务" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height:0px;">
<c-col :span="23" style="height:0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="23">
<c-col :span="23" :offset="1">
<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>
......@@ -416,21 +413,7 @@ export default {
'1 1 "ID" 100',
'2 2 "Service" 125',
// '3 3 "Status" 100',
{index:3,position:3,width:100,pattern:'code',label:'Status',code:[{ label: "Done", value: "D" },
{ label: "Released", value: "1" },
{ label: "Cancel", value: "C" },
{ label: "Error", value: "E" },
{ label: "Open", value: "O" },
{ label: "Created", value: "6" },
{ label: "Waiting", value: "W" },
{ label: "Reject", value: "2" },
{ label: "Active", value: "A" },
{ label: "External confirmation", value: "5" },
{ label: "Skip", value: "S" },
{ label: "Correction required", value: "3" },
{ label: "Signed at creation", value: "4" },
{ label: "Retry", value: "R" },]},
// {index:1,position:4,width:100,pattern:'code',label:'状态',code:this.codes.sptrelstatus},
{index:3,position:3,width:100,pattern:'code',label:'Status',code: CodeTable.wfetrssta},
'4 4 "Last Update" 125',
'5 5 "Retries" 100',
'6 6 "Text" 300',
......@@ -439,7 +422,10 @@ export default {
],
data: [],
},
action:[],
flg:[],
atptxt:'',
relstaEN:'',
usgtxt:'',
}
},
mounted() {
......@@ -453,10 +439,26 @@ 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;
var code = this.codes.flg;
this.action = this.CalCode(this.SignaturesData.data, code, 3);
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;
}
},
CalCode(table, code, index){
ArrCalCode(table, code, index){
var result = [];
for (let i = 0; i < table.length; i++) {
const d = table[i];
......
......@@ -2,7 +2,7 @@
<c-page title="">
<!-- <div class="eContainer"> -->
<c-content :height="120">
<div class="eibs-tab">
<div class="eibs-tab" style="margin-left:9px;padding:5px 5px 5px 5px">
<!-- <c-col :span="23">
<div style="float:right;margin-bottom:10px">
<el-button size="small">交易快照</el-button>
......@@ -168,15 +168,15 @@
<c-col :span="24">
<el-form-item label="Transaction ID">
<el-select v-model="model.recpan.atp.cod" style="width: 100%" disabled>
<!-- <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="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></c-input> -->
</el-select> -->
<c-input v-model="this.atptxt" maxlength="6" disabled placeholder="请输入Transaction ID"></c-input>
</el-form-item>
</c-col>
......@@ -269,47 +269,44 @@
</c-col> -->
<!-- -------------------document------------------- -->
<c-col :span="24" style="height:24px">
<c-col :span="23" style="height:24px">
<el-form-item label="面函/报文" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height: 0px">
<c-col :span="23" style="height: 0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="23">
<!-- <c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input> -->
<c-col :span="23" :offset="1">
<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"
@click="show(scope.$index,scope.row)"
>
Show
</c-button>
<!-- <c-button
style="margin-left: 0"
size="small"
>
生成PDF
</c-button> -->
</template>
</el-table-column>
</c-istream-table>
</c-col>
<!-- <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"
@click="show(scope.$index,scope.row)"
>
Show
</c-button>
<!-- <c-button
style="margin-left: 0"
size="small"
>
生成PDF
</c-button> -->
</template>
</el-table-column>
</c-istream-table>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="User ID">
......@@ -323,20 +320,20 @@
</el-form-item>
</c-col>
-->
<c-col :span="24" style="height:24px;margin-top:30px">
<c-col :span="24" style="height:24px;margin-top:20px">
<el-form-item label="经办/复核" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height:0px;">
<c-col :span="23" style="height:0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="23">
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-col :span="23" :offset="1">
<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>{{action[scope.row.IDX]}}</span>
<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"
......@@ -352,15 +349,15 @@
</c-col>
<!-- -------------------workflow------------------- -->
<c-col :span="24" style="height:24px;margin-top:30px">
<c-col :span="24" style="height:24px;margin-top:20px">
<el-form-item label="工作流服务" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="23" style="height:0px;">
<c-col :span="23" style="height:0px;margin-top:-5px">
<el-divider></el-divider>
</c-col>
<c-col :span="23">
<c-col :span="23" :offset="1">
<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>
......@@ -416,21 +413,7 @@ export default {
'1 1 "ID" 100',
'2 2 "Service" 125',
// '3 3 "Status" 100',
{index:3,position:3,width:100,pattern:'code',label:'Status',code:[{ label: "Done", value: "D" },
{ label: "Released", value: "1" },
{ label: "Cancel", value: "C" },
{ label: "Error", value: "E" },
{ label: "Open", value: "O" },
{ label: "Created", value: "6" },
{ label: "Waiting", value: "W" },
{ label: "Reject", value: "2" },
{ label: "Active", value: "A" },
{ label: "External confirmation", value: "5" },
{ label: "Skip", value: "S" },
{ label: "Correction required", value: "3" },
{ label: "Signed at creation", value: "4" },
{ label: "Retry", value: "R" },]},
// {index:1,position:4,width:100,pattern:'code',label:'状态',code:this.codes.sptrelstatus},
{index:3,position:3,width:100,pattern:'code',label:'Status',code: CodeTable.wfetrssta},
'4 4 "Last Update" 125',
'5 5 "Retries" 100',
'6 6 "Text" 300',
......@@ -439,7 +422,10 @@ export default {
],
data: [],
},
action:[],
flg:[],
atptxt:'',
relstaEN:'',
usgtxt:'',
}
},
mounted() {
......@@ -453,10 +439,26 @@ 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;
var code = this.codes.flg;
this.action = this.CalCode(this.SignaturesData.data, code, 3);
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;
}
},
CalCode(table, code, index){
ArrCalCode(table, code, index){
var result = [];
for (let i = 0; i < table.length; i++) {
const d = table[i];
......
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