Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zj-app(废弃)
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
new-zhengjiang
zj-app(废弃)
Commits
b94243f0
Commit
b94243f0
authored
Apr 10, 2023
by
songwenlu
Browse files
Options
Browse Files
Download
Plain Diff
gx
parents
eb90668c
0ea408de
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
7 deletions
+10
-7
App.vue
src/App.vue
+1
-1
index.js
src/router/index.js
+0
-0
axios.js
src/utils/axios.js
+1
-1
request.js
src/utils/request.js
+1
-0
utils.js
src/utils/utils.js
+1
-1
index.vue
src/views/talents/index.vue
+4
-3
reportfilter.vue
src/views/talents/reportfilter.vue
+1
-0
reportform.vue
src/views/talents/reportform.vue
+1
-1
No files found.
src/App.vue
View file @
b94243f0
...
...
@@ -63,7 +63,7 @@ export default {
},
created
()
{
// 测试模拟人员信息
//
this.init();
this
.
init
();
},
};
</
script
>
...
...
src/router/index.js
View file @
b94243f0
This diff is collapsed.
Click to expand it.
src/utils/axios.js
View file @
b94243f0
...
...
@@ -39,7 +39,7 @@ const request2 = axios.create({
timeout
:
30000
,
withCredentials
:
false
,
});
// sessionStorage.setItem('token',"cAu7hNfHsBhC0slp3t2fpTFhYb1P9I5X339Hq7Y7BRSqIn18qGEVJSGZ7xy5Woex")
request2
.
interceptors
.
request
.
use
(
(
config
)
=>
{
config
.
headers
=
{
...
...
src/utils/request.js
View file @
b94243f0
...
...
@@ -103,6 +103,7 @@ request1.interceptors.request.use(
(
config
)
=>
{
config
.
headers
=
config
.
headers
||
{
"Content-Type"
:
"application/json"
,
token
:
'Bearer '
+
'00JcqsZfWIT3nfMR9fL2pfgsbraInluMinxgSWxmnm916AG92mTkUzs5ML6dQIl4'
};
// if (config.method === 'post') {
// config.data = { ...config.data }
...
...
src/utils/utils.js
View file @
b94243f0
...
...
@@ -19,7 +19,7 @@ export function getDays(leng) {
date
=
date
>
9
?
date
:
`0
${
date
}
`
;
timeStr
=
year
+
"-"
+
month
+
"-"
+
date
;
timeArr
.
push
(
timeStr
);
}
}
CryptoJS
return
timeArr
;
}
...
...
src/views/talents/index.vue
View file @
b94243f0
...
...
@@ -249,7 +249,9 @@ export default {
get
({
appId
:
1234
,
// userId: encryptByDES(this.userInfo.userId.toString(), "MnuYbhGv"),
idCard
:
this
.
userInfo
.
idCardNo
?
decryptByDES
(
this
.
userInfo
.
idCardNo
,
"MnuYbhGv"
)
:
null
idCard
:
this
.
userInfo
.
idCardNo
?
decryptByDES
(
this
.
userInfo
.
idCardNo
,
"MnuYbhGv"
)
:
null
,
}).
then
((
res
)
=>
{
console
.
log
(
"res------"
,
res
);
// alert(JSON.stringify(res))
...
...
@@ -495,8 +497,7 @@ export default {
}
sessionStorage
.
setItem
(
"ZJCD-UserInfo"
,
res
);
this
.
userInfo
=
userInfo
;
sessionStorage
.
setItem
(
'token'
,
this
.
userInfo
.
token
),
this
.
init
();
sessionStorage
.
setItem
(
"token"
,
this
.
userInfo
.
token
),
this
.
init
();
},
callPhone
(
branchPhone
)
{
if
(
window
.
android
!==
undefined
)
{
...
...
src/views/talents/reportfilter.vue
View file @
b94243f0
...
...
@@ -89,6 +89,7 @@ export default {
this
.
list
=
[];
},
filterData
(
item
)
{
this
.
genera
=
item
.
name
;
let
area
=
this
.
$store
.
state
.
talents
.
area
;
if
(
item
.
status
==
"0"
)
{
...
...
src/views/talents/reportform.vue
View file @
b94243f0
...
...
@@ -526,7 +526,7 @@ export default {
this
.
$toast
(
"文件大小不能超过 10MB"
);
},
init
()
{
console
.
log
(
this
.
userInfo
);
console
.
log
(
this
.
userInfo
,
"user------"
);
this
.
$toast
.
loading
({
duration
:
0
,
// 持续展示 toast
forbidClick
:
true
,
...
...
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