|
|
|
@ -112,7 +112,7 @@ |
|
|
|
<el-button v-if="!authSearch" type="primary" @click="getDataList">查询</el-button> |
|
|
|
<el-button v-if="!authCheck" type="primary" @click="submitResult">审核</el-button> |
|
|
|
<el-button v-if="!authDelete" type="primary" @click="deleteModal">删除</el-button> |
|
|
|
<el-button v-if="!authOverLoad" type="primary" @click="overLoadModal">任务重载</el-button> |
|
|
|
<el-button v-if="!authOverLoad" type="primary" :loading="overLoading" @click="overLoadModal">任务重载</el-button> |
|
|
|
<el-button v-if="!authOverLoad" type="primary" @click="batchQualifiedModal">批量合格处理</el-button> |
|
|
|
<download-excel |
|
|
|
:fields="fields()" |
|
|
|
@ -2115,7 +2115,8 @@ |
|
|
|
inspectionTypeNo: '' |
|
|
|
}, |
|
|
|
changeModalFlag: false, |
|
|
|
batchLoading: false |
|
|
|
batchLoading: false, |
|
|
|
overLoading: false |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
@ -3224,6 +3225,7 @@ |
|
|
|
site: '', |
|
|
|
submitList: this.IQCSelections |
|
|
|
} |
|
|
|
this.overLoading = true |
|
|
|
iqcRecordOverLoad(tempData).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.getDataList() |
|
|
|
@ -3234,13 +3236,16 @@ |
|
|
|
duration: 1500, |
|
|
|
onClose: () => {} |
|
|
|
}) |
|
|
|
this.overLoading = false |
|
|
|
} else { |
|
|
|
this.overLoading = false |
|
|
|
this.$alert(data.msg, '错误', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
}) |
|
|
|
} |
|
|
|
}).catch(() => { |
|
|
|
this.overLoading = false |
|
|
|
}) |
|
|
|
}).catch(() => { |
|
|
|
}) |
|
|
|
} else { |
|
|
|
this.$message.warning('检验单必须为待检验状态!') |
|
|
|
|