邻里互助
This commit is contained in:
@@ -16,7 +16,8 @@
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="发布内容" prop="content" style="width: 100%;" :rules="[{required: true, message: '请输入发布内容', trigger: 'change'}]">
|
||||
<ai-editor v-model="form.content" :instance="instance"/>
|
||||
<!-- <ai-editor v-model="form.content" :instance="instance"/> -->
|
||||
<el-input type="textarea" placeholder="请输入内容" v-model="form.content" rows="8" maxlength="500"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="图片" prop="files" style="width: 100%;">
|
||||
<ai-uploader
|
||||
|
||||
@@ -9,17 +9,17 @@
|
||||
<template #content>
|
||||
<div class="talk-info">
|
||||
<div class="user">
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/h5/defaultAvatar.png" alt="">
|
||||
<img :src="info.createUserAvatar" alt="">
|
||||
<div class="info">
|
||||
<h2>张三</h2>
|
||||
<h2>{{info.createUserName}}</h2>
|
||||
<div class="time-flex">
|
||||
<span class="area-name">某某街道</span>
|
||||
<span>2023-03-16 09:34:02</span>
|
||||
<span class="area-name">{{info.publishDepartName}}</span>
|
||||
<span>{{info.createTime}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<span>#【闲置物品交易】</span>啦啦啦啦啦啦啦啦啦啦啊啦啦啦啦啦啦啦啦啦啦啦啦啊啦啦啦啦啦啦啦啦啦啦啦啦啊啦啦啦啦啦啦啦啦啦啦啦啦啊啦啦啦啦啦啦啦啦啦啦啦啦啊啦啦啦啦啦啦啦啦啦啦啦啦啊啦啦
|
||||
<span v-if="info.themeId">#【{{info.themeInfo.title}}】</span>{{info.content}}
|
||||
</div>
|
||||
<!-- <ai-uploader
|
||||
:instance="instance"
|
||||
@@ -81,17 +81,7 @@
|
||||
|
||||
data () {
|
||||
return {
|
||||
colConfigs: [
|
||||
{ prop: 'userName', label: '姓名', align: 'left', width: '200px' },
|
||||
{ prop: 'userPhone', label: '手机号', align: 'center' },
|
||||
{ prop: 'createTime', label: '报名时间', align: 'center' }
|
||||
],
|
||||
search: {
|
||||
size: 10,
|
||||
current: 1
|
||||
},
|
||||
tableData: [],
|
||||
total: 0,
|
||||
commontList: [],
|
||||
info: {},
|
||||
isShowMore: false
|
||||
}
|
||||
@@ -110,20 +100,15 @@
|
||||
|
||||
methods: {
|
||||
getList() {
|
||||
this.instance.post(`/app/appactivityinfo/signUpList?activityId=${this.params.id}`, null, {
|
||||
params: {
|
||||
...this.search
|
||||
}
|
||||
}).then(res => {
|
||||
this.instance.post(`/app/appneighborhoodassistance/commontList?id=${this.params.id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.tableData = res.data.records
|
||||
this.total = res.data.total
|
||||
this.commontList = res.data.records
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
getInfo () {
|
||||
this.instance.post(`/app/appactivityinfo/queryDetailById?id=${this.params.id}`).then(res => {
|
||||
this.instance.post(`/app/appneighborhoodassistance/queryDetailById?id=${this.params.id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
if (res.data) {
|
||||
this.info = res.data
|
||||
@@ -280,12 +265,12 @@
|
||||
|
||||
.el-icon-arrow-down {
|
||||
transition: all ease 0.5s;
|
||||
transform: rotate(180deg);
|
||||
transform: rotate(0);
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
&.active .el-icon-arrow-down {
|
||||
transform: rotate(0);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
|
||||
remove (id) {
|
||||
this.$confirm('确定删除该帖子?').then(() => {
|
||||
this.instance.post(`/app/appactivityinfo/delete?ids=${id}`).then(res => {
|
||||
this.instance.post(`/app/appneighborhoodassistance/delete?id=${id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success('删除成功!')
|
||||
this.getList()
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<el-input-number v-model="form.showIndex" :min="1" :max="100" size="small"></el-input-number>
|
||||
</el-form-item>
|
||||
<el-form-item label="话题描述" prop="description" style="width: 100%;" :rules="[{required: true, message: '请输入发布内容', trigger: 'change'}]">
|
||||
<el-input type="textarea" placeholder="请输入内容" v-model="form.description" rows="8"></el-input>
|
||||
<el-input type="textarea" placeholder="请输入内容" v-model="form.description" rows="8" maxlength="500"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="话题图标" prop="files" style="width: 100%;" :rules="[{required: true, message: '请上传话题图标', trigger: 'change'}]">
|
||||
<ai-uploader
|
||||
|
||||
Reference in New Issue
Block a user