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
96cafc9a
Commit
96cafc9a
authored
Jun 15, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉页面加载时的校验、增加退出登录
parent
66b84e7a
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
31 additions
and
26 deletions
+31
-26
commonApi.js
src/mixin/commonApi.js
+0
-3
commonProcess.js
src/mixin/commonProcess.js
+0
-9
Default.js
src/model/Ditopn/Default.js
+1
-1
Pattern.js
src/model/Ditopn/Pattern.js
+6
-6
Ovwp.vue
src/views/Business/Ditopn/Ovwp.vue
+2
-5
index.vue
src/views/Business/Ditopn/index.vue
+1
-1
Header.vue
src/views/Layout/Header.vue
+21
-1
No files found.
src/mixin/commonApi.js
View file @
96cafc9a
...
...
@@ -39,9 +39,6 @@ export default {
params
=
params
||
{}
let
data
=
Utils
.
flatObject
(
this
.
model
)
const
res
=
await
Api
.
post
(
this
.
declareParams
.
trnName
+
"/checkAll"
,{...
data
,
params
})
if
(
res
.
respCode
===
SUCCESS
)
{
this
.
changeFormValidateDisabled
(
false
);
}
return
res
},
pedding
(
params
){
...
...
src/mixin/commonProcess.js
View file @
96cafc9a
...
...
@@ -9,12 +9,10 @@ export default {
}
},
created
()
{
this
.
changeFormValidateDisabled
(
true
);
},
mounted
()
{
if
(
!
this
.
isInDisplay
){
// this.ruleWatcher()
this
.
changeFormValidateDisabled
(
true
);
this
.
ruleCheck
()
}
},
...
...
@@ -81,13 +79,6 @@ export default {
}
}
return
"blur"
;
},
changeFormValidateDisabled
(
flag
)
{
const
fields
=
this
.
$refs
.
modelForm
.
fields
for
(
let
i
=
0
;
i
<
fields
.
length
;
i
++
)
{
const
field
=
fields
[
i
];
field
.
validateDisabled
=
flag
}
}
},
computed
:{
...
...
src/model/Ditopn/Default.js
View file @
96cafc9a
...
...
@@ -260,7 +260,7 @@ function defaultDidgrpRecExpplc() {
}
function
defaultDidgrpAdvPtsBankno
()
{
const
that
=
this
;
that
.
executeRule
(
"
executeRule
"
).
then
(
res
=>
{
that
.
executeRule
(
"
didgrp.adv.pts.bankno
"
).
then
(
res
=>
{
//TODO
})
}
...
...
src/model/Ditopn/Pattern.js
View file @
96cafc9a
...
...
@@ -42,12 +42,12 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"didgrp.cbs.nom1.cur"
:
[
{
required
:
true
,
message
:
"必输项"
},
{
required
:
true
,
message
:
"必输项"
,
trigger
:
'change'
},
],
"didgrp.cbs.nom1.amt"
:[
{
required
:
true
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
required
:
true
,
message
:
"必输项"
,
trigger
:
'blur'
},
{
max
:
18
,
message
:
"整数位不能超过14位"
,
trigger
:
'blur'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
,
trigger
:
'blur'
}
],
"didgrp.apl.namelc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -201,8 +201,8 @@ export default {
],
"didgrp.blk.lcrgod"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1430
,
message
:
"长度不能超过1430"
}
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
,
trigger
:
"blur"
},
{
max
:
1430
,
message
:
"长度不能超过1430"
,
trigger
:
"blur"
}
],
"didgrp.blk.lcrdoc"
:[
...
...
src/views/Business/Ditopn/Ovwp.vue
View file @
96cafc9a
...
...
@@ -54,7 +54,7 @@
<el-col
:span=
"6"
>
<el-form-item
label=
"信用证金额"
prop=
"didgrp.cbs.nom1.cur"
>
<c-select
v-model=
"model.didgrp.cbs.nom1.cur"
style=
"width:100%"
placeholder=
"请选择Currency"
@
blur=
"selectBlur"
>
<c-select
v-model=
"model.didgrp.cbs.nom1.cur"
style=
"width:100%"
placeholder=
"请选择Currency"
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
...
...
@@ -63,7 +63,7 @@
</el-col>
<el-col
:span=
"6"
>
<el-form-item
style=
"text-align:left"
label-width=
"20px"
prop=
"didgrp.cbs.nom1.amt"
>
<c-input
v-model
.
lazy
=
"model.didgrp.cbs.nom1.amt"
style=
"text-align:left;width:100%"
placeholder=
"请输入信用证金额"
></c-input>
<c-input
v-model=
"model.didgrp.cbs.nom1.amt"
style=
"text-align:left;width:100%"
placeholder=
"请输入信用证金额"
></c-input>
</el-form-item>
</el-col>
...
...
@@ -417,9 +417,6 @@ export default {
this
.
model
.
didgrp
.
ben
.
adrelc
=
data
.
didgrp_ben_adrelc
;
this
.
model
.
didgrp
.
ben
.
pts
.
extkey
=
data
.
didgrp_ben_pts_extkey
;
})
},
selectBlur
(
e
)
{
console
.
log
(
e
)
}
},
created
:
function
(){
...
...
src/views/Business/Ditopn/index.vue
View file @
96cafc9a
<
template
>
<c-page
title=
"买方信用证开立"
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"200px"
size=
"small"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"200px"
size=
"small"
:validate-on-rule-change=
"false"
>
<el-tabs
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<el-tab-pane
label=
"内容"
>
<!--PD000001 -->
...
...
src/views/Layout/Header.vue
View file @
96cafc9a
<
template
>
<div
class=
"self-header"
>
<h2
class=
"self_header_label"
>
新一代银行国际结算系统
</h2>
<div
class=
"user-operate"
>
<span
@
click=
"logout"
>
退出登录
</span>
</div>
</div>
</
template
>
<
script
>
export
default
{
methods
:
{
logout
()
{
this
.
$store
.
commit
(
"UserContext/setLogout"
);
this
.
$router
.
push
(
"/login"
);
}
}
}
</
script
>
...
...
@@ -29,4 +37,15 @@ export default {
top
:
15px
;
left
:
2em
;
}
.user-operate
{
position
:
absolute
;
right
:
20px
;
color
:
#FFF
;
}
.user-operate
span
{
cursor
:
pointer
;
}
.user-operate
span
:hover
{
color
:
#e6a23c
;
}
</
style
>
\ No newline at end of file
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