Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
Z
zxn-adputin
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lijin
zxn-adputin
Commits
77df13d1
Commit
77df13d1
authored
Mar 04, 2025
by
lijin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加地域组管理功能
parent
b2002460
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
423 additions
and
1 deletion
+423
-1
locationGroup.js
src/api/locationGroup.js
+46
-0
index.vue
src/components/CountryTransfer/index.vue
+63
-0
index.js
src/router/index.js
+6
-0
Layout.vue
src/views/layout/Layout.vue
+1
-1
LocationGroupManage.vue
src/views/locationGroup/LocationGroupManage.vue
+307
-0
No files found.
src/api/locationGroup.js
0 → 100644
View file @
77df13d1
import
request
from
'@/utils/request'
const
baseUrl
=
'/location-groups'
// 获取所有地域组
export
function
getLocationGroupList
(
params
)
{
return
request
({
url
:
process
.
env
.
PUTIN_API
+
baseUrl
,
method
:
'get'
,
params
})
}
// 根据ID获取地域组
export
function
getLocationGroupById
(
id
)
{
return
request
({
url
:
process
.
env
.
PUTIN_API
+
`
${
baseUrl
}
/
${
id
}
`
,
method
:
'get'
})
}
// 创建地域组
export
function
createLocationGroup
(
data
)
{
return
request
({
url
:
process
.
env
.
PUTIN_API
+
baseUrl
,
method
:
'post'
,
data
})
}
// 更新地域组
export
function
updateLocationGroup
(
data
)
{
return
request
({
url
:
process
.
env
.
PUTIN_API
+
`
${
baseUrl
}
/
${
data
.
id
}
`
,
method
:
'put'
,
data
})
}
// 删除地域组
export
function
deleteLocationGroup
(
id
)
{
return
request
({
url
:
process
.
env
.
PUTIN_API
+
`
${
baseUrl
}
/
${
id
}
`
,
method
:
'delete'
})
}
src/components/CountryTransfer/index.vue
0 → 100644
View file @
77df13d1
This diff is collapsed.
Click to expand it.
src/router/index.js
View file @
77df13d1
...
...
@@ -132,6 +132,12 @@ export const constantRouterMap = [
component
:
()
=>
import
(
"@/views/copywritingLibrary"
),
meta
:
{
title
:
"文案库"
,
icon
:
"document"
}
},
{
path
:
'/assetManagement/location-group'
,
name
:
'assetManagement.location-group'
,
component
:
()
=>
import
(
'@/views/locationGroup/LocationGroupManage'
),
meta
:
{
title
:
'地域组管理'
}
},
]
},
...
...
src/views/layout/Layout.vue
View file @
77df13d1
...
...
@@ -28,7 +28,7 @@
<
template
slot=
"title"
>
资产管理
</
template
>
<el-menu-item
index=
"/assetManagement/copywritingLibrary"
>
文案管理
</el-menu-item>
<el-menu-item
index=
"/assetManagement/app-group"
>
产品组管理
</el-menu-item>
<el-menu-item
index=
"/assetManagement/
createDelivery"
>
地域组
</el-menu-item>
<el-menu-item
index=
"/assetManagement/
location-group"
>
地域组管理
</el-menu-item>
<el-menu-item
index=
"/assetManagement/createDelivery"
>
素材组
</el-menu-item>
<el-menu-item
index=
"/assetManagement/createDelivery"
>
标题组
</el-menu-item>
<el-menu-item
index=
"/assetManagement/createDelivery"
>
描述组
</el-menu-item>
...
...
src/views/locationGroup/LocationGroupManage.vue
0 → 100644
View file @
77df13d1
This diff is collapsed.
Click to expand it.
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