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
400ef809
Commit
400ef809
authored
Sep 29, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新服务器
parent
7338bc82
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
62 additions
and
23 deletions
+62
-23
news.vue
pages/index/message/news.vue
+3
-3
abortive.vue
pages/index/notice/abortive.vue
+6
-2
all.vue
pages/index/notice/all.vue
+5
-2
bid.vue
pages/index/notice/bid.vue
+13
-4
biding.vue
pages/index/notice/biding.vue
+5
-1
cadidate.vue
pages/index/notice/cadidate.vue
+6
-2
change.vue
pages/index/notice/change.vue
+6
-2
clarifies.vue
pages/index/notice/clarifies.vue
+6
-2
inquiry.vue
pages/index/notice/inquiry.vue
+11
-4
request.js
utils/request.js
+1
-1
No files found.
pages/index/message/news.vue
View file @
400ef809
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
</el-menu>
</el-menu>
</el-col>
</el-col>
</div>
</div>
<ul
v-
if
=
"isList"
>
<ul
v-
show
=
"isList"
>
<li
v-for=
"item in messageList"
:key=
"item.id"
@
click=
"urlChage"
>
<li
v-for=
"item in messageList"
:key=
"item.id"
@
click=
"urlChage"
>
<nuxt-link
:to=
"`/message/news?id=$
{item.id}`" :messageContext="item" class="flex-between link-style">
<nuxt-link
:to=
"`/message/news?id=$
{item.id}`" :messageContext="item" class="flex-between link-style">
<div
class=
"t2"
>
{{
item
.
title
}}
</div>
<div
class=
"t2"
>
{{
item
.
title
}}
</div>
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
</div>
</div>
</ul>
</ul>
<div
v-for=
"item in messageList"
:key=
"item.id"
class=
"content"
v-
if
=
"!isList"
>
<div
v-for=
"item in messageList"
:key=
"item.id"
class=
"content"
v-
show
=
"!isList"
>
<h1>
{{
item
.
title
}}
</h1>
<h1>
{{
item
.
title
}}
</h1>
<div
class=
"flex"
>
<div
class=
"flex"
>
<span>
发布时间:
{{
item
.
createTime
}}
</span>
<span>
发布时间:
{{
item
.
createTime
}}
</span>
...
@@ -58,7 +58,7 @@ import {
...
@@ -58,7 +58,7 @@ import {
return
{
return
{
contentList
:
''
,
contentList
:
''
,
isList
:
true
,
isList
:
true
,
activeName
:
'1'
,
activeName
:
'1
23
'
,
conText
:
""
,
conText
:
""
,
activeIndex
:
''
,
activeIndex
:
''
,
size
:
10
,
size
:
10
,
...
...
pages/index/notice/abortive.vue
View file @
400ef809
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"flex"
>
<div
class=
"flex"
>
<div>
<div>
<div
class=
"flex-item"
style=
"margin-bottom: 0.2rem;"
>
<div
class=
"flex-item"
style=
"margin-bottom: 0.2rem;"
>
<span
class=
"t1 left"
>
行业类
型
</span>
<span
class=
"t1 left"
>
行业类
别
</span>
<el-select
v-model=
"getData.industryId"
placeholder=
"请选择"
>
<el-select
v-model=
"getData.industryId"
placeholder=
"请选择"
>
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-option>
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</div>
</div>
</div>
</div>
<ul>
<ul
v-if=
"isshow"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<nuxt-link
:to=
"`/notice/ABORTIVEdetails?id=$
{item.id}`">
<nuxt-link
:to=
"`/notice/ABORTIVEdetails?id=$
{item.id}`">
<div
class=
"time"
>
{{
getTimer
(
item
.
createTime
)
}}
</div>
<div
class=
"time"
>
{{
getTimer
(
item
.
createTime
)
}}
</div>
...
@@ -73,6 +73,7 @@ import {getErrorList} from '@/common/list.js'
...
@@ -73,6 +73,7 @@ import {getErrorList} from '@/common/list.js'
},
},
data
()
{
data
()
{
return
{
return
{
isshow
:
true
,
total
:
0
,
total
:
0
,
getData
:{
getData
:{
currentPage
:
1
,
currentPage
:
1
,
...
@@ -135,6 +136,9 @@ import {getErrorList} from '@/common/list.js'
...
@@ -135,6 +136,9 @@ import {getErrorList} from '@/common/list.js'
async
getErrorList
(
params
){
async
getErrorList
(
params
){
const
{
data
,
total
}
=
await
getErrorList
(
params
)
const
{
data
,
total
}
=
await
getErrorList
(
params
)
this
.
priceList
=
data
this
.
priceList
=
data
if
(
total
===
null
){
this
.
isshow
=
false
}
this
.
total
=
total
this
.
total
=
total
},
},
receiveP
(
value
)
{
receiveP
(
value
)
{
...
...
pages/index/notice/all.vue
View file @
400ef809
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</div>
</div>
</div>
</div>
<ul>
<ul
v-if=
"isshow"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<nuxt-link
:to=
'`/notice/$
{item.noticeType}details?id=${item.id}`'>
<nuxt-link
:to=
'`/notice/$
{item.noticeType}details?id=${item.id}`'>
<div
class=
"time"
>
{{
getTimer
(
item
.
createTime
)
}}
</div>
<div
class=
"time"
>
{{
getTimer
(
item
.
createTime
)
}}
</div>
...
@@ -73,6 +73,7 @@ import {getAllList,getNoticeType} from '@/common/list.js'
...
@@ -73,6 +73,7 @@ import {getAllList,getNoticeType} from '@/common/list.js'
},
},
data
()
{
data
()
{
return
{
return
{
isshow
:
true
,
allList
:[],
allList
:[],
total
:
0
,
total
:
0
,
getData
:{
getData
:{
...
@@ -138,8 +139,10 @@ import {getAllList,getNoticeType} from '@/common/list.js'
...
@@ -138,8 +139,10 @@ import {getAllList,getNoticeType} from '@/common/list.js'
async
getAllList
(
params
){
async
getAllList
(
params
){
const
{
data
,
total
}
=
await
getAllList
(
params
)
const
{
data
,
total
}
=
await
getAllList
(
params
)
this
.
priceList
=
data
this
.
priceList
=
data
if
(
total
===
null
){
this
.
isshow
=
false
}
this
.
total
=
total
this
.
total
=
total
console
.
log
(
data
,
total
,
'--------------'
)
},
},
async
getNoticeType
(){
async
getNoticeType
(){
const
{
data
}
=
await
getNoticeType
()
const
{
data
}
=
await
getNoticeType
()
...
...
pages/index/notice/bid.vue
View file @
400ef809
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<ul>
<ul
v-if =
"isshow"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<nuxt-link
:to=
"`/notice/BIDDINGdetails?id=$
{item.id}`">
<nuxt-link
:to=
"`/notice/BIDDINGdetails?id=$
{item.id}`">
<div
class=
"time"
>
{{
getTimer
(
item
.
createTime
)
}}
</div>
<div
class=
"time"
>
{{
getTimer
(
item
.
createTime
)
}}
</div>
...
@@ -69,10 +69,10 @@ import citySelect from "@/components/citySelect.vue";
...
@@ -69,10 +69,10 @@ import citySelect from "@/components/citySelect.vue";
message
.
currentPage
=
1
message
.
currentPage
=
1
this
.
getBidingList
(
message
)
this
.
getBidingList
(
message
)
this
.
industryList
()
this
.
industryList
()
sessionStorage
.
setItem
(
"noticeB"
,
this
.
noticeB
)
},
},
data
()
{
data
()
{
return
{
return
{
isshow
:
true
,
noticeB
:
'[招标公告]'
,
noticeB
:
'[招标公告]'
,
total
:
0
,
total
:
0
,
getData
:{
getData
:{
...
@@ -164,20 +164,29 @@ import citySelect from "@/components/citySelect.vue";
...
@@ -164,20 +164,29 @@ import citySelect from "@/components/citySelect.vue";
async
getBidingList
(
params
){
async
getBidingList
(
params
){
const
{
data
,
total
}
=
await
getBidingList
(
params
);
const
{
data
,
total
}
=
await
getBidingList
(
params
);
this
.
priceList
=
data
;
this
.
priceList
=
data
;
if
(
total
===
null
){
this
.
isshow
=
false
}
this
.
total
=
total
;
this
.
total
=
total
;
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
let
mess
=
{}
let
mess
=
{}
mess
.
size
=
val
mess
.
size
=
val
mess
.
currentPage
=
this
.
getData
.
currentPage
mess
.
currentPage
=
this
.
getData
.
currentPage
this
.
getBidingList
(
mess
)
console
.
log
(
mess
.
size
)
console
.
log
(
mess
.
currentPage
)
const
{
data
}
=
this
.
getBidingList
(
mess
)
console
.
log
(
data
+
"++++++++++++++++++++++++"
)
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
/* this.getData.currentPage = val */
/* this.getData.currentPage = val */
let
mess
=
{}
let
mess
=
{}
mess
.
size
=
this
.
getData
.
size
mess
.
size
=
this
.
getData
.
size
mess
.
currentPage
=
val
mess
.
currentPage
=
val
this
.
getBidingList
(
mess
);
console
.
log
(
mess
.
size
)
console
.
log
(
mess
.
currentPage
)
const
{
data
}
=
this
.
getBidingList
(
mess
)
console
.
log
(
data
+
"++++++++++++++++++++++++"
)
//获取当前页
//获取当前页
},
},
dealDisabledDate
(
time
)
{
dealDisabledDate
(
time
)
{
...
...
pages/index/notice/biding.vue
View file @
400ef809
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
</div>
</div>
</div>
</div>
<ul>
<ul
v-if=
"isshow"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<!-- 绑定中标详情页 -->
<!-- 绑定中标详情页 -->
<nuxt-link
:to=
"`/notice/WINdetails?id=$
{item.id}`">
<nuxt-link
:to=
"`/notice/WINdetails?id=$
{item.id}`">
...
@@ -95,6 +95,7 @@ export default {
...
@@ -95,6 +95,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
isshow
:
true
,
getData
:
{
getData
:
{
industryId
:
""
,
industryId
:
""
,
beginDate
:
""
,
beginDate
:
""
,
...
@@ -206,6 +207,9 @@ export default {
...
@@ -206,6 +207,9 @@ export default {
},
},
async
getWinList
(
params
)
{
async
getWinList
(
params
)
{
const
{
data
,
total
}
=
await
getWinList
(
params
)
const
{
data
,
total
}
=
await
getWinList
(
params
)
/* if(total ===null){
this.isshow = false
} */
this
.
total
=
total
;
this
.
total
=
total
;
this
.
priceList
=
data
;
this
.
priceList
=
data
;
},
},
...
...
pages/index/notice/cadidate.vue
View file @
400ef809
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"flex"
>
<div
class=
"flex"
>
<div>
<div>
<div
class=
"flex-item"
style=
"margin-bottom: 0.2rem;"
>
<div
class=
"flex-item"
style=
"margin-bottom: 0.2rem;"
>
<span
class=
"t1 left"
>
行业类
型
</span>
<span
class=
"t1 left"
>
行业类
别
</span>
<el-select
v-model=
"getData.industryId"
placeholder=
"请选择"
>
<el-select
v-model=
"getData.industryId"
placeholder=
"请选择"
>
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-option>
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</div>
</div>
</div>
</div>
<ul>
<ul
v-if=
"isshow"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<nuxt-link
:to=
"`/notice/CADIDATEdetails?id=$
{item.id}`">
<nuxt-link
:to=
"`/notice/CADIDATEdetails?id=$
{item.id}`">
<div
class=
"time"
>
{{
getTimer
(
item
.
createTime
)
}}
</div>
<div
class=
"time"
>
{{
getTimer
(
item
.
createTime
)
}}
</div>
...
@@ -73,6 +73,7 @@ import {getCadidateList} from '@/common/list.js'
...
@@ -73,6 +73,7 @@ import {getCadidateList} from '@/common/list.js'
},
},
data
()
{
data
()
{
return
{
return
{
isshow
:
true
,
total
:
0
,
total
:
0
,
getData
:{
getData
:{
currentPage
:
1
,
currentPage
:
1
,
...
@@ -137,6 +138,9 @@ import {getCadidateList} from '@/common/list.js'
...
@@ -137,6 +138,9 @@ import {getCadidateList} from '@/common/list.js'
async
getCadidateList
(
params
){
async
getCadidateList
(
params
){
const
{
data
,
total
}
=
await
getCadidateList
(
params
)
const
{
data
,
total
}
=
await
getCadidateList
(
params
)
this
.
priceList
=
data
this
.
priceList
=
data
if
(
total
===
null
){
this
.
isshow
=
false
}
this
.
total
=
total
this
.
total
=
total
},
},
receiveP
(
value
)
{
receiveP
(
value
)
{
...
...
pages/index/notice/change.vue
View file @
400ef809
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"flex"
>
<div
class=
"flex"
>
<div>
<div>
<div
class=
"flex-item"
style=
"margin-bottom: 0.2rem;"
>
<div
class=
"flex-item"
style=
"margin-bottom: 0.2rem;"
>
<span
class=
"t1 left"
>
行业类
型
</span>
<span
class=
"t1 left"
>
行业类
别
</span>
<el-select
v-model=
"getData.industryId"
placeholder=
"请选择"
>
<el-select
v-model=
"getData.industryId"
placeholder=
"请选择"
>
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-option>
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</div>
</div>
</div>
</div>
<ul>
<ul
v-if=
"isshow"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<nuxt-link
:to=
"`/notice/CHANGEdetails?id=$
{item.id}`">
<nuxt-link
:to=
"`/notice/CHANGEdetails?id=$
{item.id}`">
<div
class=
"time"
>
{{
getTimer
(
item
.
createTime
)
}}
</div>
<div
class=
"time"
>
{{
getTimer
(
item
.
createTime
)
}}
</div>
...
@@ -73,6 +73,7 @@ import {getChangeList} from '@/common/list.js'
...
@@ -73,6 +73,7 @@ import {getChangeList} from '@/common/list.js'
},
},
data
()
{
data
()
{
return
{
return
{
isshow
:
true
,
total
:
0
,
total
:
0
,
getData
:{
getData
:{
currentPage
:
1
,
currentPage
:
1
,
...
@@ -137,6 +138,9 @@ import {getChangeList} from '@/common/list.js'
...
@@ -137,6 +138,9 @@ import {getChangeList} from '@/common/list.js'
async
getChangeList
(
params
){
async
getChangeList
(
params
){
const
{
data
,
total
}
=
await
getChangeList
(
params
)
const
{
data
,
total
}
=
await
getChangeList
(
params
)
this
.
priceList
=
data
this
.
priceList
=
data
if
(
total
===
null
){
this
.
isshow
=
false
}
this
.
total
=
total
this
.
total
=
total
},
},
receiveP
(
value
)
{
receiveP
(
value
)
{
...
...
pages/index/notice/clarifies.vue
View file @
400ef809
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"flex"
>
<div
class=
"flex"
>
<div>
<div>
<div
class=
"flex-item"
style=
"margin-bottom: 0.2rem;"
>
<div
class=
"flex-item"
style=
"margin-bottom: 0.2rem;"
>
<span
class=
"t1 left"
>
行业类
型
</span>
<span
class=
"t1 left"
>
行业类
别
</span>
<el-select
v-model=
"getData.industryId"
placeholder=
"请选择"
>
<el-select
v-model=
"getData.industryId"
placeholder=
"请选择"
>
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-option>
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</div>
</div>
</div>
</div>
<ul>
<ul
v-if=
"isshow"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<nuxt-link
:to=
"`/notice/CLARIFIESdetails?id=$
{item.id}`">
<nuxt-link
:to=
"`/notice/CLARIFIESdetails?id=$
{item.id}`">
<div
class=
"time"
>
{{
getTimer
(
item
.
createTime
)
}}
</div>
<div
class=
"time"
>
{{
getTimer
(
item
.
createTime
)
}}
</div>
...
@@ -73,6 +73,7 @@ import {getClerList} from '@/common/list.js'
...
@@ -73,6 +73,7 @@ import {getClerList} from '@/common/list.js'
},
},
data
()
{
data
()
{
return
{
return
{
isshow
:
true
,
total
:
0
,
total
:
0
,
getData
:{
getData
:{
currentPage
:
1
,
currentPage
:
1
,
...
@@ -135,6 +136,9 @@ import {getClerList} from '@/common/list.js'
...
@@ -135,6 +136,9 @@ import {getClerList} from '@/common/list.js'
async
getClerList
(
params
){
async
getClerList
(
params
){
const
{
data
,
total
}
=
await
getClerList
(
params
)
const
{
data
,
total
}
=
await
getClerList
(
params
)
this
.
priceList
=
data
this
.
priceList
=
data
if
(
total
===
null
){
this
.
isshow
=
false
}
this
.
total
=
total
this
.
total
=
total
},
},
receiveP
(
value
)
{
receiveP
(
value
)
{
...
...
pages/index/notice/inquiry.vue
View file @
400ef809
...
@@ -42,7 +42,8 @@
...
@@ -42,7 +42,8 @@
<el-button
class=
"reset"
@
click=
"reset"
>
重置
</el-button>
<el-button
class=
"reset"
@
click=
"reset"
>
重置
</el-button>
</div>
-->
</div>
-->
</div>
</div>
<ul>
<ul
v-if=
"isshow1"
>
<li
v-if =
"!isshow1"
>
暂无数据
</li>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<li
v-for=
"item in priceList"
:key=
"item.id"
>
<nuxt-link
:to=
"`/notice/ENQUIRYdetails?id=$
{item.id}`">
<nuxt-link
:to=
"`/notice/ENQUIRYdetails?id=$
{item.id}`">
<div
class=
"time"
>
{{
getTimer
(
item
.
createTime
)
}}
</div>
<div
class=
"time"
>
{{
getTimer
(
item
.
createTime
)
}}
</div>
...
@@ -104,6 +105,7 @@ export default {
...
@@ -104,6 +105,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
noticeT
:
'[询价公告]'
,
noticeT
:
'[询价公告]'
,
isshow1
:
true
,
isshow
:
false
,
isshow
:
false
,
tabledata
:
[
tabledata
:
[
{
{
...
@@ -201,9 +203,12 @@ export default {
...
@@ -201,9 +203,12 @@ export default {
},
},
async
getInquiryList
(
params
)
{
async
getInquiryList
(
params
)
{
const
{
data
,
total
}
=
await
getInquiryList
(
params
);
const
{
data
,
total
}
=
await
getInquiryList
(
params
);
console
.
log
(
total
+
'-------------------'
);
console
.
log
(
data
+
'-------------------'
);
this
.
priceList
=
data
;
this
.
priceList
=
data
;
this
.
total
=
total
;
if
(
total
===
null
){
this
.
isshow1
=
false
}
this
.
total
=
total
},
},
receiveP
(
value
)
{
receiveP
(
value
)
{
this
.
getData
.
provinceId
=
value
;
this
.
getData
.
provinceId
=
value
;
...
@@ -219,6 +224,8 @@ export default {
...
@@ -219,6 +224,8 @@ export default {
mess
.
size
=
val
mess
.
size
=
val
mess
.
currentPage
=
this
.
getData
.
currentPage
mess
.
currentPage
=
this
.
getData
.
currentPage
this
.
getInquiryList
(
mess
)
this
.
getInquiryList
(
mess
)
/* this.getInquiryList(val,this.getData.currentPage) */
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
/* this.getData.currentPage = val */
/* this.getData.currentPage = val */
...
@@ -226,7 +233,7 @@ export default {
...
@@ -226,7 +233,7 @@ export default {
mess
.
size
=
this
.
getData
.
size
mess
.
size
=
this
.
getData
.
size
mess
.
currentPage
=
val
mess
.
currentPage
=
val
this
.
getInquiryList
(
mess
);
this
.
getInquiryList
(
mess
);
/
/获取当前页
/
* this.getInquiryList(this.getData.size,val) */
},
},
dealDisabledDate
(
time
)
{
dealDisabledDate
(
time
)
{
// 一天的毫秒数 = 8.64e7 判断时在return处可进行加减
// 一天的毫秒数 = 8.64e7 判断时在return处可进行加减
...
...
utils/request.js
View file @
400ef809
...
@@ -7,7 +7,7 @@ import requestUrl from '../utils/Domain.js'
...
@@ -7,7 +7,7 @@ import requestUrl from '../utils/Domain.js'
// 创建axios实例
// 创建axios实例
const
service
=
axios
.
create
({
const
service
=
axios
.
create
({
baseURL
:
'http://
192.168.200.201
:8082/apis'
,
// api的base_url
baseURL
:
'http://
60.205.251.80
:8082/apis'
,
// api的base_url
/* baseURL: 'http://192.168.3.35:8085/apis', */
/* baseURL: 'http://192.168.3.35:8085/apis', */
timeout
:
35000
// 请求超时时间
timeout
:
35000
// 请求超时时间
})
})
...
...
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