[add] 参数模板列表

This commit is contained in:
zhaomeijing
2022-04-26 15:45:56 +08:00
parent 38802154d3
commit cef82f5883
3 changed files with 44 additions and 79 deletions
+1
View File
@@ -706,6 +706,7 @@ module.exports = {
uploadTime: 'Upload time',
enclosure: 'enclosure',
// 认证
releaseVersion: 'release Version',
parameterTemplate: 'parameter Template',
contentDescription: 'content Description',
circulationInformation: 'Circulation information',
+1
View File
@@ -712,6 +712,7 @@ module.exports = {
uploadTime:'上传时间',
enclosure:'附件',
// 认证
releaseVersion: '发布版本',
parameterTemplate: '参数模板',
contentDescription: '内容说明',
circulationInformation:'流转信息',
@@ -22,73 +22,19 @@
</a-col>
<a-col :md="6" :sm="8">
<div class="box-title-text">
<div class="title-text" :title="$t('projectStatus')">
<span>{{$t('projectStatus')}}</span>
<div class="title-text" :title="$t('areaOfResponsibility')">
<span>{{$t('areaOfResponsibility')}}</span>
</div>
<j-dict-select-tag class="box-input" v-model="queryParam.projectStatus"
:placeholder="$t('PleaseSelect')+$t('projectStatus')"
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
:type="'select'"
:triggerChange="false" :dictCode="'project_status'"/>
:triggerChange="false" :dictCode="'duty_territory'"/>
</div>
</a-col>
<template v-if="toggleSearchStatus">
<a-col :md="6" :sm="8">
<div class="box-title-text">
<div class="title-text" :title="$t('StudioEngineer')">
<span>{{$t('StudioEngineer')}}</span>
</div>
<PersonnelSelection class="box-input"
:query="{db_field_name:'studioEngineer',db_field_txt:$t('StudioEngineer')}"
:isInput="true"
:personneQuery="queryParam"
@change="PersonnelSelectionChange"
v-model="queryParam.studioEngineerName"/>
</div>
</a-col>
<a-col :md="6" :sm="8">
<div class="box-title-text">
<div class="title-text" :title="$t('certifiedEngineer')">
<span>{{$t('certifiedEngineer')}}</span>
</div>
<PersonnelSelection :query="{db_field_name:'certificationEngineer',db_field_txt:$t('certifiedEngineer')}"
:isInput="true"
class="box-input"
:personneQuery="queryParam"
@change="PersonnelSelectionChange"
v-model="queryParam.certificationEngineerName"/>
</div>
</a-col>
<a-col :md="6" :sm="8">
<div class="box-title-text">
<div class="title-text" :title="$t('ModelPlatform')">
<span>{{$t('ModelPlatform')}}</span>
</div>
<j-dict-select-tag class="box-input" v-model="queryParam.vehiclePlatform"
:placeholder="$t('PleaseSelect')+$t('ModelPlatform')"
:type="'select'"
:triggerChange="false" :dictCode="'vehicle_platform'"/>
</div>
</a-col>
<a-col :md="6" :sm="8">
<div class="box-title-text">
<div class="title-text" :title="$t('DigitalPlatform')">
<span>{{$t('DigitalPlatform')}}</span>
</div>
<j-dict-select-tag class="box-input" v-model="queryParam.digitalPlatform"
:placeholder="$t('PleaseSelect')+$t('DigitalPlatform')"
:type="'select'"
:triggerChange="false" :dictCode="'digital_platform'"/>
</div>
</a-col>
</template>
<span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
<a-col :md="6" :sm="24">
<a-button class="box-button" type="primary" @click="searchQuery">{{$t('query')}}</a-button>
<a-button class="box-button" style="margin-left: 8px" @click="searchReset">{{$t('reset')}}</a-button>
<a @click="handleToggleSearch" style="margin-left: 8px">
{{ !toggleSearchStatus ? $t('open') : $t('away') }}
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
</a>
</a-col>
</span>
</a-row>
@@ -98,6 +44,23 @@
<a-icon type="plus"/>
{{$t('add')}}
</div>
<div @click="handleModule" class="operator-text" v-has="'document:exportTemplate'">
<a-icon type="download"/>
{{$t('templateDownload')}}
</div>
<div class="operator-text" v-has="'document:importZip'">
<ImportFile :url="url" :isTrue="false" :accept="'.zip'"/>
<a-icon type="download"/>
{{$t('import')}}
</div>
<div @click="handleExport" class="operator-text" v-has="'document:exportExcel'">
<a-icon type="export" :rotate="-90"/>
{{$t('dataExport')}}
</div>
<div @click="handleCompare" class="operator-text" v-has="'document:pullMessage'">
<a-icon type="rocket" :rotate="45"/>
{{$t('releaseVersion')}}
</div>
<div @click="handleDel" class="operator-text" v-has="'document:deleteBatch'">
<a-icon type="delete"/>
{{$t('BatchDelete')}}
@@ -115,13 +78,12 @@
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:columns="columns"
>
<span slot="projectName" slot-scope="text,record">
<a @click="entryNameClick(record)">{{text}}</a>
</span>
<!-- <span slot="projectName" slot-scope="text,record">-->
<!-- <a @click="entryNameClick(record)">{{text}}</a>-->
<!-- </span>-->
<span slot="operation" slot-scope="text,record">
<a class="text-operation" @click="edit(record)">{{$t('edit')}}</a>
<a class="text-operation" @click="deleteLib(record)">{{$t('deleteLib')}}</a>
<!-- <a class="text-operation" @click="entryNameClick(record)">{{$t('see')}}</a>-->
</span>
</a-table>
</div>
@@ -174,41 +136,30 @@ export default {
title: '新增',
columns: [
{
title: this.$t('entryName'),
title: this.$t('NiONumber'),
align: 'center',
dataIndex: 'projectName',
scopedSlots: { customRender: 'projectName' }
dataIndex: 'projectName'
},
{
title: this.$t('targetMarket'),
title: this.$t('ParameterName'),
align: 'center',
dataIndex: 'targetMarket_dictText'
},
{
title: this.$t('projectStatus'),
title: this.$t('ParameterDescription'),
align: 'center',
dataIndex: 'projectStatus_dictText'
},
{
title: this.$t('StudioEngineer'),
title: this.$t('areaOfResponsibility'),
align: 'center',
dataIndex: 'studioEngineerName'
},
{
title: this.$t('certifiedEngineer'),
title: this.$t('createTime'),
align: 'center',
dataIndex: 'certificationEngineerName'
},
{
title: this.$t('ModelPlatform'),
align: 'center',
dataIndex: 'vehiclePlatform_dictText'
},
{
title: this.$t('DigitalPlatform'),
align: 'center',
dataIndex: 'digitalPlatform_dictText'
},
{
title: this.$t('operation'),
align: 'center',
@@ -224,6 +175,18 @@ export default {
this.getList()
},
methods: {
handleExport(){
},
handleFileExport() {
},
handleCompare() {
},
handleModule() {
},
handleToggleSearch() {
this.toggleSearchStatus = !this.toggleSearchStatus
},