| | |
| | | <el-upload ref="upload" :action="'#'" :auto-upload="false" list-type="picture-card" |
| | | :on-change="handleFileChange" :on-remove="handleUploadRemove" :before-upload="beforeUpload" |
| | | :file-list="form.photos" :limit="1" accept="image/*" class="uploader"> |
| | | <i class="el-icon-plus"></i> |
| | | <span style="font-size: 32px; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;">+</span> |
| | | </el-upload> |
| | | <div class="upload-tip">支持jpg/png格式图片,单张不超过5MB</div> |
| | | </el-form-item> |
| | |
| | | <div class="section-title">上传图片</div> |
| | | <el-upload ref="upload" :action="'#'" :auto-upload="false" list-type="picture-card" |
| | | :on-change="handleFileChange" :on-remove="handleUploadRemove" :before-upload="beforeUpload" :file-list="[]" |
| | | accept="image/*"> |
| | | <i class="el-icon-plus"></i> |
| | | :limit="1" accept="image/*"> |
| | | <span style="font-size: 32px; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;">+</span> |
| | | </el-upload> |
| | | <div class="el-upload__tip">支持 jpg/png 格式图片,最多 5 张,单张不超过 5MB</div> |
| | | <div class="el-upload__tip">支持 jpg/png 格式图片,单张不超过 5MB</div> |
| | | </div> |
| | | |
| | | <!-- 图片和地图部分 --> |
| | |
| | | return { |
| | | activeTab: "all", |
| | | tabs: [ |
| | | { label: "全部工单", name: "all", value: null, count: 0 }, |
| | | { label: "待审核", name: "pending", value: 2, count: 0 }, |
| | | { label: "待处理", name: "processing", value: 0, count: 0 }, |
| | | { label: "处理中", name: "inProgress", value: 3, count: 0 }, |
| | | { label: "已完成", name: "completed", value: 4, count: 0 }, |
| | | { label: "已完结", name: "closed", value: 5, count: 0 }, |
| | | { label: "我发起的", name: "myTickets", value: null, count: 0 }, |
| | | { label: "全部工单", name: "all", value: null, count: 0, isShow: true }, |
| | | { label: "待审核", name: "pending", value: 2, count: 0, isShow: true }, |
| | | { label: "待处理", name: "processing", value: 0, count: 0, isShow: true }, |
| | | { label: "处理中", name: "inProgress", value: 3, count: 0, isShow: true }, |
| | | { label: "已完成", name: "completed", value: 4, count: 0, isShow: true }, |
| | | { label: "已完结", name: "closed", value: 5, count: 0, isShow: false }, |
| | | { label: "我发起的工单", name: "myTickets", value: null, count: 0, isShow: false }, |
| | | ], |
| | | filters: { |
| | | keyword: "", |
| | |
| | | |
| | | // 确保算法数据的映射一致 |
| | | this.algorithms = ai_type.map(item => ({ |
| | | label: item.dict_value, // 修改为 label |
| | | value: item.dict_key, // 修改为 value |
| | | dict_key: item.dict_key, |
| | | dict_value: item.dict_value, |
| | | // 同时添加 label 和 value 以兼容两处使用 |
| | | label: item.dict_value, |
| | | value: item.dict_key |
| | | })); |
| | | |
| | | // 构建用户ID和名称的映射关系 |
| | |
| | | } |
| | | }, |
| | | |
| | | cancleBatchReject(){ |
| | | cancleBatchReject() { |
| | | reviewDialogVisible = false; |
| | | this.fetchTableData(); |
| | | }, |