Ver Código Fonte

getnew()去掉接口转圈

miaofuhao 3 anos atrás
pai
commit
6225b3c9ee
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      WebUI/CallCenterWeb.UI/js/index.js

+ 2 - 1
WebUI/CallCenterWeb.UI/js/index.js

@@ -1956,17 +1956,18 @@ function signRead(signid, e) {
1956 1956
 	});
1957 1957
 }
1958 1958
 function getnew(){
1959
+	helper.init.isload = 0;
1959 1960
 	$.getJSON(huayi.config.callcenter_url + 'InternalMessages/GetMsg', {
1960 1961
 		token: $.cookie("token"),
1961 1962
 		smstype:2,
1962 1963
 	}, function(result) {
1964
+		helper.init.isload = 1;
1963 1965
 			if(result.state.toLowerCase() === 'success'){
1964 1966
 			result = result.data;
1965 1967
 			var str = '';
1966 1968
 			$('#top_notices_lists1').empty();
1967 1969
 			if (result&&result.length) {
1968 1970
 				$('.tan_ping').css('display','block');
1969
-//				$('#top_notices_num').text(result.length);
1970 1971
 				for (var i = 0; i < result.length; i++) {
1971 1972
 					var contant1=result[i].SMS_Content.split('|')[0];
1972 1973
 					if(contant1.length>68){