修改项目库详情

This commit is contained in:
范强强
2023-03-16 10:45:21 +08:00
parent 495daa71c5
commit ce7090277c
7 changed files with 315 additions and 234 deletions
@@ -2,7 +2,7 @@
<div>
<a-drawer
:title="$t('ListOfRelevantPersonnel')"
:width="1000"
:width="1280"
:visible="visible"
:maskClosable="false"
@close="handleCancel"
@@ -21,50 +21,50 @@
</div>
</a-col>
<template v-if="toggleSearchStatus">
<a-col :md="12" :sm="8">
<div class="box-title-text-search">
<div class="title-text-search" :title="$t('engineeringInterfacePerson')">
<span>{{$t('engineeringInterfacePerson')}}</span>
<a-col :md="12" :sm="8">
<div class="box-title-text-search">
<div class="title-text-search" :title="$t('engineeringInterfacePerson')">
<span>{{$t('engineeringInterfacePerson')}}</span>
</div>
<PersonnelSelection class="box-input-search"
:query="{db_field_name:'engineeringInterfacePerson',db_field_txt:$t('engineeringInterfacePerson')}"
:isInput="true"
:personneQuery="queryParam"
@change="PersonnelSelectionChange"
v-model="queryParam.engineeringInterfacePersonName"/>
</div>
<PersonnelSelection class="box-input-search"
:query="{db_field_name:'engineeringInterfacePerson',db_field_txt:$t('engineeringInterfacePerson')}"
:isInput="true"
:personneQuery="queryParam"
@change="PersonnelSelectionChange"
v-model="queryParam.engineeringInterfacePersonName"/>
</div>
</a-col>
<a-col :md="12" :sm="8">
<div class="box-title-text-search">
<div class="title-text-search" :title="$t('regulatoryEngineer')">
<span>{{$t('regulatoryEngineer')}}</span>
</a-col>
<a-col :md="12" :sm="8">
<div class="box-title-text-search">
<div class="title-text-search" :title="$t('regulatoryEngineer')">
<span>{{$t('regulatoryEngineer')}}</span>
</div>
<PersonnelSelection class="box-input-search"
:query="{db_field_name:'lawEngineer',db_field_txt:$t('regulatoryEngineer')}"
:isInput="true"
:personneQuery="queryParam"
@change="PersonnelSelectionChange"
v-model="queryParam.lawEngineerName"/>
</div>
<PersonnelSelection class="box-input-search"
:query="{db_field_name:'lawEngineer',db_field_txt:$t('regulatoryEngineer')}"
:isInput="true"
:personneQuery="queryParam"
@change="PersonnelSelectionChange"
v-model="queryParam.lawEngineerName"/>
</div>
</a-col>
<a-col :md="12" :sm="8">
<div class="box-title-text-search">
<div class="title-text-search" :title="$t('certifiedEngineer')">
<span>{{$t('certifiedEngineer')}}</span>
</div>
<a-select class="box-input-search"
v-model="queryParam.certificationEngineer"
:placeholder="$t('PleaseSelect')+$t('certifiedEngineer')">
<a-select-option v-for="(item, key) in dictOptionsValue"
:key="item.certificationEngineer"
:value="item.certificationEngineer">
</a-col>
<a-col :md="12" :sm="8">
<div class="box-title-text-search">
<div class="title-text-search" :title="$t('certifiedEngineer')">
<span>{{$t('certifiedEngineer')}}</span>
</div>
<a-select class="box-input-search"
v-model="queryParam.certificationEngineer"
:placeholder="$t('PleaseSelect')+$t('certifiedEngineer')">
<a-select-option v-for="(item, key) in dictOptionsValue"
:key="item.certificationEngineer"
:value="item.certificationEngineer">
<span class="itemOption" :title=" item.certificationEngineerName ">
{{ item.certificationEngineerName }}
</span>
</a-select-option>
</a-select>
</div>
</a-col>
</a-select-option>
</a-select>
</div>
</a-col>
</template>
<span style="float: right;overflow: hidden;margin-right: 11px;margin-bottom: 20px"
class="table-page-search-submitButtons">
@@ -127,6 +127,14 @@
<span slot="engineeringInterfacePerson" :title="$t('engineeringInterfacePerson')">
{{$t('engineeringInterfacePerson')}}
</span>
<span slot="projectInterfacePersonRegulationEngineerSetting"
:title="$t('projectInterfacePersonRegulationEngineerSetting')">
{{$t('projectInterfacePersonRegulationEngineerSetting')}}
</span>
<span slot="projectInterfacePersonCertificationEngineerSetting"
:title="$t('projectInterfacePersonCertificationEngineerSetting')">
{{$t('projectInterfacePersonCertificationEngineerSetting')}}
</span>
<span slot="certifiedEngineer" :title="$t('certifiedEngineer')">
{{$t('certifiedEngineer')}}
</span>
@@ -217,31 +225,31 @@
</div>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :span="24">
<div class="box-title-text">
<div class="title-text">
<!-- <span class="Required">*</span>-->
<span class="title-text-text" :title="$t('certifiedEngineer')">{{$t('certifiedEngineer')}}</span>
</div>
<!-- :prop="'certificationEngineer'"-->
<a-form-model-item class="itemModel">
<a-select allowClear
class="box-input"
v-model="formInline.certificationEngineer"
:placeholder="$t('certifiedEngineer')+$t('areaOfResponsibility')">
<a-select-option v-for="(item, key) in dictOptionsValue"
:key="item.certificationEngineer"
:value="item.certificationEngineer">
<span class="itemOption" :title=" item.certificationEngineerName ">
{{ item.certificationEngineerName }}
</span>
</a-select-option>
</a-select>
</a-form-model-item>
</div>
</a-col>
</a-row>
<!-- <a-row :gutter="24">-->
<!-- <a-col :span="24">-->
<!-- <div class="box-title-text">-->
<!-- <div class="title-text">-->
<!-- &lt;!&ndash; <span class="Required">*</span>&ndash;&gt;-->
<!-- <span class="title-text-text" :title="$t('certifiedEngineer')">{{$t('certifiedEngineer')}}</span>-->
<!-- </div>-->
<!-- &lt;!&ndash; :prop="'certificationEngineer'"&ndash;&gt;-->
<!-- <a-form-model-item class="itemModel">-->
<!-- <a-select allowClear-->
<!-- class="box-input"-->
<!-- v-model="formInline.certificationEngineer"-->
<!-- :placeholder="$t('certifiedEngineer')+$t('areaOfResponsibility')">-->
<!-- <a-select-option v-for="(item, key) in dictOptionsValue"-->
<!-- :key="item.certificationEngineer"-->
<!-- :value="item.certificationEngineer">-->
<!-- <span class="itemOption" :title=" item.certificationEngineerName ">-->
<!-- {{ item.certificationEngineerName }}-->
<!-- </span>-->
<!-- </a-select-option>-->
<!-- </a-select>-->
<!-- </a-form-model-item>-->
<!-- </div>-->
<!-- </a-col>-->
<!-- </a-row>-->
<a-row :gutter="24">
<a-col :span="24">
<div class="box-title-text">
@@ -280,7 +288,7 @@
ImportFile,
personBatting
},
mixins:[ResizeHeader, ResizeColumnProvide],
mixins: [ResizeHeader, ResizeColumnProvide],
data() {
return {
toggleSearchStatus: false,
@@ -308,12 +316,26 @@
ellipsis: true,
width: 153
},
// {
// align: 'left',
// slots: { title: 'certifiedEngineer' },
// dataIndex: 'certificationEngineerName',
// ellipsis: true,
// width: 153
// },
{
align: 'left',
slots: { title: 'certifiedEngineer' },
dataIndex: 'certificationEngineerName',
slots: { title: 'projectInterfacePersonRegulationEngineerSetting' },
dataIndex: 'engineeringInterfacePersonName',
ellipsis: true,
width: 153
width: 203
},
{
align: 'left',
slots: { title: 'projectInterfacePersonCertificationEngineerSetting' },
dataIndex: 'engineeringInterfacePersonName',
ellipsis: true,
width: 203
},
{
title: this.$t('remarks'),