Commit 8e9da46a68552dc7254fbe2c2b2259c9d9f88ef0

Authored by sanmu
2 parents c8423c0f e9ee7ce8

Merge branch 'develop' of http://39.108.227.113:8001/zhusen/order-erp-front into develop

.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
@@ -102,7 +102,10 @@ @@ -102,7 +102,10 @@
102 <a-button type="primary" @click="handleExportModal" v-if="role !== ROLE.INSPECT" 102 <a-button type="primary" @click="handleExportModal" v-if="role !== ROLE.INSPECT"
103 >导出</a-button 103 >导出</a-button
104 > 104 >
105 - <a-button type="primary" @click="handleProfitModal" v-if="role === ROLE.ADMIN" 105 + <a-button
  106 + type="primary"
  107 + @click="handleProfitModal"
  108 + v-if="role === ROLE.ADMIN || role === ROLE.BUSINESS"
106 >分析利润</a-button 109 >分析利润</a-button
107 > 110 >
108 <a-button 111 <a-button