Commit 960bd873 by swl

feat: gx

parent 2d0265fe
...@@ -41,7 +41,8 @@ ...@@ -41,7 +41,8 @@
> >
<el-option label="全部" value=""> </el-option> <el-option label="全部" value=""> </el-option>
<el-option label="商家入驻" value="0"> </el-option> <el-option label="商家入驻" value="0"> </el-option>
<el-option label="上报网红墙" value="1"> </el-option> <el-option label="上报地点" value="1"> </el-option>
<el-option label="上报网红墙" value="2"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
...@@ -85,12 +86,24 @@ ...@@ -85,12 +86,24 @@
<el-table-column slot="type" label="入驻类型" align="center"> <el-table-column slot="type" label="入驻类型" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag <el-tag
v-if="scope.row.type == 0 || scope.row.type == 1" v-if="
:type="scope.row.type == 1 ? 'success' : ''" scope.row.type == 0 ||
scope.row.type == 1 ||
scope.row.type == 2
"
:type="
scope.row.type == 1
? 'success'
: scope.row.type == 2
? 'warning'
: ''
"
>{{ >{{
scope.row.type == 0 scope.row.type == 0
? "商家入驻" ? "商家入驻"
: scope.row.type == 1 : scope.row.type == 1
? "上报地点"
: scope.row.type == 2
? "上报网红墙" ? "上报网红墙"
: "" : ""
}}</el-tag }}</el-tag
...@@ -552,7 +565,6 @@ export default { ...@@ -552,7 +565,6 @@ export default {
this.loading = true; this.loading = true;
this.init(); this.init();
this.loading = false; this.loading = false;
console.log("this.init();--->", this.activeName);
}, },
jumpPage() { jumpPage() {
this.init(); this.init();
......
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