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
aa0515fe
Commit
aa0515fe
authored
Mar 23, 2023
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
36d7621e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
36 deletions
+27
-36
index.js
src/business/gitopn/event/index.js
+17
-14
Detp.vue
src/business/gitopn/views/Detp.vue
+0
-2
Opnp.vue
src/business/gitopn/views/Opnp.vue
+0
-1
Ovwp1.vue
src/business/gitopn/views/Ovwp1.vue
+5
-11
Ptyp.vue
src/business/gitopn/views/Ptyp.vue
+0
-1
index.vue
src/business/gitopn/views/index.vue
+4
-3
FunctionBtn.vue
src/components/FunctionBtn.vue
+1
-4
No files found.
src/business/gitopn/event/index.js
View file @
aa0515fe
import
Api
from
"~/service/Api"
export
default
{
methods
:
{
// 改变form后更新数据统一方法
handleChangeForm
(
key
,
value
)
{
console
.
log
(
'key==='
,
key
)
console
.
log
(
value
)
// 提交
handleSubmit
()
{
console
.
log
(
'提交'
)
},
// 检核
handleCheck
()
{
this
.
$refs
[
'modelForm'
].
validate
((
valid
)
=>
{
console
.
log
(
'valid'
,
valid
)
})
},
// 暂存
handleStash
()
{
console
.
log
(
'暂存'
)
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData
(
key
)
{
console
.
log
(
key
)
},
// 业务信息=》开立方式=》对外担保类型
cfaguatypChange
(
key
,
value
)
{
if
(
this
.
model
.
gidgrp
.
rec
.
fingua
==
"Y"
&&
this
.
model
.
cfagit
.
cfaflg
==
"1"
)
{
this
.
handleChangeForm
(
key
,
value
)
}
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async
queryOwnref
()
{
let
params
=
{
...
...
@@ -30,8 +33,8 @@ export default {
this
.
model
.
gidgrp
.
rec
.
ownref
=
res
.
data
}
},
//
业务信息=》基本信息=》申请人-----获取申请人信息
async
queryG
idgrpAplPtsExtkey
(
type
,
ptytyp
)
{
//
获取gitopn弹框表格数据
async
queryG
ridEtyPromptDialogData
(
type
,
ptytyp
)
{
let
params
=
{
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
ptytyp
:
ptytyp
,
...
...
@@ -44,8 +47,8 @@ export default {
this
.
root
.
promptData
.
type
=
type
}
},
//
业务信息=》基本信息=》申请人-----设置申请人信息
async
select
Ety
(
row
)
{
//
选中gitopn弹框表格的行数据
async
select
GridEtyPromptData
(
row
)
{
let
params
=
{
...
row
}
...
...
src/business/gitopn/views/Detp.vue
View file @
aa0515fe
...
...
@@ -135,7 +135,6 @@
size=
"small"
type=
"primary"
style=
"margin: 5px 0 0 10px;width:100px;float:left;"
@
click=
"handleChangeForm"
>
查看系统文本
</c-button>
...
...
@@ -145,7 +144,6 @@
size=
"small"
type=
"primary"
style=
"margin: 5px 0 0 10px;width:100px;float:left;"
@
click=
"handleChangeForm"
>
查看历史文本
</c-button>
...
...
src/business/gitopn/views/Opnp.vue
View file @
aa0515fe
...
...
@@ -42,7 +42,6 @@
style=
"width: 100%"
placeholder=
"请选择是否对外担保"
:code=
"codes.fingua"
@
change=
"handleChangeForm('gidgrp.rec.fingua', model.gidgrp.rec.fingua)"
>
</c-select>
</el-form-item>
...
...
src/business/gitopn/views/Ovwp1.vue
View file @
aa0515fe
...
...
@@ -155,7 +155,6 @@
style=
"width: 100%"
placeholder=
"请选择保函开立类型"
:code=
"getValues('gidgrp.rec.hndtyp', 'hndtyp')"
@
change=
"handleChangeForm('gidgrp.rec.hndtyp', model.gidgrp.rec.hndtyp)"
>
</c-select>
</el-form-item>
...
...
@@ -168,7 +167,6 @@
style=
"width: 100%"
placeholder=
"请选择保函种类"
:code=
"getValues('gidgrp.rec.gartyp','typgar')"
@
change=
"handleChangeForm('gidgrp.rec.gartyp', model.gidgrp.rec.gartyp)"
>
</c-select>
</el-form-item>
...
...
@@ -708,7 +706,7 @@
v-model=
"model.gidgrp.apl.pts.extkey"
maxlength=
"16"
placeholder=
"请输入"
@
keyup
.
enter
.
native=
"queryG
idgrpAplPtsExtkey
('APL', 'C')"
@
keyup
.
enter
.
native=
"queryG
ridEtyPromptDialogData
('APL', 'C')"
>
</c-input>
<
template
slot=
"footer"
>
...
...
@@ -784,7 +782,7 @@
v-model=
"model.gidgrp.adv.pts.extkey"
maxlength=
"16"
placeholder=
"请输入"
@
keyup
.
enter
.
native=
"queryG
idgrpAplPtsExtkey
('ADV', 'B')"
@
keyup
.
enter
.
native=
"queryG
ridEtyPromptDialogData
('ADV', 'B')"
>
</c-input>
<
template
slot=
"footer"
>
...
...
@@ -856,7 +854,7 @@
v-model=
"model.gidgrp.iss.pts.extkey"
maxlength=
"16"
placeholder=
"请输入"
@
keyup
.
enter
.
native=
"queryG
idgrpAplPtsExtkey
('ISS', 'B')"
@
keyup
.
enter
.
native=
"queryG
ridEtyPromptDialogData
('ISS', 'B')"
></c-input>
<
template
slot=
"footer"
>
<c-button
...
...
@@ -924,7 +922,7 @@
v-model=
"model.gidgrp.ben.pts.extkey"
maxlength=
"16"
placeholder=
"请输入"
@
keyup
.
enter
.
native=
"queryG
idgrpAplPtsExtkey
('BEN', 'C')"
@
keyup
.
enter
.
native=
"queryG
ridEtyPromptDialogData
('BEN', 'C')"
></c-input>
<
template
slot=
"footer"
>
<c-button
...
...
@@ -1157,7 +1155,6 @@
maxlength=
"780"
show-word-limit
placeholder=
"请输入到期条件"
@
blur=
"handleChangeForm('gidgrp.blk.atxexptxt', model.gidgrp.blk.atxexptxt)"
></c-input>
</c-form-item>
</c-col>
...
...
@@ -1288,7 +1285,6 @@
maxlength=
"780"
show-word-limit
placeholder=
"请输入责任状况"
@
blur=
"handleChangeForm('gidgrp.blk.atxliatxtc', model.gidgrp.blk.atxliatxtc)"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -1302,7 +1298,6 @@
"
style=
"margin: 0 0 0 10px"
v-model=
"model.gitp.liatxtcmodflg"
@
change=
"handleChangeForm('gitp.liatxtcmodflg', model.gitp.liatxtcmodflg)"
>
是否手工修改保函文本
</c-checkbox
>
<c-button
...
...
@@ -1321,7 +1316,6 @@
size=
"small"
type=
"primary"
style=
"margin: 5px 0 0 10px;float: left;text-align: center;"
@
click=
"handleChangeForm"
>
查看历史文本
</c-button>
...
...
@@ -1348,7 +1342,7 @@ export default {
flag
(){
if
(
this
.
model
.
gitp
.
swiftflg
==
'N'
)
{
if
(
this
.
model
.
gidgrp
.
rec
.
ownref
==
''
)
{
if
(
this
.
model
.
gidgrp
.
rec
.
hndtyp
=
==
''
&&
this
.
model
.
gidgrp
.
apl
.
pts
.
adrblk
!==
''
)
{
if
(
this
.
model
.
gidgrp
.
rec
.
hndtyp
!
==
''
&&
this
.
model
.
gidgrp
.
apl
.
pts
.
adrblk
!==
''
)
{
return
false
;
}
else
{
return
true
;
...
...
src/business/gitopn/views/Ptyp.vue
View file @
aa0515fe
...
...
@@ -80,7 +80,6 @@
@
keyup
.
enter
.
native=
"
showGridPromptDialog(`gidgrp.con.pts.extkey`)
"
@
change=
"handleChangeForm('gidgrp.con.pts.extkey', model.gidgrp.con.pts.extkey)"
></c-input>
<
template
slot=
"footer"
>
<c-button
...
...
src/business/gitopn/views/index.vue
View file @
aa0515fe
...
...
@@ -86,16 +86,18 @@
</c-tabs>
</el-form>
<!-- 底部按钮 -->
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
</c-function-btn>
<!-- 选择数据的表格弹框 -->
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
@
select-ety=
"select
Ety
"
@
select-ety=
"select
GridEtyPromptData
"
>
</c-grid-ety-prompt-dialog>
</c-page>
...
...
@@ -104,7 +106,6 @@
<
script
>
import
event
from
'../event'
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
formRules
from
'../model/check'
import
CodeTable
from
"~/config/CodeTable"
;
import
Gitopn
from
"../model"
;
...
...
@@ -179,7 +180,7 @@ export default {
};
},
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
,
event
],
mixins
:
[
commonProcess
,
event
],
data
()
{
return
{
tabVal
:
"ovwp"
,
...
...
src/components/FunctionBtn.vue
View file @
aa0515fe
...
...
@@ -85,9 +85,6 @@ export default {
},
methods
:
{
// judgeVisiableInfo() {
// },
start
:
async
function
()
{
this
.
handleSubmit
&&
(
await
this
.
handleSubmit
());
},
...
...
@@ -132,7 +129,7 @@ export default {
}
};
</
script
>
<
style
>
<
style
scoped
>
.m-Btn-eContainer
{
display
:
flex
;
/*flex布局*/
flex-direction
:
row
;
...
...
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