@ -213,7 +213,7 @@
label="服务状态"
:show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{scope.row.serviceStatus==='in_service'?'进行中':'已完成'}}</span>
<span>{{scope.row.serviceStatus==='in_service'?'进行中':(scope.row.serviceStatus==='completed' ? '已完成' : '已取消')}}</span>
</template>
</el-table-column>
@ -242,7 +242,7 @@ export default {
checkStrictly: true,
emitPath: false,
},
serviceStatusOptions: [{ 'label': '进行中', 'value': 'in_service' }, { 'label': '已完成', 'value': 'completed' }, { 'label': '取消', 'value': 'cancel' }],
serviceStatusOptions: [{ 'label': '进行中', 'value': 'in_service' }, { 'label': '已完成', 'value': 'completed' }],
keyWords: "",
formData: {
categoryCode: [],
@ -117,8 +117,8 @@
<el-option
v-for="item in serviceOptiondList"
:key="item.id"
:label="item.name"
:label="item.label"
:value="item.label"
:value="item.id"
>
</el-option>
</el-select>
@ -241,7 +241,7 @@ export default {
@ -1125,6 +1125,8 @@ export default {
const _form = {
...this.form,
};
// 需求上去掉了图片,但是我又不会改代码,先赋值为[]
_form.attachments = [];
await this.$http
.post("/governance/userdemand/add", _form)
.then(({ data: res }) => {