cloud-web-corejs 1.0.54-dev.744 → 1.0.54-dev.746
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 +192 -192
- package/src/App.vue +73 -71
- package/src/components/baseArea/index.vue +1628 -1628
- package/src/components/fileLibrary/categoryMoveDialog.vue +109 -109
- package/src/components/fileLibrary/fileObjAuthDialog.vue +297 -298
- package/src/components/fileLibrary/index.vue +1109 -1110
- package/src/components/fileLibrary/propertiesDialog.vue +190 -190
- package/src/components/fileLibrary/recycleBinDialog.vue +237 -236
- package/src/components/wf/mixins/setCandidateDialog.js +217 -217
- package/src/components/wf/mixins/setCandidateDialog2.js +252 -252
- package/src/components/xform/docs//345/257/271/346/257/224/345/212/237/350/203/275/350/220/275/345/234/260/346/226/271/346/241/210.md +986 -986
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +971 -0
- package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +408 -0
- package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +272 -272
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +216 -216
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +928 -928
- package/src/components/xform/form-designer/index.vue +195 -195
- package/src/components/xform/form-designer/indexMixin.js +848 -848
- package/src/components/xform/form-designer/setting-panel/index.vue +313 -314
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +124 -124
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +369 -369
- package/src/components/xform/form-designer/widget-panel/index.vue +389 -389
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +343 -343
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +4531 -4531
- package/src/components/xform/form-render/container-item/data-table-mixin.js +4748 -4576
- package/src/components/xform/form-render/container-item/tab-item.vue +125 -125
- package/src/components/xform/form-render/indexMixin.js +5061 -5078
- package/src/components/xform/lang/en-US.js +457 -457
- package/src/components/xform/lang/zh-CN.js +628 -628
- package/src/components/xform/utils/formHttp.js +162 -0
- package/src/components/xform/utils/util.js +1585 -1554
- package/src/index.js +344 -230
- package/src/layout/components/AppMain.vue +122 -122
- package/src/layout/components/extractedCode/viewDialog.vue +207 -207
- package/src/layout/components/langTool.vue +128 -123
- package/src/layout/defaultLayout.vue +164 -158
- package/src/permission.js +185 -135
- package/src/store/config/index.js +667 -669
- package/src/store/modules/micro.js +46 -0
- package/src/store/modules/permission.js +461 -373
- package/src/store/modules/user.js +419 -415
- package/src/utils/auth.js +27 -1
- package/src/utils/index.js +579 -6
- package/src/utils/keepAlive.js +4 -0
- package/src/utils/menuAdapter.js +183 -0
- package/src/utils/request.js +417 -28
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +483 -491
- package/src/views/bd/setting/form_script/form_list.vue +174 -174
- package/src/views/bd/setting/form_script/mixins/form_list.js +330 -330
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +171 -171
- package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +253 -254
- package/src/views/user/menuFallback/index.vue +123 -0
- package/src/views/user/wf/wfReport/index.vue +625 -619
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-drawer :title="$t1('表单设计({formName})',{formName})" :visible.sync="showDesingerDialog" :modal="false"
|
|
3
|
-
:destroy-on-close="true"
|
|
4
|
-
size="90%" direction="rtl"
|
|
5
|
-
class="designer-drawer1" :class="[isFullscreen ? 'is-fullscreen' : '']" @close="handleFormDesignClose">
|
|
6
|
-
<el-tabs v-model="formDesTabs" type="card" class="tab-boxOnly" :stretch="true">
|
|
7
|
-
<el-tab-pane :label="$t1('设计器')" name="first">
|
|
8
|
-
<designer ref="designer" :formTemplate="formTemplate" @customConfirm="customConfirm" :columnFlag="true"
|
|
9
|
-
:widgetList="widgetList" :sourceData="sourceData"></designer>
|
|
10
|
-
</el-tab-pane>
|
|
11
|
-
</el-tabs>
|
|
12
|
-
<el-button class="isFullIcon" v-if="!isFullscreen" @click="handleFullscreen">
|
|
13
|
-
<el-tooltip effect="dark" :content="$t1('全屏')" placement="top">
|
|
14
|
-
<i class="iconfont icon-quanping"></i>
|
|
15
|
-
</el-tooltip>
|
|
16
|
-
|
|
17
|
-
</el-button>
|
|
18
|
-
<el-button class="isFullIcon" v-else @click="handleFullscreen">
|
|
19
|
-
<el-tooltip effect="dark" :content="$t1('缩小')" placement="top">
|
|
20
|
-
<i class="iconfont icon-suoxiao"></i>
|
|
21
|
-
</el-tooltip>
|
|
22
|
-
</el-button>
|
|
23
|
-
</el-drawer>
|
|
24
|
-
</template>
|
|
25
|
-
<script>
|
|
26
|
-
// import designer from "@base/views/user/form/vform/designer.vue";
|
|
27
|
-
import PopupManager from 'element-ui/src/utils/popup/popup-manager.js'
|
|
28
|
-
export default {
|
|
29
|
-
props: {
|
|
30
|
-
column: Object,
|
|
31
|
-
sourceData:Object
|
|
32
|
-
},
|
|
33
|
-
components: {
|
|
34
|
-
designer: () => import("@base/views/user/form/vform/designer.vue"),
|
|
35
|
-
},
|
|
36
|
-
inject: ['getReportTemplate'],
|
|
37
|
-
data() {
|
|
38
|
-
return {
|
|
39
|
-
showDesingerDialog: true,
|
|
40
|
-
formDesTabs: 'first',
|
|
41
|
-
showFormScriptList: false,
|
|
42
|
-
isFullscreen: false,
|
|
43
|
-
formCode: '',
|
|
44
|
-
formName: '',
|
|
45
|
-
widgetList: [],
|
|
46
|
-
formTemplate: null,
|
|
47
|
-
zIndex:null
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
created() {
|
|
51
|
-
let zIndex = PopupManager.nextZIndex();
|
|
52
|
-
this.zIndex = zIndex;
|
|
53
|
-
|
|
54
|
-
let formTemplate = this.getReportTemplate();
|
|
55
|
-
this.formTemplate = formTemplate;
|
|
56
|
-
this.formCode = formTemplate.formCode
|
|
57
|
-
this.formName = formTemplate.formName
|
|
58
|
-
|
|
59
|
-
this.widgetList = this.$baseLodash.cloneDeep(this.column.widgetList || [])
|
|
60
|
-
this.showDesingerDialog = true
|
|
61
|
-
|
|
62
|
-
},
|
|
63
|
-
mounted() {
|
|
64
|
-
/* this.$nextTick(() => {
|
|
65
|
-
this.$refs.designer.initDesigner(this.formCode)
|
|
66
|
-
}) */
|
|
67
|
-
},
|
|
68
|
-
methods: {
|
|
69
|
-
handleFormDesignClose() {
|
|
70
|
-
// this.$emit('closeFormDesignwinEvent')
|
|
71
|
-
this.showDesingerDialog = false
|
|
72
|
-
this.$emit('update:visiable',false)
|
|
73
|
-
},
|
|
74
|
-
handleFullscreen() {
|
|
75
|
-
this.isFullscreen = !this.isFullscreen
|
|
76
|
-
},
|
|
77
|
-
closeFormDesignwinEvent() {
|
|
78
|
-
this.$emit('closeFormDesignwinEvent')
|
|
79
|
-
},
|
|
80
|
-
reflushTemplateList() {
|
|
81
|
-
this.$emit('reflushTemplateList')
|
|
82
|
-
},
|
|
83
|
-
customConfirm(formJson) {
|
|
84
|
-
let widgetList = formJson.widgetList;
|
|
85
|
-
this.handleFormDesignClose();
|
|
86
|
-
this.$emit('confirm', widgetList)
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
</script>
|
|
92
|
-
<style lang="scss">
|
|
93
|
-
.designer-drawer1{
|
|
94
|
-
left: 150px;
|
|
95
|
-
right: 10px;
|
|
96
|
-
bottom: 10px;
|
|
97
|
-
top: 32px;
|
|
98
|
-
}
|
|
99
|
-
::v-deep .tab-boxOnly > .el-tabs__header {
|
|
100
|
-
position: absolute;
|
|
101
|
-
right: 130px;
|
|
102
|
-
top: 0;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
::v-deep .tab-boxOnly > .el-tabs__content .el-tab-pane .el-tab-pane {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
::v-deep .designer-drawer1.is-fullscreen .tab-boxOnly > .el-tabs__content .el-tab-pane .el-tab-pane {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<el-drawer :title="$t1('表单设计({formName})',{formName})" :visible.sync="showDesingerDialog" :modal="false"
|
|
3
|
+
:destroy-on-close="true"
|
|
4
|
+
size="90%" direction="rtl"
|
|
5
|
+
class="designer-drawer1" :class="[isFullscreen ? 'is-fullscreen' : '']" @close="handleFormDesignClose">
|
|
6
|
+
<el-tabs v-model="formDesTabs" type="card" class="tab-boxOnly" :stretch="true">
|
|
7
|
+
<el-tab-pane :label="$t1('设计器')" name="first">
|
|
8
|
+
<designer ref="designer" :formTemplate="formTemplate" @customConfirm="customConfirm" :columnFlag="true"
|
|
9
|
+
:widgetList="widgetList" :sourceData="sourceData"></designer>
|
|
10
|
+
</el-tab-pane>
|
|
11
|
+
</el-tabs>
|
|
12
|
+
<el-button class="isFullIcon" v-if="!isFullscreen" @click="handleFullscreen">
|
|
13
|
+
<el-tooltip effect="dark" :content="$t1('全屏')" placement="top">
|
|
14
|
+
<i class="iconfont icon-quanping"></i>
|
|
15
|
+
</el-tooltip>
|
|
16
|
+
|
|
17
|
+
</el-button>
|
|
18
|
+
<el-button class="isFullIcon" v-else @click="handleFullscreen">
|
|
19
|
+
<el-tooltip effect="dark" :content="$t1('缩小')" placement="top">
|
|
20
|
+
<i class="iconfont icon-suoxiao"></i>
|
|
21
|
+
</el-tooltip>
|
|
22
|
+
</el-button>
|
|
23
|
+
</el-drawer>
|
|
24
|
+
</template>
|
|
25
|
+
<script>
|
|
26
|
+
// import designer from "@base/views/user/form/vform/designer.vue";
|
|
27
|
+
import PopupManager from 'element-ui/src/utils/popup/popup-manager.js'
|
|
28
|
+
export default {
|
|
29
|
+
props: {
|
|
30
|
+
column: Object,
|
|
31
|
+
sourceData:Object
|
|
32
|
+
},
|
|
33
|
+
components: {
|
|
34
|
+
designer: () => import("@base/views/user/form/vform/designer.vue"),
|
|
35
|
+
},
|
|
36
|
+
inject: ['getReportTemplate'],
|
|
37
|
+
data() {
|
|
38
|
+
return {
|
|
39
|
+
showDesingerDialog: true,
|
|
40
|
+
formDesTabs: 'first',
|
|
41
|
+
showFormScriptList: false,
|
|
42
|
+
isFullscreen: false,
|
|
43
|
+
formCode: '',
|
|
44
|
+
formName: '',
|
|
45
|
+
widgetList: [],
|
|
46
|
+
formTemplate: null,
|
|
47
|
+
zIndex:null
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
created() {
|
|
51
|
+
let zIndex = PopupManager.nextZIndex();
|
|
52
|
+
this.zIndex = zIndex;
|
|
53
|
+
|
|
54
|
+
let formTemplate = this.getReportTemplate();
|
|
55
|
+
this.formTemplate = formTemplate;
|
|
56
|
+
this.formCode = formTemplate.formCode
|
|
57
|
+
this.formName = formTemplate.formName
|
|
58
|
+
|
|
59
|
+
this.widgetList = this.$baseLodash.cloneDeep(this.column.widgetList || [])
|
|
60
|
+
this.showDesingerDialog = true
|
|
61
|
+
|
|
62
|
+
},
|
|
63
|
+
mounted() {
|
|
64
|
+
/* this.$nextTick(() => {
|
|
65
|
+
this.$refs.designer.initDesigner(this.formCode)
|
|
66
|
+
}) */
|
|
67
|
+
},
|
|
68
|
+
methods: {
|
|
69
|
+
handleFormDesignClose() {
|
|
70
|
+
// this.$emit('closeFormDesignwinEvent')
|
|
71
|
+
this.showDesingerDialog = false
|
|
72
|
+
this.$emit('update:visiable',false)
|
|
73
|
+
},
|
|
74
|
+
handleFullscreen() {
|
|
75
|
+
this.isFullscreen = !this.isFullscreen
|
|
76
|
+
},
|
|
77
|
+
closeFormDesignwinEvent() {
|
|
78
|
+
this.$emit('closeFormDesignwinEvent')
|
|
79
|
+
},
|
|
80
|
+
reflushTemplateList() {
|
|
81
|
+
this.$emit('reflushTemplateList')
|
|
82
|
+
},
|
|
83
|
+
customConfirm(formJson) {
|
|
84
|
+
let widgetList = formJson.widgetList;
|
|
85
|
+
this.handleFormDesignClose();
|
|
86
|
+
this.$emit('confirm', widgetList)
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
</script>
|
|
92
|
+
<style lang="scss">
|
|
93
|
+
.designer-drawer1{
|
|
94
|
+
left: 150px;
|
|
95
|
+
right: 10px;
|
|
96
|
+
bottom: 10px;
|
|
97
|
+
top: 32px;
|
|
98
|
+
}
|
|
99
|
+
::v-deep .tab-boxOnly > .el-tabs__header {
|
|
100
|
+
position: absolute;
|
|
101
|
+
right: 130px;
|
|
102
|
+
top: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// ::v-deep .tab-boxOnly > .el-tabs__content .el-tab-pane .el-tab-pane {
|
|
106
|
+
// .detail-wrap .d-cont {
|
|
107
|
+
// height: calc(100vh - 158px) !important
|
|
108
|
+
// }
|
|
109
|
+
|
|
110
|
+
// .grid-height {
|
|
111
|
+
// height: calc(100vh - 126px) !important
|
|
112
|
+
// }
|
|
113
|
+
// }
|
|
114
|
+
|
|
115
|
+
// ::v-deep .designer-drawer1.is-fullscreen .tab-boxOnly > .el-tabs__content .el-tab-pane .el-tab-pane {
|
|
116
|
+
// .detail-wrap .d-cont {
|
|
117
|
+
// height: calc(100vh - 116px) !important
|
|
118
|
+
// }
|
|
119
|
+
|
|
120
|
+
// .grid-height {
|
|
121
|
+
// height: calc(100vh - var(--xform-column-grid-offset, 84px)) !important
|
|
122
|
+
// }
|
|
123
|
+
// }
|
|
124
|
+
</style>
|