cloud-web-corejs 1.0.54-dev.475 → 1.0.54-dev.477

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.
@@ -4,7 +4,7 @@
4
4
  :display-style="field.options.displayStyle"
5
5
  :parent-widget="parentWidget" :parent-list="parentList"
6
6
  :index-of-parent-list="indexOfParentList">
7
- <el-dropdown trigger="hover">
7
+ <el-dropdown trigger="hover" :disabled="field.options.disabled">
8
8
  <el-button type="primary" class="button-sty" size="mini">
9
9
  <span>{{ getI18nLabel('列表导出') }}</span><span class="line"></span> <i
10
10
  class="el-icon-arrow-down el-icon--right"></i>
@@ -31,6 +31,7 @@
31
31
  :limit="field.options.limit"
32
32
  resultType="Array"
33
33
  :edit="!field.options.disabled"
34
+ :remove="!field.options.hideRemoveButton"
34
35
  @callback="submitFile"
35
36
  :hideInfo="field.options.hideFileInfo"
36
37
  :hideName="field.options.hideFileName"
@@ -69,7 +69,7 @@
69
69
  <div
70
70
  class="el-icon-close"
71
71
  @click="deleteFile(index)"
72
- v-if="!field.options.disabled"
72
+ v-if="!field.options.disabled && !field.options.hideRemoveButton"
73
73
  >
74
74
  <i
75
75
  class="el-tooltip iconfont iconshanchu"
@@ -392,6 +392,7 @@ export default {
392
392
  // this.$commonFileUtil.downloadFile(attachment.showUrl);
393
393
  },
394
394
  initUploadInfo() {
395
+ if(this.designState)return
395
396
  this.getHxFileUploadConfig({
396
397
  success: (res) => {
397
398
  // {"apiToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI5YzcyNTE5OS00NDdlLTQ5OTMtOGRjYy1iMWM2NjY0YmJhNDAiLCJuYW1lIjoiOWM3MjUxOTktNDQ3ZS00OTkzLThkY2MtYjFjNjY2NGJiYTQwIiwibmJmIjoxNzU0NjE1ODE1LCJleHAiOjE3NTQ3MDIyMTUsImlzcyI6IlB3YyIsImF1ZCI6IkFTLkNSTS5TZXJ2aWNlLkFwaSJ9.CX2oy7P2PPwCPy-UdhNGaTiSfBHUiVgeK13N91NRcMc","domain":"https://crm-dev.hisense.com","uploadApi":"/api/v1.0/fileoperation/UploadFilesFromPortal","deleteApi":"/api/v1.0/fileoperation/delfile"}
@@ -27,6 +27,9 @@
27
27
  <el-option :value="5" label="5"></el-option>
28
28
  </el-select>
29
29
  </el-form-item>
30
+ <el-form-item :label="i18nt('隐藏删除按钮')">
31
+ <el-switch v-model="optionModel.hideRemoveButton"></el-switch>
32
+ </el-form-item>
30
33
 
31
34
  </div>
32
35
  </template>
@@ -37,6 +37,9 @@
37
37
  <i class="el-icon-edit"></i>
38
38
  </a>
39
39
  </el-form-item>
40
+ <el-form-item :label="i18nt('隐藏删除按钮')">
41
+ <el-switch v-model="optionModel.hideRemoveButton"></el-switch>
42
+ </el-form-item>
40
43
  </div>
41
44
  </template>
42
45
 
@@ -2739,6 +2739,7 @@ export const advancedFields = [
2739
2739
  labelWidth: null,
2740
2740
  labelHidden: !0,
2741
2741
  limit: null,
2742
+ hideRemoveButton: false,
2742
2743
  accessType: "1",
2743
2744
  entityTableCode: null,
2744
2745
  entityTableDesc: null,
@@ -2935,6 +2936,7 @@ export const advancedFields = [
2935
2936
  name: "",
2936
2937
  keyNameEnabled: !1,
2937
2938
  keyName: "",
2939
+ disabled: !1,
2938
2940
  hidden: !1,
2939
2941
  customClass: "",
2940
2942
  exportFileName: "导出",
@@ -2962,6 +2964,7 @@ export const advancedFields = [
2962
2964
  name: "",
2963
2965
  keyNameEnabled: !1,
2964
2966
  keyName: "",
2967
+ disabled: !1,
2965
2968
  hidden: !1,
2966
2969
  label: "明细导出",
2967
2970
  customClass: "",
@@ -3807,6 +3810,7 @@ export const businessFields = [
3807
3810
  labelWidth: null,
3808
3811
  labelHidden: !0,
3809
3812
  limit: null,
3813
+ hideRemoveButton: false,
3810
3814
  accessType: "1",
3811
3815
  entityTableCode: null,
3812
3816
  entityTableDesc: null,