|
|
|
@ -144,6 +144,7 @@ |
|
|
|
width="120" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a type="text" style="cursor:pointer;" @click="handleClickBM(scope.row)">BM</a> |
|
|
|
<template v-if="isAuth('107001:update')"> |
|
|
|
<a type="text" size="small" style="cursor:pointer;" v-if="scope.row.testStatus !== '已完成'" @click="updateModal(scope.row)">编辑</a> |
|
|
|
</template> |
|
|
|
@ -3621,6 +3622,22 @@ |
|
|
|
this.partPageNo = val |
|
|
|
this.getProjectPartList(); |
|
|
|
}, |
|
|
|
handleClickBM(row){ |
|
|
|
if (this.$router.resolve('sampleManagement-technicalSpecificationList').resolved.name === '404') { |
|
|
|
this.$alert('权限不足,访问失败', '警告', {confirmButtonText: '确定',}); |
|
|
|
} else { |
|
|
|
this.$emit('close') |
|
|
|
let params = { |
|
|
|
name: "sampleManagement-technicalSpecificationList", |
|
|
|
params: { |
|
|
|
type:'test', |
|
|
|
testPartNo:row.testPartNo, |
|
|
|
buNo:row.buNo |
|
|
|
} |
|
|
|
} |
|
|
|
this.$router.push(params) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
</script> |
|
|
|
|