Browse Source

隐藏草稿箱“新增”按钮

master
dai 3 years ago
parent
commit
cf057c1ab1
  1. 2
      src/views/modules/communityParty/article/drafts.vue
  2. 9
      src/views/modules/cpts/base/index.vue

2
src/views/modules/communityParty/article/drafts.vue

@ -71,7 +71,7 @@ export default {
importUrl: "",
exportUrl: "",
addUrl: "/gov/voice/article/addOrSaveDraft",
addUrl: "",
editUrl: "/gov/voice/article/addOrSaveDraft",
infoUrl: "/gov/voice/draft/detailV2",
delUrl: "/gov/voice/draft/deletedraft",

9
src/views/modules/cpts/base/index.vue

@ -93,7 +93,10 @@
</el-form>
</div>
<div class="div_table">
<div
class="div_table"
:style="{ height: maxTableHeight + 130 + 'px' }"
>
<div class="div_btn">
<el-button
class="diy-button--add"
@ -422,8 +425,8 @@ export default {
maxTableHeight() {
const { ref_search_height } = this;
return this.$store.state.inIframe
? this.clientHeight - ref_search_height - 260 + this.iframeHeight
: this.clientHeight - ref_search_height - 260;
? this.clientHeight - ref_search_height - 265 + this.iframeHeight
: this.clientHeight - ref_search_height - 265;
},
...mapGetters(["clientHeight", "iframeHeight"]),
},

Loading…
Cancel
Save