Преглед на файлове

个人用户为登录跳转登录页面

xuchunyang преди 7 години
родител
ревизия
17c6d74f74
променени са 22 файла, в които са добавени 29 реда и са изтрити 16 реда
  1. 2 2
      consult.html
  2. 2 2
      consultSure.html
  3. 2 2
      diloags.html
  4. 2 1
      js/articalIssue.js
  5. 1 0
      js/articalList.js
  6. 1 0
      js/articalModify.js
  7. 1 1
      js/articalPreview.js
  8. 1 0
      js/consult.js
  9. 1 0
      js/consultSure.js
  10. 1 0
      js/dialogs.js
  11. 1 0
      js/myConsult.js
  12. 2 0
      js/myDemand.js
  13. 1 0
      js/needList.js
  14. 1 0
      js/needShow.js
  15. 1 1
      js/needSure.js
  16. 1 0
      js/resourceImport.js
  17. 1 0
      js/resourceIssue.js
  18. 1 0
      js/resourceList.js
  19. 1 0
      js/resourcePreview.js
  20. 1 3
      js/workindex.js
  21. 2 2
      needShow.html
  22. 2 2
      needSure.html

+ 2 - 2
consult.html

@ -23,8 +23,8 @@
23 23
		<div class="workmenu">
24 24
			<a href="workspaces.html" class="workmenutit">工作台</a>
25 25
			<a class="worksubmenu subcolor" id="gozixu">咨询</a>
26
			<a href="resourceList.html" class="worksubmenu nohide" style="display:none;">资源</a>
27
			<a href="articalList.html" class="worksubmenu nohide" style="display:none;">文章</a>
26
			<a href="resourceList.html" class="worksubmenu " >资源</a>
27
			<a href="articalList.html" class="worksubmenu " >文章</a>
28 28
			<a href="needList.html" class="worksubmenu">需求</a>
29 29
		</div>
30 30
		<div class="workcon">

+ 2 - 2
consultSure.html

@ -25,8 +25,8 @@
25 25
		<div class="workmenu">
26 26
			<a href="workspaces.html" class="workmenutit">工作台</a>
27 27
			<a class="worksubmenu subcolor" id="gozixu">咨询</a>
28
			<a href="resourceList.html" class="worksubmenu nohide" style="display:none;">资源</a>
29
			<a href="articalList.html" class="worksubmenu nohide" style="display:none;">文章</a>
28
			<a href="resourceList.html" class="worksubmenu" >资源</a>
29
			<a href="articalList.html" class="worksubmenu" >文章</a>
30 30
			<a href="needList.html" class="worksubmenu">需求</a>
31 31
		</div>
32 32
		<div class="workcon">

+ 2 - 2
diloags.html

@ -26,8 +26,8 @@
26 26
		<div class="workmenu">
27 27
			<a href="workspaces.html" class="workmenutit">工作台</a>
28 28
			<a class="worksubmenu subcolor" id="gozixu">咨询</a>
29
			<a href="resourceList.html" class="worksubmenu nohide" style="display:none;">资源</a>
30
			<a href="articalList.html" class="worksubmenu nohide" style="display:none;">文章</a>
29
			<a href="resourceList.html" class="worksubmenu" >资源</a>
30
			<a href="articalList.html" class="worksubmenu " >文章</a>
31 31
			<a href="needList.html" class="worksubmenu">需求</a>
32 32
		</div>
33 33
		<div class="workcon">

+ 2 - 1
js/articalIssue.js

