Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust_web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
cust_web
Commits
6ac32e51
Commit
6ac32e51
authored
Dec 25, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初始化会员管理
parent
008a4d93
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3291 additions
and
5 deletions
+3291
-5
memInfo.js
src/api/contentManagement/memInfo.js
+68
-0
options.js
src/utils/options.js
+1876
-0
index.vue
src/views/operationsManagement/member/index.vue
+544
-4
index.vue
src/views/operationsManagement/member/info/index.vue
+802
-0
vue.config.js
vue.config.js
+1
-1
No files found.
src/api/contentManagement/memInfo.js
0 → 100644
View file @
6ac32e51
import
request
from
'@/utils/request'
import
Qs
from
'qs'
/**
* 1. 列表查询
* 2. 查询详细信息
* 3. 新增
* 4. 修改
* 5. 逻辑删除
* 6. 导出
*
*/
// 1. 查询会员
export
function
listMemInfo
(
query
)
{
return
request
({
url
:
'/memInfo/list'
,
method
:
'get'
,
params
:
query
})
}
// 2. 查询会员
export
function
getMemInfo
(
businessId
)
{
return
request
({
url
:
'/memInfo/detail/'
+
businessId
,
method
:
'get'
})
}
// 3. 新增会员
export
function
addMemInfo
(
data
)
{
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/memInfo/add'
,
method
:
'post'
,
data
:
data
})
}
// 4. 修改会员
export
function
updateMemInfo
(
data
)
{
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/memInfo/update/'
+
businessId
,
method
:
'post'
,
data
})
}
// 5. 逻辑删除会员
export
function
delMemInfo
(
businessId
)
{
return
request
({
url
:
'/memInfo/delete/'
+
businessId
,
method
:
'delete'
})
}
// 6. 导出会员
export
function
exportMemInfo
(
query
)
{
return
request
({
url
:
'/memInfo/export'
,
method
:
'get'
,
params
:
query
,
responseType
:
'blob'
})
}
src/utils/options.js
0 → 100644
View file @
6ac32e51
This diff is collapsed.
Click to expand it.
src/views/operationsManagement/member/index.vue
View file @
6ac32e51
This diff is collapsed.
Click to expand it.
src/views/operationsManagement/member/info/index.vue
0 → 100644
View file @
6ac32e51
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
6ac32e51
...
@@ -62,7 +62,7 @@ module.exports = {
...
@@ -62,7 +62,7 @@ module.exports = {
// target: `http://49.232.167.247:20014/`,
// target: `http://49.232.167.247:20014/`,
// target: `http://192.168.10.185:8084/`,
// target: `http://192.168.10.185:8084/`,
// target: `http://106.3.97.198:20062/`,
// target: `http://106.3.97.198:20062/`,
target
:
`http://localhost:80
8
2/`
,
target
:
`http://localhost:80
9
2/`
,
pathRewrite
:
{
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment