评估及未符合bug

This commit is contained in:
宋伟佳
2021-07-21 15:46:24 +08:00
parent 3673d37a8d
commit e220e9c1f4
9 changed files with 153 additions and 43 deletions
@@ -92,6 +92,7 @@
<el-table-column
prop="standId"
width="180px"
align="center"
label="标准编号">
<template slot-scope="scope">
<a @click="detailsStandard(scope.row)" class="table-jump">{{ scope.row.standId }}</a>
@@ -100,6 +101,7 @@
<el-table-column
prop="standName"
width="180px"
align="center"
label="标准名称">
<template slot-scope="scope">
<a @click="detailsStandard(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
@@ -107,42 +109,56 @@
</el-table-column>
<el-table-column
prop="itemsNum"
width="150"
align="center"
label="条款号">
</el-table-column>
<el-table-column
prop="itemsName"
width="150"
align="center"
label="条款名称">
</el-table-column>
<el-table-column
prop="productLine"
width="150"
align="center"
label="产品线">
</el-table-column>
<el-table-column
prop="productName"
width="150"
align="center"
label="项目名称">
</el-table-column>
<el-table-column
prop="responsibleUnit"
width="150"
align="center"
label="责任部门">
</el-table-column>
<el-table-column
prop="dutyEngineer"
width="150px"
width="150"
align="center"
label="责任工程师">
</el-table-column>
<el-table-column
prop="authEngineer"
width="150px"
width="150"
align="center"
label="认证工程师">
</el-table-column>
<el-table-column
prop="qaEngineer"
width="150px"
width="150"
align="center"
label="质量工程师">
</el-table-column>
<el-table-column
prop="actualCloseTime"
width="150px"
width="150"
align="center"
sortable
label="实际关闭时间">
<template slot-scope="scope">{{(scope.row.actualCloseTime ? scope.row.actualCloseTime.substring(0, 11): '')}}</template>
@@ -117,9 +117,12 @@
fixed="left"
width="180"
label="标准编号">
<!-- <template slot-scope="scope">-->
<!-- <a @click="detailsStandard(scope.row)" class="table-jump">{{ scope.row.standId }}</a>-->
<!--&lt;!&ndash; {{ scope.row.standId }}&ndash;&gt;-->
<!-- </template>-->
<template slot-scope="scope">
<a @click="detailsStandard(scope.row)" class="table-jump">{{ scope.row.standId }}</a>
<!-- {{ scope.row.standId }}-->
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standId }}</a>
</template>
</el-table-column>
<el-table-column
@@ -568,6 +571,18 @@ export default {
openEditModal(item) {
console.log(item)
},
// 点击查看
handlePreview (item) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
//gslh3tgg7kot97ay5oz0
id: item.id,
pageType: item.standType + '_STAND'
}
})
window.open(routeUrl.href, '_blank')
},
detailsStandard (item) {
this.$http.post('lawss/sarTestItem/validateStandNumber', {
standnumber: item.standNum