轮播图和通告排序问题
This commit is contained in:
parent
a9741307b2
commit
316e2b84f8
|
@ -73,6 +73,22 @@
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="应用">
|
||||||
|
<el-select
|
||||||
|
class="filter-item"
|
||||||
|
style="width: 200px"
|
||||||
|
v-model="formInline.app"
|
||||||
|
placeholder="请选择应用"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in application"
|
||||||
|
:key="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"
|
||||||
|
>
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="$refs.oTable.reload()"
|
<el-button type="primary" @click="$refs.oTable.reload()"
|
||||||
>查询</el-button
|
>查询</el-button
|
||||||
|
@ -146,6 +162,17 @@ export default {
|
||||||
label: "云店分类",
|
label: "云店分类",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
application: [
|
||||||
|
{ label: "用户端", value: 1 },
|
||||||
|
{
|
||||||
|
label: "商家端",
|
||||||
|
value: 2,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "专员端",
|
||||||
|
value: 3,
|
||||||
|
},
|
||||||
|
],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -153,6 +180,7 @@ export default {
|
||||||
type: 0,
|
type: 0,
|
||||||
ownerId: this.shopId,
|
ownerId: this.shopId,
|
||||||
module: "shop",
|
module: "shop",
|
||||||
|
app: 1,
|
||||||
};
|
};
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.oTable.reload();
|
this.$refs.oTable.reload();
|
||||||
|
@ -203,6 +231,8 @@ export default {
|
||||||
this.formInline = {
|
this.formInline = {
|
||||||
type: 0,
|
type: 0,
|
||||||
ownerId: this.shopId,
|
ownerId: this.shopId,
|
||||||
|
module: "shop",
|
||||||
|
app: 1,
|
||||||
};
|
};
|
||||||
this.$refs.oTable.reload();
|
this.$refs.oTable.reload();
|
||||||
},
|
},
|
||||||
|
|
|
@ -73,6 +73,22 @@
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="应用">
|
||||||
|
<el-select
|
||||||
|
class="filter-item"
|
||||||
|
style="width: 200px"
|
||||||
|
v-model="formInline.app"
|
||||||
|
placeholder="请选择分类类型"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in application"
|
||||||
|
:key="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"
|
||||||
|
>
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="$refs.oTable.reload()"
|
<el-button type="primary" @click="$refs.oTable.reload()"
|
||||||
>查询</el-button
|
>查询</el-button
|
||||||
|
@ -146,6 +162,17 @@ export default {
|
||||||
label: "云店分类",
|
label: "云店分类",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
application: [
|
||||||
|
{ label: "用户端", value: 1 },
|
||||||
|
{
|
||||||
|
label: "商家端",
|
||||||
|
value: 2,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "专员端",
|
||||||
|
value: 3,
|
||||||
|
},
|
||||||
|
],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -153,6 +180,7 @@ export default {
|
||||||
type: 0,
|
type: 0,
|
||||||
targetId: this.shopId,
|
targetId: this.shopId,
|
||||||
position: "3",
|
position: "3",
|
||||||
|
app: 1,
|
||||||
};
|
};
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.oTable.reload();
|
this.$refs.oTable.reload();
|
||||||
|
@ -203,6 +231,8 @@ export default {
|
||||||
this.formInline = {
|
this.formInline = {
|
||||||
type: 0,
|
type: 0,
|
||||||
targetId: this.shopId,
|
targetId: this.shopId,
|
||||||
|
position: "3",
|
||||||
|
app: 1,
|
||||||
};
|
};
|
||||||
this.$refs.oTable.reload();
|
this.$refs.oTable.reload();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue