Browse Source

finishAttachments字段名

feature
mk 1 year ago
parent
commit
26f8901422
  1. 14
      src/views/modules/communityService/measure/index.vue

14
src/views/modules/communityService/measure/index.vue

@ -201,7 +201,7 @@
</el-table-column>
<el-table-column fixed="right" label="操作" align="center" width="200">
<template slot-scope="scope">
<template v-if="filterEdit(scope.row.agencyId)">
<template >
<el-button
v-if="
scope.row.status === 'pending' ||
@ -573,16 +573,16 @@
label="上传图片"
label-width="150px"
style="display: block"
prop="attachments"
prop="finishAttachments"
v-if="addType != 'finishNoEvaluate'"
>
<UploadImages :fileList="form.attachments" @change="(val) => form.attachments = val" :limit="3"/>
<UploadImages :fileList="form.finishAttachments" @change="(val) => form.finishAttachments = val" :limit="3"/>
</el-form-item>
<el-form-item
label="上传图片"
label-width="150px"
style="display: block"
prop="attachments"
prop="finishAttachments"
v-else
>
<el-image :src="item.url" v-for="(item,index) in form.finishAttachments" :key="index" ></el-image>
@ -857,7 +857,7 @@ export default {
demandUserId: "",
demandUserName: "",
demandUserMobile: "",
attachments:[]
finishAttachments:[]
},
rules: {
gridId: [
@ -1131,7 +1131,7 @@ export default {
...this.form,
};
// []
_form.attachments = [];
_form.finishAttachments = [];
await this.$http
.post("/governance/userdemand/add", _form)
.then(({ data: res }) => {
@ -1178,7 +1178,7 @@ export default {
finishDesc: reportType == "self_help" ? "" : this.form.finishDesc,
serviceId: this.form.serviceId,
score: reportType == "self_help" ? 0 : this.form.score,
attachments: this.form.attachments
finishAttachments: this.form.finishAttachments
};
// console.log(_form,'_form')
// return

Loading…
Cancel
Save