Browse Source

企业工作台细节修改

jack 8 years ago
parent
commit
bf856f9d92

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

29
			<div class="workconitem">
29
			<div class="workconitem">
30
			    <div class="workcontit">企业工作台</div>
30
			    <div class="workcontit">企业工作台</div>
31
			    <div class="worksubcon clearfix">
31
			    <div class="worksubcon clearfix">
32
			        <div class="workblock identityState" id="identityState">
32
			        <div class="workblock identityState" id="identityState" style="display:none">
33
						<div class="nowState">
33
						<div class="nowState">
34
						   <p><span class="identProcess" id="identProcess">通过企业认证,员工可以在科袖网发布企业需求,<br />您可以在这里管理这些需求。</span><span class="identts" id="identts"></span></p>
34
						   <p><span class="identProcess" id="identProcess">通过企业认证,员工可以在科袖网发布企业需求,<br />您可以在这里管理这些需求。</span><span class="identts" id="identts"></span></p>
35
						   <a href="cmp-setAuth.html"><button type="button" class="frmtype btnModel headRadius identBtn" id="identBtn">马上认证</button></a>
35
						   <a href="cmp-setAuth.html"><button type="button" class="frmtype btnModel headRadius identBtn" id="identBtn">马上认证</button></a>
36
						</div>
36
						</div>
37
					</div>
37
					</div>
38
			        <div class="workmysrc" id="companyDemandList">	
38
			        <div class="workmysrc" id="companyDemandList" style="display:none">	
39
			             <div class="workmenubox clearfix">
39
			             <div class="workmenubox clearfix">
40
			                <form class="workmenufrm floatR">
40
			                <form class="workmenufrm floatR">
41
			                    <div class="workselectbox floatL consultSelect selcet3">
41
			                    <div class="workselectbox floatL consultSelect selcet3">

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

33
			    </div>
33
			    </div>
34
			    <div class="worksubcon clearfix">
34
			    <div class="worksubcon clearfix">
35
			    	<!--未认证-->
35
			    	<!--未认证-->
36
		            <div class="workblock identityState" id="identityState">
36
		            <div class="workblock identityState" id="identityState" style="display:none;">
37
						<div class="nowState">
37
						<div class="nowState">
38
						   <p><span class="identProcess" id="identProcess">通过企业认证后,您可以在这里认证企业员工,<br />这些【企业认证员工】可以在科袖网发布企业需求。</span><span class="identts" id="identts"></span></p>
38
						   <p><span class="identProcess" id="identProcess">通过企业认证后,您可以在这里认证企业员工,<br />这些【企业认证员工】可以在科袖网发布企业需求。</span><span class="identts" id="identts"></span></p>
39
						   <a href="cmp-setAuth.html"><button type="button" class="frmtype btnModel headRadius identBtn" id="identBtn">马上认证</button></a>
39
						   <a href="cmp-setAuth.html"><button type="button" class="frmtype btnModel headRadius identBtn" id="identBtn">马上认证</button></a>
40
						</div>
40
						</div>
41
					</div>
41
					</div>
42
					<!--员工管理-->
42
					<!--员工管理-->
43
					<div class="workblock clearfix" id="staff">
43
					<div class="workblock clearfix" id="staff" style="display:none;">
44
						<div class="workselectcon">
44
						<div class="workselectcon">
45
							<form class="stafffrm">
45
							<form class="stafffrm">
46
								<input type="email" name="staffemail" class="frmtype staffemail" placeholder="请输入您企业员工的邮箱地址" id="mail"/>
46
								<input type="email" name="staffemail" class="frmtype staffemail" placeholder="请输入您企业员工的邮箱地址" id="mail"/>

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

46
			            		</div>
46
			            		</div>
47
			            	</div>
47
			            	</div>
48
			            </div>
48
			            </div>
49
			            <div class="workblock identityState" id="authBad">
49
			            <div class="workblock identityState" id="authBad" style="display:none">
50
							<div class="nowState">
50
							<div class="nowState">
51
							   <p><span class="identProcess" id="identProcess">通过企业认证,员工可以在科袖网发布企业需求,<br />专家帮助您解决研发难题。</span><span class="identts" id="identts"></span></p>
