修改市场法规清单的表头

This commit is contained in:
范强强
2023-03-24 14:46:28 +08:00
parent d057511366
commit 018b59fd6b
4 changed files with 447 additions and 851 deletions
+1
View File
@@ -578,6 +578,7 @@ module.exports = {
modifyNode: 'Modify Node',
deleteNode: 'Delete Node',
ImplementationDate: 'New Type Execution Date',
ImplementationDateOne: 'New Type Execution Date',
vehicleInProductionDate: 'New Vehicle Execution Date',
deleteNodes: 'If there are child nodes under this node, they will be deleted synchronously. Are you sure to delete this data?',
leastTwo: 'Please Select at Least two pieces of data',
+1
View File
@@ -585,6 +585,7 @@ module.exports = {
modifyNode: '修改节点',
deleteNode: '删除节点',
ImplementationDate: '新车型实施日期',
ImplementationDateOne:'新车型实施日期',
vehicleInProductionDate: '在产车实施日期',
deleteNodes: '该节点下若有子节点将同步删除,确认删除该条数据?',
leastTwo: '请选择至少两条数据',
@@ -295,22 +295,22 @@
 {{$t('confirmationOfDesignConformity')}}
</div>
<a-row :gutter="24">
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="title-text-text"
:title="$t('Sponsor')">{{$t('Sponsor')}}</span>
</div>
<a-form-model-item class="itemModel" prop="designInitiator">
<j-dict-select-tag class="box-input" v-model="formInline.designInitiator"
:disabled="disabled"
@input="handleInput('designInitiator')"
:placeholder="$t('PleaseSelect')+$t('Sponsor')"
:type="'select'"
:triggerChange="false" :dictCode="'fa1_qi3_ren2'"/>
</a-form-model-item>
</div>
</a-col>
<!-- <a-col :span="12">-->
<!-- <div class="box-title-text">-->
<!-- <div class="title-text">-->
<!-- <span class="title-text-text"-->
<!-- :title="$t('Sponsor')">{{$t('Sponsor')}}</span>-->
<!-- </div>-->
<!-- <a-form-model-item class="itemModel" prop="designInitiator">-->
<!-- <j-dict-select-tag class="box-input" v-model="formInline.designInitiator"-->
<!-- :disabled="disabled"-->
<!-- @input="handleInput('designInitiator')"-->
<!-- :placeholder="$t('PleaseSelect')+$t('Sponsor')"-->
<!-- :type="'select'"-->
<!-- :triggerChange="false" :dictCode="'fa1_qi3_ren2'"/>-->
<!-- </a-form-model-item>-->
<!-- </div>-->
<!-- </a-col>-->
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
@@ -327,8 +327,6 @@
</a-form-model-item>
</div>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
@@ -356,6 +354,8 @@
</a-form-model-item>
</div>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
@@ -389,125 +389,125 @@
</div>
</a-col>
</a-row>
<div class="header-text">
&nbsp;{{$t('PrehomoConfirmation')}}
</div>
<a-row :gutter="24">
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="title-text-text"
:title="$t('Sponsor')">{{$t('Sponsor')}}</span>
</div>
<a-form-model-item class="itemModel" prop="prehomoInitiator">
<j-dict-select-tag class="box-input" v-model="formInline.prehomoInitiator"
:disabled="disabled"
@input="handleInput('prehomoInitiator')"
:placeholder="$t('PleaseSelect')+$t('Sponsor')"
:type="'select'"
:triggerChange="false" :dictCode="'fa1_qi3_ren2'"/>
</a-form-model-item>
</div>
</a-col>
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="title-text-text"
:title="$t('personLiable')">{{$t('personLiable')}}</span>
</div>
<a-form-model-item class="itemModel" prop="prehomoDuty">
<j-dict-select-tag class="box-input" v-model="formInline.prehomoDuty"
:disabled="disabled"
@input="handleInput('prehomoDuty')"
:placeholder="$t('PleaseSelect')+$t('personLiable')"
:type="'select'"
:triggerChange="false" :dictCode="'ze2_ren4_ren2'"/>
</a-form-model-item>
</div>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="title-text-text"
:title="$t('typeOfDeliverables')">{{$t('typeOfDeliverables')}}</span>
</div>
<a-form-model-item class="itemModel" prop="prehomoDeliverableType">
<a-tree-select
tree-node-filter-prop="title"
v-model="formInline.prehomoDeliverableType"
:maxTagCount="1"
:getPopupContainer="triggerNode=> triggerNode.parentNode"
class="box-input"
style="width: 100%"
:tree-data="DeliverableTreeList"
tree-checkable
:placeholder="$t('PleaseSelect')+$t('typeOfDeliverables')"
/>
<!-- <j-dict-select-tag class="box-input" v-model="formInline.prehomoDeliverableType"-->
<!-- <div class="header-text">-->
<!-- &nbsp;{{$t('PrehomoConfirmation')}}-->
<!-- </div>-->
<!-- <a-row :gutter="24">-->
<!-- <a-col :span="12">-->
<!-- <div class="box-title-text">-->
<!-- <div class="title-text">-->
<!-- <span class="title-text-text"-->
<!-- :title="$t('Sponsor')">{{$t('Sponsor')}}</span>-->
<!-- </div>-->
<!-- <a-form-model-item class="itemModel" prop="prehomoInitiator">-->
<!-- <j-dict-select-tag class="box-input" v-model="formInline.prehomoInitiator"-->
<!-- :disabled="disabled"-->
<!-- @input="handleInput('prehomoDeliverableType')"-->
<!-- :placeholder="$t('PleaseSelect')+$t('typeOfDeliverables')"-->
<!-- @input="handleInput('prehomoInitiator')"-->
<!-- :placeholder="$t('PleaseSelect')+$t('Sponsor')"-->
<!-- :type="'select'"-->
<!-- :triggerChange="false" :dictCode="'deliverable_template'"/>-->
</a-form-model-item>
</div>
</a-col>
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="title-text-text"
:title="$t('deliverableTemplate')">{{$t('deliverableTemplate')}}</span>
</div>
<a-form-model-item class="itemModel" prop="prehomoDeliverableTemplate">
<a-button type="primary" class="button-text"
@click="clickButtonToUpload('prehomoDeliverableTemplate')">
{{ (formInline.prehomoDeliverableTemplate === 'null' || formInline.prehomoDeliverableTemplate === ''
||
formInline.prehomoDeliverableTemplate == null) ? $t('clickUpload') : $t('viewUploadedFiles')
}}
</a-button>
</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">
<span class="title-text-text"
:title="$t('descriptionDeliverables')">{{$t('descriptionDeliverables')}}</span>
</div>
<a-form-model-item class="itemModel-text" :prop="'prehomoRemark'">
<a-textarea
style="width: 100%"
:placeholder="$t('PleaseEnter')+$t('descriptionDeliverables')"
v-model="formInline.prehomoRemark" :rows="4"/>
</a-form-model-item>
</div>
</a-col>
</a-row>
<!-- :triggerChange="false" :dictCode="'fa1_qi3_ren2'"/>-->
<!-- </a-form-model-item>-->
<!-- </div>-->
<!-- </a-col>-->
<!-- <a-col :span="12">-->
<!-- <div class="box-title-text">-->
<!-- <div class="title-text">-->
<!-- <span class="title-text-text"-->
<!-- :title="$t('personLiable')">{{$t('personLiable')}}</span>-->
<!-- </div>-->
<!-- <a-form-model-item class="itemModel" prop="prehomoDuty">-->
<!-- <j-dict-select-tag class="box-input" v-model="formInline.prehomoDuty"-->
<!-- :disabled="disabled"-->
<!-- @input="handleInput('prehomoDuty')"-->
<!-- :placeholder="$t('PleaseSelect')+$t('personLiable')"-->
<!-- :type="'select'"-->
<!-- :triggerChange="false" :dictCode="'ze2_ren4_ren2'"/>-->
<!-- </a-form-model-item>-->
<!-- </div>-->
<!-- </a-col>-->
<!-- </a-row>-->
<!-- <a-row :gutter="24">-->
<!-- <a-col :span="12">-->
<!-- <div class="box-title-text">-->
<!-- <div class="title-text">-->
<!-- <span class="title-text-text"-->
<!-- :title="$t('typeOfDeliverables')">{{$t('typeOfDeliverables')}}</span>-->
<!-- </div>-->
<!-- <a-form-model-item class="itemModel" prop="prehomoDeliverableType">-->
<!-- <a-tree-select-->
<!-- tree-node-filter-prop="title"-->
<!-- v-model="formInline.prehomoDeliverableType"-->
<!-- :maxTagCount="1"-->
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
<!-- class="box-input"-->
<!-- style="width: 100%"-->
<!-- :tree-data="DeliverableTreeList"-->
<!-- tree-checkable-->
<!-- :placeholder="$t('PleaseSelect')+$t('typeOfDeliverables')"-->
<!-- />-->
<!-- &lt;!&ndash; <j-dict-select-tag class="box-input" v-model="formInline.prehomoDeliverableType"&ndash;&gt;-->
<!-- &lt;!&ndash; :disabled="disabled"&ndash;&gt;-->
<!-- &lt;!&ndash; @input="handleInput('prehomoDeliverableType')"&ndash;&gt;-->
<!-- &lt;!&ndash; :placeholder="$t('PleaseSelect')+$t('typeOfDeliverables')"&ndash;&gt;-->
<!-- &lt;!&ndash; :type="'select'"&ndash;&gt;-->
<!-- &lt;!&ndash; :triggerChange="false" :dictCode="'deliverable_template'"/>&ndash;&gt;-->
<!-- </a-form-model-item>-->
<!-- </div>-->
<!-- </a-col>-->
<!-- <a-col :span="12">-->
<!-- <div class="box-title-text">-->
<!-- <div class="title-text">-->
<!-- <span class="title-text-text"-->
<!-- :title="$t('deliverableTemplate')">{{$t('deliverableTemplate')}}</span>-->
<!-- </div>-->
<!-- <a-form-model-item class="itemModel" prop="prehomoDeliverableTemplate">-->
<!-- <a-button type="primary" class="button-text"-->
<!-- @click="clickButtonToUpload('prehomoDeliverableTemplate')">-->
<!-- {{ (formInline.prehomoDeliverableTemplate === 'null' || formInline.prehomoDeliverableTemplate === ''-->
<!-- ||-->
<!-- formInline.prehomoDeliverableTemplate == null) ? $t('clickUpload') : $t('viewUploadedFiles')-->
<!-- }}-->
<!-- </a-button>-->
<!-- </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">-->
<!-- <span class="title-text-text"-->
<!-- :title="$t('descriptionDeliverables')">{{$t('descriptionDeliverables')}}</span>-->
<!-- </div>-->
<!-- <a-form-model-item class="itemModel-text" :prop="'prehomoRemark'">-->
<!-- <a-textarea-->
<!-- style="width: 100%"-->
<!-- :placeholder="$t('PleaseEnter')+$t('descriptionDeliverables')"-->
<!-- v-model="formInline.prehomoRemark" :rows="4"/>-->
<!-- </a-form-model-item>-->
<!-- </div>-->
<!-- </a-col>-->
<!-- </a-row>-->
<div class="header-text">
&nbsp;{{$t('verificationAndConformityconfirmation')}}
</div>
<a-row :gutter="24">
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="title-text-text"
:title="$t('Sponsor')">{{$t('Sponsor')}}</span>
</div>
<a-form-model-item class="itemModel" prop="verifyInitiator">
<j-dict-select-tag class="box-input" v-model="formInline.verifyInitiator"
:disabled="disabled"
@input="handleInput('verifyInitiator')"
:placeholder="$t('PleaseSelect')+$t('Sponsor')"
:type="'select'"
:triggerChange="false" :dictCode="'fa1_qi3_ren2'"/>
</a-form-model-item>
</div>
</a-col>
<!-- <a-col :span="12">-->
<!-- <div class="box-title-text">-->
<!-- <div class="title-text">-->
<!-- <span class="title-text-text"-->
<!-- :title="$t('Sponsor')">{{$t('Sponsor')}}</span>-->
<!-- </div>-->
<!-- <a-form-model-item class="itemModel" prop="verifyInitiator">-->
<!-- <j-dict-select-tag class="box-input" v-model="formInline.verifyInitiator"-->
<!-- :disabled="disabled"-->
<!-- @input="handleInput('verifyInitiator')"-->
<!-- :placeholder="$t('PleaseSelect')+$t('Sponsor')"-->
<!-- :type="'select'"-->
<!-- :triggerChange="false" :dictCode="'fa1_qi3_ren2'"/>-->
<!-- </a-form-model-item>-->
<!-- </div>-->
<!-- </a-col>-->
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
@@ -524,8 +524,6 @@
</a-form-model-item>
</div>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
@@ -553,6 +551,9 @@
</a-form-model-item>
</div>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
@@ -115,13 +115,14 @@
<!-- {{$t('DocumentStandard')}}-->
<!-- </div>-->
<!-- v-if="isTrue"-->
<div class="operator-text" v-has="'dummyInventoryInfo:importData'" >
<div v-if="isTrue" class="operator-text" v-has="'dummyInventoryInfo:importData'">
<ImportFile :url="url" :dummyInventoryBaseId="$route.query.id" :isTrue="true" @getList="getPersonnelList"
:accept="'.zip'"/>
</div>
<!-- 模板下载-->
<!-- v-if="isTrue"-->
<div @click="handleModule"
v-if="isTrue"
v-has="'dummyInventoryInfo:exportTemplate'"
class="operator-text">
<a-icon type="download"/>
@@ -137,6 +138,7 @@
<!-- 复制-->
<!-- v-if="isTrue"-->
<div @click="copyClick"
v-if="isTrue"
v-has="'dummyInventoryInfo:copyInfoByIds'"
class="operator-text">
<a-icon type="copy"/>
@@ -145,6 +147,7 @@
<!-- 批量设置-->
<!-- v-if="isTrue"-->
<div @click="batSettingClick"
v-if="isTrue"
v-has="'dummyInventoryInfo:setBatch'"
class="operator-text">
<a-icon type="setting"/>
@@ -153,6 +156,7 @@
<!-- 调取-->
<!-- v-if="isTrue"-->
<div @click="transferClick"
v-if="isTrue"
v-has="'dummyInventoryInfo:copyInfoByIds'"
class="operator-text">
<a-icon type="profile"/>
@@ -161,6 +165,7 @@
<!-- 添加-->
<!-- v-if="isTrue"-->
<div @click="handleAdd"
v-if="isTrue"
v-has="'dummyInventoryInfo:add'"
class="operator-text">
<a-icon type="plus"/>
@@ -169,6 +174,7 @@
<!-- 删除-->
<!-- v-if="isTrue"-->
<div @click="handleDel"
v-if="isTrue"
v-has="'dummyInventoryInfo:deleteBatch'"
class="operator-text">
<a-icon type="delete"/>
@@ -187,12 +193,14 @@
>{{$t('selectAll')}}
</a-checkbox>
<a-checkbox-group @change="onChange" v-model="checkedList" class="customize-text">
<a-checkbox class="customize-text-title" :disabled='item.disabled' v-for="(item, key) in customizeList" :key="key" :value="item.field">{{ item.name }}
<a-checkbox class="customize-text-title" :disabled='item.disabled'
v-for="(item, key) in customizeList" :key="key" :value="item.field">{{ item.name }}
</a-checkbox>
</a-checkbox-group>
<div class="drawer-bootom-button">
<a-button @click="cancel" style="margin-right: 16px">{{$t('cancel')}}</a-button>
<a-button @click="handleSubmit" type="primary" :loading="confirmLoading">{{$t('determine')}}</a-button>
<a-button @click="handleSubmit" type="primary" :loading="confirmLoading">{{$t('determine')}}
</a-button>
</div>
</div>
</template>
@@ -418,27 +426,6 @@
ellipsis: true,
width: 180
},
{
title: this.$t('listConfirmationStatus'),
align: 'left',
dataIndex: 'inventoryAffirmStatusName',
width: 240,
sorter:true,
ellipsis: true
},
{
title: this.$t('taskAffirmStatus'),
align: 'left',
sorter:true,
dataIndex: 'taskAffirmStatusName',
width: 240,
ellipsis: true
},
// {
// title: this.$t('taskReleaseStatus'),
// align: 'center',
// dataIndex: 'taskReleaseStatus'
// },
{
title: this.$t('zoneOfApplication'),
align: 'left',
@@ -556,27 +543,27 @@
ellipsis: true,
scopedSlots: { customRender: 'designDeliverableTemplateName' }
},
{
title: this.$t('Sponsor'),
dataIndex: 'designInitiatorName',
align: 'left',
width: 180,
ellipsis: true
},
// {
// title: this.$t('Sponsor'),
// dataIndex: 'designInitiatorName',
// align: 'left',
// width: 180,
// ellipsis: true
// },
{
title: this.$t('personLiable'),
dataIndex: 'designDutyName',
dataIndex: 'designDuty_dictText',
align: 'left',
width: 180,
ellipsis: true
},
{
title: this.$t('TaskCutOffTime'),
dataIndex: 'designDueDate',
align: 'left',
ellipsis: true,
width: 140
},
// {
// title: this.$t('TaskCutOffTime'),
// dataIndex: 'designDueDate',
// align: 'left',
// ellipsis: true,
// width: 140
// },
{
title: this.$t('descriptionDeliverables'),
dataIndex: 'designRemark',
@@ -586,47 +573,6 @@
}
]
},
{
title: this.$t('PrehomoConfirmation'),
children: [
{
title: this.$t('Deliverables'),
dataIndex: 'prehomoDeliverableTemplateName',
align: 'left',
width: 180,
ellipsis: true,
scopedSlots: { customRender: 'prehomoDeliverableTemplateName' }
},
{
title: this.$t('Sponsor'),
dataIndex: 'prehomoInitiatorName',
align: 'left',
width: 180,
ellipsis: true
},
{
title: this.$t('personLiable'),
dataIndex: 'prehomoDutyName',
align: 'left',
width: 180,
ellipsis: true
},
{
title: this.$t('TaskCutOffTime'),
dataIndex: 'prehomoDueDate',
align: 'left',
width: 140,
ellipsis: true
},
{
title: this.$t('descriptionDeliverables'),
dataIndex: 'prehomoRemark',
align: 'left',
width: 220,
ellipsis: true
}
]
},
{
title: this.$t('verificationAndConformityconfirmation'),
children: [
@@ -638,27 +584,20 @@
ellipsis: true,
scopedSlots: { customRender: 'verifyDeliverableTemplateName' }
},
{
title: this.$t('Sponsor'),
dataIndex: 'verifyInitiatorName',
align: 'left',
width: 180,
ellipsis: true
},
{
title: this.$t('personLiable'),
dataIndex: 'verifyDutyName',
dataIndex: 'verifyDuty_dictText',
align: 'left',
width: 180,
ellipsis: true
},
{
title: this.$t('TaskCutOffTime'),
dataIndex: 'verifyDueDate',
align: 'left',
ellipsis: true,
width: 140
},
// {
// title: this.$t('TaskCutOffTime'),
// dataIndex: 'verifyDueDate',
// align: 'left',
// ellipsis: true,
// width: 140
// },
{
title: this.$t('descriptionDeliverables'),
dataIndex: 'verifyRemark',
@@ -674,251 +613,9 @@
fixed: 'right',
width: 240,
scopedSlots: { customRender: 'operation' }
},
}
],
columnsAll: [],
// columnsAll: [
// {
// title: this.$t('standard'),
// align: 'left',
// dataIndex: 'serialNumber',
// width: 180,
// sorter:true,
// fixed: 'left',
// scopedSlots: { customRender: 'standard' }
// },
// {
// title: this.$t('title'),
// align: 'left',
// dataIndex: 'title',
// width: 180,
// fixed: 'left',
// scopedSlots: { customRender: 'titleName' }
// },
// {
// title: this.$t('subtitle'),
// align: 'left',
// dataIndex: 'subtitle',
// width: 180,
// ellipsis: true
// },
// {
// title: this.$t('zoneOfApplication'),
// align: 'left',
// width: 150,
// ellipsis: true,
// dataIndex: 'region_dictText'
// },
// {
// title: this.$t('scopeOfApplication'),
// align: 'left',
// width: 180,
// ellipsis: true,
// sorter:true,
// dataIndex: 'shi4Yong4Fan4Wei2_dictText'
// },
// {
// title: this.$t('status'),
// align: 'left',
// width: 100,
// ellipsis: true,
// sorter:true,
// dataIndex: 'state_dictText'
// },
// {
// title: this.$t('correspondingStandard'),
// align: 'left',
// width: 140,
// ellipsis: true,
// dataIndex: 'correspondingStandard'
// },
// {
// title: this.$t('implementationCategory'),
// align: 'left',
// width: 140,
// ellipsis: true,
// dataIndex: 'implementType_dictText'
// },
// {
// title: this.$t('ImplementationDate'),
// align: 'left',
// width: 200,
// ellipsis: true,
// sorter:true,
// dataIndex: 'xin1Che1Xing2Shi2Shi1Ri4Qi1'
// },
// {
// title: this.$t('vehicleInProductionDate'),
// align: 'left',
// width: 210,
// ellipsis: true,
// sorter:true,
// dataIndex: 'implementTime'
// },
// {
// title: 'WVTA ID',
// align: 'left',
// dataIndex: 'wvtaId',
// width: 180,
// sorter:true,
// ellipsis: true
// },
// {
// title: this.$t('certificationType'),
// align: 'left',
// width: 180,
// ellipsis: true,
// dataIndex: 'attestationType_dictText'
// },
// {
// title: this.$t('certificationLevel'),
// align: 'left',
// width: 200,
// ellipsis: true,
// sorter:true,
// dataIndex: 'attestationRank_dictText'
// },
// {
// title: this.$t('applicableSupplement'),
// align: 'left',
// width: 200,
// ellipsis: true,
// dataIndex: 'applicableSupplement'
// },
// {
// title: this.$t('technicalField'),
// align: 'left',
// width: 180,
// ellipsis: true,
// dataIndex: 'technologyTerritoryName'
// },
// {
// title: this.$t('areaOfResponsibility'),
// align: 'left',
// width: 180,
// ellipsis: true,
// sorter:true,
// dataIndex: 'dutyTerritory_dictText'
// },
// {
// title: this.$t('remarks'),
// align: 'left',
// dataIndex: 'remark',
// width: 180,
// ellipsis: true
// },
//
// {
// title: this.$t('confirmationOfDesignConformity'),
// children: [
// {
// // TODO 未按要求实现,该列分为上下行,上行显示交付物类型,下行显示交付物模板名称,且交付物模板名称点击可下载。其他2个流程同理
// title: this.$t('Deliverables'),
// dataIndex: 'designDeliverableTemplateName',
// ellipsis: true,
// align: 'left',
// width: 180,
// scopedSlots: { customRender: 'designDeliverableTemplateName' }
// },
// {
// title: this.$t('Sponsor'),
// dataIndex: 'designInitiator_dictText',
// width: 180,
// ellipsis: true,
// align: 'left'
// },
// {
// title: this.$t('personLiable'),
// dataIndex: 'designDuty_dictText',
// width: 180,
// ellipsis: true,
// align: 'left'
// },
// {
// title: this.$t('descriptionDeliverables'),
// dataIndex: 'designRemark',
// align: 'left',
// width: 220,
// ellipsis: true
// }
// ]
// },
// {
// title: this.$t('PrehomoConfirmation'),
// children: [
// {
// title: this.$t('Deliverables'),
// dataIndex: 'prehomoDeliverableTemplateName',
// ellipsis: true,
// align: 'left',
// width: 180,
// scopedSlots: { customRender: 'prehomoDeliverableTemplateName' }
// },
// {
// title: this.$t('Sponsor'),
// dataIndex: 'prehomoInitiator_dictText',
// width: 180,
// ellipsis: true,
// align: 'left'
// },
// {
// title: this.$t('personLiable'),
// dataIndex: 'prehomoDuty_dictText',
// width: 180,
// ellipsis: true,
// align: 'left'
// },
// {
// title: this.$t('descriptionDeliverables'),
// dataIndex: 'prehomoRemark',
// align: 'left',
// width: 220,
// ellipsis: true
// }
// ]
// },
// {
// title: this.$t('verificationAndConformityconfirmation'),
// children: [
// {
// title: this.$t('Deliverables'),
// dataIndex: 'verifyDeliverableTemplateName',
// ellipsis: true,
// align: 'left',
// width: 180,
// scopedSlots: { customRender: 'verifyDeliverableTemplateName' }
// },
// {
// title: this.$t('Sponsor'),
// dataIndex: 'verifyInitiator_dictText',
// width: 180,
// align: 'left',
// ellipsis: true
// },
// {
// title: this.$t('personLiable'),
// dataIndex: 'verifyDuty_dictText',
// width: 180,
// align: 'left',
// ellipsis: true
// },
// {
// title: this.$t('descriptionDeliverables'),
// dataIndex: 'verifyRemark',
// align: 'left',
// width: 220,
// ellipsis: true
// }
// ]
// },
// {
// title: this.$t('operation'),
// align: 'left',
// fixed: 'right',
// width: 140,
// scopedSlots: { customRender: 'operation' }
// }
// ],
confirmLoading: false,
indeterminate: false,
customizevisible: false,
@@ -936,7 +633,7 @@
field: 'serialNumber',
key: 1,
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
status:1,
status: 1
},
{
sort: '2',
@@ -947,7 +644,7 @@
field: 'title',
key: 2,
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
status:2,
status: 2
},
{
sort: '',
@@ -956,25 +653,7 @@
headFieldEn: 'Sub-title',
field: 'subtitle',
key: 3,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
},
{
sort: '',
name: this.$t('listConfirmationStatus'),
headFieldCn:'清单确认状态',
headFieldEn:'List Confirmation Status',
field: 'inventoryAffirmStatusName',
key: 4,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
},
{
sort: '',
name: this.$t('taskAffirmStatus'),
headFieldCn:'任务确认状态',
headFieldEn:'Task Confirmation Status',
field: 'taskAffirmStatusName',
key: 5,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -983,7 +662,7 @@
headFieldEn: 'Area',
field: 'region_dictText',
key: 6,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -992,7 +671,7 @@
headFieldEn: 'Compare EU/CN',
field: 'correspondingStandard',
key: 7,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1001,16 +680,16 @@
headFieldEn: 'Usage',
field: 'implementType_dictText',
key: 8,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
name: this.$t('ImplementationDate'),
headFieldCn:'标准实施日期',
name: this.$t('ImplementationDateOne'),
headFieldCn: '新车型实施日期',
headFieldEn: 'New Type Execution Date',
field: 'xin1Che1Xing2Shi2Shi1Ri4Qi1String',
key: 9,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1019,7 +698,7 @@
headFieldEn: 'New Vehicle Execution Date',
field: 'implementTimeString',
key: 10,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1028,7 +707,7 @@
headFieldEn: 'Certification Type',
field: 'attestationType_dictText',
key: 11,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1037,7 +716,7 @@
headFieldEn: 'Certification Level',
field: 'attestationRank_dictText',
key: 12,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1046,7 +725,7 @@
headFieldEn: 'Applicable Supplement',
field: 'applicableSupplement',
key: 13,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1055,7 +734,7 @@
headFieldEn: 'WVTA ID',
field: 'wvtaId',
key: 14,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1064,7 +743,7 @@
headFieldEn: 'Responsible Field',
field: 'dutyTerritory_dictText',
key: 15,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1073,7 +752,7 @@
headFieldEn: 'Regulation Engineer',
field: 'regulationOwnerName',
key: 16,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1082,7 +761,7 @@
headFieldEn: 'Homo Engineer',
field: 'homologationEngineerName',
key: 17,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1091,7 +770,7 @@
headFieldEn: 'Eng. Interface',
field: 'engineeringInterfacePersonName',
key: 18,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1100,7 +779,7 @@
headFieldEn: 'Comments',
field: 'remark',
key: 19,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1110,17 +789,7 @@
field: 'designDeliverableTemplateName',
affirmFlag: '1',
key: 20,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
},
{
sort: '',
name: this.$t('confirmationOfDesignConformity') + '/' + this.$t('Sponsor'),
headFieldCn:'发起人',
headFieldEn:'Creator',
field: 'designInitiatorName',
affirmFlag:'1',
key: 21,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1130,17 +799,7 @@
field: 'designDutyName',
affirmFlag: '1',
key: 22,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
},
{
sort: '',
name: this.$t('confirmationOfDesignConformity') + '/' + this.$t('TaskCutOffTime'),
headFieldCn:'截止时间',
headFieldEn:'Due Date',
field: 'designDueDate',
affirmFlag:'1',
key: 23,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1150,57 +809,7 @@
field: 'designRemark',
affirmFlag: '1',
key: 24,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
},
{
sort: '',
name: this.$t('PrehomoConfirmation') + '/' + this.$t('Deliverables'),
headFieldCn:'交付物',
headFieldEn:'Deliverables',
field: 'prehomoDeliverableTemplateName',
affirmFlag:'2',
key: 25,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
},
{
sort: '',
name: this.$t('PrehomoConfirmation') + '/' + this.$t('Sponsor'),
headFieldCn:'发起人',
headFieldEn:'Creator',
field: 'prehomoInitiatorName',
affirmFlag:'2',
key:26,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
},
{
sort: '',
name: this.$t('PrehomoConfirmation') + '/' + this.$t('personLiable'),
headFieldCn:'责任人',
headFieldEn:'Assignee',
field: 'prehomoDutyName',
affirmFlag:'2',
key: 27,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
},
{
sort: '',
name: this.$t('PrehomoConfirmation') + '/' + this.$t('TaskCutOffTime'),
headFieldCn:'截止时间',
headFieldEn:'Due Date',
field: 'prehomoDueDate',
affirmFlag:'2',
key: 28,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
},
{
sort: '',
name: this.$t('PrehomoConfirmation') + '/' + this.$t('descriptionDeliverables'),
headFieldCn:'交付物说明',
headFieldEn:'Instruction',
field: 'prehomoRemark',
affirmFlag:'2',
key: 29,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1210,17 +819,7 @@
field: 'verifyDeliverableTemplateName',
affirmFlag: '3',
key: 30,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
},
{
sort: '',
name: this.$t('verificationAndConformityconfirmation') + '/' + this.$t('Sponsor'),
headFieldCn:'发起人',
headFieldEn:'Creator',
field: 'verifyInitiatorName',
affirmFlag:'3',
key: 31,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1230,17 +829,7 @@
field: 'verifyDutyName',
affirmFlag: '3',
key: 32,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
},
{
sort: '',
name: this.$t('verificationAndConformityconfirmation') + '/' + this.$t('TaskCutOffTime'),
headFieldCn:'截止时间',
headFieldEn:'Due Date',
field: 'verifyDueDate',
affirmFlag:'3',
key: 33,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1250,7 +839,7 @@
field: 'verifyRemark',
affirmFlag: '3',
key: 34,
moduleFlag:this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
},
{
sort: '',
@@ -1261,8 +850,8 @@
key: 35,
field: 'operation',
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单',
status:2,
},
status: 2
}
],
selectedRowKeys: [],
isTrue: false,
@@ -1486,55 +1075,40 @@
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
}).then((res) => {
if (res.success) {
console.log(res.result)
if(res.result.length != 0){
this.columnsAll = res.result
}else{
this.columnsAll = this.column
for (let j = 0; j < this.columnsAll.length; j++) {
for (let i = 0; i < this.column.length; i++) {
if (this.columnsAll[j].title == this.$t('confirmationOfDesignConformity')) {
if (this.column[i].title == this.$t('confirmationOfDesignConformity')) {
if (this.columnsAll[j].children && this.columnsAll[j].children.length > 0) {
for (let k = 0; k < this.columnsAll[j].children.length; k++) {
for (let l = 0; l < this.column[i].children.length; l++) {
if (this.columnsAll[j].children[k].title == this.column[i].children[l].title) {
this.columnsAll[j].children[k] = this.column[i].children[l]
}
this.columnsAll.forEach((item,index) => {
if(item.title != '设计符合性确认' && item.title != 'Pre-Homo确认' && item.title != '验证符合性确认'){
item.width = 180
item.align = 'left'
if(item.title == '操作'){
item.scopedSlots = {
customRender: 'operation'
}
item.fixed = 'right'
}else if(item.title == '编号'){
item.sorter = true
item.fixed = 'left'
item.scopedSlots = {
customRender: 'standard'
}
}else if(item.title == '标题'){
item.fixed = 'left'
item.scopedSlots = {
customRender: 'titleName'
}
}else if(item.title == '在产车实施日期'){
item.scopedSlots = {
customRender: 'titleName'
}
}else if(item.title == '标准实施日期'){
item.scopedSlots = {
customRender: 'titleName'
} else if (this.columnsAll[j].title == this.$t('verificationAndConformityconfirmation')) {
if (this.column[i].title == this.$t('verificationAndConformityconfirmation')) {
if (this.columnsAll[j].children && this.columnsAll[j].children.length > 0) {
for (let k = 0; k < this.columnsAll[j].children.length; k++) {
for (let l = 0; l < this.column[i].children.length; l++) {
if (this.columnsAll[j].children[k].title == this.column[i].children[l].title) {
this.columnsAll[j].children[k] = this.column[i].children[l]
}
}
}
}
else if(item.title == '清单确认状态' || item.title == '任务确认状态' || item.title == '认证级别' || item.title == 'WVTA ID' ||
item.title == '责任领域' || item.title == '法规工程师' || item.title == '认证工程师' || item.title == '工程接口人'){
item.sorter = true
}
} else {
delete item.dataIndex
delete item.fixed
item.children.forEach((val,index) => {
val.width = 180
val.align = 'left'
val.ellipsis = true
})
if (this.column[i].dataIndex == this.columnsAll[j].dataIndex) {
this.columnsAll[j] = this.column[i]
}
}
}
}
})
this.columnsAll.forEach((item) => {
if (item.children) {
item.children.forEach((val) => {
@@ -1544,7 +1118,14 @@
this.checkedList.push(item.dataIndex)
}
})
console.log(this.checkedList)
this.columnsAll.push({
title: this.$t('operation'),
align: 'left',
fixed: 'right',
width: 160,
scopedSlots: { customRender: 'operation' }
})
this.loading = false
this.JLoading = false
} else {
@@ -1601,7 +1182,8 @@
})
},
onCheckAllChange(e) {
this.checkedList = e.target.checked ? this.customizeList.map(item => item.field) : [];
let selectedValue = ['serialNumber', 'title', 'operation']
this.checkedList = e.target.checked ? this.customizeList.map(item => item.field) : selectedValue
this.selectedValue = this.checkedList
this.indeterminate = false
},
@@ -1838,6 +1420,7 @@
display: flex;
}
}
.Virtual-detail-content {
padding: 0 32px 0 32px;
box-sizing: border-box;
@@ -1857,12 +1440,14 @@
}
}
}
.customize-text {
height: 1533px;
/*height: 1533px;*/
display: flex;
flex-direction: column;
align-items: flex-start;
}
.customize-text-title {
margin-left: 0;
font-size: 14px;
@@ -1870,6 +1455,7 @@
color: #040B29;
margin-bottom: 22px;
}
.drawer-bootom-button {
position: absolute;
bottom: 0;
@@ -1882,6 +1468,7 @@
background: #fff;
border-radius: 0 0 2px 2px;
}
.box-title-text {
line-height: 1.4;
display: flex;
@@ -1981,6 +1568,7 @@
::v-deep .ant-card-body {
padding: 14px 32px 0 32px;
}
::v-deep .ant-table-row:first-child {
background: #fff !important;
opacity: 0.9;
@@ -2020,6 +1608,7 @@
padding-bottom: 0 !important;
overflow: scroll !important;
}
/deep/ .ant-table-column-title {
font-weight: bold !important;
}
@@ -2036,6 +1625,7 @@
.popconfirm .anticon-exclamation-circle {
display: none !important;
}
popconfirmmize {
z-index: 999;
}
@@ -2047,9 +1637,11 @@ popconfirmmize {
.popconfirmmize .anticon-exclamation-circle {
display: none !important;
}
.popconfirmmize .ant-popover-message {
padding: 4px 0 36px !important;
}
//.customizetable .ant-table-thead > tr > th {
// height: 46px !important;
//padding: 8px 8px !important;
@@ -2062,6 +1654,7 @@ popconfirmmize {
.second {
padding: 0 !important;
}
//.tableList .ant-table-tbody > tr > td{
// color: #040B29 ;
//}