[update] 个人中心所有模块联调
This commit is contained in:
@@ -5,30 +5,18 @@
|
||||
<div class="table-page-search-wrapper">
|
||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||
<a-row :gutter="24">
|
||||
<a-col :md="6" :sm="8">
|
||||
<!--标准类别-->
|
||||
<a-form-item :label="$t('personalCenter.collection.standardCategory')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<j-dict-select-tag
|
||||
v-model="queryParam.state"
|
||||
:placeholder="$t('pleaseSelect') + $t('personalCenter.collection.standardCategory')"
|
||||
:type="'select'"
|
||||
:triggerChange="false"
|
||||
:dictCode="'state'"
|
||||
/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :md="6" :sm="8">
|
||||
<!--标准号-->
|
||||
<a-form-item :label="$t('personalCenter.collection.standardNo')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<a-input :placeholder="$t('pleaseEnter') + $t('personalCenter.collection.standardNo')"
|
||||
v-model="queryParam.standardNo"></a-input>
|
||||
<j-input :placeholder="$t('pleaseEnter') + $t('personalCenter.collection.standardNo')"
|
||||
v-model="queryParam.standardNumber"></j-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :md="6" :sm="8">
|
||||
<!--标准名称-->
|
||||
<a-form-item :label="$t('personalCenter.collection.standardName')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<a-input :placeholder="$t('pleaseEnter') + $t('personalCenter.collection.standardName')"
|
||||
v-model="queryParam.standardName"></a-input>
|
||||
<j-input :placeholder="$t('pleaseEnter') + $t('personalCenter.collection.standardName')"
|
||||
v-model="queryParam.standardName"></j-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<div style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
|
||||
@@ -92,7 +80,7 @@ export default {
|
||||
title: this.$t('personalCenter.collection.standardNo'),
|
||||
align: 'center',
|
||||
width: 180,
|
||||
dataIndex: 'standardNo',
|
||||
dataIndex: 'standardNumber',
|
||||
scopedSlots: { customRender: 'toDetail' }
|
||||
},
|
||||
{
|
||||
@@ -113,14 +101,14 @@ export default {
|
||||
title: this.$t('personalCenter.collection.newCarTypeDate'),
|
||||
align: 'center',
|
||||
width: 180,
|
||||
dataIndex: 'newCarTypeDate',
|
||||
dataIndex: 'newModelImplementationDate',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{
|
||||
title: this.$t('personalCenter.collection.productCarDate'),
|
||||
align: 'center',
|
||||
width: 180,
|
||||
dataIndex: 'productCarDate',
|
||||
dataIndex: 'onTheProductionDate',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{
|
||||
@@ -147,7 +135,11 @@ export default {
|
||||
handleGoDetail (record) {
|
||||
let path = ''
|
||||
// 需要先判断是哪种标准
|
||||
if (record.type === 3) {
|
||||
if (record.source === '1') {
|
||||
path = '/standardRegulationLibrary/DomesticStandardDetail'
|
||||
} else if (record.source === '2') {
|
||||
path = '/standardRegulationLibrary/OverseasStandardDetail'
|
||||
} else if (record.source === '3') {
|
||||
path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
|
||||
}
|
||||
this.$openPageNewSheet({
|
||||
|
||||
Reference in New Issue
Block a user