style:文件夹整理
Showing
4 changed files
with
0 additions
and
46 deletions
... | @@ -26,7 +26,6 @@ | ... | @@ -26,7 +26,6 @@ |
26 | "AREARMAP": "610702", // {"610702","632701"} | 26 | "AREARMAP": "610702", // {"610702","632701"} |
27 | "calcHeight": 200, {上报:160 监管:200} | 27 | "calcHeight": 200, {上报:160 监管:200} |
28 | "echartTextColor": "#FFFFFF", {上报:"#4A4A4A" 监管:"#FFFFFF"} | 28 | "echartTextColor": "#FFFFFF", {上报:"#4A4A4A" 监管:"#FFFFFF"} |
29 | "MANAGEMENTAPI": "http://192.168.2.38:8090/management" | ||
30 | } | 29 | } |
31 | 30 | ||
32 | ## 行政区编码 | 31 | ## 行政区编码 | ... | ... |
src/api/login.js
deleted
100644 → 0
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-08 15:03:10 | ||
5 | */ | ||
6 | import request from "@/utils/request"; | ||
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | ||
8 | export function loginIn (username, password) { | ||
9 | return request({ | ||
10 | url: `${SERVER.MANAGEMENTAPI}/login?username=${username}&password=${password}`, | ||
11 | method: "post", | ||
12 | }); | ||
13 | } | ||
14 | export function logout () { | ||
15 | return request({ | ||
16 | url: `${SERVER.MANAGEMENTAPI}/logout`, | ||
17 | method: "post", | ||
18 | }); | ||
19 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/api/orders.js
deleted
100644 → 0
1 | /* | ||
2 | * @Description :更新排序api文件 | ||
3 | * @Autor : miaofang | ||
4 | * @LastEditTime : 2023-05-17 10:41:30 | ||
5 | */ | ||
6 | import request from '@/utils/request' | ||
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | ||
8 | |||
9 | /* | ||
10 | 更新排序 | ||
11 | record-排序整条数据 | ||
12 | operate-BOTTOM(置底), DOWN(向下), TOP(置顶), UP(向上) | ||
13 | */ | ||
14 | export function updateOrder (url, record, operate, swapId) { | ||
15 | return request({ | ||
16 | url: SERVER.MANAGEMENTAPI + url + "/" + record.id + "/orders", | ||
17 | method: "put", | ||
18 | params: { | ||
19 | operate: operate, | ||
20 | swapId: swapId, | ||
21 | }, | ||
22 | }); | ||
23 | } |
... | @@ -56,13 +56,10 @@ | ... | @@ -56,13 +56,10 @@ |
56 | import { getRolesById, getAuthorityListAction } from "@/api/authorityManage"; | 56 | import { getRolesById, getAuthorityListAction } from "@/api/authorityManage"; |
57 | import { getUserRoles } from "@/api/personnelManage"; | 57 | import { getUserRoles } from "@/api/personnelManage"; |
58 | import data from "./data"; | 58 | import data from "./data"; |
59 | import { getMenuInfo } from "@/api/user"; | ||
60 | import { api, getAction, deleteAction } from "@/api/manageApi"; | 59 | import { api, getAction, deleteAction } from "@/api/manageApi"; |
61 | import tableMixin from "@/mixins/tableMixin.js"; | 60 | import tableMixin from "@/mixins/tableMixin.js"; |
62 | import EditDialog from "./edit-dialog.vue"; | 61 | import EditDialog from "./edit-dialog.vue"; |
63 | import Roleslistdiglog from "./roleslistdiglog.vue"; | 62 | import Roleslistdiglog from "./roleslistdiglog.vue"; |
64 | import { mapGetters } from "vuex"; | ||
65 | import { updateOrder } from "@/api/orders" | ||
66 | export default { | 63 | export default { |
67 | name: "menus", | 64 | name: "menus", |
68 | mixins: [tableMixin], | 65 | mixins: [tableMixin], | ... | ... |
-
Please register or sign in to post a comment