cloud-web-corejs 1.0.54-dev.365 → 1.0.54-dev.367
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/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +16 -10
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1594
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +19 -1
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +26 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +13 -263
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +3 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +3 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +84 -53
- package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +36 -17
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +5 -0
- package/src/components/xform/form-render/container-item/data-table-item.vue +0 -137
- package/src/components/xform/form-render/container-item/tab-item.vue +4 -2
- package/src/views/bd/setting/config_manage/list.vue +30 -20
package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue
CHANGED
|
@@ -3,12 +3,18 @@
|
|
|
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="标签长度">
|
|
7
|
+
<el-input v-model="optionModel.tagWidth" clearable></el-input>
|
|
8
|
+
</el-form-item>
|
|
6
9
|
<el-form-item label="弹框表单编码">
|
|
7
10
|
<el-input v-model="optionModel.tagFormCode" clearable></el-input>
|
|
8
11
|
</el-form-item>
|
|
9
12
|
<el-form-item label="弹框查询参数">
|
|
10
|
-
<a
|
|
11
|
-
|
|
13
|
+
<a
|
|
14
|
+
href="javascript:void(0);"
|
|
15
|
+
class="a-link link-oneLind"
|
|
16
|
+
@click="editEventHandler('tagFormParam', ['dataId', 'formCode'])"
|
|
17
|
+
>
|
|
12
18
|
<span>{{ optionModel.tagFormParam }}</span>
|
|
13
19
|
<i class="el-icon-edit"></i>
|
|
14
20
|
</a>
|
|
@@ -27,24 +33,29 @@
|
|
|
27
33
|
</el-form-item>
|
|
28
34
|
|
|
29
35
|
<el-form-item label="明细字段回填">
|
|
30
|
-
<a href="javascript:void(0);" class="a-link link-oneLind"
|
|
31
|
-
@click="openDialog">
|
|
36
|
+
<a href="javascript:void(0);" class="a-link link-oneLind" @click="openDialog">
|
|
32
37
|
<span>{{ optionModel.tagFillConfig.length ? "已维护" : "" }}</span>
|
|
33
38
|
<i class="el-icon-edit"></i>
|
|
34
39
|
</a>
|
|
35
40
|
</el-form-item>
|
|
36
41
|
<el-form-item label="确认回调">
|
|
37
42
|
<!-- <el-input v-model="optionModel.tagConfirmCallback" clearable></el-input>-->
|
|
38
|
-
<a
|
|
39
|
-
|
|
43
|
+
<a
|
|
44
|
+
href="javascript:void(0);"
|
|
45
|
+
class="a-link link-oneLind"
|
|
46
|
+
@click="editEventHandler('tagConfirmCallback', ['dataId', 'formCode', 'rows'])"
|
|
47
|
+
>
|
|
40
48
|
<span>{{ optionModel.tagConfirmCallback }}</span>
|
|
41
49
|
<i class="el-icon-edit"></i>
|
|
42
50
|
</a>
|
|
43
51
|
</el-form-item>
|
|
44
52
|
<el-form-item label="删除回调">
|
|
45
53
|
<!-- <el-input v-model="optionModel.tagDeleteCallback" clearable></el-input>-->
|
|
46
|
-
<a
|
|
47
|
-
|
|
54
|
+
<a
|
|
55
|
+
href="javascript:void(0);"
|
|
56
|
+
class="a-link link-oneLind"
|
|
57
|
+
@click="editEventHandler('tagDeleteCallback', ['dataId', 'formCode'])"
|
|
58
|
+
>
|
|
48
59
|
<span>{{ optionModel.tagDeleteCallback }}</span>
|
|
49
60
|
<i class="el-icon-edit"></i>
|
|
50
61
|
</a>
|
|
@@ -103,22 +114,22 @@
|
|
|
103
114
|
placement="top"
|
|
104
115
|
>
|
|
105
116
|
<el-button
|
|
106
|
-
size="mini"
|
|
117
|
+
size="mini"
|
|
118
|
+
type=""
|
|
119
|
+
circle=""
|
|
107
120
|
icon="el-icon-plus"
|
|
108
121
|
@click="tableData.push({})"
|
|
109
122
|
/>
|
|
110
123
|
</el-tooltip>
|
|
111
124
|
</template>
|
|
112
125
|
<template #default="{ row, $index }">
|
|
113
|
-
<el-tooltip
|
|
114
|
-
effect="dark"
|
|
115
|
-
content="删除"
|
|
116
|
-
placement="top"
|
|
117
|
-
>
|
|
126
|
+
<el-tooltip effect="dark" content="删除" placement="top">
|
|
118
127
|
<el-button
|
|
119
|
-
size="mini"
|
|
128
|
+
size="mini"
|
|
129
|
+
type=""
|
|
130
|
+
circle=""
|
|
120
131
|
icon="el-icon-delete"
|
|
121
|
-
@click="tableData.splice($index,1)"
|
|
132
|
+
@click="tableData.splice($index, 1)"
|
|
122
133
|
/>
|
|
123
134
|
</el-tooltip>
|
|
124
135
|
</template>
|
|
@@ -126,11 +137,16 @@
|
|
|
126
137
|
</el-table>
|
|
127
138
|
</div>
|
|
128
139
|
<div class="dialog-footer" slot="footer">
|
|
129
|
-
<el-button @click="showDialog=false" class="button-sty" icon="el-icon-close">
|
|
130
|
-
{{ i18nt(
|
|
140
|
+
<el-button @click="showDialog = false" class="button-sty" icon="el-icon-close">
|
|
141
|
+
{{ i18nt("designer.hint.cancel") }}
|
|
131
142
|
</el-button>
|
|
132
|
-
<el-button
|
|
133
|
-
|
|
143
|
+
<el-button
|
|
144
|
+
type="primary"
|
|
145
|
+
@click="confirmDialog"
|
|
146
|
+
class="button-sty"
|
|
147
|
+
icon="el-icon-check"
|
|
148
|
+
>
|
|
149
|
+
{{ i18nt("designer.hint.confirm") }}
|
|
134
150
|
</el-button>
|
|
135
151
|
</div>
|
|
136
152
|
</el-dialog>
|
|
@@ -150,7 +166,7 @@
|
|
|
150
166
|
v-dialog-drag
|
|
151
167
|
:fullscreen="true"
|
|
152
168
|
>
|
|
153
|
-
<div class="cont" style="padding-bottom: 8px
|
|
169
|
+
<div class="cont" style="padding-bottom: 8px">
|
|
154
170
|
<el-table
|
|
155
171
|
ref="singleTable"
|
|
156
172
|
width="100%"
|
|
@@ -159,11 +175,11 @@
|
|
|
159
175
|
border=""
|
|
160
176
|
row-key="columnId"
|
|
161
177
|
stripe=""
|
|
162
|
-
style="margin-bottom: 0px
|
|
178
|
+
style="margin-bottom: 0px"
|
|
163
179
|
>
|
|
164
180
|
<el-table-column type="index" width="35" fixed="left"></el-table-column>
|
|
165
181
|
<el-table-column :label="i18nt('服务')" width="150">
|
|
166
|
-
<template slot-scope="{row}">
|
|
182
|
+
<template slot-scope="{ row }">
|
|
167
183
|
<el-select v-model="row.serveType" @change="changeServeType(row)">
|
|
168
184
|
<el-option :value="1" label="正式"></el-option>
|
|
169
185
|
<el-option :value="2" label="UAT"></el-option>
|
|
@@ -173,27 +189,31 @@
|
|
|
173
189
|
</template>
|
|
174
190
|
</el-table-column>
|
|
175
191
|
<el-table-column :label="i18nt('自定义服务')" width="150">
|
|
176
|
-
<template slot-scope="{row}">
|
|
177
|
-
<el-input
|
|
192
|
+
<template slot-scope="{ row }">
|
|
193
|
+
<el-input
|
|
194
|
+
v-model="row.serveName"
|
|
195
|
+
clearable
|
|
196
|
+
:disabled="row.serveType !== 4"
|
|
197
|
+
></el-input>
|
|
178
198
|
</template>
|
|
179
199
|
</el-table-column>
|
|
180
200
|
<el-table-column :label="i18nt('组织编码')" width="250">
|
|
181
|
-
<template slot-scope="{row
|
|
201
|
+
<template slot-scope="{ row, $index }">
|
|
182
202
|
<el-input v-model="row.companyCodes" clearable></el-input>
|
|
183
203
|
</template>
|
|
184
204
|
</el-table-column>
|
|
185
205
|
<el-table-column :label="i18nt('流程模板编码')" width="150">
|
|
186
|
-
<template slot-scope="{row}">
|
|
206
|
+
<template slot-scope="{ row }">
|
|
187
207
|
<el-input v-model="row.modelKey" clearable></el-input>
|
|
188
208
|
</template>
|
|
189
209
|
</el-table-column>
|
|
190
210
|
<el-table-column :label="i18nt('节点步骤')" width="250">
|
|
191
|
-
<template slot-scope="{row}">
|
|
211
|
+
<template slot-scope="{ row }">
|
|
192
212
|
<el-input v-model="row.taskSteps" clearable></el-input>
|
|
193
213
|
</template>
|
|
194
214
|
</el-table-column>
|
|
195
215
|
<el-table-column :label="i18nt('设置')" width="150">
|
|
196
|
-
<template slot-scope="{row}">
|
|
216
|
+
<template slot-scope="{ row }">
|
|
197
217
|
<el-select v-model="row.type" clearable>
|
|
198
218
|
<el-option :value="1" label="可编辑"></el-option>
|
|
199
219
|
<el-option :value="2" label="仅显示"></el-option>
|
|
@@ -219,11 +239,21 @@
|
|
|
219
239
|
</el-checkbox-group>
|
|
220
240
|
</template>
|
|
221
241
|
</el-table-column>-->
|
|
222
|
-
<el-table-column
|
|
242
|
+
<el-table-column
|
|
243
|
+
:label="i18nt('designer.setting.actionColumn')"
|
|
244
|
+
width="100"
|
|
245
|
+
align="center"
|
|
246
|
+
>
|
|
223
247
|
<template #header>
|
|
224
|
-
<span>{{ i18nt(
|
|
225
|
-
<el-button
|
|
226
|
-
|
|
248
|
+
<span>{{ i18nt("designer.setting.actionColumn") }}</span>
|
|
249
|
+
<el-button
|
|
250
|
+
:title="i18nt('designer.setting.addTableColumn')"
|
|
251
|
+
size="mini"
|
|
252
|
+
type=""
|
|
253
|
+
circle=""
|
|
254
|
+
icon="el-icon-plus"
|
|
255
|
+
@click="addItem"
|
|
256
|
+
></el-button>
|
|
227
257
|
</template>
|
|
228
258
|
<template slot-scope="scope">
|
|
229
259
|
<el-button
|
|
@@ -232,19 +262,23 @@
|
|
|
232
262
|
type=""
|
|
233
263
|
circle=""
|
|
234
264
|
icon="el-icon-minus"
|
|
235
|
-
@click="tableData.splice(scope.$index,1)"
|
|
265
|
+
@click="tableData.splice(scope.$index, 1)"
|
|
236
266
|
></el-button>
|
|
237
267
|
</template>
|
|
238
268
|
</el-table-column>
|
|
239
|
-
|
|
240
269
|
</el-table>
|
|
241
270
|
</div>
|
|
242
271
|
<div class="dialog-footer" slot="footer">
|
|
243
272
|
<el-button @click="dialogVisible = false" class="button-sty" icon="el-icon-close">
|
|
244
|
-
{{ i18nt(
|
|
273
|
+
{{ i18nt("designer.hint.cancel") }}
|
|
245
274
|
</el-button>
|
|
246
|
-
<el-button
|
|
247
|
-
|
|
275
|
+
<el-button
|
|
276
|
+
type="primary"
|
|
277
|
+
@click="colSubmit"
|
|
278
|
+
class="button-sty"
|
|
279
|
+
icon="el-icon-check"
|
|
280
|
+
>
|
|
281
|
+
{{ i18nt("designer.hint.confirm") }}
|
|
248
282
|
</el-button>
|
|
249
283
|
</div>
|
|
250
284
|
</el-dialog>
|
|
@@ -252,9 +286,8 @@
|
|
|
252
286
|
</template>
|
|
253
287
|
|
|
254
288
|
<script>
|
|
255
|
-
import i18n from "../../../../../components/xform/utils/i18n"
|
|
256
|
-
import eventMixin
|
|
257
|
-
from "../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin"
|
|
289
|
+
import i18n from "../../../../../components/xform/utils/i18n";
|
|
290
|
+
import eventMixin from "../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin";
|
|
258
291
|
|
|
259
292
|
export default {
|
|
260
293
|
name: "project-tag-editor",
|
|
@@ -262,21 +295,21 @@ export default {
|
|
|
262
295
|
props: {
|
|
263
296
|
designer: Object,
|
|
264
297
|
selectedWidget: Object,
|
|
265
|
-
optionModel: Object
|
|
298
|
+
optionModel: Object,
|
|
266
299
|
},
|
|
267
300
|
data() {
|
|
268
301
|
return {
|
|
269
|
-
formScriptEnabledTypes: [
|
|
302
|
+
formScriptEnabledTypes: ["select", "checkbox", "radio", "census"],
|
|
270
303
|
showDialog: false,
|
|
271
304
|
tableData: [],
|
|
272
305
|
|
|
273
306
|
dialogVisible: false,
|
|
274
307
|
wfConfigData: [],
|
|
275
|
-
}
|
|
308
|
+
};
|
|
276
309
|
},
|
|
277
310
|
methods: {
|
|
278
311
|
getIsShow() {
|
|
279
|
-
return this.selectedWidget.type !==
|
|
312
|
+
return this.selectedWidget.type !== "data-table";
|
|
280
313
|
},
|
|
281
314
|
openDialog() {
|
|
282
315
|
this.tableData = this.$baseLodash.cloneDeep(this.optionModel.tagFillConfig);
|
|
@@ -292,7 +325,7 @@ export default {
|
|
|
292
325
|
let objTypeCode = reportTemplate.objTypeCode;
|
|
293
326
|
let wfConfigData = this.optionModel.wfConfigData || [];
|
|
294
327
|
this.dialogVisible = true;
|
|
295
|
-
this.tableData = this.$baseLodash.cloneDeep(wfConfigData)
|
|
328
|
+
this.tableData = this.$baseLodash.cloneDeep(wfConfigData);
|
|
296
329
|
},
|
|
297
330
|
addItem() {
|
|
298
331
|
let newItem = {
|
|
@@ -301,18 +334,16 @@ export default {
|
|
|
301
334
|
serveName: null,
|
|
302
335
|
modelKey: null,
|
|
303
336
|
taskSteps: null,
|
|
304
|
-
companyCodes: null
|
|
305
|
-
}
|
|
337
|
+
companyCodes: null,
|
|
338
|
+
};
|
|
306
339
|
this.tableData.push(newItem);
|
|
307
340
|
},
|
|
308
341
|
colSubmit() {
|
|
309
342
|
this.dialogVisible = !1;
|
|
310
343
|
this.optionModel.wfConfigData = this.tableData;
|
|
311
344
|
},
|
|
312
|
-
}
|
|
313
|
-
}
|
|
345
|
+
},
|
|
346
|
+
};
|
|
314
347
|
</script>
|
|
315
348
|
|
|
316
|
-
<style scoped>
|
|
317
|
-
|
|
318
|
-
</style>
|
|
349
|
+
<style scoped></style>
|
package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue
CHANGED
|
@@ -1,23 +1,42 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
<el-
|
|
4
|
-
|
|
2
|
+
<div>
|
|
3
|
+
<el-form-item :label="i18nt('暂存唯一编码')">
|
|
4
|
+
<el-input
|
|
5
|
+
type="text"
|
|
6
|
+
v-model="optionModel.tempStorageCode"
|
|
7
|
+
placeholder="默认表单模板编码"
|
|
8
|
+
></el-input>
|
|
9
|
+
</el-form-item>
|
|
10
|
+
<el-form-item label="暂存回填完成回调" label-width="150px">
|
|
11
|
+
<a
|
|
12
|
+
href="javascript:void(0);"
|
|
13
|
+
class="a-link link-oneLind"
|
|
14
|
+
@click="editEventHandler('tempStorageConfirm', chooseConfirmParams)"
|
|
15
|
+
>
|
|
16
|
+
<span>{{ optionModel.tempStorageConfirm }}</span>
|
|
17
|
+
<i class="el-icon-edit"></i>
|
|
18
|
+
</a>
|
|
19
|
+
</el-form-item>
|
|
20
|
+
</div>
|
|
5
21
|
</template>
|
|
6
22
|
|
|
7
23
|
<script>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
24
|
+
import i18n from "../../../../../components/xform/utils/i18n";
|
|
25
|
+
import eventMixin from "../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin";
|
|
26
|
+
export default {
|
|
27
|
+
name: "tempStorage-editor",
|
|
28
|
+
mixins: [i18n, eventMixin],
|
|
29
|
+
props: {
|
|
30
|
+
designer: Object,
|
|
31
|
+
selectedWidget: Object,
|
|
32
|
+
optionModel: Object,
|
|
33
|
+
},
|
|
34
|
+
data() {
|
|
35
|
+
return {
|
|
36
|
+
chooseConfirmParams: ["dataId", "formCode", "tempStorageData"],
|
|
37
|
+
};
|
|
38
|
+
},
|
|
39
|
+
};
|
|
19
40
|
</script>
|
|
20
41
|
|
|
21
|
-
<style scoped>
|
|
22
|
-
|
|
23
|
-
</style>
|
|
42
|
+
<style scoped></style>
|
|
@@ -300,6 +300,7 @@ export const containers = [
|
|
|
300
300
|
showRules: [],
|
|
301
301
|
hideGridCheckBox: false,
|
|
302
302
|
isNotQueryAllPage: false,
|
|
303
|
+
isNotShowQueryButton: false,
|
|
303
304
|
},
|
|
304
305
|
},
|
|
305
306
|
/*{
|
|
@@ -902,6 +903,7 @@ const projectTagConfig = {
|
|
|
902
903
|
tagConfirmCallback: null,
|
|
903
904
|
tagDeleteCallback: null,
|
|
904
905
|
tabDeleteEnabled: true,
|
|
906
|
+
tagWidth: ""
|
|
905
907
|
};
|
|
906
908
|
|
|
907
909
|
const httpConfig = {
|
|
@@ -3060,6 +3062,7 @@ export const advancedFields = [
|
|
|
3060
3062
|
enabledImportPreHandle: false,
|
|
3061
3063
|
tableRef: "",
|
|
3062
3064
|
onSuccessImport: "",
|
|
3065
|
+
hideCancelButton:false,
|
|
3063
3066
|
|
|
3064
3067
|
showRuleFlag: 1,
|
|
3065
3068
|
showRuleEnabled: 1,
|
|
@@ -3106,6 +3109,7 @@ export const advancedFields = [
|
|
|
3106
3109
|
onConfirmImportEnabled: false,
|
|
3107
3110
|
onConfirmImport: "",
|
|
3108
3111
|
onSuccessImport: "",
|
|
3112
|
+
hideCancelButton:false,
|
|
3109
3113
|
|
|
3110
3114
|
showRuleFlag: 1,
|
|
3111
3115
|
showRuleEnabled: 1,
|
|
@@ -3686,6 +3690,7 @@ export const businessFields = [
|
|
|
3686
3690
|
|
|
3687
3691
|
tempStorageFlag:1,
|
|
3688
3692
|
tempStorageCode:null,
|
|
3693
|
+
tempStorageConfirm:null,
|
|
3689
3694
|
|
|
3690
3695
|
customClass: "",
|
|
3691
3696
|
onCreated: "",
|
|
@@ -14,101 +14,6 @@
|
|
|
14
14
|
v-on="eventConfig"
|
|
15
15
|
>
|
|
16
16
|
<template #form>
|
|
17
|
-
<!-- <div v-if="widget.options.showSearchArea" class="clearfix screen-btns">
|
|
18
|
-
<div class="fl">
|
|
19
|
-
<!– <vxe-button status="primary" class="button-sty" icon="el-icon-upload2"
|
|
20
|
-
@click="$excelExport({ title: '导出', targetRef: 'grid' + widget.id })"
|
|
21
|
-
v-if="widget.options.showExportBtn!==false">导出
|
|
22
|
-
</vxe-button>–>
|
|
23
|
-
|
|
24
|
-
<template v-if="!!widget.buttons && widget.buttons.length > 0">
|
|
25
|
-
<template v-for="(subWidget, swIdx) in widget.buttons">
|
|
26
|
-
<template v-if="'container' === subWidget.category">
|
|
27
|
-
<component
|
|
28
|
-
:is="subWidget.type + '-item'"
|
|
29
|
-
:widget="subWidget"
|
|
30
|
-
:key="swIdx"
|
|
31
|
-
:parent-list="widget.buttons"
|
|
32
|
-
:index-of-parent-list="swIdx"
|
|
33
|
-
:parent-widget="widget"
|
|
34
|
-
>
|
|
35
|
-
<!– 递归传递插槽!!! –>
|
|
36
|
-
<template v-for="slot in Object.keys($scopedSlots)" v-slot:[slot]="scope">
|
|
37
|
-
<slot :name="slot" v-bind="scope"/>
|
|
38
|
-
</template>
|
|
39
|
-
</component>
|
|
40
|
-
</template>
|
|
41
|
-
<template v-else>
|
|
42
|
-
<component
|
|
43
|
-
:is="subWidget.type + '-widget'"
|
|
44
|
-
:field="subWidget"
|
|
45
|
-
:designer="null"
|
|
46
|
-
:key="swIdx"
|
|
47
|
-
:parent-list="widget.buttons"
|
|
48
|
-
:index-of-parent-list="swIdx"
|
|
49
|
-
:parent-widget="widget"
|
|
50
|
-
>
|
|
51
|
-
<!– 递归传递插槽!!! –>
|
|
52
|
-
<template v-for="slot in Object.keys($scopedSlots)" v-slot:[slot]="scope">
|
|
53
|
-
<slot :name="slot" v-bind="scope"/>
|
|
54
|
-
</template>
|
|
55
|
-
</component>
|
|
56
|
-
</template>
|
|
57
|
-
</template>
|
|
58
|
-
</template>
|
|
59
|
-
|
|
60
|
-
</div>
|
|
61
|
-
<div class="fr">
|
|
62
|
-
<!– <vxe-button icon="el-icon-view" class="button-sty" @click="searchEvent">显示总记录数</vxe-button> –>
|
|
63
|
-
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
|
64
|
-
plain>重置
|
|
65
|
-
</vxe-button>
|
|
66
|
-
|
|
67
|
-
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
|
|
68
|
-
</vxe-button>
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
<div v-if="widget.options.showSearchArea && widget.widgetList.length != 0" ref="searchForm"
|
|
72
|
-
class="screen-box vxe-form" title-width="92px" title-align="right">
|
|
73
|
-
<template v-if="!!widget.widgetList && widget.widgetList.length > 0">
|
|
74
|
-
<template v-for="(subWidget, swIdx) in widget.widgetList">
|
|
75
|
-
<template v-if="'container' === subWidget.category">
|
|
76
|
-
<component
|
|
77
|
-
:is="subWidget.type + '-item'"
|
|
78
|
-
:widget="subWidget"
|
|
79
|
-
:key="swIdx"
|
|
80
|
-
:parent-list="widget.widgetList"
|
|
81
|
-
:index-of-parent-list="swIdx"
|
|
82
|
-
:parent-widget="widget"
|
|
83
|
-
formItemType="vxe-form-item"
|
|
84
|
-
>
|
|
85
|
-
<!– 递归传递插槽!!! –>
|
|
86
|
-
<template v-for="slot in Object.keys($scopedSlots)" v-slot:[slot]="scope">
|
|
87
|
-
<slot :name="slot" v-bind="scope"/>
|
|
88
|
-
</template>
|
|
89
|
-
</component>
|
|
90
|
-
</template>
|
|
91
|
-
<template v-else>
|
|
92
|
-
<component
|
|
93
|
-
:is="subWidget.type + '-widget'"
|
|
94
|
-
:field="subWidget"
|
|
95
|
-
:designer="null"
|
|
96
|
-
:key="swIdx"
|
|
97
|
-
:parent-list="widget.widgetList"
|
|
98
|
-
:index-of-parent-list="swIdx"
|
|
99
|
-
:parent-widget="widget"
|
|
100
|
-
formItemType="vxe-form-item"
|
|
101
|
-
>
|
|
102
|
-
<!– 递归传递插槽!!! –>
|
|
103
|
-
<template v-for="slot in Object.keys($scopedSlots)" v-slot:[slot]="scope">
|
|
104
|
-
<slot :name="slot" v-bind="scope"/>
|
|
105
|
-
</template>
|
|
106
|
-
</component>
|
|
107
|
-
</template>
|
|
108
|
-
</template>
|
|
109
|
-
</template>
|
|
110
|
-
</div>-->
|
|
111
|
-
|
|
112
17
|
<tableForm
|
|
113
18
|
v-if="widget.options.isQueryTable"
|
|
114
19
|
:formData.sync="formModel"
|
|
@@ -225,24 +130,6 @@
|
|
|
225
130
|
@confirm="confirmTreeMoveDialog"
|
|
226
131
|
></treeMoveDialog>
|
|
227
132
|
</template>
|
|
228
|
-
<!-- <template v-for="fieldWidget in widgets" v-slot:[fieldWidget.id]="obj">
|
|
229
|
-
<component
|
|
230
|
-
:is="getColumnWidgetName(fieldWidget)"
|
|
231
|
-
:field="fieldWidget"
|
|
232
|
-
:form-model="globalModel.formModel"
|
|
233
|
-
:designer="null"
|
|
234
|
-
:key="fieldWidget.id+'-'+obj.rowIndex"
|
|
235
|
-
:parent-widget="widget"
|
|
236
|
-
:columnConfig="obj.column.params.columnConfig"
|
|
237
|
-
:subFormRowIndex="obj.rowIndex"
|
|
238
|
-
:formItemProp="getColumnProp(widget,obj)"
|
|
239
|
-
:tableParam="obj"
|
|
240
|
-
>
|
|
241
|
-
<template v-for="slot in Object.keys($scopedSlots)" v-slot:[slot]="scope">
|
|
242
|
-
<slot :name="slot" v-bind="scope"/>
|
|
243
|
-
</template>
|
|
244
|
-
</component>
|
|
245
|
-
</template>-->
|
|
246
133
|
<template #widget="obj">
|
|
247
134
|
<template v-if="!!getTableColumnWidget(obj)">
|
|
248
135
|
<template v-if="obj.column.params.widget.type == 'status'">
|
|
@@ -400,30 +287,6 @@
|
|
|
400
287
|
</template>
|
|
401
288
|
</div>
|
|
402
289
|
</template>
|
|
403
|
-
<!-- <template #editDelete="obj">
|
|
404
|
-
<a
|
|
405
|
-
href="javascript:void(0);"
|
|
406
|
-
class="a-link"
|
|
407
|
-
@click="deleteRow(obj.row,obj.rowIndex)"
|
|
408
|
-
:key="obj.rowIndex+'-editDelete'"
|
|
409
|
-
v-show="!hasWf"
|
|
410
|
-
>
|
|
411
|
-
<el-tooltip :enterable="false" effect="dark" content="删除" placement="top" popper-class="tooltip-skin">
|
|
412
|
-
<i class="el-icon-delete"/>
|
|
413
|
-
</el-tooltip>
|
|
414
|
-
</a>
|
|
415
|
-
</template>
|
|
416
|
-
<template #editButton="obj">
|
|
417
|
-
<a
|
|
418
|
-
href="javascript:void(0);"
|
|
419
|
-
class="a-link"
|
|
420
|
-
@click="openEditDialog(obj.row)"
|
|
421
|
-
>
|
|
422
|
-
<el-tooltip :enterable="false" effect="dark" content="查看" placement="top" popper-class="tooltip-skin">
|
|
423
|
-
<i class="el-icon-edit"/>
|
|
424
|
-
</el-tooltip>
|
|
425
|
-
</a>
|
|
426
|
-
</template>-->
|
|
427
290
|
</vxe-grid>
|
|
428
291
|
</template>
|
|
429
292
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:widget="widget"
|
|
4
4
|
:class="widget.options.isFullscreen ? 'full-height' : ''"
|
|
5
5
|
>
|
|
6
|
-
<div :key="widget.id" class="tab-container" v-show="!widget.options.hidden">
|
|
6
|
+
<div :key="widget.id" class="tab-container mHeight" v-show="!widget.options.hidden">
|
|
7
7
|
<el-tabs
|
|
8
8
|
v-model="activeTabName"
|
|
9
9
|
:type="widget.displayType"
|
|
@@ -120,4 +120,6 @@ export default {
|
|
|
120
120
|
};
|
|
121
121
|
</script>
|
|
122
122
|
|
|
123
|
-
<style lang="scss" scoped
|
|
123
|
+
<style lang="scss" scoped>
|
|
124
|
+
::v-deep .mHeight .el-tabs .el-tabs__content{min-height:312px}
|
|
125
|
+
</style>
|
|
@@ -3,13 +3,23 @@
|
|
|
3
3
|
<div class="flex">
|
|
4
4
|
<div class="tab-box-vertical">
|
|
5
5
|
<div class="list-scroll">
|
|
6
|
-
<div
|
|
7
|
-
|
|
6
|
+
<div
|
|
7
|
+
class="item"
|
|
8
|
+
v-for="(item, index) in typeTabs"
|
|
9
|
+
:key="item.name"
|
|
10
|
+
:class="{ on: item.name == activeName }"
|
|
11
|
+
@click="chooseTab(item)"
|
|
12
|
+
>
|
|
13
|
+
{{ item.label }}
|
|
8
14
|
</div>
|
|
9
15
|
</div>
|
|
10
16
|
</div>
|
|
11
17
|
<div class="flex-tabboxWidth">
|
|
12
|
-
<div
|
|
18
|
+
<div
|
|
19
|
+
v-for="(item, index) in typeTabs"
|
|
20
|
+
:key="item.name"
|
|
21
|
+
v-show="item.name == activeName"
|
|
22
|
+
>
|
|
13
23
|
<component :is="item.name" :containtId="false" v-if="item.inited"></component>
|
|
14
24
|
</div>
|
|
15
25
|
</div>
|
|
@@ -25,7 +35,6 @@ import logic_param_list from "@base/views/bd/setting/logic_param/list.vue";
|
|
|
25
35
|
import logic_param_list1 from "@base/views/bd/setting/logic_param/list1.vue";
|
|
26
36
|
import logic_param_list2 from "@base/views/bd/setting/logic_param/list2.vue";
|
|
27
37
|
|
|
28
|
-
|
|
29
38
|
export default {
|
|
30
39
|
name: "list",
|
|
31
40
|
components: {
|
|
@@ -41,26 +50,27 @@ export default {
|
|
|
41
50
|
return {
|
|
42
51
|
activeName: "bd_attach_setting_list",
|
|
43
52
|
typeTabs: [
|
|
44
|
-
{label: this.$t1("导入模板"), name: "bd_attach_setting_list", inited: true},
|
|
45
|
-
{label: this.$t1("同步调用接口"), name: "request_setting_list", inited: false},
|
|
46
|
-
{
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
{ label: this.$t1("导入模板"), name: "bd_attach_setting_list", inited: true },
|
|
54
|
+
{ label: this.$t1("同步调用接口"), name: "request_setting_list", inited: false },
|
|
55
|
+
{
|
|
56
|
+
label: this.$t1("异步推送数据"),
|
|
57
|
+
name: "request_async_setting_list",
|
|
58
|
+
inited: false,
|
|
59
|
+
},
|
|
60
|
+
{ label: this.$t1("组织环境设置"), name: "bd_company_env_list", inited: false },
|
|
61
|
+
{ label: this.$t1("逻辑参数"), name: "logic_param_list", inited: false },
|
|
62
|
+
// {label: this.$t1("操作日志编码"), name: "logic_param_list1", inited: false},
|
|
63
|
+
{ label: this.$t1("上传文件服务"), name: "logic_param_list2", inited: false },
|
|
64
|
+
],
|
|
65
|
+
};
|
|
53
66
|
},
|
|
54
67
|
methods: {
|
|
55
68
|
chooseTab(item) {
|
|
56
69
|
this.activeName = item.name;
|
|
57
70
|
item.inited = true;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
};
|
|
61
74
|
</script>
|
|
62
75
|
|
|
63
|
-
|
|
64
|
-
<style scoped>
|
|
65
|
-
|
|
66
|
-
</style>
|
|
76
|
+
<style scoped></style>
|