Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xiaojie
fns_backend
Commits
6b94b3ff
Commit
6b94b3ff
authored
Sep 25, 2021
by
xhx
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
https://gitlab.33.cn/CassiniatSaturn/fns_backend
into dev
parents
1bef7b6c
30e292a9
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
29 additions
and
18 deletions
+29
-18
productTable.vue
src/components/productManage/productTable.vue
+7
-7
topbar.vue
src/components/productManage/topbar.vue
+8
-4
productColumn.ts
src/const/columns/productColumn.ts
+2
-2
index.ts
src/service/LoanProductService/index.ts
+1
-1
index.ts
src/store/LoanProductManagement/index.ts
+1
-1
index.vue
src/views/Root/OutletManagement/index.vue
+7
-0
publish.vue
src/views/Root/Product/Loan/publish.vue
+2
-2
index.vue
src/views/Root/index.vue
+1
-1
No files found.
src/components/productManage/productTable.vue
View file @
6b94b3ff
...
...
@@ -14,7 +14,7 @@
<span
slot=
"name"
slot-scope=
"text"
>
{{ text.inst_name }}-{{ text.product_name }}
</span>
<
template
#
product
_type=
"text"
>
<
template
#
loan
_type=
"text"
>
{{
text
|
filterLoanType
}}
</
template
>
<span
slot=
"date"
slot-scope=
"text"
>
...
...
@@ -53,12 +53,6 @@
<div
v-if=
"record.product_status == eProductStatus.unpublished"
>
<a
@
click=
"toAdd(record)"
>
上架
</a>
<a-divider
type=
"vertical"
/>
<a
@
click=
"toDelete(record)"
>
删除
</a>
</div>
<!-- 上架状态 -->
<div
v-else
>
<a
@
click=
"toRemove(record)"
>
下架
</a>
<a-divider
type=
"vertical"
/>
<a
@
click=
"
$router.push({
...
...
@@ -69,6 +63,12 @@
>
编辑
</a
>
<a-divider
type=
"vertical"
/>
<a
@
click=
"toDelete(record)"
>
删除
</a>
</div>
<!-- 上架状态 -->
<div
v-else
>
<a
@
click=
"toRemove(record)"
>
下架
</a>
<a-divider
type=
"vertical"
/>
<a
v-if=
"record.product_status == eProductStatus.normal"
@
click=
"setAsHot(record)"
...
...
src/components/productManage/topbar.vue
View file @
6b94b3ff
...
...
@@ -12,13 +12,14 @@
:startTime=
"searchPageReqParams.startTime"
:endTime=
"searchPageReqParams.endTime"
/>
<span
class=
"mr-3"
>
消息
分类
</span>
<span
class=
"mr-3"
>
产品
分类
</span>
<a-select
:default-value=
"productType[0]"
style=
"width: 120px; margin-right: 10px"
v-model=
"searchPageReqParams.type"
@
change=
"handleChange"
>
<a-select-option
v-for=
"(type, i) in productType"
:key=
"i"
>
<a-select-option
v-for=
"(type, i) in productType"
:key=
"i"
:value=
"i"
>
{{
type
}}
</a-select-option>
</a-select>
...
...
@@ -64,7 +65,7 @@ export default Vue.extend({
return
{
searchPageReqParams
:
{
name
:
""
,
type
:
""
,
type
:
0
,
startTime
:
undefined
as
undefined
|
number
,
endTime
:
undefined
as
undefined
|
number
,
offset
:
0
,
...
...
@@ -86,6 +87,9 @@ export default Vue.extend({
},
},
methods
:
{
handleChange
(
val
:
any
){
this
.
searchPageReqParams
.
type
=
val
},
...
mapMutations
(
'loanProductManagement'
,
{
productSave
:
'save'
,
}),
...
...
@@ -104,7 +108,7 @@ export default Vue.extend({
},
reset
()
{
this
.
searchPageReqParams
.
name
=
""
;
this
.
searchPageReqParams
.
type
=
""
;
this
.
searchPageReqParams
.
type
=
0
;
this
.
searchPageReqParams
.
startTime
=
undefined
;
this
.
searchPageReqParams
.
endTime
=
undefined
;
this
.
$nextTick
(()
=>
{
...
...
src/const/columns/productColumn.ts
View file @
6b94b3ff
...
...
@@ -13,8 +13,8 @@ export default[
{
title
:
'产品分类'
,
align
:
'center'
,
dataIndex
:
'
product
_type'
,
scopedSlots
:
{
customRender
:
'
product
_type'
},
dataIndex
:
'
loan
_type'
,
scopedSlots
:
{
customRender
:
'
loan
_type'
},
},
{
title
:
'贷款期限(月)'
,
...
...
src/service/LoanProductService/index.ts
View file @
6b94b3ff
...
...
@@ -89,7 +89,7 @@ export default class LoanProductService {
items
:
iLoanProdcutItem
[]
total
:
number
}
>
({
url
:
prefix
+
'
/list'
,
url
:
'/loan/query/direct
/list'
,
method
:
'POST'
,
data
,
})
...
...
src/store/LoanProductManagement/index.ts
View file @
6b94b3ff
...
...
@@ -30,7 +30,7 @@ export default <Module<iProductModuleState, {}>>{
const
ret
=
await
LoanProductService
.
getInstance
().
queryDirectLoanReq
({
end_time
:
state
.
end_time
as
number
,
limit
:
state
.
limit
,
loan_type
:
0
,
loan_type
:
state
.
loan_type
,
offset
:
state
.
offset
as
number
,
product_status
:
0
,
start_time
:
state
.
start_time
as
number
,
...
...
src/views/Root/OutletManagement/index.vue
View file @
6b94b3ff
<
template
>
<div>
<!--
<input
type=
"file"
@
input=
"handleInput"
/>
-->
<div
v-if=
"showbranchFilter"
>
<p
class=
"text-2xl font-bold mb-5"
>
网点管理
</p>
<div>
...
...
@@ -401,6 +402,12 @@ export default Vue.extend({
}
},
methods
:
{
async
handleInput
(
e
:
Event
){
const
ret
=
await
handle
建设银行
excelFileChange
(
e
)
StaffService
.
getInstance
().
import
({
staffs
:
ret
as
any
})
},
getLalo
()
{
window
.
navigator
.
geolocation
.
getCurrentPosition
((
position
)
=>
{
this
.
formData
.
la
=
position
.
coords
.
latitude
.
toString
();
...
...
src/views/Root/Product/Loan/publish.vue
View file @
6b94b3ff
...
...
@@ -60,11 +60,11 @@
</a-form-model-item>
<a-form-model-item
label=
"担保方式"
:wrapper-col=
"
{ span: 5 }">
<a-select
:default-value=
"guaranteeType[0]"
style=
"width: 120px; margin-right: 10px"
@
change=
"changeGuarantee"
v-model=
"form.guarantee"
>
<a-select-option
v-for=
"(type,
i) in guaranteeType"
:key=
"i
"
>
<a-select-option
v-for=
"(type,
i) in guaranteeType"
:key=
"type"
:value=
"i+1
"
>
{{
type
}}
</a-select-option>
</a-select>
...
...
src/views/Root/index.vue
View file @
6b94b3ff
...
...
@@ -2,7 +2,7 @@
<div>
<a-layout
id=
"components-layout-demo-fixed-sider"
>
<a-layout-sider
width=
"256"
style=
"background: white"
>
<div
class=
"text-center text-lg my-3"
>
普惠金融后
台
</div>
<div
class=
"text-center text-lg my-3"
>
中小企业协会综合服务平
台
</div>
<a-menu
style=
"width: 256px"
:open-keys
.
sync=
"openKeys"
...
...
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