LIPENGTAO1313 6 years ago
parent
commit
88b83bd775

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

@ -190,7 +190,7 @@
190 190
		<script type="text/javascript" src="js/public/bootstrap.min.js"></script>
191 191
		<script type="text/javascript" src="js/public/bootstrap-datetimepicker.js"></script>
192 192
		<script type="text/javascript" src="js/public/jquery.similar.msgbox.js"></script>
193
		<script src="js/public/city.min.js" type="text/javascript" charset="utf-8"></script>
193
		<script src="../js/city.min.js" type="text/javascript" charset="utf-8"></script>
194 194
		<script type="text/javascript" src="js/public/cmpCom.js"></script>
195 195
		<script type="text/javascript" src="../js/public/baseUtil.js"></script>
196 196
		<script src="js/cmp-demandPublish.js"></script>

+ 5 - 0
cmp-portal/js/cmp-demandPublish.js

@ -228,6 +228,11 @@ $(document).ready(function() {
228 228
			$.MsgBox.Alert('提示', '联系电话不得超过50个字');
229 229
			return;
230 230
		}
231
		var len=$("#expertli").find(".selectAdd");
232
		if(len.length==0) {
233
			$.MsgBox.Alert('提示', '请至少选择一个联系人。');
234
			return 0;
235
		}
231 236
		return 1;
232 237
	}
233 238
	/*时间转换成6位传给后台*/

+ 4 - 2
cmp-portal/js/cmp-productIssue.js

@ -414,9 +414,11 @@ $(document).ready(function() {
414 414
						$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
415 415
						getRecourceMe();
416 416
					} else {
417
						$.MsgBox.Alert('提示', '产品发成功!');
417
						$.MsgBox.Alert("提示", "产品发成功!", function articalList() {
418
						location.href = "cmp-resourceList.html";
419
						});
418 420
						$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
419
						location.href = "cmp-productList.html"
421
						
420 422
					}
421 423

422 424
				}else {

+ 4 - 2
cmp-portal/js/cmp-serviceIssue.js

@ -381,9 +381,11 @@ $(function() {
381 381
					$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
382 382
					getRecourceMe();
383 383
				} else {
384
					$.MsgBox.Alert('提示', '服务发成功!');
384
					$.MsgBox.Alert("提示", "服务发成功!", function articalList() {
385
						location.href = "cmp-serviceList.html";
386
					});
385 387
					$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
386
					location.href = "cmp-serviceList.html"
388
					
387 389
				}
388 390

389 391
			} else {

+ 1 - 1
cmp-portal/js/needIssue.js

@ -312,7 +312,7 @@ $(document).ready(function() {
312 312
				"duration": $("#budget").val() != "0" ? $("#budget").val() : "",
313 313
				"invalidDay": st6($("#createTime").val()),
314 314
				"contactNum": $("#phone").val(),
315
				"creater":$("#expertli").find(".selectAdd").parents('li').attr('id'),
315
				"creator":$("#expertli").find(".selectAdd").parents('li').attr('id'),
316 316
				"id": demandId,
317 317
			    'orgName': $.cookie("orgName"),
318 318
			    'source': 'ekexiuWeb'

+ 4 - 2
cmp-portal/js/resourceIssue.js

@ -370,9 +370,11 @@ $(document).ready(function() {
370 370
						$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
371 371
						getRecourceMe();
372 372
					} else {
373
						$.MsgBox.Alert('提示', '资源发成功!');
373
						$.MsgBox.Alert("提示", "资源发成功!", function articalList() {
374
						location.href = "cmp-resourceList.html";
375
					});
374 376
						$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
375
						location.href = "cmp-resourceList.html"
377
						
376 378
					}
377 379

378 380
				}else {

+ 1 - 1
js/demandModify.js

@ -208,7 +208,7 @@ $(document).ready(function() {
208 208
				"duration": $("#budget").val() != "0" ? $("#budget").val() : "",
209 209
				"invalidDay": st6($("#createTime").val()),
210 210
				"contactNum": $("#phone").val(),
211
				"modifier": userid,
211
				"creator": userid,
212 212
				"id": demandId,
213 213
			    'orgName': $('#org').val(),
214 214
			    'source': 'ekexiuWeb'

+ 4 - 2
js/resourceIssue.js

@ -446,9 +446,11 @@ $(document).ready(function() {
446 446
							$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
447 447
							getRecourceMe();
448 448
							}else{
449
								$.MsgBox.Alert('提示', '资源发布成功!');
449
								$.MsgBox.Alert("提示", "资源发布成功!", function articalList() {
450
									location.href = "resourceList.html";
451
								});
450 452
								$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
451
								location.href="resourceList.html"
453
								
452 454
							}
453 455
							
454 456
						}else{

+ 4 - 2
js/serviceIssue.js

@ -381,9 +381,11 @@ $(document).ready(function() {
381 381
					$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
382 382
					getRecourceMe();
383 383
				} else {
384
					$.MsgBox.Alert('提示', '服务发成功!');
384
					$.MsgBox.Alert("提示", "服务发成功!", function articalList() {
385
						location.href = "serviceList.html";
386
					});
385 387
					$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
386
					location.href = "serviceList.html"
388
					
387 389
				}
388 390

389 391
			} else {

+ 1 - 1
js/ueditor/lang/zh-cn/zh-cn.js

@ -16,7 +16,7 @@ UE.I18N['zh-cn'] = {
16 16
        'deleterow':'删除行', 'deletecol':'删除列', 'splittorows':'拆分成行',
17 17
        'splittocols':'拆分成列', 'splittocells':'完全拆分单元格','deletecaption':'删除表格标题','inserttitle':'插入标题',
18 18
        'mergecells':'合并多个单元格', 'deletetable':'删除表格', 'cleardoc':'清空文档','insertparagraphbeforetable':"表格前插入行",'insertcode':'代码语言',
19
        'fontfamily':'字体', 'fontsize':'字号', 'paragraph':'段落格式', 'simpleupload':'单图上传', 'insertimage':'图上传','edittable':'表格属性','edittd':'单元格属性', 'link':'超链接',
19
        'fontfamily':'字体', 'fontsize':'字号', 'paragraph':'段落格式', 'simpleupload':'单图上传', 'insertimage':'图上传','edittable':'表格属性','edittd':'单元格属性', 'link':'超链接',
20 20
        'emotion':'表情', 'spechars':'特殊字符', 'searchreplace':'查询替换', 'map':'Baidu地图', 'gmap':'Google地图',
21 21
        'insertvideo':'视频', 'help':'帮助', 'justifyleft':'居左对齐', 'justifyright':'居右对齐', 'justifycenter':'居中对齐',
22 22
        'justifyjustify':'两端对齐', 'forecolor':'字体颜色', 'backcolor':'背景色', 'insertorderedlist':'有序列表',

+ 1 - 1
js/ueditor/ueditor.config.js

@ -40,7 +40,7 @@
40 40
            'insertorderedlist', 'insertunorderedlist', '|',
41 41
            'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|',
42 42
            'spechars', '|',
43
           	'superscript', 'subscript','|','link','insertimage','simpleupload'
43
           	'superscript', 'subscript','|','link','simpleupload','insertimage'
44 44
        ]]
45 45
        
46 46
        /*, toolbars: [[