|
|
|
@ -1950,7 +1950,7 @@ const AddInfo = () => {
|
|
|
|
|
$router.push('/aftersales/aftersalesWorkOrderAdd'); |
|
|
|
|
}; |
|
|
|
|
// 上传图片规则 |
|
|
|
|
const beforeAvatarUpload =async rawFile => { |
|
|
|
|
const beforeAvatarUpload = async rawFile => { |
|
|
|
|
console.log(rawFile); |
|
|
|
|
if (rawFile.type !== 'image/png' && rawFile.type !== 'image/jpeg') { |
|
|
|
|
ElMessage.error('图片格式只能为 png/jpg!'); |
|
|
|
@ -1959,7 +1959,7 @@ const beforeAvatarUpload =async rawFile => {
|
|
|
|
|
ElMessage.error('图片大小不能大于10MB!'); |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
const res = await compressImageBlob(rawFile) |
|
|
|
|
const res = await compressImageBlob(rawFile); |
|
|
|
|
return res; |
|
|
|
|
}; |
|
|
|
|
// 首页新增表单确定 |
|
|
|
@ -4664,12 +4664,12 @@ const AssignSubmission = () => {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
:deep(.el_tims_box) { |
|
|
|
|
width: 100%; |
|
|
|
|
display: flex; |
|
|
|
|
.topText { |
|
|
|
|
display: flex; |
|
|
|
|
align-items: flex-start; |
|
|
|
|
} |
|
|
|
|
width: 100%; |
|
|
|
|
display: flex; |
|
|
|
|
.el-form-item { |
|
|
|
|
margin: 6px 0; |
|
|
|
|
} |
|
|
|
|