This commit is contained in:
shijingjing
2022-11-17 13:57:50 +08:00
parent 9389719c00
commit dc1248dd3a
2 changed files with 5 additions and 26 deletions

View File

@@ -18,14 +18,6 @@
</AiItem>
</AiGroup>
<u-gap height="24"/>
<!-- <AiGroup title="处理详情" v-if="info.eventStatus > 1" description noBorder labelColor="#999">
<AiItem label="处理结果" top-label :value="result.doExplain"/>
<AiItem label="照片" top-label>
<AiUploader v-model="result.files" disabled></AiUploader>
<span v-if="!result.files.length">暂无照片</span>
</AiItem>
</AiGroup>
<u-gap height="24"/> -->
<u-tabs :list="[{name:'办理进度'},{name:'我的评价'}]" :current="currentTab" @change="v=>currentTab=v"/>
<u-gap height="24"/>
<AiGroup noBorder v-if="currentTab=='0'">
@@ -60,10 +52,9 @@
</div>
<AiEmpty :description="`暂无数据`" class="emptyWrap" v-else/>
</div>
<div class="btn">
<!-- <div class="btn">
<div class="subBtn" v-show="info.eventStatus == 0" @click="$linkTo(`./PhotoForm?id=${info.id}`)">修改微心愿</div>
</div>
</div> -->
</div>
</template>
@@ -80,13 +71,6 @@ export default {
}
},
computed: {
// detailStatus: v => {
// const status = !v.evaluation.id ? v.info.eventStatus : 'evaluation'
// return {
// cls: 'status-' + status,
// label: !v.evaluation.id ? v.$dict.getLabel('clapEventStatus', v.info.eventStatus) : "已评价"
// }
// },
process() {
const list = this.info?.processList
if (this.evaluation.id) {
@@ -101,7 +85,7 @@ export default {
},
onLoad(query) {
this.$loading()
this.$dict.load(['clapEventStatus']).then(() => {
this.$dict.load('clapEventStatus').then(() => {
this.getInfo(query.id)
})
},
@@ -110,9 +94,6 @@ export default {
this.$instance.post(`/app/appclapeventinfopingchang/queryDetailById?id=${id}`).then(res => {
if (res.code === 0) {
this.info = res.data
if (res.data.eventStatus > 1) {
this.result = res.data.processList[0]
}
this.$nextTick(() => {
this.pageShow = true
})

View File

@@ -228,17 +228,15 @@ export default {
this.$instance.post(`/app/appclapeventinfopingchang/addOrUpdate`, {
...this.form,
openid: this.user.openid,
// portrait: this.user.avatarUrl,
// files: this.form.files,
groupName: this.dictList.filter(v => v.value === this.form.groupId)[0].label
}).then(res => {
this.$hideLoading()
this.flag = false
if (res.code == 0) {
if (res?.code == 0) {
uni.$emit('update')
setTimeout(() => {
uni.redirectTo({
url: './PhotoResult?id=' + res.data.id
url: `./PhotoResult?id=${this.form.id}`
})
}, 400)
}