| | |
| | | </div> |
| | | </div> |
| | | <el-form-item prop="name" style="margin-top: 18px"> |
| | | <!-- <el-upload |
| | | action="#" |
| | | :file-list="fileList" |
| | | :http-request="handleUpload" |
| | | :before-upload="beforeUpload" |
| | | :on-remove="handleRemove"> |
| | | <el-button size="small" type="primary">点击上传</el-button> |
| | | <div slot="tip" class="el-upload__tip">支持任意格式文件上传</div> |
| | | </el-upload> --> |
| | | <el-upload action="#" :file-list="fileList" :http-request="handleUpload" :disabled="this.$route.query.type === 'detail'" |
| | | <el-upload action="#" |
| | | :file-list="fileList" |
| | | :http-request="handleUpload" |
| | | :disabled="this.$route.query.type === 'detail'" |
| | | :before-upload="beforeUpload" :on-remove="handleRemove"> |
| | | <el-button size="small" type="primary">点击上传</el-button> |
| | | <div slot="tip" class="el-upload__tip">支持任意格式文件上传</div> |
| | |
| | | this.form.qaReportFiles = [] |
| | | } |
| | | } else { |
| | | this.$message.error(res.message || '获取详情失败') |
| | | // this.$message.error(res.message || '获取详情失败') |
| | | } |
| | | }) |
| | | }, |