From dce9e946c4672f2462c0b0e3b4458813f8b6054e Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期五, 09 九月 2022 17:06:49 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/changetime.js |   24 +++++++++++++++++++++++-
 1 files changed, 23 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/static/js/changetime.js b/src/main/webapp/static/js/changetime.js
index 0d7d00e..be3c52e 100644
--- a/src/main/webapp/static/js/changetime.js
+++ b/src/main/webapp/static/js/changetime.js
@@ -1 +1,23 @@
-$(document).onclick
\ No newline at end of file
+let param
+$(document).on("click",".normal",function () {
+    let p = $(this).children("p").html()
+    if (!p) {
+        console.log(1)
+    }
+    let str = this.id.split('-')
+    param = {
+        itemId:str[1],weightNum:str[2]
+    }
+    console.log(param)
+
+})
+
+//$.ajax({
+//    url: baseurl + '/pms/projectPlan/update/homepage',
+//    type: 'GET',
+//    dataType: 'JSON',
+//    data: param,
+//    success: function (res) {
+//        console.log(res)
+//    }
+//})
\ No newline at end of file

--
Gitblit v1.9.1