Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
常超
founder_vue
Commits
9d7060eb
Commit
9d7060eb
authored
Jan 17, 2022
by
米嘉伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userInfo
parent
820d6be3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
10 deletions
+6
-10
src/views/AllPersonnelBase/modules/ajxxk.vue
+0
-2
src/views/AllPersonnelBase/modules/fcx.vue
+3
-3
src/views/AllPersonnelBase/modules/ryxxk.vue
+0
-2
src/views/Home/Home.vue
+3
-3
No files found.
src/views/AllPersonnelBase/modules/ajxxk.vue
View file @
9d7060eb
...
@@ -369,8 +369,6 @@ export default {
...
@@ -369,8 +369,6 @@ export default {
this
.
fcxInfo
.
queryCount
=
response
.
data
.
ret
.
queryCount
;
this
.
fcxInfo
.
queryCount
=
response
.
data
.
ret
.
queryCount
;
this
.
fcxInfo
.
queryType
=
response
.
data
.
ret
.
queryType
;
this
.
fcxInfo
.
queryType
=
response
.
data
.
ret
.
queryType
;
this
.
fcxInfo
.
hitStatus
=
response
.
data
.
ret
.
hitStatus
;
this
.
fcxInfo
.
hitStatus
=
response
.
data
.
ret
.
hitStatus
;
//console.info("查询结果===>", this.tableDate);
// this.userInfo = this.getUserInfo(this.tableDate);
}
else
{
}
else
{
this
.
$message
.
error
(
response
.
data
.
message
);
this
.
$message
.
error
(
response
.
data
.
message
);
}
}
...
...
src/views/AllPersonnelBase/modules/fcx.vue
View file @
9d7060eb
...
@@ -864,7 +864,7 @@ export default {
...
@@ -864,7 +864,7 @@ export default {
if
(
this
.
type
==
'ry'
)
{
if
(
this
.
type
==
'ry'
)
{
reqUrl
=
'/api/query'
reqUrl
=
'/api/query'
let
queryRequest
=
{
let
queryRequest
=
{
userid
:
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
)).
id
,
//
userid
:
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
)).
user
.
id
,
//
queryClass
:
''
,
// 优先级
queryClass
:
''
,
// 优先级
matchCount
:
''
,
// 候选个数
matchCount
:
''
,
// 候选个数
srcDataType
:
[],
// 源数据类型1,2,3,7
srcDataType
:
[],
// 源数据类型1,2,3,7
...
@@ -942,7 +942,7 @@ export default {
...
@@ -942,7 +942,7 @@ export default {
}
else
if
(
this
.
type
==
'aj'
)
{
}
else
if
(
this
.
type
==
'aj'
)
{
reqUrl
=
'/api/query'
reqUrl
=
'/api/query'
let
queryRequest
=
{
let
queryRequest
=
{
userid
:
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
)).
id
,
// 用户ID localStorage.getItem('userInfo').id
userid
:
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
)).
user
.
id
,
// 用户ID
queryClass
:
''
,
// 优先级
queryClass
:
''
,
// 优先级
matchCount
:
''
,
// 候选个数
matchCount
:
''
,
// 候选个数
srcQueryDataList
:
[],
srcQueryDataList
:
[],
...
@@ -1070,7 +1070,7 @@ export default {
...
@@ -1070,7 +1070,7 @@ export default {
// 发查询条数
// 发查询条数
getQueryCount
()
{
getQueryCount
()
{
this
.
$axios
this
.
$axios
.
get
(
"/api/queryCount/getQueryCountByUserId/"
+
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
)).
id
)
// localStorage.getItem('userInfo').id
.
get
(
"/api/queryCount/getQueryCountByUserId/"
+
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
)).
user
.
id
)
.
then
(
response
=>
{
.
then
(
response
=>
{
if
(
response
.
data
.
code
===
0
)
{
if
(
response
.
data
.
code
===
0
)
{
this
.
totalCount
=
response
.
data
.
detail
.
totalCount
// 本月总数
this
.
totalCount
=
response
.
data
.
detail
.
totalCount
// 本月总数
...
...
src/views/AllPersonnelBase/modules/ryxxk.vue
View file @
9d7060eb
...
@@ -637,8 +637,6 @@ export default {
...
@@ -637,8 +637,6 @@ export default {
this
.
fcxInfo
.
queryCount
=
response
.
data
.
ret
.
queryCount
;
this
.
fcxInfo
.
queryCount
=
response
.
data
.
ret
.
queryCount
;
this
.
fcxInfo
.
queryType
=
response
.
data
.
ret
.
queryType
;
this
.
fcxInfo
.
queryType
=
response
.
data
.
ret
.
queryType
;
this
.
fcxInfo
.
hitStatus
=
response
.
data
.
ret
.
hitStatus
;
this
.
fcxInfo
.
hitStatus
=
response
.
data
.
ret
.
hitStatus
;
//console.info("查询结果===>", this.tableDate);
// this.userInfo = this.getUserInfo(this.tableDate);
}
else
{
}
else
{
this
.
$message
.
error
(
response
.
data
.
message
);
this
.
$message
.
error
(
response
.
data
.
message
);
}
}
...
...
src/views/Home/Home.vue
View file @
9d7060eb
...
@@ -46,9 +46,9 @@
...
@@ -46,9 +46,9 @@
/>
用户信息
/>
用户信息
<div
class=
"rolelist"
>
<div
class=
"rolelist"
>
<ul>
<ul>
<li>
用户名:
{{
userInfo
.
username
}}
</li>
<li>
用户名:
{{
userInfo
.
user
.
user
name
}}
</li>
<li>
姓
名:
{{
userInfo
.
name
}}
</li>
<li>
姓
名:
{{
userInfo
.
user
.
name
}}
</li>
<li>
单
位:
{{
userInfo
.
unitName
}}
</li>
<li>
单
位:
{{
userInfo
.
u
ser
.
u
nitName
}}
</li>
</ul>
</ul>
</div>
</div>
</div>
</div>
...
...
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