Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
贷
贷超管理后台
Project
Project
Details
Activity
Releases
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
zhanhai
贷超管理后台
Commits
de72075c
Commit
de72075c
authored
Jan 10, 2023
by
刘雅文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增官网
parent
2fd297a9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
13 deletions
+54
-13
list.vue
src/views/prod/list.vue
+52
-11
更新日志.md
更新日志.md
+2
-2
No files found.
src/views/prod/list.vue
View file @
de72075c
...
@@ -22,6 +22,20 @@
...
@@ -22,6 +22,20 @@
clearable
clearable
placeholder=
"请输入机构名称"
placeholder=
"请输入机构名称"
/>
/>
</el-form-item>
<el-form-item
label=
"上架渠道"
>
<el-select
v-model=
"queryForm.channel"
clearable
placeholder=
"请选择"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
<el-button
...
@@ -32,6 +46,7 @@
...
@@ -32,6 +46,7 @@
搜 索
搜 索
</el-button>
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
...
@@ -83,7 +98,7 @@
...
@@ -83,7 +98,7 @@
fit=
"fit"
fit=
"fit"
/>
/>
</div>
</div>
<div
v-else-if=
"item.label==='产品状态'"
>
<
!--
<
div
v-else-if=
"item.label==='产品状态'"
>
<el-tag
<el-tag
v-if=
"row[item.prop] === '1'"
v-if=
"row[item.prop] === '1'"
type=
"success"
type=
"success"
...
@@ -98,7 +113,7 @@
...
@@ -98,7 +113,7 @@
>
>
禁用
禁用
</el-tag>
</el-tag>
</div>
</div>
-->
<span
v-else
>
{{
row
[
item
.
prop
]
}}
</span>
<span
v-else
>
{{
row
[
item
.
prop
]
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -113,19 +128,19 @@
...
@@ -113,19 +128,19 @@
<el-button
<el-button
v-if=
"row.status==='1'"
v-if=
"row.status==='1'"
size=
"mini"
size=
"mini"
type=
"
danger
"
type=
"
success
"
@
click=
"handleClick(row)"
@
click=
"handleClick(row)"
>
>
禁用
上架管理
</el-button>
</el-button>
<el-button
<
!--
<
el-button
v-else
v-else
size=
"mini"
size=
"mini"
type=
"success"
type=
"success"
@
click=
"handleClick(row)"
@
click=
"handleClick(row)"
>
>
启用
启用
</el-button>
</el-button>
-->
<el-button
<el-button
size=
"mini"
size=
"mini"
type=
"primary"
type=
"primary"
...
@@ -136,7 +151,24 @@
...
@@ -136,7 +151,24 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<!-- 上架管理弹框 -->
<
template
>
<el-dialog
title=
"请选择上架渠道(可多选)"
width=
"40%"
center
:visible
.
sync=
"channelDialog"
>
<div
style=
"margin-top: 20px"
>
<el-checkbox-group
v-model=
"checkboxGroup1"
size=
"small"
>
<el-checkbox
label=
"省一下"
border
></el-checkbox>
<el-checkbox
label=
"安稳金服"
border
></el-checkbox>
<el-checkbox
label=
"有信钱包"
border
></el-checkbox>
<el-checkbox
label=
"一品贷"
border
></el-checkbox>
<el-checkbox
label=
"暂无渠道"
border
></el-checkbox>
</el-checkbox-group>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"channelDialog = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"channelDialogSure"
>
确 定
</el-button>
</div>
</el-dialog>
</
template
>
<el-pagination
<el-pagination
:current-page=
"queryForm.current"
:current-page=
"queryForm.current"
:layout=
"layout"
:layout=
"layout"
...
@@ -158,7 +190,7 @@ export default {
...
@@ -158,7 +190,7 @@ export default {
name
:
"Fence"
,
name
:
"Fence"
,
data
()
{
data
()
{
return
{
return
{
checkList
:
[
"产品等级"
,
"产品编号"
,
"产品名称"
,
"LOGO"
,
"机构编号"
,
"
产品状态"
,
"对接方式"
,
"创建时间
"
],
checkList
:
[
"产品等级"
,
"产品编号"
,
"产品名称"
,
"LOGO"
,
"机构编号"
,
"
对接方式"
,
"创建时间"
,
"上架渠道
"
],
columns
:
[
columns
:
[
{
{
order
:
1
,
order
:
1
,
...
@@ -188,7 +220,7 @@ export default {
...
@@ -188,7 +220,7 @@ export default {
},
},
{
{
order
:
6
,
order
:
6
,
label
:
"
产品状态
"
,
label
:
"
上架渠道
"
,
prop
:
"status"
prop
:
"status"
},
},
{
{
...
@@ -207,12 +239,15 @@ export default {
...
@@ -207,12 +239,15 @@ export default {
listLoading
:
true
,
listLoading
:
true
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
0
,
total
:
0
,
channelDialog
:
false
,
checkboxGroup1
:[],
queryForm
:
{
queryForm
:
{
current
:
1
,
current
:
1
,
size
:
10
,
size
:
10
,
status
:
""
,
status
:
""
,
appName
:
""
,
appName
:
""
,
tenantNo
:
""
tenantNo
:
""
,
channel
:
""
}
}
};
};
},
},
...
@@ -265,8 +300,14 @@ export default {
...
@@ -265,8 +300,14 @@ export default {
this
.
list
=
records
;
this
.
list
=
records
;
this
.
total
=
total
;
this
.
total
=
total
;
this
.
listLoading
=
false
;
this
.
listLoading
=
false
;
},
channelDialogSure
(){
this
.
channelDialog
=
false
;
console
.
log
(
this
.
checkboxGroup1
,
'多选'
);
},
},
async
handleClick
(
row
)
{
async
handleClick
(
row
)
{
this
.
channelDialog
=
true
;
return
;
console
.
log
(
row
,
"我知道"
);
console
.
log
(
row
,
"我知道"
);
let
{
appNo
,
status
}
=
row
;
let
{
appNo
,
status
}
=
row
;
status
=
status
===
"1"
?
"2"
:
"1"
;
status
=
status
===
"1"
?
"2"
:
"1"
;
...
...
更新日志.md
View file @
de72075c
## 贷超管理后台更新日志
## 贷超管理后台更新日志
-
2022-11-11 产品列表增加了年利率和期限关键信息展示
-
2022-11-11 产品列表增加了年利率和期限关键信息展示
-
2022=-11-16 增加 新增/编辑轮播图页面
-
2022-11-16 增加 新增/编辑轮播图页面
\ No newline at end of file
\ 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