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