diff --git a/src/api/act/actCancel.ts b/src/api/act/actCancel.ts new file mode 100644 index 0000000..b39a6ea --- /dev/null +++ b/src/api/act/actCancel.ts @@ -0,0 +1,40 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: "/wallet/act/act-cancel/page", + method: "get", + params: query, + }) +} + +export function addObj(obj?: Object) { + return request({ + url: "/wallet/act/act-cancel", + method: "post", + data: obj, + }) +} + +export function getObj(id?: string) { + return request({ + url: "/wallet/act/act-cancel/" + id, + method: "get", + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: "/wallet/act/act-cancel", + method: "delete", + data: ids, + }) +} + +export function putObj(obj?: Object) { + return request({ + url: "/wallet/act/act-cancel", + method: "put", + data: obj, + }) +} diff --git a/src/components/Upload/qnImages.vue b/src/components/Upload/qnImages.vue new file mode 100644 index 0000000..dafe90b --- /dev/null +++ b/src/components/Upload/qnImages.vue @@ -0,0 +1,282 @@ + + + + + diff --git a/src/components/index.ts b/src/components/index.ts index edd8a95..d91f00b 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -6,6 +6,8 @@ import UploadExcel from "/@/components/Upload/Excel.vue" import UploadFile from "/@/components/Upload/index.vue" import UploadImg from "/@/components/Upload/Image.vue" import UploadImgs from "/@/components/Upload/Images.vue" +import UploadQnImgs from "/@/components/Upload/qnImages.vue" + import DelWrap from "/@/components/DelWrap/index.vue" import Editor from "/@/components/Editor/index.vue" import Tip from "/@/components/Tip/index.vue" @@ -67,6 +69,7 @@ export default { app.component("UploadFile", UploadFile) app.component("UploadImg", UploadImg) app.component("UploadImgs", UploadImgs) + app.component("UploadQnImgs", UploadQnImgs) app.component("Editor", Editor) app.component("Tip", Tip) app.component("DelWrap", DelWrap) diff --git a/src/views/act/act-cancel/form.vue b/src/views/act/act-cancel/form.vue new file mode 100644 index 0000000..4fd8253 --- /dev/null +++ b/src/views/act/act-cancel/form.vue @@ -0,0 +1,133 @@ + + + \ No newline at end of file diff --git a/src/views/act/act-cancel/index.vue b/src/views/act/act-cancel/index.vue new file mode 100644 index 0000000..c93abb8 --- /dev/null +++ b/src/views/act/act-cancel/index.vue @@ -0,0 +1,138 @@ + + + \ No newline at end of file diff --git a/src/views/hard/hard-spu/form.vue b/src/views/hard/hard-spu/form.vue index c14a7bd..29a7add 100644 --- a/src/views/hard/hard-spu/form.vue +++ b/src/views/hard/hard-spu/form.vue @@ -1,6 +1,7 @@ @@ -66,6 +79,8 @@ const form = reactive({ scCategoryIds: [], // 主食菜品分类 zsCategoryIds: [], + // 复购排行需要排除的菜品分类 + repurchaseTopExcludeCategoryIds: [], }, }) @@ -91,6 +106,7 @@ async function getSetting() { hcCategoryIds: [], scCategoryIds: [], zsCategoryIds: [], + repurchaseTopExcludeCategoryIds: [], } } if (data) { diff --git a/src/views/wallet/wallet-manage/index.vue b/src/views/wallet/wallet-manage/index.vue index 921a6b9..59eec21 100644 --- a/src/views/wallet/wallet-manage/index.vue +++ b/src/views/wallet/wallet-manage/index.vue @@ -6,22 +6,20 @@ :defaultTreeWidth="20" :nodeClickable="false">