Commit c5374b96 by liuxin

已完成详情页调整

parent dd2b8f67
<template> <template>
<c-page title=""> <c-page title="">
<div class="eContainer"> <!-- <div class="eContainer"> -->
<c-content :height="120">
<div class="eibs-tab"> <div class="eibs-tab">
<!-- <c-col :span="23"> <!-- <c-col :span="23">
<div style="float:right;margin-bottom:10px"> <div style="float:right;margin-bottom:10px">
...@@ -23,7 +24,6 @@ ...@@ -23,7 +24,6 @@
:validate-on-rule-change="false" :validate-on-rule-change="false"
label-width="150px" label-width="150px"
size="small" size="small"
style="margin-left:15px"
> >
<c-content> <c-content>
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10" style="text-align:right"> <c-col :span="10" style="text-align:right">
<el-button size="small">交易快照</el-button> <c-button size="small" type="primary" style="margin-left:0" @click="display">交易快照</c-button>
<el-button size="small">智能提示</el-button> <c-button size="small" type="primary" style="margin-left:0">智能提示</c-button>
<c-button size="small" @click="exit">返回</c-button> <c-button size="small" @click="exit" type="primary" style="margin-left:0">返回</c-button>
</c-col> </c-col>
<c-col :span="23" style="height: 10px;margin-bottom:10px"> <c-col :span="23" style="height: 10px;margin-bottom:10px">
<el-divider></el-divider> <el-divider></el-divider>
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
</c-col> </c-col>
<c-col :span="2" style="text-align: right"> <c-col :span="2" style="text-align: right">
<c-button <c-button
style="margin:0 0 0 10px;padding: 0 12px;" style="margin:0;padding: 0 14px;"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
</c-col> </c-col>
<c-col :span="2" style="text-align: right"> <c-col :span="2" style="text-align: right">
<c-button <c-button
style="margin:0 0 0 10px;padding: 0 12px;" style="margin:0;padding: 0 14px;"
size="small" size="small"
type="primary" type="primary"
> >
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
</c-col> </c-col>
<c-col :span="2" style="text-align: right"> <c-col :span="2" style="text-align: right">
<c-button <c-button
style="margin:0 0 0 10px;padding: 0 10px;" style="margin:0;padding: 0 12px;"
size="small" size="small"
icon="el-icon-search" icon="el-icon-search"
type="primary" type="primary"
...@@ -153,26 +153,26 @@ ...@@ -153,26 +153,26 @@
</c-col> </c-col>
<!-- ========================= Right ========================= --> <!-- ========================= Right ========================= -->
<c-col :span="12"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label-width="30%" label="Ident No."> <c-col :span="22">
<c-col :span="21"> <el-form-item label="Ident No.">
<c-input v-model="model.trn.inr" disabled placeholder="请输入Ident No."></c-input> <c-input v-model="model.trn.inr" disabled placeholder="请输入Ident No."></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="3" style="text-align: right"> <c-col :span="2" style="text-align: right">
<c-button <c-button
style="margin:0 0 0 10px;padding: 0 12px;" style="margin:0;padding: 0 14px;"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span> <span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button> </c-button>
</c-col> </c-col>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label-width="30%" label="Transaction ID"> <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 <el-option
v-for="item in codes.atptxt" v-for="item in codes.atptxt"
...@@ -186,20 +186,20 @@ ...@@ -186,20 +186,20 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label-width="30%" label="Drop Receiver"> <el-form-item label="Drop Receiver">
<c-input v-model="model.trn.objnam" maxlength="40" disabled placeholder="请输入External Readable Object Identification"></c-input> <c-input v-model="model.trn.objnam" maxlength="40" disabled placeholder="请输入External Readable Object Identification"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label-width="30%" label="Release Status of Transaction"> <el-form-item label="Release Status">
<c-input v-model="model.trn.relflg" style="width:100%" disabled placeholder="请选择Release Status of Transaction"> <c-input v-model="model.trn.relflg" style="width:100%" disabled placeholder="请选择Release Status of Transaction">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label-width="30%" label="Signatures Required/Obtained"> <el-form-item label="Signatures Required/Obtained">
<c-row> <c-row>
<c-col :span="11"> <c-col :span="11">
<c-input v-model="model.trn.relreq" maxlength="3" disabled placeholder="请输入Signatures Required/Obtained"></c-input> <c-input v-model="model.trn.relreq" maxlength="3" disabled placeholder="请输入Signatures Required/Obtained"></c-input>
...@@ -215,13 +215,13 @@ ...@@ -215,13 +215,13 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label-width="30%" label="Completion text"> <el-form-item label="Completion text">
<c-input style="font-weight:bold" v-model="model.recpan.cpltxt" disabled placeholder="请输入Based on Ident No."></c-input> <c-input style="font-weight:bold" v-model="model.recpan.cpltxt" disabled placeholder="请输入Based on Ident No."></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label-width="30%" label="Infoflag"> <el-form-item label="Infoflag">
<el-select v-model="model.trn.infdsp" style="width: 100%"> <el-select v-model="model.trn.infdsp" style="width: 100%">
<el-option <el-option
v-for="item in codes.infdsp" v-for="item in codes.infdsp"
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label-width="30%" label="Send for Repair to"> <el-form-item label="Send for Repair to">
<c-input v-model="model.recpan.usr.extkey" disabled style="width:100%" placeholder="请选择extkey"> <c-input v-model="model.recpan.usr.extkey" disabled style="width:100%" placeholder="请选择extkey">
</c-input> </c-input>
</el-form-item> </el-form-item>
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
<el-form-item label="面函/报文" class="messageLabel"> <el-form-item label="面函/报文" class="messageLabel">
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="23" style="height: 10px"> <c-col :span="23" style="height: 0px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="23"> <c-col :span="23">
...@@ -305,11 +305,11 @@ ...@@ -305,11 +305,11 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
--> -->
<c-col :span="24" style="height:24px;margin-top:10px"> <c-col :span="24" style="height:24px;margin-top:30px">
<el-form-item label="Signatures" class="messageLabel"> <el-form-item label="经办/复核" class="messageLabel">
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="23" style="height:10px;"> <c-col :span="23" style="height:0px;">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="23"> <c-col :span="23">
...@@ -345,11 +345,11 @@ ...@@ -345,11 +345,11 @@
</c-col> </c-col>
<!-- -------------------workflow------------------- --> <!-- -------------------workflow------------------- -->
<c-col :span="24" style="height:24px;margin-top:10px"> <c-col :span="24" style="height:24px;margin-top:30px">
<el-form-item label="Workflow" class="messageLabel"> <el-form-item label="工作流服务" class="messageLabel">
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="23" style="height:10px;"> <c-col :span="23" style="height:0px;">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="23"> <c-col :span="23">
...@@ -392,7 +392,8 @@ ...@@ -392,7 +392,8 @@
</c-content> </c-content>
</el-form> </el-form>
</div> </div>
</div> <!-- </div> -->
</c-content>
</c-page> </c-page>
</template> </template>
...@@ -469,6 +470,17 @@ export default { ...@@ -469,6 +470,17 @@ export default {
this.$store.dispatch("TagsView/delView", this.$route) this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList"); this.$router.history.push("/taskList");
}, },
display() {
debugger
const inr = this.model.trn.inr;
Api.post("getTrnNameByInr", { inr: inr}).then((res) => {
if (res.respCode == SUCCESS) {
const trnName = res.data.toLowerCase();
let viewurl = "/#/display/" + trnName + "?trn=" + inr
window.open(viewurl, 'newwindow', 'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
});
},
...Event ...Event
} }
} }
......
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