Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-content
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a94153b2
authored
May 31, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化
1 parent
2798952e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
src/views/discoverManager/addProd.vue
src/views/discoverManager/components/AddImage/index.vue
src/views/discoverManager/addProd.vue
View file @
a94153b
<!-- 专区管理 -->
<!-- 专区管理 -->
<
template
>
<
template
>
<div>
<div
class=
"ctnr"
>
<div
class=
"ctnr"
>
<glsx-combi-form
class=
"glsx-combi-form"
ref=
"baseInfoRef"
labelWidth=
"154px"
defaultWidth=
"432px"
:isInline=
"false"
:formObj
.
sync=
"formObj"
:formData=
"formData"
:formRules=
"myRule"
>
<glsx-combi-form
class=
"glsx-combi-form"
ref=
"baseInfoRef"
labelWidth=
"154px"
defaultWidth=
"432px"
:isInline=
"false"
:formObj
.
sync=
"formObj"
:formData=
"formData"
:formRules=
"myRule"
>
<!-- 模块分割线 -->
<!-- 模块分割线 -->
...
@@ -93,11 +94,11 @@
...
@@ -93,11 +94,11 @@
</div>
</div>
</glsx-combi-form>
</glsx-combi-form>
<ProdCoverDialog
@
closeDialog=
"closeDialog"
@
confirmDialog=
"confirmDialog"
v-if=
"coverVisible"
:visible=
"coverVisible"
></ProdCoverDialog>
<ProdCoverDialog
@
closeDialog=
"closeDialog"
@
confirmDialog=
"confirmDialog"
v-if=
"coverVisible"
:visible=
"coverVisible"
></ProdCoverDialog>
<div
class=
"footer-btn"
>
<el-button
:size=
"size"
@
click=
"goListPage"
>
取消
</el-button>
<el-button
:size=
"size"
@
click=
"commitForm"
type=
"primary"
>
确定
</el-button>
</div>
</div>
<GLFooter
class=
"gl-footer"
>
<el-button
class=
"btn-cancle"
@
click=
"goListPage"
>
取消
</el-button>
<el-button
@
click=
"commitForm"
type=
"primary"
>
确定
</el-button>
</GLFooter>
</div>
</div>
</template>
</template>
...
@@ -494,7 +495,7 @@ export default {
...
@@ -494,7 +495,7 @@ export default {
this
.
$apis
.
discover
.
addContentApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
discover
.
addContentApi
(
params
).
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
this
.
$message
.
success
(
'操作成功'
)
this
.
$message
.
success
(
'操作成功'
)
this
.
$router
.
push
(
'/discoverManager/index'
)
this
.
goListPage
(
)
}
}
})
})
}
}
...
@@ -519,7 +520,6 @@ export default {
...
@@ -519,7 +520,6 @@ export default {
videoUrl
:
''
,
videoUrl
:
''
,
posterUrl
:
''
posterUrl
:
''
}
}
console
.
log
(
this
.
selectedtypeList
)
this
.
selectedtypeList
.
push
(
obj
)
this
.
selectedtypeList
.
push
(
obj
)
}
}
},
},
...
@@ -541,8 +541,8 @@ export default {
...
@@ -541,8 +541,8 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.ctnr
{
.ctnr
{
background-color
:
#fff
;
padding
:
20px
20px
0
;
padding
:
20px
20px
0
;
background-color
:
#fff
;
.glsx-combi-form{
.glsx-combi-form{
.big-title{
.big-title{
margin-left
:
74px
;
margin-left
:
74px
;
...
...
src/views/discoverManager/components/AddImage/index.vue
View file @
a94153b
...
@@ -164,7 +164,6 @@ export default {
...
@@ -164,7 +164,6 @@ export default {
if
(
item
.
name
==
'business'
)
item
.
isHide
=
true
if
(
item
.
name
==
'business'
)
item
.
isHide
=
true
}
}
});
});
console
.
log
(
this
.
formData
)
this
.
getMenuList
()
this
.
getMenuList
()
}
}
},
},
...
@@ -187,13 +186,11 @@ export default {
...
@@ -187,13 +186,11 @@ export default {
this
.
detailVisible
=
false
this
.
detailVisible
=
false
},
},
onCancel
(){
onCancel
(){
console
.
log
(
this
.
formObj
)
this
.
contentObj
.
imageDialogVisible
=
false
this
.
contentObj
.
imageDialogVisible
=
false
// this.$emit('closeVideoDialog')
// this.$emit('closeVideoDialog')
},
},
async
getContentDetail
(){
async
getContentDetail
(){
this
.
$apis
.
discover
.
getContentDetailApi
({
id
:
this
.
contentObj
.
id
}).
then
(
res
=>
{
this
.
$apis
.
discover
.
getContentDetailApi
({
id
:
this
.
contentObj
.
id
}).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
?.
id
){
if
(
res
?.
id
){
for
(
const
key
in
this
.
formObj
){
for
(
const
key
in
this
.
formObj
){
this
.
formObj
[
key
]
=
res
[
key
]
this
.
formObj
[
key
]
=
res
[
key
]
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment