项目库 流程详情
This commit is contained in:
@@ -1976,4 +1976,5 @@ module.exports = {
|
||||
associatedItem:'There are multiple matching items in the platform item. Please select the associated item',
|
||||
unpublishedregulationsselected:'Only unpublished regulations can be selected',
|
||||
PlatformInformation:'Platform Information',
|
||||
Processdetails:'Process Details',
|
||||
}
|
||||
@@ -2536,7 +2536,7 @@ module.exports = {
|
||||
areaOfResponsibility: '责任领域',
|
||||
confirmationOfDesignConformity: '设计符合性确认',
|
||||
Deliverables: '交付物',
|
||||
personLiable: '责任人',
|
||||
personable: '责任人',
|
||||
PrehomoConfirmation: 'Pre-Homo确认',
|
||||
verificationAndConformityconfirmation: '验证符合性确认',
|
||||
StandardImplementationDate: '标准实施日期',
|
||||
@@ -3932,4 +3932,5 @@ module.exports = {
|
||||
associatedItem:'在平台件项目中包含多条匹配内容,请选择关联项',
|
||||
unpublishedregulationsselected:'仅能选择未发布的法规',
|
||||
PlatformInformation:'平台件信息',
|
||||
Processdetails:'流程详情',
|
||||
}
|
||||
@@ -0,0 +1,334 @@
|
||||
<!--流程详情-->
|
||||
<template>
|
||||
<div>
|
||||
<a-drawer
|
||||
:title="$t('Processdetails')"
|
||||
:maskClosable="false"
|
||||
:width="800"
|
||||
placement="right"
|
||||
:closable="true"
|
||||
@close="handleCancel"
|
||||
:visible="visible"
|
||||
style="height: 100%;overflow: auto;padding-bottom: 53px;">
|
||||
<a-spin :spinning="confirmLoading">
|
||||
<div class='title'>{{$t('basicInformation')}}</div>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<div class='detail-box'>
|
||||
<span class='detail-text' :title="$t('regulationNo')">{{$t('regulationNo')}}</span>
|
||||
<span class="title-text-text" :title="form.vdr">
|
||||
{{form.vdr}}</span>
|
||||
</div>
|
||||
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<div class='detail-box'>
|
||||
<span class='detail-text' :title="$t('title')">{{$t('title')}}</span>
|
||||
<span class="title-text-text" :title="form.summary">
|
||||
{{form.summary}}</span>
|
||||
</div>
|
||||
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<div class='detail-box'>
|
||||
<span class='detail-text' :title="$t('subtitle')">{{$t('subtitle')}}</span>
|
||||
<span class="title-text-text" :title="form.homologationImpact">
|
||||
{{form.homologationImpact}}</span>
|
||||
</div>
|
||||
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<div class='detail-box'>
|
||||
<span class='detail-text' :title="$t('applicableSupplement')">{{$t('applicableSupplement')}}</span>
|
||||
<span class="title-text-text" :title="form.impactCnHomo">
|
||||
{{form.impactCnHomo}}</span>
|
||||
</div>
|
||||
|
||||
</a-col>
|
||||
</a-row>
|
||||
<div v-for='(item,index) in dataList' :key='index'>
|
||||
<div class='title' :title="item.title">{{item.title}}</div>
|
||||
<div style='height:100%'>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<div class='detail-box'>
|
||||
<span class='detail-text' :title="$t('ProcessStatus')">{{$t('ProcessStatus')}}</span>
|
||||
<span class="title-text-text" :title="item.ProcessStatus">
|
||||
{{item.ProcessStatus}}</span>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<div class='detail-box'>
|
||||
<span class='detail-text' :title="$t('Sponsor')">{{$t('Sponsor')}}</span>
|
||||
<span class="title-text-text" :title="item.Sponsor">
|
||||
{{item.Sponsor}}</span>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<div class='detail-box'>
|
||||
<span class='detail-text' :title="$t('personLiable')">{{$t('personLiable')}}</span>
|
||||
<span class="title-text-text" :title="item.personLiable">
|
||||
{{item.personLiable}}</span>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<div class='detail-box'>
|
||||
<span class='detail-text' :title="$t('statisticalNodes')">{{$t('statisticalNodes')}}</span>
|
||||
<span class="title-text-text" :title="item.statisticalNodes">
|
||||
{{item.statisticalNodes}}</span>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<div class='detail-box'>
|
||||
<span class='detail-text' :title="$t('areaOfResponsibility')">{{$t('areaOfResponsibility')}}</span>
|
||||
<span class="title-text-text" :title="item.areaOfResponsibility">
|
||||
{{item.areaOfResponsibility}}</span>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="12">
|
||||
<div class='detail-box'>
|
||||
<span class='detail-text' :title="$t('deliverableTemplate')">{{$t('deliverableTemplate')}}</span>
|
||||
<span class="title-text-text" :title="item.deliverableTemplate">
|
||||
{{item.deliverableTemplate}}</span>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<div class='detail-box'>
|
||||
<span class='detail-text' :title="$t('typeOfDeliverables')">{{$t('typeOfDeliverables')}}</span>
|
||||
<span class="title-text-text" :title="item.typeOfDeliverables">
|
||||
{{item.typeOfDeliverables}}</span>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-col :span="24">
|
||||
<div class='detail-box' style='display:flex'>
|
||||
<span class='detail-text' :title="$t('descriptionDeliverables')">{{$t('descriptionDeliverables')}}</span>
|
||||
<span class="title-text-description" :title="item.descriptionDeliverables">
|
||||
{{item.descriptionDeliverables}}</span>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</a-spin>
|
||||
<div class="drawer-bootom-button">
|
||||
<a-button style="margin-right: 8px" @click="handleCancel">{{$t('close')}}</a-button>
|
||||
<!-- <a-button type="primary" @click="handleSubmit" :loading="confirmLoading">{{$t('submit')}}</a-button>-->
|
||||
</div>
|
||||
</a-drawer>
|
||||
<uploadFile ref="uploadFile" :acceptcode="acceptcode" @uploadSuccess="uploadSuccess"/>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getAction, postAction } from '@/api/manage'
|
||||
import uploadFile from '@/components/uploadFile/file'
|
||||
import { mapGetters } from 'vuex'
|
||||
|
||||
export default {
|
||||
name:"addModel",
|
||||
components:{
|
||||
uploadFile
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
visible: false,
|
||||
disabled: false,
|
||||
showButton:false,
|
||||
confirmLoading: false,
|
||||
acceptcode:'',
|
||||
projectNameList: [],
|
||||
DeliverableTreeList: [],
|
||||
form:{
|
||||
VDR:'',
|
||||
theme:'',
|
||||
authenticationimpact:'',
|
||||
influencestatuteCn:'',
|
||||
influencestatuteEu:'',
|
||||
},
|
||||
dataList:[
|
||||
{
|
||||
title:'平台件项目',
|
||||
ProcessStatus:'1',
|
||||
Sponsor:'1',
|
||||
personLiable:'1',
|
||||
statisticalNodes:'1',
|
||||
areaOfResponsibility:'1',
|
||||
deliverableTemplate:'1',
|
||||
typeOfDeliverables:'1',
|
||||
descriptionDeliverables:'1sdfdgdf法官大人风格的调1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的格式的',
|
||||
},
|
||||
{
|
||||
title:'平台件项目2',
|
||||
ProcessStatus:'1',
|
||||
Sponsor:'1',
|
||||
personLiable:'1',
|
||||
statisticalNodes:'1',
|
||||
areaOfResponsibility:'1',
|
||||
deliverableTemplate:'1',
|
||||
typeOfDeliverables:'1',
|
||||
descriptionDeliverables:'1sdfdgdf法官大人风格的调1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的格式的',
|
||||
},
|
||||
{
|
||||
title:'平台件项目2',
|
||||
ProcessStatus:'1',
|
||||
Sponsor:'1',
|
||||
personLiable:'1',
|
||||
statisticalNodes:'1',
|
||||
areaOfResponsibility:'1',
|
||||
deliverableTemplate:'1',
|
||||
typeOfDeliverables:'1',
|
||||
descriptionDeliverables:'1sdfdgdf法官大人风格的调1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的1sdfdgdf法官大人风格的调格式的格式的',
|
||||
}
|
||||
],
|
||||
url:{
|
||||
addModel:''
|
||||
},
|
||||
record:{},
|
||||
car:'',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
...mapGetters(['userInfo']),
|
||||
addModel(record,val) {
|
||||
this.form={}
|
||||
this.visible = true
|
||||
this.confirmLoading = false
|
||||
console.log('555',record);
|
||||
},
|
||||
handleCancel() {
|
||||
this.visible = false
|
||||
},
|
||||
/** 上传文件的回调 */
|
||||
uploadSuccess(data) {
|
||||
let attIdList = []
|
||||
if (data && data.length > 0) {
|
||||
data.map(item => {
|
||||
attIdList.push(item.id || data.name)
|
||||
})
|
||||
}
|
||||
/** 赋值给当前对应的表单文件 */
|
||||
this.formInline[this.uploadName] = attIdList.join(',')
|
||||
this.formInline = { ...this.formInline }
|
||||
},
|
||||
isEdit(){
|
||||
this.disabled=false
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.title{
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.box-title-text {
|
||||
line-height: 1.4;
|
||||
display: flex;
|
||||
/*align-items: center;*/
|
||||
}
|
||||
.detail-box{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin-bottom: 20px;
|
||||
position: relative;
|
||||
}
|
||||
.detail-text{
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
font-size: 14px;
|
||||
color: #6F7385;
|
||||
width: 120px;
|
||||
overflow: hidden; /*超出部分隐藏*/
|
||||
text-overflow: ellipsis; /*超出部分省略号表示*/
|
||||
white-space: nowrap; /*强制单行显示*/
|
||||
display: inline-block; /*转换为行内块元素*/
|
||||
}
|
||||
.title-text-text{
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: 33%;
|
||||
font-size: 14px;
|
||||
color: #040B29;
|
||||
}
|
||||
.title-text-description{
|
||||
display: inline-block;
|
||||
width: 80%;
|
||||
margin: 10px;
|
||||
font-size: 14px;
|
||||
color: #040B29;
|
||||
}
|
||||
.title-text {
|
||||
width: 250px;
|
||||
text-align: right;
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
margin-right: 16px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
height: 42px;
|
||||
line-height: 48px;
|
||||
}
|
||||
|
||||
.box-input {
|
||||
display: inline-block;
|
||||
height: 38px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.itemModel {
|
||||
width: calc(100% - 130px);
|
||||
display: inline-block;
|
||||
margin-top: 2px;
|
||||
min-height: 40px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.Required {
|
||||
color: red;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.header-text {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.drawer-bootom-button {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
border-top: 1px solid #e8e8e8;
|
||||
padding: 10px 16px;
|
||||
text-align: right;
|
||||
left: 0;
|
||||
background: #fff;
|
||||
border-radius: 0 0 2px 2px;
|
||||
}
|
||||
|
||||
.icon-text {
|
||||
font-size: 16px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
</style>
|
||||
@@ -638,10 +638,9 @@
|
||||
columns: [
|
||||
{
|
||||
title: this.$t('entryName'),
|
||||
dataIndex: 'projectNameId',
|
||||
dataIndex: 'projectName',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
sorter:true,
|
||||
width: 120
|
||||
},
|
||||
{
|
||||
@@ -649,31 +648,27 @@
|
||||
dataIndex: 'designDeliverableTypeName',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
sorter:true,
|
||||
width: 180
|
||||
},
|
||||
{
|
||||
title: this.$t('design')+ this.$t('deliverableTemplate'),
|
||||
align: 'left',
|
||||
width: 180,
|
||||
sorter:true,
|
||||
ellipsis: true,
|
||||
dataIndex: 'designDeliverableTemplate'
|
||||
dataIndex: 'designDeliverableTemplateName'
|
||||
},
|
||||
{
|
||||
title: this.$t('verify')+ this.$t('typeOfDeliverables'),
|
||||
dataIndex: 'verifyDeliverableTypeName',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
sorter:true,
|
||||
width: 180
|
||||
},
|
||||
{
|
||||
title: this.$t('verify')+ this.$t('deliverableTemplate'),
|
||||
dataIndex: 'verifyDeliverableTemplate',
|
||||
dataIndex: 'verifyDeliverableTemplateName',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
sorter:true,
|
||||
width: 180
|
||||
},
|
||||
{
|
||||
|
||||
@@ -273,6 +273,12 @@
|
||||
<a-icon type="setting"/>
|
||||
{{ $t('Associatedplatform') }}
|
||||
</div>
|
||||
<div @click="a"
|
||||
v-if="roleSwitchingCode == 0"
|
||||
class="operator-text-title">
|
||||
<a-icon type="setting"/>
|
||||
{{ $t('Associatedplatform1') }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<div class="operator-text" style="position: relative">
|
||||
@@ -695,6 +701,7 @@
|
||||
<batchSettingPersonnel :url="url" ref="batchSettingPersonnelRef" @batchSettingPersonnelForm="addModelList"/>
|
||||
<viewFileModel ref="viewFileModelRef"/>
|
||||
<designCompliance ref="designComplianceRef"/>
|
||||
<flowstatusdetial ref="flowstatusdetialRef"/>
|
||||
<modifyOperator ref="modifyOperatorRef" @modifyOperatorForm="modifyOperatorForm"/>
|
||||
<toResubmitForm ref="toResubmitFormRef" @toResubmitFormForm="toResubmitFormForm"/>
|
||||
</a-card>
|
||||
@@ -705,6 +712,7 @@
|
||||
import designCompliance from '../../toDoCenter/projectRegulationTasks/components/designCompliance'
|
||||
import listAddModel from './listAddModel'
|
||||
import listEditModel from './listEditModel'
|
||||
import flowstatusdetial from './flowstatusdetial'
|
||||
import batSetting from './batSetting'
|
||||
import transferList from './transferList'
|
||||
import associatedplat from './associatedplat'
|
||||
@@ -733,6 +741,7 @@
|
||||
ImportFile,
|
||||
listAddModel,
|
||||
listEditModel,
|
||||
flowstatusdetial,
|
||||
batSetting,
|
||||
transferList,
|
||||
associatedplat,
|
||||
@@ -1824,6 +1833,11 @@
|
||||
}
|
||||
}
|
||||
this.$refs.designComplianceRef.getList(JSON.parse(JSON.stringify(query)), name)
|
||||
|
||||
|
||||
},
|
||||
a(){
|
||||
this.$refs.flowstatusdetialRef.addModel()
|
||||
},
|
||||
|
||||
//查看列表页面
|
||||
|
||||
Reference in New Issue
Block a user