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

新增官网

parent 2fd297a9
...@@ -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";
......
## 贷超管理后台更新日志 ## 贷超管理后台更新日志
- 2022-11-11 产品列表增加了年利率和期限关键信息展示 - 2022-11-11 产品列表增加了年利率和期限关键信息展示
- 2022=-11-16 增加 新增/编辑轮播图页面 - 2022-11-16 增加 新增/编辑轮播图页面
\ No newline at end of file \ 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