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