Commit e3c8780d by liyuhang19990520

更改

parents bc99b9be 3ef76c09
...@@ -24,7 +24,7 @@ if ( ...@@ -24,7 +24,7 @@ if (
}else { }else {
//------------------------------服务器路径**测试**---------------------------------- //------------------------------服务器路径**测试**----------------------------------
base.alyIP = "/apialy"; base.alyIP = "/apialy";
base.alyIP2 = "/api2"; base.alyIP2 = "/apiAjzbXzGaw";
} }
export default base; export default base;
...@@ -3,13 +3,15 @@ import base from "@/api/base"; ...@@ -3,13 +3,15 @@ import base from "@/api/base";
//任务结果 //任务结果
export const getTaskResult = params => export const getTaskResult = params =>
post(`${base.alyIP}/ryyj/getTaskResult`, params); post(`${base.alyIP2}/ryyj/getTaskResult`, params);
//任务新增 //任务新增
export const addYjgkTask = params => export const addYjgkTask = params =>
postform(`${base.alyIP}/ryyj/addYjgkTask`, params); postform(`${base.alyIP2}/ryyj/addYjgkTask`, params);
//轨迹查询
export const getRygjxxByAsjbh = params =>
post(`${base.alyIP}/ryyj/getRygjxxByAsjbh`, params);
...@@ -1668,9 +1668,15 @@ export default { ...@@ -1668,9 +1668,15 @@ export default {
}, },
doQueryRequest(form, relurl) { doQueryRequest(form, relurl) {
/*post方法*/ /*post方法*/
var currentUrl = relurl ? relurl : this.cxUrl; let currentUrl = ''
if(this.pageBs == 'yjrwGl'){
currentUrl = `${url.alyIP2}${this.cxUrl}`
}else{
currentUrl = `${url.alyIP}${this.cxUrl}`
}
return Http({ return Http({
url: url.alyIP + currentUrl, url: currentUrl,
data: qs.stringify(form), data: qs.stringify(form),
method: "post", method: "post",
headers: { headers: {
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<el-table-column prop="ckcm" label="核查结论"> </el-table-column> <el-table-column prop="ckcm" label="核查结论"> </el-table-column>
</el-table> </el-table>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="航信息" name="mh" v-if="taskType == '02'"> <el-tab-pane label="航信息" name="mh" v-if="taskType == '02'">
<el-table :data="resultData['mh']" style="width: 100%" max-height="350"> <el-table :data="resultData['mh']" style="width: 100%" max-height="350">
<el-table-column prop="nm" label="姓名"> </el-table-column> <el-table-column prop="nm" label="姓名"> </el-table-column>
<el-table-column prop="cety" label="证件类型"> </el-table-column> <el-table-column prop="cety" label="证件类型"> </el-table-column>
......
...@@ -58,16 +58,22 @@ module.exports = { ...@@ -58,16 +58,22 @@ module.exports = {
}, },
proxy: { proxy: {
"/apialy": { "/apialy": {
// http://192.168.0.107:8762/ target: "http://39.99.155.173:9022/", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022
// http://192.168.0.101:8762/
target: "http://39.99.155.173:9022", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022
// ws: true, // ws: true,
changeOrigin: true, changeOrigin: true,
secure: false, // secure: false,
pathRewrite: { pathRewrite: {
'^/apialy': '/' '^/apialy': '/'
} }
}, },
"/apiAjzbXzGaw": {
target: "https://155.1.33.10:20002/", // 基础查询、案件侦办
changeOrigin: true,
secure: false,
pathRewrite: {
"^/apiAjzbXzGaw": "/"
}
},
}, },
}, },
css: { css: {
......
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