Commit 8ecd7eef by 胡悦

提交平板管理内容

1 parent e74ebb04
import request from "./request"
const path = "dj.api.smartcarlife.inspection.badge.management."
// 获取练习列表
export function getList(data) {
data.method = `${path}page`
return request(data)
}
// 获取车辆品牌
export function getBrandList(data = {}) {
data.method = 'merchants.api.merchantCommon.getCarbrandTree'
return request(data)
}
// 新增
export function addOrUpdate(data) {
data.method = `${path}addOrUpdate`
return request(data)
}
// 导出
export function exportTable(data) {
data.method = `${path}page.export`
return request(data)
}
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-04-01 15:03:31 * @Date: 2024-04-01 15:03:31
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2024-04-17 17:51:25 * @LastEditTime: 2024-08-13 14:42:56
*/ */
const _import = require("@/libs/util.import." + process.env.NODE_ENV) const _import = require("@/libs/util.import." + process.env.NODE_ENV)
export const routerName = { export const routerName = {
...@@ -528,5 +528,40 @@ export const routerName = { ...@@ -528,5 +528,40 @@ export const routerName = {
} }
], ],
component: _import("residentManage/loginLogList") component: _import("residentManage/loginLogList")
},
91211: {
path: "/tabletManagement",
name: "tabletManagement",
meta: {
title: '平板管理',
authId: "91211",
parentId: "912",
cache: false
},
auth: [
{
authId: "9121101",
parentId: "91211",
label: "新增信息",
category: "Button",
type: "primary",
handle: "handleToAdd"
},
{
authId: "9121102",
parentId: "91211",
label: "数据导出",
category: "Button",
type: "primary",
handle: "handleExport"
},
{
authId: "9121103",
parentId: "91211",
label: "编辑",
handle: "handleToAdd"
}
],
component: _import("residentManage/tabletManagement")
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!