cloud-web-corejs 1.0.54-dev.237 → 1.0.54-dev.238
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/form-item-wrapper.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +6 -6
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +6 -6
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +9 -9
- package/src/layout/components/TagsView/index.vue +22 -7
- package/src/views/bd/setting/form_script/mixins/edit.js +8 -2
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<template>
|
2
|
-
<el-form-item :label="i18nt('designer.setting.labelIconPosition')">
|
2
|
+
<el-form-item :label="i18nt('designer.setting.labelIconPosition')" v-show="false">
|
3
3
|
<el-select v-model="optionModel.labelIconPosition">
|
4
4
|
<el-option v-for="item in labelIconPosition" :key="item.value" :label="item.label"
|
5
5
|
:value="item.value">
|
package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
<i class="el-icon-edit"></i>
|
13
13
|
</a>
|
14
14
|
</el-form-item>
|
15
|
-
<el-form-item :label="i18nt('仅显示明文文本')">
|
15
|
+
<!-- <el-form-item :label="i18nt('仅显示明文文本')">
|
16
16
|
<el-switch v-model="optionModel.showTextEnabled" @change="optionModel.showEncryptTextEnabled=false;optionModel.showLinkTextEnabled=false;"></el-switch>
|
17
17
|
</el-form-item>
|
18
18
|
<el-form-item :label="i18nt('仅显示密文文本')">
|
@@ -99,21 +99,21 @@
|
|
99
99
|
<el-input v-model="row.companyCodes" clearable></el-input>
|
100
100
|
</template>
|
101
101
|
</el-table-column>
|
102
|
-
|
102
|
+
<!– <el-table-column :label="i18nt('登录名')" width="150">
|
103
103
|
<template slot-scope="{row}">
|
104
104
|
<el-input v-model="row.loginAccounts" clearable></el-input>
|
105
105
|
</template>
|
106
|
-
</el-table-column
|
106
|
+
</el-table-column>–>
|
107
107
|
<el-table-column :label="i18nt('角色编码')" width="250">
|
108
108
|
<template slot-scope="{row}">
|
109
109
|
<el-input v-model="row.roleCodes" clearable></el-input>
|
110
110
|
</template>
|
111
111
|
</el-table-column>
|
112
|
-
|
112
|
+
<!– <el-table-column :label="i18nt('机构编码')" width="150">
|
113
113
|
<template slot-scope="{row}">
|
114
114
|
<el-input v-model="row.saleOrgCodes" clearable></el-input>
|
115
115
|
</template>
|
116
|
-
</el-table-column
|
116
|
+
</el-table-column>–>
|
117
117
|
<el-table-column :label="i18nt('设置')" width="150">
|
118
118
|
<template slot-scope="{row}">
|
119
119
|
<el-select v-model="row.type" clearable>
|
@@ -152,7 +152,7 @@
|
|
152
152
|
{{ i18nt('designer.hint.confirm') }}
|
153
153
|
</el-button>
|
154
154
|
</div>
|
155
|
-
</el-dialog
|
155
|
+
</el-dialog>-->
|
156
156
|
</div>
|
157
157
|
</template>
|
158
158
|
|
@@ -188,12 +188,12 @@ const ADVANCED_PROPERTIES = {
|
|
188
188
|
'round': 'round-editor',
|
189
189
|
'circle': 'circle-editor',
|
190
190
|
'icon': 'icon-editor',
|
191
|
-
'labelIconClass': 'labelIconClass-editor',
|
192
|
-
'labelIconPosition': 'labelIconPosition-editor',
|
193
|
-
'labelTooltip': 'labelTooltip-editor',
|
194
|
-
'appendButton': 'appendButton-editor',
|
195
|
-
'appendButtonDisabled': 'appendButtonDisabled-editor',
|
196
|
-
'buttonIcon': 'buttonIcon-editor',
|
191
|
+
// 'labelIconClass': 'labelIconClass-editor',
|
192
|
+
// 'labelIconPosition': 'labelIconPosition-editor',
|
193
|
+
// 'labelTooltip': 'labelTooltip-editor',
|
194
|
+
// 'appendButton': 'appendButton-editor',
|
195
|
+
// 'appendButtonDisabled': 'appendButtonDisabled-editor',
|
196
|
+
// 'buttonIcon': 'buttonIcon-editor',
|
197
197
|
|
198
198
|
|
199
199
|
}
|
@@ -442,8 +442,8 @@ export const containers = [
|
|
442
442
|
tableRef: "",
|
443
443
|
detailPaneContainer: true,
|
444
444
|
defaultCollapse:false,
|
445
|
-
onCreated: "",
|
446
|
-
onMounted: ""
|
445
|
+
/*onCreated: "",
|
446
|
+
onMounted: "",*/
|
447
447
|
}
|
448
448
|
},
|
449
449
|
{
|
@@ -951,9 +951,9 @@ export const basicFields = [
|
|
951
951
|
showWordLimit: !1,
|
952
952
|
prefixIcon: "",
|
953
953
|
suffixIcon: "",
|
954
|
-
appendButton: !1,
|
954
|
+
/*appendButton: !1,
|
955
955
|
appendButtonDisabled: !1,
|
956
|
-
buttonIcon: "el-icon-search"
|
956
|
+
buttonIcon: "el-icon-search",*/
|
957
957
|
onCreated: "",
|
958
958
|
onMounted: "",
|
959
959
|
onInput: "",
|
@@ -1005,7 +1005,7 @@ export const basicFields = [
|
|
1005
1005
|
validation: "",
|
1006
1006
|
validationHint: "",
|
1007
1007
|
customClass: "",
|
1008
|
-
labelIconClass: null,
|
1008
|
+
/*labelIconClass: null,
|
1009
1009
|
labelIconPosition: "rear",
|
1010
1010
|
labelTooltip: null,
|
1011
1011
|
minLength: null,
|
@@ -1015,7 +1015,7 @@ export const basicFields = [
|
|
1015
1015
|
suffixIcon: "",
|
1016
1016
|
appendButton: !1,
|
1017
1017
|
appendButtonDisabled: !1,
|
1018
|
-
buttonIcon: "el-icon-search"
|
1018
|
+
buttonIcon: "el-icon-search",*/
|
1019
1019
|
onCreated: "",
|
1020
1020
|
onMounted: "",
|
1021
1021
|
onInput: "",
|
@@ -1023,7 +1023,7 @@ export const basicFields = [
|
|
1023
1023
|
onFocus: "",
|
1024
1024
|
onBlur: "",
|
1025
1025
|
onValidate: "",
|
1026
|
-
onAppendButtonClick: "",
|
1026
|
+
// onAppendButtonClick: "",
|
1027
1027
|
widgetWidth: "",
|
1028
1028
|
accessType: "1",
|
1029
1029
|
...defaultWfConfig,
|
@@ -1734,9 +1734,9 @@ export const basicFields = [
|
|
1734
1734
|
{
|
1735
1735
|
type: "html-text",
|
1736
1736
|
icon: "html-text",
|
1737
|
-
commonFlag: !
|
1737
|
+
commonFlag: !1,
|
1738
1738
|
formItemFlag: !1,
|
1739
|
-
columnFlag:
|
1739
|
+
columnFlag: false,
|
1740
1740
|
options: {
|
1741
1741
|
name: "",
|
1742
1742
|
columnWidth: "200px",
|
@@ -27,12 +27,25 @@
|
|
27
27
|
<i class="el-icon-arrow-right" ayadmin-event="rightPage"
|
28
28
|
one-link-mark="yes" @click="$refs.scrollPane.handleScrollRight()"/>
|
29
29
|
</el-tooltip>
|
30
|
-
<el-
|
30
|
+
<el-dropdown style="margin-right:10px">
|
31
|
+
<span class="el-dropdown-link">
|
32
|
+
<i class="el-icon-more el-icon--right"></i>
|
33
|
+
</span>
|
34
|
+
<el-dropdown-menu slot="dropdown">
|
35
|
+
<el-dropdown-item @click.native="refreshSelectedTag($route)">
|
36
|
+
<i class="el-icon-refresh"/><span>{{ $t1('刷新') }}</span>
|
37
|
+
</el-dropdown-item>
|
38
|
+
<el-dropdown-item @click.native="closeAllTags(selectedTag)">
|
39
|
+
<i class="el-icon-close"/><span>{{ $t1('全部关闭') }}</span>
|
40
|
+
</el-dropdown-item>
|
41
|
+
</el-dropdown-menu>
|
42
|
+
</el-dropdown>
|
43
|
+
<!-- <el-tooltip :enterable="false" class="item" effect="dark" :content="$t1('刷新')" placement="bottom">
|
31
44
|
<i class="el-icon-refresh" @click="refreshSelectedTag($route)"/>
|
32
45
|
</el-tooltip>
|
33
46
|
<el-tooltip :enterable="false" class="item" effect="dark" :content="$t1('全部关闭')" placement="bottom">
|
34
47
|
<i class="el-icon-close" @click="closeAllTags(selectedTag)"/>
|
35
|
-
</el-tooltip>
|
48
|
+
</el-tooltip> -->
|
36
49
|
</div>
|
37
50
|
<!-- <ul v-show="visible" :style="{left:left+'px',top:top+'px'}" class="contextmenu">
|
38
51
|
<li @click="refreshSelectedTag(selectedTag)">Refresh</li>
|
@@ -191,11 +204,13 @@ export default {
|
|
191
204
|
})
|
192
205
|
},
|
193
206
|
closeAllTags(view) {
|
194
|
-
this.$
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
207
|
+
this.$baseConfirm(this.$t1('您确定要全部关闭吗?')).then(() => {
|
208
|
+
this.$store.dispatch('tagsView/delAllViews').then(({visitedViews}) => {
|
209
|
+
if (this.affixTags.some(tag => tag.path === view.path)) {
|
210
|
+
return
|
211
|
+
}
|
212
|
+
this.toLastView(visitedViews, view)
|
213
|
+
})
|
199
214
|
})
|
200
215
|
},
|
201
216
|
toLastView(visitedViews, view) {
|
@@ -14,7 +14,11 @@ modules = {
|
|
14
14
|
formTemplate: Object,
|
15
15
|
currentFormType: Object,
|
16
16
|
readonly: Boolean,
|
17
|
-
otherFlag:Boolean
|
17
|
+
otherFlag:Boolean,
|
18
|
+
scriptType: {
|
19
|
+
type: Number,
|
20
|
+
default: 0
|
21
|
+
},
|
18
22
|
},
|
19
23
|
components: {formOplogTable, preformDialog, projectTagView, MenuKindDialog,otherAuthDialog},
|
20
24
|
data() {
|
@@ -23,7 +27,7 @@ modules = {
|
|
23
27
|
tabIndex: 'first',
|
24
28
|
dataId: '',
|
25
29
|
formScript: {
|
26
|
-
scriptType:
|
30
|
+
scriptType: 0,
|
27
31
|
enabled: true,
|
28
32
|
formCode: null,
|
29
33
|
menuKindCode: null,
|
@@ -48,11 +52,13 @@ modules = {
|
|
48
52
|
this.dataId = this._dataId;
|
49
53
|
} else {
|
50
54
|
if (this.formTemplate) {
|
55
|
+
this.formScript.scriptType = 1;
|
51
56
|
this.formScript.formCode = this.formTemplate.formCode;
|
52
57
|
this.formScript.menuKindCode = this.formTemplate.menuKindCode;
|
53
58
|
this.formScript.menuKindName = this.formTemplate.menuKindName;
|
54
59
|
this.formScript.serviceName = this.formTemplate.serviceName;
|
55
60
|
} else {
|
61
|
+
this.formScript.scriptType = this.scriptType;
|
56
62
|
this.formScript.formCode = 'intf';
|
57
63
|
this.formScript.menuKindName = this.currentFormType?.name || null;
|
58
64
|
this.formScript.menuKindCode = this.currentFormType?.menuKindCode || null;
|