Parcourir la Source

企业属性选择资源及资源发布的条件

jack 7 ans auparavant
Parent
commit
c5a0d97bf3

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

26
	        	<ul>
26
	        	<ul>
27
	        		<li><a href="cmp-workspaces.html">工作台</a></li>
27
	        		<li><a href="cmp-workspaces.html">工作台</a></li>
28
	        		<li><a href="cmp-needList.html">需求</a></li>
28
	        		<li><a href="cmp-needList.html">需求</a></li>
29
	        		<li><a href="resourceList.html">资源</a></li>
29
	        		<li class="displayNone"><a href="resourceList.html">资源</a></li>
30
	        		<li><a href="cmp-articalList.html">文章</a></li>
30
	        		<li><a href="cmp-articalList.html">文章</a></li>
31
	        		<li class="nowLi"><a>员工</a></li>
31
	        		<li class="nowLi"><a>员工</a></li>
32
	        	</ul>
32
	        	</ul>

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

26
	        	<ul>
26
	        	<ul>
27
	        		<li><a href="cmp-workspaces.html">工作台</a></li>
27
	        		<li><a href="cmp-workspaces.html">工作台</a></li>
28
	        		<li><a href="cmp-needList.html">需求</a></li>
28
	        		<li><a href="cmp-needList.html">需求</a></li>
29
	        		<li><a href="resourceList.html">资源</a></li>
29
	        		<li class="displayNone"><a href="resourceList.html">资源</a></li>
30
	        		<li class="nowLi"><a>文章</a></li>
30
	        		<li class="nowLi"><a>文章</a></li>
31
	        		<li><a href="cmp-staffList.html">员工</a></li>
31
	        		<li><a href="cmp-staffList.html">员工</a></li>
32
	        	</ul>
32
	        	</ul>

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

26
	        	<ul>
26
	        	<ul>
27
	        		<li><a href="cmp-workspaces.html">工作台</a></li>
27
	        		<li><a href="cmp-workspaces.html">工作台</a></li>
28
	        		<li class="nowLi"><a>需求</a></li>
28
	        		<li class="nowLi"><a>需求</a></li>
29
	        		<li><a href="resourceList.html">资源</a></li>
29
	        		<li class="displayNone"><a href="resourceList.html">资源</a></li>
30
	        		<li><a href="cmp-articalList.html">文章</a></li>
30
	        		<li><a href="cmp-articalList.html">文章</a></li>
31
	        		<li><a href="cmp-staffList.html">员工</a></li>
31
	        		<li><a href="cmp-staffList.html">员工</a></li>
32
	        	</ul>
32
	        	</ul>

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

26
	        	<ul>
26
	        	<ul>
27
	        		<li><a href="cmp-workspaces.html">工作台</a></li>
27
	        		<li><a href="cmp-workspaces.html">工作台</a></li>
28
	        		<li><a href="cmp-needList.html">需求</a></li>
28
	        		<li><a href="cmp-needList.html">需求</a></li>
29
	        		<li><a href="resourceList.html">资源</a></li>
29
	        		<li class="displayNone"><a href="resourceList.html">资源</a></li>
30
	        		<li><a href="cmp-articalList.html">文章</a></li>
30
	        		<li><a href="cmp-articalList.html">文章</a></li>
31
	        		<li class="nowLi"><a>员工</a></li>
31
	        		<li class="nowLi"><a>员工</a></li>
32
	        	</ul>
32
	        	</ul>

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

26
	        	<ul>
26
	        	<ul>
27
	        		<li class="nowLi"><a>工作台</a></li>
27
	        		<li class="nowLi"><a>工作台</a></li>
28
	        		<li><a href="cmp-needList.html">需求</a></li>
28
	        		<li><a href="cmp-needList.html">需求</a></li>
29
	        		<li><a href="resourceList.html">资源</a></li>
29
	        		<li class="displayNone"><a href="resourceList.html">资源</a></li>
30
	        		<li><a href="cmp-articalList.html">文章</a></li>
30
	        		<li><a href="cmp-articalList.html">文章</a></li>
31
	        		<li><a href="cmp-staffList.html">员工</a></li>
31
	        		<li><a href="cmp-staffList.html">员工</a></li>
32
	        	</ul>
32
	        	</ul>

+ 1 - 0
cmp-portal/js/cmp-UnstaffList.js

4
	if(id == "" || id == null || id == "null"){
4
	if(id == "" || id == null || id == "null"){
5
    	location.href = "cmp-settled-log.html";
5
    	location.href = "cmp-settled-log.html";
6
    }
6
    }
7
	resMgr(id);
7
	/*获取企业未认证的用户*/
8
	/*获取企业未认证的用户*/
