|
@@ -176,7 +176,6 @@ export default {
|
|
|
getCreateData(e) {
|
|
|
this.$refs['fromCreateData'].validate(async(valid) => {
|
|
|
if (valid) {
|
|
|
- this.fromCreateData = { ...this.fromCreateData, bizId: this.bizId, type: e, customFields: this.customList }
|
|
|
this.loading = true
|
|
|
try {
|
|
|
this.fromCreateData.content = await getContainImgHTMLNode(this.fromCreateData.content)
|
|
@@ -185,6 +184,8 @@ export default {
|
|
|
throw error
|
|
|
}
|
|
|
this.loading = false
|
|
|
+ this.fromCreateData = { ...this.fromCreateData, bizId: this.bizId, type: e, customFields: this.customList }
|
|
|
+ console.log(this.tpltId, 'kankan')
|
|
|
if (this.tpltId) {
|
|
|
settingUpdateReportModule(this.fromCreateData).then(res => {
|
|
|
if (res.code === 200) {
|