修改法规清单的更新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',
versionName:'Version name',
finalizationTime:'Finalization time',
setting:'setting',
}
+1
View File
@@ -695,4 +695,5 @@ module.exports = {
historicalVersion:'历史版本',
versionName:'版本名称',
finalizationTime:'定版时间',
setting:'设定',
}
@@ -1,8 +1,14 @@
<template>
<div class="box">
<div class="header-text">
{{$t('basicInformationOfParameters')}}
<div class="box-text">
<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 class="content-text">
<div class="text-field">
<span class="text-field-left" :title="$t('entryName')">{{$t('entryName')}}</span>
@@ -46,12 +52,12 @@
</div>
<div class="text-field">
<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>
</div>
<div class="text-field">
<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>
</div>
<div class="text-field">
@@ -65,8 +71,13 @@
</span>
</div>
</div>
<div class="header-text">
{{$t('regulatoryCertificationTaskPlan')}}
<div class="box-text">
<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 class="process-content">
@@ -157,14 +168,15 @@
<script>
import * as echarts from 'echarts'
import listOfRelevantPersonnel from './listOfRelevantPersonnel'
export default {
name: 'ProjectDetails',
components:{
listOfRelevantPersonnel,
components: {
listOfRelevantPersonnel
},
data() {
return {
queryForm: {},
queryForm: {}
}
},
mounted() {
@@ -192,13 +204,16 @@
]
})
},
ListOfRelevantPersonnelClick(){
this.$refs.listOfRelevantPersonnelRef.getData()
ListOfRelevantPersonnelClick() {
this.$refs.listOfRelevantPersonnelRef.getData()
},
urlClick(val){
if (val){
window.open(val)
}
urlClick(val) {
if (val) {
window.open(val)
}
},
edit(){
},
}
}
@@ -215,9 +230,7 @@
.header-text {
font-size: 16px;
font-weight: 400;
height: 80px;
color: #000F16;
line-height: 80px;
}
.content-text {
@@ -339,8 +352,16 @@
}
}
.text-field-right-color{
color: #00B3BE!important;
.text-field-right-color {
color: #00B3BE !important;
cursor: pointer;
}
.box-text {
display: flex;
justify-content: space-between;
height: 80px;
line-height: 80px;
}
</style>
@@ -27,7 +27,7 @@
rowKey="id"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:pagination="false"
:scroll="{x:1000,y: 400}"
:scroll="{x:true,y: 400}"
:data-source="dataSource"
:loading="loading"
>
@@ -154,6 +154,7 @@
import PersonnelSelection from '@/components/PersonnelSelection/index'
import { getAction, postAction, downloadFile, putAction } from '@/api/manage'
import ImportFile from '@/components/ImportFile/index'
import { mapGetters } from 'vuex'
export default {
name: 'listOfRelevantPersonnel',
@@ -164,7 +165,7 @@
data() {
return {
visible: false,
columns: [
columnsAll: [
{
title: this.$t('areaOfResponsibility'),
align: 'center',
@@ -248,7 +249,22 @@
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: {
...mapGetters(['userInfo']),
getData() {
this.visible = true
this.getList()
@@ -297,7 +313,7 @@
let query = {
pageNo: this.pageNo,
pageSize: this.pageSize,
projectId:this.$route.query.id
projectId: this.$route.query.id
}
this.loading = true
postAction(this.url.page, query).then((res) => {