From 320ed3f4782f9662f79ecfe14d2cf3f34dd288c5 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期二, 01 八月 2023 19:52:36 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/changetime.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/changetime.js b/src/main/webapp/static/js/changetime.js index a46b69a..674608b 100644 --- a/src/main/webapp/static/js/changetime.js +++ b/src/main/webapp/static/js/changetime.js @@ -15,19 +15,21 @@ }) return } + str = this.id.split('-') layer.open({ type: 1, area: '400px', title: '娣诲姞缁撴潫鏃堕棿', content: $('#realTimes').html(), success: function (layero, index) { + console.log(str) layui.form.on('submit(editSubmit)', function (data) { realEndTime = $("#realEndTime").val(); param = { itemId:str[1],weightNum:str[2],realEndTime:realEndTime } $.ajax({ - url: baseurl + '/pms/projectPlan/update/homepage', + url: baseUrl + '/pms/projectPlan/update/homepage', type: 'GET', dataType: 'JSON', data: param, @@ -45,7 +47,7 @@ elem: '#realEndTime' ,type: 'datetime' }) - str = this.id.split('-') + }) }) -- Gitblit v1.9.1