@ -1,11 +1,12 @@
1 1
$(function() {
2 2
	loginStatus(); //判断个人是否登录
3
	valUser();
3 4
	var experarray = [];
4 5
	var resourcesarray = [];
5 6
	var $data = {};
6 7
	var articleId;
7 8
	var fa = false;
8

9
  	var userid = $.cookie("userid");
9 10
	//校验标题
10 11
	$("#newstitle").on({
11 12
		focus: function() {

+ 1 - 0
js/articalList.js

@ -2,6 +2,7 @@
2 2
$(function() {
3 3
	$(".onlogin .headnavbtn li").eq(0).addClass("navcurrent");
4 4
	loginStatus(); //判断个人是否登录
5
	valUser();
5 6
	var userid = $.cookie("userid");
6 7
	var  falseno = false;
7 8
	articalList(10, 1, true, 1);

+ 1 - 0
js/articalModify.js

@ -1,5 +1,6 @@
1 1
$(function() {
2 2
	loginStatus();//判断个人是否登录
3
	valUser();
3 4
	var articleId = GetQueryString("articleId");
4 5
	var experarray = [];
5 6
	var resourcesarray = [];

+ 1 - 1
js/articalPreview.js

@ -1,8 +1,8 @@
1 1
/*文章预览*/
2 2
$(function() {
3 3
	loginStatus();//判断个人是否登录
4
	valUser();
4 5
	var articleId = GetQueryString("articleId");
5
	
6 6
	articleshow();
7 7
	relevantExperts();
8 8
	relevantResources(); 

+ 1 - 0
js/consult.js

@ -1,6 +1,7 @@
1 1
$(function(){
2 2
	$(".onlogin .headnavbtn li").eq(0).addClass("navcurrent");
3 3
	loginStatus();//判断个人是否登录
4
	valUser();
4 5
})
5 6
//用户id
6 7
var userid = $.cookie("userid");

+ 1 - 0
js/consultSure.js

@ -1,6 +1,7 @@
1 1
$(function(){
2 2
	$(".onlogin .headnavbtn li").eq(0).addClass("navcurrent");
3 3
	loginStatus();//判断个人是否登录
4
	valUser();
4 5
})
5 6
//咨询确认
6 7
$(function() {

+ 1 - 0
js/dialogs.js

@ -2,6 +2,7 @@
2 2
$(function(){
3 3
	$(".onlogin .headnavbtn li").eq(0).addClass("navcurrent");
4 4
	loginStatus();//判断个人是否登录
5
	valUser();
5 6
})
6 7
var userid = $.cookie("userid");
7 8
var sendId = GetQueryString('sendId');

+ 1 - 0
js/myConsult.js

@ -1,6 +1,7 @@
1 1
$(function(){
2 2
	$(".onlogin .headnavbtn li").eq(0).addClass("navcurrent");
3 3
	loginStatus();//判断个人是否登录
4
	valUser();
4 5
})
5 6
//用户id
6 7
var userid = $.cookie("userid");

+ 2 - 0
js/myDemand.js

@ -1,6 +1,8 @@
1 1
$(document).ready(function() {
2 2
	$(".onlogin .headnavbtn li").eq(0).addClass("navcurrent");
3 3
	loginStatus(); //判断个人是否登录
4
	valUser();
5
	var userid = $.cookie("userid");
4 6
	var yesNo = "",
5 7
		oSortType = 0,
6 8
		demandType, orgId;

+ 1 - 0
js/needList.js

@ -1,6 +1,7 @@
1 1
$(document).ready(function() {
2 2
	$(".onlogin .headnavbtn li").eq(0).addClass("navcurrent");
3 3
	loginStatus();//判断个人是否登录
4
	valUser();
4 5
	var oDemandAim = "",
5 6
		oSortType = "";
6 7
	/*需求列表*/

+ 1 - 0
js/needShow.js

@ -3,6 +3,7 @@ $(document).ready(function(){
3 3
	var demandId = GetQueryString("demandId");
4 4
	var consuId, demandTitle, demandContent, oDemandAim;
5 5
	loginStatus();//判断个人是否登录
6
	valUser();
6 7
	function angleDemand() {
7 8
		$.ajax({
8 9
			url: "/ajax/demand/queryOne",

+ 1 - 1
js/needSure.js

@ -3,7 +3,7 @@ $(document).ready(function() {
3 3
	var demandId = GetQueryString("demandId");
4 4
	var consuId, demandTitle, demandContent, oDemandAim;
5 5
	loginStatus();//判断个人是否登录
6
	
6
	valUser();
7 7
	function angleDemand() {
8 8
		$.ajax({
9 9
			url: "/ajax/demand/queryOne",

+ 1 - 0
js/resourceImport.js

@ -1,6 +1,7 @@
1 1
$(document).ready(function(){
2 2
	$(".onlogin .headnavbtn li").eq(0).addClass("navcurrent");
3 3
	loginStatus(); //判断个人是否登录
4
	valUser();
4 5
	var userid = $.cookie("userid");
5 6
	var resourceId;
6 7
	/*资源列表查询*/

+ 1 - 0
js/resourceIssue.js

@ -5,6 +5,7 @@ $(document).ready(function() {
5 5
		getRecourceMe();
6 6
	}
7 7
	loginStatus(); //判断个人是否登录
8
	valUser();
8 9
	var userid = $.cookie("userid");
9 10
	var temp = [];
10 11
	var array=[];

+ 1 - 0
js/resourceList.js

@ -1,6 +1,7 @@
1 1
$(document).ready(function(){
2 2
	$(".onlogin .headnavbtn li").eq(0).addClass("navcurrent");
3 3
	loginStatus(); //判断个人是否登录
4
	valUser();
4 5
	var userid = $.cookie("userid");
5 6
	var resourceId;
6 7
	/*资源列表查询*/

+ 1 - 0
js/resourcePreview.js

@ -1,5 +1,6 @@
1 1
$(document).ready(function() {
2 2
	loginStatus(); //判断个人是否登录
3
	valUser();
3 4
	var userid = $.cookie("userid");
4 5
	$(".jqzoom").imagezoom();
5 6
	$("#thumblist").on("click", "li a", function() {

+ 1 - 3
js/workindex.js

@ -1,10 +1,8 @@
1 1
$(function() {
2 2
	var userid = $.cookie("userid");
3
	if(userid=="null"){
4
		location.href="login.html"
5
	}
6 3
	$(".onlogin .headnavbtn li").eq(0).addClass("navcurrent");
7 4
	loginStatus();//判断个人是否登录
5
	valUser();
8 6
	var oAuthType=0;
9 7
	/*工作台专家的数据*/
10 8
	getProfessorData(userid);

+ 2 - 2
needShow.html

@ -25,8 +25,8 @@
25 25
        <div class="workmenu">
26 26
            <a href="workspaces.html" class="workmenutit">工作台</a>
27 27
            <a class="worksubmenu" id="gozixu">咨询</a>
28
            <a href="resourceList.html"  class="worksubmenu nohide" style="display:none;">资源</a>
29
            <a href="articalList.html"  class="worksubmenu nohide" style="display:none;">文章</a>
28
            <a href="resourceList.html"  class="worksubmenu" >资源</a>
29
            <a href="articalList.html"  class="worksubmenu " >文章</a>
30 30
            <a href="myDemand.html"  class="worksubmenu subcolor">需求</a>
31 31
        </div>
32 32
        <div class="workcon">

+ 2 - 2
needSure.html

@ -24,8 +24,8 @@
24 24
        <div class="workmenu">
25 25
            <a href="workspaces.html" class="workmenutit">工作台</a>
26 26
            <a class="worksubmenu" id="gozixu">咨询</a>
27
            <a href="resourceList.html"  class="worksubmenu nohide" style="display:none;">资源</a>
28
            <a href="articalList.html"  class="worksubmenu nohide" style="display:none;">文章</a>
27
            <a href="resourceList.html"  class="worksubmenu" >资源</a>
28
            <a href="articalList.html"  class="worksubmenu " >文章</a>
29 29
            <a href="needList.html"  class="worksubmenu subcolor">需求</a>
30 30
        </div>
31 31
        <div class="workcon">