Browse Source

提交

storemanagementweb
gwbvipvip 11 months ago
parent
commit
1bc3caeb06
82 changed files with 868 additions and 167 deletions
  1. +60
    -53
      config/routes.js
  2. +0
    -0
      dist/5228.7610e37a.chunk.css
  3. +1
    -1
      dist/5228.de6b192a.async.js
  4. +0
    -0
      dist/5977.8c6992c5.chunk.css
  5. +0
    -0
      dist/8328.688c2ff1.chunk.css
  6. +1
    -1
      dist/8633.01580c19.async.js
  7. +0
    -0
      dist/8633.dc6a9f8c.chunk.css
  8. +1
    -1
      dist/applet/appidmanager/appid/index.html
  9. +1
    -1
      dist/applet/appidmanager/index.html
  10. +1
    -1
      dist/applet/appidmanager/payment/index.html
  11. +1
    -1
      dist/applet/basicconfiguration/index.html
  12. +1
    -1
      dist/applet/index.html
  13. +1
    -1
      dist/applet/paytemplate/index.html
  14. +20
    -18
      dist/asset-manifest.json
  15. +1
    -1
      dist/company/account/index.html
  16. +1
    -1
      dist/company/index.html
  17. +1
    -1
      dist/database/basic/batching/index.html
  18. +1
    -1
      dist/database/goods/goodsInfo/index.html
  19. +1
    -1
      dist/database/goods/goodsattribute/index.html
  20. +1
    -1
      dist/database/goods/goodstypemanage/index.html
  21. +1
    -1
      dist/database/goods/newgoods/index.html
  22. +1
    -1
      dist/database/index.html
  23. +1
    -1
      dist/device/deviceInfo/index.html
  24. +1
    -1
      dist/device/deviceVesion/index.html
  25. +1
    -1
      dist/device/index.html
  26. +1
    -1
      dist/device/product/index.html
  27. +1
    -1
      dist/device/productmanage/index.html
  28. +1
    -1
      dist/index.html
  29. +1
    -1
      dist/org/index.html
  30. +1
    -1
      dist/org/orgamange/index.html
  31. +1
    -1
      dist/org/roles/index.html
  32. +1
    -1
      dist/org/users/index.html
  33. +1
    -0
      dist/p__applet__basicconfiguration.9b119b80.async.js
  34. +0
    -1
      dist/p__applet__basicconfiguration.a92306c9.async.js
  35. +1
    -0
      dist/p__applet__paytemplate.28b4461b.async.js
  36. +0
    -1
      dist/p__applet__paytemplate.97503778.async.js
  37. +1
    -0
      dist/p__database__goods__goodsInfo.76140e4f.async.js
  38. +0
    -1
      dist/p__database__goods__goodsInfo.fc17b63c.async.js
  39. +1
    -1
      dist/p__database__goods__newgoods.5acfdb51.async.js
  40. +1
    -1
      dist/p__device__deviceInfo.64ee08bc.async.js
  41. +1
    -1
      dist/p__device__productmanage.0188495c.async.js
  42. +1
    -1
      dist/p__org__orgamange.2a1ec583.async.js
  43. +1
    -1
      dist/p__push__batchingpush.404dd018.async.js
  44. +0
    -1
      dist/p__push__goodspush.14c18e11.async.js
  45. +1
    -0
      dist/p__push__goodspush.9d68f14d.async.js
  46. +1
    -0
      dist/p__push__technologypush.a1fc9dc4.async.js
  47. +1
    -0
      dist/p__push__technologypush.f6838307.chunk.css
  48. +0
    -1
      dist/p__shopmanage__storeGoodsInfo.54482ba0.async.js
  49. +1
    -0
      dist/p__shopmanage__storeGoodsInfo.624fd2d5.async.js
  50. +1
    -0
      dist/p__user__login.69b9b8d0.async.js
  51. +0
    -1
      dist/p__user__login.ff89c50f.async.js
  52. +1
    -1
      dist/push/batchingpush/index.html
  53. +1
    -1
      dist/push/bompush/index.html
  54. +1
    -1
      dist/push/goodspush/index.html
  55. +1
    -1
      dist/push/index.html
  56. +226
    -0
      dist/push/technologypush/index.html
  57. +1
    -1
      dist/shop/index.html
  58. +1
    -1
      dist/shopmanage/Printer/index.html
  59. +1
    -1
      dist/shopmanage/index.html
  60. +1
    -1
      dist/shopmanage/printerTemplate/index.html
  61. +1
    -1
      dist/shopmanage/storeAddGoodsInfo/index.html
  62. +1
    -1
      dist/shopmanage/storeAdvertisement/index.html
  63. +1
    -1
      dist/shopmanage/storeDesktopNumber/index.html
  64. +1
    -1
      dist/shopmanage/storeGoodsInfo/index.html
  65. +1
    -1
      dist/shopmanage/storeStaff/index.html
  66. +1
    -1
      dist/shopmanageorder/index.html
  67. +1
    -1
      dist/shopmanageorder/orderflow/index.html
  68. +1
    -1
      dist/shopmanageorder/thirdAuthorize/index.html
  69. +1
    -1
      dist/shopmanageorder/thirdOrder/index.html
  70. +1
    -1
      dist/sys/dictionary/dicttype/index.html
  71. +1
    -1
      dist/sys/index.html
  72. +1
    -1
      dist/sys/menus/index.html
  73. +11
    -11
      dist/umi.2ff8b62c.js
  74. +1
    -1
      dist/user/index.html
  75. +1
    -1
      dist/user/login/index.html
  76. +1
    -1
      dist/welcome/index.html
  77. +2
    -7
      src/pages/push/batchingpush/index.jsx
  78. +11
    -11
      src/pages/push/goodspush/components/PushFrom.jsx
  79. +2
    -7
      src/pages/push/goodspush/index.jsx
  80. +166
    -0
      src/pages/push/technologypush/components/PushFrom.jsx
  81. +262
    -0
      src/pages/push/technologypush/index.jsx
  82. +46
    -0
      src/pages/push/technologypush/services.js

