标准法规清单
This commit is contained in:
@@ -237,13 +237,13 @@
|
|||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="code"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
fixed="left"
|
fixed="left"
|
||||||
width="180px"
|
width="180px"
|
||||||
label="标准号">
|
label="标准号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</a>
|
<a @click="handlePreview(scope.row)" class="table-jump">{{scope.row.standSortShow}} {{ scope.row.standNumber }}-{{scope.row.standYear}}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -370,13 +370,13 @@
|
|||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="code"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
width="180px"
|
width="180px"
|
||||||
fixed="left"
|
fixed="left"
|
||||||
label="标准号">
|
label="标准号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</a>
|
<a @click="handlePreview(scope.row)">{{scope.row.standSortShow}} {{ scope.row.standNumber }}-{{scope.row.standYear}}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -676,6 +676,7 @@ export default {
|
|||||||
editRowData: {
|
editRowData: {
|
||||||
id: '',
|
id: '',
|
||||||
standName: '',
|
standName: '',
|
||||||
|
standSortShow:'',
|
||||||
standEnName: '',
|
standEnName: '',
|
||||||
typeApplicable: '',
|
typeApplicable: '',
|
||||||
nylx: '',
|
nylx: '',
|
||||||
@@ -715,7 +716,7 @@ export default {
|
|||||||
],
|
],
|
||||||
detailedListName: [
|
detailedListName: [
|
||||||
{required: true, message: '清单名称不能为空', trigger: 'blur'},
|
{required: true, message: '清单名称不能为空', trigger: 'blur'},
|
||||||
{type: 'string', max: 100, message: '表单名称不能超过100个字符', trigger: 'blur'}
|
{type: 'string', max: 100, message: '清单名称不能超过100个字符', trigger: 'blur'}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
disabledFlag: false,
|
disabledFlag: false,
|
||||||
@@ -740,7 +741,7 @@ export default {
|
|||||||
dataSourceOptions: [
|
dataSourceOptions: [
|
||||||
{value: 'INLAND_STAND', label: '国内标准法规'},
|
{value: 'INLAND_STAND', label: '国内标准法规'},
|
||||||
{value: 'FOREIGN_STAND', label: '海外标准法规'},
|
{value: 'FOREIGN_STAND', label: '海外标准法规'},
|
||||||
{value: 'FOREIGN_LAWS', label: '国内外政策'},
|
//{value: 'FOREIGN_LAWS', label: '国内外政策'},
|
||||||
// {value: 'BUSINESS', label: '企业标准 '},
|
// {value: 'BUSINESS', label: '企业标准 '},
|
||||||
{value: 'TEMP', label: '标准法规清单 '}
|
{value: 'TEMP', label: '标准法规清单 '}
|
||||||
],
|
],
|
||||||
@@ -877,6 +878,7 @@ export default {
|
|||||||
// country: 'CN', // 适用区域
|
// country: 'CN', // 适用区域
|
||||||
standSort: '', // 标准类别
|
standSort: '', // 标准类别
|
||||||
standNumber: '', // 标准编号
|
standNumber: '', // 标准编号
|
||||||
|
standSortShow:'',
|
||||||
standYear: '', // 标准年份
|
standYear: '', // 标准年份
|
||||||
standName: '', // 中文名称
|
standName: '', // 中文名称
|
||||||
standEnName: '', // 英文名称
|
standEnName: '', // 英文名称
|
||||||
@@ -897,6 +899,7 @@ export default {
|
|||||||
// country: 'CN', // 适用区域
|
// country: 'CN', // 适用区域
|
||||||
standSort: '', // 标准类别
|
standSort: '', // 标准类别
|
||||||
standNumber: '', // 标准编号
|
standNumber: '', // 标准编号
|
||||||
|
standSortShow:'',
|
||||||
standYear: '', // 标准年份
|
standYear: '', // 标准年份
|
||||||
standName: '', // 中文名称
|
standName: '', // 中文名称
|
||||||
standEnName: '', // 英文名称
|
standEnName: '', // 英文名称
|
||||||
@@ -1322,7 +1325,7 @@ export default {
|
|||||||
editTghisRow(row) {
|
editTghisRow(row) {
|
||||||
this.rowList = row
|
this.rowList = row
|
||||||
this.editRowData = this.rowList
|
this.editRowData = this.rowList
|
||||||
this.editRowData.standNumber = this.rowList.standSortShow + this.rowList.standNumber
|
this.editRowData.standNumber = this.rowList.standSortShow + this.rowList.standNumber + '-' + this.rowList.standYear
|
||||||
this.drawerEdit = true
|
this.drawerEdit = true
|
||||||
},
|
},
|
||||||
// 抽屉取消按钮
|
// 抽屉取消按钮
|
||||||
@@ -1452,7 +1455,7 @@ export default {
|
|||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.$message.success('编辑成功')
|
//this.$message.success('编辑成功')
|
||||||
this.isNext = true
|
this.isNext = true
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'AccessStandardsAndRegulations'
|
name: 'AccessStandardsAndRegulations'
|
||||||
@@ -1896,12 +1899,12 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (data) {
|
||||||
let routerName = item.sarType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
let routerName = data.sarType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: routerName,
|
name: routerName,
|
||||||
params: {
|
params: {
|
||||||
id: item.resId,
|
id: data.id,
|
||||||
pageType: this.sarAccessInfoSearch.dataSource
|
pageType: this.sarAccessInfoSearch.dataSource
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -212,14 +212,13 @@
|
|||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="code"
|
||||||
fixed="left"
|
fixed="left"
|
||||||
width="180px"
|
width="180px"
|
||||||
align="center"
|
align="center"
|
||||||
label="标准号">
|
label="标准号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a v-if="scope.row.resId" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standNumber }}</a>
|
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standNumber }}</a>
|
||||||
<span v-else>{{ scope.row.standNumber }}</span>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -227,12 +226,18 @@
|
|||||||
label="中文名称"
|
label="中文名称"
|
||||||
width="180px"
|
width="180px"
|
||||||
>
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standEnName"
|
prop="standEnName"
|
||||||
align="center"
|
align="center"
|
||||||
width="180px"
|
width="180px"
|
||||||
label="英文名称">
|
label="英文名称">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standEnName }}</a>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="typeApplicable"
|
prop="typeApplicable"
|
||||||
@@ -656,12 +661,13 @@ export default {
|
|||||||
window.location.href = "/api/att/attFile/downloadFile?fileId=" + attId
|
window.location.href = "/api/att/attFile/downloadFile?fileId=" + attId
|
||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(data) {
|
||||||
|
debugger
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: "OtherStandardDetails",
|
name: "OtherStandardDetails",
|
||||||
params: {
|
params: {
|
||||||
id: item.resId,
|
id: data.id,
|
||||||
pageType: item.sarType
|
pageType: data.sarType
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
window.open(routeUrl.href, "_blank");
|
window.open(routeUrl.href, "_blank");
|
||||||
|
|||||||
@@ -577,7 +577,7 @@ export default {
|
|||||||
{required: true, message: '国内/海外不能为空', trigger: 'change'}
|
{required: true, message: '国内/海外不能为空', trigger: 'change'}
|
||||||
],
|
],
|
||||||
detailedList: [
|
detailedList: [
|
||||||
{required: true, message: '清单类别不能为空', trigger: 'change'}
|
{required: true, message: '清单类别不能为空', trigger: 'blur'}
|
||||||
],
|
],
|
||||||
detailedListName: [
|
detailedListName: [
|
||||||
{required: true, message: '清单名称不能为空', trigger: 'blur'},
|
{required: true, message: '清单名称不能为空', trigger: 'blur'},
|
||||||
|
|||||||
+2
-2
@@ -572,11 +572,11 @@ export default {
|
|||||||
],
|
],
|
||||||
projectName: [
|
projectName: [
|
||||||
{required: true, message: '项目名称不能为空', trigger: 'blur'},
|
{required: true, message: '项目名称不能为空', trigger: 'blur'},
|
||||||
{type: 'string', max: 100, message: '表单名称不能超过100个字符', trigger: 'blur'}
|
{type: 'string', max: 100, message: '项目名称不能超过100个字符', trigger: 'blur'}
|
||||||
],
|
],
|
||||||
detailedListName: [
|
detailedListName: [
|
||||||
{required: true, message: '清单名称不能为空', trigger: 'blur'},
|
{required: true, message: '清单名称不能为空', trigger: 'blur'},
|
||||||
{type: 'string', max: 100, message: '表单名称不能超过100个字符', trigger: 'blur'}
|
{type: 'string', max: 100, message: '清单名称不能超过100个字符', trigger: 'blur'}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
disabledFlag: false,
|
disabledFlag: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user