[update] 企标各模块添加注释,企标详情获取企标评价换接口

This commit is contained in:
lideqin
2023-09-27 09:37:15 +08:00
parent f1309291cb
commit c7eae42e00
9 changed files with 107 additions and 75 deletions
@@ -4,32 +4,38 @@
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
<!-- 原企标编号 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardNum')" v-model="queryParam.originEnStandardNo"></a-input>
</a-form-item>
</a-col>
<!-- 新企标编号 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.newEnterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.newEnterpriseStandardNum')" v-model="queryParam.newEnStandardNo"></a-input>
</a-form-item>
</a-col>
<!-- 原企标名称 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardName')" v-model="queryParam.originEnStandardName"></a-input>
</a-form-item>
</a-col>
<template v-if="toggleSearchStatus">
<!-- 新企标名称 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.newEnterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.newEnterpriseStandardName')" v-model="queryParam.newEnStandardName"></a-input>
</a-form-item>
</a-col>
<!-- 主起草人 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.principalDrafter')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.principalDrafter')" v-model="queryParam.mainDraftingUser"></a-input>
</a-form-item>
</a-col>
<!-- 主起草单位 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.mainDraftingUnit')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-tree-select
@@ -45,11 +51,13 @@
/>
</a-form-item>
</a-col>
<!-- 主起草单位负责人 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit')" v-model="queryParam.mainDraftingUnitResponsiblePerson"></a-input>
</a-form-item>
</a-col>
<!-- 项目状态 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.projectStatus')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag
@@ -59,6 +67,7 @@
</j-dict-select-tag>
</a-form-item>
</a-col>
<!-- 变更状态 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.changeState')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag
@@ -68,11 +77,13 @@
</j-dict-select-tag>
</a-form-item>
</a-col>
<!-- 推进人工号 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.pusherWorkNo')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.plan.pusherWorkNo')" v-model="queryParam.standardPromoterWorkNo"></a-input>
</a-form-item>
</a-col>
<!-- 标准类型 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.standardType')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag
@@ -82,6 +93,7 @@
</j-dict-select-tag>
</a-form-item>
</a-col>
<!-- 制修订类型 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.revisionType')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag
@@ -91,6 +103,7 @@
</j-dict-select-tag>
</a-form-item>
</a-col>
<!-- 计划报批日期 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.planApprovalDate')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
@@ -101,6 +114,7 @@
</a-range-picker>
</a-form-item>
</a-col>
<!-- 创建日期 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.plan.createDate')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
@@ -198,12 +212,12 @@ export default {
data () {
return {
operationList: [
{
{ // 查看
text: this.$t('view'),
clickEvent: 'handleDetail',
has: 'enterpriseStandardLibrary:plan:detail'
},
{
{ // 删除
text: this.$t('delete'),
clickEvent: 'handleDelete',
has: 'enterpriseStandardLibrary:plan:delete'
@@ -217,168 +231,168 @@ export default {
span: 14
},
columns: [
{
{ // 制修订类型
title: this.$t('enterpriseStandardLibrary.plan.revisionType'),
align: 'center',
width: 180,
dataIndex: 'applicationCategory_dictText',
scopedSlots: { customRender: 'text' }
},
{
{ // 原企标编号
title: this.$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardNum'),
align: 'center',
width: 180,
dataIndex: 'originEnStandardNo',
scopedSlots: { customRender: 'toDetailOld' }
},
{
{ // 新企标编号
title: this.$t('enterpriseStandardLibrary.plan.newEnterpriseStandardNum'),
align: 'center',
width: 180,
dataIndex: 'newEnStandardNo',
scopedSlots: { customRender: 'toDetailNew' }
},
{
{ // 原企标名称
title: this.$t('enterpriseStandardLibrary.plan.oldEnterpriseStandardName'),
align: 'center',
width: 180,
dataIndex: 'originEnStandardName',
scopedSlots: { customRender: 'toDetailOld' }
},
{
{ // 新企标名称
title: this.$t('enterpriseStandardLibrary.plan.newEnterpriseStandardName'),
align: 'center',
width: 180,
dataIndex: 'newEnStandardName',
scopedSlots: { customRender: 'toDetailNew' }
},
{
{ // 授权部门
title: this.$t('enterpriseStandardLibrary.plan.authDepartment'),
align: 'center',
width: 180,
dataIndex: 'authDeparts',
scopedSlots: { customRender: 'text' }
},
{
{ // 企业标准代号
title: this.$t('enterpriseStandardLibrary.plan.enterpriseStandardCode'),
align: 'center',
width: 180,
dataIndex: 'enStandardCode',
scopedSlots: { customRender: 'text' }
},
{
{ // 配合单位
title: this.$t('enterpriseStandardLibrary.plan.suitUnit'),
align: 'center',
width: 180,
dataIndex: 'cooperateDeparts',
scopedSlots: { customRender: 'text' }
},
{
{ // 主起草人
title: this.$t('enterpriseStandardLibrary.plan.principalDrafter'),
align: 'center',
width: 180,
dataIndex: 'mainDraftingUser',
scopedSlots: { customRender: 'text' }
},
{
{ // 主起草单位
title: this.$t('enterpriseStandardLibrary.plan.mainDraftingUnit'),
align: 'center',
width: 180,
dataIndex: 'mainDraftingUnit',
scopedSlots: { customRender: 'text' }
},
{
{ // 主起草单位负责人
title: this.$t('enterpriseStandardLibrary.plan.headOfMainDraftingUnit'),
align: 'center',
width: 180,
dataIndex: 'mainDraftingUnitResponsiblePerson',
scopedSlots: { customRender: 'text' }
},
{
{ // 标准推进人
title: this.$t('enterpriseStandardLibrary.plan.standardPusher'),
align: 'center',
width: 180,
dataIndex: 'standardPromoter',
scopedSlots: { customRender: 'text' }
},
{
{ // 草稿计划完成日期
title: this.$t('enterpriseStandardLibrary.plan.draftPlanFinishDate'),
align: 'center',
width: 180,
dataIndex: 'draftPlannedCompleteDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 征求意见稿计划完成日期
title: this.$t('enterpriseStandardLibrary.plan.exposureDraftPlanFinishDate'),
align: 'center',
width: 180,
width: 200,
dataIndex: 'solicitationDraftPlanCompleteDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 计划报批日期
title: this.$t('enterpriseStandardLibrary.plan.planSubmissionDate'),
align: 'center',
width: 180,
dataIndex: 'planApprovalDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 草稿完成日期
title: this.$t('enterpriseStandardLibrary.plan.draftFinishDate'),
align: 'center',
width: 180,
dataIndex: 'draftCompletionDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 提交草稿日期
title: this.$t('enterpriseStandardLibrary.plan.submitDraftDate'),
align: 'center',
width: 180,
dataIndex: 'draftSubmissionDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 是否征求意见
title: this.$t('enterpriseStandardLibrary.plan.isAskForAdvice'),
align: 'center',
width: 180,
dataIndex: 'solicitationOpinionEnabled_dictText',
scopedSlots: { customRender: 'text' }
},
{
{ // 征求意见稿完成日期
title: this.$t('enterpriseStandardLibrary.plan.exposureDraftFinishDate'),
align: 'center',
width: 180,
dataIndex: 'solicitationDraftCompletionDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 评审日期
title: this.$t('enterpriseStandardLibrary.plan.reviewDate'),
align: 'center',
width: 180,
dataIndex: 'reviewDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 报批日期
title: this.$t('enterpriseStandardLibrary.plan.submissionDate'),
align: 'center',
width: 180,
dataIndex: 'approvalDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 发布日期
title: this.$t('enterpriseStandardLibrary.plan.releaseDate'),
align: 'center',
width: 180,
dataIndex: 'releaseDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 项目状态
title: this.$t('enterpriseStandardLibrary.plan.projectStatus'),
align: 'center',
width: 180,
dataIndex: 'projectStatus_dictText',
scopedSlots: { customRender: 'text' }
},
{
{ // 变更状态
title: this.$t('enterpriseStandardLibrary.plan.changeState'),
align: 'center',
width: 180,