From 6cafffd4fedfe5178206e435efec6093fb40cf76 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Sat, 23 Sep 2023 11:37:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/task/taskItem.vue | 18 +++ pages.json | 9 ++ pages/oaExamine/oaExamine.vue | 11 +- store/modules/app.js | 1 - subpkg/merchantDetails/merchantDetails.vue | 46 +++++++- subpkg/serviceTask/serviceTask.vue | 124 +++++++++++++++++++++ 6 files changed, 201 insertions(+), 8 deletions(-) create mode 100644 subpkg/serviceTask/serviceTask.vue diff --git a/components/task/taskItem.vue b/components/task/taskItem.vue index e525e8c..9df0226 100644 --- a/components/task/taskItem.vue +++ b/components/task/taskItem.vue @@ -165,9 +165,27 @@ 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}`); 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}`); + break; default: this.navTo(''); break; diff --git a/pages.json b/pages.json index 4ea0caa..2627dd9 100644 --- a/pages.json +++ b/pages.json @@ -679,6 +679,15 @@ "navigationBarBackgroundColor": "#0122C7", "navigationBarTextStyle": "white" } + }, { + "path": "serviceTask/serviceTask", + "style": { + "navigationBarTitleText": "任务", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#0122C7", + "navigationBarTextStyle": "white" + } + }] }], "globalStyle": { diff --git a/pages/oaExamine/oaExamine.vue b/pages/oaExamine/oaExamine.vue index 25d0094..628625d 100644 --- a/pages/oaExamine/oaExamine.vue +++ b/pages/oaExamine/oaExamine.vue @@ -49,7 +49,7 @@ list: [], loadConfig: { page: 1, - limit: 15, + limit: 10, lastpage: '', loadingText: '努力加载中', loadmoreText: '轻轻上拉', @@ -62,7 +62,14 @@ this.initType(); }, onShow() { - if(this.typeTabLists.length>0)this.initList(); + if(this.typeTabLists.length>0){ + this.loadConfig.page = 1; + this.loadConfig.status = "loading"; + this.list = []; + this.$u.sleep(200).then(()=>{ + this.loadList(); + }) + } }, async onPullDownRefresh() { await this.initList(); diff --git a/store/modules/app.js b/store/modules/app.js index 57363f2..bb3aab9 100644 --- a/store/modules/app.js +++ b/store/modules/app.js @@ -59,7 +59,6 @@ const actions = { RE_LOGIN({ state, commit }, data) { return new Promise((resolve, reject) => { let fromData = encrypt.decode('ACT'); - console.log(fromData); if(fromData) { loginAccount({ ...fromData }, true).then((res) => { commit('SET_TOKEN', res.data); diff --git a/subpkg/merchantDetails/merchantDetails.vue b/subpkg/merchantDetails/merchantDetails.vue index 32fc983..b75a40d 100644 --- a/subpkg/merchantDetails/merchantDetails.vue +++ b/subpkg/merchantDetails/merchantDetails.vue @@ -71,12 +71,46 @@ - - + + + + + + + + 身份证明信息 + + + + + 银行账户姓名: + {{extend.bank_username}} + + + 开户行: + {{extend.bank_opening}} + + + 银行卡正面: + + + + 银行卡反面: + + + + 身份证正面: + + + + 身份证反面: + + + + @@ -128,6 +162,7 @@ extend: { }, + is_transaction: false, // 是否为交易申请 rules: { remark: { type: 'string', @@ -143,6 +178,7 @@ options.name ? uni.setNavigationBarTitle({ title: options.name }) : null; + if (options.name.includes('交易')) this.is_transaction = true; this.initData(); }, onShow() {}, @@ -373,8 +409,8 @@ } } } - - .refuse{ + + .refuse { width: 694rpx; padding: 28rpx; margin: 0 auto; diff --git a/subpkg/serviceTask/serviceTask.vue b/subpkg/serviceTask/serviceTask.vue new file mode 100644 index 0000000..9b1aa81 --- /dev/null +++ b/subpkg/serviceTask/serviceTask.vue @@ -0,0 +1,124 @@ + + + + + \ No newline at end of file