@@ -3,4 +3,4 @@ ENV = 'development' | |||
# .env.development | |||
# base api | |||
VITE_APP_BASE_URL = '10.52.0.172:10389/csms/' | |||
VITE_APP_BASE_URL = 'http://10.52.0.172:10389/csms/' |
@@ -3,4 +3,4 @@ ENV = 'production' | |||
# .env.production | |||
# base api | |||
VITE_APP_BASE_URL = '10.52.0.172:10389/csms/' | |||
VITE_APP_BASE_URL = 'http://10.52.0.172:10389/csms/' |
@@ -467,15 +467,10 @@ const search = () => { | |||
pageSize:номер, | |||
startApplyTime:start_time.value, | |||
status:cтатус_счета, | |||
baseURL:'http://localhost:8089', | |||
baseURL:'http://10.52.0.172:10389/csms/', | |||
} | |||
/* = ''; | |||
cтатус_счета.value = ''; | |||
номер.value = ''; | |||
= ''; | |||
= ''; | |||
= '';*/ | |||
console.log("date",data) | |||
console.log("date",data) | |||
proxy.$request.post('/corporateaccount/queryPage', {},data).then((res) => { | |||
console.log(res); | |||
if(res.data.success){ |
@@ -53,12 +53,12 @@ export default defineConfig(({ command, mode }) => { | |||
target: process.env.VUE_APP_BASE_API, | |||
changeOrigin: true, | |||
rewrite: path => path.replace(/^\/api/, '') //重写 | |||
} | |||
/*'/corporateaccount': { | |||
}, | |||
'/corporateaccount': { | |||
target: process.env.VUE_APP_BASE_API, | |||
changeOrigin: true, | |||
rewrite: path => path.replace(/^\/api/, '') //重写 | |||
},*/ | |||
}, | |||
}, | |||
}, | |||
// 生产环境打包配置 |