Commit 2b8a6d08 by liuxin

待复核已完成详情页修改

parent b5c0d7fa
...@@ -99,13 +99,27 @@ export default { ...@@ -99,13 +99,27 @@ export default {
this.$router.push({ path: viewurl, query: { trn: row['INR'], operateId: operateId } }); this.$router.push({ path: viewurl, query: { trn: row['INR'], operateId: operateId } });
}, },
async onWaitDetail(idx, row) {
async onDetail(idx, row) {
let viewurl = "business/inftrnpsDetail"; let viewurl = "business/inftrnpsDetail";
const selIds = [idx + 1]; const selIds = [idx + 1];
const selDst = "trncorco.trnstm" //列表对应后台模型中的stream const selDst = "trncorco.trnstm" //列表对应后台模型中的stream
let params = { selDst, selIds }; let params = { selDst, selIds };
this.executeRule("dsp",params).then((res) => { this.executeRule("dsp,reldsp",params).then((res) => {
if ((res.respCode = SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
sessionStorage.setItem('InftrnpsDetail', JSON.stringify(this.model));
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this.$router.push({ path: viewurl, query: {} });
}
});
},
async onFinishDetail(idx, row) {
let viewurl = "business/trnfndsDetail";
const selIds = [idx + 1];
const selDst = "trncorco.trnstm" //列表对应后台模型中的stream
let params = { selDst, selIds };
this.executeRule("dsp,reldsp",params).then((res) => {
if ((res.respCode = SUCCESS)) { if ((res.respCode = SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
sessionStorage.setItem('InftrnpsDetail', JSON.stringify(this.model)); sessionStorage.setItem('InftrnpsDetail', JSON.stringify(this.model));
......
...@@ -103,7 +103,6 @@ import Sptpopup from "./Sptsel/Sptpopup" ...@@ -103,7 +103,6 @@ import Sptpopup from "./Sptsel/Sptpopup"
* 带有name的才会被添加进顶部的标签页里 * 带有name的才会被添加进顶部的标签页里
*/ */
const BusRouter = [ const BusRouter = [
{ 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: '待复核详情' } },
......
...@@ -401,7 +401,7 @@ ...@@ -401,7 +401,7 @@
fixed="right" fixed="right"
prop="display" prop="display"
label="操作" label="操作"
width="140px" width="auto"
> >
<template slot="header"> <template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col> <c-col :span="11" style="text-align:left"><span>操作</span></c-col>
...@@ -424,8 +424,7 @@ ...@@ -424,8 +424,7 @@
<c-button <c-button
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
type="primary" @click="onWaitDetail(scope.$index,scope.row)"
@click="onDetail(scope.$index,scope.row)"
> >
详情 详情
</c-button> </c-button>
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
<c-content> <c-content>
<!-- -------------------基础信息------------------- --> <!-- -------------------基础信息------------------- -->
<c-col :span="23"> <c-col :span="23">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Reference"> <el-form-item label="Reference">
...@@ -213,8 +212,9 @@ ...@@ -213,8 +212,9 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item> <el-form-item label-width="40%" label="Completion text">
<span style="text-align:center;display:block;" v-text="model.recpan.cpltxt" data-path=".recpan.cpltxt" > </span> <c-input style="font-weight:bold" v-model="model.recpan.cpltxt" disabled placeholder="请输入Based on Ident No."></c-input>
<!-- <span style="text-align:center;display:block;" v-text="model.recpan.cpltxt" data-path=".recpan.cpltxt" > </span> -->
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -254,13 +254,16 @@ ...@@ -254,13 +254,16 @@
Pending Item Pending Item
</c-button> </c-button>
</c-col> --> </c-col> -->
<c-col :span="23">
<c-col :span="23" style="margin-left:9px;height:25px"> <div style="border-bottom: 10px solid rgb(232, 232, 232);">
<el-divider></el-divider> </div>
</c-col> </c-col>
<!-- <c-col :span="23" style="margin-left:9px;height:25px">
<el-divider></el-divider>
</c-col> -->
<!-- -------------------document------------------- --> <!-- -------------------document------------------- -->
<c-col :span="23" style="height:14px;"> <c-col :span="23" style="height:14px;margin-top:5px">
<el-form-item class="formItemLabel" label="Documents:"> <el-form-item class="formItemLabel" label="Documents:">
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -452,11 +455,11 @@ ...@@ -452,11 +455,11 @@
<c-col :span="24"> <c-col :span="24">
<!-- <c-input v-model="model.recpan.wfestm" placeholder="请输入WFEs for transaction for display"></c-input> --> <!-- <c-input v-model="model.recpan.wfestm" placeholder="请输入WFEs for transaction for display"></c-input> -->
<c-istream-table :list="stmData.data" :columns="stmData.columns" :paginationShow="false" style="width:100%"> <c-istream-table :list="stmData.data" :columns="stmData.columns" :paginationShow="false" style="width:100%">
<el-table-column <!-- <el-table-column
fixed="right" fixed="right"
prop="display" prop="display"
label="操作" label="操作"
width="auto" width="150px"
> >
<template slot="header"> <template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col> <c-col :span="11" style="text-align:left"><span>操作</span></c-col>
...@@ -480,7 +483,7 @@ ...@@ -480,7 +483,7 @@
处理 处理
</c-button> </c-button>
</template> </template>
</el-table-column> </el-table-column> -->
</c-istream-table> </c-istream-table>
</c-col> </c-col>
</c-col> </c-col>
...@@ -519,7 +522,7 @@ export default { ...@@ -519,7 +522,7 @@ export default {
columns: [ columns: [
'1 2:1 "User" 200', '1 2:1 "User" 200',
'2 3:1 "Date / Time" 200', '2 3:1 "Date / Time" 200',
'3 5:1 "Action" 200', '3 5:1 "Action" 400',
'4 1:1 "Type" 200' '4 1:1 "Type" 200'
], ],
data: [], data: [],
...@@ -531,8 +534,8 @@ export default { ...@@ -531,8 +534,8 @@ export default {
'3 3 "Status" 80 1 0:0 1 WFE:STA', '3 3 "Status" 80 1 0:0 1 WFE:STA',
'4 4 "Last Update" 102', '4 4 "Last Update" 102',
'5 5 "Retries" 100 1 0:1', '5 5 "Retries" 100 1 0:1',
'6 6 "Text" 300', '6 6 "Text" 500',
'7 7 "Contrary Text" 200', '7 7 "Contrary Text" 500',
'8 8 "Target Time" 200' '8 8 "Target Time" 200'
], ],
data: [], data: [],
......
...@@ -390,7 +390,7 @@ ...@@ -390,7 +390,7 @@
fixed="right" fixed="right"
prop="display" prop="display"
label="操作" label="操作"
width="140px" width="auto"
> >
<template slot="header"> <template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col> <c-col :span="11" style="text-align:left"><span>操作</span></c-col>
...@@ -400,8 +400,7 @@ ...@@ -400,8 +400,7 @@
<c-button <c-button
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
type="primary" @click="onFinishDetail(scope.$index,scope.row)"
@click="onDetail(scope.$index,scope.row)"
> >
详情 详情
</c-button> </c-button>
......
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