+ 60
- 53
config/routes.js View File

@@ -206,35 +206,42 @@ export default [
// },
],
},
 {
    name: '设备数据下发',
    icon: 'BankFilled',
    path: '/push',
    routes: [
      {
        name: '商品数据下发',
        icon: 'smile',
        path: '/push/goodspush',
        component: './push/goodspush',
        access: 'k12',
      },
      {
        name: '物料数据下发',
        icon: 'smile',
        path: '/push/batchingpush',
        component: './push/batchingpush',
        access: 'k14',
      },
      {
        name: '配方数据下发',
        icon: 'smile',
        path: '/push/bompush',
        component: './push/bompush',
        access: 'k14',
      },
    ],
  },
{
name: '设备数据下发',
icon: 'BankFilled',
path: '/push',
routes: [
{
name: '商品数据下发',
icon: 'smile',
path: '/push/goodspush',
component: './push/goodspush',
access: 'k12',
},
{
name: '工艺数据下发',
icon: 'smile',
path: '/push/technologypush',
component: './push/technologypush',
access: 'k14',
},
{
name: '物料数据下发',
icon: 'smile',
path: '/push/batchingpush',
component: './push/batchingpush',
access: 'k14',
},
{
name: '配方数据下发',
icon: 'smile',
path: '/push/bompush',
component: './push/bompush',
access: 'k14',
},
],
},

{
path: '/shop',
icon: 'SettingOutlined',
@@ -330,30 +337,30 @@ export default [
],
},
{
    name: '订单管理',
    icon: 'BankFilled',
    path: '/shopmanageorder',
    routes: [
      {
        name: '订单流水',
        icon: 'smile',
        path: '/shopmanageorder/orderflow',
        component: './shopmanageorder/orderflow',
      },
      {
        name: '第三方订单',
        icon: 'smile',
        path: '/shopmanageorder/thirdOrder',
        component: './shopmanageorder/thirdOrder',
      },
      {
        name: '授权管理',
        icon: 'smile',
        path: '/shopmanageorder/thirdAuthorize',
        component: './shopmanageorder/thirdAuthorize',
    },
    ],
  },
