Commit 04f7e6557306db953b36801a67e9abc98754c6be
1 parent
aeff5ba9
feat: 业务员支持项目报告书到处&值检支持质量检测导出
Showing
2 changed files
with
3 additions
and
4 deletions
src/views/project/order/ExportModal.vue
... | ... | @@ -78,6 +78,7 @@ |
78 | 78 | if (props.role === ROLE.BUSINESS) { |
79 | 79 | return [ |
80 | 80 | { label: '基本信息', value: 'baseFields' }, |
81 | + { label: '项目报告', value: 'reportFields' }, | |
81 | 82 | { label: '利润分析', value: 'profitAnalysisFields' }, |
82 | 83 | { label: '跟单信息', value: 'trackStageFields' }, |
83 | 84 | { label: '质检信息', value: 'inspectionStageFields' }, |
... | ... | @@ -103,7 +104,7 @@ |
103 | 104 | } |
104 | 105 | |
105 | 106 | // 质检不能导出任何 |
106 | - return []; | |
107 | + return [{ label: '质检信息', value: 'inspectionStageFields' }]; | |
107 | 108 | }); |
108 | 109 | |
109 | 110 | function handleShow(visible: boolean) { | ... | ... |
src/views/project/order/index.vue
... | ... | @@ -101,9 +101,7 @@ |
101 | 101 | >比重计算</a-button |
102 | 102 | > |
103 | 103 | <!-- 质检角色不能导出任何信息 --> |
104 | - <a-button type="primary" @click="handleExportModal" v-if="role !== ROLE.INSPECT" | |
105 | - >导出</a-button | |
106 | - > | |
104 | + <a-button type="primary" @click="handleExportModal">导出</a-button> | |
107 | 105 | <a-button |
108 | 106 | type="primary" |
109 | 107 | @click="handleProfitModal" | ... | ... |