Commit 7b48bd9e by 吴佳

2021.12.24 wujia 信用证查询 跳转修改

parent f4bf7a3a
......@@ -164,6 +164,7 @@ export default class Ditsel{
mattxtlab:"", // Label for MATTXT .matp.mattxtlab
},
cfgfil:{
btnstm:"", //按钮数据
bitmap:"", // Bitmap for folder .cfgfil.bitmap
regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2
......
......@@ -69,28 +69,27 @@ export default {
//请求按钮数据
this.model.didgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("didgrp.rec.ownref")//didgrp_rec_ownref
let rtnmsg = await this.executeRule("didgrp.rec.ownref");//didgrp_rec_ownref
if(rtnmsg.respCode = SUCCESS){
//重置数组
this.navcode.length = 0
this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
this.model.didgrp.rec.inr = rtnmsg.data.didgrp_rec_inr
const idx = this.model.cfgfil.btnstm.length
let btnStr = this.model.cfgfil.btnstm
// console.log("btnstmStr:"+btnStr);
for(let i=0; i < idx; i++){
//重置数组
this.navcode = []
this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.didgrp.rec.inr = rtnmsg.data.didgrp_rec_inr
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
for(let i=0; i < length; i++){
//获取数组中每行的数据
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
//添加到navcode数组中
this.navcode.splice(i,0,newList)
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
//添加到navcode数组中
this.navcode.splice(i,0,newList)
}
}
......
......@@ -316,6 +316,14 @@
>
处理
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getDitSelInfo(scope.row['Reference'])"
>
info
</c-button>
......@@ -566,9 +574,15 @@ export default {
},
async onChoose(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.initdialog = false
} },
this.$router.history.push("/business/" + code)
this.initdialog = false
} ,
async getDitSelInfo(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.initdialog = false
}
},
created: function () {},
};
</script>
......
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