From 2893cfa8d36dfb693bb5152e04f1825abc11d0fb Mon Sep 17 00:00:00 2001 From: limingtao <@ming_tao_li> Date: Tue, 6 Aug 2024 19:25:37 +0800 Subject: [PATCH] 1 --- pages/investigation/index.vue | 25 +- pages/mine/password.vue | 30 +- uni_modules/uni-easyinput/changelog.md | 115 +++ .../components/uni-easyinput/common.js | 54 ++ .../uni-easyinput/uni-easyinput.vue | 676 ++++++++++++++++++ uni_modules/uni-easyinput/package.json | 88 +++ uni_modules/uni-easyinput/readme.md | 11 + .../components/uni-icons/uni-icons.uvue | 180 ++--- .../components/uni-icons/uni-icons.vue | 218 +++--- .../components/uni-icons/uniicons_file.ts | 36 +- .../components/uni-icons/uniicons_file_vue.js | 6 +- 11 files changed, 1194 insertions(+), 245 deletions(-) create mode 100644 uni_modules/uni-easyinput/changelog.md create mode 100644 uni_modules/uni-easyinput/components/uni-easyinput/common.js create mode 100644 uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue create mode 100644 uni_modules/uni-easyinput/package.json create mode 100644 uni_modules/uni-easyinput/readme.md diff --git a/pages/investigation/index.vue b/pages/investigation/index.vue index 9009af4..35395e5 100644 --- a/pages/investigation/index.vue +++ b/pages/investigation/index.vue @@ -26,7 +26,7 @@ 正在办理 {{ totalData.InGovernance }} --> - + 已完成 {{ totalData.InGovernance }} @@ -125,8 +125,10 @@ // tabFun.tabbar() this.getData() let pageStatus = this.$.getData('pageStatus') - this.pageStatus = pageStatus this.queryType = this.$.getData('pageType') + this.pageStatus = pageStatus + console.log(this.$.getData('pageType')) + if (pageStatus == 1) { this.handleTabClick(1) this.$.setData('pageStatus', '0') @@ -157,7 +159,7 @@ this.isMore = true this.getList() }, - handleTabClick(tab) { + handleTabClick(tab, falg = false) { this.tab = tab; this.page = 1; this.list = []; @@ -171,7 +173,10 @@ // this.status = '20'; // break; case 3: - this.queryType = '1' + if (falg) { + this.queryType = '1' + } + this.status = '20'; break; } @@ -224,11 +229,11 @@ } else { this.$.toast(res.message) } - if(this.status==10){ - this.$set(this.totalData,'UnderInvestigation',res.result.total) + if (this.status == 10) { + this.$set(this.totalData, 'UnderInvestigation', res.result.total) } - if(this.status==20){ - this.$set(this.totalData,'InGovernance',res.result.total) + if (this.status == 20) { + this.$set(this.totalData, 'InGovernance', res.result.total) } }).catch((err) => { this.loadmorestatus = 'nomore' @@ -250,7 +255,7 @@ '&deptId=' + row.handleDept + '&pcType=' + row.pcType + '&type=' + (this.tab == 1 ? 'edit' : 'view') + '§ionName=' + row.sectionName + - '§ionCode=' + row.sectionCode) + '§ionCode=' + row.sectionCode + '&taskName=' + row.name) // this.$.open('/pages/map/index?businessId=' + row.businessId) } @@ -438,7 +443,7 @@ } .Unit { - padding:20rpx 12rpx; + padding: 20rpx 12rpx; display: flex; justify-content: space-between; align-items: center; diff --git a/pages/mine/password.vue b/pages/mine/password.vue index a958b2f..249efeb 100644 --- a/pages/mine/password.vue +++ b/pages/mine/password.vue @@ -1,25 +1,25 @@