Commit a274fe29 by liushikai

待经办详情

parent b5c0d7fa
...@@ -3246,6 +3246,9 @@ const CodeTable = { ...@@ -3246,6 +3246,9 @@ const CodeTable = {
{ label: "Waiting for SRVCOM", value: "R" }, { label: "Waiting for SRVCOM", value: "R" },
{ label: "Waiting for ReDo in SPTREL", value: "S" }, { label: "Waiting for ReDo in SPTREL", value: "S" },
], ],
frm: [
{label:"Advising / Confirming",value:"LETOPN"},
],
hndtyp: [ hndtyp: [
{ label: "Receive to issue", value: "FR" }, { label: "Receive to issue", value: "FR" },
{ label: "Transfer", value: "OT" }, { label: "Transfer", value: "OT" },
......
...@@ -53,17 +53,27 @@ export default { ...@@ -53,17 +53,27 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onDetails() { async onDetails(idx, row) {
this.$router.push({ path: "business/sptpopup", query: { inr: '111' }}); let viewurl = "business/sptpopup";
this.detailDialog=true; const selIds= [idx + 1];
let rtnmsg = await this.executeRule("details") const selDst= "sptstm";
let params = {selIds,selDst};
this.executeRule("sptstm,butspt",params).then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data);
sessionStorage.setItem('Sptpopup', JSON.stringify(this.model));
this.$router.push({ path: viewurl, query: {}});
}else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
/* let rtnmsg = await this.executeRule("details")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} } */
}, },
async continueEdit(row) { async continueEdit(row) {
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}}) //let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
......
...@@ -103,8 +103,8 @@ import Sptpopup from "./Sptsel/Sptpopup" ...@@ -103,8 +103,8 @@ import Sptpopup from "./Sptsel/Sptpopup"
* 带有name的才会被添加进顶部的标签页里 * 带有name的才会被添加进顶部的标签页里
*/ */
const BusRouter = [ const BusRouter = [
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '详情' } }, // { path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '详情' } },
{ path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '详情' } }, { path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '待经办详情' } },
{ path: 'trnfndsDetail', component: TrnfndsDetail, name: 'TrnfndsDetail', meta: { title: '已完成详情' } }, { path: 'trnfndsDetail', component: TrnfndsDetail, name: 'TrnfndsDetail', meta: { title: '已完成详情' } },
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } }, { path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
{ path: 'cltdav', component: Cltdav, name: 'Cltdav', meta: { title: '打包托收开立' } }, { path: 'cltdav', component: Cltdav, name: 'Cltdav', meta: { title: '打包托收开立' } },
......
...@@ -311,7 +311,7 @@ ...@@ -311,7 +311,7 @@
></c-col> --> ></c-col> -->
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="onDetails" <c-button style="margin-left: 0" size="small" @click="onDetails(scope.$index,scope.row)"
>详情 >详情
</c-button> </c-button>
<c-button <c-button
......
<template> <template>
<c-page title=""> <c-page title="">
<c-content :height="120">
<div class="eibs-tab"> <div class="eibs-tab">
<el-form <el-form
:model="model" :model="model"
...@@ -9,12 +10,26 @@ ...@@ -9,12 +10,26 @@
label-width="150px" label-width="150px"
size="small" size="small"
> >
<c-col :span="21" style="height:24px">
<el-form-item label="基本信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="2" style="text-align:right">
<c-button size="small" @click="exit">返回</c-button>
</c-col>
<c-col :span="24" style="height: 10px">
<el-divider></el-divider>
</c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="Type" prop="spt.sta" style="width: 100%"> <el-form-item label="Type" prop="spt.sta" style="width: 100%">
<c-select <c-select
v-model="model.spt.sta" v-model="model.spt.sta"
style="width: 100%" style="width: 100%"
placeholder="请选择Type" placeholder="请选择Type"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -26,6 +41,8 @@ ...@@ -26,6 +41,8 @@
v-model="model.spt.hldflg" v-model="model.spt.hldflg"
style="width: 100%" style="width: 100%"
placeholder="请选择Hold Flag" placeholder="请选择Hold Flag"
:code="codes.hldflg"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -38,6 +55,7 @@ ...@@ -38,6 +55,7 @@
maxlength="40" maxlength="40"
style="width: 100%" style="width: 100%"
placeholder="请输入Reference" placeholder="请输入Reference"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -49,6 +67,7 @@ ...@@ -49,6 +67,7 @@
maxlength="8" maxlength="8"
style="width: 100%" style="width: 100%"
placeholder="请输入Internal Unique ID of Pending Transaction" placeholder="请输入Internal Unique ID of Pending Transaction"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -61,6 +80,7 @@ ...@@ -61,6 +80,7 @@
maxlength="40" maxlength="40"
style="width: 100%" style="width: 100%"
placeholder="请输入Name" placeholder="请输入Name"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -75,16 +95,20 @@ ...@@ -75,16 +95,20 @@
maxlength="6" maxlength="6"
style="width: 95%" style="width: 95%"
placeholder="请输入Transaction " placeholder="请输入Transaction "
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="spt.frm" label-width="0"> <el-form-item label="" prop="spt.frm" label-width="0">
<c-input <c-select
v-model="model.spt.frm" v-model="model.spt.frm"
maxlength="16" maxlength="16"
placeholder="请输入Transaction " placeholder="请输入Transaction "
></c-input> :code="codes.frm"
style="width:100%"
disabled
></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -96,6 +120,7 @@ ...@@ -96,6 +120,7 @@
v-model="model.spt.ownusr" v-model="model.spt.ownusr"
maxlength="8" maxlength="8"
placeholder="请输入Responsible User " placeholder="请输入Responsible User "
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -106,6 +131,7 @@ ...@@ -106,6 +131,7 @@
v-model="model.spt.ownusg" v-model="model.spt.ownusg"
style="width: 100%" style="width: 100%"
placeholder="请选择Responsible Group" placeholder="请选择Responsible Group"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -121,6 +147,7 @@ ...@@ -121,6 +147,7 @@
style="width: 100%" style="width: 100%"
show-word-limit show-word-limit
placeholder="请输入Infotext" placeholder="请输入Infotext"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -130,6 +157,8 @@ ...@@ -130,6 +157,8 @@
v-model="model.spt.infdsp" v-model="model.spt.infdsp"
style="width: 100%; padding-left: 0px" style="width: 100%; padding-left: 0px"
placeholder="请选择Infotext" placeholder="请选择Infotext"
:code="codes.infdsp"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -143,6 +172,7 @@ ...@@ -143,6 +172,7 @@
v-model="model.spt.usr" v-model="model.spt.usr"
maxlength="8" maxlength="8"
placeholder="请输入Entered by" placeholder="请输入Entered by"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -152,6 +182,7 @@ ...@@ -152,6 +182,7 @@
<c-input <c-input
v-model="model.spt.dattim" v-model="model.spt.dattim"
placeholder="请输入Time of Creation" placeholder="请输入Time of Creation"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -162,6 +193,7 @@ ...@@ -162,6 +193,7 @@
v-model="model.spt.cretrn" v-model="model.spt.cretrn"
maxlength="6" maxlength="6"
placeholder="请输入Creating Transaction ID" placeholder="请输入Creating Transaction ID"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -169,12 +201,20 @@ ...@@ -169,12 +201,20 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<el-form-item label="Target for Completion" prop="spt.tardattim"> <el-form-item label="Target for Completion" prop="spt.tardattim">
<c-input v-model="model.spt.tardattim" placeholder="请输入Target for Completion"></c-input> <c-input
v-model="model.spt.tardattim"
placeholder="请输入Target for Completion"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24" style="height:20px"> <c-col :span="24" style="height:24px;margin-top:8px">
<el-form-item label="报文信息表" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
...@@ -215,7 +255,7 @@ ...@@ -215,7 +255,7 @@
&Close &Close
</c-button> </c-button>
</c-col> --> </c-col> -->
<c-col :span="23" style="height:24px;margin-left:9px"> <c-col :span="23" style="margin-left: 9px">
<!-- <el-form-item label-width="500px"> --> <!-- <el-form-item label-width="500px"> -->
<c-table :paginationShow="false" :border="true"> <c-table :paginationShow="false" :border="true">
<el-table-column <el-table-column
...@@ -311,21 +351,34 @@ ...@@ -311,21 +351,34 @@
</c-table> </c-table>
<!-- </el-form-item> --> <!-- </el-form-item> -->
</c-col> </c-col>
<c-col :span="23" style="height:24px;margin-left:9px">
<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">
<el-divider></el-divider>
</c-col>
<c-col :span="23" style="margin-left: 9px">
<!-- <el-form-item label-width="500px"> --> <!-- <el-form-item label-width="500px"> -->
<c-table :paginationShow="false" :border="true"> <!-- <c-table :paginationShow="false" :border="true">
<el-table-column label="Start" width="auto"></el-table-column> <el-table-column label="Start" width="auto"></el-table-column>
<el-table-column label="Type" width="auto"></el-table-column> <el-table-column label="Type" width="auto"></el-table-column>
<el-table-column label="User" width="auto"></el-table-column> <el-table-column label="User" width="auto"></el-table-column>
<el-table-column label="TRN" width="auto"></el-table-column> <el-table-column label="TRN" width="auto"></el-table-column>
<el-table-column label="End" width="auto"></el-table-column> <el-table-column label="End" width="auto"></el-table-column>
<el-table-column label="Text" width="auto"></el-table-column> <el-table-column label="Text" width="auto"></el-table-column>
</c-table> </c-table> -->
<!-- </el-form-item> --> <!-- </el-form-item> -->
<c-istream-table :list="stmData2.data" :columns="stmData2.columns" :paginationShow="false" style="width:100%">
</c-istream-table>
</c-col> </c-col>
</el-form> </el-form>
</div> </div>
</c-page> </c-content>
</c-page>
</template> </template>
<script> <script>
import Sptsel from "~/Model/Sptsel"; import Sptsel from "~/Model/Sptsel";
...@@ -341,15 +394,48 @@ export default { ...@@ -341,15 +394,48 @@ export default {
data() { data() {
return { return {
model: new Sptsel().data, model: new Sptsel().data,
codes: { ...CodeTable }, codes: { hldflg: CodeTable.hldflg ,...CodeTable},
trnName:"sptsel",
stmData2:{
columns:[
"7 1 \"Start\" 0",
"1 2 \"Type\" 0",
"8 3 \"User\" 0",
"4 4 \"TRN\" 0",
"7 5 \"End\" 0",
"6 6 \"Text\" 0",
],
data:[],
}
}; };
}, },
methods: { ...Event }, mounted() {
this.loadData();
},
methods: {
...Event,
loadData() {
this.model = JSON.parse(sessionStorage.getItem("Sptpopup"));
this.executeRule("sptp.ordp0.butore").then((res) => {
this.stmData2.data=res.data.sptstm.rows;
});
},
exit() {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.history.push("/taskList");
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
<style scoped> <style scoped>
.el-col >>> .el-divider--horizontal { .el-col >>> .el-divider--horizontal {
margin-top: 1px; margin-top: 5px;
}
.messageLabel >>> .el-form-item__label{
text-align: left;
font-weight:bold;
font-size: 12px;
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment