Commit e9ee7ce8ed34efe790430949e03cb1ab9ce8c61e

Authored by zhusen
1 parent 48302ce4

feat: 新增业务员有分析利润按钮权限

.vscode/settings.json
@@ -91,7 +91,8 @@ @@ -91,7 +91,8 @@
91 "editor.codeActionsOnSave": { 91 "editor.codeActionsOnSave": {
92 "source.fixAll.eslint": "explicit", 92 "source.fixAll.eslint": "explicit",
93 "source.fixAll.stylelint": "explicit" 93 "source.fixAll.stylelint": "explicit"
94 - } 94 + },
  95 + "editor.defaultFormatter": "esbenp.prettier-vscode"
95 }, 96 },
96 "i18n-ally.localesPaths": ["src/locales/lang"], 97 "i18n-ally.localesPaths": ["src/locales/lang"],
97 "i18n-ally.keystyle": "nested", 98 "i18n-ally.keystyle": "nested",
src/views/project/order/index.vue
@@ -89,7 +89,10 @@ @@ -89,7 +89,10 @@
89 <a-button type="primary" @click="handleExportModal" v-if="role !== ROLE.INSPECT" 89 <a-button type="primary" @click="handleExportModal" v-if="role !== ROLE.INSPECT"
90 >导出</a-button 90 >导出</a-button
91 > 91 >
92 - <a-button type="primary" @click="handleProfitModal" v-if="role === ROLE.ADMIN" 92 + <a-button
  93 + type="primary"
  94 + @click="handleProfitModal"
  95 + v-if="role === ROLE.ADMIN || role === ROLE.BUSINESS"
93 >分析利润</a-button 96 >分析利润</a-button
94 > 97 >
95 <a-button 98 <a-button