cloud-web-corejs 1.0.54-dev.236 → 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/dialog/exportDialog.vue +13 -0
- 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/components/xform/form-render/container-item/data-table-mixin.js +1 -2340
- package/src/layout/components/TagsView/index.vue +22 -7
- package/src/views/bd/setting/form_script/mixins/edit.js +8 -2
@@ -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;
|