caipin 5 years ago
parent
commit
d592b551af

+ 1 - 1
app/controller/cloudEditionController.js

@@ -23,7 +23,7 @@ var curingEdition= async function (req, res){
 
     var curingList=await cloudService.getCuringList(req, res);	//养护用户列表
     var compilationList=await cloudService.getCompilationList(); //编办信息
-console.log(curingList.pageData.previousPage);
+
     var data={ 'curingList': curingList.curingList,'sortList':curingList.sortList,'pageData':curingList.pageData,'compilationList':compilationList };
 
 

+ 2 - 2
app/service/cloudEditionService.js

@@ -8,8 +8,8 @@ const urlObj=require("url");
 
 //http://qa.smartcost.com.cn:2060/cld
 //"https://yhuat.smartcost.com.cn/cld";
-var curingUrl ="https://yhuat.smartcost.com.cn/cld"; //'https://yhyun.smartcost.com.cn/cld';
-//var curingUrl ="http://qa.smartcost.com.cn:2060/cld";
+//var curingUrl ="https://yhuat.smartcost.com.cn/cld"; //'https://yhyun.smartcost.com.cn/cld';
+var curingUrl ="http://qa.smartcost.com.cn:2060/cld";
 
 var buildUrl = 'https://yun.smartcost.com.cn/cld';
 

+ 3 - 1
global/js/columnShow/columnShow.js

@@ -3,7 +3,9 @@ $(function() {
 	$('input[type=checkbox][name=columnShow]').on('change', function(e) {
 		var column = $(this).attr('column');
 		var isAccept = $(this).prop("checked");
-		console.log(isAccept);
+		
+		$('table[columnShow] tr').find('td:eq('+column+')').hide();
+		
 		if (isAccept) {
 			alert("接受任务成功");
 			// $("#tisaccept").prop("checked",false);

+ 1 - 1
views/cloud/curing.html

@@ -234,7 +234,7 @@
                             <div class="panel-container " >
                                 <div class="panel-content" >
                                     <div curingListBox>
-                                    <table  class="table table-bordered table-hover table-striped">
+                                    <table columnShow class="table table-bordered table-hover table-striped">
                                         <thead><tr><th>通行账号</th>
                                             <th>企业名称</th>
                                             <th>CLD客户</th>