Commit 2b8a6d08 by liuxin

待复核已完成详情页修改

parent b5c0d7fa
......@@ -99,13 +99,27 @@ export default {
this.$router.push({ path: viewurl, query: { trn: row['INR'], operateId: operateId } });
},
async onDetail(idx, row) {
async onWaitDetail(idx, row) {
let viewurl = "business/inftrnpsDetail";
const selIds = [idx + 1];
const selDst = "trncorco.trnstm" //列表对应后台模型中的stream
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)) {
Utils.copyValueFromVO(this.model, res.data);
sessionStorage.setItem('InftrnpsDetail', JSON.stringify(this.model));
......
......@@ -103,7 +103,6 @@ import Sptpopup from "./Sptsel/Sptpopup"
* 带有name的才会被添加进顶部的标签页里
*/
const BusRouter = [
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '详情' } },
{ path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '详情' } },
{ path: 'trnfndsDetail', component: TrnfndsDetail, name: 'TrnfndsDetail', meta: { title: '已完成详情' } },
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
......
......@@ -401,7 +401,7 @@
fixed="right"
prop="display"
label="操作"
width="140px"
width="auto"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
......@@ -424,8 +424,7 @@
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onDetail(scope.$index,scope.row)"
@click="onWaitDetail(scope.$index,scope.row)"
>
详情
</c-button>
......
......@@ -27,7 +27,6 @@
<c-content>
<!-- -------------------基础信息------------------- -->
<c-col :span="23">
<c-col :span="8">
<el-form-item label="Reference">
......@@ -213,12 +212,13 @@
</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 label-width="40%" label="Completion text">
<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>
</c-col>
</c-col>
<!-- <c-col :span="23" style="margin-left:9px;height:25px;margin-bottom:10px">
<el-divider></el-divider>
</c-col> -->
......@@ -254,13 +254,16 @@
Pending Item
</c-button>
</c-col> -->
<c-col :span="23" style="margin-left:9px;height:25px">
<el-divider></el-divider>
<c-col :span="23">
<div style="border-bottom: 10px solid rgb(232, 232, 232);">
</div>
</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;">
<c-col :span="23" style="height:14px;margin-top:5px">
<el-form-item class="formItemLabel" label="Documents:">
</el-form-item>
</c-col>
......@@ -448,15 +451,15 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="23">
<c-col :span="23">
<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" :paginationShow="false" style="width:100%">
<el-table-column
<!-- <el-table-column
fixed="right"
prop="display"
label="操作"
width="auto"
width="150px"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
......@@ -480,10 +483,10 @@
处理
</c-button>
</template>
</el-table-column>
</el-table-column> -->
</c-istream-table>
</c-col>
</c-col>
</c-col>
</c-content>
</el-form>
......@@ -519,7 +522,7 @@ export default {
columns: [
'1 2:1 "User" 200',
'2 3:1 "Date / Time" 200',
'3 5:1 "Action" 200',
'3 5:1 "Action" 400',
'4 1:1 "Type" 200'
],
data: [],
......@@ -531,8 +534,8 @@ export default {
'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',
'6 6 "Text" 500',
'7 7 "Contrary Text" 500',
'8 8 "Target Time" 200'
],
data: [],
......
......@@ -390,7 +390,7 @@
fixed="right"
prop="display"
label="操作"
width="140px"
width="auto"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
......@@ -400,8 +400,7 @@
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onDetail(scope.$index,scope.row)"
@click="onFinishDetail(scope.$index,scope.row)"
>
详情
</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