cloud-web-corejs 1.0.75 → 1.0.77

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.
Files changed (90) hide show
  1. package/package.json +1 -1
  2. package/src/components/VabUpload/view.vue +2 -2
  3. package/src/components/advancedSearchDialog/mixins.js +1 -1
  4. package/src/components/fileLibrary/filterDialog.vue +383 -0
  5. package/src/components/fileLibrary/index.vue +22 -23
  6. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  7. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  8. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  9. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +7 -7
  10. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +4 -4
  11. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +4 -4
  12. package/src/components/fileLibrary/mixins/indexMixins.js +45 -9
  13. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +61 -2
  14. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
  15. package/src/components/fileLibrary/propertiesDialog.vue +18 -0
  16. package/src/components/fileLibrary/shareDialog.vue +1 -1
  17. package/src/components/table/index.js +12 -11
  18. package/src/components/table/tableForm.vue +99 -63
  19. package/src/components/table/tableFormMixin.js +1 -1
  20. package/src/components/wf/wf.js +1 -1
  21. package/src/components/wf/wfStartDialog.vue +1 -1
  22. package/src/components/wf/wfUtil.js +1 -1
  23. package/src/components/xform/form-designer/designer.js +1 -1
  24. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +1 -1
  25. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +10 -5
  26. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +16 -16
  27. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +54 -14
  28. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +9 -4
  29. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +8 -2
  30. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
  31. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +1 -0
  32. package/src/components/xform/form-designer/indexMixin.js +1 -1
  33. package/src/components/xform/form-designer/setting-panel/form-setting.vue +12 -2
  34. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  35. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1051 -1051
  36. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +42 -4
  37. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +107 -6
  38. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +22 -18
  39. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +2 -0
  40. package/src/components/xform/form-designer/toolbar-panel/index.vue +4 -3
  41. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +38 -6
  42. package/src/components/xform/form-render/container-item/data-table-item.vue +18 -19
  43. package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
  44. package/src/components/xform/form-render/indexMixin.js +2 -1
  45. package/src/components/xform/lang/zh-CN.js +1 -1
  46. package/src/components/xform/mixins/defaultHandle.js +1 -1
  47. package/src/components/xform/mixins/scriptHttp.js +1 -1
  48. package/src/components/xform/utils/util.js +1 -1
  49. package/src/layout/components/Sidebar/default.vue +1266 -1233
  50. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  51. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  52. package/src/layout/components/extractedCode/viewDialog.vue +192 -0
  53. package/src/store/config/index.js +1 -1
  54. package/src/utils/index.js +4 -2
  55. package/src/utils/pddLog.js +103 -0
  56. package/src/utils/vab.js +19 -27
  57. package/src/views/bd/setting/bd_attach_setting/edit.vue +1 -1
  58. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +1 -1
  59. package/src/views/bd/setting/form_import_log/edit.vue +127 -0
  60. package/src/views/bd/setting/form_import_log/list.vue +205 -0
  61. package/src/views/bd/setting/form_script/edit1.vue +1 -1
  62. package/src/views/bd/setting/form_script/mixins/edit.js +3 -1
  63. package/src/views/bd/setting/form_script/mixins/edit1.js +1 -1
  64. package/src/views/bd/setting/form_script/mixins/list.js +1 -1
  65. package/src/views/bd/setting/form_script/mixins/list1.js +14 -14
  66. package/src/views/bd/setting/form_template/edit.vue +9 -1
  67. package/src/views/bd/setting/form_template/mixins/edit.js +1 -1
  68. package/src/views/bd/setting/form_template/mixins/list.js +25 -22
  69. package/src/views/bd/setting/menu_kind/authDialog.vue +1 -1
  70. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +7 -7
  71. package/src/views/bd/setting/menu_kind/mixins/list.js +1 -1
  72. package/src/views/bd/setting/table_model/edit.vue +70 -12
  73. package/src/views/bd/setting/table_model/mixins/edit copy.js +903 -0
  74. package/src/views/bd/setting/table_model/mixins/edit.js +12 -13
  75. package/src/views/bd/setting/table_model/mixins/list.js +1 -1
  76. package/src/views/user/access_log/list.vue +349 -349
  77. package/src/views/user/company_info/dialog.vue +164 -164
  78. package/src/views/user/form/vform/designer.vue +5 -1
  79. package/src/views/user/home/default.vue +15 -11
  80. package/src/views/user/login/index2.vue +131 -0
  81. package/src/views/user/notify_message/dialog.vue +1 -1
  82. package/src/views/user/notify_template/edit.vue +188 -187
  83. package/src/views/user/notify_template/edit2.vue +176 -0
  84. package/src/views/user/notify_template/list.vue +4 -1
  85. package/src/views/user/notify_template/list2.vue +190 -0
  86. package/src/views/user/position/list.vue +2 -2
  87. package/src/views/user/role/dialog.vue +1 -1
  88. package/src/views/user/role/list.vue +2 -2
  89. package/src/views/user/sale_org/dialog.vue +1 -1
  90. package/src/views/user/user/dialog.vue +1 -1
@@ -3,14 +3,14 @@
3
3
  <el-form-item label-width="0">
4
4
  <el-divider class="custom-divider-margin-top">请求访问设置</el-divider>
5
5
  </el-form-item>
6
- <el-form-item label="启用表单脚本" v-if="formScriptEnabledTypes.includes(selectedWidget.type)">
7
- <el-switch v-model="optionModel.formScriptEnabled"></el-switch>
6
+ <el-form-item label="启用请求后台脚本" v-if="formScriptEnabledTypes.includes(selectedWidget.type)">
7
+ <el-switch v-model="optionModel.formScriptEnabled" @change="changeFormScriptEnabled"></el-switch>
8
8
  </el-form-item>
9
9
  <template>
10
- <el-form-item label="表单脚本编码">
10
+ <el-form-item label="表单脚本编码" v-if="optionModel.formScriptEnabled">
11
11
  <el-input v-model="optionModel.formScriptCode" clearable></el-input>
12
12
  </el-form-item>
13
- <el-form-item label="查询参数">
13
+ <el-form-item label="查询参数" v-if="optionModel.formScriptEnabled">
14
14
  <a href="javascript:void(0);" class="a-link link-oneLind"
15
15
  @click="editEventHandler('formScriptParam', ['dataId', 'formCode'])">
16
16
  <span>{{ optionModel.formScriptParam }}</span>
@@ -18,6 +18,27 @@
18
18
  </a>
19
19
  </el-form-item>
20
20
  </template>
21
+ <template v-if="formScriptEnabledTypes.includes(selectedWidget.type)">
22
+ <el-form-item :label="i18nt('启用系统词汇')">
23
+ <el-switch v-model="optionModel.commonAttributeEnabled" @change="changeCommonAttributeEnabled"></el-switch>
24
+ </el-form-item>
25
+ <el-form-item :label="i18nt('词汇编码')" v-if="optionModel.commonAttributeEnabled">
26
+ <el-input type="text" v-model="optionModel.commonAttributeCode"></el-input>
27
+ </el-form-item>
28
+ <el-form-item :label="i18nt('显示字段')" v-if="optionModel.formScriptEnabled">
29
+ <el-input type="text" v-model="optionModel.labelKey"></el-input>
30
+ </el-form-item>
31
+ <el-form-item :label="i18nt('关联字段')" v-if="optionModel.formScriptEnabled">
32
+ <el-input type="text" v-model="optionModel.valueKey"></el-input>
33
+ </el-form-item>
34
+ </template>
35
+ <el-form-item label="查询回调">
36
+ <a href="javascript:void(0);" class="a-link link-oneLind"
37
+ @click="editEventHandler('formScriptSuccess', ['dataId', 'formCode','res'])">
38
+ <span>{{ optionModel.formScriptSuccess }}</span>
39
+ <i class="el-icon-edit"></i>
40
+ </a>
41
+ </el-form-item>
21
42
  </div>
22
43
  </template>
23
44
 
