Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mp-enterprise-people-recruitment-h5
Project
Project
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
彭佳妮(贵阳日报)
mp-enterprise-people-recruitment-h5
Commits
518b1348
Commit
518b1348
authored
Oct 08, 2024
by
石建新(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
418490d6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
7 deletions
+5
-7
test.vue
src/pages/login/test.vue
+1
-1
index.vue
src/pages/postionList/index.vue
+3
-4
index.vue
src/pages/postionList/positionDetails/index.vue
+0
-1
request.js
src/utils/request.js
+1
-1
No files found.
src/pages/login/test.vue
View file @
518b1348
...
@@ -20,7 +20,7 @@ const login = async () => {
...
@@ -20,7 +20,7 @@ const login = async () => {
code
:
"000000"
code
:
"000000"
});
});
if
(
loginRes
.
code
===
200
)
{
if
(
loginRes
.
code
===
200
)
{
setToken
(
loginRes
.
data
);
setToken
(
loginRes
.
data
.
token
);
const
userInfoRes
=
await
getLoginUserApi
();
const
userInfoRes
=
await
getLoginUserApi
();
// 已经判断是否注册过企业
// 已经判断是否注册过企业
if
(
userInfoRes
.
data
?.
companyId
)
{
if
(
userInfoRes
.
data
?.
companyId
)
{
...
...
src/pages/postionList/index.vue
View file @
518b1348
...
@@ -148,7 +148,7 @@
...
@@ -148,7 +148,7 @@
<!-- 全职职位列表 -->
<!-- 全职职位列表 -->
<view
class=
"content"
>
<view
class=
"content"
>
<view
class=
"position-content"
>
<view
class=
"position-content"
>
<view
class=
"item"
v-for=
"(v
, i
) in positionListData"
:key=
"v"
>
<view
class=
"item"
v-for=
"(v) in positionListData"
:key=
"v"
>
<postion-card1
:data=
"v"
></postion-card1>
<postion-card1
:data=
"v"
></postion-card1>
</view>
</view>
</view>
</view>
...
@@ -161,9 +161,8 @@
...
@@ -161,9 +161,8 @@
<
script
setup
>
<
script
setup
>
import
{
ref
,
reactive
}
from
"vue"
;
import
{
ref
,
reactive
}
from
"vue"
;
import
{
get
j
obListApi
}
from
"@/api/postion.js"
;
import
{
get
J
obListApi
}
from
"@/api/postion.js"
;
import
{
getTreeListApi
,
dictJobTypeApi
,
getBannerListApi
}
from
"@/api/common.js"
;
import
{
getTreeListApi
,
dictJobTypeApi
,
getBannerListApi
}
from
"@/api/common.js"
;
import
postionCard1
from
"@/components/postionCard1/index.vue"
;
import
{
getEumData
}
from
"@/utils/utils.js"
;
import
{
getEumData
}
from
"@/utils/utils.js"
;
import
evn
from
"@/utils/config.js"
;
import
evn
from
"@/utils/config.js"
;
/* 轮播 */
/* 轮播 */
...
@@ -344,7 +343,7 @@ const getListData = () => {
...
@@ -344,7 +343,7 @@ const getListData = () => {
jobIdentityType
:
jobIdentityType
||
null
,
jobIdentityType
:
jobIdentityType
||
null
,
orderBy
:
orderBy
||
1
orderBy
:
orderBy
||
1
};
};
get
j
obListApi
(
data
).
then
(
res
=>
{
get
J
obListApi
(
data
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
positionListData
.
push
(...
res
.
data
);
positionListData
.
push
(...
res
.
data
);
}
}
...
...
src/pages/postionList/positionDetails/index.vue
View file @
518b1348
...
@@ -185,7 +185,6 @@
...
@@ -185,7 +185,6 @@
</
template
>
</
template
>
<
script
setup
>
<
script
setup
>
import
steps
from
"@/components/steps/index.vue"
;
import
{
ref
,
reactive
}
from
"vue"
;
import
{
ref
,
reactive
}
from
"vue"
;
import
dayjs
from
"dayjs"
;
import
dayjs
from
"dayjs"
;
import
{
getJobDetailApi
,
submitResumeApi
}
from
"@/api/postion"
;
import
{
getJobDetailApi
,
submitResumeApi
}
from
"@/api/postion"
;
...
...
src/utils/request.js
View file @
518b1348
...
@@ -23,7 +23,7 @@ instance.interceptors.request.use(
...
@@ -23,7 +23,7 @@ instance.interceptors.request.use(
// "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxNTU4NTExMDY1NSIsInVzZXJ0eXBlIjoiYnVzaW5lc3MiLCJleHAiOjE3MjQzNzcwOTcsImNyZWF0ZWQiOjE3MjMwODEwOTc5MTcsImF1dGhvcml0aWVzIjpbeyJhdXRob3JpdHkiOiJCVVNJTkVTUyJ9XX0.pIxkAOBlIjc1WwjUR69hok0-k8me21FbtjBiC4amxZxewwEZCUi2yvlNpCyg-bGSkx4Vx-LaOBvhj_k32jN52g";
// "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxNTU4NTExMDY1NSIsInVzZXJ0eXBlIjoiYnVzaW5lc3MiLCJleHAiOjE3MjQzNzcwOTcsImNyZWF0ZWQiOjE3MjMwODEwOTc5MTcsImF1dGhvcml0aWVzIjpbeyJhdXRob3JpdHkiOiJCVVNJTkVTUyJ9XX0.pIxkAOBlIjc1WwjUR69hok0-k8me21FbtjBiC4amxZxewwEZCUi2yvlNpCyg-bGSkx4Vx-LaOBvhj_k32jN52g";
const
token
=
getToken
();
const
token
=
getToken
();
if
(
token
)
{
if
(
token
)
{
config
.
headers
.
Authorization
=
`Bearer `
+
token
;
config
.
headers
[
'User-Token'
]
=
token
;
}
}
return
config
;
return
config
;
},
},
...
...
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