From 84c9fee1e1caa03eeb784d1774a1c31c82dfb35a Mon Sep 17 00:00:00 2001 From: THK3121 Date: Wed, 9 Aug 2023 09:11:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=B5=81=E6=9D=BF=E5=9D=97=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/logistics.js | 16 + .../logistiCard/logistiBriefCard.vue | 72 ++ .../logistiCard/logistiCard.vue | 264 ++++ manifest.json | 302 +++-- pages.json | 925 ++++++------- pages/logistics/deliveryDetil.vue | 352 +++++ pages/logistics/index.vue | 78 ++ pages/logistics/logisticDetil.vue | 299 +++++ pages/logistics/t.vue | 311 +++++ pages/oaHome/oaHome.vue | 1146 +++++++++-------- static/img/logistics/more.png | Bin 0 -> 2390 bytes utils/logistics.js | 112 ++ 12 files changed, 2738 insertions(+), 1139 deletions(-) create mode 100644 api/logistics.js create mode 100644 components/logistiComptent/logistiCard/logistiBriefCard.vue create mode 100644 components/logistiComptent/logistiCard/logistiCard.vue create mode 100644 pages/logistics/deliveryDetil.vue create mode 100644 pages/logistics/index.vue create mode 100644 pages/logistics/logisticDetil.vue create mode 100644 pages/logistics/t.vue create mode 100644 static/img/logistics/more.png create mode 100644 utils/logistics.js diff --git a/api/logistics.js b/api/logistics.js new file mode 100644 index 0000000..7bb5c59 --- /dev/null +++ b/api/logistics.js @@ -0,0 +1,16 @@ +import oahttp from "@/utils/logistics.js"; + +/** + * 订单列表 + */ +export const getList = (data) => oahttp.get('/courierLstData', data) +// 订单详情 +export const getDetil = (data) => oahttp.get('/lstDetail', data) +// 取货 +export const takeGoods = (data) => oahttp.post('/takeGoods', data) +// 送达 +export const doneDelivery = (data) => oahttp.post('/doneDelivery', data) +/** + * 更新商机 + */ +export const informationOpportunityUpdate = (data) => oahttp.post('/information/opportunity_update', data) \ No newline at end of file diff --git a/components/logistiComptent/logistiCard/logistiBriefCard.vue b/components/logistiComptent/logistiCard/logistiBriefCard.vue new file mode 100644 index 0000000..f5a567f --- /dev/null +++ b/components/logistiComptent/logistiCard/logistiBriefCard.vue @@ -0,0 +1,72 @@ + + + + \ No newline at end of file diff --git a/components/logistiComptent/logistiCard/logistiCard.vue b/components/logistiComptent/logistiCard/logistiCard.vue new file mode 100644 index 0000000..465dde9 --- /dev/null +++ b/components/logistiComptent/logistiCard/logistiCard.vue @@ -0,0 +1,264 @@ + + + + + \ No newline at end of file diff --git a/manifest.json b/manifest.json index 401e118..96c4c88 100644 --- a/manifest.json +++ b/manifest.json @@ -1,144 +1,160 @@ { - "name" : "供销综合平台", - "appid" : "__UNI__B5B1EDD", - "description" : "", - "versionName" : "1.0.0", - "versionCode" : "100", - "transformPx" : false, - /* 5+App特有相关 */ - "app-plus" : { - "usingComponents" : true, - "nvueStyleCompiler" : "uni-app", - "compilerVersion" : 3, - "splashscreen" : { - "alwaysShowBeforeRender" : true, - "waiting" : true, - "autoclose" : true, - "delay" : 0 - }, - /* 模块配置 */ - "modules" : { - "Payment" : {}, - "Barcode" : {}, - "Camera" : {} - }, - /* 应用发布信息 */ - "distribute" : { - /* android打包配置 */ - "android" : { - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - /* ios打包配置 */ - "ios" : { - "dSYMs" : false - }, - /* SDK配置 */ - "sdkConfigs" : { - "payment" : { - "weixin" : { - "__platform__" : [ "ios", "android" ], - "appid" : "wx4789d9f1b50390ba", - "UniversalLinks" : "" - } - }, - "ad" : {} - }, - "splashscreen" : { - "useOriginalMsgbox" : true - }, - "icons" : { - "android" : { - "hdpi" : "unpackage/res/icons/72x72.png", - "xhdpi" : "unpackage/res/icons/96x96.png", - "xxhdpi" : "unpackage/res/icons/144x144.png", - "xxxhdpi" : "unpackage/res/icons/192x192.png" - }, - "ios" : { - "appstore" : "unpackage/res/icons/1024x1024.png", - "ipad" : { - "app" : "unpackage/res/icons/76x76.png", - "app@2x" : "unpackage/res/icons/152x152.png", - "notification" : "unpackage/res/icons/20x20.png", - "notification@2x" : "unpackage/res/icons/40x40.png", - "proapp@2x" : "unpackage/res/icons/167x167.png", - "settings" : "unpackage/res/icons/29x29.png", - "settings@2x" : "unpackage/res/icons/58x58.png", - "spotlight" : "unpackage/res/icons/40x40.png", - "spotlight@2x" : "unpackage/res/icons/80x80.png" - }, - "iphone" : { - "app@2x" : "unpackage/res/icons/120x120.png", - "app@3x" : "unpackage/res/icons/180x180.png", - "notification@2x" : "unpackage/res/icons/40x40.png", - "notification@3x" : "unpackage/res/icons/60x60.png", - "settings@2x" : "unpackage/res/icons/58x58.png", - "settings@3x" : "unpackage/res/icons/87x87.png", - "spotlight@2x" : "unpackage/res/icons/80x80.png", - "spotlight@3x" : "unpackage/res/icons/120x120.png" - } - } - } - } - }, - /* 快应用特有相关 */ - "quickapp" : {}, - "h5" : { - "devServer" : { - "proxy" : { - "baseUrlTest/adminapi" : { - "target" : "https://worker-task.lihaink.cn", - "changeOrigin" : true, - "pathRewrite" : { - "^/baseUrlTest/adminapi" : "/adminapi" - } - }, - "baseUrlTest/api" : { - "target" : "https://worker-task.lihaink.cn", - "changeOrigin" : true, - "pathRewrite" : { - "^/baseUrlTest/api" : "/api" - } - } - } - } - }, - /* 小程序特有相关 */ - "mp-weixin" : { - "appid" : "wx6e14cb98394e36bc", - "setting" : { - "urlCheck" : false - }, - "usingComponents" : true - }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true - }, - "mp-toutiao" : { - "usingComponents" : true - }, - "uniStatistics" : { - "enable" : false - }, - "vueVersion" : "2" -} + "name": "供销综合平台", + "appid": "__UNI__B5B1EDD", + "description": "", + "versionName": "1.0.0", + "versionCode": "100", + "transformPx": false, + /* 5+App特有相关 */ + "app-plus": { + "usingComponents": true, + "nvueStyleCompiler": "uni-app", + "compilerVersion": 3, + "splashscreen": { + "alwaysShowBeforeRender": true, + "waiting": true, + "autoclose": true, + "delay": 0 + }, + /* 模块配置 */ + "modules": { + "Payment": {}, + "Barcode": {}, + "Camera": {}, + "Maps": {} + }, + /* 应用发布信息 */ + "distribute": { + /* android打包配置 */ + "android": { + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + /* ios打包配置 */ + "ios": { + "dSYMs": false + }, + /* SDK配置 */ + "sdkConfigs": { + "payment": { + "weixin": { + "__platform__": ["ios", "android"], + "appid": "wx4789d9f1b50390ba", + "UniversalLinks": "" + } + }, + "ad": {}, + "maps": { + "amap": { + "appkey_ios": "0799f37420c0784f1e6cba230a68bdb1", + "appkey_android": "0799f37420c0784f1e6cba230a68bdb1" + } + } + }, + "splashscreen": { + "useOriginalMsgbox": true + }, + "icons": { + "android": { + "hdpi": "unpackage/res/icons/72x72.png", + "xhdpi": "unpackage/res/icons/96x96.png", + "xxhdpi": "unpackage/res/icons/144x144.png", + "xxxhdpi": "unpackage/res/icons/192x192.png" + }, + "ios": { + "appstore": "unpackage/res/icons/1024x1024.png", + "ipad": { + "app": "unpackage/res/icons/76x76.png", + "app@2x": "unpackage/res/icons/152x152.png", + "notification": "unpackage/res/icons/20x20.png", + "notification@2x": "unpackage/res/icons/40x40.png", + "proapp@2x": "unpackage/res/icons/167x167.png", + "settings": "unpackage/res/icons/29x29.png", + "settings@2x": "unpackage/res/icons/58x58.png", + "spotlight": "unpackage/res/icons/40x40.png", + "spotlight@2x": "unpackage/res/icons/80x80.png" + }, + "iphone": { + "app@2x": "unpackage/res/icons/120x120.png", + "app@3x": "unpackage/res/icons/180x180.png", + "notification@2x": "unpackage/res/icons/40x40.png", + "notification@3x": "unpackage/res/icons/60x60.png", + "settings@2x": "unpackage/res/icons/58x58.png", + "settings@3x": "unpackage/res/icons/87x87.png", + "spotlight@2x": "unpackage/res/icons/80x80.png", + "spotlight@3x": "unpackage/res/icons/120x120.png" + } + } + } + } + }, + /* 快应用特有相关 */ + "quickapp": {}, + "h5": { + "devServer": { + "proxy": { + "baseUrlTest/adminapi": { + "target": "https://worker-task.lihaink.cn", + "changeOrigin": true, + "pathRewrite": { + "^/baseUrlTest/adminapi": "/adminapi" + } + }, + "baseUrlTest/api": { + "target": "https://worker-task.lihaink.cn", + "changeOrigin": true, + "pathRewrite": { + "^/baseUrlTest/api": "/api" + } + } + } + }, + "sdkConfigs": { + "maps": { + "amap": { + "key": "275cd3601b1b2d6414f6c988e7911664", + "securityJsCode": "d2d7c56801819e8bdf71b8a71846f235", + "serviceHost": "" + } + } + } + }, + /* 小程序特有相关 */ + "mp-weixin": { + "appid": "wx6e14cb98394e36bc", + "setting": { + "urlCheck": false + }, + "usingComponents": true + }, + "mp-alipay": { + "usingComponents": true + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + }, + "vueVersion": "2" +} \ No newline at end of file diff --git a/pages.json b/pages.json index 209decf..188b20b 100644 --- a/pages.json +++ b/pages.json @@ -1,484 +1,521 @@ { - "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - { - "path": "pages/oaHome/oaHome", - "style": { - "navigationBarTitleText": "首页", - "enablePullDownRefresh": true, - "app-plus": { - "titleNView": false - } - } - }, - { - "path": "pages/oaLogin/oaLogin", - "style": { - "navigationBarTitleText": "登录", - "app-plus": { - "titleNView": false - } - } + { + "path": "pages/oaHome/oaHome", + "style": { + "navigationBarTitleText": "首页", + "enablePullDownRefresh": true, + "app-plus": { + "titleNView": false + } + } + }, + { + "path": "pages/oaLogin/oaLogin", + "style": { + "navigationBarTitleText": "登录", + "app-plus": { + "titleNView": false + } + } - }, - { - "path": "pages/business/business", - "style": { - "navigationBarTitleText": "商机信息", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, + { + "path": "pages/business/business", + "style": { + "navigationBarTitleText": "商机信息", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, - { - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "uni-app", - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/oaExamine/oaExamine", - "style": { - "navigationBarTitleText": "审批", - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/oaTask/oaTask", - "style": { - "navigationBarTitleText": "今日任务", - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/oaMy/oaMy", - "style": { - "navigationBarTitleText": "我的", - "app-plus": { - "titleNView": false - } - } - }, { - "path": "pages/oaManager/oaManager", - "style": { - "navigationBarTitleText": "片区经理", - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "uni-app", + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/oaExamine/oaExamine", + "style": { + "navigationBarTitleText": "审批", + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/oaTask/oaTask", + "style": { + "navigationBarTitleText": "今日任务", + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/oaMy/oaMy", + "style": { + "navigationBarTitleText": "我的", + "app-plus": { + "titleNView": false + } + } + }, { + "path": "pages/oaManager/oaManager", + "style": { + "navigationBarTitleText": "片区经理", + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "pages/oaNews/oaNews", - "style": { - "navigationBarTitleText": "公告详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "pages/oaNews/oaNews", + "style": { + "navigationBarTitleText": "公告详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - } - ], - "subPackages": [{ - "root": "pages/views", - "name": "views", - "pages": [{ - "path": "application", - "style": { - "navigationBarTitleText": "地图首页", - "enablePullDownRefresh": false - } - }, - { - "path": "new_task", - "style": { - "navigationBarTitleText": "新建任务", - "enablePullDownRefresh": false - } - }, - { - "path": "com_approve", - "style": { - "navigationBarTitleText": "通用审批", - "enablePullDownRefresh": false - } - }, { - "path": "personal_center", - "style": { - "navigationBarTitleText": "个人中心1", - "enablePullDownRefresh": false - } + }, { + "path": "pages/logistics/index", + "style": { + "navigationBarTitleText": "订单列表", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "task_details", - "style": { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } + }, { + "path": "pages/logistics/logisticDetil", + "style": { + "navigationBarTitleText": "订单详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "personal_center_two", - "style": { - "navigationBarTitleText": "个人中心2", - "enablePullDownRefresh": false - } + }, { + "path": "pages/logistics/t", + "style": { + "navigationBarTitleText": "订单详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "public_document", - "style": { - "navigationBarTitleText": "公司公示文档", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "pages/logistics/deliveryDetil", + "style": { + "navigationBarTitleText": "配送信息", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "leave_request", - "style": { - "navigationBarTitleText": "请假申请", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + } - } - ] - }, { - "root": "subpkg", - "name": "subpkg", - "pages": [{ - "path": "personnel/personnel", - "style": { - "navigationBarTitleText": "人员管理", - "enablePullDownRefresh": true, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + ], + "subPackages": [{ + "root": "pages/views", + "name": "views", + "pages": [{ + "path": "application", + "style": { + "navigationBarTitleText": "地图首页", + "enablePullDownRefresh": false + } + }, + { + "path": "new_task", + "style": { + "navigationBarTitleText": "新建任务", + "enablePullDownRefresh": false + } + }, + { + "path": "com_approve", + "style": { + "navigationBarTitleText": "通用审批", + "enablePullDownRefresh": false + } + }, { + "path": "personal_center", + "style": { + "navigationBarTitleText": "个人中心1", + "enablePullDownRefresh": false + } - }, { - "path": "finance/finance", - "style": { - "navigationBarTitleText": "财务管理", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "task_details", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } - }, { - "path": "topUp/topUp", - "style": { - "navigationBarTitleText": "账户充值", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white", - "app-plus": { - "titleNView": { - "buttons": [{ - "color": "#fff", - "text": "充值记录", - "fontSize": "15", - "width": "90" - }] - } - } - } + }, { + "path": "personal_center_two", + "style": { + "navigationBarTitleText": "个人中心2", + "enablePullDownRefresh": false + } - }, { - "path": "contract/contract", - "style": { - "navigationBarTitleText": "合同管理", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "public_document", + "style": { + "navigationBarTitleText": "公司公示文档", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "contractDetail/contractDetail", - "style": { - "navigationBarTitleText": "合同详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "leave_request", + "style": { + "navigationBarTitleText": "请假申请", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "pdfView/pdfView", - "style": { - "navigationBarTitleText": "合同内容", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + } + ] + }, { + "root": "subpkg", + "name": "subpkg", + "pages": [{ + "path": "personnel/personnel", + "style": { + "navigationBarTitleText": "人员管理", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "companyInfo/companyInfo", - "style": { - "navigationBarTitleText": "公司信息", - "enablePullDownRefresh": true, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "finance/finance", + "style": { + "navigationBarTitleText": "财务管理", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "companySign/companySign", - "style": { - "navigationBarTitleText": "签约公司详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "topUp/topUp", + "style": { + "navigationBarTitleText": "账户充值", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": { + "buttons": [{ + "color": "#fff", + "text": "充值记录", + "fontSize": "15", + "width": "90" + }] + } + } + } - }, { - "path": "personnelDetails/personnelDetails", - "style": { - "navigationBarTitleText": "人员详细信息", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "contract/contract", + "style": { + "navigationBarTitleText": "合同管理", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "orderDetail/orderDetail", - "style": { - "navigationBarTitleText": "流水详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "contractDetail/contractDetail", + "style": { + "navigationBarTitleText": "合同详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "withdrawDeposit/withdrawDeposit", - "style": { - "navigationBarTitleText": "提现余额", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white", - "app-plus": { - "titleNView": { - "buttons": [{ - "color": "#fff", - "text": "提现记录", - "fontSize": "15", - "width": "90" - }] - } - } - } - }, { - "path": "withdrawList/withdrawList", - "style": { - "navigationBarTitleText": "提现记录", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "pdfView/pdfView", + "style": { + "navigationBarTitleText": "合同内容", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "noticeList/noticeList", - "style": { - "navigationBarTitleText": "公告列表", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "companyInfo/companyInfo", + "style": { + "navigationBarTitleText": "公司信息", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "topUpList/topUpList", - "style": { - "navigationBarTitleText": "充值记录", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "companySign/companySign", + "style": { + "navigationBarTitleText": "签约公司详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "companyAdmin/companyAdmin", - "style": { - "navigationBarTitleText": "公司管理", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "personnelDetails/personnelDetails", + "style": { + "navigationBarTitleText": "人员详细信息", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "newPersonnel/newPersonnel", - "style": { - "navigationBarTitleText": "新增人员", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "orderDetail/orderDetail", + "style": { + "navigationBarTitleText": "流水详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "archives/archives", - "style": { - "navigationBarTitleText": "档案管理", - "enablePullDownRefresh": true, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "withdrawDeposit/withdrawDeposit", + "style": { + "navigationBarTitleText": "提现余额", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": { + "buttons": [{ + "color": "#fff", + "text": "提现记录", + "fontSize": "15", + "width": "90" + }] + } + } + } + }, { + "path": "withdrawList/withdrawList", + "style": { + "navigationBarTitleText": "提现记录", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "newArchives/newArchives", - "style": { - "navigationBarTitleText": "信息登记", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "noticeList/noticeList", + "style": { + "navigationBarTitleText": "公告列表", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "updateArchives/updateArchives", - "style": { - "navigationBarTitleText": "信息更新", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "topUpList/topUpList", + "style": { + "navigationBarTitleText": "充值记录", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "fixedAssets/fixedAssets", - "style": { - "navigationBarTitleText": "固定资产", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "companyAdmin/companyAdmin", + "style": { + "navigationBarTitleText": "公司管理", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "taskAdmin/taskAdmin", - "style": { - "navigationBarTitleText": "任务管理", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "newPersonnel/newPersonnel", + "style": { + "navigationBarTitleText": "新增人员", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "archivesDetail/archivesDetail", - "style": { - "navigationBarTitleText": "档案详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "archives/archives", + "style": { + "navigationBarTitleText": "档案管理", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "captain/captain", - "style": { - "navigationBarTitleText": "队长列表", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "newArchives/newArchives", + "style": { + "navigationBarTitleText": "信息登记", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "companyFinance/companyFinance", - "style": { - "navigationBarTitleText": "公司财务", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "updateArchives/updateArchives", + "style": { + "navigationBarTitleText": "信息更新", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "companyUnsign/companyUnsign", - "style": { - "navigationBarTitleText": "未签约公司列表", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "fixedAssets/fixedAssets", + "style": { + "navigationBarTitleText": "固定资产", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "submit/submit", - "style": { - "navigationBarTitleText": "提交审核", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "taskAdmin/taskAdmin", + "style": { + "navigationBarTitleText": "任务管理", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "dispatching/dispatching", - "style": { - "navigationBarTitleText": "任务:宣传配送", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "archivesDetail/archivesDetail", + "style": { + "navigationBarTitleText": "档案详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "blockTransaction/blockTransaction", - "style": { - "navigationBarTitleText": "任务:片区交易", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "captain/captain", + "style": { + "navigationBarTitleText": "队长列表", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }, { - "path": "fileTask/fileTask", - "style": { - "navigationBarTitleText": "任务:档案更新", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#3175f9", - "navigationBarTextStyle": "white" - } + }, { + "path": "companyFinance/companyFinance", + "style": { + "navigationBarTitleText": "公司财务", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } - }] - }], - "globalStyle": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", - "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" - }, - "tabBar": { - "color": "#282828", - "selectedColor": "#3175f9", - "borderStyle": "white", - "backgroundColor": "#ffffff", - "list": [{ - "pagePath": "pages/oaHome/oaHome", - "text": "首页", - "iconPath": "/static/tabs-icon/home.png", - "selectedIconPath": "/static/tabs-icon/home-a.png" - }, - { - "pagePath": "pages/oaExamine/oaExamine", - "text": "审批", - "iconPath": "/static/tabs-icon/Task.png", - "selectedIconPath": "/static/tabs-icon/Task-a.png" - }, - { - "pagePath": "pages/oaTask/oaTask", - "text": "任务", - "iconPath": "/static/tabs-icon/approval.png", - "selectedIconPath": "/static/tabs-icon/approval-a.png" - }, - // { - // "pagePath": "pages/oaManager/oaManager", - // "text": "片区经理", - // "iconPath": "/static/tabs-icon/manager.png", - // "selectedIconPath": "/static/tabs-icon/manager-a.png" - // }, - { - "pagePath": "pages/business/business", - "text": "商机", - "iconPath": "/static/tabs-icon/manager.png", - "selectedIconPath": "/static/tabs-icon/manager-a.png" - }, - { - "pagePath": "pages/oaMy/oaMy", - "text": "我的", - "iconPath": "/static/tabs-icon/my.png", - "selectedIconPath": "/static/tabs-icon/my-a.png" - } - ] - }, - "uniIdRouter": {} + }, { + "path": "companyUnsign/companyUnsign", + "style": { + "navigationBarTitleText": "未签约公司列表", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } + + }, { + "path": "submit/submit", + "style": { + "navigationBarTitleText": "提交审核", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } + + }, { + "path": "dispatching/dispatching", + "style": { + "navigationBarTitleText": "任务:宣传配送", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } + + }, { + "path": "blockTransaction/blockTransaction", + "style": { + "navigationBarTitleText": "任务:片区交易", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } + + }, { + "path": "fileTask/fileTask", + "style": { + "navigationBarTitleText": "任务:档案更新", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3175f9", + "navigationBarTextStyle": "white" + } + + }] + }], + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "uni-app", + "navigationBarBackgroundColor": "#F8F8F8", + "backgroundColor": "#F8F8F8" + }, + "tabBar": { + "color": "#282828", + "selectedColor": "#3175f9", + "borderStyle": "white", + "backgroundColor": "#ffffff", + "list": [{ + "pagePath": "pages/oaHome/oaHome", + "text": "首页", + "iconPath": "/static/tabs-icon/home.png", + "selectedIconPath": "/static/tabs-icon/home-a.png" + }, + { + "pagePath": "pages/oaExamine/oaExamine", + "text": "审批", + "iconPath": "/static/tabs-icon/Task.png", + "selectedIconPath": "/static/tabs-icon/Task-a.png" + }, + { + "pagePath": "pages/oaTask/oaTask", + "text": "任务", + "iconPath": "/static/tabs-icon/approval.png", + "selectedIconPath": "/static/tabs-icon/approval-a.png" + }, + // { + // "pagePath": "pages/oaManager/oaManager", + // "text": "片区经理", + // "iconPath": "/static/tabs-icon/manager.png", + // "selectedIconPath": "/static/tabs-icon/manager-a.png" + // }, + { + "pagePath": "pages/business/business", + "text": "商机", + "iconPath": "/static/tabs-icon/manager.png", + "selectedIconPath": "/static/tabs-icon/manager-a.png" + }, + { + "pagePath": "pages/oaMy/oaMy", + "text": "我的", + "iconPath": "/static/tabs-icon/my.png", + "selectedIconPath": "/static/tabs-icon/my-a.png" + } + ] + }, + "uniIdRouter": {} } \ No newline at end of file diff --git a/pages/logistics/deliveryDetil.vue b/pages/logistics/deliveryDetil.vue new file mode 100644 index 0000000..ccadc5a --- /dev/null +++ b/pages/logistics/deliveryDetil.vue @@ -0,0 +1,352 @@ + + + + + \ No newline at end of file diff --git a/pages/logistics/index.vue b/pages/logistics/index.vue new file mode 100644 index 0000000..dbfbff9 --- /dev/null +++ b/pages/logistics/index.vue @@ -0,0 +1,78 @@ + + + + + \ No newline at end of file diff --git a/pages/logistics/logisticDetil.vue b/pages/logistics/logisticDetil.vue new file mode 100644 index 0000000..6830f26 --- /dev/null +++ b/pages/logistics/logisticDetil.vue @@ -0,0 +1,299 @@ + + + + + \ No newline at end of file diff --git a/pages/logistics/t.vue b/pages/logistics/t.vue new file mode 100644 index 0000000..1d6def0 --- /dev/null +++ b/pages/logistics/t.vue @@ -0,0 +1,311 @@ + + + + + \ No newline at end of file diff --git a/pages/oaHome/oaHome.vue b/pages/oaHome/oaHome.vue index d7a2b22..195e696 100644 --- a/pages/oaHome/oaHome.vue +++ b/pages/oaHome/oaHome.vue @@ -1,43 +1,43 @@ \ No newline at end of file diff --git a/static/img/logistics/more.png b/static/img/logistics/more.png new file mode 100644 index 0000000000000000000000000000000000000000..d704897ed27280a2d63f710c187ded0494f4dcb4 GIT binary patch literal 2390 zcmeHJYdBl!7EU!Kp(=4}rSnW9A~>aJ>2ZlvauV68Mk_6&3|f+^P(^W!8a1hVsZCQY zN{41#Lg+l0)}E)cMTc^ZWdpANyPDUC&zUTkp5u{d_z7 zm={x58>fvxAaq#}odc|N^Fe8XRpQrB4$PJd93~CX(D#K3fk0zebn1!3p!qUt>=cAy znBPZTFjyLoT}F*rm@Kh+nE2H7WzzH&r(T^{5ybYHHf!I%*3NYvOQj1%>~+@P7~IySZ)Oq@;|uG>yJrdQUhI z5Ln8VuaUpZZ>(#-i`prCfCuon&tOBtyNS{luZ_G3^*PzqiOI>yHSbp5t3S*qtTMCb znv7>uD%GoG%7&tNR+-Sg?lbj0sX?LG5m8cQG+hy=R%pwjBoqo|ba7dYXUo2kvGbH+ z;jMdiWZsDDr)(5A8O^k{v|Y}1$nGdl;!G?by@H*juYwr|s| zT&WA^B+#{Jlc;_>bH~Hue4d3gO=1+T-)RuaH*6n#b{Nw;l;iL*V2YK;x#zDyO}+Fl zAZZ?@9lz5p@jWPL{!m)==etkitFzU!*e@Al$1*--32|edmV$G>g62ir##o8vkHlKx zges>DH=o-#`+L4zwP;M3^XE4i%xGVAKnK%AJx*Pb+f3O#nXYljTKlrVApuO1YmJ?b zU%gZ_XYr@MclU!HOd0_RQih#s?fYupXN3Teu@kX`qd1R>rvUgIyj_$LoEyO_0L8a& zo5VC?7nsFp*{e!*E4mijnbT*L;|1^gM|wXS%DW$Hcu{Zvr_YySZa=w(`}h>TuVwPY zms0}cR5P$AT(|&onnNH9Xkm#Y>LJGh?`k-W|J*_oE$d2pu^C*8h4F6Bhc}!5n7fN8 zMJ+jsfLs3sa5sLCr49H6ZP)L%yX-7a8?f7cCgWec&vh)z-T}}i&C8PQCfLIRxk*M*1Hs$0 zWNZUYXeU*8Yg5Jb?~?8*B7>Gz*H>NaCmxB_dcxO9^O6}L>&a-Rju~mnTuGA`T>2=v zSIvzaE!bFp-5dDm>d(^=Gu3`;aVK?TOY^R;4oRJd`MAV8li#+FeU>_+Ge>xPq4pNB zSiD{~_E0OlP+D{`7#$US>#&l~vy#3T;zwJ-q>t9cpVW)56gi_HnDsGJ7rN$tG`Hgl zfEH3I5G-0)5fBCC+4lR(eE069Rz*n`>aj9zrF+l78`lVIfTSLoZP(mSjXl3VGW(y7 zNqv6ZzI%65_1B^d!(*Gop$`!8UZvmWaLphcx2Zbir2|B^EXHQiW}+V1+VHmbD}QA_ zHN=f8CsO$xW&N`g)pC{1P;?RbXc3U#q$kM-cLT-+wkfn}CClcfj#W*)K^Pf#cGo7M z|38HSAxsiwgtaOoMB9F`XG6NH1ie~#C$ZYW)R9)y)@V$1dC7U;l9>`!__odP(C}Tp z0Pog4v}i@HJsl{E$!Ee_%4>sKs;gMySqsNV4O1zq(fqIOQ$nVh6xmiA^y0jnIQTn^ zGsqxEqXfG~emG*l>9Wf*(PLoD<_sG@`S`S48s>&|2s^txS9o21M>=My7>ib9_*6%s zEswEY32nz$%(}w}LAIL?gClrc@98sj{IK@%O_%gB>^mP;KJ*B8Gk9`aPC@Q7JuCPp-H zKb{?F=3AuV6V9AKVcjtmr{&@@gkYrD+mw!=re(0}5;RaDVIJuia6jS>N=DK6zYG5l bhqI=$RcBp&B_FB*KS~G|!;9WPJ0 { + // uni.showLoading({ + // title: '加载中' + // }) + uni.request({ + // url: Url + '/api/v1' + url, + url: Url + '/api' + url, + method: method || 'GET', + header: header, + data: method != 'GET' ? data || {} : {}, + params: method == 'GET' ? data : {}, + success: (res) => { + // uni.hideLoading() + if (noVerify) + // reslove(res.data, res); + reslove(res.data); + else if (res.data.code == -1) { + store.commit("LOGOUT"); + store.commit("SET_REQUEST", false); + reject(res.data); + } else if (res.data.code == 0) { + // uni.hideLoading(); + uni.showToast({ + title: res.data.msg || '请检查网络', + icon: 'none' + }) + reject(res.data); + } else if (res.data.code == 1) { + store.commit("SET_REQUEST"); + reslove(res.data); + } else if (res.data.code == 200) { + store.commit("SET_REQUEST"); + reslove(res.data.data); + } else if ([410000, 410001, 410002, 40000].indexOf(res.data.code) !== -1) { + toLogin(); + reject(res.data); + } else if (res.data.code == 501) { + // uni.reLaunch({ + // url: '/pages/error/index' + // }) + reject(res.data); + } else { + // uni.hideLoading(); + uni.showToast({ + title: res.data.msg || '请检查网络', + icon: 'none' + }) + reject(res.data.msg || '请检查网络'); + } + }, + fail: (message) => { + // uni.hideLoading() + uni.showToast({ + title: '网络错误', + icon: 'none' + }) + reject('请求失败'); + } + }) + }); +} + +const oahttp = {}; + +['options', 'get', 'post', 'put', 'head', 'delete', 'trace', 'connect'].forEach((method) => { + oahttp[method] = (api, data, opt) => baseRequestTwo(api, method, data, opt || {}) +}); + +export default oahttp; \ No newline at end of file