Commit c17e51ad by liuxin

待复核详情页数据显示

parent 22ee9fe3
...@@ -101,7 +101,18 @@ export default { ...@@ -101,7 +101,18 @@ export default {
async onDetail(idx, row) { 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) { async onRelrow(idx) {
...@@ -115,7 +126,6 @@ export default { ...@@ -115,7 +126,6 @@ export default {
let params = { selDst: selDst, selIds: selIds }; let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await this.executeRule("relrow", params) let rtnmsg = await this.executeRule("relrow", params)
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
......
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