name: '订单管理',
icon: 'BankFilled',
path: '/shopmanageorder',
routes: [
{
name: '订单流水',
icon: 'smile',
path: '/shopmanageorder/orderflow',
component: './shopmanageorder/orderflow',
},
{
name: '第三方订单',
icon: 'smile',
path: '/shopmanageorder/thirdOrder',
component: './shopmanageorder/thirdOrder',
},
{
name: '授权管理',
icon: 'smile',
path: '/shopmanageorder/thirdAuthorize',
component: './shopmanageorder/thirdAuthorize',
},
],
},
{
path: '/',
redirect: '/welcome',


dist/622.7610e37a.chunk.css → dist/5228.7610e37a.chunk.css View File


dist/5228.de6b192a.async.js
File diff suppressed because it is too large
View File


dist/4456.8c6992c5.chunk.css → dist/5977.8c6992c5.chunk.css View File


dist/534.688c2ff1.chunk.css → dist/8328.688c2ff1.chunk.css View File


dist/8633.01580c19.async.js
File diff suppressed because it is too large
View File


dist/4538.dc6a9f8c.chunk.css → dist/8633.dc6a9f8c.chunk.css View File


+ 1
- 1
dist/applet/appidmanager/appid/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/applet/appidmanager/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/applet/appidmanager/payment/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/applet/basicconfiguration/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/applet/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/applet/paytemplate/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 20
- 18
dist/asset-manifest.json View File

@@ -1,17 +1,17 @@
{
"/umi.css": "/umi.2d7db433.css",
"/umi.js": "/umi.d97222a9.js",
"/umi.js": "/umi.2ff8b62c.js",
"/t__plugin-layout__Layout.css": "/t__plugin-layout__Layout.e1129705.chunk.css",
"/t__plugin-layout__Layout.js": "/t__plugin-layout__Layout.bf40bd23.async.js",
"/p__user__login.css": "/p__user__login.be4c47a7.chunk.css",
"/p__user__login.js": "/p__user__login.ff89c50f.async.js",
"/p__user__login.js": "/p__user__login.69b9b8d0.async.js",
"/p__sys__menus.js": "/p__sys__menus.7e2aec92.async.js",
"/p__sys__dictionary__dicttype.css": "/p__sys__dictionary__dicttype.f6838307.chunk.css",
"/p__sys__dictionary__dicttype.js": "/p__sys__dictionary__dicttype.23fb8d43.async.js",
"/p__company__account.css": "/p__company__account.f6838307.chunk.css",
"/p__company__account.js": "/p__company__account.d466ea36.async.js",
"/p__org__orgamange.css": "/p__org__orgamange.5d1001bb.chunk.css",
"/p__org__orgamange.js": "/p__org__orgamange.73e8799c.async.js",
"/p__org__orgamange.js": "/p__org__orgamange.2a1ec583.async.js",
"/p__org__roles.js": "/p__org__roles.1f1ff1a5.async.js",
"/p__org__users.js": "/p__org__users.742ace03.async.js",
"/p__database__basic__batching.css": "/p__database__basic__batching.5b012b67.chunk.css",
@@ -20,24 +20,26 @@
"/p__database__goods__goodstypemanage.js": "/p__database__goods__goodstypemanage.af758cbf.async.js",
"/p__database__goods__goodsattribute.js": "/p__database__goods__goodsattribute.326bd497.async.js",
"/p__database__goods__newgoods.css": "/p__database__goods__newgoods.f3ef09c5.chunk.css",
"/p__database__goods__newgoods.js": "/p__database__goods__newgoods.2f2adf53.async.js",
"/p__database__goods__newgoods.js": "/p__database__goods__newgoods.5acfdb51.async.js",
"/p__database__goods__goodsInfo.css": "/p__database__goods__goodsInfo.67f6136b.chunk.css",
"/p__database__goods__goodsInfo.js": "/p__database__goods__goodsInfo.fc17b63c.async.js",
"/p__database__goods__goodsInfo.js": "/p__database__goods__goodsInfo.76140e4f.async.js",
"/p__device__product.js": "/p__device__product.ca8be7d4.async.js",
"/p__device__deviceInfo.js": "/p__device__deviceInfo.343be1a4.async.js",
"/p__device__deviceInfo.js": "/p__device__deviceInfo.64ee08bc.async.js",
"/p__device__deviceVesion.css": "/p__device__deviceVesion.63cc2960.chunk.css",
"/p__device__deviceVesion.js": "/p__device__deviceVesion.009937ac.async.js",
"/p__device__productmanage.js": "/p__device__productmanage.5bb62214.async.js",
"/p__device__productmanage.js": "/p__device__productmanage.0188495c.async.js",
"/p__push__goodspush.css": "/p__push__goodspush.f6838307.chunk.css",
"/p__push__goodspush.js": "/p__push__goodspush.14c18e11.async.js",
"/p__push__goodspush.js": "/p__push__goodspush.9d68f14d.async.js",
"/p__push__technologypush.css": "/p__push__technologypush.f6838307.chunk.css",
"/p__push__technologypush.js": "/p__push__technologypush.a1fc9dc4.async.js",
"/p__push__batchingpush.css": "/p__push__batchingpush.f6838307.chunk.css",
"/p__push__batchingpush.js": "/p__push__batchingpush.0a6884d8.async.js",
"/p__push__batchingpush.js": "/p__push__batchingpush.404dd018.async.js",
"/p__push__bompush.js": "/p__push__bompush.1840c32b.async.js",
"/p__shop.js": "/p__shop.b11a730b.async.js",
"/p__applet__paytemplate.css": "/p__applet__paytemplate.b77cf64e.chunk.css",
"/p__applet__paytemplate.js": "/p__applet__paytemplate.97503778.async.js",
"/p__applet__paytemplate.js": "/p__applet__paytemplate.28b4461b.async.js",
"/p__applet__basicconfiguration.css": "/p__applet__basicconfiguration.914f173e.chunk.css",
"/p__applet__basicconfiguration.js": "/p__applet__basicconfiguration.a92306c9.async.js",
"/p__applet__basicconfiguration.js": "/p__applet__basicconfiguration.9b119b80.async.js",
"/p__applet__appidmanager__payment.js": "/p__applet__appidmanager__payment.4be87eca.async.js",
"/p__applet__appidmanager__appid.js": "/p__applet__appidmanager__appid.75207889.async.js",
"/p__shopmanage__storeStaff.js": "/p__shopmanage__storeStaff.9c34ad42.async.js",
@@ -48,7 +50,7 @@
"/p__shopmanage__storeDesktopNumber.js": "/p__shopmanage__storeDesktopNumber.0976fca8.async.js",
"/p__shopmanage__storeAdvertisement.js": "/p__shopmanage__storeAdvertisement.a8df85c9.async.js",
"/p__shopmanage__storeGoodsInfo.css": "/p__shopmanage__storeGoodsInfo.48ea7f40.chunk.css",
"/p__shopmanage__storeGoodsInfo.js": "/p__shopmanage__storeGoodsInfo.54482ba0.async.js",
"/p__shopmanage__storeGoodsInfo.js": "/p__shopmanage__storeGoodsInfo.624fd2d5.async.js",
"/p__shopmanage__storeAddGoodsInfo.js": "/p__shopmanage__storeAddGoodsInfo.efe66551.async.js",
"/p__shopmanageorder__orderflow.css": "/p__shopmanageorder__orderflow.f6838307.chunk.css",
"/p__shopmanageorder__orderflow.js": "/p__shopmanageorder__orderflow.7b408576.async.js",
@@ -67,8 +69,8 @@
"/8790.67a4f36e.async.js": "/8790.67a4f36e.async.js",
"/7751.e9ca09cc.async.js": "/7751.e9ca09cc.async.js",
"/3537.6923ec17.async.js": "/3537.6923ec17.async.js",
"/622.7610e37a.chunk.css": "/622.7610e37a.chunk.css",
"/622.74c93b50.async.js": "/622.74c93b50.async.js",
"/5228.7610e37a.chunk.css": "/5228.7610e37a.chunk.css",
"/5228.de6b192a.async.js": "/5228.de6b192a.async.js",
"/9396.3fe14a67.async.js": "/9396.3fe14a67.async.js",
"/2826.7b79bd3f.async.js": "/2826.7b79bd3f.async.js",
"/3059.b3e40214.async.js": "/3059.b3e40214.async.js",
@@ -76,11 +78,11 @@
"/2255.a25b6bb8.async.js": "/2255.a25b6bb8.async.js",
"/9669.75110ec8.async.js": "/9669.75110ec8.async.js",
"/9361.2681a014.async.js": "/9361.2681a014.async.js",
"/4456.8c6992c5.chunk.css": "/4456.8c6992c5.chunk.css",
"/5977.8c6992c5.chunk.css": "/5977.8c6992c5.chunk.css",
"/9215.80966678.async.js": "/9215.80966678.async.js",
"/4538.dc6a9f8c.chunk.css": "/4538.dc6a9f8c.chunk.css",
"/4538.e38c5dc8.async.js": "/4538.e38c5dc8.async.js",
"/534.688c2ff1.chunk.css": "/534.688c2ff1.chunk.css",
"/8633.dc6a9f8c.chunk.css": "/8633.dc6a9f8c.chunk.css",
"/8633.01580c19.async.js": "/8633.01580c19.async.js",
"/8328.688c2ff1.chunk.css": "/8328.688c2ff1.chunk.css",
"/6486.837492aa.async.js": "/6486.837492aa.async.js",
"/3667.a51bb1c9.async.js": "/3667.a51bb1c9.async.js",
"/public/logo.png": "/logo.png",


+ 1
- 1
dist/company/account/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/company/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/database/basic/batching/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/database/goods/goodsInfo/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/database/goods/goodsattribute/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/database/goods/goodstypemanage/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/database/goods/newgoods/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/database/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/device/deviceInfo/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/device/deviceVesion/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/device/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/device/product/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/device/productmanage/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/org/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/org/orgamange/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/org/roles/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/org/users/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 0
dist/p__applet__basicconfiguration.9b119b80.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__applet__basicconfiguration.a92306c9.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__applet__paytemplate.28b4461b.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__applet__paytemplate.97503778.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__database__goods__goodsInfo.76140e4f.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__database__goods__goodsInfo.fc17b63c.async.js
File diff suppressed because it is too large
View File


dist/p__database__goods__newgoods.5acfdb51.async.js
File diff suppressed because it is too large
View File


dist/p__device__deviceInfo.64ee08bc.async.js
File diff suppressed because it is too large
View File


dist/p__device__productmanage.0188495c.async.js
File diff suppressed because it is too large
View File


dist/p__org__orgamange.2a1ec583.async.js
File diff suppressed because it is too large
View File


dist/p__push__batchingpush.404dd018.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__push__goodspush.14c18e11.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__push__goodspush.9d68f14d.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__push__technologypush.a1fc9dc4.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__push__technologypush.f6838307.chunk.css
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__shopmanage__storeGoodsInfo.54482ba0.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__shopmanage__storeGoodsInfo.624fd2d5.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__user__login.69b9b8d0.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__user__login.ff89c50f.async.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/push/batchingpush/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/push/bompush/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/push/goodspush/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/push/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 226
- 0
dist/push/technologypush/index.html View File

@@ -0,0 +1,226 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="keywords"
content="antd,umi,umijs,ant design,Scaffolding, layout, Ant Design, project, Pro, admin, console, homepage, out-of-the-box, middle and back office, solution, component library"
/>
<meta
name="description"
content="
An out-of-box UI solution for enterprise applications as a React boilerplate."
/>
<meta
name="description"
content="
Out-of-the-box mid-stage front-end/design solution."
/>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
/>
<title>Ant Design Pro</title>
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<!-- <script src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=Rvf71uBzNi7rWo1bhCvzbmLTFbPihNur"></script> -->
<link rel="stylesheet" href="/umi.2d7db433.css" />
<script>
window.routerBase = "/";
</script>
<script>
//! umi version: 3.5.39
</script>
</head>
<body>
<noscript>Out-of-the-box mid-stage front/design solution!</noscript>
<div id="root">
<style>
html,
body,
#root {
height: 100%;
margin: 0;
padding: 0;
}
#root {
background-repeat: no-repeat;
background-size: 100% auto;
}
.page-loading-warp {
display: flex;
align-items: center;
justify-content: center;
padding: 98px;
}
.ant-spin {
position: absolute;
display: none;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.65);
color: #1890ff;
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
text-align: center;
list-style: none;
opacity: 0;
-webkit-transition: -webkit-transform 0.3s
cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: -webkit-transform 0.3s
cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86),
-webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
-webkit-font-feature-settings: "tnum";
font-feature-settings: "tnum";
}

