dingxin 5 years ago
parent
commit
52fae58c0a
35 changed files with 470 additions and 557 deletions
  1. 1
    1
      config/config.js
  2. 7
    4
      src/app.js
  3. 3
    3
      src/pages/Welcome.jsx
  4. 43
    0
      src/pages/building/list/add/amap.css
  5. 7
    392
      src/pages/building/list/add/amap.less
  6. 43
    0
      src/pages/building/list/add/amap.wxss
  7. 4
    6
      src/pages/building/list/add/components/poster.jsx
  8. 7
    8
      src/pages/building/list/add/components/share.jsx
  9. 2
    2
      src/pages/building/list/index.jsx
  10. 56
    0
      src/pages/building/list/style.css
  11. 17
    14
      src/pages/building/list/style.less
  12. 53
    0
      src/pages/building/list/style.wxss
  13. 7
    6
      src/pages/building/type/style.css
  14. 8
    7
      src/pages/building/type/style.less
  15. 4
    4
      src/pages/building/type/style.wxss
  16. 4
    4
      src/pages/customer/customerlist/style.css
  17. 9
    8
      src/pages/customer/customerlist/style.less
  18. 4
    4
      src/pages/customer/customerlist/style.wxss
  19. 9
    8
      src/pages/customer/drift/style.less
  20. 4
    4
      src/pages/customer/independentList/style.css
  21. 8
    7
      src/pages/customer/independentList/style.less
  22. 4
    4
      src/pages/customer/independentList/style.wxss
  23. 4
    4
      src/pages/customer/recommendCustomer/style.css
  24. 6
    5
      src/pages/customer/recommendCustomer/style.less
  25. 4
    4
      src/pages/customer/recommendCustomer/style.wxss
  26. 4
    4
      src/pages/customer/report/style.css
  27. 9
    7
      src/pages/customer/report/style.less
  28. 4
    4
      src/pages/customer/report/style.wxss
  29. 9
    9
      src/pages/news/list/NewsList.jsx
  30. 8
    7
      src/pages/news/list/style.less
  31. 6
    6
      src/pages/staff/list/StaffList.jsx
  32. 14
    14
      src/pages/staff/list/style.less
  33. 1
    1
      src/pages/user/login/components/Login/index.jsx
  34. 1
    1
      src/pages/user/login/components/Login/index.less
  35. 96
    5
      src/services/apis.js

+ 1
- 1
config/config.js View File

479
 
479
 
