cloud-web-corejs 1.0.54-dev.64 → 1.0.54-dev.65
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/excelExport/mixins.js +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -982
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +39 -10
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +57 -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/indexMixin.js +1 -771
- 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/table-column-dialog.vue +1 -1
- 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-table-export-button/table-export-button-editor.vue +24 -8
- package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +43 -4
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1668
- package/src/store/config/index.js +598 -1
- package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
- package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.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/mixins/list.js +1 -1
- 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/edit.vue +1 -1
- package/src/views/user/push_setting/list.vue +2 -2
- package/src/views/user/user/edit.vue +2 -2
- package/src/views/user/user/list.vue +3 -3
- package/src/views/user/wf/wf_obj_config/list.vue +1 -1
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
@@ -13,7 +13,7 @@
|
|
13
13
|
<el-form-item :label="i18nt('启用流程')">
|
14
14
|
<el-switch v-model="formConfig.wfEnabled" @change="designer.vueInstance.reportTemplate.objTypeName=null"></el-switch>
|
15
15
|
</el-form-item>
|
16
|
-
<el-form-item :label="i18nt('
|
16
|
+
<el-form-item :label="i18nt('默认流程单据类型名称')">
|
17
17
|
<el-input type="text" v-model="designer.vueInstance.reportTemplate.objTypeName"></el-input>
|
18
18
|
</el-form-item>
|
19
19
|
<!-- <el-form-item label="流程单据定义">
|
@@ -121,7 +121,7 @@
|
|
121
121
|
<el-table-column :label="i18nt('导出类型')" width="200" prop="formatS">
|
122
122
|
<template slot-scope="scope">
|
123
123
|
<el-select v-model="scope.row.exportType" clearable>
|
124
|
-
<el-option value="
|
124
|
+
<el-option value="Image2" label="图片"></el-option>
|
125
125
|
<el-option value="Number" label="数值"></el-option>
|
126
126
|
</el-select>
|
127
127
|
</template>
|
@@ -196,6 +196,24 @@
|
|
196
196
|
|
197
197
|
<el-form-item label-width="0"><el-divider class="custom-divider-margin-top">渐变色</el-divider></el-form-item>-->
|
198
198
|
|
199
|
+
<el-form-item label-width="0">
|
200
|
+
<el-divider class="custom-divider-margin-top">自定义配色</el-divider>
|
201
|
+
</el-form-item>
|
202
|
+
<draggable tag="ul" class="draggable-box" :list="optionModel.echarBarOption.colors"
|
203
|
+
v-bind="{ group: 'optionsGroup', ghostClass: 'ghost', handle: '.el-icon-s-operation' }">
|
204
|
+
<li v-for="(colorItem, index) in optionModel.echarBarOption.colors" :key="index">
|
205
|
+
<i class="el-icon-s-operation"></i>
|
206
|
+
<el-color-picker v-model="optionModel.echarBarOption.colors[index]"></el-color-picker>
|
207
|
+
<!-- {{colorItem}} -->
|
208
|
+
<el-button circle plain size="mini" type="danger" @click="deleteColor(index)" icon="el-icon-minus"
|
209
|
+
class="col-delete-button"></el-button>
|
210
|
+
</li>
|
211
|
+
</draggable>
|
212
|
+
<el-button type="text" @click="addColor" icon="el-icon-circle-plus-outline" class="add-option">{{
|
213
|
+
i18nt('新增配色')
|
214
|
+
}}
|
215
|
+
</el-button>
|
216
|
+
|
199
217
|
<requestaccessDialog
|
200
218
|
v-if="showRequestaccessDialog"
|
201
219
|
:visiable.sync="showRequestaccessDialog"
|
@@ -336,6 +354,13 @@ export default {
|
|
336
354
|
this.optionModel.accessName = row.accessName;
|
337
355
|
this.optionModel.accessCode = row.accessCode;
|
338
356
|
}
|
357
|
+
},
|
358
|
+
addColor() {
|
359
|
+
if(!this.optionModel.echarBarOption.colors)this.$set(this.optionModel.echarBarOption,'colors',[]);
|
360
|
+
this.optionModel.echarBarOption.colors.push('');
|
361
|
+
},
|
362
|
+
deleteColor(index) {
|
363
|
+
this.optionModel.echarBarOption.colors.splice(index, 1);
|
339
364
|
}
|
340
365
|
}
|
341
366
|
};
|
@@ -203,11 +203,11 @@
|
|
203
203
|
<el-form-item label-width="0">
|
204
204
|
<el-divider class="custom-divider-margin-top">自定义配色</el-divider>
|
205
205
|
</el-form-item>
|
206
|
-
<draggable tag="ul" class="draggable-box" :list="optionModel.echarCategoryOption.
|
206
|
+
<draggable tag="ul" class="draggable-box" :list="optionModel.echarCategoryOption.colors"
|
207
207
|
v-bind="{ group: 'optionsGroup', ghostClass: 'ghost', handle: '.el-icon-s-operation' }">
|
208
|
-
<li v-for="(colorItem, index) in optionModel.echarCategoryOption.
|
208
|
+
<li v-for="(colorItem, index) in optionModel.echarCategoryOption.colors" :key="index">
|
209
209
|
<i class="el-icon-s-operation"></i>
|
210
|
-
<el-color-picker v-model="optionModel.echarCategoryOption.
|
210
|
+
<el-color-picker v-model="optionModel.echarCategoryOption.colors[index]"></el-color-picker>
|
211
211
|
<!-- {{colorItem}} -->
|
212
212
|
<el-button circle plain size="mini" type="danger" @click="deleteColor(index)" icon="el-icon-minus"
|
213
213
|
class="col-delete-button"></el-button>
|
@@ -356,10 +356,10 @@ export default {
|
|
356
356
|
},
|
357
357
|
methods: {
|
358
358
|
addColor() {
|
359
|
-
this.optionModel.echarCategoryOption.
|
359
|
+
this.optionModel.echarCategoryOption.colors.push('');
|
360
360
|
},
|
361
361
|
deleteColor(index) {
|
362
|
-
this.optionModel.echarCategoryOption.
|
362
|
+
this.optionModel.echarCategoryOption.colors.splice(index, 1);
|
363
363
|
},
|
364
364
|
addOption() {
|
365
365
|
this.nameSet.push('');
|
@@ -9,21 +9,27 @@
|
|
9
9
|
<el-form-item label="表格唯一名称">
|
10
10
|
<el-input v-model="optionModel.tableRef"></el-input>
|
11
11
|
</el-form-item>
|
12
|
+
<el-form-item label="导出列表显示图片">
|
13
|
+
<el-switch v-model="optionModel.showImageAtTable" @change="changeShowImageAtTable"></el-switch>
|
14
|
+
</el-form-item>
|
12
15
|
<el-form-item label="导出每页查询数量">
|
13
|
-
<base-input-number v-model="optionModel.exportPageSize"
|
16
|
+
<base-input-number v-model="optionModel.exportPageSize"
|
17
|
+
:max="optionModel.showImageAtTable?150:1000"></base-input-number>
|
18
|
+
</el-form-item>
|
19
|
+
<el-form-item label="导出参数" label-width="150px">
|
20
|
+
<a href="javascript:void(0);" class="a-link link-oneLind"
|
21
|
+
@click="editEventHandler('tableExportParam', eventParams)">
|
22
|
+
<span>{{ optionModel.tableExportParam }}</span>
|
23
|
+
<i class="el-icon-edit"></i>
|
24
|
+
</a>
|
14
25
|
</el-form-item>
|
15
|
-
<el-form-item label="导出参数" label-width="150px">
|
16
|
-
<a href="javascript:void(0);" class="a-link link-oneLind" @click="editEventHandler('tableExportParam', eventParams)">
|
17
|
-
<span>{{ optionModel.tableExportParam }}</span>
|
18
|
-
<i class="el-icon-edit"></i>
|
19
|
-
</a>
|
20
|
-
</el-form-item>
|
21
26
|
</div>
|
22
27
|
</template>
|
23
28
|
|
24
29
|
<script>
|
25
30
|
import i18n from "../../../../../../components/xform/utils/i18n";
|
26
|
-
import eventMixin
|
31
|
+
import eventMixin
|
32
|
+
from "../../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin";
|
27
33
|
|
28
34
|
export default {
|
29
35
|
name: "table-export-button-editor",
|
@@ -38,6 +44,16 @@ export default {
|
|
38
44
|
eventParams: [],
|
39
45
|
};
|
40
46
|
},
|
47
|
+
methods: {
|
48
|
+
changeShowImageAtTable(val) {
|
49
|
+
if (val) {
|
50
|
+
let exportPageSize = this.optionModel.exportPageSize || 0;
|
51
|
+
if (exportPageSize > 150) {
|
52
|
+
this.optionModel.exportPageSize = 150
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
41
57
|
};
|
42
58
|
</script>
|
43
59
|
|
@@ -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,
|