add 法规合规评估流程页面
This commit is contained in:
+110
@@ -0,0 +1,110 @@
|
||||
<template>
|
||||
<div>
|
||||
<!--项目归档-->
|
||||
<div class="process-part-title">{{ $t('workCenter.standardCompliance.projectFiling') }}</div>
|
||||
<div>
|
||||
<j-table :columns="columns" :data-source="dataSource" :pagination="false" :scroll="{x: '100%'}">
|
||||
<template v-slot:action="{text, record, index}">
|
||||
<a @click="handleEdit(record)">{{ $t('edit') }}</a>
|
||||
</template>
|
||||
</j-table>
|
||||
</div>
|
||||
|
||||
<edit-project-modal ref="modalForm" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import JTable from '../../../../components/jero/JTable'
|
||||
import EditProjectModal from '../modules/EditProjectModal'
|
||||
|
||||
export default {
|
||||
name: 'DesignEngineerWriteProject',
|
||||
components: { EditProjectModal, JTable },
|
||||
data () {
|
||||
return {
|
||||
columns: [
|
||||
// 序号
|
||||
{
|
||||
title: this.$t('serialNumber'),
|
||||
key: 'rowIndex',
|
||||
width: 60,
|
||||
customRender: function (t, r, index) {
|
||||
return parseInt(index) + 1
|
||||
}
|
||||
},
|
||||
// 标准编号/条款号
|
||||
{
|
||||
dataIndex: 'workNumber',
|
||||
title: this.$t('projectLibrary.vehicleItemLibrary.standardNumberClauseNumber'),
|
||||
width: 150
|
||||
},
|
||||
// 标准名称/条款名称
|
||||
{
|
||||
dataIndex: 'projectName',
|
||||
title: this.$t('workCenter.projectComplianceEvaluationProcess.standardNameClauseName'),
|
||||
width: 160
|
||||
},
|
||||
// 标准状态
|
||||
{
|
||||
title: this.$t('standardSelect.textState'),
|
||||
dataIndex: 'standardState_dictText',
|
||||
width: 150
|
||||
},
|
||||
// 实施日期
|
||||
{
|
||||
title: this.$t('dashboard.advancedSearch.materialDate'),
|
||||
width: 180,
|
||||
dataIndex: 'implementation_date'
|
||||
},
|
||||
// 评估结果
|
||||
{
|
||||
dataIndex: 'evaluationResults_dictText',
|
||||
title: this.$t('projectLibrary.vehicleItemLibrary.evaluationResult'),
|
||||
width: 120
|
||||
},
|
||||
// 是否立项
|
||||
{
|
||||
dataIndex: 'isProject',
|
||||
title: this.$t('projectLibrary.specialProjectLibrary.whetherToApproveAProjectOrNot'),
|
||||
width: 150,
|
||||
scopedSlots: { customRender: 'isProject' }
|
||||
},
|
||||
// 工作令编号
|
||||
{
|
||||
dataIndex: 'projectId_dictText',
|
||||
title: this.$t('projectLibrary.workOrderNumber'),
|
||||
width: 150
|
||||
},
|
||||
// 项目名称
|
||||
{
|
||||
dataIndex: 'projectName1',
|
||||
title: this.$t('projectLibrary.projectName'),
|
||||
width: 150
|
||||
},
|
||||
// 操作
|
||||
{
|
||||
title: this.$t('operation'),
|
||||
fixed: 'right',
|
||||
width: 100,
|
||||
scopedSlots: { customRender: 'action' }
|
||||
}
|
||||
],
|
||||
dataSource: []
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleEdit (record) {
|
||||
this.$refs.modalForm.open(record)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
@import '~@assets/less/common.less';
|
||||
|
||||
.process-part-title:first-child {
|
||||
margin-top: 32px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user