From 11c8e8d23a4d21b90cf5768fda71823b887bd87f Mon Sep 17 00:00:00 2001 From: song Date: Fri, 10 Sep 2021 07:55:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 316e227..d097e8c 100644 --- a/index.html +++ b/index.html @@ -100,6 +100,7 @@ var p1432643387798069248 = { token: '', projectId: '', + roleId: '', dom: '', lists: [], currentIndex: '', @@ -116,6 +117,7 @@ // 获取父元素携带的参数 var userId = domBox.getAttribute("data-uid"); this.projectId = domBox.getAttribute("data-pid"); + this.roleId = domBox.getAttribute("data-rid"); // 初始化的时候 获取token this.getTokenByUserId(userId); }, @@ -150,7 +152,7 @@ let d = new Date() let startTime = new Date(d).getTime() const params = JSON.stringify({ - param: { projectId: that.projectId, memberIdList: [], startTime, endTime: startTime } + param: { projectId: that.projectId,roleId: that.roleId, memberIdList: [], startTime, endTime: startTime } }); var url = 'https://www.tall.wiki/gateway/defaultwbs/clock/query'; fetch(url, {