|
|
@ -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 |
|
|
|