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}} + + + + + +