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
zhouqian
vue-gjjs
Commits
f74b1cf2
Commit
f74b1cf2
authored
Jul 13, 2021
by
孙杰
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.0.110:11080/fukai/vue-gjjs
into master
parents
c7ab02f5
3eb84f60
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
70 additions
and
12 deletions
+70
-12
index.js
src/config/CodeTable/index.js
+5
-0
Pattern.js
src/model/Ditopn/Pattern.js
+4
-3
index.js
src/model/Ditopn/index.js
+1
-0
Event.js
src/model/Trnrel/Event.js
+29
-2
Detp.vue
src/views/Business/Ditopn/Detp.vue
+10
-4
Docpan.vue
src/views/Business/Ditopn/Docpan.vue
+9
-0
Ovwp.vue
src/views/Business/Ditopn/Ovwp.vue
+9
-2
index.vue
src/views/Business/Ditopn/index.vue
+2
-0
index.vue
src/views/Business/Sptsel/index.vue
+1
-1
No files found.
src/config/CodeTable/index.js
View file @
f74b1cf2
...
@@ -5707,6 +5707,11 @@ const CodeTable = {
...
@@ -5707,6 +5707,11 @@ const CodeTable = {
litameadv
:[
litameadv
:[
{
label
:
"无特殊规定"
,
value
:
"1"
},
{
label
:
"无特殊规定"
,
value
:
"1"
},
{
label
:
"有特殊规定,条件为:"
,
value
:
"2"
},
{
label
:
"有特殊规定,条件为:"
,
value
:
"2"
},
],
swttlx
:[
{
label
:
"需要加押的SWIFT报文(MT999)"
,
value
:
"M"
},
{
label
:
"需要加押的TELEX报文"
,
value
:
"T"
},
// {label:"正常",value:"N"}
]
]
}
}
...
...
src/model/Ditopn/Pattern.js
View file @
f74b1cf2
...
@@ -20,9 +20,10 @@ export default {
...
@@ -20,9 +20,10 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
{
max
:
40
,
message
:
"长度不能超过40"
}
],
],
"didgrp.apl.pts.ref"
:
[
"didgrp.apl.pts.ref"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
{
max
:
16
,
message
:
"长度不能超过16"
},
{
pattern
:
/
(
^
\d
+$
)
/
,
message
:
"只能输入数字"
,
trigger
:
'blur'
}
],
],
"ditp.usr.extkey"
:
[
"ditp.usr.extkey"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/model/Ditopn/index.js
View file @
f74b1cf2
...
@@ -66,6 +66,7 @@ export default class Ditopn{
...
@@ -66,6 +66,7 @@ export default class Ditopn{
namelc
:
""
,
// 名称 .didgrp.apl.namelc
namelc
:
""
,
// 名称 .didgrp.apl.namelc
adrelc
:
""
,
// 地址 .didgrp.apl.adrelc
adrelc
:
""
,
// 地址 .didgrp.apl.adrelc
dbfadrblkcn
:
""
,
// Chinese address .didgrp.apl.dbfadrblkcn
dbfadrblkcn
:
""
,
// Chinese address .didgrp.apl.dbfadrblkcn
rolsetflg
:
""
,
// 备查表相关字段
},
},
ben
:{
ben
:{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
,
...
...
src/model/Trnrel/Event.js
View file @
f74b1cf2
...
@@ -50,6 +50,7 @@ export default {
...
@@ -50,6 +50,7 @@ export default {
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/searow"
,
Utils
.
flatObject
(
this
.
model
))
let
rtnmsg
=
await
Api
.
post
(
"trnrel/searow"
,
Utils
.
flatObject
(
this
.
model
))
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
@@ -142,13 +143,28 @@ export default {
...
@@ -142,13 +143,28 @@ export default {
let
rtnmsg
=
await
Api
.
post
(
"/trnrel/executeRule/relrow"
,
data
)
let
rtnmsg
=
await
Api
.
post
(
"/trnrel/executeRule/relrow"
,
data
)
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
console
.
log
(
res
)
this
.
$message
({
type
:
'success'
,
message
:
'Release成功!'
});
await
this
.
sleep
(
2000
);
this
.
$router
.
go
(
0
);
}
}
else
{
else
{
that
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
that
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
})
})
},
},
sleep
(
ms
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
setTimeout
(()
=>
{
resolve
()
},
ms
)
})
},
onPrinte
()
{
onPrinte
()
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
...
@@ -178,15 +194,26 @@ export default {
...
@@ -178,15 +194,26 @@ export default {
})
})
},
},
onRejrow
()
{
onRejrow
()
{
debugger
;
console
.
log
(
this
.
getSelectedData
())
console
.
log
(
this
.
getSelectedData
())
this
.
model
.
trncorco
.
selinr
[
'rows'
]
=
this
.
getSelectedData
();
this
.
model
.
trncorco
.
selinr
[
'rows'
]
=
this
.
getSelectedData
();
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
// if (!valid)
// if (!valid)
// return;
// return;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/
executeRule/
rejrow"
,
Utils
.
flatObject
(
this
.
model
))
let
rtnmsg
=
await
Api
.
post
(
"trnrel/rejrow"
,
Utils
.
flatObject
(
this
.
model
))
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
var
cacheFileName
=
rtnmsg
.
data
.
cacheFileName
;
let
rejrowRtnmsg
=
await
Api
.
post
(
"trncor/init"
,
{
params
:{
"cacheFileName"
:
cacheFileName
}})
if
(
rejrowRtnmsg
.
respCode
==
"AAAAAA"
){
this
.
$message
({
type
:
'success'
,
message
:
'Reject成功!'
});
await
this
.
sleep
(
2000
);
this
.
$router
.
go
(
0
);
}
}
}
else
{
else
{
...
...
src/views/Business/Ditopn/Detp.vue
View file @
f74b1cf2
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"交单期限"
prop=
"didgrp.blk.preper"
>
<el-form-item
label=
"交单期限"
prop=
"didgrp.blk.preper"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.blk.preper"
:readonly=
"t
rue
"
style=
"width:70%;margin-right:20px;"
maxlength=
"105"
show-word-limit
placeholder=
"请输入"
></c-input>
<c-input
type=
"textarea"
v-model=
"model.didgrp.blk.preper"
:readonly=
"t
his.flag
"
style=
"width:70%;margin-right:20px;"
maxlength=
"105"
show-word-limit
placeholder=
"请输入"
></c-input>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onPreperButtxmsel"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onPreperButtxmsel"
>
...
...
</c-button>
</c-button>
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"didgrp.blk.preperflg"
>
<el-form-item
label=
""
prop=
"didgrp.blk.preperflg"
>
<c-checkbox
v-model=
"model.didgrp.blk.preperflg"
>
修改交单期限文本
</c-checkbox>
<c-checkbox
v-model=
"model.didgrp.blk.preperflg"
:click=
"preperflgExtkeyEvent()"
>
修改交单期限文本
</c-checkbox>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -149,10 +149,16 @@ export default {
...
@@ -149,10 +149,16 @@ export default {
props
:[
"model"
,
"codes"
],
props
:[
"model"
,
"codes"
],
data
(){
data
(){
return
{
return
{
flag
:
false
,
}
}
},
},
methods
:{...
Event
},
methods
:{...
Event
,
preperflgExtkeyEvent
(){
this
.
flag
=
!
this
.
model
.
didgrp
.
blk
.
preperflg
console
.
log
(
this
.
flag
)
},
},
created
:
function
(){
created
:
function
(){
}
}
...
...
src/views/Business/Ditopn/Docpan.vue
View file @
f74b1cf2
...
@@ -46,6 +46,15 @@
...
@@ -46,6 +46,15 @@
</c-input>
</c-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
""
>
<
template
slot-scope=
"scope"
>
<c-select
v-model=
"model.trnmod.trndoc.doceot[scope.row.index].staflg"
style=
"width:100%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.swttlx"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
...
...
src/views/Business/Ditopn/Ovwp.vue
View file @
f74b1cf2
...
@@ -198,7 +198,12 @@
...
@@ -198,7 +198,12 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"贸易类型"
prop=
"didgrp.rec.mytype"
>
<el-form-item
label=
"贸易类型"
prop=
"didgrp.rec.mytype"
>
<c-select
v-model=
"model.didgrp.rec.mytype"
style=
"width:100%"
placeholder=
"请选择贸易类型"
>
<c-select
v-if=
"model.didgrp.rec.elcflg == 'N'"
v-model=
"model.didgrp.rec.mytype"
style=
"width:100%"
placeholder=
"请选择贸易类型"
>
<el-option
v-for=
"item in codes.mylx"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
<c-select
v-else
v-model=
"model.didgrp.rec.mytype"
style=
"width:100%"
placeholder=
"请选择贸易类型"
>
<el-option
v-for=
"item in codes.mytype"
:key=
"item.value"
:label=
"item.label"
<el-option
v-for=
"item in codes.mytype"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
:value=
"item.value"
>
</el-option>
</el-option>
...
@@ -329,7 +334,7 @@
...
@@ -329,7 +334,7 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"开证类型"
prop=
"didgrp.rec.dkflg"
>
<el-form-item
label=
"开证类型"
prop=
"didgrp.rec.dkflg"
>
<c-select
v-model=
"model.didgrp.rec.dkflg"
style=
"width:100%"
placeholder=
"请选择开证类型"
>
<c-select
v-model=
"model.didgrp.rec.dkflg"
style=
"width:100%"
disabled
placeholder=
"请选择开证类型"
>
<el-option
v-for=
"item in codes.dkflg"
:key=
"item.value"
:label=
"item.label"
<el-option
v-for=
"item in codes.dkflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
:value=
"item.value"
>
</el-option>
</el-option>
...
@@ -397,6 +402,7 @@ export default {
...
@@ -397,6 +402,7 @@ export default {
return
{
return
{
declareParams
:{
"fileName"
:
"ditopn.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/ditopn/getElcsRef"
},
declareParams
:{
"fileName"
:
"ditopn.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/ditopn/getElcsRef"
},
flag
:
true
,
flag
:
true
,
trade
:
""
,
}
}
},
},
methods
:{
methods
:{
...
@@ -408,6 +414,7 @@ export default {
...
@@ -408,6 +414,7 @@ export default {
this
.
model
.
didgrp
.
apl
.
namelc
=
data
.
didgrp_apl_namelc
;
this
.
model
.
didgrp
.
apl
.
namelc
=
data
.
didgrp_apl_namelc
;
this
.
model
.
didgrp
.
apl
.
adrelc
=
data
.
didgrp_apl_adrelc
;
this
.
model
.
didgrp
.
apl
.
adrelc
=
data
.
didgrp_apl_adrelc
;
this
.
model
.
didgrp
.
apl
.
pts
.
extkey
=
data
.
didgrp_apl_pts_extkey
;
this
.
model
.
didgrp
.
apl
.
pts
.
extkey
=
data
.
didgrp_apl_pts_extkey
;
this
.
model
.
didgrp
.
apl
.
rolsetflg
=
data
.
didgrp_apl_rolsetflg
;
this
.
flag
=
false
;
this
.
flag
=
false
;
})
})
},
},
...
...
src/views/Business/Ditopn/index.vue
View file @
f74b1cf2
...
@@ -152,6 +152,7 @@ export default {
...
@@ -152,6 +152,7 @@ export default {
rules
:
null
,
rules
:
null
,
codes
:{
codes
:{
cur
:
CodeTable
.
cur
,
cur
:
CodeTable
.
cur
,
mylx
:
CodeTable
.
mylx
,
mytype
:
CodeTable
.
mytype
,
mytype
:
CodeTable
.
mytype
,
elcflg
:
CodeTable
.
elcflg
,
elcflg
:
CodeTable
.
elcflg
,
dkflg
:
CodeTable
.
dkflg
,
dkflg
:
CodeTable
.
dkflg
,
...
@@ -173,6 +174,7 @@ export default {
...
@@ -173,6 +174,7 @@ export default {
avbby0
:
CodeTable
.
avbby0
,
avbby0
:
CodeTable
.
avbby0
,
uiltxt
:
CodeTable
.
uiltxt
,
uiltxt
:
CodeTable
.
uiltxt
,
docsnf
:
CodeTable
.
docsnf
,
docsnf
:
CodeTable
.
docsnf
,
swttlx
:
CodeTable
.
swttlx
,
},
},
}
}
},
},
...
...
src/views/Business/Sptsel/index.vue
View file @
f74b1cf2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"eContainer"
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
tokenKey=
"modelForm"
label-width=
"170px"
size=
"small"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
tokenKey=
"modelForm"
label-width=
"170px"
size=
"small"
>
<el-tabs
ref=
"elment"
type=
"border-card"
@
tab-click=
"tabClick"
>
<el-tabs
ref=
"elment"
type=
"border-card"
@
tab-click=
"tabClick"
>
<el-tab-pane
label=
"
经办夹
查询"
>
<el-tab-pane
label=
"
待办任务
查询"
>
<m-menu
:model=
"model"
:codes=
"codes"
ref=
"Menu"
/>
<m-menu
:model=
"model"
:codes=
"codes"
ref=
"Menu"
/>
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
...
...
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