Commit de72075c authored by 刘雅文's avatar 刘雅文

新增官网

parent 2fd297a9
......@@ -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:""
}
};
},
......@@ -265,8 +300,14 @@ export default {
this.list = records;
this.total = total;
this.listLoading = false;
},
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";
......
## 贷超管理后台更新日志
- 2022-11-11 产品列表增加了年利率和期限关键信息展示
- 2022=-11-16 增加 新增/编辑轮播图页面
\ No newline at end of file
- 2022-11-16 增加 新增/编辑轮播图页面
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment