From 5b18e4c495288ea4b522f5f74536e5f4f098fe12 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Thu, 19 Oct 2023 11:42:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=86=E9=95=87=E5=85=AC?= =?UTF-8?q?=E5=8F=B8=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/task.js | 7 +- components/task/taskItem.vue | 38 +- config/app.js | 4 +- pages.json | 764 +++++++++--------- subpkg/townTask/marketTask10.vue | 277 +++++++ .../serviceTask4.vue | 4 +- .../serviceTask.vue => townTask/townTask.vue} | 10 +- 7 files changed, 697 insertions(+), 407 deletions(-) create mode 100644 subpkg/townTask/marketTask10.vue rename subpkg/{serviceTask => townTask}/serviceTask4.vue (98%) rename subpkg/{serviceTask/serviceTask.vue => townTask/townTask.vue} (91%) diff --git a/api/task.js b/api/task.js index d52461d..06c7593 100644 --- a/api/task.js +++ b/api/task.js @@ -44,9 +44,14 @@ export const taskOtherTaskCommit = (data) => oahttp.post('/task/commit_other_tas /** * 任务:服务任务详情 */ -export const serviceTaskDetails = (data) => oahttp.get('/task/service_task_detail', data) +export const townTaskDetails = (data) => oahttp.get('/task/service_task_detail', data) /** * 任务:提交督促小组服务团队学习任务 */ export const serviceTask4Commit = (data) => oahttp.post('/task/commit_town_task_type4', data) + +/** + * 任务:数字农贸宣传、加工业务建设和招商任务提交 + */ +export const marketTask10Commit = (data) => oahttp.post('/task/commit_town_task_type_marketing_director_10', data) diff --git a/components/task/taskItem.vue b/components/task/taskItem.vue index 9df0226..598be73 100644 --- a/components/task/taskItem.vue +++ b/components/task/taskItem.vue @@ -66,7 +66,7 @@ 进行中 + v-else-if="townService(datas.type)"> {{extend.total-extend.not_done_count||0}}/{{extend.total||0}} @@ -119,7 +119,12 @@ }, data() { return { - extend: {} + extend: {}, + // 以下从左至右分别为: 服务部长,市场部长,负责人 + taskRoleTypeList: ['town_task_type', 'town_task_type_marketing_director', 'town_task_type_master'], + townServiceList: [44,45,46,47,48,49,50], // 镇农科服务部长任务 + navToTownServiceList: [44,45,46,48,49,50], // 镇农科服务部长跳转/subpkg/townTask/townTask的任务 0 + navToTownMarketList: [51,53,54,55,57,58,59] // 镇农科市场部长跳转/subpkg/townTask/townTask的任务 1 }; }, mounted() { @@ -145,6 +150,10 @@ // if ((this.$props.datas.type != 31) && this.$props.datas.status !== 2 && this.$props.datas.status !== 1) { // return this.$props.datas.status == 3 ? Toast('任务已完成!') : Toast('任务已结束!'); // } + if(this.navToTownServiceList.includes(this.$props.datas.type)) + return this.navTo(`/subpkg/townTask/townTask?task_id=${this.$props.datas?.id}&type_value=${this.taskRoleTypeList[0]}`); + if(this.navToTownMarketList.includes(this.$props.datas.type)) + return this.navTo(`/subpkg/townTask/townTask?task_id=${this.$props.datas?.id}&type_value=${this.taskRoleTypeList[1]}`); switch (this.$props.datas.type) { case 31: if (this.$store.state.app.userInfo.admin_id) this.navTo( @@ -165,32 +174,21 @@ case 35: this.navTo(`/subpkg/buyShare/buyShare?task_id=${this.$props.datas?.id}`); break; - case 44: - this.navTo(`/subpkg/serviceTask/serviceTask?task_id=${this.$props.datas?.id}`); - break; - case 45: - this.navTo(`/subpkg/serviceTask/serviceTask?task_id=${this.$props.datas?.id}`); - break; - case 46: - this.navTo(`/subpkg/serviceTask/serviceTask?task_id=${this.$props.datas?.id}`); - break; case 47: - this.navTo(`/subpkg/serviceTask/serviceTask4?task_id=${this.$props.datas?.id}`); + this.navTo(`/subpkg/townTask/serviceTask4?task_id=${this.$props.datas?.id}`); break; - case 48: - this.navTo(`/subpkg/serviceTask/serviceTask?task_id=${this.$props.datas?.id}`); - break; - case 49: - this.navTo(`/subpkg/serviceTask/serviceTask?task_id=${this.$props.datas?.id}`); - break; - case 50: - this.navTo(`/subpkg/serviceTask/serviceTask?task_id=${this.$props.datas?.id}`); + case 60: + this.navTo(`/subpkg/townTask/marketTask10?task_id=${this.$props.datas?.id}&stage=${this.$props.datas?.stage}`); break; default: this.navTo(''); break; } }, + // 服务部长任务 + townService(type){ + return this.townServiceList.includes(type); + }, isTimeInRange() { const now = new Date(); const startTime = new Date(now.getTime()); diff --git a/config/app.js b/config/app.js index d8a0857..b4029a6 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'; // 本地 diff --git a/pages.json b/pages.json index 66341e0..308d5a7 100644 --- a/pages.json +++ b/pages.json @@ -294,8 +294,7 @@ } ], - "subPackages": [ - { + "subPackages": [{ "root": "pages/views", "name": "views", "pages": [{ @@ -391,50 +390,50 @@ "root": "subpkg", "name": "subpkg", "pages": [{ - "path": "personnel/personnel", - "style": { - "navigationBarTitleText": "人员管理", - "enablePullDownRefresh": true, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + "path": "personnel/personnel", + "style": { + "navigationBarTitleText": "人员管理", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "finance/finance", - "style": { - "navigationBarTitleText": "财务管理", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "finance/finance", + "style": { + "navigationBarTitleText": "财务管理", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "topUp/topUp", - "style": { - "navigationBarTitleText": "账户充值", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white", - "app-plus": { - "titleNView": { - "buttons": [{ - "color": "#fff", - "text": "充值记录", - "fontSize": "15", - "width": "90" - }] + }, { + "path": "topUp/topUp", + "style": { + "navigationBarTitleText": "账户充值", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": { + "buttons": [{ + "color": "#fff", + "text": "充值记录", + "fontSize": "15", + "width": "90" + }] + } } } - } - }, { - "path": "contract/contract", - "style": { - "navigationBarTitleText": "合同管理", - "enablePullDownRefresh": true, - "navigationBarBackgroundColor": "#0022C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "contract/contract", + "style": { + "navigationBarTitleText": "合同管理", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#0022C7", + "navigationBarTextStyle": "white" + } }, { "path": "topUpDeposit/topUpDeposit", @@ -455,50 +454,50 @@ "navigationBarTextStyle": "white" } - }, { - "path": "contractDetail/contractDetail", - "style": { - "navigationBarTitleText": "合同详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "contractDetail/contractDetail", + "style": { + "navigationBarTitleText": "合同详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "pdfView/pdfView", - "style": { - "navigationBarTitleText": "合同内容", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "pdfView/pdfView", + "style": { + "navigationBarTitleText": "合同内容", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "companyInfo/companyInfo", - "style": { - "navigationBarTitleText": "公司信息", - "enablePullDownRefresh": true, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "companyInfo/companyInfo", + "style": { + "navigationBarTitleText": "公司信息", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "companySign/companySign", - "style": { - "navigationBarTitleText": "签约公司详情", - "enablePullDownRefresh": true, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "companySign/companySign", + "style": { + "navigationBarTitleText": "签约公司详情", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "personnelDetails/personnelDetails", - "style": { - "navigationBarTitleText": "人员详细信息", - "enablePullDownRefresh": true, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "personnelDetails/personnelDetails", + "style": { + "navigationBarTitleText": "人员详细信息", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } }, { "path": "orderDetail/orderDetail", @@ -509,122 +508,122 @@ "navigationBarTextStyle": "white" } - }, { - "path": "withdrawDeposit/withdrawDeposit", - "style": { - "navigationBarTitleText": "提现余额", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white", - "app-plus": { - "titleNView": { - "buttons": [{ - "color": "#fff", - "text": "提现记录", - "fontSize": "15", - "width": "90" - }] + }, { + "path": "withdrawDeposit/withdrawDeposit", + "style": { + "navigationBarTitleText": "提现余额", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": { + "buttons": [{ + "color": "#fff", + "text": "提现记录", + "fontSize": "15", + "width": "90" + }] + } } } - } - }, { - "path": "withdrawDeposit/company", - "style": { - "navigationBarTitleText": "提现", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white", - "app-plus": { - "titleNView": { - "buttons": [{ - "color": "#fff", - "text": "提现记录", - "fontSize": "15", - "width": "90" - }] + }, { + "path": "withdrawDeposit/company", + "style": { + "navigationBarTitleText": "提现", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": { + "buttons": [{ + "color": "#fff", + "text": "提现记录", + "fontSize": "15", + "width": "90" + }] + } } } - } - }, { - "path": "withdrawList/withdrawList", - "style": { - "navigationBarTitleText": "提现记录", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "withdrawList/withdrawList", + "style": { + "navigationBarTitleText": "提现记录", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "noticeList/noticeList", - "style": { - "navigationBarTitleText": "公告列表", - "enablePullDownRefresh": true, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "noticeList/noticeList", + "style": { + "navigationBarTitleText": "公告列表", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "topUpList/topUpList", - "style": { - "navigationBarTitleText": "充值记录", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "topUpList/topUpList", + "style": { + "navigationBarTitleText": "充值记录", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "companyAdmin/companyAdmin", - "style": { - "navigationBarTitleText": "公司管理", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "companyAdmin/companyAdmin", + "style": { + "navigationBarTitleText": "公司管理", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "newPersonnel/newPersonnel", - "style": { - "navigationBarTitleText": "新增人员", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "newPersonnel/newPersonnel", + "style": { + "navigationBarTitleText": "新增人员", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "archives/archives", - "style": { - "navigationBarTitleText": "档案管理", - "enablePullDownRefresh": true, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "archives/archives", + "style": { + "navigationBarTitleText": "档案管理", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "newArchives/newArchives", - "style": { - "navigationBarTitleText": "信息登记", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "newArchives/newArchives", + "style": { + "navigationBarTitleText": "信息登记", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "updateArchives/updateArchives", - "style": { - "navigationBarTitleText": "信息更新", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "updateArchives/updateArchives", + "style": { + "navigationBarTitleText": "信息更新", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "fixedAssets/fixedAssets", - "style": { - "navigationBarTitleText": "固定资产", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "fixedAssets/fixedAssets", + "style": { + "navigationBarTitleText": "固定资产", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } }, { "path": "taskAdmin/taskAdmin", @@ -635,222 +634,231 @@ "navigationBarTextStyle": "white" } - }, { - "path": "archivesDetail/archivesDetail", - "style": { - "navigationBarTitleText": "档案详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "archivesDetail/archivesDetail", + "style": { + "navigationBarTitleText": "档案详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "captain/captain", - "style": { - "navigationBarTitleText": "队长列表", - "enablePullDownRefresh": true, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "captain/captain", + "style": { + "navigationBarTitleText": "队长列表", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "companyFinance/companyFinance", - "style": { - "navigationBarTitleText": "公司财务", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "companyFinance/companyFinance", + "style": { + "navigationBarTitleText": "公司财务", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "companyUnsign/companyUnsign", - "style": { - "navigationBarTitleText": "未签约公司列表", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "companyUnsign/companyUnsign", + "style": { + "navigationBarTitleText": "未签约公司列表", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "submit/submit", - "style": { - "navigationBarTitleText": "提交审核", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "submit/submit", + "style": { + "navigationBarTitleText": "提交审核", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "dispatching/dispatching", - "style": { - "navigationBarTitleText": "任务:宣传配送", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "dispatching/dispatching", + "style": { + "navigationBarTitleText": "任务:宣传配送", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "blockTransaction/blockTransaction", - "style": { - "navigationBarTitleText": "任务:片区交易", - "enablePullDownRefresh": true, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "blockTransaction/blockTransaction", + "style": { + "navigationBarTitleText": "任务:片区交易", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "fileTask/fileTask", - "style": { - "navigationBarTitleText": "已更新商机", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "fileTask/fileTask", + "style": { + "navigationBarTitleText": "已更新商机", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "property/index", - "style": { - "navigationBarTitleText": "资产管理", - "enablePullDownRefresh": true, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "property/index", + "style": { + "navigationBarTitleText": "资产管理", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "property/chosseCompany", - "style": { - "navigationBarTitleText": "选择公司", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "property/chosseCompany", + "style": { + "navigationBarTitleText": "选择公司", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "property/vehicle", - "style": { - "navigationBarTitleText": "三轮车游走", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "property/vehicle", + "style": { + "navigationBarTitleText": "三轮车游走", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "property/vehicle_a", - "style": { - "navigationBarTitleText": "三轮车详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "property/vehicle_a", + "style": { + "navigationBarTitleText": "三轮车详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "property/success", - "style": { - "navigationBarTitleText": "生成合同", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "property/success", + "style": { + "navigationBarTitleText": "生成合同", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "property/contractList", - "style": { - "navigationBarTitleText": "合同列表", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "property/contractList", + "style": { + "navigationBarTitleText": "合同列表", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "buyShare/buyShare", - "style": { - "navigationBarTitleText": "任务:入股任务", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "buyShare/buyShare", + "style": { + "navigationBarTitleText": "任务:入股任务", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "otherTask/otherTask", - "style": { - "navigationBarTitleText": "任务:其他任务", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "otherTask/otherTask", + "style": { + "navigationBarTitleText": "任务:其他任务", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "property/agencyList", - "style": { - "navigationBarTitleText": "签约列表", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "property/agencyList", + "style": { + "navigationBarTitleText": "签约列表", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "shareCapital/shareCapital", - "style": { - "navigationBarTitleText": "股金管理", - "enablePullDownRefresh": true, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "shareCapital/shareCapital", + "style": { + "navigationBarTitleText": "股金管理", + "enablePullDownRefresh": true, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "merchantAudit/merchantAudit", - "style": { - "navigationBarTitleText": "商户入驻审核", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "merchantAudit/merchantAudit", + "style": { + "navigationBarTitleText": "商户入驻审核", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "merchantTransaction/merchantTransaction", - "style": { - "navigationBarTitleText": "商户交易审核", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "merchantTransaction/merchantTransaction", + "style": { + "navigationBarTitleText": "商户交易审核", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "merchantDetails/merchantDetails", - "style": { - "navigationBarTitleText": "商户详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "merchantDetails/merchantDetails", + "style": { + "navigationBarTitleText": "商户详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "serviceTask/serviceTask4", - "style": { - "navigationBarTitleText": "督促团队学习", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } - }, { - "path": "serviceTask/serviceTask", - "style": { - "navigationBarTitleText": "任务", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + },{ + "path": "townTask/marketTask10", + "style": { + "navigationBarTitleText": "任务详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } + }, { + "path": "townTask/serviceTask4", + "style": { + "navigationBarTitleText": "督促团队学习", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } + }, { + "path": "townTask/townTask", + "style": { + "navigationBarTitleText": "任务详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }, { - "path": "complaint/complaint", - "style": { - "navigationBarTitleText": "投诉反馈", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#0122C7", - "navigationBarTextStyle": "white" - } + }, { + "path": "complaint/complaint", + "style": { + "navigationBarTitleText": "投诉反馈", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } - }] + } + ] }], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/subpkg/townTask/marketTask10.vue b/subpkg/townTask/marketTask10.vue new file mode 100644 index 0000000..1610084 --- /dev/null +++ b/subpkg/townTask/marketTask10.vue @@ -0,0 +1,277 @@ + + + + + \ No newline at end of file diff --git a/subpkg/serviceTask/serviceTask4.vue b/subpkg/townTask/serviceTask4.vue similarity index 98% rename from subpkg/serviceTask/serviceTask4.vue rename to subpkg/townTask/serviceTask4.vue index af705a9..8cdbb38 100644 --- a/subpkg/serviceTask/serviceTask4.vue +++ b/subpkg/townTask/serviceTask4.vue @@ -57,7 +57,7 @@ upLoadImage, } from "@/api/file.js"; import { Toast } from "../../libs/uniApi"; - import { serviceTaskDetails, serviceTask4Commit } from "@/api/task.js" + import { townTaskDetails, serviceTask4Commit } from "@/api/task.js" export default { data() { return { @@ -95,7 +95,7 @@ methods: { async initTask() { this.skeleton = true; - let res = await serviceTaskDetails({ + let res = await townTaskDetails({ id: this.taskInfo.id }); this.taskInfo = res.data; diff --git a/subpkg/serviceTask/serviceTask.vue b/subpkg/townTask/townTask.vue similarity index 91% rename from subpkg/serviceTask/serviceTask.vue rename to subpkg/townTask/townTask.vue index 7498888..ab1aa6c 100644 --- a/subpkg/serviceTask/serviceTask.vue +++ b/subpkg/townTask/townTask.vue @@ -18,7 +18,7 @@