51
							   <p><span class="identProcess" id="identProcess">通过企业认证,员工可以在科袖网发布企业需求,<br />专家帮助您解决研发难题。</span><span class="identts" id="identts"></span></p>
52
							   <a href="cmp-setAuth.html"><button type="button" class="frmtype btnModel headRadius identBtn" id="identBtn">马上去认证</button></a>
52
							   <a href="cmp-setAuth.html"><button type="button" class="frmtype btnModel headRadius identBtn" id="identBtn">马上去认证</button></a>
53
							</div>
53
							</div>
54
						</div>
54
						</div>
55
						<div class="workblock clearfix" id="authOk">
55
						<div class="workblock clearfix" id="authOk" style="display:none">
56
							<div class="worksubblock floatL">
56
							<div class="worksubblock floatL">
57
								<div class="worktit">企业需求<a href="cmp-needList.html"class="worklinkbtn cmpColor floatR">查看全部</a></div>
57
								<div class="worktit">企业需求<a href="cmp-needList.html"class="worklinkbtn cmpColor floatR">查看全部</a></div>
58
			                    <div class="wbcon">
58
			                    <div class="wbcon">

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

17
				if(data.success) {
17
				if(data.success) {
18
					console.log(data);
18
					console.log(data);
19
					if(data.data == 3) {
19
					if(data.data == 3) {
20
						$("#identityState").hide();
20
						$("#companyDemandList").show();
21
					} else {
21
					} else {
22
						$("#companyDemandList").hide();
22
						$("#identityState").show();
23
					}
23
					}
24
				}
24
				}
25
			},
25
			},
92
			if($obje.hasHeadImage) {
92
			if($obje.hasHeadImage) {
93
				oImg = "/images/head/" + $obje.id + "_l.jpg";
93
				oImg = "/images/head/" + $obje.id + "_l.jpg";
94
			} else {
94
			} else {
95
				oImg = "images/default-photo.jpg"
95
				oImg = "../images/default-photo.jpg"
96
			}
96
			}
97
			if($obje.authType) {
97
			if($obje.authType) {
98
				var typeTname = " authicon authicon-cu"
98
				var typeTname = " authicon authicon-cu"

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

79
	}
79
	}
80
	angleDemand();
80
	angleDemand();
81
	$(".closeBtn").click(function() {
81
	$(".closeBtn").click(function() {
82
		$.MsgBox.Confirm("消息", "确认关闭此需求?", closeDemand)
82
		$.MsgBox.Confirm("消息", "确认关闭此需求?——关闭后,专家将看不到此需求,但不会影响进行中的相关咨询。", closeDemand)
83
	})
83
	})
84

84

85
	function closeDemand() {
85
	function closeDemand() {

+ 2 - 2
cmp-portal/js/cmp-staffList.js

13
			success: function(data, textState) {
13
			success: function(data, textState) {
14
				if(data.success) {
14
				if(data.success) {
15
					if(data.data == 3) {
15
					if(data.data == 3) {
16
						$("#identityState").hide();
16
						$("#staff").show();
17
					} else {
17
					} else {
18
						$("#staff").hide();
18
						$("#identityState").show();
19
						$("#costf").html("员工管理");
19
						$("#costf").html("员工管理");
20
					}
20
					}
21
				}
21
				}

+ 2 - 2
cmp-portal/js/cmp-workspaces.js

16
					if($data.authStatus != 3) {
16
					if($data.authStatus != 3) {
17
						$("#photoClass").addClass("authicon-com-no")
17
						$("#photoClass").addClass("authicon-com-no")
18
						$("#photoClass").attr("title", "未认证企业");
18
						$("#photoClass").attr("title", "未认证企业");
19
						$("#authOk").hide();
19
						$("#authBad").show();
20
					} else {
20
					} else {
21
						$("#photoClass").addClass("authicon-com-ok");
21
						$("#photoClass").addClass("authicon-com-ok");
22
						$("#authBad").hide();
22
						$("#authOk").show();
23
						$("#photoClass").attr("title", "认证企业");
23
						$("#photoClass").attr("title", "认证企业");
24
					}
24
					}
25
					$(".h1Font").find("span").text($data.name);
25
					$(".h1Font").find("span").text($data.name);