Commit b0ca225e by gao_yingdong

xzxt

parent 5a843b9c
......@@ -6,7 +6,7 @@ export default {
/*登录*/
login(username, password) {
return request({
url:url.BaseURL+"/login",
url: url.BaseURL + "/login",
params: { username, password },
method: "post"
});
......@@ -14,7 +14,7 @@ export default {
/*code*/
axiosCode(type) {
return request({
url: url.BaseURL+"/queryTreeDataByType",
url: url.BaseURL + "/queryTreeDataByType",
params: { type },
method: "get"
});
......@@ -22,7 +22,7 @@ export default {
/*级联code*/
axiosJlCode(type, startId) {
return request({
url: url.BaseURL+"/queryTreeDataByType",
url: url.BaseURL + "/queryTreeDataByType",
params: { type, startId },
method: "get"
});
......@@ -30,7 +30,7 @@ export default {
/*保存查询字段*/
saveField(params) {
return request({
url: url.BaseURL+"/saveTableTitleRedis",
url: url.BaseURL + "/saveTableTitleRedis",
data: params,
method: "post",
headers: {
......@@ -41,39 +41,39 @@ export default {
/*查询*/
doQuery(params) {
return request({
url: url.BaseURL+"/EsAsjQuery",
data:JSON.parse(params),
url: url.BaseURL + "/EsAsjQuery",
data: JSON.parse(params),
method: "post"
});
},
/*查询*/
doQueryJds(params) {
return request({
url: url.rzURL + "/getJdsInfo",
data: JSON.parse(params),
method: "post"
});
},
/*查询*/
doQueryJls(params) {
return request({
url: url.rzURL + "/getJlsInfo",
data: JSON.parse(params),
method: "post"
});
},
/*查询*/
doQueryJds(params) {
/*查询*/
doQueryKss(params) {
return request({
url: url.rzURL+"/getJdsInfo",
data:JSON.parse(params),
url: url.rzURL + "/getKssInfo",
data: JSON.parse(params),
method: "post"
});
},
/*查询*/
doQueryJls(params) {
return request({
url: url.rzURL+"/getJlsInfo",
data:JSON.parse(params),
method: "post"
});
},
/*查询*/
doQueryKss(params) {
return request({
url: url.rzURL+"/getKssInfo",
data:JSON.parse(params),
method: "post"
});
},
/*查询*/
doXyrQuery(params) {
return request({
url: url.BaseURL+"/EsXyrQuery",
url: url.BaseURL + "/EsXyrQuery",
data: JSON.parse(params),
method: "post"
});
......@@ -81,7 +81,7 @@ export default {
/*查询*/
doBhrQuery(params) {
return request({
url: url.BaseURL+"/EsShrQuery",
url: url.BaseURL + "/EsShrQuery",
data: JSON.parse(params),
method: "post"
});
......@@ -90,15 +90,15 @@ export default {
/*查询*/
doQueryDw(params) {
return request({
url: url.dwcxURL+"/EsAsjQuery",
data:JSON.parse(params),
url: url.dwcxURL + "/EsAsjQuery",
data: JSON.parse(params),
method: "post"
});
},
/*查询*/
doXyrQueryDw(params) {
return request({
url: url.dwcxURL+"/EsXyrQuery",
url: url.dwcxURL + "/EsXyrQuery",
data: JSON.parse(params),
method: "post"
});
......@@ -106,7 +106,7 @@ export default {
/*查询*/
doBhrQueryDw(params) {
return request({
url: url.dwcxURL+"/EsShrQuery",
url: url.dwcxURL + "/EsShrQuery",
data: JSON.parse(params),
method: "post"
});
......@@ -114,32 +114,24 @@ export default {
/*获取表头*/
getField(params) {
return request({
url: url.BaseURL+"/getTableTitleRedis",
params: {type:params},
url: url.BaseURL + "/getTableTitleRedis",
params: { type: params },
method: "get"
});
},
/*查询案件*/
login(params) {
zacsAjDoQuery(params) {
return request({
url: url.qgBtURL+"/user/login",
data:JSON.parse(params),
url: url.BaseURL + "/EsAsjQuery",
data: JSON.parse(params),
method: "post"
});
},
/*查询案件*/
zacsAjDoQuery(params) {
return request({
url: url.BaseURL+"/EsAsjQuery",
data:JSON.parse(params),
method: "post"
});
},
/*水印获取用户信息*/
getYhxx(params) {
return request({
url: url.rzURL+"/loginWater",
data:params,
url: url.rzURL + "/loginWater",
data: params,
method: "post"
});
},
......
......@@ -225,7 +225,22 @@ export default {
let zjhm = {
identitycard: "46000000000000",
};
request.login(JSON.stringify(zjhm)).then((res) => {});
axios
.post(url.qgBtURL + "/user/login", JSON.stringify(zjhm), {
headers: {
"content-type": "application/json;charset=UTF-8",
},
})
.then((res) => {
if (res.code == 200) {
// self.$router.push({
// path: self.$route.query.path,
// });
}
})
.catch((err) => {
console.log(err);
});
},
deleteAll() {
this.$refs.form.delete();
......
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