diff --git a/api/task.js b/api/task.js index c7a2958..a894d80 100644 --- a/api/task.js +++ b/api/task.js @@ -112,4 +112,14 @@ export const commit_town_master_task_type_7API = (data) => oahttp.post('/task/co * 应用软件推广 */ export const commit_town_master_task_type_8API = (data) => oahttp.post('/task/commit_town_master_task_type_8', - data) \ No newline at end of file + data) + +/* 新供销首页任务列表*/ +/** + * 应用软件推广 + */ +export const taskListApi = (data) => oahttp.get('/task/taskList', + data) + + +// api / task / taskList \ No newline at end of file diff --git a/config/app.js b/config/app.js index 30b078c..b20792a 100644 --- a/config/app.js +++ b/config/app.js @@ -2,8 +2,8 @@ let httpApiThree; let httpApi; // 总域名 let httpApiTwo; // 物流系统域名 -const env = 'dev'; // 开发 -// const env = 'prod'; // 生产 +// const env = 'dev'; // 开发 +const env = 'prod'; // 生产 // const env = 'prew'; // 预上线 // const env = 'local'; // 本地 @@ -19,9 +19,9 @@ switch (env) { httpApiTwo = 'https://preview-logistics.lihaink.cn' //预上线 break; case 'local': - httpApi = 'http://192.168.1.22:8083' //预上线 - httpApiThree = 'http://192.168.1.22:8083' //预上线 - httpApiTwo = 'http://192.168.1.22:8083' //预上线 + httpApi = 'http://192.168.1.24:8083' //预上线 + httpApiThree = 'http://192.168.1.24:8083' //预上线 + httpApiTwo = 'http://192.168.1.24:8083' //预上线 break; default: httpApi = 'https://ceshi-new-wokr.lihaink.cn/' //测试 diff --git a/pages.json b/pages.json index 7762837..1c96125 100644 --- a/pages.json +++ b/pages.json @@ -12,6 +12,15 @@ "navigationBarTextStyle": "white" } }, + { + "path": "pages/oaHome/homeTaskDetail", + "style": { + "navigationBarTitleText": "任务详情", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } + }, { "path": "pages/oaLogin/oaLogin", "style": { diff --git a/pages/oaHome/homeTaskDetail.vue b/pages/oaHome/homeTaskDetail.vue new file mode 100644 index 0000000..7020374 --- /dev/null +++ b/pages/oaHome/homeTaskDetail.vue @@ -0,0 +1,102 @@ + + + + + \ No newline at end of file diff --git a/pages/oaHome/oaHome.vue b/pages/oaHome/oaHome.vue index 565f2b7..685a535 100644 --- a/pages/oaHome/oaHome.vue +++ b/pages/oaHome/oaHome.vue @@ -5,7 +5,6 @@ - 工作证:{{ myOaInfo.nickname }} @@ -45,6 +44,7 @@ + - + - + + + 我的任务 + + + + + + + + {{item.title}} + + + + 查看详情 + + + + 任务描述: {{item.content}} + + + + + + + + + + + + + + {{myOaInfo.invite_code}} + + + + + 复制 + + + + + + 取消 + + + 保存 + + + + + + @@ -194,43 +239,38 @@ - - - - - - -