480
   proxy: {
480
   proxy: {
481
     '/api/': {
481
     '/api/': {
482
-      target: 'http://localhost:8080/',
482
+      target: 'http://192.168.0.11:8080/',
483
       changeOrigin: true,
483
       changeOrigin: true,
484
       // pathRewrite: { '^/server': '' },
484
       // pathRewrite: { '^/server': '' },
485
     },
485
     },

+ 7
- 4
src/app.js View File

4
     recalc = function () {
4
     recalc = function () {
5
       var clientWidth = docEl.clientWidth;
5
       var clientWidth = docEl.clientWidth;
6
       if (!clientWidth) return;
6
       if (!clientWidth) return;
7
-      if (clientWidth < 1200) {
8
-        docEl.style.fontSize = '100px';
9
-      } else {
10
-        docEl.style.fontSize = 100 * (clientWidth / 1200) + 'px';
7
+      if (clientWidth < 1700) {
8
+        docEl.style.fontSize = '150px';
9
+      } else if ( 1700>=clientWidth>2000 ){
10
+        docEl.style.fontSize = '170px';
11
+      }else{
12
+        docEl.style.fontSize = '170px';
13
+        // docEl.style.fontSize = 100 * (clientWidth / 1400) + 'px';
11
       }
14
       }
12
     };
15
     };
13
 
16
 

+ 3
- 3
src/pages/Welcome.jsx View File

23
     <div style={{ display: 'flex' }}>
23
     <div style={{ display: 'flex' }}>
24
       <div style={{
24
       <div style={{
25
         textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(144deg,rgba(241,43,62,1) 0%,rgba(254,144,155,1) 100%)', height: '100px',
25
         textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(144deg,rgba(241,43,62,1) 0%,rgba(254,144,155,1) 100%)', height: '100px',
26
-        boxShadow: '0px 18px 14px -15px rgba(241,43,62,1)',
26
+        boxShadow: '0px  0.11rem 14px -15px rgba(241,43,62,1)',
27
         borderRadius: '12px', width: '32%', marginRight: '2%'
27
         borderRadius: '12px', width: '32%', marginRight: '2%'
28
       }}>
28
       }}>
29
         <span style={{ fontSize: '24px', color: '#fff' }}>总用户 </span>
29
         <span style={{ fontSize: '24px', color: '#fff' }}>总用户 </span>
31
       </div>
31
       </div>
32
       <div style={{
32
       <div style={{
33
         textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(144deg,rgba(255,126,74,1) 0%,rgba(255,196,168,1) 100%)', height: '100px',
33
         textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(144deg,rgba(255,126,74,1) 0%,rgba(255,196,168,1) 100%)', height: '100px',
34
-        boxShadow: '0px 18px 14px -15px rgba(255,126,74,1)',
34
+        boxShadow: '0px  0.11rem 14px -15px rgba(255,126,74,1)',
35
         borderRadius: '12px', width: '32%', marginRight: '2%'
35
         borderRadius: '12px', width: '32%', marginRight: '2%'
36
       }}>
36
       }}>
37
         <span style={{ fontSize: '24px', color: '#fff' }}>总注册用户 </span>
37
         <span style={{ fontSize: '24px', color: '#fff' }}>总注册用户 </span>
39
       </div>
39
       </div>
40
       <div style={{
40
       <div style={{
41
         textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(137deg,rgba(107,130,230,1) 0%,rgba(152,175,251,1) 100%)', height: '100px',
41
         textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(137deg,rgba(107,130,230,1) 0%,rgba(152,175,251,1) 100%)', height: '100px',
42
-        boxShadow: '0px 18px 14px -15px rgba(107,130,230,1)',
42
+        boxShadow: '0px  0.11rem 14px -15px rgba(107,130,230,1)',
43
         borderRadius: '12px', width: '32%',
43
         borderRadius: '12px', width: '32%',
44
       }}>
44
       }}>
45
         <span style={{ fontSize: '24px', color: '#fff' }}>最近7天新增 </span>
45
         <span style={{ fontSize: '24px', color: '#fff' }}>最近7天新增 </span>

+ 43
- 0
src/pages/building/list/add/amap.css View File

1
+.infoBox {
2
+  padding: 10px;
3
+  position: absolute;
4
+  top: 20px;
5
+  left: 20px;
6
+  background-color: white;
7
+  width: 280px;
8
+  box-shadow: 0 2px 6px 0 rgba(114, 124, 245, 0.5);
9
+  z-index: 100;
10
+}
11
+.infoBox .inputText {
12
+  margin-right: 10px;
13
+}
14
+.infoBox .input {
15
+  width: 150px;
16
+  height: 32px;
17
+  font-size: 16px;
18
+}
19
+/* types */
20
+.native-toast-error {
21
+  background-color: #d92727;
22
+  color: white;
23
+}
24
+.native-toast-success {
25
+  background-color: #62a465;
26
+  color: white;
27
+}
28
+.native-toast-warning {
29
+  background-color: #fdaf17;
30
+  color: white;
31
+}
32
+.native-toast-info {
33
+  background-color: #5060ba;
34
+  color: white;
35
+}
36
+[class^="native-toast-icon-"] {
37
+  vertical-align: middle;
38
+  margin-right: 8px;
39
+}
40
+[class^="native-toast-icon-"] svg {
41
+  width: 16px;
42
+  height: 16px;
43
+}

+ 7
- 392
src/pages/building/list/add/amap.less View File

1
-html {
2
-  font-size: 12px;
3
-}
4
-.amap-copyright{
5
-  box-sizing: content-box
6
-}
7
-* {
8
-  box-sizing: border-box
9
-}
10
-.input-textarea{
11
-   color:grey;
12
-   height:8em;
13
-   overflow:auto;
14
-   border-radius:0.4rem;
15
-   border:1px solid #ced4da;
16
-   margin-bottom:0.1rem;
17
-}
18
-body {
19
-  margin: 0;
20
-  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
21
-  line-height: 1.5;
22
-  font-weight: 300;
23
-  color: #111213;
24
-}
25
-
26
-hr {
27
-  margin: 0.5rem 0;
28
-  box-sizing: content-box;
29
-  height: 0;
30
-  overflow: visible;
31
-  border: 0;
32
-  border-top: 1px solid rgba(0, 0, 0, .1)
33
-}
34
-
35
-p {
36
-  margin-top: 0;
37
-  margin-bottom: 0;
38
-}
39
-
40
-label {
41
-  display: inline-block;
42
-  margin-bottom: 0.4rem;
43
-}
44
-
45
-label, .btn {
46
-  margin-left: 0;
47
-  font-size: 0.18rem;
48
-}
49
-
50
-button, input, select {
51
-  margin: 0;
52
-  font-family: inherit;
53
-  font-size: inherit;
54
-  line-height: inherit;
55
-  overflow: visible;
56
-  text-transform: none
57
-}
58
-
59
-[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner {
60
-  padding: 0;
61
-  border-style: none;
62
-}
63
-
64
-input[type=checkbox], input[type=radio] {
65
-  box-sizing: border-box;
66
-  padding: 0;
67
-  -webkit-box-sizing: border-box;
68
-  box-sizing: border-box;
69
-  padding: 0;
70
-  margin: 0 0.5rem 0 0;
71
-}
72
-
73
-h4 {
74
-  font-family: inherit;
75
-  line-height: 1.8;
76
-  font-weight: 300;
77
-  color: inherit;
78
-  font-size: 0.2rem;
79
-  margin-top: 0;
80
-  margin-bottom: .5rem
81
-}
82
-
83
-// .btn {
84
-//   display: inline-block;
85
-//   font-weight: 400;
86
-//   text-align: center;
87
-//   white-space: nowrap;
88
-//   vertical-align: middle;
89
-//   -webkit-user-select: none;
90
-//   -moz-user-select: none;
91
-//   -ms-user-select: none;
92
-//   user-select: none;
93
-//   border: 1px solid transparent;
94
-//   transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
95
-//   background-color: transparent;
96
-//   background-image: none;
97
-//   color: #25A5F7;
98
-//   border-color: #25A5F7;
99
-//   padding: .25rem .5rem;
100
-//   line-height: 1.5;
101
-//   border-radius: 1rem;
102
-//   -webkit-appearance: button;
103
-//   cursor:pointer;
104
-// }
105
-
106
-// .btn:hover {
107
-//   color: #fff;
108
-//   background-color: #25A5F7;
109
-//   border-color: #25A5F7
110
-// }
111
-
112
-// .btn:hover {
113
-//   text-decoration: none
114
-// }
115
-
116
-// .input-item {
117
-//   position: relative;
118
-//   display: -ms-flexbox;
119
-//   display: flex;
120
-//   -ms-flex-wrap: wrap;
121
-//   flex-wrap: wrap;
122
-//   -ms-flex-align: center;
123
-//   align-items: center;
124
-//   width: 100%;
125
-//   height: 3rem;
126
-// }
127
-
128
-// .input-item:last-child {
129
-//   margin-bottom: 0;
130
-// }
131
-
132
-// .input-item>select, .input-item>input[type=text], .input-item>input[type=date] {
133
-//   position: relative;
134
-//   -ms-flex: 1 1 auto;
135
-//   flex: 1 1 auto;
136
-//   width: 1%;
137
-//   margin-bottom: 0;
138
-// }
139
-
140
-// .input-item>select:not(:last-child), .input-item>input[type=text]:not(:last-child), .input-item>input[type=date]:not(:last-child) {
141
-//   border-top-right-radius: 0;
142
-//   border-bottom-right-radius: 0
143
-// }
144
-
145
-// .input-item>select:not(:first-child), .input-item>input[type=text]:not(:first-child), .input-item>input[type=date]:not(:first-child) {
146
-//   border-top-left-radius: 0;
147
-//   border-bottom-left-radius: 0
148
-// }
149
-
150
-// .input-item-prepend {
151
-//   margin-right: -1px;
152
-// }
153
-
154
-// .input-item-text, input[type=text],input[type=date], select {
155
-//   height: calc(2.2rem + 2px);
156
-// }
157
-
158
-// .input-item-text {
159
-//   width: 6rem;
160
-//   text-align: justify;
161
-//   padding: 0.4rem 0.7rem;
162
-//   display: inline-block;
163
-//   text-justify: distribute-all-lines;
164
-//   /*ie6-8*/
165
-//   text-align-last: justify;
166
-//   /* ie9*/
167
-//   -moz-text-align-last: justify;
168
-//   /*ff*/
169
-//   -webkit-text-align-last: justify;
170
-//   /*chrome 20+*/
171
-//   -ms-flex-align: center;
172
-//   align-items: center;
173
-//   margin-bottom: 0;
174
-//   font-size: 1rem;
175
-//   font-weight: 400;
176
-//   line-height: 1.5;
177
-//   color: #495057;
178
-//   text-align: center;
179
-//   white-space: nowrap;
180
-//   background-color: #e9ecef;
181
-//   border: 1px solid #ced4da;
182
-//   border-radius: .25rem;
183
-//   border-bottom-right-radius: 0;
184
-//   border-top-right-radius: 0;
185
-// }
186
-
187
-// .input-item-text input[type=checkbox], .input-item-text input[type=radio] {
188
-//   margin-top: 0
189
-// }
190
-
191
-// .input-card {
192
-//   display: flex;
193
-//   flex-direction: column;
194
-//   min-width: 0;
195
-//   word-wrap: break-word;
196
-//   background-color: #fff;
197
-//   background-clip: border-box;
198
-//   border-radius: .25rem;
199
-//   width: 22rem;
200
-//   border-width: 0;
201
-//   border-radius: 0.4rem;
202
-//   box-shadow: 0 2px 6px 0 rgba(114, 124, 245, .5);
203
-//   position: fixed;
204
-//   bottom: 1rem;
205
-//   right: 1rem;
206
-//   -ms-flex: 1 1 auto;
207
-//   flex: 1 1 auto;
208
-//   padding: 0.75rem 1.25rem;
209
-// }
210
-
211
-// .input-text {
212
-//   line-height: 2rem;
213
-//   margin-right: 2rem;
214
-// }
215
-
216
-// .info hr {
217
-//   margin-right: 0;
218
-//   margin-left: 0;
219
-//   border-top-color: grey;
220
-// }
221
 
1
 
222
 .infoBox {
2
 .infoBox {
223
-  padding: .2rem 0.2rem;
3
+  padding: 10px;
224
   position: absolute;
4
   position: absolute;
225
-  top: 0.3rem;
226
-  left: 0.3rem;
5
+  top: 20px;
6
+  left: 20px;
227
   background-color: white;
7
   background-color: white;
228
-  width: 3.2rem;
8
+  width: 290px;
229
   box-shadow: 0 2px 6px 0 rgba(114, 124, 245, .5);
9
   box-shadow: 0 2px 6px 0 rgba(114, 124, 245, .5);
230
   z-index: 100;
10
   z-index: 100;
231
   .inputText{
11
   .inputText{
232
     margin-right: 10px;
12
     margin-right: 10px;
233
   }
13
   }
234
   .input{
14
   .input{
235
-    width: 1.6rem;
236
-    height: 0.34rem;
237
-    font-size: 0.16rem;
15
+    width: 150px;
16
+    height: 32px;
17
+    font-size: 16px;
238
   }
18
   }
239
  
19
  
240
 }
20
 }
241
 
21
 
242
-// .code {
243
-//   left: 1.5rem;
244
-//   right: 1.5rem;
245
-//   top: 1.5rem;
246
-//   bottom: 1.5rem;
247
-//   overflow: auto;
248
-//   margin-bottom: 0rem;
249
-// }
250
-
251
-// .code .btn {
252
-//   top: 1rem;
253
-//   position: absolute;
254
-//   right: 1rem;
255
-// }
256
-
257
-// .code .result {
258
-//   border: 1px solid rgba(0, 0, 0, 0.1);
259
-//   border-radius: 0.5rem;
260
-//   padding: 1rem;
261
-//   bottom: 1rem;
262
-//   position: absolute;
263
-//   top: 5.5rem;
264
-//   right: 1rem;
265
-//   left: 1rem;
266
-//   overflow: auto;
267
-// }
268
-
269
-// .code .status {
270
-//   color: #80adff;
271
-//   display: inline-block;
272
-//   font-size: 14px;
273
-// }
274
-
275
-// .code h4 {
276
-//   display: inline-block;
277
-//   max-width: 20rem;
278
-//   margin-right: 1rem;
279
-//   margin-bottom: 1rem;
280
-// }
281
-
282
-// select, input[type=text], input[type=date] {
283
-//   display: inline-block;
284
-//   // width: 100%;
285
-//   padding: .375rem 1.75rem .375rem .75rem;
286
-//   line-height: 1.5;
287
-//   color: #495057;
288
-//   vertical-align: middle;
289
-//   background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right .75rem center;
290
-//   background-size: 8px 10px;
291
-//   border: 1px solid #ced4da;
292
-//   border-radius: .25rem;
293
-//   -webkit-appearance: none;
294
-//   -moz-appearance: none;
295
-//   appearance: none
296
-// }
297
-
298
-// input[type=text],input[type=date] {
299
-//   background: #fff;
300
-//   padding: .375rem .75rem;
301
-// }
302
-
303
-// select:focus, input[type=text]:focus, input[type=date]:focus {
304
-//   border-color: #80bdff;
305
-//   outline: 0;
306
-//   box-shadow: 0 0 0 .1rem rgba(128, 189, 255, .1)
307
-// }
308
-
309
-// .btn:focus {
310
-//   outline: 0;
311
-//   box-shadow: none;
312
-// }
313
-
314
-// select:focus::-ms-value, input[type=text]:focus::-ms-value,input[type=date]:focus::-ms-value {
315
-//   color: #495057;
316
-//   background-color: #fff
317
-// }
318
-
319
-
320
-// /* native toastr */
321
-// .native-toast {
322
-//   position: fixed;
323
-//   background-color: rgba(50, 50, 50, .8);
324
-//   border-radius: 33px;
325
-//   color: white;
326
-//   left: 50%;
327
-//   text-align: center;
328
-//   padding: 6px 12px;
329
-//   opacity: 0;
330
-//   z-index: 99999;
331
-//   transition: transform .25s, opacity .25s, top .25s;
332
-//   box-sizing: border-box;
333
-// }
334
-
335
-// .native-toast-bottom {
336
-//   bottom: 50px;
337
-//   -ms-transform: translateX(-50%) translateY(50px);
338
-//       transform: translateX(-50%) translateY(50px)
339
-// }
340
-
341
-// .native-toast-bottom.native-toast-shown {
342
-//   opacity: 1;
343
-//   -ms-transform: translateX(-50%) translateY(0);
344
-//       transform: translateX(-50%) translateY(0);
345
-// }
346
-
347
-// .native-toast-bottom.native-toast-edge {
348
-//   bottom: 0;
349
-// }
350
-
351
-// .native-toast-top {
352
-//   top: 50px;
353
-//   -ms-transform: translateX(-50%) translateY(-50px);
354
-//       transform: translateX(-50%) translateY(-50px)
355
-// }
356
-
357
-// .native-toast-top.native-toast-shown {
358
-//   opacity: 1;
359
-//   -ms-transform: translateX(-50%) translateY(0);
360
-//       transform: translateX(-50%) translateY(0);
361
-// }
362
-
363
-// .native-toast-top.native-toast-edge {
364
-//   top: 0;
365
-// }
366
-
367
-// .native-toast-center {
368
-//   top: 0;
369
-//   -ms-transform: translateX(-50%) translateY(-50px);
370
-//       transform: translateX(-50%) translateY(-50px)
371
-// }
372
-
373
-// .native-toast-center.native-toast-shown {
374
-//   opacity: 1;
375
-//   top: 50%;
376
-//   -ms-transform: translateX(-50%) translateY(-50%);
377
-//       transform: translateX(-50%) translateY(-50%);
378
-// }
379
-
380
-// .native-toast-edge {
381
-//   border-radius: 0;
382
-//   width: 100%;
383
-//   text-align: left;
384
-// }
385
-
386
-@media screen and (min-width: 40rem) {
387
-  .native-toast:not(.native-toast-edge) {
388
-    max-width: 18rem;
389
-  }
390
-}
391
-
392
-/*
393
-  max-width does not seem to work in small screen?
394
-*/
395
-
396
-/*@media screen and (max-width: 768px) {
397
-  .native-toast:not(.native-toast-edge) {
398
-    max-width: 400px;
399
-  }
400
-}
401
-
402
-@media screen and (max-width: 468px) {
403
-  .native-toast:not(.native-toast-edge) {
404
-    max-width: 300px;
405
-  }
406
-}*/
407
 
22
 
408
 /* types */
23
 /* types */
409
 
24
 

+ 43
- 0
src/pages/building/list/add/amap.wxss View File

1
+.infoBox {
2
+  padding: 10px;
3
+  position: absolute;
4
+  top: 20px;
5
+  left: 20px;
6
+  background-color: white;
7
+  width: 280px;
8
+  box-shadow: 0 2px 6px 0 rgba(114, 124, 245, 0.5);
9
+  z-index: 100;
10
+}
11
+.infoBox .inputText {
12
+  margin-right: 10px;
13
+}
14
+.infoBox .input {
15
+  width: 150px;
16
+  height: 32px;
17
+  font-size: 16px;
18
+}
19
+/* types */
20
+.native-toast-error {
21
+  background-color: #d92727;
22
+  color: white;
23
+}
24
+.native-toast-success {
25
+  background-color: #62a465;
26
+  color: white;
27
+}
28
+.native-toast-warning {
29
+  background-color: #fdaf17;
30
+  color: white;
31
+}
32
+.native-toast-info {
33
+  background-color: #5060ba;
34
+  color: white;
35
+}
36
+[class^="native-toast-icon-"] {
37
+  vertical-align: middle;
38
+  margin-right: 8px;
39
+}
40
+[class^="native-toast-icon-"] svg {
41
+  width: 16px;
42
+  height: 16px;
43
+}

+ 4
- 6
src/pages/building/list/add/components/poster.jsx View File

31
     // eslint-disable-next-line react-hooks/rules-of-hooks
31
     // eslint-disable-next-line react-hooks/rules-of-hooks
32
     useEffect(() => {
32
     useEffect(() => {
33
       request({
33
       request({
34
-        url: '/api/admin/poster',
35
-        method: 'GET',
34
+        ...apis.activity.poster,
36
         params: { targetId: buildingId, targetType: 'building' },
35
         params: { targetId: buildingId, targetType: 'building' },
37
       }).then(data => {
36
       }).then(data => {
38
         console.log(data, '2222')
37
         console.log(data, '2222')
64
     if (buildingId) {
63
     if (buildingId) {
65
       if (posterId) {
64
       if (posterId) {
66
         request({
65
         request({
67
-          url: `/api/admin/poster/${posterId}`,
68
-          method: 'PUT',
66
+          ...apis.activity.updatePoster,
67
+          urlData: { id: posterId },
69
           data: { targetId: buildingId, targetType: 'building', posterImg: imgValue, posterTitle: inputValue, posterDescription: textAreaValue },
68
           data: { targetId: buildingId, targetType: 'building', posterImg: imgValue, posterTitle: inputValue, posterDescription: textAreaValue },
70
         }).then(() => {
69
         }).then(() => {
71
           message.info('保存成功')
70
           message.info('保存成功')
74
         })
73
         })
75
       } else {
74
       } else {
76
         request({
75
         request({
77
-          url: '/api/admin/poster',
78
-          method: 'POST',
76
+          ...apis.activity.addPoster,
79
           data: { targetId: buildingId, targetType: 'building', posterImg: imgValue, posterTitle: inputValue, posterDescription: textAreaValue },
77
           data: { targetId: buildingId, targetType: 'building', posterImg: imgValue, posterTitle: inputValue, posterDescription: textAreaValue },
80
         }).then(data => {
78
         }).then(data => {
81
           setPosterId(data.posterId)
79
           setPosterId(data.posterId)

+ 7
- 8
src/pages/building/list/add/components/share.jsx View File

14
 import touxiang from '../../../../../assets/touxiang.jpg';
14
 import touxiang from '../../../../../assets/touxiang.jpg';
15
 import poster1 from '../../../../../assets/poster1.png';
15
 import poster1 from '../../../../../assets/poster1.png';
16
 import poster2 from '../../../../../assets/poster2.png';
16
 import poster2 from '../../../../../assets/poster2.png';
17
+import apis from '../../../../../services/apis';
17
 
18
 
18
 const Share = props => {
19
 const Share = props => {
19
   const [inputValue, changeInput] = useState('')
20
   const [inputValue, changeInput] = useState('')
25
     // eslint-disable-next-line react-hooks/rules-of-hooks
26
     // eslint-disable-next-line react-hooks/rules-of-hooks
26
     useEffect(() => {
27
     useEffect(() => {
27
       request({
28
       request({
28
-        url: '/api/admin/shareContent',
29
-        method: 'GET',
29
+        ...apis.activity.shareContent,
30
         params: { targetId: buildingId, targetType: 'building' },
30
         params: { targetId: buildingId, targetType: 'building' },
31
       }).then(data => {
31
       }).then(data => {
32
         if (data.length > 0) {
32
         if (data.length > 0) {
44
     if (buildingId) {
44
     if (buildingId) {
45
       if (shareContentId) {
45
       if (shareContentId) {
46
         request({
46
         request({
47
-          url: `/api/admin/shareContent/${shareContentId}`,
48
-          method: 'PUT',
49
-          data: { targetId: buildingId, shareContentType: 'building',shareContentImg: imgValue,shareContentTitle: inputValue },
47
+          ...apis.activity.updateShareContent,
48
+          urlData: { id: shareContentId },
49
+          data: { targetId: buildingId, shareContentType: 'building', shareContentImg: imgValue,shareContentTitle: inputValue },
50
         }).then(data => {
50
         }).then(data => {
51
           message.info('保存成功')
51
           message.info('保存成功')
52
         }).catch(err => {
52
         }).catch(err => {
54
         })
54
         })
55
        } else {
55
        } else {
56
         request({
56
         request({
57
-          url: '/api/admin/shareContent',
58
-          method: 'POST',
59
-          data: { targetId: buildingId, shareContentType: 'building',shareContentImg: imgValue,shareContentTitle: inputValue },
57
+          ...apis.activity.addShareContent,
58
+          data: { targetId: buildingId, shareContentType: 'building', shareContentImg: imgValue,shareContentTitle: inputValue },
60
         }).then(data => {
59
         }).then(data => {
61
           setShareContentId(data.shareContentId)
60
           setShareContentId(data.shareContentId)
62
           message.info('保存成功')
61
           message.info('保存成功')

+ 2
- 2
src/pages/building/list/index.jsx View File

104
   return (
104
   return (
105
     <Card
105
     <Card
106
       hoverable
106
       hoverable
107
-      style={{ minWidth: '400px', borderRadius: '12px', margin: '10px', boxShadow: '0px 0px 16px 2px rgba(0,0,0,0.12)' }}
107
+      style={{ minWidth: '330px', borderRadius: '12px', margin: '10px', boxShadow: '0px 0px 16px 2px rgba(0,0,0,0.12)' }}
108
       cover={<img alt="example" src={data.poster} style={{ borderRadius: '12px 12px 0 0', width: '100%', height: '14vw' }}></img>}
108
       cover={<img alt="example" src={data.poster} style={{ borderRadius: '12px 12px 0 0', width: '100%', height: '14vw' }}></img>}
109
       bodyStyle={{ padding: '10px 20px' }}
109
       bodyStyle={{ padding: '10px 20px' }}
110
     >
110
     >
138
         <span className={Styles.title}>录入时间</span>
138
         <span className={Styles.title}>录入时间</span>
139
         <span >:{data.createDate}</span>
139
         <span >:{data.createDate}</span>
140
       </p>
140
       </p>
141
-      <p style={{ margin: '15px 0', position: 'relative', fontSize: '1.1remrem' }}>
141
+      <p style={{ margin: '15px 0', position: 'relative', fontSize: '0.11rem' }}>
142
         <span style={{ color: '#FF4A4A' }} onClick={() => pulicAndUnPulic(data)}>
142
         <span style={{ color: '#FF4A4A' }} onClick={() => pulicAndUnPulic(data)}>
143
           {/* 已发布的时候,需要显示取消发布的字样 */}
143
           {/* 已发布的时候,需要显示取消发布的字样 */}
144
           {data.status === 1 ? '取消发布' : '发布'}
144
           {data.status === 1 ? '取消发布' : '发布'}

+ 56
- 0
src/pages/building/list/style.css View File

1
+.SubmitButton {
2
+  background: #3a91d5;
3
+  border-radius: 7px;
4
+  border: 0px;
5
+}
6
+.SelectFrom {
7
+  width: 180px;
8
+  background: #ffffff;
9
+  border-radius: 7px;
10
+  border: 1px solid #dbdbdb;
11
+}
12
+.addButton {
13
+  border-radius: 4px;
14
+  border: 0px;
15
+  margin: 10px 0px;
16
+}
17
+.cardText {
18
+  font-size: 0.11rem;
19
+  color: #333;
20
+  line-height: 1.5;
21
+  display: flex;
22
+  align-items: center;
23
+  position: relative;
24
+  margin-bottom: 0.08rem;
25
+}
26
+.cardItem {
27
+  font-size: 0.11rem;
28
+  font-weight: 400;
29
+  color: #666;
30
+  display: flex;
31
+  align-items: center;
32
+  line-height: 1.5;
33
+  font-size: 0.11rem;
34
+  margin-bottom: 0.08rem;
35
+
36
+}
37
+.ediText {
38
+  font-size: 0.11rem;
39
+  color: #ff925c;
40
+  position: absolute;
41
+  right: 0;
42
+}
43
+.title {
44
+  display: inline-block;
45
+  width: 0.54rem;
46
+  justify-content: space-between;
47
+  text-align: justify;
48
+  text-align-last: justify;
49
+}
50
+.address {
51
+  width: 400px;
52
+  height: 24px;
53
+  text-overflow: ellipsis;
54
+  white-space: nowrap;
55
+  overflow: hidden;
56
+}

+ 17
- 14
src/pages/building/list/style.less View File

15
   margin: 10px 0px;
15
   margin: 10px 0px;
16
 }
16
 }
17
 .cardText {
17
 .cardText {
18
-  font-size: 1.1rem;
18
+  font-size: 0.11rem;
19
   color: #333;
19
   color: #333;
20
-  line-height: 24px;
21
   display: flex;
20
   display: flex;
22
   align-items: center;
21
   align-items: center;
23
   position: relative;
22
   position: relative;
24
-
23
+  margin-bottom: 0.08rem;
24
+  
25
 }
25
 }
26
 .cardItem{
26
 .cardItem{
27
-  font-size: 1.1rem;
27
+  font-size: 0.11rem;
28
   font-weight: 400;
28
   font-weight: 400;
29
   color: #666;
29
   color: #666;
30
-  line-height: 24px;
31
   display: flex;
30
   display: flex;
32
   align-items: center;  
31
   align-items: center;  
32
+  margin-bottom: 0.08rem;
33
+  .title{
34
+    display: inline-block;
35
+    width: 0.54rem;
36
+    min-width: 0.54rem;
37
+    justify-content: space-between;
38
+    text-align: justify;
39
+    text-align-last:justify
40
+  }
41
+  
33
 }
42
 }
34
 .ediText {
43
 .ediText {
35
-  font-size: 1.1rem;
44
+  font-size: 0.11rem;
36
   color: #ff925c;
45
   color: #ff925c;
37
-  line-height: 24px;
38
   position: absolute;
46
   position: absolute;
39
   right: 0;
47
   right: 0;
48
+
40
 }
49
 }
41
-.title{
42
-  display: inline-block;
43
-  width: 84px;
44
-  justify-content: space-between;
45
-  text-align: justify;
46
-  text-align-last:justify
47
-}
50
+
48
 
51
 
49
 .address { 
52
 .address { 
50
   width: 400px;
53
   width: 400px;

+ 53
- 0
src/pages/building/list/style.wxss View File

1
+.SubmitButton {
2
+  background: #3a91d5;
3
+  border-radius: 7px;
4
+  border: 0px;
5
+}
6
+.SelectFrom {
7
+  width: 180px;
8
+  background: #ffffff;
9
+  border-radius: 7px;
10
+  border: 1px solid #dbdbdb;
11
+}
12
+.addButton {
13
+  border-radius: 4px;
14
+  border: 0px;
15
+  margin: 10px 0px;
16
+}
17
+.cardText {
18
+  font-size: 0.11rem;
19
+  color: #333;
20
+  line-height: 24px;
21
+  display: flex;
22
+  align-items: center;
23
+  position: relative;
24
+}
25
+.cardItem {
26
+  font-size: 0.11rem;
27
+  font-weight: 400;
28
+  color: #666;
29
+  display: flex;
30
+  align-items: center;
31
+  margin-bottom: 0.08rem;
32
+}
33
+.ediText {
34
+  font-size: 0.11rem;
35
+  color: #ff925c;
36
+  position: absolute;
37
+  right: 0;
38
+  margin-bottom: 0.08rem;
39
+}
40
+.title {
41
+  display: inline-block;
42
+   width: 0.54rem;
43
+  justify-content: space-between;
44
+  text-align: justify;
45
+  text-align-last: justify;
46
+}
47
+.address {
48
+  width: 400px;
49
+  height: 24px;
50
+  text-overflow: ellipsis;
51
+  white-space: nowrap;
52
+  overflow: hidden;
53
+}

+ 7
- 6
src/pages/building/type/style.css View File

16
   margin: 10px 0px;
16
   margin: 10px 0px;
17
 }
17
 }
18
 .cardText {
18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20
   color: #333;
20
   color: #333;
21
   line-height: 24px;
21
   line-height: 24px;
22
   display: flex;
22
   display: flex;
24
   position: relative;
24
   position: relative;
25
 }
25
 }
26
 .cardItem {
26
 .cardItem {
27
-  font-size: 18px;
28
-  font-weight: 400;
27
+
29
   color: #666;
28
   color: #666;
30
-  line-height: 24px;
31
   display: flex;
29
   display: flex;
32
   align-items: center;
30
   align-items: center;
31
+  line-height: 1.5;
32
+  font-size: 0.11rem;
33
+  margin-bottom: 0.08rem;
33
 }
34
 }
34
 .ediText {
35
 .ediText {
35
-  font-size: 18px;
36
+  font-size: 0.11rem;
36
   color: #ff925c;
37
   color: #ff925c;
37
   line-height: 24px;
38
   line-height: 24px;
38
   position: absolute;
39
   position: absolute;
40
 }
41
 }
41
 .title {
42
 .title {
42
   display: inline-block;
43
   display: inline-block;
43
-  width: 84px;
44
+  width: 0.54rem;
44
   justify-content: space-between;
45
   justify-content: space-between;
45
   text-align: justify;
46
   text-align: justify;
46
   text-align-last: justify;
47
   text-align-last: justify;

+ 8
- 7
src/pages/building/type/style.less View File

16
   margin: 10px 0px;
16
   margin: 10px 0px;
17
 }
17
 }
18
 .cardText {
18
 .cardText {
19
-  font-size: 18px;
20
   color: #333;
19
   color: #333;
21
-  line-height: 24px;
22
   display: flex;
20
   display: flex;
23
   align-items: center;
21
   align-items: center;
24
   position: relative;
22
   position: relative;
23
+  line-height: 1.5;
24
+  font-size: 0.11rem;
25
+  margin-bottom: 0.08rem;
25
 
26
 
26
 }
27
 }
27
 .cardItem{
28
 .cardItem{
28
-  font-size: 18px;
29
-  font-weight: 400;
30
   color: #666;
29
   color: #666;
31
-  line-height: 24px;
32
   display: flex;
30
   display: flex;
33
   align-items: center;  
31
   align-items: center;  
32
+  line-height: 1.5;
33
+  font-size: 0.11rem;
34
+  margin-bottom: 0.08rem;
34
 }
35
 }
35
 .ediText {
36
 .ediText {
36
-  font-size: 18px;
37
+  font-size: 0.11rem;
37
   color: #ff925c;
38
   color: #ff925c;
38
   line-height: 24px;
39
   line-height: 24px;
39
   position: absolute;
40
   position: absolute;
41
 }
42
 }
42
 .title{
43
 .title{
43
   display: inline-block;
44
   display: inline-block;
44
-  width: 84px;
45
+  width: 0.54rem;
45
   justify-content: space-between;
46
   justify-content: space-between;
46
   text-align: justify;
47
   text-align: justify;
47
   text-align-last:justify
48
   text-align-last:justify

+ 4
- 4
src/pages/building/type/style.wxss View File

16
   margin: 10px 0px;
16
   margin: 10px 0px;
17
 }
17
 }
18
 .cardText {
18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20
   color: #333;
20
   color: #333;
21
   line-height: 24px;
21
   line-height: 24px;
22
   display: flex;
22
   display: flex;
24
   position: relative;
24
   position: relative;
25
 }
25
 }
26
 .cardItem {
26
 .cardItem {
27
-  font-size: 18px;
27
+  font-size:  0.11rem;
28
   font-weight: 400;
28
   font-weight: 400;
29
   color: #666;
29
   color: #666;
30
   line-height: 24px;
30
   line-height: 24px;
32
   align-items: center;
32
   align-items: center;
33
 }
33
 }
34
 .ediText {
34
 .ediText {
35
-  font-size: 18px;
35
+  font-size:  0.11rem;
36
   color: #ff925c;
36
   color: #ff925c;
37
   line-height: 24px;
37
   line-height: 24px;
38
   position: absolute;
38
   position: absolute;
40
 }
40
 }
41
 .title {
41
 .title {
42
   display: inline-block;
42
   display: inline-block;
43
-  width: 84px;
43
+  width:  0.54rem;
44
   justify-content: space-between;
44
   justify-content: space-between;
45
   text-align: justify;
45
   text-align: justify;
46
   text-align-last: justify;
46
   text-align-last: justify;

+ 4
- 4
src/pages/customer/customerlist/style.css View File

19
   margin: 10px 0px;
19
   margin: 10px 0px;
20
 }
20
 }
21
 .cardText {
21
 .cardText {
22
-  font-size: 18px;
22
+  font-size:  0.11rem;
23
   color: #333;
23
   color: #333;
24
   line-height: 24px;
24
   line-height: 24px;
25
   display: flex;
25
   display: flex;
27
   position: relative;
27
   position: relative;
28
 }
28
 }
29
 .cardItem {
29
 .cardItem {
30
-  font-size: 18px;
30
+  font-size:  0.11rem;
31
   font-weight: 400;
31
   font-weight: 400;
32
   color: #666;
32
   color: #666;
33
   line-height: 24px;
33
   line-height: 24px;
35
   align-items: center;
35
   align-items: center;
36
 }
36
 }
37
 .ediText {
37
 .ediText {
38
-  font-size: 18px;
38
+  font-size:  0.11rem;
39
   color: #ff925c;
39
   color: #ff925c;
40
   line-height: 24px;
40
   line-height: 24px;
41
   position: absolute;
41
   position: absolute;
43
 }
43
 }
44
 .title {
44
 .title {
45
   display: inline-block;
45
   display: inline-block;
46
-  width: 84px;
46
+  width:  0.54rem;
47
   justify-content: space-between;
47
   justify-content: space-between;
48
   text-align: justify;
48
   text-align: justify;
49
   text-align-last: justify;
49
   text-align-last: justify;

+ 9
- 8
src/pages/customer/customerlist/style.less View File

19
   margin: 10px 0px;
19
   margin: 10px 0px;
20
 }
20
 }
21
 .cardText {
21
 .cardText {
22
-  font-size: 18px;
23
   color: #333;
22
   color: #333;
24
-  line-height: 24px;
25
   display: flex;
23
   display: flex;
26
   align-items: center;
24
   align-items: center;
27
   position: relative;
25
   position: relative;
26
+  line-height: 1.5;
27
+  font-size: 0.11rem;
28
+  margin-bottom: 0.08rem;
28
 
29
 
29
 }
30
 }
30
 .cardItem{
31
 .cardItem{
31
-  font-size: 18px;
32
-  font-weight: 400;
33
   color: #666;
32
   color: #666;
34
-  line-height: 24px;
35
   display: flex;
33
   display: flex;
36
-  align-items: center;  
34
+  align-items: center; 
35
+  line-height: 1.5;
36
+  font-size: 0.11rem;
37
+  margin-bottom: 0.08rem; 
37
 }
38
 }
38
 .ediText {
39
 .ediText {
39
-  font-size: 18px;
40
+  font-size: 0.11rem;
40
   color: #ff925c;
41
   color: #ff925c;
41
   line-height: 24px;
42
   line-height: 24px;
42
   position: absolute;
43
   position: absolute;
44
 }
45
 }
45
 .title{
46
 .title{
46
   display: inline-block;
47
   display: inline-block;
47
-  width: 84px;
48
+  width:  0.54rem;
48
   justify-content: space-between;
49
   justify-content: space-between;
49
   text-align: justify;
50
   text-align: justify;
50
   text-align-last:justify
51
   text-align-last:justify

+ 4
- 4
src/pages/customer/customerlist/style.wxss View File

19
   margin: 10px 0px;
19
   margin: 10px 0px;
20
 }
20
 }
21
 .cardText {
21
 .cardText {
22
-  font-size: 18px;
22
+  font-size:  0.11rem;
23
   color: #333;
23
   color: #333;
24
   line-height: 24px;
24
   line-height: 24px;
25
   display: flex;
25
   display: flex;
27
   position: relative;
27
   position: relative;
28
 }
28
 }
29
 .cardItem {
29
 .cardItem {
30
-  font-size: 18px;
30
+  font-size:  0.11rem;
31
   font-weight: 400;
31
   font-weight: 400;
32
   color: #666;
32
   color: #666;
33
   line-height: 24px;
33
   line-height: 24px;
35
   align-items: center;
35
   align-items: center;
36
 }
36
 }
37
 .ediText {
37
 .ediText {
38
-  font-size: 18px;
38
+  font-size:  0.11rem;
39
   color: #ff925c;
39
   color: #ff925c;
40
   line-height: 24px;
40
   line-height: 24px;
41
   position: absolute;
41
   position: absolute;
43
 }
43
 }
44
 .title {
44
 .title {
45
   display: inline-block;
45
   display: inline-block;
46
-  width: 84px;
46
+  width:  0.54rem;
47
   justify-content: space-between;
47
   justify-content: space-between;
48
   text-align: justify;
48
   text-align: justify;
49
   text-align-last: justify;
49
   text-align-last: justify;

+ 9
- 8
src/pages/customer/drift/style.less View File

16
   margin: 10px 0px;
16
   margin: 10px 0px;
17
 }
17
 }
18
 .cardText {
18
 .cardText {
19
-  font-size: 18px;
20
   color: #333;
19
   color: #333;
21
-  line-height: 24px;
22
   display: flex;
20
   display: flex;
23
   align-items: center;
21
   align-items: center;
24
   position: relative;
22
   position: relative;
23
+  line-height: 1.5;
24
+  font-size: 0.11rem;
25
+  margin-bottom: 0.08rem;
25
 
26
 
26
 }
27
 }
27
 .cardItem{
28
 .cardItem{
28
-  font-size: 18px;
29
-  font-weight: 400;
30
   color: #666;
29
   color: #666;
31
-  line-height: 24px;
32
   display: flex;
30
   display: flex;
33
-  align-items: center;  
31
+  align-items: center; 
32
+  line-height: 1.5;
33
+  font-size: 0.11rem;
34
+  margin-bottom: 0.08rem; 
34
 }
35
 }
35
 .ediText {
36
 .ediText {
36
-  font-size: 18px;
37
+  font-size: 0.11rem;
37
   color: #ff925c;
38
   color: #ff925c;
38
   line-height: 24px;
39
   line-height: 24px;
39
   position: absolute;
40
   position: absolute;
41
 }
42
 }
42
 .title{
43
 .title{
43
   display: inline-block;
44
   display: inline-block;
44
-  width: 84px;
45
+  width:  0.54rem;
45
   justify-content: space-between;
46
   justify-content: space-between;
46
   text-align: justify;
47
   text-align: justify;
47
   text-align-last:justify
48
   text-align-last:justify

+ 4
- 4
src/pages/customer/independentList/style.css View File

16
   margin: 10px 0px;
16
   margin: 10px 0px;
17
 }
17
 }
18
 .cardText {
18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20
   color: #333;
20
   color: #333;
21
   line-height: 24px;
21
   line-height: 24px;
22
   display: flex;
22
   display: flex;
24
   position: relative;
24
   position: relative;
25
 }
25
 }
26
 .cardItem {
26
 .cardItem {
27
-  font-size: 18px;
27
+  font-size:  0.11rem;
28
   font-weight: 400;
28
   font-weight: 400;
29
   color: #666;
29
   color: #666;
30
   line-height: 24px;
30
   line-height: 24px;
32
   align-items: center;
32
   align-items: center;
33
 }
33
 }
34
 .ediText {
34
 .ediText {
35
-  font-size: 18px;
35
+  font-size:  0.11rem;
36
   color: #ff925c;
36
   color: #ff925c;
37
   line-height: 24px;
37
   line-height: 24px;
38
   position: absolute;
38
   position: absolute;
40
 }
40
 }
41
 .title {
41
 .title {
42
   display: inline-block;
42
   display: inline-block;
43
-  width: 84px;
43
+  width:  0.54rem;
44
   justify-content: space-between;
44
   justify-content: space-between;
45
   text-align: justify;
45
   text-align: justify;
46
   text-align-last: justify;
46
   text-align-last: justify;

+ 8
- 7
src/pages/customer/independentList/style.less View File

16
   margin: 10px 0px;
16
   margin: 10px 0px;
17
 }
17
 }
18
 .cardText {
18
 .cardText {
19
-  font-size: 18px;
20
   color: #333;
19
   color: #333;
21
-  line-height: 24px;
22
   display: flex;
20
   display: flex;
23
   align-items: center;
21
   align-items: center;
24
   position: relative;
22
   position: relative;
23
+  line-height: 1.5;
24
+  font-size: 0.11rem;
25
+  margin-bottom: 0.08rem;
25
 
26
 
26
 }
27
 }
27
 .cardItem{
28
 .cardItem{
28
-  font-size: 18px;
29
-  font-weight: 400;
30
   color: #666;
29
   color: #666;
31
-  line-height: 24px;
32
   display: flex;
30
   display: flex;
33
   align-items: center;  
31
   align-items: center;  
32
+  line-height: 1.5;
33
+  font-size: 0.11rem;
34
+  margin-bottom: 0.08rem;
34
 }
35
 }
35
 .ediText {
36
 .ediText {
36
-  font-size: 18px;
37
+  font-size: 0.11rem;
37
   color: #ff925c;
38
   color: #ff925c;
38
   line-height: 24px;
39
   line-height: 24px;
39
   position: absolute;
40
   position: absolute;
41
 }
42
 }
42
 .title{
43
 .title{
43
   display: inline-block;
44
   display: inline-block;
44
-  width: 84px;
45
+  width:  0.54rem;
45
   justify-content: space-between;
46
   justify-content: space-between;
46
   text-align: justify;
47
   text-align: justify;
47
   text-align-last:justify
48
   text-align-last:justify

+ 4
- 4
src/pages/customer/independentList/style.wxss View File

16
   margin: 10px 0px;
16
   margin: 10px 0px;
17
 }
17
 }
18
 .cardText {
18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20
   color: #333;
20
   color: #333;
21
   line-height: 24px;
21
   line-height: 24px;
22
   display: flex;
22
   display: flex;
24
   position: relative;
24
   position: relative;
25
 }
25
 }
26
 .cardItem {
26
 .cardItem {
27
-  font-size: 18px;
27
+  font-size:  0.11rem;
28
   font-weight: 400;
28
   font-weight: 400;
29
   color: #666;
29
   color: #666;
30
   line-height: 24px;
30
   line-height: 24px;
32
   align-items: center;
32
   align-items: center;
33
 }
33
 }
34
 .ediText {
34
 .ediText {
35
-  font-size: 18px;
35
+  font-size:  0.11rem;
36
   color: #ff925c;
36
   color: #ff925c;
37
   line-height: 24px;
37
   line-height: 24px;
38
   position: absolute;
38
   position: absolute;
40
 }
40
 }
41
 .title {
41
 .title {
42
   display: inline-block;
42
   display: inline-block;
43
-  width: 84px;
43
+  width:  0.54rem;
44
   justify-content: space-between;
44
   justify-content: space-between;
45
   text-align: justify;
45
   text-align: justify;
46
   text-align-last: justify;
46
   text-align-last: justify;

+ 4
- 4
src/pages/customer/recommendCustomer/style.css View File

16
   margin: 10px 0px;
16
   margin: 10px 0px;
17
 }
17
 }
18
 .cardText {
18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20
   color: #333;
20
   color: #333;
21
   line-height: 24px;
21
   line-height: 24px;
22
   display: flex;
22
   display: flex;
24
   position: relative;
24
   position: relative;
25
 }
25
 }
26
 .cardItem {
26
 .cardItem {
27
-  font-size: 18px;
27
+  font-size:  0.11rem;
28
   font-weight: 400;
28
   font-weight: 400;
29
   color: #666;
29
   color: #666;
30
   line-height: 24px;
30
   line-height: 24px;
32
   align-items: center;
32
   align-items: center;
33
 }
33
 }
34
 .ediText {
34
 .ediText {
35
-  font-size: 18px;
35
+  font-size:  0.11rem;
36
   color: #ff925c;
36
   color: #ff925c;
37
   line-height: 24px;
37
   line-height: 24px;
38
   position: absolute;
38
   position: absolute;
40
 }
40
 }
41
 .title {
41
 .title {
42
   display: inline-block;
42
   display: inline-block;
43
-  width: 84px;
43
+  width:  0.54rem;
44
   justify-content: space-between;
44
   justify-content: space-between;
45
   text-align: justify;
45
   text-align: justify;
46
   text-align-last: justify;
46
   text-align-last: justify;

+ 6
- 5
src/pages/customer/recommendCustomer/style.less View File

16
   margin: 10px 0px;
16
   margin: 10px 0px;
17
 }
17
 }
18
 .cardText {
18
 .cardText {
19
-  font-size: 18px;
20
   color: #333;
19
   color: #333;
21
-  line-height: 24px;
22
   display: flex;
20
   display: flex;
23
   align-items: center;
21
   align-items: center;
24
   position: relative;
22
   position: relative;
23
+  line-height: 1.5;
24
+  font-size: 0.11rem;
25
+  margin-bottom: 0.08rem;
25
 
26
 
26
 }
27
 }
27
 .cardItem{
28
 .cardItem{
28
-  font-size: 18px;
29
+  font-size: 0.11rem;
29
   font-weight: 400;
30
   font-weight: 400;
30
   color: #666;
31
   color: #666;
31
   line-height: 24px;
32
   line-height: 24px;
33
   align-items: center;  
34
   align-items: center;  
34
 }
35
 }
35
 .ediText {
36
 .ediText {
36
-  font-size: 18px;
37
+  font-size:  0.11rem;
37
   color: #ff925c;
38
   color: #ff925c;
38
   line-height: 24px;
39
   line-height: 24px;
39
   position: absolute;
40
   position: absolute;
41
 }
42
 }
42
 .title{
43
 .title{
43
   display: inline-block;
44
   display: inline-block;
44
-  width: 84px;
45
+  width:  0.54rem;
45
   justify-content: space-between;
46
   justify-content: space-between;
46
   text-align: justify;
47
   text-align: justify;
47
   text-align-last:justify
48
   text-align-last:justify

+ 4
- 4
src/pages/customer/recommendCustomer/style.wxss View File

16
   margin: 10px 0px;
16
   margin: 10px 0px;
17
 }
17
 }
18
 .cardText {
18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20
   color: #333;
20
   color: #333;
21
   line-height: 24px;
21
   line-height: 24px;
22
   display: flex;
22
   display: flex;
24
   position: relative;
24
   position: relative;
25
 }
25
 }
26
 .cardItem {
26
 .cardItem {
27
-  font-size: 18px;
27
+  font-size:  0.11rem;
28
   font-weight: 400;
28
   font-weight: 400;
29
   color: #666;
29
   color: #666;
30
   line-height: 24px;
30
   line-height: 24px;
32
   align-items: center;
32
   align-items: center;
33
 }
33
 }
34
 .ediText {
34
 .ediText {
35
-  font-size: 18px;
35
+  font-size:  0.11rem;
36
   color: #ff925c;
36
   color: #ff925c;
37
   line-height: 24px;
37
   line-height: 24px;
38
   position: absolute;
38
   position: absolute;
40
 }
40
 }
41
 .title {
41
 .title {
42
   display: inline-block;
42
   display: inline-block;
43
-  width: 84px;
43
+  width:  0.54rem;
44
   justify-content: space-between;
44
   justify-content: space-between;
45
   text-align: justify;
45
   text-align: justify;
46
   text-align-last: justify;
46
   text-align-last: justify;

+ 4
- 4
src/pages/customer/report/style.css View File

16
   margin: 10px 0px;
16
   margin: 10px 0px;
17
 }
17
 }
18
 .cardText {
18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20
   color: #333;
20
   color: #333;
21
   line-height: 24px;
21
   line-height: 24px;
22
   display: flex;
22
   display: flex;
24
   position: relative;
24
   position: relative;
25
 }
25
 }
26
 .cardItem {
26
 .cardItem {
27
-  font-size: 18px;
27
+  font-size:  0.11rem;
28
   font-weight: 400;
28
   font-weight: 400;
29
   color: #666;
29
   color: #666;
30
   line-height: 24px;
30
   line-height: 24px;
32
   align-items: center;
32
   align-items: center;
33
 }
33
 }
34
 .ediText {
34
 .ediText {
35
-  font-size: 18px;
35
+  font-size:  0.11rem;
36
   color: #ff925c;
36
   color: #ff925c;
37
   line-height: 24px;
37
   line-height: 24px;
38
   position: absolute;
38
   position: absolute;
40
 }
40
 }
41
 .title {
41
 .title {
42
   display: inline-block;
42
   display: inline-block;
43
-  width: 84px;
43
+  width:  0.54rem;
44
   justify-content: space-between;
44
   justify-content: space-between;
45
   text-align: justify;
45
   text-align: justify;
46
   text-align-last: justify;
46
   text-align-last: justify;

+ 9
- 7
src/pages/customer/report/style.less View File

16
   margin: 10px 0px;
16
   margin: 10px 0px;
17
 }
17
 }
18
 .cardText {
18
 .cardText {
19
-  font-size: 18px;
20
   color: #333;
19
   color: #333;
21
-  line-height: 24px;
22
   display: flex;
20
   display: flex;
23
   align-items: center;
21
   align-items: center;
24
   position: relative;
22
   position: relative;
23
+  line-height: 1.5;
24
+  font-size: 0.11rem;
25
+  margin-bottom: 0.08rem;
25
 
26
 
26
 }
27
 }
27
 .cardItem{
28
 .cardItem{
28
-  font-size: 18px;
29
-  font-weight: 400;
29
+
30
   color: #666;
30
   color: #666;
31
-  line-height: 24px;
32
   display: flex;
31
   display: flex;
33
   align-items: center;  
32
   align-items: center;  
33
+  line-height: 1.5;
34
+  font-size: 0.11rem;
35
+  margin-bottom: 0.08rem;
34
 }
36
 }
35
 .ediText {
37
 .ediText {
36
-  font-size: 18px;
38
+  font-size: 0.11rem;
37
   color: #ff925c;
39
   color: #ff925c;
38
   line-height: 24px;
40
   line-height: 24px;
39
   position: absolute;
41
   position: absolute;
41
 }
43
 }
42
 .title{
44
 .title{
43
   display: inline-block;
45
   display: inline-block;
44
-  width: 84px;
46
+  width:  0.54rem;
45
   justify-content: space-between;
47
   justify-content: space-between;
46
   text-align: justify;
48
   text-align: justify;
47
   text-align-last:justify
49
   text-align-last:justify

+ 4
- 4
src/pages/customer/report/style.wxss View File

16
   margin: 10px 0px;
16
   margin: 10px 0px;
17
 }
17
 }
18
 .cardText {
18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20
   color: #333;
20
   color: #333;
21
   line-height: 24px;
21
   line-height: 24px;
22
   display: flex;
22
   display: flex;
24
   position: relative;
24
   position: relative;
25
 }
25
 }
26
 .cardItem {
26
 .cardItem {
27
-  font-size: 18px;
27
+  font-size:  0.11rem;
28
   font-weight: 400;
28
   font-weight: 400;
29
   color: #666;
29
   color: #666;
30
   line-height: 24px;
30
   line-height: 24px;
32
   align-items: center;
32
   align-items: center;
33
 }
33
 }
34
 .ediText {
34
 .ediText {
35
-  font-size: 18px;
35
+  font-size:  0.11rem;
36
   color: #ff925c;
36
   color: #ff925c;
37
   line-height: 24px;
37
   line-height: 24px;
38
   position: absolute;
38
   position: absolute;
40
 }
40
 }
41
 .title {
41
 .title {
42
   display: inline-block;
42
   display: inline-block;
43
-  width: 84px;
43
+  width:  0.54rem;
44
   justify-content: space-between;
44
   justify-content: space-between;
45
   text-align: justify;
45
   text-align: justify;
46
   text-align-last: justify;
46
   text-align-last: justify;

+ 9
- 9
src/pages/news/list/NewsList.jsx View File

167
         cover={<img alt="example" src={data.newsImg} style={{ borderRadius: '12px 0 0 12px', width: '260px', height: '253px' }}></img>}
167
         cover={<img alt="example" src={data.newsImg} style={{ borderRadius: '12px 0 0 12px', width: '260px', height: '253px' }}></img>}
168
         bodyStyle={{ padding: '10px 20px' }}
168
         bodyStyle={{ padding: '10px 20px' }}
169
       >
169
       >
170
-        <span style={{ position: 'absolute', right: '20px', top: '20px', fontSize: '18px', color: '#FF7E48' }} onClick={toEditList(data.newsId)}>
170
+        <span style={{ position: 'absolute', right: '20px', top: '20px', fontSize: ' 0.11rem', color: '#FF7E48' }} onClick={toEditList(data.newsId)}>
171
           编辑
171
           编辑
172
                 <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '10px' }} />
172
                 <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '10px' }} />
173
         </span>
173
         </span>
174
         {data.newsStatus === 0 ?
174
         {data.newsStatus === 0 ?
175
-          <span style={{ position: 'absolute', left: '280px', bottom: '18px', fontSize: '18px', color: '#FF7E48' }} onClick={cancelRelease.bind(this, data.newsId, 1, data.buildingId, data.newsType.newsTypeId)}>
175
+          <span style={{ position: 'absolute', left: '280px', bottom: ' 0.11rem', fontSize: ' 0.11rem', color: '#FF7E48' }} onClick={cancelRelease.bind(this, data.newsId, 1, data.buildingId, data.newsType.newsTypeId)}>
176
             取消发布
176
             取消发布
177
               <Icon type="close-circle" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
177
               <Icon type="close-circle" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
178
           </span> :
178
           </span> :
179
-          <span style={{ position: 'absolute', left: '280px', bottom: '18px', fontSize: '18px', color: '#FF7E48' }} onClick={cancelRelease.bind(this, data.newsId, 0, data.buildingId, data.newsType.newsTypeId)}>
179
+          <span style={{ position: 'absolute', left: '280px', bottom: ' 0.11rem', fontSize: ' 0.11rem', color: '#FF7E48' }} onClick={cancelRelease.bind(this, data.newsId, 0, data.buildingId, data.newsType.newsTypeId)}>
180
             发布
180
             发布
181
               <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
181
               <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
182
           </span>
182
           </span>
183
         }
183
         }
184
 
184
 
185
-        <span style={{ position: 'absolute', right: '20px', bottom: '18px', fontSize: '18px', color: '#FF7E48' }} onClick={changeNewsListStatus(data.newsId)}>
185
+        <span style={{ position: 'absolute', right: '20px', bottom: ' 0.11rem', fontSize: ' 0.11rem', color: '#FF7E48' }} onClick={changeNewsListStatus(data.newsId)}>
186
           删除
186
           删除
187
                 <Icon type="rest" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
187
                 <Icon type="rest" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
188
         </span>
188
         </span>
189
         <div style={{ position: 'absolute', left: '260px', top: '0px', padding: '20px' }}>
189
         <div style={{ position: 'absolute', left: '260px', top: '0px', padding: '20px' }}>
190
           <p style={{
190
           <p style={{
191
-            fontSize: '18px', color: '#333', fontWeight: '600', marginBottom: '10px', overflow: 'hidden',
191
+            fontSize: ' 0.11rem', color: '#333', fontWeight: '600', marginBottom: '10px', overflow: 'hidden',
192
             textOverflow: 'ellipsis',
192
             textOverflow: 'ellipsis',
193
             whiteSpace: 'nowrap',
193
             whiteSpace: 'nowrap',
194
             width: '300px',
194
             width: '300px',
195
           }}>{data.newsName}</p>
195
           }}>{data.newsName}</p>
196
-          <p style={{ fontSize: '18px', color: '#555', marginBottom: '10px' }}>
196
+          <p style={{ fontSize: ' 0.11rem', color: '#555', marginBottom: '10px' }}>
197
             <span style={{ display: 'inline-block', width: '190px' }}>咨询类型:{data.newsType.newsTypeName}</span>
197
             <span style={{ display: 'inline-block', width: '190px' }}>咨询类型:{data.newsType.newsTypeName}</span>
198
             <span>状态:{data.newsStatus == 0 ? "已发布" : "未发布"}</span>
198
             <span>状态:{data.newsStatus == 0 ? "已发布" : "未发布"}</span>
199
           </p>
199
           </p>
200
 
200
 
201
-          <p style={{ fontSize: '18px', color: '#555', marginBottom: '10px' }}>
201
+          <p style={{ fontSize: ' 0.11rem', color: '#555', marginBottom: '10px' }}>
202
             <span style={{ display: 'inline-block', width: '190px' }}>阅读数量:{data.pvNum}</span>
202
             <span style={{ display: 'inline-block', width: '190px' }}>阅读数量:{data.pvNum}</span>
203
             <span>转发数量:{data.shareNum}</span>
203
             <span>转发数量:{data.shareNum}</span>
204
           </p>
204
           </p>
205
 
205
 
206
-          <p style={{ fontSize: '18px', color: '#555', marginBottom: '10px' }}>
206
+          <p style={{ fontSize: ' 0.11rem', color: '#555', marginBottom: '10px' }}>
207
             <span style={{ display: 'inline-block', width: '190px' }}>点赞数量:{data.favorNum}</span>
207
             <span style={{ display: 'inline-block', width: '190px' }}>点赞数量:{data.favorNum}</span>
208
             <span>收藏数量:{data.saveNum}</span>
208
             <span>收藏数量:{data.saveNum}</span>
209
           </p>
209
           </p>
210
 
210
 
211
-          <p style={{ fontSize: '18px', color: '#999', marginBottom: '10px' }}>发布时间:{data.createDate}</p>
211
+          <p style={{ fontSize: ' 0.11rem', color: '#999', marginBottom: '10px' }}>发布时间:{data.createDate}</p>
212
         </div>
212
         </div>
213
       </Card>
213
       </Card>
214
     )
214
     )

+ 8
- 7
src/pages/news/list/style.less View File

16
     margin: 10px 0px;
16
     margin: 10px 0px;
17
   }
17
   }
18
   .cardText {
18
   .cardText {
19
-    font-size: 18px;
20
     color: #333;
19
     color: #333;
21
-    line-height: 24px;
22
     display: flex;
20
     display: flex;
23
     align-items: center;
21
     align-items: center;
24
     position: relative;
22
     position: relative;
23
+    line-height: 1.5;
24
+    font-size: 0.11rem;
25
+    margin-bottom: 0.08rem;
25
   
26
   
26
   }
27
   }
27
   .cardItem{
28
   .cardItem{
28
-    font-size: 18px;
29
-    font-weight: 400;
30
     color: #666;
29
     color: #666;
31
-    line-height: 24px;
32
     display: flex;
30
     display: flex;
33
     align-items: center;  
31
     align-items: center;  
32
+    line-height: 1.5;
33
+    font-size: 0.11rem;
34
+    margin-bottom: 0.08rem;
34
   }
35
   }
35
   .ediText {
36
   .ediText {
36
-    font-size: 18px;
37
+    font-size: 0.11rem;
37
     color: #ff925c;
38
     color: #ff925c;
38
     line-height: 24px;
39
     line-height: 24px;
39
     position: absolute;
40
     position: absolute;
41
   }
42
   }
42
   .title{
43
   .title{
43
     display: inline-block;
44
     display: inline-block;
44
-    width: 84px;
45
+    width:  0.54rem;
45
     justify-content: space-between;
46
     justify-content: space-between;
46
     text-align: justify;
47
     text-align: justify;
47
     text-align-last:justify
48
     text-align-last:justify

+ 6
- 6
src/pages/staff/list/StaffList.jsx View File

66
     <Card className={Styles.card}>
66
     <Card className={Styles.card}>
67
       <div>
67
       <div>
68
 
68
 
69
-        <Avatar src={data.avatar} style={{ width: 94, height: 94 }} />
70
-        <Button type="link" style={{ marginLeft: '10px', color: '#FF925C', fontSize: '18px' }} onClick={toEditStaff(data.userId)}>
69
+        <Avatar src={data.avatar} style={{ width: '0.48rem', height: '0.48rem' }} />
70
+        <Button type="link" style={{ marginLeft: '0.04rem', color: '#FF925C', fontSize: '0.11rem' }} onClick={toEditStaff(data.userId)}>
71
           编辑
71
           编辑
72
-                <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
72
+                <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '0.04rem' }} />
73
         </Button>
73
         </Button>
74
-        <Button type="link" style={{ fontSize: '18px', color: '#cacaca', position: 'absolute', top: '50px', right: '0' }} onClick={confirm(data)}>
74
+        <Button type="link" style={{ fontSize: ' 0.11rem', color: '#cacaca', position: 'absolute', top: '40px', right: '0' }} onClick={confirm(data)}>
75
           {data.status === 1 ? '停用' : '启用'}
75
           {data.status === 1 ? '停用' : '启用'}
76
-                <Icon type={data.status===1?'close-circle':'form'} style={{ color: '#C0C4CC', marginLeft: '8px' }} />
76
+                <Icon type={data.status===1?'close-circle':'form'} style={{ color: '#C0C4CC', marginLeft: '0.04rem' }} />
77
         </Button>
77
         </Button>
78
-        {/* <Button type="link" style={{ fontSize: '18px', color: '#FF925C', position: 'absolute', top: '50px', right: '0' }} onClick={confirm}>
78
+        {/* <Button type="link" style={{ fontSize: ' 0.11rem', color: '#FF925C', position: 'absolute', top: '50px', right: '0' }} onClick={confirm}>
79
           启用
79
           启用
80
                 <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
80
                 <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
81
         </Button> */}
81
         </Button> */}

+ 14
- 14
src/pages/staff/list/style.less View File

13
 
13
 
14
 
14
 
15
 .card {
15
 .card {
16
-  min-width: 330px;
17
-  margin-right: 2vw;
18
-  height: 244px;
16
+  min-width: 240px;
17
+  margin-right: 0.1rem;
18
+  height: 240px;
19
   background: rgba(255, 255, 255, 1);
19
   background: rgba(255, 255, 255, 1);
20
   box-shadow: 0px 0px 16px 2px rgba(0, 0, 0, 0.12);
20
   box-shadow: 0px 0px 16px 2px rgba(0, 0, 0, 0.12);
21
   border-radius: 12px;
21
   border-radius: 12px;
22
   margin-bottom: 40px;
22
   margin-bottom: 40px;
23
   position: relative;
23
   position: relative;
24
+  
24
 }
25
 }
25
 
26
 
26
-
27
 .cardText {
27
 .cardText {
28
-  font-size: 20px;
28
+  font-size: 0.12rem;
29
   color: rgba(102, 102, 102, 1);
29
   color: rgba(102, 102, 102, 1);
30
   position: absolute;
30
   position: absolute;
31
-  bottom:52px;
31
+  bottom:0.28rem;
32
 }
32
 }
33
 .statusText {
33
 .statusText {
34
-  font-size: 20px;
34
+  font-size: 0.12rem;
35
   color: rgba(102, 102, 102, 1);
35
   color: rgba(102, 102, 102, 1);
36
   position: absolute;
36
   position: absolute;
37
-  bottom:52px;
37
+  bottom:0.28rem;
38
   right: 20px;
38
   right: 20px;
39
 }
39
 }
40
 .phoneText{
40
 .phoneText{
41
-  font-size: 20px;
41
+  font-size: 0.12rem;
42
   color: rgba(102, 102, 102, 1);
42
   color: rgba(102, 102, 102, 1);
43
   position: absolute;
43
   position: absolute;
44
-  bottom:16px;
44
+  bottom:0.05rem;
45
 }
45
 }
46
 
46
 
47
 .cardItem {
47
 .cardItem {
48
-  font-size: 18px;
49
-  font-weight: 400;
50
   color: #666;
48
   color: #666;
51
-  line-height: 24px;
52
   display: flex;
49
   display: flex;
53
   align-items: center;
50
   align-items: center;
51
+  line-height: 1.5;
52
+  font-size: 0.11rem;
53
+  margin-bottom: 0.08rem;
54
 }
54
 }
55
 
55
 
56
 
56
 
66
 
66
 
67
 .title {
67
 .title {
68
   display: inline-block;
68
   display: inline-block;
69
-  width: 84px;
69
+  width:  0.54rem;
70
   justify-content: space-between;
70
   justify-content: space-between;
71
   text-align: justify;
71
   text-align: justify;
72
   text-align-last: justify;
72
   text-align-last: justify;

+ 1
- 1
src/pages/user/login/components/Login/index.jsx View File

118
           <div className={styles.con}>
118
           <div className={styles.con}>
119
             <p className={styles.welcome}>Welcome</p>
119
             <p className={styles.welcome}>Welcome</p>
120
             <div className={styles.title}>
120
             <div className={styles.title}>
121
-              <span style={{fontSize:'18px',lineHeight:'18px'}}>ying xiao yun</span>
121
+              <span style={{fontSize:' 0.11rem',lineHeight:' 0.11rem'}}>ying xiao yun</span>
122
               <p className={styles.name}>营销云·系统</p>
122
               <p className={styles.name}>营销云·系统</p>
123
             </div>
123
             </div>
124
           </div>
124
           </div>

+ 1
- 1
src/pages/user/login/components/Login/index.less View File

91
 
91
 
92
   .prefixIcon {
92
   .prefixIcon {
93
     color: #fff;
93
     color: #fff;
94
-    font-size: 18px;
94
+    font-size:  0.11rem;
95
     background-color: #EF273A;
95
     background-color: #EF273A;
96
     padding: 3px 4px;
96
     padding: 3px 4px;
97
   }
97
   }

+ 96
- 5
src/services/apis.js View File

15
     current: {
15
     current: {
16
       method: 'GET',
16
       method: 'GET',
17
       url: `${prefix}/taUser/current`,
17
       url: `${prefix}/taUser/current`,
18
+      action: 'admin.taUser.current.get',
18
     },
19
     },
19
     signin: {
20
     signin: {
20
       method: 'POST',
21
       method: 'POST',
21
       url: `${prefix}/taUser/signin`,
22
       url: `${prefix}/taUser/signin`,
22
-      login: true
23
+      login: true,
24
+      action: 'admin.taUser.signin.post',
23
     },
25
     },
24
     signout: {
26
     signout: {
25
       method: 'POST',
27
       method: 'POST',
31
     getList: {
33
     getList: {
32
       method: 'GET',
34
       method: 'GET',
33
       url: `${prefix}/buildinglist`,
35
       url: `${prefix}/buildinglist`,
36
+      action: 'admin.buildinglist.get',
34
     },
37
     },
35
     updateStatus: {
38
     updateStatus: {
36
       method: 'PUT',
39
       method: 'PUT',
37
       url: `${prefix}/building/update/status`,
40
       url: `${prefix}/building/update/status`,
41
+      action: 'admin.building.update.status.put',
38
     },
42
     },
39
     addBuilding: {
43
     addBuilding: {
40
       method: 'POST',
44
       method: 'POST',
41
       url: `${prefix}/building/add`,
45
       url: `${prefix}/building/add`,
46
+      action: 'admin.building.add.post',
42
     },
47
     },
43
     updateBuilding: {
48
     updateBuilding: {
44
       method: 'PUT',
49
       method: 'PUT',
45
       url: `${prefix}/building/update`,
50
       url: `${prefix}/building/update`,
51
+      action: 'admin.building.update.put',
46
     },
52
     },
47
     buildingGetById: {
53
     buildingGetById: {
48
       method: 'GET',
54
       method: 'GET',
49
       url: `${prefix}/buildingSelectId/id`,
55
       url: `${prefix}/buildingSelectId/id`,
56
+      action: 'admin.buildingSelectId.id.get',
50
     },
57
     },
51
     deleteBuilding: {
58
     deleteBuilding: {
52
       method: 'DELETE',
59
       method: 'DELETE',
53
       url: `${prefix}/building/delete/id`,
60
       url: `${prefix}/building/delete/id`,
61
+      action: 'admin.building.delete.id.delete',
54
     },
62
     },
55
     buildingApartment: {
63
     buildingApartment: {
56
       method: 'GET',
64
       method: 'GET',
57
       url: `${prefix}/buildingApartment/buildingId/id`,
65
       url: `${prefix}/buildingApartment/buildingId/id`,
66
+      action: 'admin.buildingApartment.buildingId.id.get',
58
     },
67
     },
59
     buildingApartmentGetById: {
68
     buildingApartmentGetById: {
60
       method: 'GET',
69
       method: 'GET',
61
       url: `${prefix}/buildingApartment/id`,
70
       url: `${prefix}/buildingApartment/id`,
71
+      action: 'admin.buildingApartment.id.get',
62
     },
72
     },
63
     buildingApartmentUpdate: {
73
     buildingApartmentUpdate: {
64
       method: 'PUT',
74
       method: 'PUT',
65
       url: `${prefix}/buildingApartment/update`,
75
       url: `${prefix}/buildingApartment/update`,
76
+      action: 'admin.buildingApartment.update.put',
66
     },
77
     },
67
     buildingApartmentAdd: {
78
     buildingApartmentAdd: {
68
       method: 'POST',
79
       method: 'POST',
69
       url: `${prefix}/buildingApartment/add`,
80
       url: `${prefix}/buildingApartment/add`,
81
+      action: 'admin.buildingApartment.add.post',
70
     },
82
     },
71
     buildingApartmentDelete: {
83
     buildingApartmentDelete: {
72
       method: 'DELETE',
84
       method: 'DELETE',
73
       url: `${prefix}/apartment/deleted/id`,
85
       url: `${prefix}/apartment/deleted/id`,
86
+      action: 'admin.apartment.deleted.id.delete',
74
     },
87
     },
75
   },
88
   },
76
   buildingType: {
89
   buildingType: {
77
     getList: {
90
     getList: {
78
       method: 'GET',
91
       method: 'GET',
79
       url: `${prefix}/tdBuildingType`,
92
       url: `${prefix}/tdBuildingType`,
93
+      action: 'admin.tdBuildingType.get',
80
     },
94
     },
81
     delete: {
95
     delete: {
82
       method: 'DELETE',
96
       method: 'DELETE',
83
       url: `${prefix}/tdBuildingType/id`,
97
       url: `${prefix}/tdBuildingType/id`,
98
+      action: 'admin.tdBuildingType.id.delete',
84
     },
99
     },
85
     update: {
100
     update: {
86
       method: 'PUT',
101
       method: 'PUT',
87
       url: `${prefix}/tdBuildingType/id`,
102
       url: `${prefix}/tdBuildingType/id`,
103
+      action: 'admin.tdBuildingType.id.put',
88
     },
104
     },
89
     add: {
105
     add: {
90
       method: 'POST',
106
       method: 'POST',
91
       url: `${prefix}/tdBuildingType`,
107
       url: `${prefix}/tdBuildingType`,
108
+      action: 'admin.tdBuildingType.post',
92
     },
109
     },
93
     getById: {
110
     getById: {
94
       method: 'GET',
111
       method: 'GET',
95
       url: `${prefix}/tdBuildingType/id`,
112
       url: `${prefix}/tdBuildingType/id`,
113
+      action: 'admin.tdBuildingType.id.get',
96
     },
114
     },
97
   },
115
   },
98
   news: {
116
   news: {
99
     getList: {
117
     getList: {
100
       method: 'GET',
118
       method: 'GET',
101
       url: `${prefix}/taNews`,
119
       url: `${prefix}/taNews`,
120
+      action: 'admin.taNews.get',
102
     },
121
     },
103
   },
122
   },
104
   customer: {
123
   customer: {
105
     drift: {
124
     drift: {
106
       method: 'GET',
125
       method: 'GET',
107
       url: `${prefix}/customer/recommend/drift`,
126
       url: `${prefix}/customer/recommend/drift`,
127
+      action: 'admin.customer.recommend.drift.get',
108
     },
128
     },
109
     report: {
129
     report: {
110
       method: 'GET',
130
       method: 'GET',
111
       url: `${prefix}/customer/recommend/report`,
131
       url: `${prefix}/customer/recommend/report`,
132
+      action: 'admin.customer.recommend.report.get',
112
     },
133
     },
113
     recommender: {
134
     recommender: {
114
       method: 'GET',
135
       method: 'GET',
115
       url: `${prefix}/customer/recommend/recommender`,
136
       url: `${prefix}/customer/recommend/recommender`,
137
+      action: 'admin.customer.recommend.recommender.get',
116
     },
138
     },
117
     auto: {
139
     auto: {
118
       method: 'PUT',
140
       method: 'PUT',
119
       url: `${prefix}/customer/recommend/verify/id`,
141
       url: `${prefix}/customer/recommend/verify/id`,
142
+      action: 'admin.customer.recommend.verify.id.put',
120
     },
143
     },
121
     recommendGetById: {
144
     recommendGetById: {
122
       method: 'GET',
145
       method: 'GET',
123
       url: `${prefix}/customer/recommend/getById/id`,
146
       url: `${prefix}/customer/recommend/getById/id`,
147
+      action: 'admin.customer.recommend.getById.id.get',
124
     },
148
     },
125
     agents: {
149
     agents: {
126
       method: 'GET',
150
       method: 'GET',
127
       url: `${prefix}/customer/agents`,
151
       url: `${prefix}/customer/agents`,
152
+      action: 'admin.customer.agents.get',
128
     },
153
     },
129
     customerRecommend: {
154
     customerRecommend: {
130
       method: 'GET',
155
       method: 'GET',
131
       url: `${prefix}/customer/recommend`,
156
       url: `${prefix}/customer/recommend`,
157
+      action: 'admin.customer.recommend.get',
132
     },
158
     },
133
     consultant: {
159
     consultant: {
134
       method: 'GET',
160
       method: 'GET',
135
       url: `${prefix}/consultant`,
161
       url: `${prefix}/consultant`,
162
+      action: 'admin.consultant.get',
136
     },
163
     },
137
     recommendEdit: {
164
     recommendEdit: {
138
       method: 'PUT',
165
       method: 'PUT',
139
       url: `${prefix}/customer/recommend/edit/id`,
166
       url: `${prefix}/customer/recommend/edit/id`,
167
+      action: 'admin.customer.recommend.edit.id.put',
140
     },
168
     },
141
     taPointsRecords: {
169
     taPointsRecords: {
142
       method: 'GET',
170
       method: 'GET',
143
       url: `${prefix}/mine/taPointsRecords/id`,
171
       url: `${prefix}/mine/taPointsRecords/id`,
172
+      action: 'admin.mine.taPointsRecords.id.get',
144
     },
173
     },
145
     recommend: {
174
     recommend: {
146
       method: 'GET',
175
       method: 'GET',
147
       url: `${prefix}/customer/recommend/id`,
176
       url: `${prefix}/customer/recommend/id`,
177
+      action: 'admin.customer.recommend.id.get',
148
     },
178
     },
149
     InviteClientsList: {
179
     InviteClientsList: {
150
       method: 'GET',
180
       method: 'GET',
151
       url: `${prefix}/channel/InviteClientsList`,
181
       url: `${prefix}/channel/InviteClientsList`,
182
+      action: 'admin.channel.InviteClientsList.get',
152
     },
183
     },
153
     CustomerRecommendGet: {
184
     CustomerRecommendGet: {
154
       method: 'GET',
185
       method: 'GET',
155
       url: `${prefix}/customer/recommend/get/id`,
186
       url: `${prefix}/customer/recommend/get/id`,
187
+      action: 'admin.customer.recommend.get.id.get',
156
     },
188
     },
157
   },
189
   },
158
   indexEcharts: {
190
   indexEcharts: {
162
     },
194
     },
163
     userCity: {
195
     userCity: {
164
       method:'get',
196
       method:'get',
165
-      url: `${prefix}/selectCityUser`
197
+      url: `${prefix}/selectCityUser`,
198
+      action: 'admin.selectCityUser.get'
166
     },
199
     },
167
 
200
 
168
   },
201
   },
170
       list: {
203
       list: {
171
         method: 'GET',
204
         method: 'GET',
172
         url: `${prefix}/iBuildingDynamicList`,
205
         url: `${prefix}/iBuildingDynamicList`,
206
+        action: 'admin.iBuildingDynamicList.get',
173
       },
207
       },
174
       weight: {
208
       weight: {
175
         method: 'PUT',
209
         method: 'PUT',
176
         url: `${prefix}/buildingDynamic/weight`,
210
         url: `${prefix}/buildingDynamic/weight`,
211
+        action: 'admin.buildingDynamic.weight.put',
177
       },
212
       },
178
       cancel: {
213
       cancel: {
179
         method: 'PUT',
214
         method: 'PUT',
180
         url: `${prefix}/buildingDynamic/cancel/:id`,
215
         url: `${prefix}/buildingDynamic/cancel/:id`,
216
+        action: 'admin.buildingDynamic.cancel.dynamicId.put'
181
       },
217
       },
182
       send: {
218
       send: {
183
         url: `${prefix}/buildingDynamic/send/:id`,
219
         url: `${prefix}/buildingDynamic/send/:id`,
184
         method: 'PUT',
220
         method: 'PUT',
221
+        action: 'admin.buildingDynamic.send.dynamicId.put'
185
       },
222
       },
186
       finish: {
223
       finish: {
187
         url: `${prefix}/buildingDynamic/finish`,
224
         url: `${prefix}/buildingDynamic/finish`,
188
         method: 'PUT',
225
         method: 'PUT',
226
+        action: 'admin.buildingDynamic.finish.put'
189
       },
227
       },
190
       details: {
228
       details: {
191
         url: `${prefix}/buildingDynamic/Details`,
229
         url: `${prefix}/buildingDynamic/Details`,
192
         method: 'GET',
230
         method: 'GET',
231
+        action: 'admin.buildingDynamic.Details.get',
193
       },
232
       },
194
       update: {
233
       update: {
195
         url: `${prefix}/buildingDynamic/update`,
234
         url: `${prefix}/buildingDynamic/update`,
196
         method: 'PUT',
235
         method: 'PUT',
236
+        action: 'admin.buildingDynamic.update.put',
197
       },
237
       },
198
       add: {
238
       add: {
199
         url: `${prefix}/buildingDynamic/add`,
239
         url: `${prefix}/buildingDynamic/add`,
200
         method: 'POST',
240
         method: 'POST',
241
+        action: 'admin.buildingDynamic.add.post',
201
       },
242
       },
202
       poster: {
243
       poster: {
203
         url: `${prefix}/poster`,
244
         url: `${prefix}/poster`,
204
         method: 'GET',
245
         method: 'GET',
246
+        action: 'admin.poster.get',
205
       },
247
       },
206
       updatePoster: {
248
       updatePoster: {
207
         url: `${prefix}/poster/:id`,
249
         url: `${prefix}/poster/:id`,
208
         method: 'PUT',
250
         method: 'PUT',
251
+        action: 'admin.poster.id.put',
209
       },
252
       },
210
       addPoster: {
253
       addPoster: {
211
         url: `${prefix}/poster`,
254
         url: `${prefix}/poster`,
212
         method: 'POST',
255
         method: 'POST',
256
+        action: 'admin.poster.post',
213
       },
257
       },
214
       shareContent: {
258
       shareContent: {
215
         url: `${prefix}/shareContent`,
259
         url: `${prefix}/shareContent`,
216
         method: 'GET',
260
         method: 'GET',
261
+        action: 'admin.shareContent.get',
217
       },
262
       },
218
       updateShareContent: {
263
       updateShareContent: {
219
         url: `${prefix}/shareContent/:id`,
264
         url: `${prefix}/shareContent/:id`,
220
         method: 'PUT',
265
         method: 'PUT',
266
+        action: 'admin.shareContent.id.put',
221
       },
267
       },
222
       addShareContent: {
268
       addShareContent: {
223
         url: `${prefix}/shareContent`,
269
         url: `${prefix}/shareContent`,
224
         method: 'POST',
270
         method: 'POST',
271
+        action: 'admin.shareContent.post',
225
       },
272
       },
226
       signList: {
273
       signList: {
227
         url: `${prefix}/SignList`,
274
         url: `${prefix}/SignList`,
228
         method: 'GET',
275
         method: 'GET',
276
+        action: 'admin.SignList.get',
229
       }
277
       }
230
   },
278
   },
231
   integralMall: {
279
   integralMall: {
232
     tdPointsRules: {
280
     tdPointsRules: {
233
       url: `${prefix}/tdPointsRules`,
281
       url: `${prefix}/tdPointsRules`,
234
       method: 'GET',
282
       method: 'GET',
283
+      action: 'admin.tdPointsRules.get',
235
     },
284
     },
236
     change: {
285
     change: {
237
       url: `${prefix}/tdPointsRules/change`,
286
       url: `${prefix}/tdPointsRules/change`,
238
       method: 'PUT',
287
       method: 'PUT',
288
+      action: 'admin.tdPointsRules.change.put',
239
     },
289
     },
240
     taGoods: {
290
     taGoods: {
241
       url: `${prefix}/taGoods/:id`,
291
       url: `${prefix}/taGoods/:id`,
242
       method: 'GET',
292
       method: 'GET',
293
+      action: 'admin.taGoods.id.get',
243
     },
294
     },
244
     updateTaGoods: {
295
     updateTaGoods: {
245
       url: `${prefix}/taGoods`,
296
       url: `${prefix}/taGoods`,
246
       method: 'PUT',
297
       method: 'PUT',
298
+      action: 'admin.taGoods.put',
247
     },
299
     },
248
     addTaGoods: {
300
     addTaGoods: {
249
       url: `${prefix}/taGoods/add`,
301
       url: `${prefix}/taGoods/add`,
250
       method: 'POST',
302
       method: 'POST',
303
+      action: 'admin.taGoods.add.post',
251
     },
304
     },
252
     taPointsExchange: {
305
     taPointsExchange: {
253
       url: `${prefix}/taPointsExchange`,
306
       url: `${prefix}/taPointsExchange`,
254
-        method: 'GET',
307
+      method: 'GET',
308
+      action: 'admin.taPointsExchange.get',
255
     },
309
     },
256
     getTaGoods: {
310
     getTaGoods: {
257
       url: `${prefix}/taGoods`,
311
       url: `${prefix}/taGoods`,
258
       method: 'GET',
312
       method: 'GET',
313
+      action: 'admin.taGoods.get',
259
     },
314
     },
260
     changeTaGoods: {
315
     changeTaGoods: {
261
       url: `${prefix}/taGoods/change`,
316
       url: `${prefix}/taGoods/change`,
262
       method: 'PUT',
317
       method: 'PUT',
318
+      action: 'admin.taGoods.change.put',
263
     },
319
     },
264
     changeTaPointsExchange: {
320
     changeTaPointsExchange: {
265
       url: `${prefix}/taPointsExchange/change`,
321
       url: `${prefix}/taPointsExchange/change`,
266
       method: 'PUT',
322
       method: 'PUT',
323
+      action: 'admin.taPointsExchange.change.put',
267
     }
324
     }
268
   },
325
   },
269
   carsuseFigure: {
326
   carsuseFigure: {
270
     extendContent: {
327
     extendContent: {
271
       url: `${prefix}/extendContent`,
328
       url: `${prefix}/extendContent`,
272
       method: 'GET',
329
       method: 'GET',
330
+      action: 'admin.extendContent.get',
273
     },
331
     },
274
     finish: {
332
     finish: {
275
       url: `${prefix}/buildingDynamic/finish`,
333
       url: `${prefix}/buildingDynamic/finish`,
276
       method: 'PUT',
334
       method: 'PUT',
335
+      action: 'admin.buildingDynamic.finish.put',
277
     },
336
     },
278
     updataExtendContent: {
337
     updataExtendContent: {
279
       url: `${prefix}/extendContent/:id`,
338
       url: `${prefix}/extendContent/:id`,
280
       method: 'PUT',
339
       method: 'PUT',
340
+      action: 'admin.extendContent.id.put',
281
     },
341
     },
282
     getExtendContent: {
342
     getExtendContent: {
283
       url: `${prefix}/extendContent/:id`,
343
       url: `${prefix}/extendContent/:id`,
284
       method: 'GET',
344
       method: 'GET',
345
+      action: 'admin.extendContent.id.get',
285
     },
346
     },
286
     addExtendContent: {
347
     addExtendContent: {
287
       url: `${prefix}/extendContent`,
348
       url: `${prefix}/extendContent`,
288
       method: 'POST',
349
       method: 'POST',
350
+      action: 'admin.extendContent.post',
289
     }
351
     }
290
   },
352
   },
291
   system: {
353
   system: {
292
     taPolicy: {
354
     taPolicy: {
293
       url: `${prefix}/taPolicy/:id`,
355
       url: `${prefix}/taPolicy/:id`,
294
       method: 'GET',
356
       method: 'GET',
357
+      action: 'admin.taPolicy.id.get',
295
     },
358
     },
296
     updateTaPolicy: {
359
     updateTaPolicy: {
297
       url: `${prefix}/taPolicy/:id`,
360
       url: `${prefix}/taPolicy/:id`,
298
       method: 'PUT',
361
       method: 'PUT',
362
+      action: 'admin.taPolicy.id.put',
299
     },
363
     },
300
     addTaPolicy: {
364
     addTaPolicy: {
301
       url: `${prefix}/taPolicy`,
365
       url: `${prefix}/taPolicy`,
302
       method: 'POST',
366
       method: 'POST',
367
+      action: 'admin.taPolicy.post',
303
     },
368
     },
304
     getTaPolicy: {
369
     getTaPolicy: {
305
       url: `${prefix}/taPolicy`,
370
       url: `${prefix}/taPolicy`,
306
       method: 'GET',
371
       method: 'GET',
372
+      action: 'admin.taPolicy.get',
307
     },
373
     },
308
     deleteTaPolicy: {
374
     deleteTaPolicy: {
309
       url: `${prefix}/taPolicy/:id`,
375
       url: `${prefix}/taPolicy/:id`,
310
       method: 'DELETE',
376
       method: 'DELETE',
377
+      action: 'admin.taPolicy.id.delete',
311
     },
378
     },
312
     tdBizEventIntention: {
379
     tdBizEventIntention: {
313
       url: `${prefix}/tdBizEventIntention`,
380
       url: `${prefix}/tdBizEventIntention`,
314
       method: 'GET',
381
       method: 'GET',
382
+      action: 'admin.tdBizEventIntention.get',
315
     },
383
     },
316
     taBuildingIntentionAddOrUpdate: {
384
     taBuildingIntentionAddOrUpdate: {
317
       url: `${prefix}/taBuildingIntentionAddOrUpdate/:id`,
385
       url: `${prefix}/taBuildingIntentionAddOrUpdate/:id`,
318
       method: 'POST',
386
       method: 'POST',
387
+      action: 'admin.taBuildingIntentionAddOrUpdate.buildingId.post',
319
     },
388
     },
320
     taCustomerMessage: {
389
     taCustomerMessage: {
321
       url: `${prefix}/taCustomerMessage`,
390
       url: `${prefix}/taCustomerMessage`,
322
       method: 'GET',
391
       method: 'GET',
392
+      action: 'admin.taCustomerMessage.get',
323
     },
393
     },
324
     tdReports: {
394
     tdReports: {
325
       url: `${prefix}/tdReports`,
395
       url: `${prefix}/tdReports`,
326
       method: 'GET',
396
       method: 'GET',
397
+      action: 'admin.tdReports.get',
327
     },
398
     },
328
     taBuildingReports: {
399
     taBuildingReports: {
329
       url: `${prefix}/taBuildingReports`,
400
       url: `${prefix}/taBuildingReports`,
330
       method: 'GET',
401
       method: 'GET',
402
+      action: 'admin.taBuildingReports.get',
331
     },
403
     },
332
     addTaBuildingReports: {
404
     addTaBuildingReports: {
333
       url: `${prefix}/taBuildingReport/add`,
405
       url: `${prefix}/taBuildingReport/add`,
334
       method: 'POST',
406
       method: 'POST',
407
+      action: 'admin.taBuildingReport.add.post',
335
     }
408
     }
336
   },
409
   },
337
   staff: {
410
   staff: {
338
     taUser: {
411
     taUser: {
339
       url: `${prefix}/taUser`,
412
       url: `${prefix}/taUser`,
340
       method: 'GET',
413
       method: 'GET',
414
+      action: 'admin.taUser.get',
341
     },
415
     },
342
     taTags: {
416
     taTags: {
343
       url: `${prefix}/taTags`,
417
       url: `${prefix}/taTags`,
344
       method: 'GET',
418
       method: 'GET',
419
+      action: 'admin.taTags.get',
345
     },
420
     },
346
     getTaUser: {
421
     getTaUser: {
347
       url: `${prefix}/taUser/:id`,
422
       url: `${prefix}/taUser/:id`,
348
       method: 'GET',
423
       method: 'GET',
424
+      action: 'admin.taUser.id.get',
349
     },
425
     },
350
     updateTaUser: {
426
     updateTaUser: {
351
       url: `${prefix}/taUser/:id`,
427
       url: `${prefix}/taUser/:id`,
352
       method: 'PUT',
428
       method: 'PUT',
429
+      action: 'admin.taUser.id.put',
353
     },
430
     },
354
     addTaUser: {
431
     addTaUser: {
355
       url: `${prefix}/taUser`,
432
       url: `${prefix}/taUser`,
356
       method: 'POST',
433
       method: 'POST',
434
+      action: 'admin.taUser.post',
357
     },
435
     },
358
     change: {
436
     change: {
359
       url: `${prefix}/turn/taUser/:id/:type`,
437
       url: `${prefix}/turn/taUser/:id/:type`,
360
       method: 'PUT',
438
       method: 'PUT',
439
+      action: 'admin.turn.taUser.put',  
361
     },
440
     },
362
   },
441
   },
363
-
364
   channelList: {
442
   channelList: {
365
     getList: {
443
     getList: {
366
       url: `${prefix}/channel`,
444
       url: `${prefix}/channel`,
367
       method: 'GET',
445
       method: 'GET',
446
+      action: 'admin.channel.get',
368
     },
447
     },
369
     addChannel: {
448
     addChannel: {
370
       url: `${prefix}/channel`,
449
       url: `${prefix}/channel`,
371
       method: 'POST',
450
       method: 'POST',
451
+      action: 'admin.channel.post',
372
     },
452
     },
373
     getById: {
453
     getById: {
374
       url: `${prefix}/channel/:id`,
454
       url: `${prefix}/channel/:id`,
375
       method: 'GET',
455
       method: 'GET',
456
+      action: 'admin.channel.id.get',
376
     },
457
     },
377
     editChannel: {
458
     editChannel: {
378
       url: `${prefix}/channel/:id`,
459
       url: `${prefix}/channel/:id`,
379
       method: 'PUT',
460
       method: 'PUT',
461
+      action: 'admin.channel.id.put',
380
     },
462
     },
381
     getListBroker: {
463
     getListBroker: {
382
       url: `${prefix}/channel/broker`,
464
       url: `${prefix}/channel/broker`,
383
       method: 'GET',
465
       method: 'GET',
466
+      action: 'admin.channel.broker.get',
384
     },
467
     },
385
     getListRecommend: {
468
     getListRecommend: {
386
       url: `${prefix}/customer/recommend/:id`,
469
       url: `${prefix}/customer/recommend/:id`,
387
       method: 'GET',
470
       method: 'GET',
471
+      action: 'admin.customer.recommend.id.get',
388
     },
472
     },
389
     getListInvite: {
473
     getListInvite: {
390
-      url: `${prefix}/InviteClientsList`,
474
+      url: `${prefix}/channel/InviteClientsList`,
391
       method: 'GET',
475
       method: 'GET',
476
+      action: 'admin.InviteClientsList.get',
392
     },
477
     },
393
  },
478
  },
394
  role: {
479
  role: {
395
   getRoleList: {
480
   getRoleList: {
396
     url: `${prefix}/taRole`,
481
     url: `${prefix}/taRole`,
397
     method: 'GET',
482
     method: 'GET',
483
+    action: 'admin.taRole.get',
398
   },
484
   },
399
   stop: {
485
   stop: {
400
     url: `${prefix}/taRole/stop/:id`,
486
     url: `${prefix}/taRole/stop/:id`,
401
     method: 'PUT',
487
     method: 'PUT',
488
+    action: 'admin.taRole.stop.id.PUT',
402
   },
489
   },
403
   menuList: {
490
   menuList: {
404
     url: `${prefix}/menuList`,
491
     url: `${prefix}/menuList`,
405
     method: 'GET',
492
     method: 'GET',
493
+    action: 'admin.menuList.get',
406
   },
494
   },
407
   buttonList: {
495
   buttonList: {
408
     url: `${prefix}/buttonList`,
496
     url: `${prefix}/buttonList`,
409
     method: 'GET',
497
     method: 'GET',
498
+    action: 'admin.buttonList.get',
410
   },
499
   },
411
   buttonAndMenuList: {
500
   buttonAndMenuList: {
412
     url: `${prefix}/taRole/details/:id`,
501
     url: `${prefix}/taRole/details/:id`,
413
     method: 'GET',
502
     method: 'GET',
503
+    action: 'admin.taRole.details.id.get'
414
   },
504
   },
415
   updateAuthMenu: {
505
   updateAuthMenu: {
416
     url: `${prefix}/updateAuthMenu`,
506
     url: `${prefix}/updateAuthMenu`,
417
     method: 'POST',
507
     method: 'POST',
508
+    action: 'admin.updateAuthMenu.post',
418
   },
509
   },
419
  },
510
  },
420
   // indexEcharts:{
511
   // indexEcharts:{