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
a47e93b2
Commit
a47e93b2
authored
Apr 19, 2023
by
WF1020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitcan的暂存,检验,提交的修改
parent
7ed0db77
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
184 additions
and
32 deletions
+184
-32
index.js
src/business/gitcan/event/index.js
+102
-0
index.js
src/business/gitcan/model/index.js
+5
-4
Canp.vue
src/business/gitcan/views/Canp.vue
+2
-7
index.vue
src/business/gitcan/views/index.vue
+57
-10
index.js
src/business/gitopn/model/index.js
+1
-1
Infsea.vue
src/business/infgid/views/Infsea.vue
+9
-9
vue.config.js
vue.config.js
+8
-1
No files found.
src/business/gitcan/event/index.js
View file @
a47e93b2
...
...
@@ -73,5 +73,106 @@ export default {
return
;
}
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData
(
key
)
{
console
.
log
(
key
);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async
queryOwnref
()
{
let
params
=
{
ptainr
:
this
.
model
.
gidgrp
.
apl
.
pts
.
ptainr
,
businessType
:
'LG'
,
tbl
:
'LG'
,
};
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
'/service/gitopn/getOwnRef'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
loading
.
close
();
this
.
model
.
gidgrp
.
rec
.
ownref
=
res
.
data
;
}
},
// 获取gitopn弹框表格数据
async
queryGridEtyPromptDialogData
(
type
,
ptytyp
)
{
let
params
=
{
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
ptytyp
:
ptytyp
,
extkey
:
this
.
model
.
gidgrp
[
type
.
toLowerCase
()].
pts
.
extkey
,
};
let
res
=
await
Api
.
post
(
'/service/ptspta/list'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
root
.
$refs
[
'etyDialog'
].
show
=
true
;
this
.
root
.
promptData
.
data
=
res
.
data
.
ptaInfos
;
this
.
root
.
promptData
.
type
=
type
;
}
},
// 选中gitopn弹框表格的行数据
async
selectGridEtyPromptData
(
row
)
{
let
params
=
{
...
row
,
};
let
res
=
await
Api
.
post
(
'/service/ptspta/fetch'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$set
(
this
.
model
.
gidgrp
,
row
.
role
.
toLowerCase
(),
res
.
data
);
}
},
// 业务信息=》基本信息=》支出目的
purposChange
(
key
,
value
)
{
this
.
handleChangeForm
(
key
,
value
);
},
// 初始化保函开立类型码表下拉列表
async
queryHndtypCodeTableList
(
trnName
)
{
let
params
=
{
gitp
:
{
swiftflg
:
this
.
model
.
gitp
.
swiftflg
,
},
gidgrp
:
{
rec
:
{
purpos
:
this
.
model
.
gidgrp
.
rec
.
purpos
,
},
},
transName
:
trnName
.
toUpperCase
(),
};
let
res
=
await
Api
.
post
(
'/service/gitopn/initHndtyp'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$set
(
this
.
codes
,
'voHndtyp'
,
res
.
data
);
}
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg
()
{
this
.
queryHndtypCodeTableList
(
this
.
root
.
trnName
);
},
// 支出目的修改--联动保函开立类型
handleChangePurpos
()
{
this
.
queryHndtypCodeTableList
(
this
.
root
.
trnName
);
},
buildLiaccv
()
{
let
params
=
{
...
buildFn
.
buildCommonData
(
this
.
model
,
this
.
trnName
),
liaccvg
:
this
.
model
.
liaccv
.
liaccvg
,
oldamt
:
this
.
model
.
liaccv
.
oldamt
,
chgamt
:
this
.
model
.
liaccv
.
chgamt
,
concur
:
this
.
model
.
liaccv
.
concur
,
};
return
params
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel
(
emitParams
)
{
let
reqParams
=
{}
switch
(
emitParams
.
code
)
{
case
'processMethods'
:
reqParams
=
buildFn
.
buildSetglg
(
this
.
model
,
this
.
trnName
);
this
.
calcPayDetail
(
reqParams
)
break
case
'changeDsp'
:
let
index
=
emitParams
.
index
;
let
setglgRequest
=
buildFn
.
buildSetglg
(
this
.
model
,
this
.
trnName
);
setglgRequest
.
setglg
=
{
setgll
:
emitParams
.
list
};
this
.
setgllAccts
(
setglgRequest
,
index
);
break
default
:
return
}
}
}
}
\ No newline at end of file
src/business/gitcan/model/index.js
View file @
a47e93b2
...
...
@@ -35,19 +35,20 @@ export default class Gitcan {
gartyp
:
''
,
purposin
:
''
,
reddat
:
''
,
redamt
:
''
,
redamt
:
'
0
'
,
outcur
:
''
,
redcur
:
''
,
outamt
:
''
,
outamt
:
'0'
,
branchinr
:
''
,
},
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
,
amt
:
'
0
'
,
},
max
:
{
cur
:
''
,
amt
:
''
,
amt
:
'
0
'
,
},
},
},
...
...
src/business/gitcan/views/Canp.vue
View file @
a47e93b2
...
...
@@ -61,12 +61,7 @@
<c-checkbox
v-model=
"model.gitp0.gitp0s20"
disabled
style=
"
margin-left: 18px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
"
style=
"margin-left: 18px;height: 32px;line-height: 32px;padding-bottom: 2px;"
>
附加金额
</c-checkbox
>
</c-col>
...
...
@@ -138,7 +133,7 @@
v-model=
"model.gidgrp.rec.gartyp"
style=
"width: 100%"
placeholder=
"请选择保函种类"
:code=
"codes.typgar
2
"
:code=
"codes.typgar"
>
</c-select>
</el-form-item>
...
...
src/business/gitcan/views/index.vue
View file @
a47e93b2
...
...
@@ -76,21 +76,26 @@
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
<!--
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
@
select-ety=
"selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
-->
<!-- 选择数据的表格弹框 -->
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
@
select-ety=
"selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
</c-page>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Gitcan
from
"../model"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
operationFunc
from
"~/mixin/operationFunc"
;
import
Limitbody
from
"~/views/Public/Limitbody"
;
import
Engp
from
"~/components/business/engp/views"
;
import
Doctre
from
"~/views/Public/Doctre"
;
...
...
@@ -123,7 +128,7 @@ export default {
root
:
this
,
};
},
mixins
:
[
commonProcess
,
commonFuncs
,
event
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
operationFunc
,
event
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"ovwp"
,
...
...
@@ -132,6 +137,48 @@ export default {
rules
:
null
,
codes
:
{
...
CodeTable
},
activeNames
:
[
"engp"
],
promptData
:
{
title
:
'Select a Party'
,
columns
:
[
{
prop
:
'ptyInr'
,
label
:
'Party Number'
},
{
prop
:
'inr'
,
label
:
'Address Number'
},
{
prop
:
'branch'
,
label
:
'Branch Code'
},
{
prop
:
'bchName'
,
label
:
'Branch Name'
},
{
prop
:
'adrName'
,
label
:
'Address Name'
},
{
prop
:
'adr1'
,
label
:
'Address1'
},
{
prop
:
'locCty'
,
label
:
'City'
},
{
prop
:
'locZip'
,
label
:
'Zip'
},
{
prop
:
'bicCode'
,
label
:
'BIC'
}
],
data
:
[]
}
};
},
methods
:
{
...
...
src/business/gitopn/model/index.js
View file @
a47e93b2
...
...
@@ -303,7 +303,7 @@ export default class Gitopn {
founds7
:
''
,
// 以�'�易形式回流 .cfagit.recp.pubp.founds7
founds8
:
''
,
// 以其他形式回流 .cfagit.recp.pubp.founds8
cousel1
:
{
guedparecompcode
:
''
,
// 被担保人境内母公司代码 .cfagit.recp.pubp.cousel1.guedparecompcode
guedparecompcode
:
''
,
// 被担保人境内母公司代码 .cfagit.recp.pubp.cousel1.guedparecompcode
},
},
dclp
:
{},
...
...
src/business/infgid/views/Infsea.vue
View file @
a47e93b2
...
...
@@ -533,15 +533,15 @@
</el-table>
<div
class=
"pagination-box"
>
<el-pagination
style=
"margin-right: 30px;"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"pagination.pageIndex"
:page-sizes=
"[10, 20, 50, 100, 500]"
:page-size=
"pagination.pageSize"
layout=
"sizes, prev, pager, next"
:total=
"pagination.total"
>
</el-pagination>
style=
"margin-right: 30px;"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"pagination.pageIndex"
:page-sizes=
"[10, 20, 50, 100, 500]"
:page-size=
"pagination.pageSize"
layout=
"sizes, prev, pager, next"
:total=
"pagination.total"
>
</el-pagination>
</div>
</c-col>
</div>
...
...
vue.config.js
View file @
a47e93b2
...
...
@@ -71,7 +71,14 @@ module.exports = {
}
},
'/gjjs/service/'
:
{
target
:
'http://127.0.0.1:9999'
,
// target: 'http://192.168.0.134:9999',//钱煜
target
:
'http://192.168.0.8:9999'
,
//曹志寻
//target: 'http://192.168.0.146:9999',//张厚
// target: 'http://192.168.0.28:9999',//李少勇
//target: 'http://192.168.0.110:10025',//服务器
// target: 'http://192.168.0.29:9999',//万平
// target: 'http://192.168.0.42:9999',//胡希
// target: 'http://192.168.0.136: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