Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
vue-gjjs
Commits
52b58953
Commit
52b58953
authored
Jul 11, 2022
by
jianglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改INFBPD及BPD业务处理交易入口
parent
369395f2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
247 additions
and
112 deletions
+247
-112
index.js
src/model/Bptsel/index.js
+1
-0
Event.js
src/model/Infbpd/Event.js
+106
-111
BusRouter.js
src/views/Business/BusRouter.js
+11
-1
BusNavbar.vue
src/views/Business/Infbpd/BusNavbar.vue
+124
-0
Infsea.vue
src/views/Business/Infbpd/Infsea.vue
+0
-0
SideMenu.vue
src/views/Layout/SideMenu.vue
+5
-0
No files found.
src/model/Bptsel/index.js
View file @
52b58953
...
@@ -38,6 +38,7 @@ export default class Bptsel{
...
@@ -38,6 +38,7 @@ export default class Bptsel{
},
},
},
},
cfgfil
:{
cfgfil
:{
btnstm
:
""
,
//按钮数据
bitmap
:
""
,
// Bitmap for folder .cfgfil.bitmap
bitmap
:
""
,
// Bitmap for folder .cfgfil.bitmap
regside1
:
""
,
// Regside .cfgfil.regside1
regside1
:
""
,
// Regside .cfgfil.regside1
regside2
:
""
,
// Regside .cfgfil.regside2
regside2
:
""
,
// Regside .cfgfil.regside2
...
...
src/model/Infbpd/Event.js
View file @
52b58953
...
@@ -2,124 +2,118 @@ import Api from "~/service/Api"
...
@@ -2,124 +2,118 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils"
import
Utils
from
"~/utils"
export
default
{
export
default
{
async
onInfbutSearow
(){
async
onInfbutSearow
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.searow"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.searow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this
.
stmData
.
data
=
rtnmsg
.
data
.
infbut_dspstm
.
rows
;
this
.
stmData
.
data
=
rtnmsg
.
data
.
infbut_dspstm
.
rows
;
}
}
else
{
else
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
{
}
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
},
}
async
onInfbutDsp
()
{
},
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dsp"
)
async
onInfbutDsp
(){
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dsp"
)
//TODO 处理数据逻辑
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
async
onInfbutUserow
()
{
async
onInfbutUserow
(){
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.userow"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.userow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
async
onInfbutClr
()
{
async
onInfbutClr
(){
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.clr"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.clr"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
async
onInfbutButprt
()
{
async
onInfbutButprt
(){
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.butprt"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.butprt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
async
onInfbutExi
()
{
async
onInfbutExi
(){
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.exi"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.exi"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
async
onInfconButshword
()
{
async
onInfconButshword
(){
let
rtnmsg
=
await
this
.
executeRule
(
"infcon.butshword"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infcon.butshword"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
async
onFiapDet
()
{
async
onFiapDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"fiap.det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"fiap.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
async
onInfconButshw
()
{
async
onInfconButshw
(){
let
rtnmsg
=
await
this
.
executeRule
(
"infcon.butshw"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infcon.butshw"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
//TODO 处理数据逻辑
{
//TODO 处理数据逻辑
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
},
async
onInfconButshword
()
{
async
handleSearch
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infcon.butshword"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.searow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
//TODO 处理数据逻辑
{
this
.
stmData
.
data
=
rtnmsg
.
data
.
infbut_dspstm
.
rows
;
}
}
else
{
else
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
{
}
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
},
}
async
handleReset
()
{
},
},
async
handleSearch
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.searow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
stmData
.
data
=
rtnmsg
.
data
.
infbut_dspstm
.
rows
;
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
}
\ No newline at end of file
src/views/Business/BusRouter.js
View file @
52b58953
...
@@ -31,6 +31,11 @@ import Letopn from "./Letopn"
...
@@ -31,6 +31,11 @@ import Letopn from "./Letopn"
import
Letame
from
"./Letame"
import
Letame
from
"./Letame"
import
Letrsv
from
'./Letrsv'
import
Letrsv
from
'./Letrsv'
import
Infled
from
'./Infled'
import
Infled
from
'./Infled'
import
Bptsel
from
'./Bptsel'
import
Bptopn
from
'./Bptopn'
//import Bptset from './Bptset'
//import Bptame from './Bptame'
//import Bptcrf from './Bptcrf'
import
Bptcan
from
'./Bptcan'
import
Bptcan
from
'./Bptcan'
import
Sptrel
from
"./Sptrel"
import
Sptrel
from
"./Sptrel"
...
@@ -236,7 +241,12 @@ const BusRouter = [
...
@@ -236,7 +241,12 @@ const BusRouter = [
{
path
:
'letrsv'
,
component
:
Letrsv
,
name
:
'Letrsv'
,
meta
:
{
title
:
'出口信用证补通知'
}
},
{
path
:
'letrsv'
,
component
:
Letrsv
,
name
:
'Letrsv'
,
meta
:
{
title
:
'出口信用证补通知'
}
},
{
path
:
'letdrv'
,
component
:
Letdrv
,
name
:
'Letdrv'
,
meta
:
{
title
:
'出口信用证出口收单'
}
},
{
path
:
'letdrv'
,
component
:
Letdrv
,
name
:
'Letdrv'
,
meta
:
{
title
:
'出口信用证出口收单'
}
},
{
path
:
'infled'
,
component
:
Infled
,
name
:
'Infled'
,
meta
:
{
title
:
'出口信用证交易查询'
}
},
{
path
:
'infled'
,
component
:
Infled
,
name
:
'Infled'
,
meta
:
{
title
:
'出口信用证交易查询'
}
},
{
path
:
'Bptcan'
,
component
:
Bptcan
,
name
:
'Bptcan'
,
meta
:
{
title
:
'出口融资注销'
}
},
{
path
:
'bptsel'
,
component
:
Bptsel
,
name
:
'Bptsel'
,
meta
:
{
title
:
'出口融资入口交易'
}
},
{
path
:
'bptopn'
,
component
:
Bptopn
,
name
:
'Bptopn'
,
meta
:
{
title
:
'出口融资放款'
}
},
{
path
:
'bptcan'
,
component
:
Bptcan
,
name
:
'Bptcan'
,
meta
:
{
title
:
'出口融资注销'
}
},
{
path
:
'betacc'
,
component
:
Betacc
,
name
:
'Betacc'
,
meta
:
{
title
:
'出口信用证单据承兑'
}
},
{
path
:
'betacc'
,
component
:
Betacc
,
name
:
'Betacc'
,
meta
:
{
title
:
'出口信用证单据承兑'
}
},
{
path
:
'betrcl'
,
component
:
Betrcl
,
name
:
'Betrcl'
,
meta
:
{
title
:
'出口信用证单据索汇'
}
},
{
path
:
'betrcl'
,
component
:
Betrcl
,
name
:
'Betrcl'
,
meta
:
{
title
:
'出口信用证单据索汇'
}
},
{
path
:
'betrcl'
,
component
:
Betrcl
,
name
:
'Betrcl'
,
meta
:
{
title
:
'出口信用证单据出口单据索汇'
}
},
{
path
:
'betrcl'
,
component
:
Betrcl
,
name
:
'Betrcl'
,
meta
:
{
title
:
'出口信用证单据出口单据索汇'
}
},
...
...
src/views/Business/Infbpd/BusNavbar.vue
0 → 100644
View file @
52b58953
<
template
>
<div
class=
"busnavbar"
>
<div
class=
"busnavbar-items"
>
<c-button
style=
"margin-left:7px;"
class=
"medium_bcs"
size=
"medium"
type=
"primary"
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
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Bptsel
from
"~/model/Bptsel"
import
commonProcess
from
"~/mixin/commonProcess"
export
default
{
props
:[
"ownref"
],
components
:{
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
trnName
:
'bptsel'
,
model
:
new
Bptsel
().
data
,
navcode
:[
// {code:"",label:"",isDis:"",title:""},
],
}
},
methods
:{
//各入口按钮请求
async
onNarBtnClick
(
code
,
i
){
this
.
model
.
cfgfil
.
subtrn1
=
code
let
rtnmsg
=
await
this
.
executeRule
(
"cfgfil.hotsub1"
)
console
.
log
(
"cfgfil.code:"
+
this
.
model
.
cfgfil
.
subtrn1
);
if
(
rtnmsg
.
respCode
==
SUCCESS
){
this
.
navcode
=
[]
this
.
$emit
(
"onChoose"
,
code
.
toLowerCase
());
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
},
computed
:{
codeList
(){
//将model中的数据映射成数组
return
this
.
navcode
.
map
(
item
=>
{
let
entireItem
=
{...
item
}
this
.
navcode
=
[];
//TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis
return
entireItem
})
}
},
watch
:{
"ownref"
:
async
function
(
n
,
o
){
if
(
!
this
.
ownref
){
console
.
log
(
"11111"
)
// onTigger()
return
;
}
}
},
mounted
(){
this
.
$nextTick
(
function
(){
this
.
$on
(
'childmethods'
,
async
function
(){
this
.
navcode
=
[]
//请求按钮数据
//this.model.bpdgrp.rec.ownref = 'KZ3500210540AA'
this
.
model
.
bpdgrp
.
rec
.
ownref
=
this
.
ownref
console
.
log
(
"ownref:"
+
this
.
ownref
);
// let rtnmsg = await this.executeRule("bpdgrp.rec.ownref");//bpdgrp_rec_ownref
let
rtnmsg0
=
await
this
.
executeRule
(
"bpdgrp.rec.ownref"
);
//cfgfil.hotreg3
if
(
rtnmsg0
.
respCode
==
SUCCESS
){
this
.
updateModel
(
rtnmsg0
.
data
)
let
rtnmsg
=
await
this
.
executeRule
(
"cfgfil.hotreg1"
);
//cfgfil.hotreg3
if
(
rtnmsg
.
respCode
==
SUCCESS
){
//重置数组
this
.
navcode
=
[]
this
.
updateModel
(
rtnmsg
.
data
)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.bpdgrp.rec.inr = rtnmsg.data.bpdgrp_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
],
//isDis:'Y',
title
:
arr
[
3
]
}
//添加到navcode数组中
this
.
navcode
.
splice
(
i
,
0
,
newList
)
}
}
else
{
this
.
navcode
=
[]
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
else
{
this
.
navcode
=
[]
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
})
})
}
}
</
script
>
<
style
>
</
style
>
src/views/Business/Infbpd/Infsea.vue
View file @
52b58953
This diff is collapsed.
Click to expand it.
src/views/Layout/SideMenu.vue
View file @
52b58953
...
@@ -147,6 +147,11 @@ export default {
...
@@ -147,6 +147,11 @@ export default {
{
inifrm
:
"assetInfo"
,
ininam
:
"资产信息管理"
,
pntmiu
:
"15"
},
{
inifrm
:
"assetInfo"
,
ininam
:
"资产信息管理"
,
pntmiu
:
"15"
},
{
inifrm
:
"assetPub"
,
ininam
:
"资产发布信息管理"
,
pntmiu
:
"15"
},
{
inifrm
:
"assetPub"
,
ininam
:
"资产发布信息管理"
,
pntmiu
:
"15"
},
{
inifrm
:
"fund"
,
ininam
:
"资金信息管理"
,
pntmiu
:
"15"
},
{
inifrm
:
"fund"
,
ininam
:
"资金信息管理"
,
pntmiu
:
"15"
},
{
inifrm
:
"16"
,
ininam
:
"出口融资"
,
pntmiu
:
""
},
{
inifrm
:
"infbpd"
,
ininam
:
"出口融资查询"
,
pntmiu
:
"16"
},
],
],
menus
:
[],
menus
:
[],
menusHeight
:
0
,
menusHeight
:
0
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment