From 5c827408bc5922368661354aa6849d3b13f02734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A2=A8=E5=A4=A7=E5=8F=94?= <494979559@qq.com> Date: Sat, 3 Aug 2024 18:04:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ss/storeApply.js | 44 ++ src/assets/styles/ruoyi.scss | 7 +- src/utils/constants.js | 9 + src/views/ss/store/index.vue | 28 +- .../ss/storeApply/component/ChangeField.vue | 91 ++++ src/views/ss/storeApply/detail.vue | 125 ++++++ src/views/ss/storeApply/index.vue | 405 ++++++++++++++++++ 7 files changed, 707 insertions(+), 2 deletions(-) create mode 100644 src/api/ss/storeApply.js create mode 100644 src/views/ss/storeApply/component/ChangeField.vue create mode 100644 src/views/ss/storeApply/detail.vue create mode 100644 src/views/ss/storeApply/index.vue diff --git a/src/api/ss/storeApply.js b/src/api/ss/storeApply.js new file mode 100644 index 0000000..ca6f229 --- /dev/null +++ b/src/api/ss/storeApply.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询店铺审核列表 +export function listStoreApply(query) { + return request({ + url: '/ss/storeApply/list', + method: 'get', + params: query + }) +} + +// 查询店铺审核详细 +export function getStoreApply(id) { + return request({ + url: '/ss/storeApply/' + id, + method: 'get' + }) +} + +// 新增店铺审核 +export function addStoreApply(data) { + return request({ + url: '/ss/storeApply', + method: 'post', + data: data + }) +} + +// 修改店铺审核 +export function updateStoreApply(data) { + return request({ + url: '/ss/storeApply', + method: 'put', + data: data + }) +} + +// 删除店铺审核 +export function delStoreApply(id) { + return request({ + url: '/ss/storeApply/' + id, + method: 'delete' + }) +} diff --git a/src/assets/styles/ruoyi.scss b/src/assets/styles/ruoyi.scss index de12e82..73bfb82 100644 --- a/src/assets/styles/ruoyi.scss +++ b/src/assets/styles/ruoyi.scss @@ -177,13 +177,18 @@ list-style: none; } +.list-group-item:nth-child(n + 2) { + border-top: 1px solid #e7eaec; +} .list-group-item { border-bottom: 1px solid #e7eaec; - border-top: 1px solid #e7eaec; margin-bottom: -1px; padding: 11px 0px; font-size: 13px; } +.list-group-item:hover { + background-color: rgba(136, 131, 240, 0.06); +} .pull-right { float: right !important; diff --git a/src/utils/constants.js b/src/utils/constants.js index a53bf71..c32f190 100644 --- a/src/utils/constants.js +++ b/src/utils/constants.js @@ -24,3 +24,12 @@ export const WithdrawType = { ONLINE: "1", // 线上 OFFLINE: "2" // 线下 } + +/** + * 店铺审核状态 + */ +export const StoreApplyStatus = { + WAIT_AUDIT: "1", // 等待审核 + AUDIT_PASS: "2", // 审核通过 + AUDIT_FAIL: "3" // 审核不通过 +} diff --git a/src/views/ss/store/index.vue b/src/views/ss/store/index.vue index 1c12ea9..edda614 100644 --- a/src/views/ss/store/index.vue +++ b/src/views/ss/store/index.vue @@ -17,6 +17,22 @@ @keyup.enter.native="handleQuery" /> + + + + + + + + + + + 搜索 重置 @@ -98,6 +114,16 @@ {{d.row.province}}{{d.row.city}}{{d.row.county}}{{d.row.address}} + + + + + +