update 国内标准-配置、移除标准

This commit is contained in:
赵霄
2023-09-14 09:56:48 +08:00
parent e8953b848e
commit 96e73828ad
9 changed files with 381 additions and 25 deletions
@@ -0,0 +1,16 @@
<template>
<internal-detail-page></internal-detail-page>
</template>
<script>
import InternalDetailPage from '../../../components/InternalDetailPage.vue'
export default {
name: 'EvaluationResultHistoryPage',
components: { InternalDetailPage }
}
</script>
<style scoped>
</style>
@@ -159,7 +159,7 @@ export default {
{
title: this.$t('operation'),
fixed: 'right',
width: 200,
width: 150,
scopedSlots: { customRender: 'operation' }
}
],
@@ -40,11 +40,18 @@
<div class="table-page-search-wrapper">
<a-form layout="inline">
<a-row :gutter="24">
<!--标准号/标准名称-->
<!--标准-->
<a-col :md="6" :sm="12">
<a-form-item :label="$t('projectLibrary.vehicleItemLibrary.standardNumberStandardName')">
<j-input :placeholder="$t('pleaseEnter') + $t('projectLibrary.vehicleItemLibrary.standardNumberStandardName')"
v-model="queryParam.projectName"></j-input>
<a-form-item :label="$t('projectLibrary.vehicleItemLibrary.standardNumber')">
<j-input :placeholder="$t('pleaseEnter') + $t('projectLibrary.vehicleItemLibrary.standardNumber')"
v-model="queryParam.standardName"></j-input>
</a-form-item>
</a-col>
<!--标准名称-->
<a-col :md="6" :sm="12">
<a-form-item :label="$t('projectLibrary.vehicleItemLibrary.standardName')">
<j-input :placeholder="$t('pleaseEnter') + $t('projectLibrary.vehicleItemLibrary.standardName')"
v-model="queryParam.standardNumber"></j-input>
</a-form-item>
</a-col>
<a-col :md="6" :sm="8">
@@ -114,6 +121,9 @@
</j-table>
</div>
<!--选择标准-->
<standard-selection-modal ref="standardSelectionModal"/>
</internal-detail-page>
</template>
@@ -124,10 +134,11 @@ import { queryByIdVehicleItemLibrary } from '../../../api/projectLibraryApi.js'
import { JeroListMixin } from '../../../mixins/JeroListMixin.js'
import JTable from '../../../components/jero/JTable.vue'
import { TagsTypeEnums } from '../../../enums/commonEnums.js'
import StandardSelectionModal from '../../../components/selection/StandardSelectionModal.vue'
export default {
name: 'VehicleItemLibraryDetail',
components: { JTable, InternalDetailPage },
components: { JTable, InternalDetailPage, StandardSelectionModal },
mixins: [JeroListMixin],
data () {
return {
@@ -174,63 +185,63 @@ export default {
columns: [
// 标准号
{
dataIndex: 'projectSource_dictText',
dataIndex: 'standardNumber',
title: this.$t('projectLibrary.vehicleItemLibrary.standardNumber'),
width: 150,
scopedSlots: { customRender: 'standardNumber' }
},
// 标准名称
{
dataIndex: 'projectName',
dataIndex: 'standardName',
title: this.$t('projectLibrary.vehicleItemLibrary.standardName'),
width: 150,
scopedSlots: { customRender: 'standardName' }
},
// 英文名称
{
dataIndex: 'workNumber',
dataIndex: 'standardEnglishName',
title: this.$t('projectLibrary.vehicleItemLibrary.englishName'),
width: 150
},
// 标准状态
{
dataIndex: 'nameWorkNo',
dataIndex: 'standardState_dictText',
title: this.$t('projectLibrary.vehicleItemLibrary.standardState'),
width: 100
},
// 适用车型
{
dataIndex: 'projectHealth_dictText',
dataIndex: 'applicableVehicle',
title: this.$t('projectLibrary.vehicleItemLibrary.applicableVehicleType'),
width: 150
},
// 在产车实施日期
{
dataIndex: 'projectSource_dictText',
dataIndex: 'onTheProductionDate',
title: this.$t('projectLibrary.vehicleItemLibrary.productionDate'),
width: 150
},
// 新车型实施日期
{
dataIndex: 'projectName',
dataIndex: 'newModelImplementationDate',
title: this.$t('projectLibrary.vehicleItemLibrary.newModelImplementationDate'),
width: 150
},
// 流程状态
{
dataIndex: 'workNumber',
dataIndex: 'processStatus_dictText',
title: this.$t('projectLibrary.vehicleItemLibrary.processState'),
width: 120
},
// 评估结果
{
dataIndex: 'nameWorkNo',
dataIndex: 'evaluationResults_dictText',
title: this.$t('projectLibrary.vehicleItemLibrary.evaluationResult'),
width: 120
},
// 责任部门
{
dataIndex: 'projectHealth_dictText',
dataIndex: 'responsibleDepartment',
title: this.$t('projectLibrary.vehicleItemLibrary.responsibleDepartment'),
width: 120
},
@@ -243,10 +254,12 @@ export default {
}
],
url: {
list: '',
delete: ''
list: '/projectLibrary/lawsAssess/page',
delete: '/projectLibrary/lawsAssess/delete'
},
dataSource: [{ id: 1 }]
filters: {
projectId: this.$route.query.id
}
}
},
computed: {
@@ -270,8 +283,11 @@ export default {
this.loading = false
})
},
/**
* 调取
*/
handleTransfer () {
this.$refs.standardSelectionModal.open()
},
handleCopy () {