diff --git a/src/views/components/tinymce2/index.vue b/src/views/components/tinymce2/index.vue index 8bb48f01..60a38284 100644 --- a/src/views/components/tinymce2/index.vue +++ b/src/views/components/tinymce2/index.vue @@ -1,5 +1,6 @@ - + + + + + + diff --git a/src/views/modules/communityParty/regionalParty/activitysForm.vue b/src/views/modules/communityParty/regionalParty/activitysForm.vue index fdbeb30a..81b926c1 100644 --- a/src/views/modules/communityParty/regionalParty/activitysForm.vue +++ b/src/views/modules/communityParty/regionalParty/activitysForm.vue @@ -376,11 +376,21 @@ export default { }) }, + dormatHtml(content) { + let c = '' + if (content.indexOf('DOCTYPE') != -1) { + c = content.slice(45, -16); + } + console.log('content', typeof content) + return c || content + }, async addActivity () { let url = '/heart/icpartyactivity/save' // let url = "http://yapi.elinkservice.cn/mock/245/heart/icpartyactivity/save" - - + if (this.formData.content) { + this.formData.content = this.dormatHtml(this.formData.content) + } + const { data, code, msg } = await requestPost(url, this.formData) if (code === 0) { diff --git a/src/views/modules/communityService/measure/points.vue b/src/views/modules/communityService/measure/points.vue new file mode 100644 index 00000000..5a7b704a --- /dev/null +++ b/src/views/modules/communityService/measure/points.vue @@ -0,0 +1,728 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + + + + + + + + + + + + + + + 待审核 + 已通过 + 已驳回 + + + + + 查看 + 审核 + + + + + + + + + + + {{ detailInfo.title }} + {{ detailInfo.statement }} + + + + + 申请人:{{ detailInfo.showName }} + 申请时间:{{ detailInfo.createdTime }} + + + + + + {{ detailInfo.ruleName }} + + + {{ detailInfo.pointValue }} + + + + + + + + + + + + + + + + + + + + {{detailInfo.gridName}} + + + {{detailInfo.name}} + + + + + + + {{detailInfo.mobile}} + + + {{detailInfo.idCard}} + + + + + + {{detailInfo.ruleName}} + + + {{detailInfo.pointValue}} + + + + + {{detailInfo.title}} + + + {{detailInfo.statement}} + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/modules/workPc/guidance/DetailForm.vue b/src/views/modules/workPc/guidance/DetailForm.vue index 5b3528dd..74b0cf3c 100644 --- a/src/views/modules/workPc/guidance/DetailForm.vue +++ b/src/views/modules/workPc/guidance/DetailForm.vue @@ -332,11 +332,19 @@ export default { this.$message.error(msg) } }, - + dormatHtml(content) { + let c = '' + if (content.indexOf('DOCTYPE') != -1) { + c = content.slice(45, -16); + } + console.log('content', typeof content) + return c || content + }, saveForm () { this.dataForm.moduleList = [] this.moduleArray.forEach(element => { if (element.moduleContent) { + element.moduleContent = this.dormatHtml(element.moduleContent) this.dataForm.moduleList.push(element) } });