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
5324a15d
Commit
5324a15d
authored
Sep 24, 2021
by
Zhang Xiaojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
83c3438a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
productTable.vue
src/components/productManage/productTable.vue
+7
-7
productColumn.ts
src/const/columns/productColumn.ts
+2
-2
index.ts
src/service/LoanProductService/index.ts
+1
-1
No files found.
src/components/productManage/productTable.vue
View file @
5324a15d
...
...
@@ -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/const/columns/productColumn.ts
View file @
5324a15d
...
...
@@ -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 @
5324a15d
...
...
@@ -89,7 +89,7 @@ export default class LoanProductService {
items
:
iLoanProdcutItem
[]
total
:
number
}
>
({
url
:
prefix
+
'
/list'
,
url
:
'/loan/query/direct
/list'
,
method
:
'POST'
,
data
,
})
...
...
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