|
@@ -1,7 +1,7 @@
|
|
var $ = require("jquery");
|
|
var $ = require("jquery");
|
|
var { post,config,getUrlArgObject,openNewWin,isIe8 ,openNewWin} = require('./promise.js');
|
|
var { post,config,getUrlArgObject,openNewWin,isIe8 ,openNewWin} = require('./promise.js');
|
|
-let showImg = require('./../images/show2.png').replace(/^undefined/g, '')
|
|
|
|
-let collapseImg = require('./../images/collapse2.png').replace(/^undefined/g, '')
|
|
|
|
|
|
+let showImg = require('./../images/show.png').replace(/^undefined/g, '')
|
|
|
|
+let collapseImg = require('./../images/collapse.png').replace(/^undefined/g, '')
|
|
let emptyImg = require('./../images/empty3.png').replace(/^undefined/g, '')
|
|
let emptyImg = require('./../images/empty3.png').replace(/^undefined/g, '')
|
|
function getFollowUp(msg){
|
|
function getFollowUp(msg){
|
|
return post(config.followUp, msg)
|
|
return post(config.followUp, msg)
|
|
@@ -134,7 +134,7 @@ function adjustHeight() {
|
|
var containerHt = $(".contentWrapper").height()
|
|
var containerHt = $(".contentWrapper").height()
|
|
var ht1 = $(".operaNameWrap").height()
|
|
var ht1 = $(".operaNameWrap").height()
|
|
var ht2 = $(".btnBox").height()
|
|
var ht2 = $(".btnBox").height()
|
|
- $(".followUpWrap .infoWrap").height(containerHt -ht1- ht2-30 + "px");
|
|
|
|
|
|
+ $(".followUpWrap .infoWrap").height(containerHt -ht1- ht2 + "px");
|
|
$(".infoWrap").preventScroll();
|
|
$(".infoWrap").preventScroll();
|
|
}
|
|
}
|
|
function getTime(time){
|
|
function getTime(time){
|
|
@@ -181,7 +181,7 @@ function bindToggleHistory(){
|
|
})
|
|
})
|
|
}
|
|
}
|
|
function bindToggleInfo(){
|
|
function bindToggleInfo(){
|
|
- $(document).on("click",".infoBoxTitle",function(){
|
|
|
|
|
|
+ $(document).off("click").on("click",".infoBoxTitle",function(){
|
|
const img = $(this).parents(".infoBox").find(".toggleInfo").attr("src")
|
|
const img = $(this).parents(".infoBox").find(".toggleInfo").attr("src")
|
|
if(img === showImg){
|
|
if(img === showImg){
|
|
$(this).parents(".infoBox").find(".toggleInfo").attr("src",collapseImg)
|
|
$(this).parents(".infoBox").find(".toggleInfo").attr("src",collapseImg)
|