|
@@ -192,6 +192,7 @@ export default {
|
|
},
|
|
},
|
|
chooseDealerList: [], // 已选经销商数据
|
|
chooseDealerList: [], // 已选经销商数据
|
|
openDealerModal: false, // 打开选择经销商弹窗
|
|
openDealerModal: false, // 打开选择经销商弹窗
|
|
|
|
+ isDisabled: false,
|
|
// 链接配置内容
|
|
// 链接配置内容
|
|
form: {
|
|
form: {
|
|
bannerSn: undefined, // 轮播图sn
|
|
bannerSn: undefined, // 轮播图sn
|
|
@@ -265,6 +266,7 @@ export default {
|
|
const _this = this
|
|
const _this = this
|
|
shopBannerDetail({ bannerSn: this.$route.params.sn }).then(res => {
|
|
shopBannerDetail({ bannerSn: this.$route.params.sn }).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
|
|
+ _this.isDisabled = true
|
|
if (res.data.contentType == 'IMAGE_CONTENT') {
|
|
if (res.data.contentType == 'IMAGE_CONTENT') {
|
|
_this.$refs.editor.setHtml(res.data.content)
|
|
_this.$refs.editor.setHtml(res.data.content)
|
|
} else if (res.data.contentType == 'VIDEO') {
|
|
} else if (res.data.contentType == 'VIDEO') {
|
|
@@ -272,7 +274,6 @@ export default {
|
|
} else if (res.data.contentType == 'LINK') {
|
|
} else if (res.data.contentType == 'LINK') {
|
|
_this.form.contentLink = res.data.content
|
|
_this.form.contentLink = res.data.content
|
|
}
|
|
}
|
|
-
|
|
|
|
_this.$refs.imageSet.setFileList(res.data.imageUrl)
|
|
_this.$refs.imageSet.setFileList(res.data.imageUrl)
|
|
_this.form = res.data
|
|
_this.form = res.data
|
|
_this.form.time = [res.data.bannerStartDate, res.data.bannerEndDate]
|
|
_this.form.time = [res.data.bannerStartDate, res.data.bannerEndDate]
|
|
@@ -357,6 +358,7 @@ export default {
|
|
contentLink: '',
|
|
contentLink: '',
|
|
state: 'UNPUBLISH'
|
|
state: 'UNPUBLISH'
|
|
}
|
|
}
|
|
|
|
+ this.isDisabled = false
|
|
if (this.$refs.ruleForm) {
|
|
if (this.$refs.ruleForm) {
|
|
this.$refs.ruleForm.resetFields()
|
|
this.$refs.ruleForm.resetFields()
|
|
}
|
|
}
|