cloud-web-corejs 1.0.108 → 1.0.110
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 +1 -1
- package/src/components/VabUpload/mixins.js +1 -1
- package/src/components/VabUpload/propertiesDialog.vue +1 -1
- package/src/components/VabUpload/view.vue +2 -2
- package/src/components/baseAttachment/index.vue +49 -49
- package/src/components/baseAttachment/mixins.js +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
- package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +21 -2
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +5 -3
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +104 -45
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +18 -17
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +1 -1
- package/src/components/xform/form-designer/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +588 -164
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +69 -10
- package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +32 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +17 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +4 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/formulaEnabled-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +23 -23
- package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +161 -74
- package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +236 -92
- package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +74 -31
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +10 -9
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +52 -17
- package/src/components/xform/form-render/container-item/data-table-item.vue +1 -1
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
- package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
- package/src/components/xform/form-render/index.vue +4 -1
- package/src/components/xform/form-render/indexMixin.js +2 -1
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/mixins/scriptHttp.js +1 -1
- package/src/components/xform/utils/util.js +1 -1
- package/src/components/xform/utils/validators.js +1 -5
- package/src/store/config/index.js +1 -1
- package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
- package/src/views/bd/setting/bd_company_env/edit.vue +163 -0
- package/src/views/bd/setting/bd_company_env/list.vue +175 -0
- package/src/views/bd/setting/config_manage/list.vue +51 -0
- package/src/views/user/wf/wf_manage/list.vue +29 -0
@@ -42,7 +42,7 @@
|
|
42
42
|
style="margin-bottom: 0px;"
|
43
43
|
>
|
44
44
|
<el-table-column type="index" width="35" fixed="left"></el-table-column>
|
45
|
-
<el-table-column :label="i18nt('服务类型')" width="150">
|
45
|
+
<!-- <el-table-column :label="i18nt('服务类型')" width="150">
|
46
46
|
<template slot-scope="{row}">
|
47
47
|
<el-select v-model="row.serveType" @change="changeServeType(row)">
|
48
48
|
<el-option :value="1" label="正式"></el-option>
|
@@ -62,7 +62,29 @@
|
|
62
62
|
<template slot-scope="{row,$index}">
|
63
63
|
<el-input v-model="row.companyCodes" clearable :disabled="row.serveType==5"></el-input>
|
64
64
|
</template>
|
65
|
+
</el-table-column> -->
|
66
|
+
|
67
|
+
<el-table-column :label="i18nt('组织编码')" width="250">
|
68
|
+
<template slot-scope="{row,$index}">
|
69
|
+
<el-input
|
70
|
+
class="search-input"
|
71
|
+
max="200"
|
72
|
+
v-model="row.companyCodes"
|
73
|
+
@clear="clearBdCompanyEnv(row)"
|
74
|
+
v-el-readonly
|
75
|
+
clearable
|
76
|
+
>
|
77
|
+
<i slot="suffix" class="el-input__icon el-icon-search" @click="openBdCompanyEnvDialog($index)"></i>
|
78
|
+
</el-input>
|
79
|
+
</template>
|
65
80
|
</el-table-column>
|
81
|
+
<el-table-column :label="i18nt('服务名称')" width="150">
|
82
|
+
<template slot-scope="{row}">
|
83
|
+
{{ row.serveName }}
|
84
|
+
</template>
|
85
|
+
</el-table-column>
|
86
|
+
|
87
|
+
|
66
88
|
<el-table-column :label="i18nt('角色编码')" width="250">
|
67
89
|
<template slot-scope="{row}">
|
68
90
|
<el-input v-model="row.roleCodes" clearable></el-input>
|
@@ -105,13 +127,17 @@
|
|
105
127
|
</el-button>
|
106
128
|
</div>
|
107
129
|
</el-dialog>
|
130
|
+
<bdCompanyEnvDialog v-if="showBdCompanyEnvDialog" :visiable.sync="showBdCompanyEnvDialog"
|
131
|
+
@confirm="confirmBdCompanyEnvDialog" :multi="false"/>
|
108
132
|
</div>
|
109
133
|
</template>
|
110
134
|
<script>
|
111
135
|
import i18n from "@base/components/xform/utils/i18n";
|
136
|
+
import bdCompanyEnvDialog from "@base/views/bd/setting/bd_company_env/dialog"
|
112
137
|
|
113
138
|
export default {
|
114
139
|
name: "widgetShowRuleFlag-editor",
|
140
|
+
components: {bdCompanyEnvDialog},
|
115
141
|
mixins: [i18n],
|
116
142
|
props: {
|
117
143
|
designer: Object,
|
@@ -122,6 +148,7 @@ export default {
|
|
122
148
|
return {
|
123
149
|
dialogVisible: false,
|
124
150
|
tableData: [],
|
151
|
+
showBdCompanyEnvDialog: false
|
125
152
|
}
|
126
153
|
},
|
127
154
|
methods: {
|
@@ -134,7 +161,7 @@ export default {
|
|
134
161
|
let newItem = {
|
135
162
|
type: 1,
|
136
163
|
serveType: 3,
|
137
|
-
serveName:
|
164
|
+
serveName: null,
|
138
165
|
roleCodes: null,
|
139
166
|
companyCodes: null
|
140
167
|
}
|
@@ -142,19 +169,25 @@ export default {
|
|
142
169
|
},
|
143
170
|
colSubmit() {
|
144
171
|
|
145
|
-
/*if(this.tableData.some(item=>!item.roleCodes)){
|
146
|
-
this.$message({
|
147
|
-
type:"error",
|
148
|
-
content:"角色编码不能为空"
|
149
|
-
})
|
150
|
-
return
|
151
|
-
}*/
|
152
|
-
|
153
|
-
let searveNameList = ["prod", "uat", "dev"];
|
154
172
|
let tableData = this.tableData;
|
155
173
|
let map = {}
|
174
|
+
|
156
175
|
for (let i = 0; i < tableData.length; i++) {
|
157
176
|
let item = tableData[i];
|
177
|
+
if (!item.serveName) {
|
178
|
+
this.$message({
|
179
|
+
type: "error",
|
180
|
+
message: "服务名称不能为空",
|
181
|
+
});
|
182
|
+
return
|
183
|
+
}
|
184
|
+
if (!item.companyCodes) {
|
185
|
+
this.$message({
|
186
|
+
type: "error",
|
187
|
+
message: "组织编码不能为空",
|
188
|
+
});
|
189
|
+
return
|
190
|
+
}
|
158
191
|
if (!item.roleCodes) {
|
159
192
|
this.$message({
|
160
193
|
type: "error",
|
@@ -162,33 +195,25 @@ export default {
|
|
162
195
|
})
|
163
196
|
return
|
164
197
|
}
|
165
|
-
if (item.
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
return
|
172
|
-
} else if(searveNameList.includes(item.serveName)){
|
173
|
-
this.$message({
|
174
|
-
type: "error",
|
175
|
-
message: "自定义服务的服务名称不能为`prod,uat,dev`"
|
176
|
-
})
|
177
|
-
return
|
178
|
-
}
|
198
|
+
if (!item.type) {
|
199
|
+
this.$message({
|
200
|
+
type: "error",
|
201
|
+
message: "设置不能为空"
|
202
|
+
})
|
203
|
+
return
|
179
204
|
}
|
180
|
-
|
181
|
-
|
182
|
-
let companyCodes = item.companyCodes
|
205
|
+
|
206
|
+
let serveName = item.serveName;
|
207
|
+
let companyCodes = item.companyCodes;
|
183
208
|
let key = serveName + "_" + companyCodes;
|
184
209
|
if (!map[key]) {
|
185
210
|
map[key] = true;
|
186
211
|
} else {
|
187
212
|
this.$message({
|
188
213
|
type: "error",
|
189
|
-
message: "[服务+组织]不能重复"
|
190
|
-
})
|
191
|
-
return
|
214
|
+
message: "[服务+组织]不能重复",
|
215
|
+
});
|
216
|
+
return;
|
192
217
|
}
|
193
218
|
}
|
194
219
|
|
@@ -212,6 +237,24 @@ export default {
|
|
212
237
|
}
|
213
238
|
row.serveName = serveName;
|
214
239
|
},
|
240
|
+
|
241
|
+
clearBdCompanyEnv(row) {
|
242
|
+
row.serveName = null;
|
243
|
+
row.companyCodes = null;
|
244
|
+
},
|
245
|
+
openBdCompanyEnvDialog(rowIndex) {
|
246
|
+
this.operateIndex = rowIndex;
|
247
|
+
this.showBdCompanyEnvDialog = true;
|
248
|
+
},
|
249
|
+
confirmBdCompanyEnvDialog(rows) {
|
250
|
+
if (rows.length) {
|
251
|
+
let row = rows[0];
|
252
|
+
let item = this.tableData[this.operateIndex]
|
253
|
+
item.serveName = row.bdService;
|
254
|
+
item.companyCodes = row.bdCompanyCode;
|
255
|
+
}
|
256
|
+
}
|
257
|
+
|
215
258
|
}
|
216
259
|
}
|
217
260
|
</script>
|
@@ -30,8 +30,8 @@ const COMMON_PROPERTIES = {
|
|
30
30
|
'rows': 'rows-editor',
|
31
31
|
'required': 'required-editor',
|
32
32
|
// 'requiredHint': 'requiredHint-editor',
|
33
|
-
|
34
|
-
|
33
|
+
'validation': 'validation-editor',
|
34
|
+
'validationHint': 'validationHint-editor',
|
35
35
|
'readonly': 'readonly-editor',
|
36
36
|
'disabled': 'disabled-editor',
|
37
37
|
'hidden': 'hidden-editor',
|
@@ -157,6 +157,7 @@ const COMMON_PROPERTIES = {
|
|
157
157
|
"tagFormCode": "project-tag-editor",
|
158
158
|
"autoValueEnabled": "autoValueEnabled-editor",
|
159
159
|
// "commonAttributeEnabled": "commonAttributeEnabled-editor"
|
160
|
+
"colorClass": "colorClass-editor",
|
160
161
|
}
|
161
162
|
|
162
163
|
const ADVANCED_PROPERTIES = {
|
@@ -168,7 +169,7 @@ const ADVANCED_PROPERTIES = {
|
|
168
169
|
'controlsPosition': 'controlsPosition-editor',
|
169
170
|
'minLength': 'minLength-editor',
|
170
171
|
'maxLength': 'maxLength-editor',
|
171
|
-
'showWordLimit': 'showWordLimit-editor',
|
172
|
+
// 'showWordLimit': 'showWordLimit-editor',
|
172
173
|
'prefixIcon': 'prefixIcon-editor',
|
173
174
|
'suffixIcon': 'suffixIcon-editor',
|
174
175
|
'switchWidth': 'switchWidth-editor',
|
@@ -188,12 +189,12 @@ const ADVANCED_PROPERTIES = {
|
|
188
189
|
'round': 'round-editor',
|
189
190
|
'circle': 'circle-editor',
|
190
191
|
'icon': 'icon-editor',
|
191
|
-
'labelIconClass': 'labelIconClass-editor',
|
192
|
-
'labelIconPosition': 'labelIconPosition-editor',
|
193
|
-
'labelTooltip': 'labelTooltip-editor',
|
194
|
-
'appendButton': 'appendButton-editor',
|
195
|
-
'appendButtonDisabled': 'appendButtonDisabled-editor',
|
196
|
-
'buttonIcon': 'buttonIcon-editor',
|
192
|
+
// 'labelIconClass': 'labelIconClass-editor',
|
193
|
+
// 'labelIconPosition': 'labelIconPosition-editor',
|
194
|
+
// 'labelTooltip': 'labelTooltip-editor',
|
195
|
+
// 'appendButton': 'appendButton-editor',
|
196
|
+
// 'appendButtonDisabled': 'appendButtonDisabled-editor',
|
197
|
+
// 'buttonIcon': 'buttonIcon-editor',
|
197
198
|
|
198
199
|
|
199
200
|
}
|
@@ -441,8 +441,9 @@ export const containers = [
|
|
441
441
|
customClass: "",
|
442
442
|
tableRef: "",
|
443
443
|
detailPaneContainer: true,
|
444
|
-
|
445
|
-
|
444
|
+
defaultCollapse: false,
|
445
|
+
/*onCreated: "",
|
446
|
+
onMounted: "",*/
|
446
447
|
}
|
447
448
|
},
|
448
449
|
{
|
@@ -816,6 +817,7 @@ const vabsearchConfig = {
|
|
816
817
|
userDefaultVabSearch: false,
|
817
818
|
saleOrgDefaultVabSearch: false,
|
818
819
|
label: "",
|
820
|
+
labelColor: '',
|
819
821
|
submitFlag: true,
|
820
822
|
disabled: !1,
|
821
823
|
hidden: !1,
|
@@ -843,6 +845,7 @@ const vabsearchConfig = {
|
|
843
845
|
onChange: "",
|
844
846
|
onAppendButtonClick: "",
|
845
847
|
clickBindEvent: '1',
|
848
|
+
onBeforeClickButton:null,
|
846
849
|
searchDialogConfig: {
|
847
850
|
...defaultSearchDialogConfig,
|
848
851
|
multipleChoices: false
|
@@ -862,6 +865,7 @@ const projectTagConfig = {
|
|
862
865
|
keyName: "",
|
863
866
|
// keyNameSuffix: "",
|
864
867
|
label: "",
|
868
|
+
labelColor: '',
|
865
869
|
submitFlag: true,
|
866
870
|
disabled: !1,
|
867
871
|
readonly: false,
|
@@ -921,6 +925,7 @@ export const basicFields = [
|
|
921
925
|
keyNameEnabled: !1,
|
922
926
|
keyName: "",
|
923
927
|
label: "",
|
928
|
+
labelColor: '',
|
924
929
|
submitFlag: true,
|
925
930
|
/**showText: false,*/
|
926
931
|
formField: "",
|
@@ -950,9 +955,9 @@ export const basicFields = [
|
|
950
955
|
showWordLimit: !1,
|
951
956
|
prefixIcon: "",
|
952
957
|
suffixIcon: "",
|
953
|
-
appendButton: !1,
|
958
|
+
/*appendButton: !1,
|
954
959
|
appendButtonDisabled: !1,
|
955
|
-
buttonIcon: "el-icon-search"
|
960
|
+
buttonIcon: "el-icon-search",*/
|
956
961
|
onCreated: "",
|
957
962
|
onMounted: "",
|
958
963
|
onInput: "",
|
@@ -984,6 +989,7 @@ export const basicFields = [
|
|
984
989
|
keyNameEnabled: !1,
|
985
990
|
keyName: "",
|
986
991
|
label: "",
|
992
|
+
labelColor: '',
|
987
993
|
submitFlag: true,
|
988
994
|
formField: "",
|
989
995
|
labelAlign: "",
|
@@ -1004,7 +1010,7 @@ export const basicFields = [
|
|
1004
1010
|
validation: "",
|
1005
1011
|
validationHint: "",
|
1006
1012
|
customClass: "",
|
1007
|
-
labelIconClass: null,
|
1013
|
+
/*labelIconClass: null,
|
1008
1014
|
labelIconPosition: "rear",
|
1009
1015
|
labelTooltip: null,
|
1010
1016
|
minLength: null,
|
@@ -1014,7 +1020,7 @@ export const basicFields = [
|
|
1014
1020
|
suffixIcon: "",
|
1015
1021
|
appendButton: !1,
|
1016
1022
|
appendButtonDisabled: !1,
|
1017
|
-
buttonIcon: "el-icon-search"
|
1023
|
+
buttonIcon: "el-icon-search",*/
|
1018
1024
|
onCreated: "",
|
1019
1025
|
onMounted: "",
|
1020
1026
|
onInput: "",
|
@@ -1022,7 +1028,7 @@ export const basicFields = [
|
|
1022
1028
|
onFocus: "",
|
1023
1029
|
onBlur: "",
|
1024
1030
|
onValidate: "",
|
1025
|
-
onAppendButtonClick: "",
|
1031
|
+
// onAppendButtonClick: "",
|
1026
1032
|
widgetWidth: "",
|
1027
1033
|
accessType: "1",
|
1028
1034
|
...defaultWfConfig,
|
@@ -1046,6 +1052,7 @@ export const basicFields = [
|
|
1046
1052
|
keyNameEnabled: !1,
|
1047
1053
|
keyName: "",
|
1048
1054
|
label: "",
|
1055
|
+
labelColor: '',
|
1049
1056
|
submitFlag: true,
|
1050
1057
|
/**showText: false,*/
|
1051
1058
|
labelAlign: "",
|
@@ -1099,6 +1106,7 @@ export const basicFields = [
|
|
1099
1106
|
keyNameEnabled: !1,
|
1100
1107
|
keyName: "",
|
1101
1108
|
label: "",
|
1109
|
+
labelColor: '',
|
1102
1110
|
submitFlag: true,
|
1103
1111
|
/**showText: false,*/
|
1104
1112
|
formField: "",
|
@@ -1155,6 +1163,7 @@ export const basicFields = [
|
|
1155
1163
|
keyNameEnabled: !1,
|
1156
1164
|
keyName: "",
|
1157
1165
|
label: "",
|
1166
|
+
labelColor: '',
|
1158
1167
|
submitFlag: true,
|
1159
1168
|
/**showText: false,*/
|
1160
1169
|
labelAlign: "",
|
@@ -1225,6 +1234,7 @@ export const basicFields = [
|
|
1225
1234
|
keyNameEnabled: !1,
|
1226
1235
|
keyName: "",
|
1227
1236
|
label: "",
|
1237
|
+
labelColor: '',
|
1228
1238
|
submitFlag: true,
|
1229
1239
|
/**showText: false,*/
|
1230
1240
|
labelAlign: "",
|
@@ -1296,6 +1306,7 @@ export const basicFields = [
|
|
1296
1306
|
keyNameEnabled: !1,
|
1297
1307
|
keyName: "",
|
1298
1308
|
label: "",
|
1309
|
+
labelColor: '',
|
1299
1310
|
submitFlag: true,
|
1300
1311
|
/**showText: false,*/
|
1301
1312
|
formField: "",
|
@@ -1378,6 +1389,7 @@ export const basicFields = [
|
|
1378
1389
|
keyNameEnabled: !1,
|
1379
1390
|
keyName: "",
|
1380
1391
|
label: "",
|
1392
|
+
labelColor: '',
|
1381
1393
|
submitFlag: true,
|
1382
1394
|
/**showText: false,*/
|
1383
1395
|
formField: "",
|
@@ -1431,6 +1443,7 @@ export const basicFields = [
|
|
1431
1443
|
keyNameEnabled: !1,
|
1432
1444
|
keyName: "",
|
1433
1445
|
label: "",
|
1446
|
+
labelColor: '',
|
1434
1447
|
submitFlag: true,
|
1435
1448
|
formField: "",
|
1436
1449
|
labelAlign: "",
|
@@ -1483,6 +1496,7 @@ export const basicFields = [
|
|
1483
1496
|
keyNameEnabled: !1,
|
1484
1497
|
keyName: "",
|
1485
1498
|
label: "",
|
1499
|
+
labelColor: '',
|
1486
1500
|
submitFlag: true,
|
1487
1501
|
/**showText: false,*/
|
1488
1502
|
formField: "",
|
@@ -1538,6 +1552,7 @@ export const basicFields = [
|
|
1538
1552
|
keyNameEnabled: !1,
|
1539
1553
|
keyName: "",
|
1540
1554
|
label: "",
|
1555
|
+
labelColor: '',
|
1541
1556
|
submitFlag: true,
|
1542
1557
|
formField: "",
|
1543
1558
|
labelAlign: "",
|
@@ -1733,9 +1748,9 @@ export const basicFields = [
|
|
1733
1748
|
{
|
1734
1749
|
type: "html-text",
|
1735
1750
|
icon: "html-text",
|
1736
|
-
commonFlag: !
|
1751
|
+
commonFlag: !1,
|
1737
1752
|
formItemFlag: !1,
|
1738
|
-
columnFlag:
|
1753
|
+
columnFlag: false,
|
1739
1754
|
options: {
|
1740
1755
|
name: "",
|
1741
1756
|
columnWidth: "200px",
|
@@ -1796,6 +1811,7 @@ export const basicFields = [
|
|
1796
1811
|
onClick: "",
|
1797
1812
|
accessType: "1",
|
1798
1813
|
clickBindEvent: null,
|
1814
|
+
onBeforeClickButton:null,
|
1799
1815
|
searchDialogConfig: {
|
1800
1816
|
...defaultSearchDialogConfig
|
1801
1817
|
},
|
@@ -1898,11 +1914,13 @@ export const basicFields = [
|
|
1898
1914
|
keyNameEnabled: !1,
|
1899
1915
|
keyName: "",
|
1900
1916
|
label: "",
|
1917
|
+
labelColor: '',
|
1901
1918
|
submitFlag: true,
|
1902
1919
|
formField: "",
|
1903
1920
|
hidden: !1,
|
1904
1921
|
required: !1,
|
1905
1922
|
customClass: "",
|
1923
|
+
colorClass: "",
|
1906
1924
|
defaultValue: "",
|
1907
1925
|
labelAlign: "",
|
1908
1926
|
labelWidth: null,
|
@@ -1910,7 +1928,6 @@ export const basicFields = [
|
|
1910
1928
|
onCreated: "",
|
1911
1929
|
onMounted: "",
|
1912
1930
|
accessType: "1",
|
1913
|
-
labelColor: '#555555',
|
1914
1931
|
...defaultWfConfig,
|
1915
1932
|
|
1916
1933
|
autoValueEnabled: false,
|
@@ -1935,6 +1952,7 @@ export const basicFields = [
|
|
1935
1952
|
keyNameEnabled: !1,
|
1936
1953
|
keyName: "",
|
1937
1954
|
label: "",
|
1955
|
+
labelColor: '',
|
1938
1956
|
displayStyle: "block",
|
1939
1957
|
submitFlag: true,
|
1940
1958
|
/**showText: false,*/
|
@@ -1954,7 +1972,7 @@ export const basicFields = [
|
|
1954
1972
|
aTextFlag: 1,
|
1955
1973
|
underline: false,
|
1956
1974
|
href: "",
|
1957
|
-
|
1975
|
+
colorClass: "f-red",
|
1958
1976
|
|
1959
1977
|
onCreated: "",
|
1960
1978
|
onMounted: "",
|
@@ -1994,12 +2012,13 @@ export const basicFields = [
|
|
1994
2012
|
aLinkFlag: 1,
|
1995
2013
|
underline: false,
|
1996
2014
|
href: "",
|
1997
|
-
|
2015
|
+
colorClass: "f-blue",
|
1998
2016
|
isFormLabel: false,
|
1999
2017
|
onCreated: "",
|
2000
2018
|
onMounted: "",
|
2001
2019
|
onClick: "",
|
2002
2020
|
clickBindEvent: null,
|
2021
|
+
onBeforeClickButton:null,
|
2003
2022
|
searchDialogConfig: {
|
2004
2023
|
...defaultSearchDialogConfig
|
2005
2024
|
},
|
@@ -2030,10 +2049,11 @@ export const basicFields = [
|
|
2030
2049
|
aLinkFlag: 1,
|
2031
2050
|
underline: false,
|
2032
2051
|
href: "",
|
2033
|
-
|
2052
|
+
colorClass: "f-blue",
|
2034
2053
|
|
2035
2054
|
onClick: "",
|
2036
2055
|
clickBindEvent: null,
|
2056
|
+
onBeforeClickButton:null,
|
2037
2057
|
searchDialogConfig: {
|
2038
2058
|
...defaultSearchDialogConfig
|
2039
2059
|
},
|
@@ -2645,6 +2665,7 @@ export const advancedFields = [
|
|
2645
2665
|
keyName: "",
|
2646
2666
|
keyNameSuffix: "",
|
2647
2667
|
label: "",
|
2668
|
+
labelColor: '',
|
2648
2669
|
submitFlag: true,
|
2649
2670
|
disabled: !1,
|
2650
2671
|
hidden: !1,
|
@@ -2742,6 +2763,7 @@ export const advancedFields = [
|
|
2742
2763
|
onCreated: "",
|
2743
2764
|
onMounted: "",
|
2744
2765
|
clickBindEvent: '1',
|
2766
|
+
onBeforeClickButton:null,
|
2745
2767
|
searchDialogConfig: {
|
2746
2768
|
...defaultSearchDialogConfig,
|
2747
2769
|
tableEnabled: true
|
@@ -2781,6 +2803,7 @@ export const advancedFields = [
|
|
2781
2803
|
accessType: "1",
|
2782
2804
|
saveButton: true,
|
2783
2805
|
clickBindEvent: null,
|
2806
|
+
onBeforeClickButton:null,
|
2784
2807
|
searchDialogConfig: {
|
2785
2808
|
...defaultSearchDialogConfig
|
2786
2809
|
},
|
@@ -2820,6 +2843,7 @@ export const advancedFields = [
|
|
2820
2843
|
onClick: "this.getFormRef().$baseReload()",
|
2821
2844
|
accessType: "1",
|
2822
2845
|
clickBindEvent: null,
|
2846
|
+
onBeforeClickButton:null,
|
2823
2847
|
searchDialogConfig: {
|
2824
2848
|
...defaultSearchDialogConfig
|
2825
2849
|
},
|
@@ -2883,6 +2907,7 @@ export const advancedFields = [
|
|
2883
2907
|
onMounted: "",
|
2884
2908
|
onClick: "",
|
2885
2909
|
clickBindEvent: null,
|
2910
|
+
onBeforeClickButton:null,
|
2886
2911
|
searchDialogConfig: {
|
2887
2912
|
...defaultSearchDialogConfig
|
2888
2913
|
},
|
@@ -2919,6 +2944,7 @@ export const advancedFields = [
|
|
2919
2944
|
onCreated: "",
|
2920
2945
|
onMounted: "",
|
2921
2946
|
// clickBindEvent: null,
|
2947
|
+
onBeforeClickButton:null,
|
2922
2948
|
searchDialogConfig: {
|
2923
2949
|
...defaultSearchDialogConfig
|
2924
2950
|
},
|
@@ -2965,6 +2991,7 @@ export const advancedFields = [
|
|
2965
2991
|
onCreated: "",
|
2966
2992
|
onMounted: "",
|
2967
2993
|
// clickBindEvent: null,
|
2994
|
+
onBeforeClickButton:null,
|
2968
2995
|
searchDialogConfig: {
|
2969
2996
|
...defaultSearchDialogConfig
|
2970
2997
|
},
|
@@ -3008,6 +3035,7 @@ export const advancedFields = [
|
|
3008
3035
|
onCreated: "",
|
3009
3036
|
onMounted: "",
|
3010
3037
|
// clickBindEvent: null,
|
3038
|
+
onBeforeClickButton:null,
|
3011
3039
|
searchDialogConfig: {
|
3012
3040
|
...defaultSearchDialogConfig
|
3013
3041
|
},
|
@@ -3033,6 +3061,7 @@ export const advancedFields = [
|
|
3033
3061
|
keyName: "",
|
3034
3062
|
keyNameSuffix: "",
|
3035
3063
|
label: "",
|
3064
|
+
labelColor: '',
|
3036
3065
|
submitFlag: true,
|
3037
3066
|
disabled: !1,
|
3038
3067
|
hidden: !1,
|
@@ -3065,6 +3094,7 @@ export const advancedFields = [
|
|
3065
3094
|
keyNameEnabled: !1,
|
3066
3095
|
keyName: "",
|
3067
3096
|
label: "",
|
3097
|
+
labelColor: '',
|
3068
3098
|
submitFlag: true,
|
3069
3099
|
disabled: !1,
|
3070
3100
|
hidden: !1,
|
@@ -3206,6 +3236,7 @@ export const advancedFields = [
|
|
3206
3236
|
|
3207
3237
|
onClick: "",
|
3208
3238
|
clickBindEvent: null,
|
3239
|
+
onBeforeClickButton:null,
|
3209
3240
|
searchDialogConfig: {
|
3210
3241
|
...defaultSearchDialogConfig
|
3211
3242
|
},
|
@@ -3244,7 +3275,7 @@ export const businessFields = [
|
|
3244
3275
|
onCreated: "",
|
3245
3276
|
onMounted: "",
|
3246
3277
|
accessType: "1",
|
3247
|
-
labelColor: '
|
3278
|
+
labelColor: '',
|
3248
3279
|
...defaultWfConfig,
|
3249
3280
|
|
3250
3281
|
autoValueEnabled: false,
|
@@ -3282,7 +3313,7 @@ export const businessFields = [
|
|
3282
3313
|
onCreated: "",
|
3283
3314
|
onMounted: "",
|
3284
3315
|
accessType: "1",
|
3285
|
-
labelColor: '
|
3316
|
+
labelColor: '',
|
3286
3317
|
...defaultWfConfig,
|
3287
3318
|
|
3288
3319
|
autoValueEnabled: false,
|
@@ -3320,7 +3351,7 @@ export const businessFields = [
|
|
3320
3351
|
onCreated: "",
|
3321
3352
|
onMounted: "",
|
3322
3353
|
accessType: "1",
|
3323
|
-
labelColor: '
|
3354
|
+
labelColor: '',
|
3324
3355
|
...defaultWfConfig,
|
3325
3356
|
|
3326
3357
|
autoValueEnabled: false,
|
@@ -3358,7 +3389,7 @@ export const businessFields = [
|
|
3358
3389
|
onCreated: "",
|
3359
3390
|
onMounted: "",
|
3360
3391
|
accessType: "1",
|
3361
|
-
labelColor: '
|
3392
|
+
labelColor: '',
|
3362
3393
|
...defaultWfConfig,
|
3363
3394
|
|
3364
3395
|
autoValueEnabled: false,
|
@@ -3385,6 +3416,7 @@ export const businessFields = [
|
|
3385
3416
|
vabSearchName: "nick_name",
|
3386
3417
|
userDefaultVabSearch: true,
|
3387
3418
|
label: "用户",
|
3419
|
+
labelColor: '',
|
3388
3420
|
searchDialogConfig: {
|
3389
3421
|
...defaultSearchDialogConfig,
|
3390
3422
|
multipleChoices: false,
|
@@ -3407,6 +3439,7 @@ export const businessFields = [
|
|
3407
3439
|
vabSearchName: "sale_org_name",
|
3408
3440
|
saleOrgDefaultVabSearch: true,
|
3409
3441
|
label: "机构",
|
3442
|
+
labelColor: '',
|
3410
3443
|
searchDialogConfig: {
|
3411
3444
|
...defaultSearchDialogConfig,
|
3412
3445
|
multipleChoices: false,
|
@@ -3428,6 +3461,7 @@ export const businessFields = [
|
|
3428
3461
|
options: {
|
3429
3462
|
...projectTagConfig,
|
3430
3463
|
label: "用户",
|
3464
|
+
labelColor: '',
|
3431
3465
|
tagFormCode: "user_dialog",
|
3432
3466
|
tagLabelField: "nick_name",
|
3433
3467
|
tagUniqueField: "id",
|
@@ -3447,6 +3481,7 @@ export const businessFields = [
|
|
3447
3481
|
options: {
|
3448
3482
|
...projectTagConfig,
|
3449
3483
|
label: "机构",
|
3484
|
+
labelColor: '',
|
3450
3485
|
tagFormCode: "sale_org_dialog",
|
3451
3486
|
tagLabelField: "name",
|
3452
3487
|
tagUniqueField: "id",
|
@@ -3,7 +3,7 @@
|
|
3
3
|
@resizable-change="$vxeTableUtil.onColumnWitchChange" @custom="$vxeTableUtil.customHandle"
|
4
4
|
@checkbox-change="handleCheckboxChange" @checkbox-all="handleCheckboxAll"
|
5
5
|
@cell-dblclick="handleCellDblclick" :class="dataTableConfig.class"
|
6
|
-
:data="
|
6
|
+
:data="fieldModel"
|
7
7
|
>
|
8
8
|
<template #form>
|
9
9
|
<!-- <div v-if="widget.options.showSearchArea" class="clearfix screen-btns">
|