| | |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <template v-for="(item,index) in state.ruleForm.complaints" :key="index"> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="24" :xl="12" class="mb20"> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20"> |
| | | <el-form-item :label="`投诉事项${index==0?'':index}`" prop="complaints"> |
| | | <el-input v-model="item.itemDescription" type="textarea" :placeholder="`请输入投诉事项${index==0?'':index}`" |
| | | maxlength="1000" show-word-limit clearable /> |
| | |
| | | maxlength="1000" show-word-limit clearable /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="12" class="mb20"> |
| | | <el-col :xs="24" :sm="6" :md="6" :lg="6" :xl="6" class="mb20"> |
| | | <el-form-item :label="`投诉状态${index==0?'':index}`" prop="complaints"> |
| | | <el-select v-model="item.handlingStatus"> |
| | | <el-option v-for="item in handlingStatus" :key="item.value" :label="item.label" :value="item.value" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="1" :xl="12" class="mb20"> |
| | | <el-col :xs="1" :sm="1" :md="1" :lg="1" :xl="1" class="mb20"> |
| | | <el-button type="primary" @click="changeComplaints(index,'add')">+</el-button> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="1" :xl="12" class="mb20" |
| | | <el-col :xs="1" :sm="1" :md="1" :lg="1" :xl="1" class="mb20" |
| | | v-if="state.ruleForm.complaints&&state.ruleForm.complaints.length>1"> |
| | | <el-button type="primary" @click="changeComplaints(index)">-</el-button> |
| | | </el-col> |