Commit c17e51ad by liuxin

待复核详情页数据显示

parent 22ee9fe3
......@@ -101,7 +101,18 @@ export default {
async onDetail(idx, row) {
this.$router.push({ path: "business/inftrnpsDetail", query: { inr: '111' }});
let viewurl = "business/inftrnpsDetail";
const selIds = [idx + 1];
const selDst = "trncorco.trnstm" //列表对应后台模型中的stream
let params = { selDst, selIds };
this.executeRule("dsp",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 onRelrow(idx) {
......@@ -115,7 +126,6 @@ export default {
let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await this.executeRule("relrow", params)
if (rtnmsg.respCode == SUCCESS) {
......
......@@ -151,7 +151,7 @@
<c-col :span="12">
<el-form-item label-width="40%" label="Signatures Required/Obtained">
<c-cow>
<c-row>
<c-col :span="11">
<c-input v-model="model.trn.relreq" maxlength="3" placeholder="请输入Signatures Required/Obtained"></c-input>
</c-col>
......@@ -161,7 +161,7 @@
<c-col :span="11">
<c-input v-model="model.trn.relres" maxlength="3" placeholder="请输入Applied Signatures"></c-input>
</c-col>
</c-cow>
</c-row>
</el-form-item>
</c-col>
</c-col>
......@@ -430,7 +430,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
name: "InftrnpsDetail",
mixins: [CommonProcess],
data(){
return {
......@@ -471,7 +471,8 @@ export default {
},
methods: {
loadData() {
const { inr } = this.$route.query
// const { data } = this.$route.query
this.model = JSON.parse(sessionStorage.getItem('InftrnpsDetail'));
}
}
}
......
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