diff --git a/src/api/hard/hard-spu-repertory.ts b/src/api/hard/hard-spu-repertory.ts index 4519dc6..6b65e91 100644 --- a/src/api/hard/hard-spu-repertory.ts +++ b/src/api/hard/hard-spu-repertory.ts @@ -1,8 +1,8 @@ import request from "/@/utils/request" -export function select(query?: Object) { +export function pageJoin(query?: Object) { return request({ - url: "/hard/hard-spu-repertory/select", + url: "/hard/hard-spu-repertory/page-join", method: "get", params: query, }) diff --git a/src/views/hard/hard-order/index.vue b/src/views/hard/hard-order/index.vue index 0399ef1..01d6d7e 100644 --- a/src/views/hard/hard-order/index.vue +++ b/src/views/hard/hard-order/index.vue @@ -10,7 +10,7 @@ - + diff --git a/src/views/hard/hard-sh/index.vue b/src/views/hard/hard-sh/index.vue index d6cad2f..4efaf55 100644 --- a/src/views/hard/hard-sh/index.vue +++ b/src/views/hard/hard-sh/index.vue @@ -21,7 +21,7 @@ - + diff --git a/src/views/hard/hard-spu-repertory/form.vue b/src/views/hard/hard-spu-repertory/form.vue index 34034c8..4c8f9e9 100644 --- a/src/views/hard/hard-spu-repertory/form.vue +++ b/src/views/hard/hard-spu-repertory/form.vue @@ -41,7 +41,7 @@ const form = reactive({ userId: "", hardId: "", spuId: "", - count: "", + count: 5, }) // 定义校验规则 diff --git a/src/views/hard/hard-spu-repertory/index.vue b/src/views/hard/hard-spu-repertory/index.vue index 4a2f989..aa397d5 100644 --- a/src/views/hard/hard-spu-repertory/index.vue +++ b/src/views/hard/hard-spu-repertory/index.vue @@ -36,11 +36,59 @@ @sort-change="sortChangeHandle" > - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +