Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
contractmanage
Project
Project
Details
Activity
Releases
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
张伯涛
contractmanage
Commits
376b3099
Commit
376b3099
authored
Mar 03, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
bdc9cd0a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
6 deletions
+10
-6
favicon.ico
public/favicon.ico
+0
-0
home_logo.png
public/home_logo.png
+0
-0
index.html
public/index.html
+2
-2
index.vue
src/views/list/index.vue
+6
-2
login.vue
src/views/user/login.vue
+2
-2
No files found.
public/favicon.ico
deleted
100644 → 0
View file @
bdc9cd0a
66.1 KB
public/home_logo.png
deleted
100644 → 0
View file @
bdc9cd0a
4.46 KB
public/index.html
View file @
376b3099
...
...
@@ -4,8 +4,8 @@
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<!-- <link rel="icon" href="<%= BASE_URL %>home_logo.png">--
>
<!-- <link rel="stylesheet" href="//at.alicdn.com/t/font_2011217_f70ptj9y4oc.css">--
>
<link
rel=
"icon"
href=
" "
type=
"image/x-icon"
/
>
<link
rel=
"shortcut icon"
href=
" "
type=
"image/x-icon"
/
>
<!-- 新增电子签章依赖 开始-->
<!-- 核心功能 start -->
<script
type=
"text/javascript"
src=
"./kinggrid/jquery-1.8.3.min.js"
></script>
...
...
src/views/list/index.vue
View file @
376b3099
...
...
@@ -236,6 +236,8 @@
<
script
>
import
{
api
,
statusEnum
}
from
'./mock'
import
{
Store
}
from
'@/utils/storage'
import
{
storeKey
}
from
'@/utils/auth'
export
default
{
name
:
'AdminList'
,
data
()
{
...
...
@@ -639,7 +641,8 @@ obj=this.typeform*/
/** 个人数据列表查询*/
findContract
()
{
console
.
log
(
'登录人ID'
,
localStorage
.
getItem
(
'UserID'
))
const
userID
=
localStorage
.
getItem
(
'UserID'
)
// const userID = localStorage.getItem('UserID')
const
userID
=
JSON
.
parse
(
Store
.
get
(
storeKey
.
user
)).
userId
this
.
$axios
.
get
(
'http://117.122.212.101:8090/contract/contract/queryContractByPage'
,
{
params
:
{
...
...
@@ -666,7 +669,8 @@ obj=this.typeform*/
},
/** 部门数据列表查询*/
deptFindContract
()
{
const
deptId
=
localStorage
.
getItem
(
'UserID'
)
const
deptId
=
JSON
.
parse
(
Store
.
get
(
storeKey
.
user
)).
deptId
console
.
log
(
'参数deptId'
,
deptId
)
this
.
$axios
.
get
(
'http://117.122.212.101:8090/contract/contract/queryContractByPage'
,
{
params
:
{
...
...
src/views/user/login.vue
View file @
376b3099
...
...
@@ -64,7 +64,7 @@
:underline=
"false"
@
click=
"goDetail('/forgetPwd')"
>
<!--
<router-link
to=
"/forgetPwd"
>
忘记密码
</router-link>
-->
<!--
<router-link
to=
"/forgetPwd"
>
忘记密码
</router-link>
-->
</el-link>
</div>
</div>
...
...
@@ -158,7 +158,7 @@ export default {
this
.
loading
=
false
const
username
=
res
.
data
.
data
.
USER_ID
Store
.
set
(
storeKey
.
token
,
`
${
Math
.
random
()}
_
${
new
Date
().
getTime
()}
`
)
Store
.
set
(
storeKey
.
user
,
JSON
.
stringify
({
userName
:
username
,
userId
:
res
.
data
.
data
.
USER_ID
,
avatar
:
'https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif'
}))
Store
.
set
(
storeKey
.
user
,
JSON
.
stringify
({
userName
:
username
,
userId
:
res
.
data
.
data
.
USER_ID
,
deptId
:
res
.
data
.
data
.
DEPT_CODE
,
avatar
:
'https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif'
}))
if
(
rememberMe
)
{
Store
.
set
(
'username'
,
username
)
Store
.
set
(
'password'
,
encrypt
(
password
))
...
...
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