.ant-spin-spinning {
position: static;
display: inline-block;
opacity: 1;
}

.ant-spin-dot {
position: relative;
display: inline-block;
width: 20px;
height: 20px;
font-size: 20px;
}

.ant-spin-dot-item {
position: absolute;
display: block;
width: 9px;
height: 9px;
background-color: #1890ff;
border-radius: 100%;
-webkit-transform: scale(0.75);
-ms-transform: scale(0.75);
transform: scale(0.75);
-webkit-transform-origin: 50% 50%;
-ms-transform-origin: 50% 50%;
transform-origin: 50% 50%;
opacity: 0.3;
-webkit-animation: antspinmove 1s infinite linear alternate;
animation: antSpinMove 1s infinite linear alternate;
}

.ant-spin-dot-item:nth-child(1) {
top: 0;
left: 0;
}

.ant-spin-dot-item:nth-child(2) {
top: 0;
right: 0;
-webkit-animation-delay: 0.4s;
animation-delay: 0.4s;
}

.ant-spin-dot-item:nth-child(3) {
right: 0;
bottom: 0;
-webkit-animation-delay: 0.8s;
animation-delay: 0.8s;
}

.ant-spin-dot-item:nth-child(4) {
bottom: 0;
left: 0;
-webkit-animation-delay: 1.2s;
animation-delay: 1.2s;
}

