Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
DataCenter_Core2.1_20190520
Commits
02f05388
Commit
02f05388
authored
Mar 06, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同上
parent
7da36b04
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
UserRoleRelation.cshtml
Bailun.DC.Web/Areas/Users/Views/Home/UserRoleRelation.cshtml
+2
-2
HomeController.cs
Bailun.DC.Web/Controllers/HomeController.cs
+2
-1
Index.cshtml
Bailun.DC.Web/Pages/Index.cshtml
+2
-2
No files found.
Bailun.DC.Web/Areas/Users/Views/Home/UserRoleRelation.cshtml
View file @
02f05388
...
...
@@ -57,7 +57,7 @@
</div>
</div>
</div>
<div class="col-sm-3" style="padding-left:0px;">
@*
<div class="col-sm-3" style="padding-left:0px;">
<div style="background:#fff;-moz-box-shadow:3px 3px 8px #bbb; -webkit-box-shadow:3px 3px 3px #bbb; box-shadow:3px 3px 8px #bbb;">
<div style="margin-left:10px;padding-top:15px;padding-bottom:20px;">
<h3 style="margin-top:20px;">已授权导出权限<span style="font-size:13px;color:#aaa;">(已勾选的)</span></h3>
...
...
@@ -76,7 +76,7 @@
</div>
</div>
</div>
</div>
</div>
*@
</div>
<div class="row" style="margin-bottom:20px;">
<div class="col-sm-12" style="text-align:center;">
...
...
Bailun.DC.Web/Controllers/HomeController.cs
View file @
02f05388
...
...
@@ -70,7 +70,8 @@ namespace Bailun.DC.Web.Controllers
if
(
json
[
"statusCode"
].
ToStr
()
==
"200"
&&
json
[
"result"
][
"success"
].
ToString
().
ToLower
()
==
"true"
)
{
username
=
json
[
"result"
][
"Account"
].
ToString
();
userid
=
json
[
"result"
][
"UserId"
].
ToInt32
();
//userid = json["result"]["UserId"].ToInt32();
userid
=
json
[
"result"
][
"OaUserId"
].
ToInt32
();
isAllCompany
=
json
[
"result"
][
"AllCompany"
].
ToStr
().
ToLower
()
==
"false"
?
0
:
1
;
int
.
TryParse
(
json
[
"result"
][
"Company"
][
"Id"
].
ToString
(),
out
companyid
);
if
(
json
[
"result"
][
"Department"
].
ToString
()
!=
"null"
)
...
...
Bailun.DC.Web/Pages/Index.cshtml
View file @
02f05388
...
...
@@ -29,8 +29,8 @@
<body
class=
"fixed-sidebar full-height-layout gray-bg"
style=
"overflow:hidden"
>
<script
type=
"text/javascript"
>
login_localhost
();
//
login();
//
login_localhost();
login
();
window
.
location
=
"@Url.Content("
~
/Home/
Main
")"
;
</script>
</body>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment