cloud-web-corejs 1.0.79 → 1.0.80

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.
@@ -0,0 +1,38 @@
1
+ <template>
2
+ <div>
3
+ <el-form-item :label="i18nt('启用动态值显示')">
4
+ <el-switch v-model="optionModel.autoValueEnabled"></el-switch>
5
+ </el-form-item>
6
+ <el-form-item :label="i18nt('动态值处理')">
7
+ <a
8
+ href="javascript:void(0);"
9
+ class="a-link link-oneLind"
10
+ @click="editEventHandler('autoValueHanlde', tableConfigParams)"
11
+ >
12
+ <span>{{ optionModel.autoValueHanlde }}</span>
13
+ <i class="el-icon-edit"></i>
14
+ </a>
15
+ </el-form-item>
16
+ </div>
17
+ </template>
18
+
19
+ <script>
20
+ import i18n from "../../../utils/i18n";
21
+ import eventMixin from "./event-handler/eventMixin";
22
+ export default {
23
+ name: "autoValueEnabled-editor",
24
+ mixins: [i18n, eventMixin],
25
+ props: {
26
+ designer: Object,
27
+ selectedWidget: Object,
28
+ optionModel: Object,
29
+ },
30
+ data() {
31
+ return {
32
+ tableConfigParams: ["dataId", "formCode"],
33
+ };
34
+ },
35
+ };
36
+ </script>
37
+
38
+ <style scoped></style>
@@ -27,6 +27,12 @@
27
27
  },{
28
28
  name:'样式二',
29
29
  value:'form-count2'
30
+ },{
31
+ name:'样式三',
32
+ value:'form-count3'
33
+ },{
34
+ name:'样式四',
35
+ value:'form-count4'
30
36
  }],
31
37
  }
32
38
  },
@@ -149,6 +149,7 @@ const COMMON_PROPERTIES = {
149
149
  "aLinkFlag": "a-link-editor",
150
150
  "aTextFlag": "a-text-editor",
151
151
  "tagFormCode": "project-tag-editor",
152
+ "autoValueEnabled": "autoValueEnabled-editor",
152
153
  // "commonAttributeEnabled": "commonAttributeEnabled-editor"
153
154
  }
154
155
 
@@ -424,17 +424,13 @@
424
424
 
425
425
  <script>
426
426
  import VFormRender from '../../../../components/xform/form-render/index';
427
- import Clipboard from 'clipboard';
428
427
  import indexMixin from './indexMixin.js';
429
428
  import FormSetting from '../../../../components/xform/form-designer/setting-panel/form-setting';
430
- import tableForm from "../../../../components/table/tableForm.vue";
431
429
 
432
430
  export default {
433
431
  name: 'ToolbarPanel',
434
432
  components: {
435
- tableForm,
436
433
  VFormRender,
437
- Clipboard,
438
434
  FormSetting
439
435
  },
440
436
  inject:["readonly"],