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

Loading…
Cancel
Save