cloud-web-corejs 1.0.54-dev.365 → 1.0.54-dev.366
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/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/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 +2 -0
- 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/package.json
CHANGED
|
@@ -26,7 +26,14 @@
|
|
|
26
26
|
:closable="!field.options.disabled && field.options.tabDeleteEnabled"
|
|
27
27
|
@close="deleteCallback(index)"
|
|
28
28
|
>
|
|
29
|
-
|
|
29
|
+
<el-tooltip
|
|
30
|
+
:enterable="false"
|
|
31
|
+
effect="dark"
|
|
32
|
+
:content="tag[field.options.tagLabelField]"
|
|
33
|
+
placement="bottom"
|
|
34
|
+
>
|
|
35
|
+
<span :style="tagStyle">{{ tag[field.options.tagLabelField] }}</span>
|
|
36
|
+
</el-tooltip>
|
|
30
37
|
</el-tag>
|
|
31
38
|
<el-button
|
|
32
39
|
icon="el-icon-plus"
|
|
@@ -101,6 +108,17 @@ export default {
|
|
|
101
108
|
multi() {
|
|
102
109
|
return this.limit !== 1;
|
|
103
110
|
},
|
|
111
|
+
tagStyle() {
|
|
112
|
+
let result = {};
|
|
113
|
+
let tagWidth = this.field.options.tagWidth;
|
|
114
|
+
if (tagWidth) {
|
|
115
|
+
result.width = tagWidth;
|
|
116
|
+
// result.overflow = "hidden";
|
|
117
|
+
result.textOverflow = "ellipsis";
|
|
118
|
+
// result.whiteSpace = "nowrap";
|
|
119
|
+
}
|
|
120
|
+
return result;
|
|
121
|
+
},
|
|
104
122
|
},
|
|
105
123
|
beforeCreate() {
|
|
106
124
|
/* 这里不能访问方法和属性!! */
|
|
@@ -12,8 +12,14 @@
|
|
|
12
12
|
:sub-form-row-id="subFormRowId"
|
|
13
13
|
>
|
|
14
14
|
<span class="button-sty" v-if="designState">
|
|
15
|
-
<el-button type="success" class="btn-connect" icon="iconfont icon-zancun" plain
|
|
16
|
-
|
|
15
|
+
<el-button type="success" class="btn-connect" icon="iconfont icon-zancun" plain
|
|
16
|
+
>暂存</el-button
|
|
17
|
+
>
|
|
18
|
+
<el-button
|
|
19
|
+
class="btn-connect"
|
|
20
|
+
icon="iconfont icon-chakanshuju"
|
|
21
|
+
type="success"
|
|
22
|
+
></el-button>
|
|
17
23
|
</span>
|
|
18
24
|
<temp-storage-button
|
|
19
25
|
v-else
|
|
@@ -102,7 +108,7 @@ export default {
|
|
|
102
108
|
|
|
103
109
|
this.initConfig();
|
|
104
110
|
},
|
|
105
|
-
initConfig(){
|
|
111
|
+
initConfig() {
|
|
106
112
|
let formCode = this.getFormRef()?.reportTemplate?.formCode;
|
|
107
113
|
let tempStorageCode = this.field.options.tempStorageCode || formCode;
|
|
108
114
|
let vue = this.getFormRef();
|
|
@@ -113,11 +119,25 @@ export default {
|
|
|
113
119
|
return this.formModel;
|
|
114
120
|
},
|
|
115
121
|
chooseConfirm: (tempStorageData) => {
|
|
116
|
-
|
|
122
|
+
vue.showFormContent = false;
|
|
123
|
+
this.$nextTick(() => {
|
|
124
|
+
this.getFormRef().setFormData(tempStorageData);
|
|
125
|
+
this.$nextTick(() => {
|
|
126
|
+
vue.showFormContent = true;
|
|
127
|
+
this.$nextTick(() => {
|
|
128
|
+
this.handleCustomEvent(
|
|
129
|
+
this.field.options.tempStorageConfirm,
|
|
130
|
+
["tempStorageData"],
|
|
131
|
+
[tempStorageData]
|
|
132
|
+
);
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
// this.getFormRef().setFormData(tempStorageData);
|
|
117
137
|
},
|
|
118
138
|
saveConfirm: () => {},
|
|
119
|
-
}
|
|
120
|
-
}
|
|
139
|
+
};
|
|
140
|
+
},
|
|
121
141
|
},
|
|
122
142
|
};
|
|
123
143
|
</script>
|
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>
|
|
@@ -902,6 +902,7 @@ const projectTagConfig = {
|
|
|
902
902
|
tagConfirmCallback: null,
|
|
903
903
|
tagDeleteCallback: null,
|
|
904
904
|
tabDeleteEnabled: true,
|
|
905
|
+
tagWidth: ""
|
|
905
906
|
};
|
|
906
907
|
|
|
907
908
|
const httpConfig = {
|
|
@@ -3686,6 +3687,7 @@ export const businessFields = [
|
|
|
3686
3687
|
|
|
3687
3688
|
tempStorageFlag:1,
|
|
3688
3689
|
tempStorageCode:null,
|
|
3690
|
+
tempStorageConfirm:null,
|
|
3689
3691
|
|
|
3690
3692
|
customClass: "",
|
|
3691
3693
|
onCreated: "",
|
|
@@ -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>
|