Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intel_promotion_manage
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
张伯涛
intel_promotion_manage
Commits
b3c078af
Commit
b3c078af
authored
Jul 16, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
banner管理新增编辑添加unitId判断
parent
0fd2e333
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
index.vue
src/views/contentManagement/banner/index.vue
+3
-0
No files found.
src/views/contentManagement/banner/index.vue
View file @
b3c078af
...
...
@@ -569,6 +569,7 @@ export default {
},
/** 提交按钮 */
submitForm
:
function
()
{
console
.
log
(
'111'
,
this
.
$store
.
getters
.
roles
.
roleKey
)
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
const
unitId
=
this
.
queryParams
.
unitId
...
...
@@ -579,6 +580,7 @@ export default {
if
(
this
.
form
.
businessId
!==
undefined
)
{
const
typeName
=
this
.
addressType
===
'1'
?
'http://'
:
'https://'
const
temp
=
{
unitId
:
this
.
$store
.
getters
.
roles
.
roleKey
===
'admin'
?
undefined
:
this
.
queryParams
.
unitId
,
businessId
:
this
.
form
.
businessId
,
// ...this.form
bannerName
:
this
.
form
.
bannerName
,
...
...
@@ -596,6 +598,7 @@ export default {
}
else
{
const
typeName
=
this
.
addressType
===
'1'
?
'http://'
:
'https://'
const
params
=
{
unitId
:
this
.
$store
.
getters
.
roles
.
roleKey
===
'admin'
?
undefined
:
this
.
queryParams
.
unitId
,
bannerName
:
this
.
form
.
bannerName
,
bannerPicture
:
this
.
form
.
bannerPicture
,
linkUrl
:
this
.
form
.
linkUrl
?
typeName
+
this
.
form
.
linkUrl
:
''
,
...
...
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