Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
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
张冬
web-site
Commits
edcf5521
Commit
edcf5521
authored
Sep 30, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
?
parent
e46fac65
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
11 deletions
+14
-11
index.vue
pages/index/index.vue
+1
-1
inquiry.vue
pages/index/notice/inquiry.vue
+12
-6
windetails.vue
pages/index/notice/windetails.vue
+0
-3
request.js
utils/request.js
+1
-1
No files found.
pages/index/index.vue
View file @
edcf5521
...
...
@@ -15,7 +15,7 @@
<img
src=
"~/assets/css/7.png"
v-show=
"!showDefault"
>
</div>
<div
class=
"login-title"
>
{{
userName
}}
</div>
<div
class=
"login-button"
@
click=
"loginuser"
v-show=
"showDefault"
>
用户登录
</div>
<div
class=
"login-button"
@
click=
"loginuser"
v-show=
"showDefault"
>
用户登录
?
</div>
<div
class=
"login-button"
@
click=
"Merchant"
>
商家入驻
</div>
<div
class=
"login-button"
@
click=
"checkout"
v-show=
"!showDefault"
>
退出
</div>
</div>
...
...
pages/index/notice/inquiry.vue
View file @
edcf5521
...
...
@@ -95,19 +95,25 @@ export default {
citySelect
,
dataTable
},
/* async
mounted(){
/*
mounted(){
let message={};
message.size=10
message.currentPage=1
getInquiryList(message);
industryList();
},
async asyncData(){
const {data,total} = await getInquiryList(params)
}, */
/* async asyncData({params,route,error}){
console.log(route)
let message = {}
message.size =10
message.currentPage = 1
const res =await industryList();
const [data,total] = await getInquiryList(message)
console.log(data+'------------')
return {
priceList = data,
total = total
priceList : data,
total : total,
industryOptions:res
}
console.log(11111111111111)
...
...
pages/index/notice/windetails.vue
View file @
edcf5521
...
...
@@ -76,9 +76,6 @@ export default {
async
getWindetails
(
id
){
const
{
data
}
=
await
getWindetails
(
id
)
console
.
log
(
id
)
this
.
itemTitle
=
data
.
title
this
.
itemCode
=
data
.
projectId
this
.
itemTime
=
data
.
createTime
},
},
}
...
...
utils/request.js
View file @
edcf5521
...
...
@@ -90,7 +90,7 @@ service.interceptors.response.use(
error
=>
{
console
.
log
(
error
+
'--------------------------------'
)
//如果不在首页 不验证token信息
if
(
error
.
response
.
status
==
401
){
if
(
error
.
response
.
code
==
401
){
/* console.log(error+'++++++++++++++++++++++++')
console.log(error.response.status+'--------------------')
//获取首页token验证时传递的特殊参数值
...
...
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