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
2107de65
Commit
2107de65
authored
Mar 26, 2023
by
chengzhuoshen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端保证金模块分离
parent
8f2892a9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
263 additions
and
17 deletions
+263
-17
index.js
src/business/gitopn/model/index.js
+37
-6
index.vue
src/business/gitopn/views/index.vue
+7
-7
index.js
src/components/business/ccvpan/event/index.js
+132
-0
LiaccvRequest.js
src/components/business/ccvpan/model/LiaccvRequest.js
+38
-0
index.js
src/components/business/ccvpan/model/index.js
+34
-0
index.vue
src/components/business/ccvpan/views/index.vue
+0
-0
index.js
src/components/business/engp/event/index.js
+1
-0
LiaallRequest.js
src/components/business/engp/model/LiaallRequest.js
+3
-1
index.js
src/components/business/setmod/event/index.js
+2
-0
commonProcess.js
src/mixin/commonProcess.js
+6
-1
index.js
src/model/Public/index.js
+2
-0
vue.config.js
vue.config.js
+1
-2
No files found.
src/business/gitopn/model/index.js
View file @
2107de65
...
...
@@ -500,18 +500,48 @@ export default class Gitopn{
amt
:
""
,
// Balance .gidgrp.cbs.cnf.amt
},
},
apl
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .gidgrp.apl.namelc
adrelc
:
""
,
// 地址 .gidgrp.apl.adrelc
dbfadrblkcn
:
""
,
// Chinese address .gidgrp.apl.dbfadrblkcn
},
ben
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .gidgrp.ben.namelc
adrelc
:
""
,
// 地址 .gidgrp.ben.adrelc
dbfadrblkcn
:
""
,
// Chinese address .gidgrp.ben.dbfadrblkcn
},
iss
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .gidgrp.iss.namelc
adrelc
:
""
,
// 地址 .gidgrp.iss.adrelc
dbfadrblkcn
:
""
,
// Chinese address .gidgrp.iss.dbfadrblkcn
},
adv
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .gidgrp.adv.namelc
adrelc
:
""
,
// 地址 .gidgrp.adv.adrelc
dbfadrblkcn
:
""
,
// Chinese address .gidgrp.adv.dbfadrblkcn
},
ctr
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .gidgrp.ctr.namelc
adrelc
:
""
,
// 地址 .gidgrp.ctr.adrelc
dbfadrblkcn
:
""
,
// Chinese address .gidgrp.ctr.dbfadrblkcn
},
atb
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .gidgrp.atb.namelc
adrelc
:
""
,
// 地址 .gidgrp.atb.adrelc
dbfadrblkcn
:
""
,
// Chinese address .gidgrp.atb.dbfadrblkcn
},
con
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .gidgrp.con.namelc
adrelc
:
""
,
// 地址 .gidgrp.con.adrelc
dbfadrblkcn
:
""
,
// Chinese address .gidgrp.con.dbfadrblkcn
},
bdb
:{
pts
:
new
Pts
().
data
,
namelc
:
""
,
// 名称 .gidgrp.bdb.namelc
...
...
@@ -660,6 +690,7 @@ export default class Gitopn{
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
docpan
:
new
Pub
().
data
.
Docpan
,
pageId
:
""
,
// ctx的key,
sysmod
:{
...
...
src/business/gitopn/views/index.vue
View file @
2107de65
...
...
@@ -131,7 +131,7 @@ import Aacp from "./Aacp";
import
Dclpp
from
"./Dclpp"
;
import
Engp
from
"~/components/business/engp/views"
;
import
Ccvpan
from
"~/
views/Public/Ccvpan
"
;
import
Ccvpan
from
"~/
components/business/ccvpan/views
"
;
import
Setmod
from
"~/components/business/setmod/views"
;
import
Glentry
from
"~/components/business/glentry/views"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
...
...
@@ -284,12 +284,12 @@ export default {
this
.
model
.
gitp
.
usr
.
extkey
=
'ZL'
this
.
model
.
liaall
.
exttotamt
=
'0.000'
this
.
model
.
liaall
.
exttotoldamt
=
'0.000'
this
.
model
.
lia
all
.
lia
ccv
.
cshpct
=
'0.00'
this
.
model
.
lia
all
.
lia
ccv
.
newamt
=
'0.000'
this
.
model
.
lia
all
.
lia
ccv
.
newresamt
=
'0.000'
this
.
model
.
lia
all
.
lia
ccv
.
pctresamt
=
'0.000'
this
.
model
.
lia
all
.
lia
ccv
.
relcshpct
=
'0.00'
this
.
model
.
lia
all
.
lia
ccv
.
totcovamt
=
'0.000'
this
.
model
.
liaccv
.
cshpct
=
'0.00'
this
.
model
.
liaccv
.
newamt
=
'0.000'
this
.
model
.
liaccv
.
newresamt
=
'0.000'
this
.
model
.
liaccv
.
pctresamt
=
'0.000'
this
.
model
.
liaccv
.
relcshpct
=
'0.00'
this
.
model
.
liaccv
.
totcovamt
=
'0.000'
this
.
model
.
liaall
.
limmod
.
ccvamt
=
'0.000'
this
.
model
.
liaall
.
limmod
.
comamt
=
'0.000'
this
.
model
.
liaall
.
misamt
=
'0.000'
...
...
src/components/business/ccvpan/event/index.js
0 → 100644
View file @
2107de65
import
LiaccvRequest
from
"../model/LiaccvRequest.js"
;
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils"
;
export
default
{
buildPtspta
(
ptsptaObj
)
{
let
ptspta
=
{};
let
pts
=
ptsptaObj
.
pts
;
let
adr
=
ptsptaObj
.
adr
;
ptspta
.
rol
=
pts
.
rol
;
ptspta
.
name
=
pts
.
nam
;
ptspta
.
ptyinr
=
pts
.
ptyinr
;
ptspta
.
ptainr
=
pts
.
ptainr
;
ptspta
.
extkey
=
pts
.
extkey
;
ptspta
.
dftdsp
=
pts
.
dftdsp
;
ptspta
.
dftcur
=
pts
.
dftcur
;
ptspta
.
dftact
=
pts
.
dftact
;
ptspta
.
dftfeecur
=
pts
.
dftfeecur
;
ptspta
.
dftactptainr
=
pts
.
dftactptainr
;
ptspta
.
glggrpflg
=
pts
.
glggrpflg
;
ptspta
.
adrblk
=
pts
.
adrblk
;
return
ptspta
;
},
buildLiaccvRequest
()
{
let
liaccvRequest
=
new
LiaccvRequest
().
data
;
let
rec
=
{};
let
cbsMap
=
{};
if
(
this
.
trnName
===
"litopn"
)
{
rec
.
objtyp
=
"LID"
;
rec
.
ownref
=
this
.
model
.
lidgrp
.
rec
.
ownref
;
rec
.
opndat
=
this
.
model
.
lidgrp
.
rec
.
opndat
;
rec
.
branchInr
=
this
.
model
.
lidgrp
.
rec
.
branchinr
;
liaccvRequest
.
rec
=
rec
;
cbsMap
.
NOM1
=
{
"cur"
:
this
.
model
.
lidgrp
.
cbs
.
nom1
.
cur
,
"amt"
:
this
.
model
.
lidgrp
.
cbs
.
nom1
.
amt
,
};
cbsMap
.
OPN1
=
{};
cbsMap
.
OPN2
=
{
"cur"
:
this
.
model
.
lidgrp
.
cbs
.
opn2
.
cur
,
"amt"
:
this
.
model
.
lidgrp
.
cbs
.
opn2
.
amt
,
};
cbsMap
.
MAX
=
{
"cur"
:
this
.
model
.
lidgrp
.
cbs
.
max
.
cur
,
"amt"
:
this
.
model
.
lidgrp
.
cbs
.
max
.
amt
,
};
cbsMap
.
MAX2
=
{
"cur"
:
this
.
model
.
lidgrp
.
cbs
.
max2
.
cur
,
"amt"
:
this
.
model
.
lidgrp
.
cbs
.
max2
.
amt
,
};
liaccvRequest
.
cbsMap
=
cbsMap
;
let
ptsptaList
=
[];
if
(
this
.
model
.
lidgrp
.
apl
.
pts
.
extkey
!==
""
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
this
.
model
.
lidgrp
.
apl
));
}
if
(
this
.
model
.
lidgrp
.
adv
.
pts
.
extkey
!==
""
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
this
.
model
.
lidgrp
.
adv
));
}
if
(
this
.
model
.
lidgrp
.
ben
.
pts
.
extkey
!==
""
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
this
.
model
.
lidgrp
.
ben
));
}
liaccvRequest
.
ptsList
=
ptsptaList
;
}
else
if
(
this
.
trnName
===
"gitopn"
)
{
rec
.
objtyp
=
"GID"
;
rec
.
ownref
=
this
.
model
.
gidgrp
.
rec
.
ownref
;
rec
.
opndat
=
this
.
model
.
gidgrp
.
rec
.
opndat
;
rec
.
expdat
=
this
.
model
.
gidgrp
.
rec
.
expdat
;
rec
.
branchInr
=
this
.
model
.
gidgrp
.
rec
.
branchinr
;
rec
.
hndtyp
=
this
.
model
.
gidgrp
.
rec
.
hndtyp
;
rec
.
gartyp
=
this
.
model
.
gidgrp
.
rec
.
gartyp
;
rec
.
fingua
=
this
.
model
.
gidgrp
.
rec
.
fingua
;
rec
.
segtyp
=
this
.
model
.
gidgrp
.
ghd
.
segtyp
;
rec
.
fromflg
=
this
.
model
.
gidgrp
.
rec
.
fromflg
;
rec
.
othersno
=
this
.
model
.
gidgrp
.
rec
.
othersno
;
rec
.
sndto
=
this
.
model
.
gidgrp
.
rec
.
sndto
;
rec
.
swiftflg
=
this
.
model
.
gitp
.
swiftflg
;
rec
.
giduil
=
this
.
model
.
gidgrp
.
rec
.
giduil
;
rec
.
purpos
=
this
.
model
.
gidgrp
.
rec
.
purpos
;
rec
.
revflg
=
this
.
model
.
gidgrp
.
rec
.
revflg
;
rec
.
cnfsta
=
this
.
model
.
gidgrp
.
rec
.
cnfsta
;
liaccvRequest
.
rec
=
rec
;
cbsMap
.
MAX
=
this
.
model
.
gidgrp
.
cbs
.
max
;
cbsMap
.
OPN1
=
this
.
model
.
gidgrp
.
cbs
.
opn1
;
cbsMap
.
MAC
=
this
.
model
.
gidgrp
.
cbs
.
mac
;
cbsMap
.
MAC2
=
this
.
model
.
gidgrp
.
cbs
.
mac2
;
cbsMap
.
OPC2
=
this
.
model
.
gidgrp
.
cbs
.
opc2
;
cbsMap
.
CNF
=
this
.
model
.
gidgrp
.
cbs
.
cnf
;
liaccvRequest
.
cbsMap
=
cbsMap
;
let
ptsptaList
=
[];
if
(
this
.
model
.
gidgrp
.
apl
.
pts
.
extkey
!==
""
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
this
.
model
.
gidgrp
.
apl
));
}
if
(
this
.
model
.
gidgrp
.
adv
.
pts
.
extkey
!==
""
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
this
.
model
.
gidgrp
.
adv
));
}
if
(
this
.
model
.
gidgrp
.
ben
.
pts
.
extkey
!==
""
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
this
.
model
.
gidgrp
.
ben
));
}
liaccvRequest
.
ptsList
=
ptsptaList
;
}
liaccvRequest
.
transName
=
this
.
trnName
;
if
(
!!
window
.
sessionStorage
.
userId
)
{
liaccvRequest
.
userId
=
window
.
sessionStorage
.
userId
;
}
else
{
liaccvRequest
.
userId
=
"ZL"
;
}
liaccvRequest
.
liaccvg
=
this
.
model
.
liaccv
.
liaccvg
;
return
liaccvRequest
;
},
async
processLiaccv
()
{
//组数据,发post请求
const
loading
=
this
.
loading
(
"正在请求数据"
)
let
rulePath
=
"/service/liaccv/assertLiaccv"
;
let
liaccvRequest
=
this
.
buildLiaccvRequest
();
let
rtnmsg
=
await
Api
.
post
(
rulePath
,
liaccvRequest
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
.
liaccv
,
rtnmsg
.
data
);
}
loading
.
close
();
}
}
src/components/business/ccvpan/model/LiaccvRequest.js
0 → 100644
View file @
2107de65
export
default
class
LiaccvRequest
{
constructor
()
{
this
.
data
=
{
transName
:
""
,
userId
:
""
,
rec
:
{},
amdRec
:
{
engamt
:
""
,
amecur
:
""
},
cbsMap
:
{
OPN2
:
{
cur
:
""
,
amt
:
""
},
NOM1
:
{
cur
:
""
,
amt
:
""
},
OPN1
:
{
cur
:
""
,
amt
:
""
},
MAX
:
{
cur
:
""
,
amt
:
""
},
MAX2
:
{
cur
:
""
,
amt
:
""
}
},
ptsList
:
[],
liaccvg
:
[]
}
}
}
\ No newline at end of file
src/components/business/ccvpan/model/index.js
0 → 100644
View file @
2107de65
export
default
class
Liaccv
{
constructor
()
{
this
.
data
=
{
newamt
:
""
,
// 合同金额 .liaall.liaccv.newamt
concur
:
""
,
// 应付保证金金额 .liaall.liaccv.concur
totcovamt
:
""
,
// 金额总和 .liaall.liaccv.totcovamt
newresamt
:
""
,
// Reserved Amount .liaall.liaccv.newresamt
addinf
:
""
,
// Additional Information .liaall.liaccv.addinf
cshpct
:
""
,
// 保证金应收比例 .liaall.liaccv.cshpct
relcshpct
:
""
,
// 保证金实收比例 .liaall.liaccv.relcshpct
gleflg
:
""
,
// Create gle flag .liaall.liaccv.gleflg
chgcurflg
:
""
,
// Change currency flag .liaall.liaccv.chgcurflg
pctresamt
:
""
,
// reserve amount based percent .liaall.liaccv.pctresamt
liaccvg
:
[],
stgstm
:[],
dnfmod
:{
kehuzh
:
""
,
//保证金账户 liaall.liaccv.dnfmod.kehuzh
ccvtyp
:
""
,
//操作类型 liaall.liaccv.dnfmod.ccvtyp
zhqtyp
:
""
,
//支取类型 liaall.liaccv.dnfmod.zhqtyp
zhqucs
:
""
,
//支取次数 liaall.liaccv.dnfmod.zhqucs
tizamt
:
""
,
//部分提支金额 liaall.liaccv.dnfmod.tizamt
yewudh
:
""
,
//业务代号 liaall.liaccv.dnfmod.yewudh
pridsp
:
""
,
//本金转入账户 liaall.liaccv.dnfmod.pridsp
zhruzh
:
""
,
//本金转入账户 liaall.liaccv.dnfmod.zhruzh
qicuje
:
""
,
//起存金额 liaall.liaccv.dnfmod.qicuje
intdsp
:
""
,
//利息转入账户 liaall.liaccv.dnfmod.intdsp
lxzyzh
:
""
,
//利息转入账户 liaall.liaccv.dnfmod.lxzyzh
zhhuye
:
""
,
//帐户余额 liaall.liaccv.dnfmod.zhhuye
stm8023
:
""
,
//8023STREAM liaall.liaccv.dnfmod.stm8023
},
}
}
}
\ No newline at end of file
src/components/business/ccvpan/views/index.vue
0 → 100644
View file @
2107de65
This diff is collapsed.
Click to expand it.
src/components/business/engp/event/index.js
View file @
2107de65
...
...
@@ -114,6 +114,7 @@ export default {
}
else
{
liaallRequest
.
userId
=
"ZL"
;
}
liaallRequest
.
liaallg
=
this
.
model
.
liaall
.
liaallg
;
return
liaallRequest
;
},
...
...
src/components/business/engp/model/LiaallRequest.js
View file @
2107de65
...
...
@@ -30,7 +30,8 @@ export default class LiaallRequest {
amt
:
""
}
},
ptsList
:
[]
ptsList
:
[],
liaallg
:
[]
}
}
}
\ No newline at end of file
src/components/business/setmod/event/index.js
View file @
2107de65
...
...
@@ -80,6 +80,7 @@ export default {
}
setfegRequest
.
ptsList
=
ptsptaList
;
setfegRequest
.
liaall
=
this
.
model
.
liaall
;
setfegRequest
.
liaccv
=
this
.
model
.
liaccv
;
}
else
if
(
this
.
trnName
===
'gitopn'
)
{
rec
.
objtyp
=
"GID"
;
rec
.
ownref
=
this
.
model
.
gidgrp
.
rec
.
ownref
;
...
...
@@ -120,6 +121,7 @@ export default {
}
setfegRequest
.
ptsList
=
ptsptaList
;
setfegRequest
.
liaall
=
this
.
model
.
liaall
;
setfegRequest
.
liaccv
=
this
.
model
.
liaccv
;
}
//setfegRequest.ptydet = ptydetList;
setfegRequest
.
doceot
=
this
.
model
.
trnmod
.
trndoc
.
doceot
;
...
...
src/mixin/commonProcess.js
View file @
2107de65
import
commonDeclare
from
"./commonDeclare"
import
commonApi
from
"./commonApi"
import
SettleEvent
from
"~/components/business/setmod/event"
import
LiaccvEvent
from
"~/components/business/ccvpan/event"
import
LiaallEvent
from
"~/components/business/engp/event"
import
GletnryEvent
from
"~/components/business/glentry/event"
import
DocpanEvent
from
"~/components/business/docpan/event"
...
...
@@ -61,6 +62,7 @@ export default {
...
LiaallEvent
,
...
GletnryEvent
,
...
DocpanEvent
,
...
LiaccvEvent
,
/**
* 表单校验 rules 的赋值
* @returns void
...
...
@@ -163,7 +165,10 @@ export default {
return
}
let
name
=
tab
.
name
;
if
(
name
===
"ccvpan"
)
{
this
.
processLiaccv
();
return
;
}
if
(
name
===
"engp"
)
{
this
.
processLiaall
();
return
;
...
...
src/model/Public/index.js
View file @
2107de65
...
...
@@ -2,6 +2,7 @@ import Trnmod from "./Trnmod";
import
Mtabut
from
'./Mtabut'
import
Setmod
from
'~/components/business/setmod/model'
import
Liaall
from
'~/components/business/engp/model'
import
Liaccv
from
'~/components/business/ccvpan/model'
import
Docpan
from
'~/components/business/docpan/model'
export
default
class
Publics
{
...
...
@@ -11,6 +12,7 @@ export default class Publics {
Mtabut
:
new
Mtabut
().
data
,
Setmod
:
new
Setmod
().
data
,
Liaall
:
new
Liaall
().
data
,
Liaccv
:
new
Liaccv
().
data
,
Docpan
:
new
Docpan
().
data
,
}
}
...
...
vue.config.js
View file @
2107de65
...
...
@@ -71,8 +71,7 @@ module.exports = {
}
},
'/gjjs/service/'
:
{
// target: 'http://192.168.0.85:9999',//魏关应
target
:
'http://192.168.0.42:9999'
,
//胡希 192.168.0.42:9999
target
:
'http://127.0.0.1:9999'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/gjjs/service'
:
'/gjjs/service'
...
...
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