From 611055b051b23fc9c804050f953bc7b08b2ce55e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?= <7507756+jiang_yuqi@user.noreply.gitee.com> Date: Fri, 1 Sep 2023 17:32:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- miniprogram/pageage/project_checkDetection/add/index.js | 7 ++++--- miniprogram/pages/login/login.wxml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/miniprogram/pageage/project_checkDetection/add/index.js b/miniprogram/pageage/project_checkDetection/add/index.js index 55c2b9e..632b66d 100644 --- a/miniprogram/pageage/project_checkDetection/add/index.js +++ b/miniprogram/pageage/project_checkDetection/add/index.js @@ -42,19 +42,20 @@ Page({ deptId:res.data.deptId, loginName:res.data.loginName, }) - this.getAllProjectUserData(); + this.getProjectUserData(); this.getTypeList(); } }) }, //查询项目人员数据 - getAllProjectUserData(){ + getProjectUserData(){ let that = this wx.request({ - url: app.globalData.reqUrl+'/wechat/projectuserinfo/list', + url: app.globalData.reqUrl+'/wechat/projectuserinfo/selectProjectUnitUser', method:"get", data:{ + unitType:"4", projectId:that.data.projectId }, header:{ diff --git a/miniprogram/pages/login/login.wxml b/miniprogram/pages/login/login.wxml index e260803..e0d2414 100644 --- a/miniprogram/pages/login/login.wxml +++ b/miniprogram/pages/login/login.wxml @@ -1,7 +1,7 @@