Commit 71307ad7 by xue_wengang

扒窃

parent 4a19b237
......@@ -24,7 +24,7 @@ if (
}else {
//------------------------------服务器路径**测试**----------------------------------
base.alyIP = "/apialy";
base.alyIP2 = "/api2";
base.alyIP2 = "/apiAjzbXzGaw";
}
export default base;
......@@ -3,13 +3,15 @@ import base from "@/api/base";
//任务结果
export const getTaskResult = params =>
post(`${base.alyIP}/ryyj/getTaskResult`, params);
post(`${base.alyIP2}/ryyj/getTaskResult`, 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 {
},
doQueryRequest(form, relurl) {
/*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({
url: url.alyIP + currentUrl,
url: currentUrl,
data: qs.stringify(form),
method: "post",
headers: {
......
......@@ -28,7 +28,7 @@
<el-table-column prop="ckcm" label="核查结论"> </el-table-column>
</el-table>
</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-column prop="nm" label="姓名"> </el-table-column>
<el-table-column prop="cety" label="证件类型"> </el-table-column>
......
......@@ -58,17 +58,22 @@ module.exports = {
},
proxy: {
"/apialy": {
// http://192.168.0.107:8762/
// http://192.168.0.101:8762/
// http://47.92.225.109:9022
target: "http://39.99.155.173:9022", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022
target: "http://192.168.0.104:8001/", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022
// ws: true,
changeOrigin: true,
secure: false,
// secure: false,
pathRewrite: {
'^/apialy': '/'
}
},
"/apiAjzbXzGaw": {
target: "https://155.1.33.10:20002/", // 基础查询、案件侦办
changeOrigin: true,
secure: false,
pathRewrite: {
"^/apiAjzbXzGaw": "/"
}
},
},
},
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