|
|
@ -41,7 +41,8 @@ |
|
|
|
alt=""> |
|
|
|
<span>缺陷原因</span> |
|
|
|
</div> |
|
|
|
<div class="error-wrap"> |
|
|
|
<div class="error-wrap" |
|
|
|
v-if="aciveImgObj['QM_View-Groups']"> |
|
|
|
<el-collapse v-model="activeNames"> |
|
|
|
<el-collapse-item v-for="(item,index) in aciveImgObj['QM_View-Groups']" |
|
|
|
:key="index" |
|
|
@ -140,7 +141,7 @@ import { codeparser } from '@/api/quality/pkg.js' |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
activeNames: [1], |
|
|
|
activeNames: [], |
|
|
|
seeImgs: [], |
|
|
|
processList: [], |
|
|
|
activeImg: 0, |
|
|
@ -330,7 +331,14 @@ export default { |
|
|
|
type: 'warning', |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
this.errorList.pop() |
|
|
|
if (this.errorList.length > 0) { |
|
|
|
this.errorList.pop() |
|
|
|
} else { |
|
|
|
this.$message({ |
|
|
|
type: 'warning', |
|
|
|
message: '暂无可撤销缺陷记录!', |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(() => { |
|
|
|
this.$message({ |
|
|
@ -480,6 +488,7 @@ export default { |
|
|
|
height: 100%; |
|
|
|
background: #fff; |
|
|
|
padding: 24px; |
|
|
|
padding-top: 0; |
|
|
|
box-sizing: border-box; |
|
|
|
.error-img { |
|
|
|
width: 100%; |
|
|
|