28619
This commit is contained in:
@@ -192,7 +192,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<span>{{ item.createTime }}</span>
|
<span>{{ item.createTime }}</span>
|
||||||
<image src="/static/images/more.png" @click="edit(item.id)"/>
|
<u-icon name="list" color="#999" size="28" @click="edit(item.id)" style="margin-left:16px;"></u-icon>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p>{{ item.detail }}</p>
|
<p>{{ item.detail }}</p>
|
||||||
|
|||||||
@@ -28,20 +28,29 @@ export default {
|
|||||||
return {
|
return {
|
||||||
detail: '',
|
detail: '',
|
||||||
pid: '',
|
pid: '',
|
||||||
files: []
|
files: [],
|
||||||
|
id: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onShow() {
|
|
||||||
document.title = '添加帮扶日志'
|
|
||||||
},
|
|
||||||
|
|
||||||
onLoad(query) {
|
onLoad(query) {
|
||||||
this.pid = query.pid
|
this.pid = query.pid
|
||||||
|
if(query.id) {
|
||||||
|
this.id = query.id
|
||||||
|
this.getInfo()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
|
document.title = this.id ? '添加帮扶日志' : '编辑帮扶日志'
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
getInfo() {
|
||||||
|
this.$http.post(`/app/apppreventionreturntopovertylog/queryDetailById?id=${this.id}`).then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.detail = res.data.detail
|
||||||
|
this.files = res.data.files || []
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
submit() {
|
submit() {
|
||||||
if (!this.detail) {
|
if (!this.detail) {
|
||||||
return this.$u.toast('请输入帮扶内容')
|
return this.$u.toast('请输入帮扶内容')
|
||||||
@@ -50,6 +59,7 @@ export default {
|
|||||||
detail: this.detail,
|
detail: this.detail,
|
||||||
files: this.files,
|
files: this.files,
|
||||||
pid: this.pid,
|
pid: this.pid,
|
||||||
|
id: this.id
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
|
|||||||
@@ -15,22 +15,22 @@ export default {
|
|||||||
{
|
{
|
||||||
name: '产业振兴',
|
name: '产业振兴',
|
||||||
icon: require('./img/cyzx.png'),
|
icon: require('./img/cyzx.png'),
|
||||||
url: '../AppServicePublic/AppServicePublic?moduleId=c7d4e2c46b56477c9a581af7f16e10d9&listName=产业资讯'
|
url: '../AppServicePublic/AppServicePublic?moduleId=c7d4e2c46b56477c9a581af7f16e10d9&listName=产业振兴'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '组织振兴',
|
name: '组织振兴',
|
||||||
icon: require('./img/zzzx.png'),
|
icon: require('./img/zzzx.png'),
|
||||||
url: '../AppServicePublic/AppServicePublic?moduleId=a33a855416d44b77a006b93599c9618d&listName=组织动态'
|
url: '../AppServicePublic/AppServicePublic?moduleId=a33a855416d44b77a006b93599c9618d&listName=组织振兴'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '人才振兴',
|
name: '人才振兴',
|
||||||
icon: require('./img/rczx.png'),
|
icon: require('./img/rczx.png'),
|
||||||
url: '../AppServicePublic/AppServicePublic?moduleId=6aa884de2b814967bdbb18a363904083&listName=人才工作'
|
url: '../AppServicePublic/AppServicePublic?moduleId=6aa884de2b814967bdbb18a363904083&listName=人才振兴'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '文化振兴',
|
name: '文化振兴',
|
||||||
icon: require('./img/whzx.png'),
|
icon: require('./img/whzx.png'),
|
||||||
url: '../AppServicePublic/AppServicePublic?moduleId=feaf0264251f422db9b10c5e9f6c1c56&listName=生态建设'
|
url: '../AppServicePublic/AppServicePublic?moduleId=feaf0264251f422db9b10c5e9f6c1c56&listName=文化振兴'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '生态振兴',
|
name: '生态振兴',
|
||||||
|
|||||||
Reference in New Issue
Block a user