li 7 years ago
parent
commit
dfec7d1cd1

+ 1 - 1
cmp-portal/articalIssue.html

@ -60,7 +60,7 @@
60 60
					<li class="form-item">
61 61
						<div class="aboutTit">关键词<span class="frmconmsg" id="keyPrompt"></span></div>
62 62
						<div class="col-w-12" style="position: relative;">
63
							<input type="text" class="frmcontype oinput" placeholder="请输入关键词" data-pro="关键词不得超过15个字"  data-num="5" data-fontSizeN="15" id="KeyWord" />
63
							<input type="text" class="frmcontype oinput" placeholder="请填写相关的关键词,如:腐蚀防护、石墨烯、纳米材料" data-pro="关键词不得超过15个字"  data-num="5" data-fontSizeN="15" id="KeyWord" />
64 64
							<button type="button" class="frmcontype btnModel frmadd addButton">添加</button>
65 65
							<div class="form-drop keydrop">
66 66
								<ul>

+ 1 - 1
cmp-portal/articalModify.html

@ -62,7 +62,7 @@
62 62
					<li class="form-item">
63 63
						<div class="aboutTit">关键词<span class="frmconmsg" id="keyPrompt"></span></div>
64 64
						<div class="col-w-12" style="position: relative;">
65
							<input type="text" class="frmcontype oinput" placeholder="请输入关键词" data-pro="关键词不得超过15个字"  data-num="5" data-fontSizeN="15" id="KeyWord" />
65
							<input type="text" class="frmcontype oinput" placeholder="请填写相关的关键词,如:腐蚀防护、石墨烯、纳米材料" data-pro="关键词不得超过15个字"  data-num="5" data-fontSizeN="15" id="KeyWord" />
66 66
							<button type="button" class="frmcontype btnModel frmadd addButton">添加</button>
67 67
							<div class="form-drop keydrop">
68 68
								<ul>

+ 1 - 1
cmp-portal/cmp-sevriceIssue.html

@ -4,7 +4,7 @@
4 4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 5
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6 6
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
<title>资源发布-科袖网</title>
7
<title>服务发布-科袖网</title>
8 8
<link rel="shortcut icon" href="images/favicon.ico "/>
9 9
<link href="../css/bootstrap.min.css" rel="stylesheet">
10 10
<link type="text/css" href="../css/webuploader/webuploader.css" rel="stylesheet">

+ 3 - 3
cmp-portal/js/articalModify.js

@ -159,7 +159,7 @@ $(function() {
159 159
				return;
160 160
			}
161 161
		}
