Commit d0c68c32 authored by 黄媛媛's avatar 黄媛媛

11

parent ad95a8e7
Pipeline #37 failed with stages
...@@ -11,14 +11,6 @@ module.exports = { ...@@ -11,14 +11,6 @@ module.exports = {
assetsSubDirectory: 'static', assetsSubDirectory: 'static',
assetsPublicPath: '/', assetsPublicPath: '/',
proxyTable: { proxyTable: {
'/apis': {
target:'http://192.168.2.16:8087',//请求域名
//secure: false, // 如果是https接口,需要配置这个参数
changeOrigin:true,//如果是跨域访问,需要配置这个参数
pathRewrite:{
'^/apis': '/'
}
}
}, },
// Various Dev Server settings // Various Dev Server settings
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="assetsList"> <div class="assetsList">
<div style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px"> <div style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px">
<span class="pageTitle">资产列表</span> <span class="pageTitle">资产列表</span>
<span @click="morequery=!morequery" style="display:inline-flex;align-items:center" class="f12 cd6">高级查询 <span @click="morequery=!morequery" style="display:inline-flex;align-items:center;cursor: pointer;" class="f12 cd6">高级查询
<img v-show="!morequery" style="width:12px;height:12px" src="../../assets/img/more.png" alt=""> <img v-show="!morequery" style="width:12px;height:12px" src="../../assets/img/more.png" alt="">
<img v-show="morequery" class="roatImg" style="width:12px;height:12px" src="../../assets/img/more.png" alt=""> <img v-show="morequery" class="roatImg" style="width:12px;height:12px" src="../../assets/img/more.png" alt="">
</span> </span>
......
...@@ -235,10 +235,9 @@ export default { ...@@ -235,10 +235,9 @@ export default {
} }
this.$http.post(apiurl, postData,{ this.$http.post(apiurl, postData,{
headers: { headers: {
'Content-Type': 'application/x-www-form-urlencoded', 'Content-Type': 'application/json',
'Referer-Viitto': this.$route.path 'Referer-Viitto': this.$route.path
}, }
withCredentials: true
}) })
.then(res => { .then(res => {
if (res.data.resultCode == 10000 || res.data.resultCode == 10001) { if (res.data.resultCode == 10000 || res.data.resultCode == 10001) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment