Commit 7f934dad authored by kaitly205422@163.com's avatar kaitly205422@163.com

Merge branch 'develop' of http://git.censoft.com.cn/rongtong/ruoyi-ui into develop

parents 6ae5acef baf6f871
...@@ -29,7 +29,7 @@ export function updateBatch(data) { ...@@ -29,7 +29,7 @@ export function updateBatch(data) {
} }
export function getFun(url, params) { export function getFun(url, params) {
const Url = '/app-api' + url const Url = '/system' + url
return request({ return request({
url: Url, url: Url,
method: "get", method: "get",
...@@ -37,7 +37,7 @@ export function getFun(url, params) { ...@@ -37,7 +37,7 @@ export function getFun(url, params) {
}); });
} }
export function postFun(url, data) { export function postFun(url, data) {
const Url = '/app-api' + url const Url = '/system' + url
return request({ return request({
url: Url, url: Url,
method: "post", method: "post",
......
...@@ -360,7 +360,7 @@ export default { ...@@ -360,7 +360,7 @@ export default {
this.copyRoom.copyArr = this.copyRoom.typeData; this.copyRoom.copyArr = this.copyRoom.typeData;
return; return;
} }
getFun("/risk/plan/dict/data/list", { getFun("/dict/data/list/all", {
dictType: "risk_plan_base_room", dictType: "risk_plan_base_room",
}).then((res) => { }).then((res) => {
this.copyRoom.typeData = res.data; this.copyRoom.typeData = res.data;
...@@ -474,12 +474,12 @@ export default { ...@@ -474,12 +474,12 @@ export default {
console.log("err==>>", err); console.log("err==>>", err);
}); });
getFun("/risk/plan/dict/data/list", { getFun("/dict/data/list/all", {
dictType: "risk_plan_room_type", dictType: "risk_plan_room_type",
}).then((res) => { }).then((res) => {
this.roomArr = res.data; this.roomArr = res.data;
}); });
getFun("/risk/plan/dict/data/list", { getFun("/dict/data/list/all", {
dictType: "risk_plan_base_room", dictType: "risk_plan_base_room",
}).then((res) => { }).then((res) => {
this.baseArr = res.data; this.baseArr = res.data;
......
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