修改法规清单的更新log 历史版本

This commit is contained in:
qq787203167
2022-04-20 15:51:24 +08:00
parent a67e779314
commit 4753586616
4 changed files with 61 additions and 22 deletions
+1
View File
@@ -691,4 +691,5 @@ module.exports = {
historicalVersion:'Historical version', historicalVersion:'Historical version',
versionName:'Version name', versionName:'Version name',
finalizationTime:'Finalization time', finalizationTime:'Finalization time',
setting:'setting',
} }
+1
View File
@@ -695,4 +695,5 @@ module.exports = {
historicalVersion:'历史版本', historicalVersion:'历史版本',
versionName:'版本名称', versionName:'版本名称',
finalizationTime:'定版时间', finalizationTime:'定版时间',
setting:'设定',
} }
@@ -1,8 +1,14 @@
<template> <template>
<div class="box"> <div class="box">
<div class="header-text"> <div class="box-text">
{{$t('basicInformationOfParameters')}} <div class="header-text">
{{$t('basicInformationOfParameters')}}
</div>
<div class="header-tight">
<a-button class="box-button" style="line-height: 32px" @click="edit">{{$t('edit')}}</a-button>
</div>
</div> </div>
<div class="content-text"> <div class="content-text">
<div class="text-field"> <div class="text-field">
<span class="text-field-left" :title="$t('entryName')">{{$t('entryName')}}</span> <span class="text-field-left" :title="$t('entryName')">{{$t('entryName')}}</span>
@@ -46,12 +52,12 @@
</div> </div>
<div class="text-field"> <div class="text-field">
<span class="text-field-left" :title="$t('dehicleDevelopmentPlan')">{{$t('dehicleDevelopmentPlan')}}</span> <span class="text-field-left" :title="$t('dehicleDevelopmentPlan')">{{$t('dehicleDevelopmentPlan')}}</span>
<span class="text-field-right text-field-right-color" @click="urlClick(queryForm.vehicleDevelopmentPlan)" <span class="text-field-right text-field-right-color" @click="urlClick(queryForm.vehicleDevelopmentPlan)"
>{{queryForm.vehicleDevelopmentPlan}}</span> >{{queryForm.vehicleDevelopmentPlan}}</span>
</div> </div>
<div class="text-field"> <div class="text-field">
<span class="text-field-left" :title="$t('certificationProgram')">{{$t('certificationProgram')}}</span> <span class="text-field-left" :title="$t('certificationProgram')">{{$t('certificationProgram')}}</span>
<span class="text-field-right text-field-right-color" @click="urlClick(queryForm.attestationPlan)" <span class="text-field-right text-field-right-color" @click="urlClick(queryForm.attestationPlan)"
>{{queryForm.attestationPlan}}</span> >{{queryForm.attestationPlan}}</span>
</div> </div>
<div class="text-field"> <div class="text-field">
@@ -65,8 +71,13 @@
</span> </span>
</div> </div>
</div> </div>
<div class="header-text"> <div class="box-text">
{{$t('regulatoryCertificationTaskPlan')}} <div class="header-text">
{{$t('regulatoryCertificationTaskPlan')}}
</div>
<div class="header-tight">
<a-button class="box-button" style="line-height: 32px" @click="searchReset">{{$t('setting')}}</a-button>
</div>
</div> </div>
<div class="process-content"> <div class="process-content">
@@ -157,14 +168,15 @@
<script> <script>
import * as echarts from 'echarts' import * as echarts from 'echarts'
import listOfRelevantPersonnel from './listOfRelevantPersonnel' import listOfRelevantPersonnel from './listOfRelevantPersonnel'
export default { export default {
name: 'ProjectDetails', name: 'ProjectDetails',
components:{ components: {
listOfRelevantPersonnel, listOfRelevantPersonnel
}, },
data() { data() {
return { return {
queryForm: {}, queryForm: {}
} }
}, },
mounted() { mounted() {
@@ -192,13 +204,16 @@
] ]
}) })
}, },
ListOfRelevantPersonnelClick(){ ListOfRelevantPersonnelClick() {
this.$refs.listOfRelevantPersonnelRef.getData() this.$refs.listOfRelevantPersonnelRef.getData()
}, },
urlClick(val){ urlClick(val) {
if (val){ if (val) {
window.open(val) window.open(val)
} }
},
edit(){
}, },
} }
} }
@@ -215,9 +230,7 @@
.header-text { .header-text {
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
height: 80px;
color: #000F16; color: #000F16;
line-height: 80px;
} }
.content-text { .content-text {
@@ -339,8 +352,16 @@
} }
} }
.text-field-right-color{
color: #00B3BE!important; .text-field-right-color {
color: #00B3BE !important;
cursor: pointer; cursor: pointer;
} }
.box-text {
display: flex;
justify-content: space-between;
height: 80px;
line-height: 80px;
}
</style> </style>
@@ -27,7 +27,7 @@
rowKey="id" rowKey="id"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:pagination="false" :pagination="false"
:scroll="{x:1000,y: 400}" :scroll="{x:true,y: 400}"
:data-source="dataSource" :data-source="dataSource"
:loading="loading" :loading="loading"
> >
@@ -154,6 +154,7 @@
import PersonnelSelection from '@/components/PersonnelSelection/index' import PersonnelSelection from '@/components/PersonnelSelection/index'
import { getAction, postAction, downloadFile, putAction } from '@/api/manage' import { getAction, postAction, downloadFile, putAction } from '@/api/manage'
import ImportFile from '@/components/ImportFile/index' import ImportFile from '@/components/ImportFile/index'
import { mapGetters } from 'vuex'
export default { export default {
name: 'listOfRelevantPersonnel', name: 'listOfRelevantPersonnel',
@@ -164,7 +165,7 @@
data() { data() {
return { return {
visible: false, visible: false,
columns: [ columnsAll: [
{ {
title: this.$t('areaOfResponsibility'), title: this.$t('areaOfResponsibility'),
align: 'center', align: 'center',
@@ -248,7 +249,22 @@
selectedRowKeys: [] selectedRowKeys: []
} }
}, },
computed: {
columns() {
let columnResult = JSON.parse(JSON.stringify(this.columnsAll))
if (this.$route.query.studioEngineer != this.userInfo().id) {
for (var i = 0; i < columnResult.length; i++) {
if (columnResult[i].title === this.$t('operation')) {
columnResult.splice(i, 1)
i--
}
}
}
return columnResult
}
},
methods: { methods: {
...mapGetters(['userInfo']),
getData() { getData() {
this.visible = true this.visible = true
this.getList() this.getList()
@@ -297,7 +313,7 @@
let query = { let query = {
pageNo: this.pageNo, pageNo: this.pageNo,
pageSize: this.pageSize, pageSize: this.pageSize,
projectId:this.$route.query.id projectId: this.$route.query.id
} }
this.loading = true this.loading = true
postAction(this.url.page, query).then((res) => { postAction(this.url.page, query).then((res) => {