编辑
This commit is contained in:
@@ -79,7 +79,6 @@
|
||||
</div>
|
||||
|
||||
<u-picker mode="time" :params="dataParams" v-model="isShowDate" @confirm="onDateChange"></u-picker>
|
||||
|
||||
<div class="btn-wrapper">
|
||||
<div class="btn" hover-class="text-hover" @click="submit">提交</div>
|
||||
</div>
|
||||
@@ -145,7 +144,6 @@ export default {
|
||||
},
|
||||
|
||||
submit() {
|
||||
|
||||
if (!this.form.name) {
|
||||
return this.$toast('请输入党员姓名')
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="photo-detail" v-if="pageShow">
|
||||
<AiGroup noBorder>
|
||||
<h2>{{ info.content }}</h2>
|
||||
<div class="status-name" :class="detailStatus.cls">{{ $dict.getLabel('clapEventStatus',info.eventStatus) }}</div>
|
||||
<div class="status-name" :class="'status-'+ info.eventStatus">{{ $dict.getLabel('clapEventStatus',info.eventStatus) }}</div>
|
||||
</AiGroup>
|
||||
<AiGroup description noBorder labelColor="#999">
|
||||
<AiItem label="姓名" :value="info.name"/>
|
||||
@@ -54,7 +54,6 @@
|
||||
<div class="photo">
|
||||
<div class="titles">照片</div>
|
||||
<div>
|
||||
<!-- <AiUploader v-model="info.evaluation.files" disabled></AiUploader> -->
|
||||
<image class="content_img" :src="v.accessUrl" v-for="(v, ind) in info.evaluation.files" :key="ind" @click="previewImg(v.accessUrl,info.evaluation.files)"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -81,13 +80,13 @@ 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) : "已评价"
|
||||
}
|
||||
},
|
||||
// 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) {
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
</div>
|
||||
<div class="form-item__right">
|
||||
<textarea v-model="form.content" :maxlength="500" placeholder="请简要描述事件…"></textarea>
|
||||
<!-- <u-input style="width: 100%;" :height="200" v-model="value" type="textarea" :maxlength="500" :border="border" placeholder="请简要描述事件…" /> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -65,7 +64,7 @@
|
||||
<h2>图片上传</h2>
|
||||
<span>(最多9张)</span>
|
||||
</div>
|
||||
<AiUploader v-model="form.files" :limit="9" multiple></AiUploader>
|
||||
<AiUploader type='image' v-model="form.files" :limit="9" multiple></AiUploader>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -175,7 +174,7 @@ export default {
|
||||
})
|
||||
},
|
||||
getDict() {
|
||||
this.$instance.post(`/app/appclapeventgroup/list?current=1&size=100000`).then(res => {
|
||||
this.$instance.post(`/app/appclapeventgrouppingchang/list?current=1&size=100000`).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.dictList = res.data.records.map(v => {
|
||||
return {
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<template>
|
||||
<div class="result">
|
||||
<!-- <image src="/static/img/result.png" /> -->
|
||||
<h2>上报成功!</h2>
|
||||
<image src="https://cdn.cunwuyun.cn/pingchang/result.png"/>
|
||||
<h2>提交成功!</h2>
|
||||
<div class="result-btn" hover-class="text-hover" @click="back">前往查看</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
appName:"上报随手拍",
|
||||
name: "result",
|
||||
data () {
|
||||
return {
|
||||
id: ''
|
||||
|
||||
Reference in New Issue
Block a user