From d1e81b8b75c6d99d9039176c324a5291f290bbd4 Mon Sep 17 00:00:00 2001 From: weizhiqiang <598748873@qq.com> Date: Fri, 4 Jan 2019 19:43:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=B8=8A=E7=A7=BB=E4=B8=8B?= =?UTF-8?q?=E7=A7=BB=E6=97=A0=E6=B3=95=E7=A7=BB=E5=8A=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logs/skyeye.log | 21 ++++++++++++ .../js/dwsurveydesign/dwsurveydesign.js | 34 +++++++++++-------- .../tpl/dwsurveydesign/dwsurveydesignbean.tpl | 2 ++ 3 files changed, 43 insertions(+), 14 deletions(-) diff --git a/logs/skyeye.log b/logs/skyeye.log index 03bb1a1c0..3ec981028 100644 --- a/logs/skyeye.log +++ b/logs/skyeye.log @@ -5424,4 +5424,25 @@ [skyeye-promote][INFO] [2019-01-04 19:24:39] com.skyeye.common.filter.SessionFilter.doFilter(123) | 请求链接/dwsurveydirectory006 [skyeye-promote][INFO] [2019-01-04 19:24:43] com.skyeye.common.filter.SessionFilter.doFilter(123) | 请求链接/login002 [skyeye-promote][INFO] [2019-01-04 19:24:45] com.skyeye.common.filter.SessionFilter.doFilter(123) | 请求链接/dwsurveydirectory003 + [skyeye-promote][INFO] [2019-01-04 19:25:00] com.skyeye.start.thread.MonitorThread.queryComMation(49) | 读取 + [skyeye-promote][INFO] [2019-01-04 19:26:00] com.skyeye.start.thread.MonitorThread.queryComMation(49) | 读取 + [skyeye-promote][INFO] [2019-01-04 19:28:00] com.skyeye.start.thread.MonitorThread.queryComMation(49) | 读取 + [skyeye-promote][INFO] [2019-01-04 19:29:00] com.skyeye.start.thread.MonitorThread.queryComMation(49) | 读取 + [skyeye-promote][INFO] [2019-01-04 19:30:00] com.skyeye.start.thread.MonitorThread.queryComMation(49) | 读取 + [skyeye-promote][INFO] [2019-01-04 19:31:00] com.skyeye.start.thread.MonitorThread.queryComMation(49) | 读取 + [skyeye-promote][INFO] [2019-01-04 19:32:00] com.skyeye.start.thread.MonitorThread.queryComMation(49) | 读取 + [skyeye-promote][INFO] [2019-01-04 19:33:00] com.skyeye.start.thread.MonitorThread.queryComMation(49) | 读取 + [skyeye-promote][INFO] [2019-01-04 19:34:00] com.skyeye.start.thread.MonitorThread.queryComMation(49) | 读取 + [skyeye-promote][INFO] [2019-01-04 19:35:00] com.skyeye.start.thread.MonitorThread.queryComMation(49) | 读取 + [skyeye-promote][INFO] [2019-01-04 19:37:00] com.skyeye.start.thread.MonitorThread.queryComMation(49) | 读取 + [skyeye-promote][INFO] [2019-01-04 19:39:00] com.skyeye.start.thread.MonitorThread.queryComMation(49) | 读取 + [skyeye-promote][INFO] [2019-01-04 19:41:00] com.skyeye.start.thread.MonitorThread.queryComMation(49) | 读取 + [skyeye-promote][INFO] [2019-01-04 19:42:00] com.skyeye.start.thread.MonitorThread.queryComMation(49) | 读取 + [skyeye-promote][INFO] [2019-01-04 19:42:42] com.skyeye.common.filter.SessionFilter.doFilter(123) | 请求链接/login002 + [skyeye-promote][INFO] [2019-01-04 19:42:43] com.skyeye.common.filter.SessionFilter.doFilter(123) | 请求链接/login004 + [skyeye-promote][INFO] [2019-01-04 19:42:44] com.skyeye.common.filter.SessionFilter.doFilter(123) | 请求链接/login005 + [skyeye-promote][INFO] [2019-01-04 19:42:48] com.skyeye.common.filter.SessionFilter.doFilter(123) | 请求链接/login002 + [skyeye-promote][INFO] [2019-01-04 19:42:50] com.skyeye.common.filter.SessionFilter.doFilter(123) | 请求链接/dwsurveydirectory001 + [skyeye-promote][INFO] [2019-01-04 19:42:53] com.skyeye.common.filter.SessionFilter.doFilter(123) | 请求链接/login002 + [skyeye-promote][INFO] [2019-01-04 19:42:56] com.skyeye.common.filter.SessionFilter.doFilter(123) | 请求链接/dwsurveydirectory003 \ No newline at end of file diff --git a/skyeye-promote/src/main/resources/template/js/dwsurveydesign/dwsurveydesign.js b/skyeye-promote/src/main/resources/template/js/dwsurveydesign/dwsurveydesign.js index 6fc539af3..133f3048d 100644 --- a/skyeye-promote/src/main/resources/template/js/dwsurveydesign/dwsurveydesign.js +++ b/skyeye-promote/src/main/resources/template/js/dwsurveydesign/dwsurveydesign.js @@ -445,39 +445,45 @@ layui.config({ $(".questionUp").unbind(); $(".questionUp").click(function(){ - var nextQuBody=$(this).parents(".li_surveyQuItemBody"); - var prevQuBody=$(nextQuBody).prev(); + var nextQuBody = $(this).parents(".li_surveyQuItemBody"); + var prevQuBody = $(nextQuBody).prev(); if(prevQuBody[0]){ - var prevQuBodyHtml=prevQuBody.html(); + var prevQuBodyHtml = prevQuBody.html(); $(nextQuBody).after("
  • "+prevQuBodyHtml+"
  • "); - var newNextObj=$(nextQuBody).next(); + var newNextObj = $(nextQuBody).next(); newNextObj.hide(); newNextObj.slideDown("slow"); - prevQuBody.slideUp("slow",function(){prevQuBody.remove();resetQuItem();bindQuHoverItem();}); - + prevQuBody.slideUp("slow",function(){ + prevQuBody.remove(); + resetQuItem(); + bindQuHoverItem(); + }); nextQuBody.find("input[name='saveTag']").val(0); newNextObj.find("input[name='saveTag']").val(0); }else{ - notify("已经是第一个了!",1000); + top.winui.window.msg("已经是第一个了!", {icon: 2,time: 1000}); } }); $(".questionDown").unbind(); $(".questionDown").click(function(){ - var prevQuBody=$(this).parents(".li_surveyQuItemBody"); - var nextQuBody=$(prevQuBody).next(); + var prevQuBody = $(this).parents(".li_surveyQuItemBody"); + var nextQuBody = $(prevQuBody).next(); if(nextQuBody[0]){ - var nextQuBodyHtml=nextQuBody.html(); + var nextQuBodyHtml = nextQuBody.html(); $(prevQuBody).before("
  • "+nextQuBodyHtml+"
  • "); - var newPrevObj=$(prevQuBody).prev(); + var newPrevObj = $(prevQuBody).prev(); newPrevObj.hide(); newPrevObj.slideDown("slow"); - nextQuBody.slideUp("slow",function(){nextQuBody.remove();resetQuItem();bindQuHoverItem();}); - + nextQuBody.slideUp("slow",function(){ + nextQuBody.remove(); + resetQuItem(); + bindQuHoverItem(); + }); prevQuBody.find("input[name='saveTag']").val(0); newPrevObj.find("input[name='saveTag']").val(0); }else{ - alert("已经是最后一个了!"); + top.winui.window.msg("已经是最后一个了!", {icon: 2,time: 1000}); } }); diff --git a/skyeye-promote/src/main/resources/template/tpl/dwsurveydesign/dwsurveydesignbean.tpl b/skyeye-promote/src/main/resources/template/tpl/dwsurveydesign/dwsurveydesignbean.tpl index da1fbbec7..d170487e0 100644 --- a/skyeye-promote/src/main/resources/template/tpl/dwsurveydesign/dwsurveydesignbean.tpl +++ b/skyeye-promote/src/main/resources/template/tpl/dwsurveydesign/dwsurveydesignbean.tpl @@ -37,6 +37,7 @@
    -- GitLab