Commit 87831d51 authored by 罗超's avatar 罗超

1

parent 583f1048
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
<el-tooltip <el-tooltip
class="item" class="item"
effect="dark" effect="dark"
content="编辑评价" content="新增评价"
placement="top" placement="top"
> >
<img <img
......
...@@ -2,7 +2,10 @@ ...@@ -2,7 +2,10 @@
<div class="brandManagement"> <div class="brandManagement">
<div class="el-card__header"> <div class="el-card__header">
<span>品牌列表</span> <span>品牌列表</span>
<div style="display: flex; flex-direction: row; align-items: center"> <div
style="display: flex; flex-direction: row; align-items: center"
v-if="!readonly"
>
<el-button type="primary" class="el-button--small" @click="addTopic" <el-button type="primary" class="el-button--small" @click="addTopic"
>新增</el-button >新增</el-button
> >
...@@ -15,7 +18,7 @@ ...@@ -15,7 +18,7 @@
</el-button> </el-button>
</div> </div>
</div> </div>
<div class="content"> <div class="content" v-if="!readonly">
<div style="display: flex; flex-direction: row; align-items: center"> <div style="display: flex; flex-direction: row; align-items: center">
<div class="block"> <div class="block">
<span style="margin-left: 10px">品牌名</span> <span style="margin-left: 10px">品牌名</span>
...@@ -65,10 +68,21 @@ ...@@ -65,10 +68,21 @@
</el-select> </el-select>
<span style="margin-left: 10px">认证用户</span> <span style="margin-left: 10px">认证用户</span>
<el-select size="small" v-model="msg.UserId" :filter-method="ChangeListName" filterable @change="(msg.pageIndex = 1), getList()" <el-select
placeholder="请选择"> size="small"
v-model="msg.UserId"
:filter-method="ChangeListName"
filterable
@change="(msg.pageIndex = 1), getList()"
placeholder="请选择"
>
<el-option label="不限" :value="0"></el-option> <el-option label="不限" :value="0"></el-option>
<el-option v-for="item in userList" :key="item.Id" :label="item.Name" :value="item.Id"> <el-option
v-for="item in userList"
:key="item.Id"
:label="item.Name"
:value="item.Id"
>
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
...@@ -230,9 +244,13 @@ ...@@ -230,9 +244,13 @@
</el-table-column> </el-table-column>
<el-table-column prop="CustomerType" label="客群定位" width="160"> <el-table-column prop="CustomerType" label="客群定位" width="160">
</el-table-column> </el-table-column>
<el-table-column prop="UserName" width="100" label="认证用户"></el-table-column> <el-table-column
prop="UserName"
width="100"
label="认证用户"
></el-table-column>
<el-table-column fixed="right" label="操作" width="120"> <el-table-column fixed="right" label="操作" width="120">
<template slot-scope="scope"> <template slot-scope="scope" v-if="!readonly">
<el-tooltip <el-tooltip
class="item" class="item"
effect="dark" effect="dark"
...@@ -342,18 +360,18 @@ export default { ...@@ -342,18 +360,18 @@ export default {
XinFeng: -1, //新风(0-否1-有) XinFeng: -1, //新风(0-否1-有)
BrandClassId: 0, //分类 BrandClassId: 0, //分类
ExcelEnumIds: [], ExcelEnumIds: [],
UserId:0,//用户认证 UserId: 0, //用户认证
}, },
usermsg: { usermsg: {
pageIndex: 1, pageIndex: 1,
pageSize: 20, pageSize: 20,
Name: '', Name: "",
Source: 0, Source: 0,
MemberGrade: 0, MemberGrade: 0,
Id: 0, Id: 0,
Moblie: '' Moblie: "",
}, },
userList:[], userList: [],
addMsg: {}, addMsg: {},
dialogVisible: false, dialogVisible: false,
dataList: [], dataList: [],
...@@ -366,41 +384,55 @@ export default { ...@@ -366,41 +384,55 @@ export default {
loading: false, loading: false,
BrandClassList: [], //品牌分类列表 BrandClassList: [], //品牌分类列表
ProjectTypeList: [], //商铺性质列表 ProjectTypeList: [], //商铺性质列表
readonly: false,
}; };
}, },
created() { created() {
if(this.$route.query && this.$route.query.UserId){ if (this.$route.query && this.$route.query.UserId) {
this.msg.UserId = Number(this.$route.query.UserId) this.msg.UserId = Number(this.$route.query.UserId);
this.usermsg.Id = Number(this.$route.query.UserId) this.usermsg.Id = Number(this.$route.query.UserId);
this.getuserList(1) this.getuserList(1);
}else{ } else {
this.getuserList() this.getuserList();
} }
this.getBrandClassList(); this.getBrandClassList();
this.getProjectType(); this.getProjectType();
this.getDown(); this.getDown();
}, },
mounted() { mounted() {
if (this.$route.query && this.$route.query.readonly) {
this.readonly = this.$route.query.readonly;
}
if (this.$route.query && this.$route.query.data) {
this.dataList = this.$route.query.data;
this.pageCount = this.dataList.length;
this.dataList.forEach((x) => {
x.LogoList = [];
x.LogoList.push(x.Logo);
});
} else {
this.getList(); this.getList();
}
}, },
methods: { methods: {
ChangeListName(val) { ChangeListName(val) {
this.usermsg.Name = val; this.usermsg.Name = val;
this.getuserList(); this.getuserList();
}, },
getuserList(type=0) { getuserList(type = 0) {
this.apipost("/api/user/GetMemberUserDropDownList", this.usermsg, res => { this.apipost(
"/api/user/GetMemberUserDropDownList",
this.usermsg,
(res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let pageData = res.data.data.pageData; let pageData = res.data.data.pageData;
this.userList = pageData; this.userList = pageData;
if(type==1){ if (type == 1) {
this.usermsg.Id = 0 this.usermsg.Id = 0;
}
} }
} }
}) );
}, },
Export() { Export() {
this.msg.ExcelEnumIds = this.checkedCities; this.msg.ExcelEnumIds = this.checkedCities;
......
This diff is collapsed.
...@@ -789,7 +789,13 @@ export default new Router({ ...@@ -789,7 +789,13 @@ export default new Router({
path: '/firstStoreDetail', path: '/firstStoreDetail',
name: 'firstStoreDetail', name: 'firstStoreDetail',
component: resolve => require(['@/components/tradePavilion/firstStoreDetail'], resolve), component: resolve => require(['@/components/tradePavilion/firstStoreDetail'], resolve),
} },
//贸易管理--奖项列表
{
path: '/prizeMange',
name: 'prizeMange',
component: resolve => require(['@/components/tradePavilion/prizeMange'], resolve),
},
] ]
}, },
......
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