From b5f084460e9e639358fbf91056a86be8d0a5c4b2 Mon Sep 17 00:00:00 2001
From: yaolonglong <yaolonglong15@163.com>
Date: 星期四, 09 十月 2025 20:18:57 +0800
Subject: [PATCH] 获取验证码功能
---
policy/policyApply/perPage.vue | 20 ++++++++++++++++----
1 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/policy/policyApply/perPage.vue b/policy/policyApply/perPage.vue
index 4f3479b..ccebd16 100644
--- a/policy/policyApply/perPage.vue
+++ b/policy/policyApply/perPage.vue
@@ -3,7 +3,7 @@
<view class="bg-box">
<view class="title">閫夋嫨闅忚浜哄憳</view>
<u-search v-model="nickName" @search="enforceList" @clear="clearContent" @confirm="enforceList" @custom="enforceList()"></u-search>
- <scroll-view scroll-y="true" style="height: 600rpx;margin-top: 20rpx;">
+ <scroll-view scroll-y="true" style="height: 500rpx;margin-top: 20rpx; margin-bottom: 100rpx;">
<view v-if="checkboxList1.length">
<u-checkbox-group iconPlacement="right" v-model="checkboxValue1" placement="column" @change="checkboxChange">
<u-checkbox :customStyle="{marginBottom: '40rpx', }" v-for="(item, index) in checkboxList1" :key="index"
@@ -60,8 +60,8 @@
},
methods: {
clearContent() {
- this.companyName = ""
- this.enforceList()
+ this.nickName = ""
+ //this.enforceList()
},
checkboxChange(n) {
// console.log('change', n);
@@ -71,6 +71,9 @@
},
open(list) {
this.show = true
+ this.checkboxValue1 = []
+ this.nickName = ""
+ this.checkboxList1 = []
this.enforceList()
},
enteryResult() {
@@ -91,7 +94,16 @@
this.close()
},
enforceList() {
- enforceList({nickName: this.nickName}).then(val => {
+ // if(this.nickName==''){
+ // uni.showToast({
+ // title: '璇疯緭鍏ュ叧閿瓧鎼滅储',
+ // icon: 'none'
+ // })
+ // return
+ // }
+ const value = uni.getStorageSync('userInfo')
+ const id = value.deptId
+ enforceList({nickName:this.nickName,deptId:id}).then(val => {
this.checkboxList1 = val.data.data
})
}
--
Gitblit v1.9.1