liuzhen лет назад: 5
Родитель
Сommit
e83fcb406c

+ 1 - 1
WebUI/CallCenterWeb.UI/jiXiao/jiXiao.html

@@ -80,7 +80,7 @@
80 80
 		<script>
81 81
 //			var table1=$('#table1');
82 82
 			var dates=new Date();
83
-			var time=dates.getFullYear()+"-"+(dates.getMonth()+1)+'-'+dates.getDate();
83
+			var time=dates.getFullYear()+"-"+(dates.getMonth()+1);
84 84
 			$(document).ready(function() {
85 85
 				$('#startTime').val(time)
86 86
 					//年月选择器

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

@@ -619,6 +619,9 @@ $(document).ready(function () {
619 619
                 success: function (result) {
620 620
                     if (result.state.toLowerCase() == "success") {
621 621
                         layer.msg("修改成功!");
622
+                        $('.spwd').val('');
623
+                        $('.npwd').val('');
624
+                        $('.epwd').val('');
622 625
                     }
623 626
                 }
624 627
             });
@@ -652,7 +655,8 @@ $(document).ready(function () {
652 655
         });
653 656
         $("#setDrag").click(function () {
654 657
             o.cropper("setDragMode", "crop");
655
-            var img = o.cropper("getDataURL");
658
+//          var img = o.cropper("getDataURL");
659
+            var img = o.cropper("getCroppedCanvas").toDataURL('image/png');
656 660
             $.post(huayi.config.callcenter_url + "Index/UploadTX64", {
657 661
                 dataurl: encodeURIComponent(img),
658 662
                 "token": $.cookie("token")

+ 4 - 1
WebUI/CallCenterWeb.UI/zhiShiKu/addZhiShiKu.html

@@ -215,7 +215,10 @@
215 215
 			var con;//知识库内容
216 216
 			var issub;//是否提交审核
217 217
 			$('.tiJiao').click(function(){
218
-			
218
+				if(!id){
219
+					layer.msg('请选择分类');
220
+					return
221
+				}
219 222
 				if($('.isCheck').is(':checked')==true){
220 223
 					issub=1;
221 224
 				}else{

+ 1 - 1
WebUI/CallCenterWeb.UI/zhiShiKu/newRepository.html

@@ -76,7 +76,7 @@
76 76
 					<sapn><i class="syIcon"></i>位置:
77 77
 						<a id="ReIndex">首页</a>&gt;
78 78
 						<a href="javaScript:;">知识库</a>&gt;
79
-						<a href="" class="nowPosition">知识库信息</a>
79
+						<a href="" class="nowPosition">新版知识库</a>
80 80
 					</sapn>
81 81
 				</div>
82 82
 				<div class="dhRight">