diff --git a/src/api/policy/index.js b/src/api/policy/index.js index 0fcd3f8..299162c 100644 --- a/src/api/policy/index.js +++ b/src/api/policy/index.js @@ -27,7 +27,7 @@ export function save(data){ export function destroy(data){ return request({ method:'post', - url:'/api/admin/policy/delete', + url:'/api/admin/policy/destroy', data }) } diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index 524ff88..ba0ec6a 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -1,89 +1,89 @@ - - - - - diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js index 22a1268..7098f3c 100644 --- a/src/store/modules/permission.js +++ b/src/store/modules/permission.js @@ -1,4 +1,3 @@ -import Vue from 'vue' import { asyncRoutes, constantRoutes @@ -72,7 +71,7 @@ const componentHandler = (path) => { if(path === '#' || path === ''){ return Layout } - if(path.includes('#') && path != '#'){ + if(path.includes('#') && path !== '#'){ return ()=>import('@/layout/noLayout') } return loadView(path) @@ -104,6 +103,11 @@ export function generaMenu(routes, data) { routes.push(menu) } }) + routes.push({ + path: '*', + redirect: '/404', + hidden: true + }) } const mutations = { diff --git a/src/views/business/component/addMerchant.vue b/src/views/business/component/addMerchant.vue index dd73eff..7c5fd1e 100644 --- a/src/views/business/component/addMerchant.vue +++ b/src/views/business/component/addMerchant.vue @@ -228,14 +228,14 @@ export default { ], boss_phone:[ { required: true, message: '请填写法人/老板电话', trigger: 'blur' }, - {pattern: /^[1][3-9][\d]{9}/,message:'手机号格式错误'} + { pattern: /^[1][3-9][\d]{9}/,message:'手机号格式错误'} ], contact:[ { required: true, message: '请填写联系人', trigger: 'blur' } ], phone:[ { required: true, message: '请填写联系人电话', trigger: 'blur' }, - {pattern: /^[1][3-9][\d]{9}/,message:'手机号格式错误'} + { pattern: /^[1][3-9][\d]{9}/,message:'手机号格式错误'} ], username:[ { required: true, message: '请填写简称/用户名', trigger: 'blur' } diff --git a/src/views/order/component/orderLog.vue b/src/views/order/component/orderLog.vue index ca5b055..218f9d7 100644 --- a/src/views/order/component/orderLog.vue +++ b/src/views/order/component/orderLog.vue @@ -1,23 +1,73 @@ diff --git a/src/views/order/orderList.vue b/src/views/order/orderList.vue index 39a9f4d..83ef9e2 100644 --- a/src/views/order/orderList.vue +++ b/src/views/order/orderList.vue @@ -82,13 +82,13 @@ - + - + @@ -103,6 +103,7 @@ export default { }, data() { return { + selectId:null, isShowLog:false, merchants:[], @@ -119,7 +120,8 @@ export default { }, total:0, - list:[], + list:[{"id":2560,"order_id":2775,"product_type_id":16,"product_id":77,"original_price":null,"price":"0.00","commission":null,"sharing":"0.00","quantity":1,"created_at":"2022-08-24T06:56:44.000000Z","updated_at":"2022-08-24T06:56:44.000000Z","deleted_at":null,"state":"pending","merchant_id":null,"assigned_serial":null,"assign_id":null,"admin_actions":{"follow":"\u8ddf\u8fdb","assign":"\u5206\u53d1","cancel":"\u53d6\u6d88"},"order_name":"\u3010\u8d1d\u8d1d\u5802\u301119.9\u5143\u5355\u7406\u80ce\u53d1","paid_at":"2022-08-24 14:56:52","bookable_name":"\u5355\u54c1","order_quantity":1,"order_total":"19.90","order_items_count":1,"order_state":"ongoing","order_state_name":"\u8fdb\u884c\u4e2d","member":{"id":3397,"name":"\u7f57\u671d\u71d5","phone":"13814873429","due_date":"2022-08-01","hospital":"\u82cf\u5927\u9644\u4e00\u9662","wechat":null,"wechat_nickname":"\u71d5\u513f\ud83d\udc8b","address":null,"source":null,"user_source":null,"wechat_openid":"oEgEM0QgY61rU64Za0GSspOQOh_Y","wechat_unionid":null,"visit_count":null,"last_login_time":null,"lon":null,"lat":null,"province":null,"city":null,"area":"\u59d1\u82cf\u533a","operating":null,"ip":null,"machine":null,"pid":108,"site_id":null,"created_at":"2022-07-14T05:13:21.000000Z","updated_at":"2022-08-12T03:32:46.000000Z","deleted_at":null,"password":null,"promotion":1,"promotion_type":null,"promotion_id":null,"avatar":"https:\/\/thirdwx.qlogo.cn\/mmopen\/vi_32\/DYAIOgq83ersiaibpEqVs2IbraFU6LRYEKk7bGyPonibeiayhOjA5o6IlhdRhkRS1u3CGyWshJMCVneZwzaP8JaAmw\/132"},"memberPromotion":{"id":889,"name":null,"phone":"18662528918","due_date":null,"hospital":null,"wechat":null,"wechat_nickname":"Tony\u8001\u5e08_\u6ee1\u6708\u7406\u80ce\u53d1","address":null,"source":null,"user_source":null,"wechat_openid":"oEgEM0UWwCdncvbVWR65hw44qKXY","wechat_unionid":null,"visit_count":null,"last_login_time":null,"lon":null,"lat":null,"province":null,"city":null,"area":null,"operating":null,"ip":null,"machine":null,"pid":null,"site_id":null,"created_at":"2022-02-06T06:20:46.000000Z","updated_at":"2022-03-21T07:16:01.000000Z","deleted_at":null,"password":null,"promotion":null,"promotion_type":null,"promotion_id":null,"avatar":"https:\/\/thirdwx.qlogo.cn\/mmopen\/vi_32\/VN9nffOKP7SRGNPDUdxbTWDaJxdvAsFTJX7lLHibZYiaP9ZgfwUZVxFSBLFL3yptELNBDtNo7V7qJaOEfn0mIiaiaQ\/132"},"state_name":"\u5f85\u5904\u7406","product_type":{"id":16,"pid":15,"name":"\u5a74\u513f\u7406\u53d1\u7eaa\u5ff5\u54c1","sortnumber":"0","created_at":"2021-08-30T02:52:02.000000Z","updated_at":"2021-08-30T02:52:02.000000Z","deleted_at":null},"product":{"id":77,"product_type_id":16,"product_type_pid":15,"merchant_id":33,"shop_ids":"39","name":"\u3010\u8d1d\u8d1d\u5802\u301119.9\u5143\u5355\u7406\u80ce\u53d1","price":"19.90","original_price":"128.00","content":"

\"\u5fae\u4fe1\u56fe\u7247_20220220092705.jpg\"<\/p>

\"\u5fae\u4fe1\u56fe\u7247_20220220092713.jpg\"<\/p>

\"\u5fae\u4fe1\u56fe\u7247_20220220092723.jpg\"<\/p>

\"\u6d41\u7a0b\u56fe1.png\"\/<\/p>

\"\u6d41\u7a0b\u56fe2.png\"\/<\/p>

\"\u6d41\u7a0b\u56fe3.png\"\/<\/p>

<\/p>

<\/p>

<\/p>

<\/p>

\"\u5fae\u4fe1\u56fe\u7247_20220220092745.jpg\"<\/p>

\"\u5fae\u4fe1\u56fe\u7247_20220220092751.jpg\"<\/p>

\"2f6395058c3aaeb1902d9eb21d70bc0.jpg\"<\/p>

<\/span><\/p>

\"\u5fae\u4fe1\u56fe\u7247_20220713102852.jpg\"\/<\/span><\/p>

\u6b64\u5238\u4e0d\u5305\u62ec\u8def\u8d39\uff0c\u8def\u8d39\u572830-50\u5143\u4e0d\u7b49\uff0c\u59d1\u82cf\u533a\u514d\u8def\u8d39(\u8def\u8d39\u5728\u4e0b\u9762\u6709\u660e\u7ec6\u8bf4\u660e)<\/span><\/p>

\u5907\u6ce8:\u9884\u7ea6\u65e5\u671f\u8bf7\u4e0d\u8981\u4e0e\u6253\u75ab\u82d7\u540c\u5929\uff0c\u56e0\u6253\u5b8c\u75ab\u82d7\u540e24\u5c0f\u65f6\u4e0d\u80fd\u6d17\u6fa1\uff0c\u800c\u5b9d\u5b9d\u7406\u80ce\u53d1\u5f53\u5929\u9700\u8981\u6d17\u6fa1\u7684\u3002<\/span><\/p>

2.\u5ba2\u6237\u53ef\u6307\u5b9a\u9884\u7ea6\u4e0a\u95e8\u65e5\u671f\uff0c\u4f46\u4e0d\u80fd\u6307\u5b9a\u5177\u4f53\u7684\u65f6\u95f4\u6bb5\uff0c\u7406\u53d1\u5e08\u4f1a\u5728\u60a8\u9884\u7ea6\u65e5\u671f\u7684\u524d\u4e00\u5929\u4e0b\u5348\u7535\u8bdd\u901a\u77e5\uff0c\u8bf7\u4fdd\u6301\u624b\u673a\u7545\u901a(\u7531\u4e8e\u7406\u53d1\u5e08\u662f\u4e00\u5929\u670d\u52a1\u591a\u4e2a\u5b9d\u5b9d\uff0c\u5177\u4f53\u65f6\u95f4\u4f1a\u6839\u636e\u4e0a\u95e8\u7684\u8def\u7ebf\u5b89\u6392\uff0c\u5982\u8981\u6307\u5b9a\u4e0a\u95e8\u65f6\u95f4\u7684\u5b9d\u5b9d\u5bb6\u957f\uff0c\u5219\u4e0d\u9002\u5408\u6b64\u56e2\u8d2d\u3002\u6307\u5b9a\u5409\u65f6\u9700\u8981\u53e6\u5916\u4ed8\u8d39\uff0c\u7531\u6b64\u5e26\u6765\u7684\u4e0d\u4fbf\u656c\u8bf7\u8c05\u89e3.)<\/span><\/p>

3.\u652f\u6301\u7684\u53d1\u578b:\u5e73\u5934\u3001\u5149\u5934(\u4e0d\u4fee\u526a\u53d1\u578b)<\/span><\/p>

4.\u9002\u7528\u8303\u56f4:\u51fa\u751f0\u81f3100\u5929\u4ee5\u5185\u7684\u5b9d\u5b9d(\u80ce\u53d1)<\/span><\/p>

5.\u7406\u53d1\u5e08\u670d\u52a1\u89c4\u8303:<\/span><\/p>

*\u4e13\u4e1a\u5a74\u513f\u7406\u53d1\u5e08:\u8d1d\u8d1d\u5802\u7684\u7406\u53d1\u5e08\u90fd\u7ecf\u8fc7\u5a74\u513f\u5934\u90e8\u62a4\u7406\u548c\u7406\u53d1\u7684\u53cc\u91cd\u8bad\u7ec3\uff0c\u5177\u5907\u591a\u5e74\u7684\u5b9e\u8df5\u7ecf\u9a8c\u5e76\u638c\u63e1\u5a34\u719f\u7684\u5a74\u513f\u7406\u53d1\u6280\u5de7\u3002<\/span><\/p>

*\u4e13\u4e1a\u7684\u7406\u53d1\u7528\u5177:\u4e13\u4e1a\u65e5\u672c\u8fdb\u53e3\u5a74\u513f\u7406\u53d1\u7528\u5177\uff0c\u5200\u5934\u9690\u85cf\uff0c\u5200\u8fb9\u5706\u6da6\u65e0\u9510\u89d2\uff0c\u4e0d\u4f1a\u4f24\u53ca\u5b9d\u5b9d\u7a1a\u5ae9\u7684\u76ae\u80a4\u3002<\/span><\/p>

*\u4e13\u4e1a\u7684\u670d\u52a1\u6d41\u7a0b:\u8fdb\u95e8\u95ee\u597d--\u51fa\u793a\u5de5\u4f5c\u8bc1\u3001\u5065\u5eb7\u8bc1\u2014\u73b0\u573a\u6d88\u6bd2\u7406\u53d1\u7528\u5177--\u5b9d\u5b9d\u56f4\u515c--\u7406\u53d1<\/span><\/p>

6. \u670d\u52a1\u8303\u56f4\u4e0a\u95e8\u533a\u57df\uff1a<\/p>

\u59d1\u82cf\u533a\u514d\u8def\u8d39\uff08\u9664\u767d\u6d0b\u6e7e\u8857\u9053\uff0c\u9760\u8fd1\u91d1\u960a\u65b0\u57ce\u7684\u4e2d\u6d77\u5fa1\u666f\u6e7e\u3001\u4e07\u79d1\u91d1\u8272\u91cc\u7a0b\u3001\u5b9d\u7965\u82d1\u3001\u5b9d\u90bb\u82d1\u3001\u5bcc\u5f3a\u65b0\u82d1\u3001\u5357\u5c71\u91d1\u57ce\u3001\u91d1\u6210\u82b1\u56ed\u3001\u91d1\u7b51\u5bb6\u56ed\u3001\u548c\u7f8e\u5bb6\u56ed\u3001\u661f\u5149\u8000\u82b1\u56ed\u7b49\u5468\u8fb9\u5c0f\u533a\u8def\u8d3930\u5143)<\/p>

\uff08\u56e0\u4e3a\u8fc7312\u56fd\u9053 \u4ee5\u524d\u8fd9\u91cc\u4e0d\u5c5e\u4e8e\u59d1\u82cf\u533a\uff0c\u6240\u4ee5\u5e08\u5085\u8981\u6536\u4e0a\u95e8\u8d3930\u5143\uff09<\/p>

\u5176\u4ed6\u533a\uff08\u5de5\u4e1a\u56ed\u533a\u3001\u5434\u4e2d\u533a\u3001\u864e\u4e18\u533a\u3001\u76f8\u57ce\u533a\u3001\u5434\u6c5f\u533a\u677e\u9675\uff09\u8def\u8d3930-50\u5143\u4e0d\u7b49\uff1b\u8be6\u60c5\u8bf7\u54a8\u8be2\u5ba2\u670d\u3002<\/p>

<\/p>

30\u5143\u8def\u8d39\u90e8\u5206\u533a\u57df\uff1a<\/p>

\u767d\u6d0b\u6e7e\u8857\u9053\u3001\u91d1\u9e21\u6e56\u8857\u9053\u3001\u5a04\u8451\u8857\u9053\u3001\u957f\u6865\u8857\u9053\u3001\u90ed\u5df7\u8857\u9053\u3001\u8d8a\u6eaa\u8857\u9053\u3001\u57ce\u5357\u8857\u9053\u3001\u6728\u6e0e\u9547\u3001\u72ee\u5c71\u8857\u9053\u3001\u6a2a\u5858\u8857\u9053\u3001\u67ab\u6865\u8857\u9053\u3001\u6d52\u5885\u5173\u9547\u3001\u5143\u548c\u8857\u9053\u3001\u9ec4\u6865\u8857\u9053\u3001\u9ad8\u94c1\u65b0\u57ce\u3001\u9ec4\u57ed\u9547<\/p>

<\/p>

50\u5143\u8def\u8d39\u90e8\u5206\u533a\u57df\uff1a<\/p>

\u8f66\u574a\u3001\u552f\u4ead\u8857\u9053\u3001\u80dc\u6d66\u8857\u9053\u3001\u6a2a\u6cfe\u8857\u9053\u3001\u9999\u5c71\u8857\u9053\u3001\u592a\u6e56\u8857\u9053\u3001\u752a\u76f4\u9547\u3001\u5149\u798f\u9547\u3001\u80e5\u53e3\u9547\u3001\u4e34\u6e56\u9547\u3001\u4e1c\u6e1a\u8857\u9053\u3001\u901a\u5b89\u9547\u3001\u671b\u4ead\u9547\u3001\u5317\u6865\u8857\u9053\u3001\u592a\u5e73\u8857\u9053\u3001\u6f15\u6e56\u8857\u9053\u3001\u6e2d\u5858\u9547\u3001\u9633\u6f84\u6e56\u9547\u3001\u5434\u6c5f\u677e\u9675\u8857\u9053<\/p>

\u9000\u6b3e\/\u6539\u7ea6\u89c4\u5219:<\/p>

1\u3001\u9000\u6b3e\u65b9\u5f0f:<\/p>

\u5982\u56e2\u8d2d\u5238\u7801\u672a\u6d88\u8d39\uff0c\u53ef\u968f\u65f6\u5b55\u80b2\u90a6\u5c0f\u7a0b\u5e8f\u540e\u53f0\u6211\u7684\u8ba2\u5355\u7533\u8bf7\u9000\u6b3e\u3002<\/p>

2\u3001\u4e34\u65f6\u9000\u6539\u8bf7\u63d0\u524d24\u5c0f\u65f6\u7535\u8054\u5ba2\u670d\u8fdb\u884c\u4fee\u6539\u8ba2\u5355\uff0c\u82e5\u670d\u52a1\u4eba\u5458\u5df2\u51fa\u53d1\uff0c\u56e0\u5ba2\u6237\u539f\u56e0\u5bfc\u81f4\u65e0\u6cd5\u6b63\u5e38\u670d\u52a1\uff0c\u6211\u4eec\u5c06\u6b63\u5e38\u6536\u53d6\u4e0a\u95e8\u670d\u52a1\u8d39(\u59d1\u82cf\u533a\u7edf\u4e0020\u5143;\u5176\u4ed6\u533a\u57df\u540c\u4e0a\u95e8\u8def\u8d39)<\/p>

<\/p>","state":"active","created_at":"2022-02-20T11:07:26.000000Z","updated_at":"2022-08-01T05:58:36.000000Z","deleted_at":null,"policy_id":null,"fee":"0.00","sharing":"0.00","max_quantity":null,"limit_quantity":1,"pretend_quantity":0,"start_time":"2022-02-20 19:00:23","end_time":"2024-02-19 19:00:23","service_expire_days":null,"poster":"\/ueditor\/php\/upload\/image\/20220220\/1645328381479712.jpg","sortnumber":68,"poster_url":"https:\/\/yunyubang2021.langye.net\/ueditor\/php\/upload\/image\/20220220\/1645328381479712.jpg","state_name":"\u5df2\u4e0a\u67b6"},"merchant":{"id":33,"username":"\u8d1d\u8d1d\u5802","name":"\u82cf\u5dde\u8d1d\u8d1d\u5802\u6bcd\u5a74\u670d\u52a1\u6709\u9650\u516c\u53f8","logo_id":null,"address":"\u82cf\u5dde\u5e02\u91d1\u72ee\u6cb3\u6cbf45\u53f73\uff083\u53f7\u697c305-1\uff09","slogan":null,"site_id":null,"boss":"\u8427\u4e91","boss_phone":"13771992684","contact":"\u5510\u71d5\u840d","phone":"18018193021","certificate_id":null,"state":"active","created_at":"2022-02-20T10:53:27.000000Z","updated_at":"2022-08-24T07:20:18.000000Z","deleted_at":null,"business_number":"91320508093461470G","balance":"0.00","lng":"120.62042","lat":"31.29912","laravel_through_key":77},"order":{"id":2775,"order_name":"\u3010\u8d1d\u8d1d\u5802\u301119.9\u5143\u5355\u7406\u80ce\u53d1","bookable_type":"product","bookable_id":77,"member_id":3397,"member_promotion_id":889,"state":"ongoing","total":"19.90","quantity":1,"created_at":"2022-08-24T06:56:44.000000Z","updated_at":"2022-08-24T06:56:52.000000Z","deleted_at":null,"serial":"20220824000018","promotion_type":null,"promotion_id":null,"member_comment":"\u60f3\u4e5d\u6708\u4e00\u53f7\u7406\u53d1","op_comment":null,"shop_comment":null,"state_name":"\u8fdb\u884c\u4e2d","bookable_name":"\u5355\u54c1"}},{"id":2559,"order_id":2774,"product_type_id":2,"product_id":93,"original_price":null,"price":"0.00","commission":null,"sharing":"0.00","quantity":1,"created_at":"2022-08-24T06:53:44.000000Z","updated_at":"2022-08-24T09:28:14.000000Z","deleted_at":null,"state":"accepted","merchant_id":3,"assigned_serial":null,"assign_id":1718,"admin_actions":{"follow":"\u8ddf\u8fdb"},"order_name":"\u3010\u5e78\u5b55\u7eaa\u30119.9\u5b55\u5987\u7167\u793c\u5305","paid_at":"2022-08-24 14:53:52","bookable_name":"\u5355\u54c1","order_quantity":1,"order_total":"9.90","order_items_count":1,"order_state":"ongoing","order_state_name":"\u8fdb\u884c\u4e2d","member":{"id":4427,"name":"\u5b63\u5a77","phone":"15206212644","due_date":"2022-12-16","hospital":"\u82cf\u5927\u9644\u4e00\u9662","wechat":null,"wechat_nickname":"\u5b63\u5a77","address":null,"source":null,"user_source":null,"wechat_openid":"oEgEM0XSFi3kBA_jXhPfKMyxM5Fo","wechat_unionid":null,"visit_count":null,"last_login_time":null,"lon":null,"lat":null,"province":null,"city":null,"area":"\u76f8\u57ce\u533a","operating":null,"ip":null,"machine":null,"pid":105,"site_id":null,"created_at":"2022-08-24T06:50:57.000000Z","updated_at":"2022-08-24T06:53:53.000000Z","deleted_at":null,"password":null,"promotion":1,"promotion_type":null,"promotion_id":null,"avatar":"https:\/\/thirdwx.qlogo.cn\/mmopen\/vi_32\/Q0j4TwGTfTISicP2rOtOBAWyWxsSvnQwYjPNd50COpqNfAJTgFFqzrf7EmELZ2KW76JuQxuacyJYzBwPiahsBAyw\/132"},"memberPromotion":{"id":105,"name":"\u5434\u96c5\u5170","phone":"15051447827","due_date":"2016-11-01","hospital":null,"wechat":null,"wechat_nickname":"\ud83c\udf52\u840c\u5988\ud83c\udf53","address":null,"source":null,"user_source":null,"wechat_openid":"oEgEM0cCCWTWBs4tPjUm9YXCgK4U","wechat_unionid":null,"visit_count":null,"last_login_time":null,"lon":null,"lat":null,"province":null,"city":null,"area":null,"operating":null,"ip":null,"machine":null,"pid":null,"site_id":null,"created_at":"2021-12-08T04:36:58.000000Z","updated_at":"2022-07-12T05:47:15.000000Z","deleted_at":null,"password":null,"promotion":1,"promotion_type":null,"promotion_id":null,"avatar":"https:\/\/thirdwx.qlogo.cn\/mmopen\/vi_32\/PiajxSqBRaELiaicq1eiaAfneTDLFEJGLJZURArHVfZmhMeRBxpqB6LolUa2cdchgHz3sftt2qkxRibGjQ05dlTdL9w\/132"},"state_name":"\u5df2\u63a5\u6536","product_type":{"id":2,"pid":1,"name":"\u5b55\u5987\u7167","sortnumber":"0","created_at":"2021-07-25T01:24:27.000000Z","updated_at":"2021-08-30T02:47:11.000000Z","deleted_at":null},"product":{"id":93,"product_type_id":2,"product_type_pid":1,"merchant_id":3,"shop_ids":null,"name":"\u3010\u5e78\u5b55\u7eaa\u30119.9\u5b55\u5987\u7167\u793c\u5305","price":"9.90","original_price":"499.00","content":"

\"1<\/p>

\"2<\/p>

\"3<\/p>

\"4<\/p>

\"5<\/p>

\"6.jpeg\"\/<\/p>

\"7.<\/p>

\"8<\/p>

\"9<\/p>","state":"active","created_at":"2022-04-15T09:10:19.000000Z","updated_at":"2022-04-15T09:10:49.000000Z","deleted_at":null,"policy_id":null,"fee":"100.00","sharing":"0.00","max_quantity":null,"limit_quantity":1,"pretend_quantity":0,"start_time":"2022-04-15 16:11:52","end_time":"2023-04-11 16:11:52","service_expire_days":null,"poster":"\/ueditor\/php\/upload\/image\/20220415\/1650013636498020.png","sortnumber":55,"poster_url":"https:\/\/yunyubang2021.langye.net\/ueditor\/php\/upload\/image\/20220415\/1650013636498020.png","state_name":"\u5df2\u4e0a\u67b6"},"merchant":{"id":3,"username":"\u5e78\u5b55\u7eaa","name":"\u5e78\u5b55\u7eaa","logo_id":null,"address":"\u59d1\u82cf\u533a\/\u65b0\u533a\/\u56ed\u533a","slogan":null,"site_id":null,"boss":"\u65e0","boss_phone":"\u65e0","contact":"\u5ba2\u670d","phone":"18616951428","certificate_id":null,"state":"active","created_at":"2021-08-30T03:05:31.000000Z","updated_at":"2022-08-24T09:31:46.000000Z","deleted_at":null,"business_number":"\u65e0","balance":"-1250.00","lng":"120.620095","lat":"31.300602","laravel_through_key":93},"order":{"id":2774,"order_name":"\u3010\u5e78\u5b55\u7eaa\u30119.9\u5b55\u5987\u7167\u793c\u5305","bookable_type":"product","bookable_id":93,"member_id":4427,"member_promotion_id":105,"state":"ongoing","total":"9.90","quantity":1,"created_at":"2022-08-24T06:53:44.000000Z","updated_at":"2022-08-24T06:53:53.000000Z","deleted_at":null,"serial":"20220824000017","promotion_type":null,"promotion_id":null,"member_comment":"\u6709\u5927\u5b9d","op_comment":null,"shop_comment":null,"state_name":"\u8fdb\u884c\u4e2d","bookable_name":"\u5355\u54c1"}}], + //list:[], table:[ { prop: "order_name", @@ -134,30 +136,31 @@ export default { { prop:"order_total", label:"金额", - width: 100, - formatter:(cell,data,value,index)=>{ - return `${value}¥` - } + width: 110, + align:'right' }, { prop:"created_at", label:"下单时间", - width: 220, + width: 160, formatter:(cell,data,value,index)=>{ - return parseTime(new Date(value),"{y}-{m}-{d} {h}:{i}:{s}") + return parseTime(new Date(value)) } }, { prop:"paid_at", label:"支付时间", - width: 220 + width: 160, + formatter:(cell,data,value,index)=>{ + return parseTime(new Date(value)) + } }, { prop:"updated_at", label:"更新时间", - width: 220, + width: 160, formatter:(cell,data,value,index)=>{ - return parseTime(new Date(value),"{y}-{m}-{d} {h}:{i}:{s}") + return parseTime(new Date(value),"{y}-{m}-{d}") } }, { @@ -199,7 +202,7 @@ export default { { prop:"due_date", label:"预产期", - width: 150 + width: 145 } ], }, @@ -287,6 +290,6 @@ $primaryColor: #bf617c; margin-right: 10px; } ::v-deep .ivu-icon-ios-close:before{ - color: #fff; + //color: #fff; } diff --git a/src/views/productService/clubProduct.vue b/src/views/productService/clubProduct.vue new file mode 100644 index 0000000..d5ab2b4 --- /dev/null +++ b/src/views/productService/clubProduct.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/src/views/productService/components/addClubProduct.vue b/src/views/productService/components/addClubProduct.vue new file mode 100644 index 0000000..e719a4c --- /dev/null +++ b/src/views/productService/components/addClubProduct.vue @@ -0,0 +1,24 @@ + + + + + diff --git a/src/views/productService/components/addConfinementClub.vue b/src/views/productService/components/addConfinementClub.vue new file mode 100644 index 0000000..8cb96ba --- /dev/null +++ b/src/views/productService/components/addConfinementClub.vue @@ -0,0 +1,44 @@ + + + + + diff --git a/src/views/productService/components/addPolicy.vue b/src/views/productService/components/addPolicy.vue index 525ed20..8535f3e 100644 --- a/src/views/productService/components/addPolicy.vue +++ b/src/views/productService/components/addPolicy.vue @@ -1,6 +1,6 @@ diff --git a/src/views/productService/confinementClub.vue b/src/views/productService/confinementClub.vue new file mode 100644 index 0000000..6921620 --- /dev/null +++ b/src/views/productService/confinementClub.vue @@ -0,0 +1,52 @@ + + + + + diff --git a/src/views/productService/policyManage.vue b/src/views/productService/policyManage.vue index 24a6264..72a955f 100644 --- a/src/views/productService/policyManage.vue +++ b/src/views/productService/policyManage.vue @@ -22,12 +22,14 @@ @editor="editor" @delete="deletePolicy"> - +