|
@@ -14,7 +14,7 @@
|
|
|
<base-form ref="ruleForm" class="lib-edit" :data="formData" :is-inline="false" label-width="60px" :insertSlotArr="[1]">
|
|
|
<div class="scoped-textarea" slot="OI1">
|
|
|
<div class="st-text">房票科技</div>
|
|
|
- <tinymce v-model="content" :height="500" />
|
|
|
+ <tinymce ref="refContent" v-model="content" :height="500" />
|
|
|
</div>
|
|
|
</base-form>
|
|
|
<div class="xl-form scoped-bottom">
|
|
@@ -54,7 +54,7 @@ export default {
|
|
|
})
|
|
|
} else {
|
|
|
this.cObj = this.curObj
|
|
|
- this.content = '<p><img class=\"wscnph\" src=\"https://img2.honglounews.com/20210603030231-9876.gif\" /></p>\n<p> </p>\n<p> </p>'
|
|
|
+ this.content = '<p>这里开始</p>\n<p> </p>\n<p style=\"margin: 10px 16px; padding: 0px; max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important; clear: both; min-height: 1em; color: #333333; font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif; font-size: 17px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: 0.544px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; line-height: 2em; text-indent: 2em; text-align: center;\"><span style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important; font-size: 16px;\"><span style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important; letter-spacing: 2px;\">-END-</span></span></p>\n<p><span style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important; color: #333333; font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; orphans: 2; text-align: justify; text-indent: 34px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; letter-spacing: 2px;\"><img class=\"wscnph\" src=\"https://img2.honglounews.com/20210603040359-8175.gif\" /></span></p>'
|
|
|
this.getDef()
|
|
|
}
|
|
|
}
|
|
@@ -130,13 +130,11 @@ export default {
|
|
|
this.$api.house[apiStr](newForm).then(data => {
|
|
|
this.$msgs(newForm.id ? '编辑成功' : '新增成功')
|
|
|
this.$emit('close', newForm)
|
|
|
- this.$router.go(0)
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
} else {
|
|
|
this.$emit('close')
|
|
|
- this.$router.go(0)
|
|
|
this.setDefaultValue()
|
|
|
}
|
|
|
}
|