guhongwei 3 years ago
parent
commit
d4b9f77afe
2 changed files with 19 additions and 0 deletions
  1. 14 0
      src/layout/deploy/dict.js
  2. 5 0
      src/layout/deploy/menu.js

+ 14 - 0
src/layout/deploy/dict.js

@@ -0,0 +1,14 @@
+// 导出数据excel格式
+// 審批單
+export const examine_fields = {
+  name: '审批单',
+  fields: {
+    审批单号: 'order_num',
+    审批人: 'personal',
+    审批时间: 'examine_time',
+    审批结果: 'status',
+    购买人姓名: 'buy_name',
+    购买总价: 'totalMoney',
+    审批意见: 'opinion',
+  },
+};

+ 5 - 0
src/layout/deploy/menu.js

@@ -5,4 +5,9 @@ export const userMenu = [
     index: '/adminCenter/examine/index',
     title: '审批单',
   },
+  {
+    icon: 'icon-ceshi',
+    index: '/adminCenter/export/index',
+    title: '数据导出',
+  },
 ];