cloud-web-corejs 1.0.68 → 1.0.70
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 +2 -2
- package/src/components/VabUpload/mixins.js +1 -1
- package/src/components/excelExport/mixins.js +1 -2
- package/src/components/fileLibrary/index.vue +3 -3
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +0 -2
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +2 -1
- package/src/components/jsonImport/index.js +17 -17
- package/src/components/jsonImport/mixins.js +1 -1
- package/src/components/table/index.js +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +35 -5
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +40 -10
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +58 -91
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +8 -1
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +2 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +8 -6
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +6 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +13 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +5 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +25 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +5 -5
- 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-table-export-button/table-export-button-editor.vue +26 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +103 -18
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +44 -4
- package/src/components/xform/form-render/container-item/data-table-item.vue +5 -4
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
- package/src/components/xform/form-render/indexMixin.js +1 -1
- package/src/mixins/selectDialog/index.js +1 -1
- package/src/store/config/index.js +1 -1
- package/src/store/modules/permission.js +1 -1
- package/src/utils/request.js +1 -1
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/edit.vue +6 -2
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/list.vue +4 -2
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +1 -1
- package/src/views/bd/setting/form_template/mixins/edit.js +1 -1
- package/src/views/bd/setting/form_template/mixins/list.js +1 -1
- package/src/views/bd/setting/form_template/mixins/wf_list.js +1 -1
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +4 -4
- package/src/views/bd/setting/form_template/wf_list.vue +1 -1
- package/src/views/bd/setting/table_model/edit.vue +1 -1
- package/src/views/bd/setting/table_model/list.vue +4 -2
- package/src/views/bd/setting/table_model/mixins/list.js +14 -14
- package/src/views/user/bill_setting/edit.vue +1 -1
- package/src/views/user/bill_setting/list.vue +1 -1
- package/src/views/user/common_attribute/itemEdit.vue +2 -2
- package/src/views/user/common_attribute/list.vue +1 -1
- package/src/views/user/common_script/edit.vue +1 -1
- package/src/views/user/common_script/list.vue +1 -1
- package/src/views/user/company_info/dialog.vue +19 -9
- package/src/views/user/company_info/edit.vue +1 -1
- package/src/views/user/extend_datasource/dialog.vue +1 -0
- package/src/views/user/extend_datasource/edit.vue +3 -0
- package/src/views/user/extend_datasource/list.vue +2 -1
- package/src/views/user/groups/edit.vue +2 -0
- package/src/views/user/groups/list.vue +1 -0
- package/src/views/user/home/dev.vue +29 -0
- package/src/views/user/home/index.vue +16 -6
- package/src/views/user/outLink/index.vue +17 -0
- package/src/views/user/push_setting/list.vue +2 -2
- package/src/views/user/user/edit.vue +2 -2
- package/src/views/user/user/form_edit.vue +117 -49
- package/src/views/user/user/form_list.vue +1 -0
- package/src/views/user/user/info.vue +21 -91
- package/src/views/user/user/list.vue +563 -563
@@ -41,24 +41,66 @@
|
|
41
41
|
stripe=""
|
42
42
|
>
|
43
43
|
<el-table-column type="index" width="35" fixed="left"></el-table-column>
|
44
|
-
<el-table-column :label="i18nt('
|
45
|
-
<template slot-scope="
|
46
|
-
<el-select v-model="
|
47
|
-
<el-option
|
48
|
-
|
44
|
+
<el-table-column :label="i18nt('服务')" width="150">
|
45
|
+
<template slot-scope="{row}">
|
46
|
+
<el-select v-model="row.serveType" @change="changeServeType(row)">
|
47
|
+
<el-option :value="1" label="正式"></el-option>
|
48
|
+
<el-option :value="2" label="UAT"></el-option>
|
49
|
+
<el-option :value="3" label="测试"></el-option>
|
50
|
+
<el-option :value="4" label="自定义"></el-option>
|
49
51
|
</el-select>
|
50
|
-
|
51
52
|
</template>
|
52
53
|
</el-table-column>
|
53
|
-
<el-table-column :label="i18nt('
|
54
|
-
<template slot-scope="
|
55
|
-
<el-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
54
|
+
<el-table-column :label="i18nt('自定义服务')" width="150">
|
55
|
+
<template slot-scope="{row}">
|
56
|
+
<el-input v-model="row.serveName" clearable :disabled="row.serveType!==4"></el-input>
|
57
|
+
</template>
|
58
|
+
</el-table-column>
|
59
|
+
<el-table-column :label="i18nt('组织')" width="250">
|
60
|
+
<template slot-scope="{row,$index}">
|
61
|
+
<el-input
|
62
|
+
class="search-input"
|
63
|
+
:value="getCompanyNames(row)"
|
64
|
+
clearable
|
65
|
+
@clear="
|
66
|
+
row.companyInfos = [];
|
67
|
+
"
|
68
|
+
v-el-readonly
|
69
|
+
>
|
70
|
+
<i slot="suffix" class="el-input__icon el-icon-search"
|
71
|
+
@click="openCompanyDialog(row, $index)"></i>
|
72
|
+
</el-input>
|
73
|
+
</template>
|
74
|
+
</el-table-column>
|
75
|
+
<el-table-column :label="i18nt('流程模板')" width="150">
|
76
|
+
<template slot-scope="{row}">
|
77
|
+
<el-input v-model="row.modelKey" clearable></el-input>
|
78
|
+
</template>
|
79
|
+
</el-table-column>
|
80
|
+
<el-table-column :label="i18nt('节点')" width="250">
|
81
|
+
<template slot-scope="{row}">
|
82
|
+
<el-input v-model="row.taskSteps" clearable></el-input>
|
60
83
|
</template>
|
61
84
|
</el-table-column>
|
85
|
+
|
86
|
+
<!-- <el-table-column :label="i18nt('流程模板')" width="250" prop="label">
|
87
|
+
<template slot-scope="scope">
|
88
|
+
<el-select v-model="scope.row.modelId" @change="changeModelId">
|
89
|
+
<el-option v-for="(wfDefItem,index) in wfDefItems" :key="index" :value="wfDefItem.modelId"
|
90
|
+
:label="wfDefItem.modelName"></el-option>
|
91
|
+
</el-select>
|
92
|
+
|
93
|
+
</template>
|
94
|
+
</el-table-column>
|
95
|
+
<el-table-column :label="i18nt('流程节点')" width="550" prop="prop">
|
96
|
+
<template slot-scope="scope">
|
97
|
+
<el-checkbox-group v-model="scope.row.nodeIds" v-if="!!wfNodeMap[scope.row.modelId]">
|
98
|
+
<el-checkbox v-for="(node,index) in wfNodeMap[scope.row.modelId]" :key="index"
|
99
|
+
:label="node.nodeId">{{ node.nodeName }}
|
100
|
+
</el-checkbox>
|
101
|
+
</el-checkbox-group>
|
102
|
+
</template>
|
103
|
+
</el-table-column>-->
|
62
104
|
<el-table-column :label="i18nt('designer.setting.actionColumn')" width="100" align="center">
|
63
105
|
<template #header>
|
64
106
|
<span>{{ i18nt('designer.setting.actionColumn') }}</span>
|
@@ -88,14 +130,19 @@
|
|
88
130
|
</el-button>
|
89
131
|
</div>
|
90
132
|
</el-dialog>
|
133
|
+
<companyInfoDialog v-if="showCompanyInfoDialog" :visiable.sync="showCompanyInfoDialog"
|
134
|
+
@confirm="confirmCompanyDialog" :multi="true" :allCompany="true" :rows="currentCompanyInfos"
|
135
|
+
fieldKey="companyCode"/>
|
91
136
|
</div>
|
92
137
|
</template>
|
93
138
|
|
94
139
|
<script>
|
95
140
|
import i18n from "../../../../../components/xform/utils/i18n"
|
141
|
+
import companyInfoDialog from "@base/views/user/company_info/dialog.vue";
|
96
142
|
|
97
143
|
export default {
|
98
144
|
name: "wfFlag-editor",
|
145
|
+
components: {companyInfoDialog},
|
99
146
|
mixins: [i18n],
|
100
147
|
props: {
|
101
148
|
designer: Object,
|
@@ -108,7 +155,12 @@ export default {
|
|
108
155
|
dialogVisible: false,
|
109
156
|
tableData: [],
|
110
157
|
wfDefItems: [],
|
111
|
-
wfNodeMap: {}
|
158
|
+
wfNodeMap: {},
|
159
|
+
|
160
|
+
currentCompanyInfos: [],
|
161
|
+
operateIndex: 0,
|
162
|
+
showCompanyInfoDialog: false
|
163
|
+
|
112
164
|
}
|
113
165
|
},
|
114
166
|
computed: {
|
@@ -160,10 +212,14 @@ export default {
|
|
160
212
|
});
|
161
213
|
},
|
162
214
|
addItem() {
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
215
|
+
let newItem = {
|
216
|
+
serveType: null,
|
217
|
+
serveName: null,
|
218
|
+
modelKey: null,
|
219
|
+
taskSteps: null,
|
220
|
+
companyInfos: []
|
221
|
+
}
|
222
|
+
this.tableData.push(newItem);
|
167
223
|
},
|
168
224
|
colSubmit() {
|
169
225
|
this.dialogVisible = !1;
|
@@ -189,6 +245,35 @@ export default {
|
|
189
245
|
if (val) {
|
190
246
|
this.optionModel.enabledByWf = false;
|
191
247
|
}
|
248
|
+
},
|
249
|
+
changeServeType(row) {
|
250
|
+
// modelKey
|
251
|
+
let map = {
|
252
|
+
1: "prod",
|
253
|
+
2: "at",
|
254
|
+
3: "dev"
|
255
|
+
}
|
256
|
+
let serveName = null;
|
257
|
+
let serveType = row.serveType;
|
258
|
+
if (serveType && map[serveType]) {
|
259
|
+
serveName = map[row.serveType];
|
260
|
+
}
|
261
|
+
row.serveName = serveName;
|
262
|
+
},
|
263
|
+
openCompanyDialog(row, rowIndex) {
|
264
|
+
this.operateIndex = rowIndex;
|
265
|
+
this.currentCompanyInfos = row.companyInfos || [];
|
266
|
+
this.showCompanyInfoDialog = true;
|
267
|
+
|
268
|
+
},
|
269
|
+
confirmCompanyDialog(rows) {
|
270
|
+
if (rows.length) {
|
271
|
+
let item = this.tableData[this.operateIndex];
|
272
|
+
item.companyInfos = rows;
|
273
|
+
}
|
274
|
+
},
|
275
|
+
getCompanyNames(item) {
|
276
|
+
return item.companyInfos.map(item => item.companyName).join(',');
|
192
277
|
}
|
193
278
|
}
|
194
279
|
}
|
@@ -1999,10 +1999,11 @@ export const advancedFields = [
|
|
1999
1999
|
color: "",
|
2000
2000
|
fontWeight: "normal"
|
2001
2001
|
},
|
2002
|
-
data: [
|
2003
|
-
|
2004
|
-
|
2005
|
-
|
2002
|
+
data: [
|
2003
|
+
{
|
2004
|
+
value: 1048,
|
2005
|
+
name: 'Search Engine'
|
2006
|
+
},
|
2006
2007
|
{
|
2007
2008
|
value: 735,
|
2008
2009
|
name: 'Direct'
|
@@ -2047,6 +2048,7 @@ export const advancedFields = [
|
|
2047
2048
|
echarBarOption: {
|
2048
2049
|
backgroundColor: "#fff",
|
2049
2050
|
color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
|
2051
|
+
colors: [],
|
2050
2052
|
title: {
|
2051
2053
|
show: true,
|
2052
2054
|
top: '5px',
|
@@ -2219,6 +2221,7 @@ export const advancedFields = [
|
|
2219
2221
|
echarCategoryOption: {
|
2220
2222
|
backgroundColor: "#fff",
|
2221
2223
|
color: ["#5BC1D7", "#FF8A3D", "#56C271", "#694ED6", "#C033A1", "#FFCC10"],
|
2224
|
+
colors: [],
|
2222
2225
|
title: {
|
2223
2226
|
show: true,
|
2224
2227
|
top: '5px',
|
@@ -2329,6 +2332,23 @@ export const advancedFields = [
|
|
2329
2332
|
shadowBlur: 4,
|
2330
2333
|
shadowOffsetY: 6
|
2331
2334
|
},
|
2335
|
+
itemStyle: {
|
2336
|
+
color: {
|
2337
|
+
type: 'linear',
|
2338
|
+
x: 0.5,
|
2339
|
+
y: 0.5,
|
2340
|
+
r: 0.5,
|
2341
|
+
colorStops: [{
|
2342
|
+
offset: 0, color: '#08C084' // 0% 处的颜色
|
2343
|
+
}, {
|
2344
|
+
offset: 1, color: '#97EACE' // 100% 处的颜色
|
2345
|
+
}],
|
2346
|
+
},
|
2347
|
+
cap: 'round',
|
2348
|
+
shadowColor: '#08C08450',
|
2349
|
+
shadowBlur: 4,
|
2350
|
+
shadowOffsetY: 6
|
2351
|
+
},
|
2332
2352
|
emphasis: {
|
2333
2353
|
scale: 1,
|
2334
2354
|
focus: 'series'
|
@@ -2363,6 +2383,23 @@ export const advancedFields = [
|
|
2363
2383
|
shadowBlur: 4,
|
2364
2384
|
shadowOffsetY: 6
|
2365
2385
|
},
|
2386
|
+
itemStyle: {
|
2387
|
+
color: {
|
2388
|
+
type: 'linear',
|
2389
|
+
x: 0.5,
|
2390
|
+
y: 0.5,
|
2391
|
+
r: 0.5,
|
2392
|
+
colorStops: [{
|
2393
|
+
offset: 0, color: '#FF6116' // 0% 处的颜色
|
2394
|
+
}, {
|
2395
|
+
offset: 1, color: '#F9A980' // 100% 处的颜色
|
2396
|
+
}],
|
2397
|
+
},
|
2398
|
+
cap: 'round',
|
2399
|
+
shadowColor: '#FF611650',
|
2400
|
+
shadowBlur: 4,
|
2401
|
+
shadowOffsetY: 6
|
2402
|
+
},
|
2366
2403
|
emphasis: {
|
2367
2404
|
scale: 1,
|
2368
2405
|
focus: 'series'
|
@@ -2728,6 +2765,8 @@ export const advancedFields = [
|
|
2728
2765
|
exportFileName: '导出',
|
2729
2766
|
tableRef: '',
|
2730
2767
|
tableExportParam: "",
|
2768
|
+
showImageAtTable: false,
|
2769
|
+
|
2731
2770
|
onCreated: "",
|
2732
2771
|
onMounted: "",
|
2733
2772
|
wfFlag: 1,
|
@@ -2832,6 +2871,7 @@ export const advancedFields = [
|
|
2832
2871
|
label: "导入",
|
2833
2872
|
columnWidth: "200px",
|
2834
2873
|
size: "",
|
2874
|
+
importFileLimitSize: 200,
|
2835
2875
|
// displayStyle: "block",
|
2836
2876
|
disabled: !1,
|
2837
2877
|
hidden: !1,
|
@@ -2,7 +2,8 @@
|
|
2
2
|
<vxe-grid :ref="widget.id" v-bind="vxeOption" :auto-resize="true" v-show="!widget.options.hidden"
|
3
3
|
@resizable-change="$vxeTableUtil.onColumnWitchChange" @custom="$vxeTableUtil.customHandle"
|
4
4
|
@checkbox-change="handleCheckboxChange" @checkbox-all="handleCheckboxAll"
|
5
|
-
@cell-dblclick="handleCellDblclick" :class="dataTableConfig.class" :data="fieldModel"
|
5
|
+
@cell-dblclick="handleCellDblclick" :class="dataTableConfig.class" :data="fieldModel"
|
6
|
+
:span-method="mergeRowMethod">
|
6
7
|
<template #form>
|
7
8
|
<!-- <div v-if="widget.options.showSearchArea" class="clearfix screen-btns">
|
8
9
|
<div class="fl">
|
@@ -191,7 +192,7 @@
|
|
191
192
|
:field="fieldWidget"
|
192
193
|
:form-model="globalModel.formModel"
|
193
194
|
:designer="null"
|
194
|
-
:key="fieldWidget.id"
|
195
|
+
:key="fieldWidget.id+'-'+obj.rowIndex"
|
195
196
|
:parent-widget="widget"
|
196
197
|
:columnConfig="obj.column.params.columnConfig"
|
197
198
|
:subFormRowIndex="obj.rowIndex"
|
@@ -209,7 +210,7 @@
|
|
209
210
|
:field="obj.column.params.widget"
|
210
211
|
:form-model="globalModel.formModel"
|
211
212
|
:designer="null"
|
212
|
-
:key="obj.column.params.widget.id"
|
213
|
+
:key="obj.column.params.widget.id+'-'+obj.rowIndex"
|
213
214
|
:parent-widget="widget"
|
214
215
|
:columnConfig="obj.column.params.columnConfig"
|
215
216
|
:subFormRowIndex="obj.rowIndex"
|
@@ -227,7 +228,7 @@
|
|
227
228
|
:field="obj.column.params.editWidget"
|
228
229
|
:form-model="globalModel.formModel"
|
229
230
|
:designer="null"
|
230
|
-
:key="obj.column.params.editWidget.id"
|
231
|
+
:key="obj.column.params.editWidget.id+'-'+obj.rowIndex"
|
231
232
|
:parent-widget="widget"
|
232
233
|
:columnConfig="obj.column.params.columnConfig"
|
233
234
|
:subFormRowIndex="obj.rowIndex"
|