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,87 @@
<template>
<a-drawer
:title="title"
:width="width"
placement="right"
:closable="true"
@close="onClose"
:visible="visible"
:maskClosable="false"
class="custom-drawer-style">
<div class="custom-drawer-style-scroll">
<a-spin :spinning="confirmLoading">
</a-spin>
</div>
</a-drawer>
</template>
<script>
export default {
name: 'VehicleProjectSelectionDrawer',
data () {
return {
visible: false,
title: this.$t('projectLibrary.selectProject'),
width: 800,
// 存储表单的数据
form: {},
isEdit: false,
confirmLoading: false,
columns: [
// 项目来源
{
dataIndex: 'projectSource_dictText',
title: this.$t('projectLibrary.vehicleItemLibrary.projectSource'),
width: 250
},
// 项目名称
{
dataIndex: 'projectName',
title: this.$t('projectLibrary.projectName'),
sorter: true,
width: 250,
scopedSlots: { customRender: 'projectName' }
},
// 工作令编号
{
dataIndex: 'workNumber',
title: this.$t('projectLibrary.workOrderNumber'),
sorter: true,
width: 250
},
// 项目负责人
{
dataIndex: 'nameWorkNo',
title: this.$t('projectLibrary.vehicleItemLibrary.projectLeader'),
width: 250
},
// 项目健康状态
{
dataIndex: 'projectHealth_dictText',
title: this.$t('projectLibrary.projectHealthStatus'),
width: 250
},
// 操作
{
title: this.$t('operation'),
fixed: 'right',
width: 150,
scopedSlots: { customRender: 'operation' }
}
],
}
},
methods: {
open () {
this.visible = true
},
onClose () {
this.visible = false
}
}
}
</script>
<style scoped>
</style>