1. 修复问题新增对话框中,无法正确上传图片的问题
2. 工地施工阶段可选项更新
| | |
| | | value: '全部', |
| | | }, |
| | | { |
| | | label: '打桩', |
| | | value: '打桩', |
| | | }, |
| | | { |
| | | label: '基础', |
| | | value: '基础', |
| | | }, |
| | |
| | | value: '室外总体', |
| | | }, |
| | | { |
| | | label: '即将完工', |
| | | value: '即将完工', |
| | | }, |
| | | { |
| | | label: '竣工验收', |
| | | value: '竣工验收', |
| | | }, |
| | | { |
| | | label: '装饰装修', |
| | | value: '装饰装修', |
| | | }, |
| | |
| | | }); |
| | | if (this.type == 1) { |
| | | let deleteImgCopy = this.deleteImg; |
| | | fileUtil.getImageFiles(picUrls, function (files) { |
| | | fileUtil.getImageFiles(picUrls, (files) => { |
| | | data.append('deleteImg', deleteImgCopy); |
| | | deepCopyPro.advise = deepCopyPro.advice; |
| | | delete deepCopyPro['advice']; |
| | |
| | | }); |
| | | } else { |
| | | const deepCopySubTask = useCloned(this.subtask).cloned.value; |
| | | const that = this; |
| | | fileUtil.getImageFiles(picUrls, function (files) { |
| | | fileUtil.getImageFiles(picUrls, (files) => { |
| | | deepCopyPro.insGuid = deepCopySubTask.insGuid; |
| | | delete deepCopyPro['description']; |
| | | deepCopyPro.proName = deepCopyPro.problemname; |
| | | delete deepCopyPro['problemname']; |
| | | deepCopyPro.ptGuid = that.findProTypeByGuid( |
| | | that.currProTypeGuid |
| | | deepCopyPro.ptGuid = this.findProTypeByGuid( |
| | | this.currProTypeGuid |
| | | ).guid; |
| | | deepCopyPro.locationId = deepCopyPro.locationid; |
| | | delete deepCopyPro['locationid']; |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-row justify="end" class="btn-group"> |
| | | <el-button type="danger" size="small" @click="deletePro" disabled |
| | | <el-button type="danger" size="small" @click="deletePro" :disabled="false" |
| | | >删除</el-button |
| | | > |
| | | <!-- <el-button |