@@ -42,6 +63,23 @@ export default {
42
63
  methods: {
43
64
  getIsShow() {
44
65
  return this.selectedWidget.type !== 'data-table';
66
+ },
67
+ changeFormScriptEnabled(val){
68
+ if(val){
69
+ if(this.optionModel.hasOwnProperty("commonAttributeEnabled")){
70
+ this.optionModel.commonAttributeEnabled = false
71
+ }
72
+ }
73
+ },
74
+ changeCommonAttributeEnabled(val){
75
+ if(val){
76
+ this.optionModel.formScriptEnabled = false;
77
+ this.optionModel.labelKey = "value";
78
+ this.optionModel.valueKey = "sn";
79
+ }else{
80
+ this.optionModel.labelKey = null;
81
+ this.optionModel.valueKey = null;
82
+ }
45
83
  }
46
84
  }
47
85
  }
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div>
3
3
  <el-form-item label-width="0">
4
- <el-divider class="custom-divider-margin-top">请求访问设置</el-divider>
4
+ <el-divider class="custom-divider-margin-top">项目标签设置</el-divider>
5
5
  </el-form-item>
6
6
  <el-form-item label="表单编码">
7
7
  <el-input v-model="optionModel.tagFormCode" clearable></el-input>
@@ -12,13 +12,30 @@
12
12
  <el-form-item label="唯一关键字段">
13
13
  <el-input v-model="optionModel.tagUniqueField" clearable></el-input>
14
14
  </el-form-item>
15
+ <el-form-item label="来源展示字段">
16
+ <el-input v-model="optionModel.tagFormLabelField" clearable></el-input>
17
+ </el-form-item>
18
+ <el-form-item label="来源唯一关键字段">
19
+ <el-input v-model="optionModel.tagFormUniqueField" clearable></el-input>
20
+ </el-form-item>
21
+ <el-form-item label="表单参数">
22
+ <a href="javascript:void(0);" class="a-link link-oneLind"
23
+ @click="editEventHandler('tagFormParam', ['dataId', 'formCode'])">
24
+ <span>{{ optionModel.cf_vendor_item }}</span>
25
+ <i class="el-icon-edit"></i>
26
+ </a>
27
+ </el-form-item>
15
28
  <el-form-item label="明细字段回填">
16
- <el-input v-model="optionModel.tagFillConfig" clearable></el-input>
29
+ <a href="javascript:void(0);" class="a-link link-oneLind"
30
+ @click="openDialog">
31
+ <span>{{ optionModel.tagFillConfig.length ? "已维护" : "" }}</span>
32
+ <i class="el-icon-edit"></i>
33
+ </a>
17
34
  </el-form-item>
18
35
  <el-form-item label="确认回调">
19
36
  <!-- <el-input v-model="optionModel.tagConfirmCallback" clearable></el-input>-->
20
37
  <a href="javascript:void(0);" class="a-link link-oneLind"
21
- @click="editEventHandler('tagConfirmCallback', [])">
38
+ @click="editEventHandler('tagConfirmCallback', ['dataId', 'formCode','rows'])">
22
39
  <span>{{ optionModel.tagConfirmCallback }}</span>
23
40
  <i class="el-icon-edit"></i>
24
41
  </a>
@@ -26,7 +43,7 @@
26
43
  <el-form-item label="删除回调">
27
44
  <!-- <el-input v-model="optionModel.tagDeleteCallback" clearable></el-input>-->
28
45
  <a href="javascript:void(0);" class="a-link link-oneLind"
29
- @click="editEventHandler('tagDeleteCallback', [])">
46
+ @click="editEventHandler('tagDeleteCallback', ['dataId', 'formCode'])">
30
47
  <span>{{ optionModel.tagDeleteCallback }}</span>
31
48
  <i class="el-icon-edit"></i>
32
49
  </a>
@@ -42,6 +59,80 @@
42
59
  <i class="el-icon-edit"></i>
43
60
  </a>
44
61
  </el-form-item>-->
62
+ <el-dialog
63
+ custom-class="dialog-style list-dialog"
64
+ title="数据回填"
65
+ :visible.sync="showDialog"
66
+ :modal="false"
67
+ :show-close="!0"
68
+ :close-on-click-modal="!1"
69
+ :close-on-press-escape="!1"
70
+ :destroy-on-close="!0"
71
+ top="5vh"
72
+ width="500px"
73
+ v-dialog-drag
74
+ >
75
+ <div class="cont">
76
+ <el-table
77
+ ref="singleTable"
78
+ width="100%"
79
+ height="500"
80
+ :data="tableData"
81
+ border=""
82
+ stripe=""
83
+ default-expand-all
84
+ >
85
+ <el-table-column label="目标字段" width="150" prop="targetField">
86
+ <template slot-scope="scope">
87
+ <el-input v-model="scope.row.targetField"></el-input>
88
+ </template>
89
+ </el-table-column>
90
+ <el-table-column label="来源字段" width="150" prop="sourceField">
91
+ <template slot-scope="scope">
92
+ <el-input v-model="scope.row.sourceField"></el-input>
93
+ </template>
94
+ </el-table-column>
95
+ <el-table-column label="操作" min-width="50" fixed="right">
96
+ <template #header="{ row, $index }">
97
+ <el-tooltip
98
+ :hide-after="500"
99
+ class="item"
100
+ effect="dark"
101
+ content="添加"
102
+ placement="top"
103
+ >
104
+ <el-button
105
+ size="mini" type="" circle=""
106
+ icon="el-icon-plus"
107
+ @click="tableData.push({})"
108
+ />
109
+ </el-tooltip>
110
+ </template>
111
+ <template #default="{ row, $index }">
112
+ <el-tooltip
113
+ effect="dark"
114
+ content="删除"
115
+ placement="top"
116
+ >
117
+ <el-button
118
+ size="mini" type="" circle=""
119
+ icon="el-icon-delete"
120
+ @click="tableData.splice($index,1)"
121
+ />
122
+ </el-tooltip>
123
+ </template>
124
+ </el-table-column>
125
+ </el-table>
126
+ </div>
127
+ <div class="dialog-footer" slot="footer">
128
+ <el-button @click="showDialog=false" class="button-sty" icon="el-icon-close">
129
+ {{ i18nt('designer.hint.cancel') }}
130
+ </el-button>
131
+ <el-button type="primary" @click="confirmDialog" class="button-sty" icon="el-icon-check">
132
+ {{ i18nt('designer.hint.confirm') }}
133
+ </el-button>
134
+ </div>
135
+ </el-dialog>
45
136
  </div>
46
137
  </template>
47
138
 
@@ -51,7 +142,7 @@ import eventMixin
51
142
  from "../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin"
52
143
 
53
144
  export default {
54
- name: "formScriptEnabled-editor",
145
+ name: "project-tag-editor",
55
146
  mixins: [i18n, eventMixin],
56
147
  props: {
57
148
  designer: Object,
@@ -60,12 +151,22 @@ export default {
60
151
  },
61
152
  data() {
62
153
  return {
63
- formScriptEnabledTypes: ['select', 'checkbox', 'radio', 'census']
154
+ formScriptEnabledTypes: ['select', 'checkbox', 'radio', 'census'],
155
+ showDialog: false,
156
+ tableData: [],
64
157
  }
65
158
  },
66
159
  methods: {
67
160
  getIsShow() {
68
161
  return this.selectedWidget.type !== 'data-table';
162
+ },
163
+ openDialog() {
164
+ this.tableData = this.$baseLodash.cloneDeep(this.optionModel.tagFillConfig);
165
+ this.showDialog = true;
166
+ },
167
+ confirmDialog() {
168
+ this.optionModel.tagFillConfig = this.$baseLodash.cloneDeep(this.tableData);
169
+ this.showDialog = false;
69
170
  }
70
171
  }
71
172
  }
@@ -1,28 +1,32 @@
1
1
  <template>
2
- <el-form-item :label="i18nt('designer.setting.required')" v-show="showProperty()">
2
+ <el-form-item
3
+ :label="i18nt('designer.setting.required')"
4
+ v-show="showProperty()"
5
+ >
3
6
  <el-switch v-model="optionModel.required"></el-switch>
4
7
  </el-form-item>
5
8
  </template>
6
9
 
7
10
  <script>
8
- import i18n from "../../../../../components/xform/utils/i18n"
11
+ import i18n from "../../../../../components/xform/utils/i18n";
9
12
 
10
- export default {
11
- name: "required-editor",
12
- mixins: [i18n],
13
- props: {
14
- designer: Object,
15
- selectedWidget: Object,
16
- optionModel: Object,
13
+ export default {
14
+ name: "required-editor",
15
+ mixins: [i18n],
16
+ props: {
17
+ designer: Object,
18
+ selectedWidget: Object,
19
+ optionModel: Object,
20
+ },
21
+ methods: {
22
+ showProperty() {
23
+ let widgetRef = this.designer.vueInstance.getWidgetRef(
24
+ this.selectedWidget.options.name
25
+ );
26
+ return widgetRef?.$attrs["table-condition"] !== true;
17
27
  },
18
- methods:{
19
- showProperty(){
20
- return this.designer.formWidget.getWidgetRef(this.selectedWidget.options.name).$attrs['table-condition']!==true;
21
- }
22
- }
23
- }
28
+ },
29
+ };
24
30
  </script>
25
31
 
26
- <style scoped>
27
-
28
- </style>
32
+ <style scoped></style>
@@ -148,6 +148,8 @@ const COMMON_PROPERTIES = {
148
148
  "submitFlag": "submitFlag-editor",
149
149
  "aLinkFlag": "a-link-editor",
150
150
  "aTextFlag": "a-text-editor",
151
+ "tagFormCode": "project-tag-editor",
152
+ // "commonAttributeEnabled": "commonAttributeEnabled-editor"
151
153
  }
152
154
 
153
155
  const ADVANCED_PROPERTIES = {
@@ -43,12 +43,12 @@
43
43
  表单/列表设置
44
44
  </el-button>-->
45
45
  <el-button type="primary" @click="saveReportTemplate()" plain
46
- v-if="designer.vueInstance.isDev && designer.vueInstance.menuKindAuth.editAuth===1">
46
+ v-if="designer.vueInstance.isDev && designer.vueInstance.menuKindAuth.editAuth===1 && !readonly">
47
47
  <i class="el-icon-check"/>
48
48
  保存
49
49
  </el-button>
50
50
  <el-divider direction="vertical"></el-divider>
51
- <el-button v-if="showToolButton('clearDesignerButton')" type="text" @click="clearFormWidget">
51
+ <el-button v-if="showToolButton('clearDesignerButton') && !readonly" type="text" @click="clearFormWidget">
52
52
  <i class="el-icon-delete"/>
53
53
  {{ i18nt('designer.toolbar.clear') }}
54
54
  </el-button>
@@ -57,7 +57,7 @@
57
57
  {{ i18nt('designer.toolbar.preview') }}
58
58
  </el-button>
59
59
  <el-divider direction="vertical"></el-divider>
60
- <el-button v-if="showToolButton('importJsonButton')" type="text" @click="importJson">
60
+ <el-button v-if="showToolButton('importJsonButton') && !readonly" type="text" @click="importJson">
61
61
  {{ i18nt('designer.toolbar.importJson') }}
62
62
  </el-button>
63
63
  <el-button v-if="showToolButton('exportJsonButton')" type="text" @click="exportJson">
@@ -437,6 +437,7 @@ export default {
437
437
  Clipboard,
438
438
  FormSetting
439
439
  },
440
+ inject:["readonly"],
440
441
  mixins: [indexMixin],
441
442
  data() {
442
443
  return {
@@ -258,7 +258,7 @@ export const containers = [
258
258
  accessScript: null,
259
259
  scriptEnabled: false,
260
260
  accessParam: null,
261
-
261
+
262
262
  formScriptEnabled: true,
263
263
  formScriptCode: null,
264
264
  formScriptParam: null,
@@ -273,14 +273,14 @@ export const containers = [
273
273
  isQueryTable: false,
274
274
  entityTableCode: null,
275
275
  entityTableDesc: null,
276
-
276
+
277
277
  tableConfig: null,
278
278
  isEditTable: false,
279
279
  isTreeTable: false,
280
280
  wbsEnabled: false,
281
281
  sortScriptCode: null,
282
282
  importTemplateFile: null,
283
-
283
+
284
284
  ...defaultWfConfig,
285
285
  showRuleFlag: 1,
286
286
  showRuleEnabled: 1,
@@ -1075,8 +1075,12 @@ export const basicFields = [
1075
1075
  formScriptEnabled: false,
1076
1076
  formScriptCode: "getList",
1077
1077
  formScriptParam: null,
1078
+ formScriptSuccess: null,
1078
1079
  ...defaultWfConfig,
1079
1080
 
1081
+ commonAttributeEnabled: false,
1082
+ commonAttributeCode: "",
1083
+
1080
1084
  showRuleFlag: 1,
1081
1085
  showRuleEnabled: 1,
1082
1086
  showRules: [],
@@ -1144,8 +1148,12 @@ export const basicFields = [
1144
1148
  formScriptEnabled: false,
1145
1149
  formScriptCode: "getList",
1146
1150
  formScriptParam: null,
1151
+ formScriptSuccess: null,
1147
1152
  ...defaultWfConfig,
1148
1153
 
1154
+ commonAttributeEnabled: false,
1155
+ commonAttributeCode: "",
1156
+
1149
1157
  showRuleFlag: 1,
1150
1158
  showRuleEnabled: 1,
1151
1159
  showRules: [],
@@ -1224,8 +1232,12 @@ export const basicFields = [
1224
1232
  formScriptEnabled: false,
1225
1233
  formScriptCode: "getList",
1226
1234
  formScriptParam: null,
1235
+ formScriptSuccess: null,
1227
1236
  ...defaultWfConfig,
1228
1237
 
1238
+ commonAttributeEnabled: false,
1239
+ commonAttributeCode: "",
1240
+
1229
1241
  showRuleFlag: 1,
1230
1242
  showRuleEnabled: 1,
1231
1243
  showRules: [],
@@ -1990,6 +2002,7 @@ export const advancedFields = [
1990
2002
  formScriptEnabled: true,
1991
2003
  formScriptCode: "",
1992
2004
  formScriptParam: null,
2005
+ formScriptSuccess: null,
1993
2006
  onClick: "",
1994
2007
  onCreated: "",
1995
2008
  onMounted: "this.loadDataDefaultHandle()",
@@ -2163,6 +2176,7 @@ export const advancedFields = [
2163
2176
  formScriptEnabled: true,
2164
2177
  formScriptCode: "",
2165
2178
  formScriptParam: null,
2179
+ formScriptSuccess: null,
2166
2180
  onClick: "",
2167
2181
  onCreated: "",
2168
2182
  onMounted: "this.loadDataDefaultHandle()",
@@ -2377,6 +2391,7 @@ export const advancedFields = [
2377
2391
  formScriptEnabled: true,
2378
2392
  formScriptCode: "",
2379
2393
  formScriptParam: null,
2394
+ formScriptSuccess: null,
2380
2395
  onClick: "",
2381
2396
  onCreated: "",
2382
2397
  onMounted: "this.loadDataDefaultHandle()",
@@ -2520,6 +2535,7 @@ export const advancedFields = [
2520
2535
  formScriptEnabled: true,
2521
2536
  formScriptCode: "getList",
2522
2537
  formScriptParam: null,
2538
+ formScriptSuccess: null,
2523
2539
  ...defaultWfConfig,
2524
2540
 
2525
2541
  showRuleFlag: 1,
@@ -2965,6 +2981,7 @@ export const advancedFields = [
2965
2981
  formScriptEnabled: true,
2966
2982
  formScriptCode: "",
2967
2983
  formScriptParam: null,
2984
+ formScriptSuccess: null,
2968
2985
  onCreated: "",
2969
2986
  onMounted: "",
2970
2987
  ...defaultWfConfig,
@@ -2976,7 +2993,7 @@ export const advancedFields = [
2976
2993
  {
2977
2994
  type: "project-tag",
2978
2995
  icon: "uploadbox",
2979
- commonFlag: !1,
2996
+ commonFlag: !0,
2980
2997
  formItemFlag: !0,
2981
2998
  tableField: null,
2982
2999
  options: {
@@ -2992,17 +3009,31 @@ export const advancedFields = [
2992
3009
  required: !1,
2993
3010
  labelWidth: null,
2994
3011
  labelHidden: !1,
2995
- onCreated: "if(this.formDataId)this.loadDataDefaultHandle();",
3012
+ onCreated: "if(this.dataId)this.loadDataDefaultHandle();",
2996
3013
  onMounted: "",
3014
+ onClick: "",
2997
3015
  vabUpload: 1,
2998
3016
  formScriptEnabled: true,
2999
3017
  formScriptCode: "getList",
3000
3018
  formScriptParam: null,
3019
+ formScriptSuccess: null,
3001
3020
  ...defaultWfConfig,
3002
3021
 
3003
3022
  showRuleFlag: 1,
3004
3023
  showRuleEnabled: 1,
3005
- showRules: []
3024
+ showRules: [],
3025
+
3026
+ tagFormCode: null,
3027
+ tagFormParam: null,
3028
+ tagLabelField: null,
3029
+ tagUniqueField: null,
3030
+ tagFormLabelField: null,
3031
+ tagFormUniqueField: null,
3032
+ tagFillConfig: [],
3033
+ tagConfirmCallback: null,
3034
+ tagDeleteCallback: null,
3035
+ tabDeleteEnabled: false,
3036
+
3006
3037
  }
3007
3038
  },
3008
3039
  {
@@ -3024,6 +3055,7 @@ export const advancedFields = [
3024
3055
  formScriptEnabled: true,
3025
3056
  formScriptCode: "",
3026
3057
  formScriptParam: null,
3058
+ formScriptSuccess: null,
3027
3059
  onCreated: "this.loadDataDefaultHandle()",
3028
3060
  onMounted: "",
3029
3061
  ...defaultWfConfig,
@@ -100,7 +100,7 @@
100
100
  </template>
101
101
  </div>-->
102
102
 
103
- <tableForm v-if="widget.options.isQueryTable" :formData.sync="formModel"
103
+ <tableForm v-if="widget.options.isQueryTable" :formData.sync="formModel" :xform="true"
104
104
  @searchEvent="searchEvent" @resetEvent="resetEvent" @advancedClear="advancedClear"
105
105
  @settingConfirm="tableFormSettingConfirm">
106
106
  <template #buttonLeft>
@@ -149,25 +149,24 @@
149
149
  </vxe-button>
150
150
  </template>
151
151
 
152
- <template v-for="(subWidget, swIdx) in widget.widgetList" v-slot:[subWidget.options.name]>
153
- <component
154
- v-if="'container' !== subWidget.category"
155
- :key="swIdx"
156
- :is="subWidget.type + '-widget'"
157
- :field="subWidget"
158
- :designer="null"
159
- :parent-list="subWidget.widgetList"
160
- :parent-widget="widget"
161
- >
162
- <!-- 递归传递插槽!!! -->
163
- <template v-for="slot in Object.keys($scopedSlots)" v-slot:[slot]="scope">
164
- <slot :name="slot" v-bind="scope"/>
165
- </template>
166
- </component>
167
- </template>
152
+ <template v-for="(subWidget, swIdx) in widget.widgetList" v-slot:[subWidget.options.name]>
153
+ <component
154
+ v-if="'container' !== subWidget.category"
155
+ :key="swIdx"
156
+ :is="subWidget.type + '-widget'"
157
+ :field="subWidget"
158
+ :designer="null"
159
+ :parent-list="subWidget.widgetList"
160
+ :parent-widget="widget"
161
+ >
162
+ <!-- 递归传递插槽!!! -->
163
+ <template v-for="slot in Object.keys($scopedSlots)" v-slot:[slot]="scope">
164
+ <slot :name="slot" v-bind="scope"/>
165
+ </template>
166
+ </component>
167
+ </template>
168
168
 
169
169
  <template #searchWidget="{searchColumn}">
170
- {{ searchColumn.widget.type }}
171
170
  <component
172
171
  :is="searchColumn.widget.type + '-widget'"
173
172
  :field="searchColumn.widget"
@@ -207,7 +206,7 @@
207
206
  <template #widget="obj">
208
207
  <component
209
208
  :is="getColumnWidgetName(obj.column.params.widget)"
210
- :field="obj.column.params.widget"
209
+ :field="getRowWidget(obj)"
211
210
  :form-model="globalModel.formModel"
212
211
  :designer="null"
213
212
  :key="obj.column.params.widget.id+'-'+obj.rowIndex"