diff --git a/src/api/account/shopPagePermission.ts b/src/api/account/shopPagePermission.ts new file mode 100644 index 0000000..7b50c5d --- /dev/null +++ b/src/api/account/shopPagePermission.ts @@ -0,0 +1,46 @@ +import request from "@/utils/request"; +import { Account_BaseUrl } from "@/api/config"; +import { get } from "lodash"; +const baseURL = Account_BaseUrl + "/admin/shopPagePermission"; +const Api = { + // 获取所有页面路径 + getPageAll(params: any) { + return request({ + url: `${baseURL}`, + method: "get", + params: params, + }); + }, + // 保存修改权限 + save(data: any) { + return request({ + url: `${baseURL}`, + method: "post", + data: data, + }); + }, + //获取员工拥有页面路径 + detail(params: any) { + return request({ + url: `${baseURL}/detail`, + method: "get", + params: params, + }); + }, + //获取当前员工已拥有页面路径 + mine(params: any) { + return request({ + url: `${baseURL}/mine`, + method: "get", + params: params, + }); + } +}; + +export default Api; + +interface PagePath { + label: string; + value: string; + [property: string]: any; +} \ No newline at end of file diff --git a/src/views/order/index/index.vue b/src/views/order/index/index.vue index f334454..a5ad6d6 100644 --- a/src/views/order/index/index.vue +++ b/src/views/order/index/index.vue @@ -52,7 +52,7 @@ {{ item.productName }} - (退 - {{ item.refundNumber }}) + (退 - {{ item.refundNum }})
{{ item.skuName }}
@@ -63,7 +63,7 @@

名称: - {{ scope.row.tableName }} + {{ scope.row.tableName || "无" }}

编号:{{ scope.row.tableCode }}

diff --git a/src/views/product/specifications.vue b/src/views/product/specifications.vue index 249977f..6f9ae41 100644 --- a/src/views/product/specifications.vue +++ b/src/views/product/specifications.vue @@ -10,6 +10,12 @@ +