标准清单发布流程

This commit is contained in:
宋伟佳
2021-07-07 11:02:14 +08:00
parent 4828b73516
commit e553ef68b2
16 changed files with 859 additions and 1400 deletions
@@ -31,7 +31,7 @@ export default {
data() {
return {
list: [],
tabValue: "",
tabValue: "listProject",
menuName: ["国家/地区清单", "项目类清单", "重点标准跟踪清单", "其他清单"]
};
},
@@ -102,8 +102,9 @@
label="清单状态"
align="center">
<template slot-scope="scope">
<span v-if="scope.row.detailedListState === '1'">未发布</span>
<span v-if="scope.row.detailedListState === '2'">已发布</span>
<span v-if="scope.row.detailedListState === '0'">未发布</span>
<span v-if="scope.row.detailedListState === '1'">已发布</span>
<span v-if="scope.row.detailedListState === '3'">审核中</span>
</template>
</el-table-column>
<el-table-column
@@ -377,7 +378,7 @@ export default {
position: relative;
flex: auto;
width: 100%;
//height: calc(~'100% - 105px - 56px') !important;
height: calc(100% - 110px) !important;
.pagination {
position: static;
@@ -91,8 +91,9 @@
label="清单状态"
align="center">
<template slot-scope="scope">
<span v-if="scope.row.detailedListState === '1'">未发布</span>
<span v-if="scope.row.detailedListState === '2'">已发布</span>
<span v-if="scope.row.detailedListState === '0'">未发布</span>
<span v-if="scope.row.detailedListState === '1'">已发布</span>
<span v-if="scope.row.detailedListState === '3'">审核中</span>
</template>
</el-table-column>
<el-table-column
@@ -94,8 +94,9 @@
label="清单状态"
align="center">
<template slot-scope="scope">
<span v-if="scope.row.detailedListState === '1'">未发布</span>
<span v-if="scope.row.detailedListState === '2'">已发布</span>
<span v-if="scope.row.detailedListState === '0'">未发布</span>
<span v-if="scope.row.detailedListState === '1'">已发布</span>
<span v-if="scope.row.detailedListState === '3'">审核中</span>
</template>
</el-table-column>
<el-table-column
File diff suppressed because it is too large Load Diff
@@ -111,70 +111,41 @@
align="center">
</el-table-column>
<el-table-column
prop="standNumber"
width="180px"
prop="code"
fixed="left"
width="180px"
label="标准号">
<template slot-scope="scope">
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standNumber }}</a>
<a v-if="scope.row.resId" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.code }}</a>
<span v-else>{{ scope.row.code }}</span>
</template>
</el-table-column>
<el-table-column
prop="standName"
width="180px"
label="中文名称"
fixed="left"
label="标准名称"
width="260px"
>
<template slot-scope="scope">
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
</template>
</el-table-column>
<el-table-column
prop="standEnName"
width="180px"
fixed="left"
label="英文名称">
<template slot-scope="scope">
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standEnName }}</a>
</template>
</el-table-column>
<el-table-column
prop="issueTime"
width="190px"
label="发布日期"
prop="isSubTime"
sortable
>
label="发布日期">
</el-table-column>
<el-table-column
prop="newCarTime"
width="190px"
label="新车型实施日期"
prop="newPutTime"
sortable
>
label="新车型实施日期">
</el-table-column>
<el-table-column
prop="nowCarTime"
width="190px"
label="在产车实施日期"
show-overflow-tooltip
prop="prodPutTime"
sortable
>
label="在产车实施日期">
</el-table-column>
<el-table-column
prop="applyArcticId"
width="120px"
show-overflow-tooltip
label="适用车型">
</el-table-column>
<el-table-column
prop="responseUnit"
prop="proEssessUser"
width="120px"
show-overflow-tooltip
label="责任部门">
</el-table-column>
<el-table-column
prop="textStatus"
width="120px"
show-overflow-tooltip
label="文本状态">
</el-table-column>
</el-table>
@@ -211,37 +211,27 @@
</template>
</el-table-column>
<el-table-column
prop="name"
label="中文名称"
prop="standName"
label="标准名称"
width="260px"
fixed="left"
>
</el-table-column>
<el-table-column
prop="enName"
label="英文名称"
width="260px"
>
prop="isSubTime"
sortable
label="发布日期">
</el-table-column>
<el-table-column
prop="newPutTime"
width="150px"
sortable
label="新车型实施日期">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="prodPutTime"
width="150px"
sortable
label="在产车实施日期">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="ZRBMName"
width="150px"
label="责任部门">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="proEssessUser"
@@ -345,59 +335,31 @@
</template>
</el-table-column>
<el-table-column
prop="name"
width="180px"
label="中文名称"
fixed="left"
prop="standName"
label="标准名称"
width="260px"
>
<template slot-scope="scope">
<a v-if="scope.row.resId && scope.row.sarType !== 'TEMP'" class="table-jump"
@click="handlePreview(scope.row)">{{ scope.row.name }}</a>
<span v-else>{{ scope.row.name }}</span>
</template>
</el-table-column>
<el-table-column
prop="enName"
width="180px"
fixed="left"
label="英文名称">
<template slot-scope="scope">
<a v-if="scope.row.resId && scope.row.sarType !== 'TEMP'" class="table-jump"
@click="handlePreview(scope.row)">{{ scope.row.enName }}</a>
<span v-else>{{ scope.row.enName }}</span>
</template>
prop="isSubTime"
sortable
label="发布日期">
</el-table-column>
<el-table-column
prop="newPutTime"
width="190px"
label="发布日期"
sortable
>
</el-table-column>
<el-table-column
prop="newPutTime"
width="190px"
label="新车型实施日期"
sortable
>
label="新车型实施日期">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="prodPutTime"
width="190px"
label="在产车实施日期"
sortable
>
label="在产车实施日期">
</el-table-column>
<el-table-column
prop="applyArcticId"
width="120px"
show-overflow-tooltip
label="适用车型">
</el-table-column>
<el-table-column
prop="applyArcticId"
prop="proEssessUser"
width="120px"
show-overflow-tooltip
label="文本状态">
</el-table-column>
</el-table>
@@ -731,7 +693,7 @@ export default {
accessType: '',
id: '',
standType: 'INLAND', // 标准分类
// country: 'CN', // 适用区域
country: 'CN', // 适用区域
standSort: '', // 标准类别
standNumber: '', // 标准编号
standYear: '', // 标准年份
@@ -2204,7 +2166,7 @@ export default {
this.regionOptions = res.data.REGION // 基础信息 区域list
this.applyArcticOptions = res.data.PRODUCTTYPE || [] // 基础车型 适用车型list
this.energyKindOptions = res.data.ENERGYTYPES || [] // 能源种类list
this.drawerCountryOptions = res.data.COUNTRY // 国家、地区list
this.applicationScope = res.data.COUNTRY // 国家、地区list
this.applyOptions = res.data.COUNTRY //适用领域 list
this.standNatureOptions = res.data.SARPROPERTY // 新增 标准性质
this.accessSarTypeOptions = res.data.REQUESTTYPE // 数据搜索 要求类型
@@ -211,37 +211,27 @@
</template>
</el-table-column>
<el-table-column
prop="name"
label="中文名称"
prop="standName"
label="标准名称"
width="260px"
fixed="left"
>
</el-table-column>
<el-table-column
prop="enName"
label="英文名称"
width="260px"
>
prop="isSubTime"
sortable
label="发布日期">
</el-table-column>
<el-table-column
prop="newPutTime"
width="150px"
sortable
label="新车型实施日期">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="prodPutTime"
width="150px"
sortable
label="在产车实施日期">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="ZRBMName"
width="150px"
label="责任部门">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="proEssessUser"
@@ -345,59 +335,31 @@
</template>
</el-table-column>
<el-table-column
prop="name"
width="180px"
label="中文名称"
fixed="left"
prop="standName"
label="标准名称"
width="260px"
>
<template slot-scope="scope">
<a v-if="scope.row.resId && scope.row.sarType !== 'TEMP'" class="table-jump"
@click="handlePreview(scope.row)">{{ scope.row.name }}</a>
<span v-else>{{ scope.row.name }}</span>
</template>
</el-table-column>
<el-table-column
prop="enName"
width="180px"
fixed="left"
label="英文名称">
<template slot-scope="scope">
<a v-if="scope.row.resId && scope.row.sarType !== 'TEMP'" class="table-jump"
@click="handlePreview(scope.row)">{{ scope.row.enName }}</a>
<span v-else>{{ scope.row.enName }}</span>
</template>
prop="isSubTime"
sortable
label="发布日期">
</el-table-column>
<el-table-column
prop="newPutTime"
width="190px"
label="发布日期"
sortable
>
</el-table-column>
<el-table-column
prop="newPutTime"
width="190px"
label="新车型实施日期"
sortable
>
label="新车型实施日期">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="prodPutTime"
width="190px"
label="在产车实施日期"
sortable
>
label="在产车实施日期">
</el-table-column>
<el-table-column
prop="applyArcticId"
width="120px"
show-overflow-tooltip
label="适用车型">
</el-table-column>
<el-table-column
prop="applyArcticId"
prop="proEssessUser"
width="120px"
show-overflow-tooltip
label="文本状态">
</el-table-column>
</el-table>
@@ -636,56 +598,6 @@ export default {
{required: true, type: 'string', message: '英文名称不能为空', trigger: 'blur'},
{type: 'string', max: 1000, message: '英文名称不能超过1000个字符', trigger: 'change'}
],
// synopsis: [
// {required: true, type: 'string', message: '法规说明不能为空', trigger: 'blur'},
// {type: 'string', max: 1000, message: '法规说明不能超过1000个字符', trigger: 'change'}
// ],
// newPutTime: [
// {required: true, message: '新车型实施日期不能为空', trigger: 'change'}
// ],
// prodPutTime: [
// {required: true, message: '在产车实施日期不能为空', trigger: 'change'}
// ],
// eopPutTime: [
// {required: true, message: 'eop实施日期不能为空', trigger: 'change'}
// ],
// newPutTextTime: [
// {required: true, message: '新车型实施日期(项目)不能为空', trigger: 'change'}
// ],
// prodPutTextTime: [
// {required: true, message: '在产车实施日期(项目)不能为空', trigger: 'change'}
// ],
// eopPutTextTime: [
// {required: true, message: 'eop实施日期(项目)不能为空', trigger: 'change'}
// ],
performInfo: [
// {required: true, type: 'string', message: '实施说明不能为空', trigger: 'blur'},
{type: 'string', max: 1000, message: '实施说明不能超过1000个字符', trigger: 'change'}
],
// ZRBM: [
// {required: true, type: 'string', message: '责任部门不能为空', trigger: 'change'}
// ],
// XGBM: [
// {required: true, message: '相关部门不能为空', trigger: 'change'}
// ],
// FO: [
// {required: true, type: 'string', message: 'FO不能为空', trigger: 'change'}
// ],
// proEssessUserId: [
// {required: true, type: 'string', message: '项目评估角色不能为空', trigger: 'change'}
// ],
askNature: [
{required: true, message: '监管类型不能为空', trigger: 'change'}
],
// applyArctic: [
// {required: true, message: '适用车辆类型不能为空', trigger: 'change'}
// ],
accessType: [
{required: true, type: 'string', message: '入库模块不能为空', trigger: 'change'}
],
authObjId: [
{required: true, type: 'string', message: '认证对象不能为空', trigger: 'change'}
]
},
// 认证对象下拉数据
authObjOptions: [
@@ -133,7 +133,7 @@
</el-table-column>
<el-table-column
label="标准号"
width="170px"
width="200px"
>
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
@@ -143,6 +143,7 @@
<el-table-column
prop="standName"
label="标准名称"
width="250px"
>
<template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
@@ -151,7 +152,7 @@
<el-table-column
prop="issueTime"
sortable="custom"
width="110px"
width="170px"
label="发布日期">
<template slot-scope="scope">
{{ formatIssueDate(scope.row.issueTime) }}
@@ -160,7 +161,6 @@
<el-table-column
prop="xcxssrq"
sortable="custom"
width="150px"
label="新车型实施日期">
<template slot-scope="scope">
<span>{{ formatText(scope.row.XCXSSRQ) }}</span>
@@ -169,7 +169,6 @@
<el-table-column
prop="zccssrq"
sortable="custom"
width="150px"
label="在产车实施日期">
<template slot-scope="scope">
<span>{{ formatText(scope.row.ZCCSSRQ) }}</span>
@@ -1211,13 +1211,13 @@ export default {
handlePreview (row) {
this.$store.commit('setDetailMap', this.$route.path)
this.$store.commit('setLocalProData', JSON.stringify(row))
if (!this.$hasPermission('XTR2AJYDAN4J7GALXDW9')){
this.$message({
message: '无权访问',
type: 'warning'
})
return
}
// if (!this.$hasPermission('XTR2AJYDAN4J7GALXDW9')){
// this.$message({
// message: '无权访问',
// type: 'warning'
// })
// return
// }
this.$http.get('sarStandProjectLibrary/queryById', {
id: row.id
}, {