邻里互助
This commit is contained in:
@@ -74,9 +74,9 @@
|
|||||||
{ prop: 'content', label: '内容', align: 'left', 'show-overflow-tooltip': true },
|
{ prop: 'content', label: '内容', align: 'left', 'show-overflow-tooltip': true },
|
||||||
{ prop: 'commentCount', label: '评论数', align: 'center', width: '120' },
|
{ prop: 'commentCount', label: '评论数', align: 'center', width: '120' },
|
||||||
{ prop: 'appreciateCount', label: '点赞数', align: 'center', width: '120' },
|
{ prop: 'appreciateCount', label: '点赞数', align: 'center', width: '120' },
|
||||||
|
{ prop: 'sharedCount', label: '分享数', align: 'center', width: '120' },
|
||||||
{ prop: 'createUserName', label: '发帖人', align: 'center', width: '120' },
|
{ prop: 'createUserName', label: '发帖人', align: 'center', width: '120' },
|
||||||
{ prop: 'createTime', label: '创建时间', align: 'center', width: '180' },
|
{ prop: 'createTime', label: '创建时间', align: 'center', width: '180' },
|
||||||
{ prop: 'sharedCount', label: '分享数', align: 'center', width: '120' },
|
|
||||||
{ slot: 'options'},
|
{ slot: 'options'},
|
||||||
],
|
],
|
||||||
tableData: [],
|
tableData: [],
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<el-button type="primary" @click="isShow = true" icon="iconfont iconAdd">添加</el-button>
|
<el-button type="primary" @click="isShow = true" icon="iconfont iconAdd">添加</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #right>
|
<template #right>
|
||||||
<span class="text">是否开启引导页</span> <el-switch v-model="isStart" @change="changeStatus"></el-switch>
|
<span class="text">是否开启引导页</span> <el-switch v-model="isStart" @change="changeStatus" active-value="1" inactive-value="0"></el-switch>
|
||||||
</template>
|
</template>
|
||||||
</ai-search-bar>
|
</ai-search-bar>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
<ai-uploader
|
<ai-uploader
|
||||||
:instance="instance"
|
:instance="instance"
|
||||||
isShowTip
|
isShowTip
|
||||||
v-model="form.urlList"
|
:value="form.urlList"
|
||||||
:limit="1">
|
:limit="1">
|
||||||
</ai-uploader>
|
</ai-uploader>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
],
|
],
|
||||||
tableData: [],
|
tableData: [],
|
||||||
total: 0,
|
total: 0,
|
||||||
isStart: true,
|
isStart: '',
|
||||||
isFlag: false,
|
isFlag: false,
|
||||||
isShow: false,
|
isShow: false,
|
||||||
form: {
|
form: {
|
||||||
@@ -149,7 +149,7 @@
|
|||||||
},
|
},
|
||||||
onClose () {
|
onClose () {
|
||||||
this.form.id = ''
|
this.form.id = ''
|
||||||
this.form.urlList = []
|
this.form.urlList = null
|
||||||
this.form.title = ''
|
this.form.title = ''
|
||||||
this.isShow = false
|
this.isShow = false
|
||||||
},
|
},
|
||||||
@@ -170,7 +170,6 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getStatus() {
|
getStatus() {
|
||||||
|
|
||||||
this.instance.post(`/app/appwechatguidepage/enableStatus`).then(res => {
|
this.instance.post(`/app/appwechatguidepage/enableStatus`).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.isStart = res.data
|
this.isStart = res.data
|
||||||
|
|||||||
Reference in New Issue
Block a user