Your Name 3 jaren geleden
bovenliggende
commit
27e5fc9d7d
2 gewijzigde bestanden met toevoegingen van 8 en 75 verwijderingen
  1. 2
    2
      config/proxy.js
  2. 6
    73
      config/routes.js

+ 2
- 2
config/proxy.js Bestand weergeven

@@ -8,8 +8,8 @@
8 8
 export default {
9 9
   dev: {
10 10
     '/api/': {
11
-      target: 'https://xlk.njyz.tech/',
12
-      // target: 'http://localhost:8081/',
11
+      // target: 'https://xlk.njyz.tech/',
12
+      target: 'http://localhost:8081/',
13 13
       // target: 'https://xlj.newlandsh.com/',
14 14
       changeOrigin: true,
15 15
       pathRewrite: {

+ 6
- 73
config/routes.js Bestand weergeven

@@ -91,12 +91,12 @@ export default [
91 91
               //   name: '客户列表old',
92 92
               //   component: './customer/customerlist/index copy.jsx',
93 93
               // },
94
-              {
95
-                path: '/customer/customerlist/customerDetail',
96
-                name: '私客详情',
97
-                hideInMenu: true,
98
-                component: './customer/customerlist/customerDetail',
99
-              },
94
+              // {
95
+              //   path: '/customer/customerlist/customerDetail',
96
+              //   name: '私客详情',
97
+              //   hideInMenu: true,
98
+              //   component: './customer/customerlist/customerDetail',
99
+              // },
100 100
               {
101 101
                 path: '/customer/customer/StatusChange',
102 102
                 name: '状态变更',
@@ -140,37 +140,6 @@ export default [
140 140
               },
141 141
             ],
142 142
           },
143
-
144
-          // {
145
-          //   path: '/recommend',
146
-          //   name: '推荐客户',
147
-          //   component: '../layouts/BlankLayout',
148
-          //   routes: [
149
-          //     {
150
-          //       path: '/recommend/customer',
151
-          //       name: '客户推荐',
152
-          //       component: './recommend/customer',
153
-          //     },
154
-          //     {
155
-          //       path: '/recommend/customer/audit',
156
-          //       name: '客户审核',
157
-          //       hideInMenu: true,
158
-          //       component: './recommend/customer/audit',
159
-          //     },
160
-
161
-          //     {
162
-          //       path: '/recommend/channel',
163
-          //       name: '经纪人推荐',
164
-          //       component: './recommend/channel',
165
-          //     },
166
-          //     {
167
-          //       path: '/recommend/channel/audit',
168
-          //       name: '客户审核',
169
-          //       hideInMenu: true,
170
-          //       component: './recommend/channel/audit',
171
-          //     },
172
-          //   ],
173
-          // },
174 143
           {
175 144
             path: '/staff',
176 145
             name: '员工管理',
@@ -246,42 +215,6 @@ export default [
246 215
                 hideInMenu: true,
247 216
                 component: './Live/video/Edit',
248 217
               },
249
-              // {
250
-              //   path: '/Live/video/add',
251
-              //   name: '新增活动',
252
-              //   hideInMenu: true,
253
-              //   component: './Live/video/add',
254
-              // },
255
-
256
-              // {
257
-              //   path: '/staff/Staff/Edit',
258
-              //   name: '编辑员工',
259
-              //   hideInMenu: true,
260
-              //   component: './staff/Staff/Edit',
261
-              // },
262
-              // {
263
-              //   path: '/staff/Role/List',
264
-              //   name: '角色管理',
265
-              //   component: './staff/Role/List',
266
-              // },
267
-              // {
268
-              //   path: '/staff/Role/Edit',
269
-              //   name: '编辑角色',
270
-              //   hideInMenu: true,
271
-              //   component: './staff/Role/Edit',
272
-              // },
273
-              // {
274
-              //   path: '/staff/Organization/List',
275
-              //   name: '组织架构',
276
-              //   component: './staff/Organization',
277
-              // },
278
-
279
-              // {
280
-              //   path: '/staff/list/distribution',
281
-              //   name: '分配归属',
282
-              //   hideInMenu: true,
283
-              //   component: './staff/list/distribution',
284
-              // },
285 218
             ],
286 219
           },
287 220
           {