162
		if(plength.length > 3) {
162
		if(plength.length > 5) {
163 163
			$(_this).parents(".otherBlock").find("input").hide();
164 164
		 	$(_this).parents(".otherBlock").find(".addexpert").append($(_this).clone());
165 165
			$(_this).parents(".otherBlock").find("input").val("");
@ -187,7 +187,7 @@ $(function() {
187 187
			"type": "get",
188 188
			"data": {
189 189
				"name": $("#checkZj").val(),
190
				"total": 3
190
				"total": 5
191 191
			},
192 192
			"success": function(data) {
193 193
				console.log(data);
@ -237,7 +237,7 @@ $(function() {
237 237
			"data": {
238 238
				"orgid": orgId,
239 239
				"resourceName": $("#checkZy").val(),
240
				"rows": 3
240
				"rows": 5
241 241
			},
242 242
			"success": function(data) {
243 243
				console.log(data);

+ 5 - 5
cmp-portal/js/cmp-serviceIssue.js

@ -34,7 +34,6 @@ $(function() {
34 34
			"url": "/ajax/ware/qo",
35 35
			"type": "GET",
36 36
			"success": function(data) {
37
				console.log(data);
38 37
				if(data.success) {
39 38
					$("#uploadDd").siblings().remove();
40 39
					$("#fileList").append("<dd></dd><dd></dd>");
@ -311,10 +310,15 @@ $(function() {
311 310
	/*条件是否匹配*/
312 311
	function term() {
313 312
		var reName = $.trim($("#resourceName").val());
313
		var len=$("#expertli").find(".selectAdd");
314 314
		if(reName == "") {
315 315
			$.MsgBox.Alert('提示', '请输入服务名称。');
316 316
			return 0;
317 317
		}
318
		if(len.length==0) {
319
			$.MsgBox.Alert('提示', '请至少选择一个联系人。');
320
			return 0;
321
		}
318 322
	}
319 323

320 324
	function keyW() {
@ -399,7 +403,6 @@ $(function() {
399 403
			},
400 404
			success: function(data, textState) {
401 405
				if(data.success) {
402
					console.log(data);
403 406
					unauthUser(data.data);
404 407
				}
405 408
			},
@ -485,7 +488,6 @@ $(function() {
485 488
				"id": sevriceId,
486 489
			},
487 490
			success: function(data) {
488
				console.log(data)
489 491
				if(data.success) {
490 492
					var arr = [];
491 493
					var arr1 = [];
@ -540,7 +542,6 @@ $(function() {
540 542
				"rows": 5
541 543
			},
542 544
			"success": function(data) {
543
				console.log(data);
544 545
				if(data.success) {
545 546
					if(data.data != "") {
546 547
						if(reEnd == prd) {
@ -595,7 +596,6 @@ $(function() {
595 596
				return;
596 597
			}
597 598
		}
598
		console.log(plength.length)
599 599
		if(plength.length >= 4) {
600 600
			$(_this).parents(".otherBlock").find("input").hide();
601 601
			$(_this).parents(".otherBlock").find(".addexpert").append($(_this).clone());

+ 3 - 3
cmp-portal/js/serviceList.js

@ -105,7 +105,7 @@ $(document).ready(function() {
105 105
	 			console.log($data[i].modifyTime)
106 106
	 			oTime="修改于 "+TimeTr($data[i].modifyTime);
107 107
	 			draftLable='<span class="draftLable">草稿</span>';
108
	 			oHtml="sevriceIssue.html";
108
	 			oHtml="cmp-sevriceIssue.html";
109 109
	 			oLi="class='draftList'"
110 110
	 		}else if($data[i].state=='1'){
111 111
	 			console.log($data[i].createTime)
@ -114,7 +114,7 @@ $(document).ready(function() {
114 114
	 			oHtml="../sevriceShow.html"
115 115
	 		}
116 116
	 		var oStr='<li '+oLi+'>'+
117
				'<a href="'+oHtml+'?sevriceId='+$data[i].id+'&flag='+$data[i].state+'" target="_blank">'+
117
				'<a href="'+oHtml+'?sevriceId='+$data[i].id+'" target="_blank">'+
118 118
					'<div class="madiaHead resouseHead" style="background-image: url('+imgSrc+');"></div>'	+						
119 119
						'<div class="madiaInfo">'+					
120 120
							'<p class="h1Font ellipsisSty">'+$data[i].name+'</p>'+						
@ -141,7 +141,7 @@ $(document).ready(function() {
141 141
	}
142 142
	/*点击修改跳转修改页面*/
143 143
	$("#resourceList").on("click",".editThis",function(){
144
		location.href="cmp-sevriceIssue.html?sevriceId="+$(this).attr("data-id")+"&flag="+$(this).attr("data-state");
144
		location.href="cmp-sevriceIssue.html?sevriceId="+$(this).attr("data-id");
145 145
	})
146 146
	/*点击删除跳转修改页面*/
147 147
	$("#resourceList").on("click",".deteleThis2",function(){

+ 1 - 1
sevriceIssue.html

@ -4,7 +4,7 @@
4 4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 5
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6 6
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
<title>资源发布-科袖网</title>
7
<title>服务发布-科袖网</title>
8 8
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
9 9
<link href="css/bootstrap.min.css" rel="stylesheet">
10 10
<link type="text/css" href="css/common.css" rel="stylesheet">