| | |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="常见问题" prop="faqId"> |
| | | <el-input v-model="editConfig.infomation.faqId"></el-input> |
| | | <!-- <el-input v-model="editConfig.infomation.faqId"></el-input> --> |
| | | <el-select |
| | | v-model="editConfig.infomation.faqId" |
| | | placeholder="请选择" |
| | | class="common-select-sel" |
| | | size="mini" |
| | | > |
| | | <el-option v-for="item in faqOptions" :key="item.id" :label="item.name" :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="24"> |
| | |
| | | import SelectCommonDialog from "@/views/other/commonDialog/SelectCommonDialog" |
| | | import SelectContactDialog from "@/views/other/commonDialog/SelectContactDialog" |
| | | import SelectChanceDialog from "@/views/other/commonDialog/SelectChanceDialog" |
| | | import { getFaqList } from "@/api/common/other" |
| | | import { |
| | | getFaultTypeList, |
| | | getServiceTypeList, |
| | |
| | | priorityLevelOptions: [], // 优先级别 |
| | | statusOptions: Status.processStatus, // 处理状态 |
| | | timeSpentOptions: [], // 花费时间 |
| | | faqOptions: [], // 常见问题 |
| | | editSelectClientConfig: { |
| | | editVisible: false, |
| | | title: "", |
| | |
| | | this.reportSourceOptions = res.data.reportSource |
| | | }) |
| | | this.getServiceTypeList() |
| | | this.getFaqList() |
| | | }, |
| | | // 获取常见问题列表 |
| | | async getFaqList() { |
| | | await getFaqList().then((res) => { |
| | | console.log(res) |
| | | if (res.data.code === 200) { |
| | | this.faqOptions = res.data.data.data |
| | | } |
| | | }) |
| | | }, |
| | | // 保存 |
| | | saveClick(formName) { |