From f8b91eb33edb4d9352f39a9f3b34406a76bb42da Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Mon, 3 Aug 2020 17:15:05 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90PC=E7=AB=AF=E4=BC=98=E5=8C=96=E3=80=91?= =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9-=E7=8E=8B=E5=85=AC=E5=B3=B0-2020-08-03?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../case/typicalcase-add-or-update.vue | 14 ++++----- .../modules/heart/actinfo-add-or-update.vue | 2 +- .../modules/heart/actinfo-detail-view.vue | 5 ++-- .../modules/heart/actphrase-add-or-update.vue | 29 ++++++++++++------- src/views/modules/heart/actphrase.vue | 4 +-- .../modules/heart/actuserclock-detail.vue | 7 +++-- src/views/modules/job/schedule.vue | 6 ++-- src/views/modules/news/news-publish.vue | 15 +++++++--- src/views/modules/news/news.vue | 17 +++++++++-- src/views/modules/sys/dict-add-or-update.vue | 2 +- src/views/modules/user/user-detail.vue | 2 +- 11 files changed, 66 insertions(+), 37 deletions(-) diff --git a/src/views/modules/case/typicalcase-add-or-update.vue b/src/views/modules/case/typicalcase-add-or-update.vue index 6a59bc71..6f838ee9 100644 --- a/src/views/modules/case/typicalcase-add-or-update.vue +++ b/src/views/modules/case/typicalcase-add-or-update.vue @@ -7,7 +7,7 @@ ref="dataForm" :label-width="$i18n.locale === 'en-US' ? '120px' : '120px'"> - + - + - +
-
{{"案例"+(index+1)}}
+
{{"案例"+(index+1)+":"}}
- - + @@ -68,7 +68,7 @@ - + -
+
diff --git a/src/views/modules/heart/actinfo-detail-view.vue b/src/views/modules/heart/actinfo-detail-view.vue index 71a3300f..61412bb0 100644 --- a/src/views/modules/heart/actinfo-detail-view.vue +++ b/src/views/modules/heart/actinfo-detail-view.vue @@ -131,7 +131,7 @@ -
+

@@ -148,9 +148,10 @@ - + 返回 diff --git a/src/views/modules/heart/actphrase-add-or-update.vue b/src/views/modules/heart/actphrase-add-or-update.vue index d08293fb..31632c7b 100644 --- a/src/views/modules/heart/actphrase-add-or-update.vue +++ b/src/views/modules/heart/actphrase-add-or-update.vue @@ -2,31 +2,34 @@ + :close-on-press-escape="false" + customClass="customWidth"> - + placeholder="请输入常用语" + style="width:95%;"> - + placeholder="请输入数字编码" + style="width:95%;"> - + placeholder="是否显示" + style="width:40%;"> + label="显示顺序"> + label="显示顺序" + style="width:40%;"> + :formatter="showFlagFormat" width="50">
-
处理操作 :
+
处理操作
@@ -18,11 +19,11 @@ :rows="4" v-model="dataForm.failureReason" type="textarea" - style="width: 560px" + style="width: 95% !important" placeholder="请写明理由,100字以内" > - + + style="width:450px"> @@ -130,9 +130,9 @@ 确认发布 + @click="dataFormSubmitHandle()" :disabled="isAble">确认发布 存草稿箱 + @click="draftDataFormSubmitHandle()" :disabled="isAble">存草稿箱 @@ -191,7 +191,8 @@ export default { ], uploadUrl: '', // 富文本end - fileList: [] + fileList: [], + isAble: false } }, activated () { @@ -360,8 +361,10 @@ export default { if (!valid) { return false } + this.isAble = true this.$http['post']('/news/news/publish', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { + this.isAble = false return this.$message.error(res.msg) } this.$message({ @@ -388,6 +391,7 @@ export default { this.quillEditor.root.innerHTML = '' this.dataForm.communityId = this.dataForm.streetId = this.dataForm.gridId = null this.communityList = this.gridList = [] + this.isAble = false } }) }).catch(() => { }) @@ -402,8 +406,10 @@ export default { if (!valid) { return false } + this.isAble = true this.$http['post']('/news/news/', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { + this.isAble = false return this.$message.error(res.msg) } this.$message({ @@ -430,6 +436,7 @@ export default { this.quillEditor.root.innerHTML = '' this.dataForm.communityId = this.dataForm.streetId = this.dataForm.gridId = null this.communityList = this.gridList = [] + this.isAble = false } }) }).catch(() => { }) diff --git a/src/views/modules/news/news.vue b/src/views/modules/news/news.vue index b32a29b6..b5007575 100644 --- a/src/views/modules/news/news.vue +++ b/src/views/modules/news/news.vue @@ -151,10 +151,10 @@ min-width="200" header-align="center" align="center"> - -