Commit b9ad97f2 by wangna

gitsel

parent 2f1137e3
......@@ -95,6 +95,7 @@ export default class Gitsel{
clsflg:"", // which contracts to show .gcdget.clsflg
},
cfgfil:{
btnstm:[],
bitmap:"", // Bitmap for folder .cfgfil.bitmap
regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2
......
......@@ -75,6 +75,7 @@ export default class Infgid{
},
gidgrp:{
rec:{
inr:"",
ownref:"", // Reference .gidgrp.rec.ownref
resflg:"", // Reserved Contract .gidgrp.rec.resflg
rejflg:"", // Direct rejection .gidgrp.rec.rejflg
......
<template>
<el-table
:data="tableData"
border
stripe
:show-header="false"
:cell-style="cellSttyle"
>
<el-table-column prop="label" align="center">
<template slot-scope="scope">
<c-button
@click="onNarBtnClick(scope.row.url, scope.row.label)"
:label="scope.row.label"
:disabled="scope.row.disabled"
>{{ scope.row.label }}</c-button
>
<!-- <el-link
:disabled="scope.row.disabled"
:href="scope.row.url"
v-if="scope.row.title"
>{{ scope.row.title }}</el-link
> -->
</template>
</el-table-column>
</el-table>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
export default {
inject: ["root"],
props: ["data", "model"],
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
cellSttyle: { height: "25px" },
meumItem: [],
};
},
methods: {
//各入口按钮请求
async onNarBtnClick(url, label) {
let key = 0;
for(let i = 1; i <= 11 ; i++){
let temp_label = this.model.cfgfil['subtxt'+i];
if(temp_label == label){
key = i;
break;
}
}
let rtnmsg = await this.executeRule("cfgfil.hotsub"+key);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
url = url.toLowerCase();
this.$router.history.push("/business/" + url);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
},
computed: {
tableData() {
const arr = [];
var data = this.data;
for (let i = 0; i < data.length; i++) {
const items = data[i].split("\t");
arr.push({
url: items[0],
label: items[1],
disabled: items[2] == "N" ? true : false,
other: items[3],
});
}
return arr;
},
},
};
</script>
<style>
a {
text-decoration-line: none;
color: #606266;
}
a:hover {
color: blue;
}
</style>
\ No newline at end of file
......@@ -639,11 +639,11 @@ export default {
methods: { ...Event,
async getButtons(ownref){
this.initdialog = true
this.ownref = ownref
console.log("ownref:" +ownref);
setTimeout(()=>{
this.$refs.childs.$emit("childmethods")
},10)
// this.ownref = ownref
// console.log("ownref:" +ownref);
// setTimeout(()=>{
// this.$refs.childs.$emit("childmethods")
// },10)
},
async onChoose(code){
//跳转交易
......
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button
style="margin-left:7px;"
size="medium"
type="primary"
class="medium_bcs"
v-for="(item,index) in codeList"
v-bind:key="index"
@click.native="onNarBtnClick(item.code,index)"
:title="item.title"
:disabled="item.isDis==='N'"
>{{item.label}}</c-button>
<c-button style="margin-left:7px;" size="medium" type="primary" class="medium_bcs" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
......@@ -83,20 +73,20 @@ export default {
this.model.gidgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("gidgrp.rec.ownref");// gidgrp_rec_ownref
let rtnmsg = await this.executeRule("gidgrp.rec.ownref");//gidgrp_rec_ownref
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode = []
this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model. gidgrp.rec.inr = rtnmsg.data. gidgrp_rec_inr
console.log("ownref:" + this.ownref );
//this.model.gidgrp.rec.inr = rtnmsg.data.gidgrp_rec_inr
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
let j = 0;
let m = 0;
const buttonIndex = ['国内证通知','国内证修改通知','收单']
// const buttonIndex = ['保证金收取','保证金注销','保证金调整','开立信用证','信用证修改','减额修改接受','修改通知行','到单']
const buttonIndex = ['信用证修改','减额修改接受','到单','修改通知行']
for(let i=0; i < length; i++){
//获取数组中每行的数据
if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证") >= 0)){
......@@ -116,7 +106,9 @@ export default {
this.navcode.splice(j,0,newList)
}
}
}
}else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
<template>
<div class="eibs-tab">
<<<<<<< HEAD:src/views/Business/Infgid/Cbeinfp.vue
<c-col :span="12">
<el-form-item label="stream of CBEs" prop="infcon.cbestm">
<c-input v-model="model.infcon.cbestm" placeholder="请输入stream of CBEs"></c-input>
</el-form-item>
</c-col>
</div>
=======
</div>
>>>>>>> 76ea812e7d5f5e9cbd030eb58098ca831ca35b43:src/views/Business/Letsel/Regp.vue
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
<<<<<<< HEAD:src/views/Business/Infgid/Cbeinfp.vue
import Event from "~/model/Infgid/Event"
=======
import Event from "~/model/Letsel/Event"
>>>>>>> 76ea812e7d5f5e9cbd030eb58098ca831ca35b43:src/views/Business/Letsel/Regp.vue
export default {
inject: ['root'],
......
......@@ -7,7 +7,6 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letsel/Event"
import Event from "~/model/Letsel/Event"
export default {
inject: ['root'],
......
......@@ -135,9 +135,10 @@ export default {
{ inifrm: "examRule", ininam: "智能审单规则配置", pntmiu: "12" },
//进口保函
{ inifrm: "13", ininam: "进口保函", pntmiu: "" },
{ inifrm: "gitsel", ininam: "进口保函查询", pntmiu: "13" },
{ inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" },
{ inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" },
{ inifrm: "infgid", ininam: "进口保函入口交易", pntmiu: "13" },
// { inifrm: "gitsel", ininam: "进口保函查询", pntmiu: "13" },
// { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" },
// { inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" },
{ inifrm: "14", ininam: "服务管理", pntmiu: "" },
{ inifrm: "switsk", ininam: "Switsk", pntmiu: "14" },
{ inifrm: "mgrtsk", ininam: "Mgrtsk", pntmiu: "14" },
......
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