From 68498f1c397d122c1dac11b30f3bb67e12ae8d3d Mon Sep 17 00:00:00 2001
From: dzc <2388224167@qq.com>
Date: Wed, 2 Apr 2025 19:48:26 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E6=99=BA=E8=83=BD=E6=9F=9C=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81=E7=94=9F=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/hard/hard-spu-category.ts | 41 ++++++
src/api/hard/hard-spu-repertory.ts | 41 ++++++
src/api/hard/hard-spu.ts | 41 ++++++
src/views/hard/hard-spu-category/form.vue | 102 ++++++++++++++
src/views/hard/hard-spu-category/index.vue | 129 ++++++++++++++++++
src/views/hard/hard-spu-repertory/form.vue | 116 ++++++++++++++++
src/views/hard/hard-spu-repertory/index.vue | 131 ++++++++++++++++++
src/views/hard/hard-spu/form.vue | 144 ++++++++++++++++++++
src/views/hard/hard-spu/index.vue | 121 ++++++++++++++++
9 files changed, 866 insertions(+)
create mode 100644 src/api/hard/hard-spu-category.ts
create mode 100644 src/api/hard/hard-spu-repertory.ts
create mode 100644 src/api/hard/hard-spu.ts
create mode 100644 src/views/hard/hard-spu-category/form.vue
create mode 100644 src/views/hard/hard-spu-category/index.vue
create mode 100644 src/views/hard/hard-spu-repertory/form.vue
create mode 100644 src/views/hard/hard-spu-repertory/index.vue
create mode 100644 src/views/hard/hard-spu/form.vue
create mode 100644 src/views/hard/hard-spu/index.vue
diff --git a/src/api/hard/hard-spu-category.ts b/src/api/hard/hard-spu-category.ts
new file mode 100644
index 0000000..2299a48
--- /dev/null
+++ b/src/api/hard/hard-spu-category.ts
@@ -0,0 +1,41 @@
+import request from "/@/utils/request"
+
+export function fetchList(query?: Object) {
+ return request({
+ url: '/hard/hardSpuCategory/page',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addObj(obj?: Object) {
+ return request({
+ url: '/hard/hardSpuCategory',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function getObj(id?: string) {
+ return request({
+ url: '/hard/hardSpuCategory/' + id,
+ method: 'get'
+ })
+}
+
+export function delObjs(ids?: Object) {
+ return request({
+ url: '/hard/hardSpuCategory',
+ method: 'delete',
+ data: ids
+ })
+}
+
+export function putObj(obj?: Object) {
+ return request({
+ url: '/hard/hardSpuCategory',
+ method: 'put',
+ data: obj
+ })
+}
+
diff --git a/src/api/hard/hard-spu-repertory.ts b/src/api/hard/hard-spu-repertory.ts
new file mode 100644
index 0000000..1e04aa2
--- /dev/null
+++ b/src/api/hard/hard-spu-repertory.ts
@@ -0,0 +1,41 @@
+import request from "/@/utils/request"
+
+export function fetchList(query?: Object) {
+ return request({
+ url: '/hard/hardSpuRepertory/page',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addObj(obj?: Object) {
+ return request({
+ url: '/hard/hardSpuRepertory',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function getObj(id?: string) {
+ return request({
+ url: '/hard/hardSpuRepertory/' + id,
+ method: 'get'
+ })
+}
+
+export function delObjs(ids?: Object) {
+ return request({
+ url: '/hard/hardSpuRepertory',
+ method: 'delete',
+ data: ids
+ })
+}
+
+export function putObj(obj?: Object) {
+ return request({
+ url: '/hard/hardSpuRepertory',
+ method: 'put',
+ data: obj
+ })
+}
+
diff --git a/src/api/hard/hard-spu.ts b/src/api/hard/hard-spu.ts
new file mode 100644
index 0000000..1964397
--- /dev/null
+++ b/src/api/hard/hard-spu.ts
@@ -0,0 +1,41 @@
+import request from "/@/utils/request"
+
+export function fetchList(query?: Object) {
+ return request({
+ url: '/hard/hardSpu/page',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addObj(obj?: Object) {
+ return request({
+ url: '/hard/hardSpu',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function getObj(id?: string) {
+ return request({
+ url: '/hard/hardSpu/' + id,
+ method: 'get'
+ })
+}
+
+export function delObjs(ids?: Object) {
+ return request({
+ url: '/hard/hardSpu',
+ method: 'delete',
+ data: ids
+ })
+}
+
+export function putObj(obj?: Object) {
+ return request({
+ url: '/hard/hardSpu',
+ method: 'put',
+ data: obj
+ })
+}
+
diff --git a/src/views/hard/hard-spu-category/form.vue b/src/views/hard/hard-spu-category/form.vue
new file mode 100644
index 0000000..c72784d
--- /dev/null
+++ b/src/views/hard/hard-spu-category/form.vue
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/hard/hard-spu-category/index.vue b/src/views/hard/hard-spu-category/index.vue
new file mode 100644
index 0000000..a35da2e
--- /dev/null
+++ b/src/views/hard/hard-spu-category/index.vue
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+ 新 增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/hard/hard-spu-repertory/form.vue b/src/views/hard/hard-spu-repertory/form.vue
new file mode 100644
index 0000000..b830c66
--- /dev/null
+++ b/src/views/hard/hard-spu-repertory/form.vue
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/hard/hard-spu-repertory/index.vue b/src/views/hard/hard-spu-repertory/index.vue
new file mode 100644
index 0000000..aeaf442
--- /dev/null
+++ b/src/views/hard/hard-spu-repertory/index.vue
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+ 新 增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/hard/hard-spu/form.vue b/src/views/hard/hard-spu/form.vue
new file mode 100644
index 0000000..97a3bbd
--- /dev/null
+++ b/src/views/hard/hard-spu/form.vue
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/hard/hard-spu/index.vue b/src/views/hard/hard-spu/index.vue
new file mode 100644
index 0000000..d7140e0
--- /dev/null
+++ b/src/views/hard/hard-spu/index.vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+ 新 增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+