Commit a94153b2 by zhangquan

优化

1 parent 2798952e
<!-- 专区管理 -->
<template>
<div>
<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">
<!-- 模块分割线 -->
......@@ -93,11 +94,11 @@
</div>
</glsx-combi-form>
<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>
<GLFooter class="gl-footer">
<el-button class="btn-cancle" @click="goListPage">取消</el-button>
<el-button @click="commitForm" type="primary">确定</el-button>
</GLFooter>
</div>
</template>
......@@ -494,7 +495,7 @@ export default {
this.$apis.discover.addContentApi(params).then(res => {
if(res) {
this.$message.success('操作成功')
this.$router.push('/discoverManager/index')
this.goListPage()
}
})
}
......@@ -519,7 +520,6 @@ export default {
videoUrl: '',
posterUrl: ''
}
console.log(this.selectedtypeList)
this.selectedtypeList.push(obj)
}
},
......@@ -541,8 +541,8 @@ export default {
<style scoped lang="scss">
.ctnr{
background-color: #fff;
padding: 20px 20px 0;
background-color: #fff;
.glsx-combi-form{
.big-title{
margin-left: 74px;
......
......@@ -164,7 +164,6 @@ export default {
if(item.name=='business') item.isHide = true
}
});
console.log(this.formData)
this.getMenuList()
}
},
......@@ -187,13 +186,11 @@ export default {
this.detailVisible = false
},
onCancel(){
console.log(this.formObj)
this.contentObj.imageDialogVisible = false
// this.$emit('closeVideoDialog')
},
async getContentDetail(){
this.$apis.discover.getContentDetailApi({id: this.contentObj.id}).then(res => {
console.log(res)
if(res?.id){
for(const key in this.formObj){
this.formObj[key] = res[key]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!