.ant-spin-dot-spin {
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-animation: antrotate 1.2s infinite linear;
animation: antRotate 1.2s infinite linear;
}

.ant-spin-lg .ant-spin-dot {
width: 32px;
height: 32px;
font-size: 32px;
}

.ant-spin-lg .ant-spin-dot i {
width: 14px;
height: 14px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.ant-spin-blur {
background: #fff;
opacity: 0.5;
}
}

@-webkit-keyframes antSpinMove {
to {
opacity: 1;
}
}

@keyframes antSpinMove {
to {
opacity: 1;
}
}

@-webkit-keyframes antRotate {
to {
-webkit-transform: rotate(405deg);
transform: rotate(405deg);
}
}

@keyframes antRotate {
to {
-webkit-transform: rotate(405deg);
transform: rotate(405deg);
}
}
</style>
<div
style="
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
min-height: 420px;
"
>
<img src="/pro_icon.svg" alt="logo" width="256" />
<div class="page-loading-warp">
<div class="ant-spin ant-spin-lg ant-spin-spinning">
<span class="ant-spin-dot ant-spin-dot-spin"
><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i
><i class="ant-spin-dot-item"></i><i class="ant-spin-dot-item"></i
></span>
</div>
</div>
<div
style="display: flex; align-items: center; justify-content: center"
>
<img
src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
width="32"
style="margin-right: 8px"
/>
Ant Design
</div>
</div>
</div>

<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/shop/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/shopmanage/Printer/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/shopmanage/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/shopmanage/printerTemplate/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/shopmanage/storeAddGoodsInfo/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/shopmanage/storeAdvertisement/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/shopmanage/storeDesktopNumber/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/shopmanage/storeGoodsInfo/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/shopmanage/storeStaff/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/shopmanageorder/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/shopmanageorder/orderflow/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/shopmanageorder/thirdAuthorize/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/shopmanageorder/thirdOrder/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/sys/dictionary/dicttype/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/sys/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/sys/menus/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

dist/umi.2ff8b62c.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/user/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/user/login/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 1
- 1
dist/welcome/index.html View File

@@ -221,6 +221,6 @@
</div>
</div>

<script src="/umi.d97222a9.js"></script>
<script src="/umi.2ff8b62c.js"></script>
</body>
</html>

+ 2
- 7
src/pages/push/batchingpush/index.jsx View File

@@ -80,15 +80,10 @@ const goodspush = () => {
dataIndex: 'type',
ellipsis: true,
valueEnum: {
1: {
text: '商品',
},
2: {
text: '物料',
},
3: {
text: '配方',
},
},
},
{
@@ -255,7 +250,7 @@ const HandleOk= async(values)=>{
<ProDescriptions.Item label="topic" valueType="text" copyable={true}>
<a href='#'>{currentRow?.topic}</a>
</ProDescriptions.Item>
<ProDescriptions.Item label="下发数据" valueType="jsonCode" >
<ProDescriptions.Item contentStyle={{ maxWidth: '85%'}} label="下发数据" valueType="jsonCode" >
{currentRow?.dataResore}
</ProDescriptions.Item>
</ProDescriptions>


+ 11
- 11
src/pages/push/goodspush/components/PushFrom.jsx View File

@@ -89,18 +89,18 @@ const PushFrom = (props) => {
}else{
var de=DeviceInfo.find(x=>x.id==DeviceIds);
var data={goodsinfo:[]};
if(isGlogy){
data.goodstechnology=[]
}
// if(isGlogy){
// data.goodstechnology=[]
// }
selectedRowsState.map(x=>{
var pa={id:x.id,code:x.code,goodsTypeId:x.goodsTypeId,goodsTypeName:x.goodsTypeName,goodsUintId:x.goodsUintId,imgUrl:x.imgUrl,isAttrubute:x.isAttrubute,name:x.name,price:x.price,design:x.design,remark:x.remark}
data.goodsinfo.push(pa);
if(isGlogy){
//data.goodstechnology=[]
if(x.goodstechnology.length>0){
data.goodstechnology.push(x.goodstechnology)
}
}
// if(isGlogy){
// //data.goodstechnology=[]
// if(x.goodstechnology.length>0){
// data.goodstechnology.push(x.goodstechnology)
// }
// }
})
var parm={deviceId:de.id,deviceName:de.name,deviceAutoKey:de.autoKey,type:1,data:data}
props.HandleOk(parm)
@@ -126,12 +126,12 @@ const PushFrom = (props) => {
</Col>
</Row>
<Row style={{marginBottom:20}}>
{/* <Row style={{marginBottom:20}}>
<Col lg={24} md={24} sm={24}>
是否包含工艺:
<Switch checkedChildren="是" unCheckedChildren="否" checked={isGlogy} value={isGlogy} onChange={onChange} />
</Col>
</Row>
</Row> */}
<Row gutter={26}>
<Col span={24}>
选择数据:


+ 2
- 7
src/pages/push/goodspush/index.jsx View File

@@ -83,12 +83,7 @@ const goodspush = () => {
1: {
text: '商品',
},
2: {
text: '物料',
},
3: {
text: '配方',
},
},
},
{
@@ -255,7 +250,7 @@ const HandleOk= async(values)=>{
<ProDescriptions.Item label="topic" valueType="text" copyable={true}>
<a href='#'>{currentRow?.topic}</a>
</ProDescriptions.Item>
<ProDescriptions.Item label="下发数据" valueType="jsonCode" >
<ProDescriptions.Item contentStyle={{ maxWidth: '85%'}} label="下发数据" valueType="jsonCode" >
{currentRow?.dataResore}
</ProDescriptions.Item>
</ProDescriptions>


+ 166
- 0
src/pages/push/technologypush/components/PushFrom.jsx View File

@@ -0,0 +1,166 @@
import React, { useState, useEffect,useRef } from 'react';
import { Modal, Row, Col, Checkbox, Select,message,Switch} from 'antd';
import ProTable from '@ant-design/pro-table';
import {
GetDeviceList,
GetGoodsPage,
GetGoodsTypeTree
} from '../services';
const PushFrom = (props) => {
const [deviceData, setdeviceData] = useState([]);
const [selectedRowsState, setSelectedRows] = useState([]);
const [dataSource,setdataSource]= useState([]);
const [treeData, setTreeData] = useState();
const [DeviceIds, setDeviceIds] = useState();
const [DeviceInfo, setDeviceInfo] = useState([]);
const [isGlogy, setisGlogy] = useState(false);
const actionRef = useRef();
useEffect(() => {
console.log(props.values)
GetDeviceList().then((r)=>{
setDeviceInfo(r.data)
var data=r.data.map(x=>{
return {value:x.id,label:x.name}
})
setdeviceData(data)
})
GetGoodsTypeTree().then((r) => {
setTreeData(r.data);
});
var params={current:1,pageSize:10}
GetGoodsData(params)
},[props.values])
const GetGoodsData=(params)=>{
GetGoodsPage(params).then((r) => {
setdataSource(r.data.data);
//console.log(goodsData)
//total = r.data.total;
});
}
const handleChange=(value)=>{
setDeviceIds(value)
var params={current:1,pageSize:10,deviceId:value}
GetGoodsData(params)
}
const onChange=(checked)=>{
if(!DeviceIds){
message.error('请先选择设备');
}else{
setisGlogy(checked)
}
}
const columns=[
{
title: '编码',
dataIndex: 'code',
valueType: 'textarea',
hideInTable: true,
hideInSearch: true,
},
{
title: '名称',
dataIndex: 'name',
valueType: 'textarea',
},
{
title: '商品类型',
dataIndex: 'goodsTypeName',
valueType: 'treeSelect',
fieldProps: {
showSearch:true,
allowClear:true,
options: treeData
},
},
]
return (
<Modal
title={'下发数据'}
width={1040}
visible={props.createModalVisible}
bodyStyle={{ padding: '32px 40px 1px 48px' }}
okText="确定"
cancelText="取消"
onOk={() => {
if(!DeviceIds){
message.error('请选择设备');
}else{
var de=DeviceInfo.find(x=>x.id==DeviceIds);
var data={goodstechnology:[]};
// if(isGlogy){
// data.goodstechnology=[]
// }
selectedRowsState.map(x=>{
// var pa={id:x.id,code:x.code,goodsTypeId:x.goodsTypeId,goodsTypeName:x.goodsTypeName,goodsUintId:x.goodsUintId,imgUrl:x.imgUrl,isAttrubute:x.isAttrubute,name:x.name,price:x.price,design:x.design,remark:x.remark}
// data.goodsinfo.push(pa);
// if(isGlogy){
// //data.goodstechnology=[]
if(x.goodstechnology.length>0){
data.goodstechnology.push(x.goodstechnology)
}
// }
})
if(data.goodstechnology.length==0){
message.error('选择的商品还没有工艺');
}else{
var parm={deviceId:de.id,deviceName:de.name,deviceAutoKey:de.autoKey,type:4,data:data}
props.HandleOk(parm)
console.log(de)
}
}
}}
onCancel={() => {
props.onCancel();
}}
destroyOnClose
>
<Row gutter={26} style={{marginBottom:20}}>
<Col lg={24} md={24} sm={24}>
选择设备:
<Select
allowClear
style={{width: '60%'}}
placeholder="请选择要下发设备"
onChange={handleChange}
options={deviceData}
/>
</Col>
</Row>
{/* <Row style={{marginBottom:20}}>
<Col lg={24} md={24} sm={24}>
是否包含工艺:
<Switch checkedChildren="是" unCheckedChildren="否" checked={isGlogy} value={isGlogy} onChange={onChange} />
</Col>
</Row> */}
<Row gutter={26}>
<Col span={24}>
选择数据:
<ProTable
headerTitle=""
actionRef={actionRef}
rowKey="id"
pagination={{ defaultPageSize: 10 }}
search={{
labelWidth: 120,
}}
dataSource={dataSource}
columns={columns}
rowSelection={{
onChange: (_, selectedRows) => {
setSelectedRows(selectedRows);
},
}}
>
</ProTable>
</Col>
</Row>
</Modal>
);
};

export default PushFrom;

+ 262
- 0
src/pages/push/technologypush/index.jsx View File

@@ -0,0 +1,262 @@
import { PlusOutlined } from '@ant-design/icons';
import { Button, message, Input, Drawer, Popconfirm } from 'antd';
import React, { useState, useRef, useEffect } from 'react';
import { PageContainer, FooterToolbar } from '@ant-design/pro-layout';
import ProTable from '@ant-design/pro-table';
import ProDescriptions from '@ant-design/pro-descriptions';
import PushFrom from './components/PushFrom';

import {
GetDevicePushRecodePage,
DevicePushRecodeAdd,
DevicePushRecodeDelete
} from './services';



const goodspush = () => {
/** 新建/更新窗口的弹窗 */
const [createModalVisible, handleModalVisible] = useState(false);
/** 分布更新窗口的弹窗 */
const [showDetail, setShowDetail] = useState(false);
const actionRef = useRef();
const [currentRow, setCurrentRow] = useState();
const [selectedRowsState, setSelectedRows] = useState([]);
/** 国际化修改 */
useEffect(() => {
}, []);

/**
* 批量删除
*
* @param selectedRows
*/
const handleRemove = async (selectedRows) => {
const hide = message.loading('正在删除');
if (!selectedRows) return true;
await DevicePushRecodeDelete(selectedRows.map((row) => row.id)).then((r) => {
if (r.succeeded) {
message.success('删除成功');
actionRef.current.reload();
} else {
message.error(r.errors);
}
});
hide();
return true;
};
const columns = [
{
title: '主键',
dataIndex: 'id',
hideInSearch: true,
hideInTable: true,
tip: '规则名称是唯一的 key',
render: (dom, entity) => {
return (
<a
onClick={() => {
setCurrentRow(entity);
setShowDetail(true);
}}
>
{dom}
</a>
);
},
},
{
title: '下发设备',
dataIndex: 'deviceName',
valueType: 'textarea',
ellipsis: true,
},

{
title: '下发数据',
dataIndex: 'type',
ellipsis: true,
valueEnum: {
4: {
text: '工艺',
},
},
},
{
title: '下发时间',
dataIndex: 'createAt',
hideInSearch: true,
},
{
title: '操作',
dataIndex: 'option',
valueType: 'option',
render: (_, record) => [
<a
key="config"
onClick={() => {
setShowDetail(true);
setCurrentRow(record);
}}
>
下发详情
</a>,
<Popconfirm
type="primary"
key="primary"
title="确认删除吗?"
okText="是"
cancelText="否"
onConfirm={async () => {
await DeleteGoodsType(record.id).then((r) => {
if (r.succeeded) {
message.success('删除成功');
actionRef.current.reload();
} else {
message.error(r.errors);
}
});
}}
onCancel={() => {}}
>
<a href="#">删除</a>
</Popconfirm>,
],
},
];
const HandleOk= async(values)=>{
await DevicePushRecodeAdd(values).then((res)=>{
if(res.data){
message.success('操作成功');
handleModalVisible(false);
actionRef.current.reload();
}else{
message.error('操作失败');
}
})
}
return (
<PageContainer host header={{
title: '',
breadcrumb: {},
}}>
<ProTable
headerTitle=""
actionRef={actionRef}
rowKey="id"
pagination={{ defaultPageSize: 10 }}
search={{
labelWidth: 120,
}}
toolBarRender={() => [
<Button
type="primary"
key="primary"
onClick={() => {
handleModalVisible(true);
}}
>
<PlusOutlined /> 下发数据
</Button>,
]}
request={async (params) => {
var goodsData = [];
var total = 0;
params.type=4
await GetDevicePushRecodePage(params).then((r) => {
goodsData = r.data.data;
total = r.data.total;
});
return {
data: goodsData,
success: true,
total: total,
};
}}
columns={columns}
rowSelection={{
onChange: (_, selectedRows) => {
setSelectedRows(selectedRows);
},
}}
/>
{selectedRowsState?.length > 0 && (
<FooterToolbar
extra={
<div>
已选择{' '}
<a
style={{
fontWeight: 600,
}}
>
{selectedRowsState.length}
</a>{' '}
项 &nbsp;&nbsp;
{/* <span>
服务调用次数总计 {selectedRowsState.reduce((pre, item) => pre + item.id, 0)} 万
</span> */}
</div>
}
>
<Button
onClick={async () => {
await handleRemove(selectedRowsState);
setSelectedRows([]);
actionRef.current?.reloadAndRest?.();
}}
>
删除
</Button>
{/* <Button type="primary">批量审批</Button> */}
</FooterToolbar>
)}

<PushFrom
onFinish={async (value) => {
}}
onCancel={() => {
handleModalVisible(false);
setCurrentRow(undefined);
}}
createModalVisible={createModalVisible}
HandleOk={HandleOk}
values={currentRow || {}}
/>

<Drawer
width={600}
visible={showDetail}
onClose={() => {
setCurrentRow(undefined);
setShowDetail(false);
}}
closable={false}
>
{currentRow?.deviceName && (
<ProDescriptions
column={1}
title="下发详情"
>
<ProDescriptions.Item label="下发设备" valueType="text">
{currentRow?.deviceName}
</ProDescriptions.Item>
<ProDescriptions.Item label="topic" valueType="text" copyable={true}>
<a href='#'>{currentRow?.topic}</a>
</ProDescriptions.Item>
<ProDescriptions.Item contentStyle={{ maxWidth: '85%'}} label="下发数据" valueType="jsonCode" >
{currentRow?.dataResore}
</ProDescriptions.Item>
</ProDescriptions>
)}
</Drawer>
</PageContainer>
);
};

export default goodspush;

+ 46
- 0
src/pages/push/technologypush/services.js View File

@@ -0,0 +1,46 @@
import { request } from 'umi';
export async function GetDevicePushRecodePage(data) {
return request(`/saasstore/api/devicepushrecode/page`, {
method: 'POST',
data: data,
});
}
export async function DevicePushRecodeAdd(data) {
return request(`/saasstore/api/devicepushrecode/add`, {
method: 'POST',
data: data,
});
}
export async function DevicePushRecodeUpdate(data) {
return request(`/saasstore/api/devicepushrecode/update`, {
method: 'POST',
data: data,
});
}
export async function DevicePushRecodeDelete(data) {
return request(`/saasstore/api/devicepushrecode/delete`, {
method: 'POST',
data: data,
});
}
export async function GetDeviceList() {
return request(`/saasbase/api/device/list`, {
method: 'GET',
});
}
export async function GetGoodsTypeTree(params) {
return request('​/saasbase/api​/goodstype/tree', {
method: 'GET',
data: {
...params,
},
});
}
export async function GetGoodsPage(data) {
return request(`/saasbase/api/goods/page`, {
method: 'Post',
data: data,
// params: { ...params },
// ...(options || {}),
});
}

Loading…
Cancel
Save