[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', uploadTime: 'Upload time',
enclosure: 'enclosure', enclosure: 'enclosure',
// 认证 // 认证
releaseVersion: 'release Version',
parameterTemplate: 'parameter Template', parameterTemplate: 'parameter Template',
contentDescription: 'content Description', contentDescription: 'content Description',
circulationInformation: 'Circulation information', circulationInformation: 'Circulation information',
+1
View File
@@ -712,6 +712,7 @@ module.exports = {
uploadTime:'上传时间', uploadTime:'上传时间',
enclosure:'附件', enclosure:'附件',
// 认证 // 认证
releaseVersion: '发布版本',
parameterTemplate: '参数模板', parameterTemplate: '参数模板',
contentDescription: '内容说明', contentDescription: '内容说明',
circulationInformation:'流转信息', circulationInformation:'流转信息',
@@ -22,73 +22,19 @@
</a-col> </a-col>
<a-col :md="6" :sm="8"> <a-col :md="6" :sm="8">
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text" :title="$t('projectStatus')"> <div class="title-text" :title="$t('areaOfResponsibility')">
<span>{{$t('projectStatus')}}</span> <span>{{$t('areaOfResponsibility')}}</span>
</div> </div>
<j-dict-select-tag class="box-input" v-model="queryParam.projectStatus" <j-dict-select-tag class="box-input" v-model="queryParam.projectStatus"
:placeholder="$t('PleaseSelect')+$t('projectStatus')" :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
:type="'select'" :type="'select'"
:triggerChange="false" :dictCode="'project_status'"/> :triggerChange="false" :dictCode="'duty_territory'"/>
</div> </div>
</a-col> </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"> <span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
<a-col :md="6" :sm="24"> <a-col :md="6" :sm="24">
<a-button class="box-button" type="primary" @click="searchQuery">{{$t('query')}}</a-button> <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-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> </a-col>
</span> </span>
</a-row> </a-row>
@@ -98,6 +44,23 @@
<a-icon type="plus"/> <a-icon type="plus"/>
{{$t('add')}} {{$t('add')}}
</div> </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'"> <div @click="handleDel" class="operator-text" v-has="'document:deleteBatch'">
<a-icon type="delete"/> <a-icon type="delete"/>
{{$t('BatchDelete')}} {{$t('BatchDelete')}}
@@ -115,13 +78,12 @@
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:columns="columns" :columns="columns"
> >
<span slot="projectName" slot-scope="text,record"> <!-- <span slot="projectName" slot-scope="text,record">-->
<a @click="entryNameClick(record)">{{text}}</a> <!-- <a @click="entryNameClick(record)">{{text}}</a>-->
</span> <!-- </span>-->
<span slot="operation" slot-scope="text,record"> <span slot="operation" slot-scope="text,record">
<a class="text-operation" @click="edit(record)">{{$t('edit')}}</a> <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="deleteLib(record)">{{$t('deleteLib')}}</a>
<!-- <a class="text-operation" @click="entryNameClick(record)">{{$t('see')}}</a>-->
</span> </span>
</a-table> </a-table>
</div> </div>
@@ -174,41 +136,30 @@ export default {
title: '新增', title: '新增',
columns: [ columns: [
{ {
title: this.$t('entryName'), title: this.$t('NiONumber'),
align: 'center', align: 'center',
dataIndex: 'projectName', dataIndex: 'projectName'
scopedSlots: { customRender: 'projectName' }
}, },
{ {
title: this.$t('targetMarket'), title: this.$t('ParameterName'),
align: 'center', align: 'center',
dataIndex: 'targetMarket_dictText' dataIndex: 'targetMarket_dictText'
}, },
{ {
title: this.$t('projectStatus'), title: this.$t('ParameterDescription'),
align: 'center', align: 'center',
dataIndex: 'projectStatus_dictText' dataIndex: 'projectStatus_dictText'
}, },
{ {
title: this.$t('StudioEngineer'), title: this.$t('areaOfResponsibility'),
align: 'center', align: 'center',
dataIndex: 'studioEngineerName' dataIndex: 'studioEngineerName'
}, },
{ {
title: this.$t('certifiedEngineer'), title: this.$t('createTime'),
align: 'center', align: 'center',
dataIndex: 'certificationEngineerName' dataIndex: 'certificationEngineerName'
}, },
{
title: this.$t('ModelPlatform'),
align: 'center',
dataIndex: 'vehiclePlatform_dictText'
},
{
title: this.$t('DigitalPlatform'),
align: 'center',
dataIndex: 'digitalPlatform_dictText'
},
{ {
title: this.$t('operation'), title: this.$t('operation'),
align: 'center', align: 'center',
@@ -224,6 +175,18 @@ export default {
this.getList() this.getList()
}, },
methods: { methods: {
handleExport(){
},
handleFileExport() {
},
handleCompare() {
},
handleModule() {
},
handleToggleSearch() { handleToggleSearch() {
this.toggleSearchStatus = !this.toggleSearchStatus this.toggleSearchStatus = !this.toggleSearchStatus
}, },