cloud-web-corejs 1.0.54-dev.474 → 1.0.54-dev.476

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.474",
4
+ "version": "1.0.54-dev.476",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -83,7 +83,8 @@
83
83
  v-if="
84
84
  $attrs.edit !== false &&
85
85
  $attrs.edit !== 'false' &&
86
- attachment.h5 !== 1
86
+ attachment.h5 !== 1 &&
87
+ $attrs.remove !== false
87
88
  "
88
89
  >
89
90
  <i
@@ -136,7 +137,8 @@
136
137
  href="javascript:void(0);"
137
138
  class="del"
138
139
  @click="deleteFile(index)"
139
- v-if="$attrs.edit !== false && $attrs.edit !== 'false'"
140
+ v-if="$attrs.edit !== false && $attrs.edit !== 'false' &&
141
+ $attrs.remove !== false"
140
142
  ><i class="el-icon-error"></i
141
143
  ></a>
142
144
  </template>
@@ -8,6 +8,7 @@
8
8
  <template #default>
9
9
  <div
10
10
  style="margin: -36px 0 8px 124px; position: relative; z-index: 2; height: 28px"
11
+ v-if="!wfConfig.hiddenAllButton"
11
12
  >
12
13
  <el-button
13
14
  type="success"
@@ -244,7 +245,7 @@
244
245
  <div class="title-five" v-if="showWfMemo">
245
246
  <b>{{ $t1("发起人附言") }}</b>
246
247
  <el-button
247
- v-if="wfInfo.toAddMemo"
248
+ v-if="wfInfo.toAddMemo && !wfConfig.hiddenAllButton"
248
249
  class="button-sty"
249
250
  icon="el-icon-plus"
250
251
  @click="openWfMemoDialog()"
@@ -287,7 +288,7 @@
287
288
  class="button-sty"
288
289
  @click="openTalkDialog()"
289
290
  icon="el-icon-chat-dot-square"
290
- v-if="wfInfo.toLinkup"
291
+ v-if="wfInfo.toLinkup && !wfConfig.hiddenAllButton"
291
292
  >{{ $t2("沟通", "components.wf.talk") }}
292
293
  </el-button>
293
294
  </div>