提交 d1e81b8b 编写于 作者: doc_wei's avatar doc_wei

解决上移下移无法移动问题

上级 5ec88c26
......@@ -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
......@@ -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("<li class='li_surveyQuItemBody'>"+prevQuBodyHtml+"</li>");
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("<li class='li_surveyQuItemBody' >"+nextQuBodyHtml+"</li>");
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});
}
});
......
......@@ -37,6 +37,7 @@
<div id="dwSurveyQuContent" style="min-height: 500px;">
<ul id="dwSurveyQuContentAppUl">
{{#each rows}}
<li class="li_surveyQuItemBody">
{{#if quType}}
{{#compare1 quType '1'}}<!-- radio -->
<div class="surveyQuItemBody">
......@@ -1268,6 +1269,7 @@
{{/if}}
{{/compare1}}
{{/if}}
</li>
{{/each}}
</ul>
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册