[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,16 +4,19 @@
<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.publicize.enterpriseStandardNum')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.publicize.enterpriseStandardNum')" v-model="queryParam.standardNo"></a-input>
</a-form-item>
</a-col>
<!-- 企标名称 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.publicize.enterpriseStandardName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.publicize.enterpriseStandardName')" v-model="queryParam.standardName"></a-input>
</a-form-item>
</a-col>
<!-- 宣贯日期 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.publicize.publicizeData')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
@@ -24,7 +27,8 @@
</a-range-picker>
</a-form-item>
</a-col>
<template v-if="toggleSearchStatus">
<template v-if="toggleSearchStatus">、
<!-- 宣贯人 -->
<a-col :span="6">
<a-form-item :label="$t('enterpriseStandardLibrary.publicize.publicist')" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input :placeholder="$t('pleaseEnter')+$t('enterpriseStandardLibrary.publicize.publicist')" v-model="queryParam.declareUserName"></a-input>
@@ -125,49 +129,49 @@ export default {
span: 18
},
columns: [
{
{ // 企标编号
title: this.$t('enterpriseStandardLibrary.publicize.enterpriseStandardNum'),
align: 'center',
width: 180,
dataIndex: 'standardNo',
scopedSlots: { customRender: 'enterpriseStandardNum' }
},
{
{ // 企标名称
title: this.$t('enterpriseStandardLibrary.publicize.enterpriseStandardName'),
align: 'center',
width: 180,
dataIndex: 'standardName',
scopedSlots: { customRender: 'enterpriseStandardName' }
},
{
{ // 发布日期
title: this.$t('enterpriseStandardLibrary.publicize.releaseDate'),
align: 'center',
width: 180,
dataIndex: 'releaseDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 实施日期
title: this.$t('enterpriseStandardLibrary.publicize.materialDate'),
align: 'center',
width: 180,
dataIndex: 'implementationDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 宣贯日期
title: this.$t('enterpriseStandardLibrary.publicize.publicizeData'),
align: 'center',
width: 180,
dataIndex: 'declareDate',
scopedSlots: { customRender: 'text' }
},
{
{ // 宣贯人
title: this.$t('enterpriseStandardLibrary.publicize.publicist'),
align: 'center',
width: 180,
dataIndex: 'declareUserName',
scopedSlots: { customRender: 'text' }
},
{
{ // 相关材料
title: this.$t('enterpriseStandardLibrary.publicize.relatedMaterial'),
align: 'center',
width: 180,
@@ -183,6 +187,7 @@ export default {
}
},
methods: {
// 宣贯日期查询条件修改
publicizeDataChange (date) {
console.log(date)
this.queryParam.declareStartDate = date[0]