8
	function UnauthorizedUser() {
9
	function UnauthorizedUser() {
9
		$.ajax({
10
		$.ajax({

+ 1 - 0
cmp-portal/js/cmp-articalList.js

4
if(orgId == "" || orgId == null || orgId == "null"){
4
if(orgId == "" || orgId == null || orgId == "null"){
5
	location.href = "cmp-settled-log.html";
5
	location.href = "cmp-settled-log.html";
6
}
6
}
7
resMgr(orgId);
7
$(function() {
8
$(function() {
8
	$(".onlogin .headnavbtn li").eq(0).addClass("navcurrent");
9
	$(".onlogin .headnavbtn li").eq(0).addClass("navcurrent");
9
	var  falseno = false;
10
	var  falseno = false;

+ 1 - 0
cmp-portal/js/cmp-needList.js

4
	if(id == "" || id == null || id == "null"){
4
	if(id == "" || id == null || id == "null"){
5
    	location.href = "cmp-settled-log.html";
5
    	location.href = "cmp-settled-log.html";
6
    }
6
    }
7
	resMgr(id);
7
	demandList(true,10, 1);
8
	demandList(true,10, 1);
8
	/*查询企业认证状态*/
9
	/*查询企业认证状态*/
9
	function companyAuthentState() {
10
	function companyAuthentState() {

+ 1 - 0
cmp-portal/js/cmp-staffList.js

4
	if(id == "" || id == null || id == "null"){
4
	if(id == "" || id == null || id == "null"){
5
    	location.href = "cmp-settled-log.html";
5
    	location.href = "cmp-settled-log.html";
6
    }
6
    }
7
	resMgr(id);
7
	/*判断企业是否认证*/
8
	/*判断企业是否认证*/
8
	function companyAuthStatus() {
9
	function companyAuthStatus() {
9
		$.ajax({
10
		$.ajax({

+ 1 - 0
cmp-portal/js/cmp-workspaces.js

4
	if(id == "" || id == null || id == "null"){
4
	if(id == "" || id == null || id == "null"){
5
    	location.href = "cmp-settled-log.html";
5
    	location.href = "cmp-settled-log.html";
6
    }
6
    }
7
	resMgr(id);
7
	/*企业信息*/
8
	/*企业信息*/
8
	function companyInformation() {
9
	function companyInformation() {
9
		$.ajax({
10
		$.ajax({

+ 20 - 0
cmp-portal/js/public/common.js

537
           
537
           
538
    return currentdate;
538
    return currentdate;
539
}
539
}
540
541
function resMgr(oid) {
542
	$.ajax({
543
			url: "/ajax/org/" +oid,
544
			type: "GET",
545
			timeout: 10000,
546
			dataType: "json",
547
			async:"true",
548
			success: function(data, textState) {
549
				if(data.success) {
550
					if(data.data.resMgr) {
551
						$('a:contains("资源")').parent().show();						
552
					}
553
				}
554
			},
555
			error: function(XMLHttpRequest, textStats, errorThrown) {
556
				$.MsgBox.Alert('提示', '服务器请求失败')
557
			}
558
		})
559
}

+ 5 - 2
cmp-portal/js/resourceList.js

23
			success: function(data, textState) {
23
			success: function(data, textState) {
24
				if(data.success) {
24
				if(data.success) {
25
					if(data.data.length==0) {
25
					if(data.data.length==0) {
26
						$.MsgBox.Alert('提示', '没有认证员工');
26
						$.MsgBox.Confirm("提示", "请至少认证1位员工?", function(){
27
						window.open("resourceIssue.html");
27
							location.href="cmp-UnstaffList.html";
28
						});
29
						$("#mb_btn_no").val("稍后再说");
30
						$("#mb_btn_ok").val("去认证");
28
					}
31
					}
29
				}
32
				}
30
			},
33
			},

+ 3 - 0
js/jquery.similar.msgbox.js

26
        _html += '</div></div>';
26
        _html += '</div></div>';
27
        //必须先将_html添加到body,再设置Css样式
27
        //必须先将_html添加到body,再设置Css样式
28
        $("body").append(_html); GenerateCss();
28
        $("body").append(_html); GenerateCss();
29
        
29
    }
30
    }
31
    
30
    //生成Css
32
    //生成Css
31
    var fontfamily='PingFang SC,Arial,Helvetica Neue,Hiragino Sans GB,Microsoft Yahei,WenQuanYi Micro Hei,sans-serif';
33
    var fontfamily='PingFang SC,Arial,Helvetica Neue,Hiragino Sans GB,Microsoft Yahei,WenQuanYi Micro Hei,sans-serif';
32
    var GenerateCss = function () {
34
    var GenerateCss = function () {
35
    	
33
        $("#mb_box").css({ width: '100%', height: '100%', zIndex: '99999', position: 'fixed',
36
        $("#mb_box").css({ width: '100%', height: '100%', zIndex: '99999', position: 'fixed',
34
            filter: 'Alpha(opacity=60)', backgroundColor: 'black', top: '0', left: '0', opacity: '0.5'
37
            filter: 'Alpha(opacity=60)', backgroundColor: 'black', top: '0', left: '0', opacity: '0.5'
35
        });
38
        });