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
Hide 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 @@
clearable
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-button
...
...
@@ -32,6 +46,7 @@
搜 索
</el-button>
</el-form-item>
</el-form>
</div>
...
...
@@ -83,7 +98,7 @@
fit=
"fit"
/>
</div>
<div
v-else-if=
"item.label==='产品状态'"
>
<
!--
<
div
v-else-if=
"item.label==='产品状态'"
>
<el-tag
v-if=
"row[item.prop] === '1'"
type=
"success"
...
...
@@ -98,7 +113,7 @@
>
禁用
</el-tag>
</div>
</div>
-->
<span
v-else
>
{{
row
[
item
.
prop
]
}}
</span>
</
template
>
</el-table-column>
...
...
@@ -113,19 +128,19 @@
<el-button
v-if=
"row.status==='1'"
size=
"mini"
type=
"
danger
"
type=
"
success
"
@
click=
"handleClick(row)"
>
禁用
上架管理
</el-button>
<el-button
<
!--
<
el-button
v-else
size=
"mini"
type=
"success"
@
click=
"handleClick(row)"
>
启用
</el-button>
</el-button>
-->
<el-button
size=
"mini"
type=
"primary"
...
...
@@ -136,7 +151,24 @@
</
template
>
</el-table-column>
</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
:current-page=
"queryForm.current"
:layout=
"layout"
...
...
@@ -158,7 +190,7 @@ export default {
name
:
"Fence"
,
data
()
{
return
{
checkList
:
[
"产品等级"
,
"产品编号"
,
"产品名称"
,
"LOGO"
,
"机构编号"
,
"
产品状态"
,
"对接方式"
,
"创建时间
"
],
checkList
:
[
"产品等级"
,
"产品编号"
,
"产品名称"
,
"LOGO"
,
"机构编号"
,
"
对接方式"
,
"创建时间"
,
"上架渠道
"
],
columns
:
[
{
order
:
1
,
...
...
@@ -188,7 +220,7 @@ export default {
},
{
order
:
6
,
label
:
"
产品状态
"
,
label
:
"
上架渠道
"
,
prop
:
"status"
},
{
...
...
@@ -207,12 +239,15 @@ export default {
listLoading
:
true
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
0
,
channelDialog
:
false
,
checkboxGroup1
:[],
queryForm
:
{
current
:
1
,
size
:
10
,
status
:
""
,
appName
:
""
,
tenantNo
:
""
tenantNo
:
""
,
channel
:
""
}
};
},
...
...
@@ -266,7 +301,13 @@ export default {
this
.
total
=
total
;
this
.
listLoading
=
false
;
},
async
handleClick
(
row
)
{
channelDialogSure
(){
this
.
channelDialog
=
false
;
console
.
log
(
this
.
checkboxGroup1
,
'多选'
);
},
async
handleClick
(
row
)
{
this
.
channelDialog
=
true
;
return
;
console
.
log
(
row
,
"我知道"
);
let
{
appNo
,
status
}
=
row
;
status
=
status
===
"1"
?
"2"
:
"1"
;
...
...
更新日志.md
View file @
de72075c
## 贷超管理后台更新日志
-
2022-11-11 产品列表增加了年利率和期限关键信息展示
-
2022=-11-16 增加 新增/编辑轮播图页面
\ No newline at end of file
-
2022-11-16 增加 新增/编辑轮播图页面
\ 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