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
e52f7045
Commit
e52f7045
authored
Dec 27, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://114.115.138.98:8900/fukai/vue-gjjs
parents
ed331a2c
0e47e122
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
86 additions
and
124 deletions
+86
-124
Event.js
src/model/Sptsel/Event.js
+3
-9
Event.js
src/model/Trnrel/Event.js
+57
-16
Detp.vue
src/views/Business/Bctacc/Detp.vue
+2
-3
index.vue
src/views/Business/Bctacc/index.vue
+1
-1
Detp.vue
src/views/Business/Bctrad/Detp.vue
+4
-5
index.vue
src/views/Business/Bctrad/index.vue
+1
-1
Infsea.vue
src/views/Business/Infdid/Infsea.vue
+2
-0
index.vue
src/views/Business/Infdid/index.vue
+2
-0
Menu.vue
src/views/Business/Sptsel/Menu.vue
+10
-87
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+4
-2
No files found.
src/model/Sptsel/Event.js
View file @
e52f7045
...
...
@@ -93,15 +93,9 @@ export default {
},
async
handleSearch
()
{
if
(
this
.
sourceModel
.
length
===
0
){
this
.
model
.
chkinc
=
"t"
;
this
.
model
.
chkdzt
=
"t"
;
this
.
model
.
chkcor
=
"t"
;
this
.
model
.
chkaut
=
"t"
;
this
.
model
.
chkdel
=
"t"
;
this
.
model
.
chktco
=
"t"
;
this
.
model
.
chkcan
=
"t"
;
this
.
model
.
chkypt
=
"t"
;
this
.
sourceData
.
forEach
(
s
=>
{
this
.
model
[
s
.
value
]
=
't'
;
})
}
this
.
executeDefault
(
"sptstm"
).
then
(
res
=>
{
//TODO 处理数据逻辑
...
...
src/model/Trnrel/Event.js
View file @
e52f7045
...
...
@@ -88,6 +88,11 @@ export default {
},
async
onRelrow
(
idx
,
row
)
{
this
.
$confirm
(
'您确定复核该笔交易?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
async
()
=>
{
const
selIds
=
[
idx
+
1
];
//rowno选中行
const
selDst
=
"trncorco.trnstm"
//列表对应后台模型中的stream
...
...
@@ -95,18 +100,52 @@ export default {
let
rtnmsg
=
await
this
.
executeRule
(
"relrow"
,
params
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
$message
({
type
:
'success'
,
message
:
'Reject成功!'
debugger
;
let
errorMsg
=
""
;
let
fieldErrorsFlag
=
(
JSON
.
stringify
(
rtnmsg
.
fieldErrors
)
==
"{}"
);
if
(
!
fieldErrorsFlag
){
let
errorMsgkey
=
""
;
let
errorMsgVal
=
""
;
for
(
const
key
in
rtnmsg
.
fieldErrors
)
{
errorMsgkey
=
key
;
errorMsgVal
=
rtnmsg
.
fieldErrors
[
key
];
}
errorMsg
=
errorMsgkey
+
':'
+
errorMsgVal
;
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'复核失败!错误信息['
+
errorMsg
+
']'
});
}
else
{
this
.
$notify
({
title
:
'成功'
,
message
:
'复核成功'
,
type
:
'success'
});
debugger
;
const
that
=
this
.
root
;
that
.
executeRule
(
"searow"
).
then
(
res
=>
{
//TODO 处理数据逻辑
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
this
.
model
.
trncorco
.
trnstm
=
res
.
data
.
trncorco_trnstm
;
})
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
let
errorMsg
=
""
;
let
fieldErrorsFlag
=
(
JSON
.
stringify
(
rtnmsg
.
fieldErrors
)
==
"{}"
);
if
(
!
fieldErrorsFlag
){
let
errorMsgkey
=
""
;
let
errorMsgVal
=
""
;
for
(
const
key
in
rtnmsg
.
fieldErrors
)
{
errorMsgkey
=
key
;
errorMsgVal
=
rtnmsg
.
fieldErrors
[
key
];
}
errorMsg
=
errorMsgkey
+
':'
+
errorMsgVal
;
}
else
if
(
rtnmsg
.
respMsg
){
errorMsg
=
rtnmsg
.
respMsg
;
}
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'复核失败!错误信息['
+
errorMsg
+
']'
});
}
})
},
sleep
(
ms
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
...
...
@@ -287,18 +326,18 @@ export default {
},
async
handleSearch
()
{
const
that
=
this
.
root
;
if
(
this
.
model
.
searchAllUsers
)
{
that
.
executeRule
(
"seajbh"
).
then
(
res
=>
{
//TODO 处理数据逻辑
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
})
}
else
{
//
if (this.model.searchAllUsers) {
//
that.executeRule("seajbh").then(res => {
//
//TODO 处理数据逻辑
//
that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
//
})
//
} else {
that
.
executeRule
(
"searow"
).
then
(
res
=>
{
//TODO 处理数据逻辑
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
this
.
model
.
trncorco
.
trnstm
=
res
.
data
.
trncorco_trnstm
;
})
}
//
}
},
async
handleReset
()
{
...
...
@@ -312,7 +351,8 @@ export default {
this
.
model
.
trncorco
.
dflg
=
"ALL"
;
this
.
model
.
atptxt
=
""
;
this
.
model
.
searchAllUsers
=
false
;
}
},
}
\ No newline at end of file
src/views/Business/Bctacc/Detp.vue
View file @
e52f7045
<
template
>
<div
class=
"eibs-tab"
>
<c-row>
<!-- ====================左边======================= -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
...
...
@@ -107,7 +106,7 @@
<c-checkbox
v-model=
"model.bcdgrp.rec.focflg"
>
Free of Payment
</c-checkbox>
</c-col>
</c-col>
</
div
>
</
c-row
>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
...
...
src/views/Business/Bctacc/index.vue
View file @
e52f7045
...
...
@@ -10,7 +10,7 @@
<el-button
size=
"small"
>
拆分报文
</el-button>
<el-button
size=
"small"
>
智能提示
</el-button>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"
lef
t"
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"
righ
t"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
...
...
src/views/Business/Bctrad/Detp.vue
View file @
e52f7045
<
template
>
<div
class=
"eibs-tab"
>
<c-row>
<!-- ====================左边======================= -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
...
...
@@ -59,12 +58,12 @@
<!-- ====================右边======================= -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<c-col
:span=
"2
0
"
>
<c-col
:span=
"2
4
"
>
<el-form-item
label=
"Charges Condition"
prop=
"bcdgrp.blk.othins"
>
<c-select
type=
"textarea"
v-model=
"model.bcdgrp.blk.othins"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Charges Condition"
></c-select>
</el-form-item>
<el-option
v-for=
"item in codes.
chadet
"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-option
v-for=
"item in codes.
othins
"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-col>
</c-col>
...
...
@@ -107,7 +106,7 @@
<c-checkbox
v-model=
"model.bcdgrp.rec.focflg"
>
Free of Payment
</c-checkbox>
</c-col>
</c-col>
</
div
>
</
c-row
>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
...
...
src/views/Business/Bctrad/index.vue
View file @
e52f7045
...
...
@@ -10,7 +10,7 @@
<el-button
size=
"small"
>
拆分报文
</el-button>
<el-button
size=
"small"
>
智能提示
</el-button>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"
lef
t"
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"
righ
t"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
...
...
src/views/Business/Infdid/Infsea.vue
View file @
e52f7045
...
...
@@ -125,6 +125,7 @@
v-model=
"model.infcon.opndatfrom"
style=
"width: 100%"
placeholder=
"请选择Opening between"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
...
...
@@ -136,6 +137,7 @@
v-model=
"model.infcon.opndatto"
style=
"width: 100%"
placeholder=
"请选择Open Date to"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</c-col>
</el-form-item>
...
...
src/views/Business/Infdid/index.vue
View file @
e52f7045
...
...
@@ -5,7 +5,9 @@
<!--PD000006 -->
<!--
<el-tab-pane
label=
"信用证查询"
name=
"infsea"
>
-->
<c-content>
<m-infsea
:model=
"model"
:codes=
"codes"
/>
</c-content>
<!--
</el-tab-pane>
-->
<!--PD000001 -->
...
...
src/views/Business/Sptsel/Menu.vue
View file @
e52f7045
...
...
@@ -104,6 +104,7 @@
placeholder=
"请选择来源"
multiple
collapse-tags
@
change=
"sourceChangeEvent"
>
<el-option
v-for=
"item in sourceData"
...
...
@@ -367,7 +368,7 @@ export default {
mixins
:
[
CommonProcess
],
data
()
{
return
{
//
sourceModel: [],
sourceModel
:
[],
sourceData
:
[],
initdialog
:
false
,
transactionStatus
:
{
...
...
@@ -420,95 +421,17 @@ export default {
{
label
:
"云平台"
,
value
:
"chkypt"
},
];
},
computed
:
{
chkinc
:
{
get
()
{
return
this
.
model
.
chkinc
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chkinc
=
val
?
"t"
:
""
;
},
},
chkdzt
:
{
get
()
{
return
this
.
model
.
chkdzt
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chkdzt
=
val
?
"t"
:
""
;
},
},
chkpen
:
{
get
()
{
return
this
.
model
.
chkpen
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chkpen
=
val
?
"t"
:
""
;
},
},
chkcor
:
{
get
()
{
return
this
.
model
.
chkcor
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chkcor
=
val
?
"t"
:
""
;
},
},
chkaut
:
{
get
()
{
return
this
.
model
.
chkaut
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chkaut
=
val
?
"t"
:
""
;
},
},
chkdel
:
{
get
()
{
return
this
.
model
.
chkdel
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chkdel
=
val
?
"t"
:
""
;
},
},
chktco
:
{
get
()
{
return
this
.
model
.
chktco
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chktco
=
val
?
"t"
:
""
;
},
},
chkcan
:
{
get
()
{
return
this
.
model
.
chkcan
===
"t"
;
},
set
(
val
)
{
this
.
model
.
chkcan
=
val
?
"t"
:
""
;
},
},
sourceModel
:
{
get
()
{
let
arr
=
[];
this
.
sourceData
.
forEach
((
element
)
=>
{
if
(
this
.
model
[
element
.
value
])
{
arr
.
push
(
element
.
value
);
}
methods
:
{
sourceChangeEvent
(
val
)
{
this
.
sourceData
.
forEach
(
s
=>
{
this
.
model
[
s
.
value
]
=
''
;
})
val
.
forEach
((
element
)
=>
{
this
.
model
[
element
]
=
't'
;
});
return
arr
;
},
set
(
val
)
{
let
set
=
new
Set
(
val
);
this
.
sourceData
.
forEach
((
element
)
=>
{
if
(
set
.
has
(
element
.
value
))
{
this
.
model
[
element
.
value
]
=
true
;
}
else
{
this
.
model
[
element
.
value
]
=
false
;
}
});
...
Event
},
},
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
...
...
src/views/Business/Trnrel/Inftrnps.vue
View file @
e52f7045
...
...
@@ -412,10 +412,12 @@
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"display(scope.$index, scope.row)"
>
详情
快照
</c-button>
<c-button
style=
"margin-left: 0"
size=
"small"
...
...
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