cloud-web-corejs 1.0.173 → 1.0.175
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 -1
- package/src/components/Tinymce/index.vue +112 -71
- package/src/components/VabUpload/image-viewer.vue +2 -2
- package/src/components/VabUpload/index.js +2 -1
- package/src/components/VabUpload/mixins.js +1 -1
- package/src/components/VabUpload/privateProfileDialogMixins.js +1 -1063
- package/src/components/VabUpload/view.vue +4 -2
- package/src/components/baseAlert/mixins.js +1 -1
- package/src/components/baseAttachment/mixins.js +2 -1
- package/src/components/baseInputExport/index.vue +19 -12
- package/src/components/baseInputExport/mixins.js +1 -1
- package/src/components/baseTabs/mixins.js +1 -1
- package/src/components/code-editor/index.vue +102 -63
- package/src/components/confirmDialog/index.vue +24 -17
- package/src/components/confirmDialog/mixins.js +1 -1
- package/src/components/errorMsg/index.vue +42 -34
- package/src/components/errorMsg/mixins.js +1 -1
- package/src/components/excelExport/index.js +1 -2
- package/src/components/excelExport/mixins.js +1 -1
- package/src/components/scriptDescription/button.vue +12 -4
- package/src/components/scriptTest/mixins.js +1 -1
- package/src/components/table/index.js +1 -1
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.es6.min.js +11028 -0
- package/src/components/table/plugins/extend-cell-area/vxe-table-extend-cell-area.min.css +200 -0
- package/src/components/vb-tabs/x-tabs.vue +0 -1
- package/src/components/xform/form-designer/designer.js +1 -1
- package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +16 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +17 -4
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +247 -187
- package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +2 -0
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +6 -2
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +10 -0
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +65 -4
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +131 -118
- package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +137 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +124 -50
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +5 -1
- package/src/components/xform/form-render/indexMixin copy.js +3462 -0
- package/src/components/xform/form-render/indexMixin.js +1 -1
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/utils/format.js +14 -4
- package/src/components/xform/utils/formula-util.js +0 -4
- package/src/components/xform/utils/util.js +1 -1
- package/src/layout/components/Sidebar/default.vue +1421 -1266
- package/src/layout/components/createCompany/createCompanyDialog.vue +157 -0
- package/src/utils/index.js +1 -6
- package/src/utils/vab.js +1 -1
- package/src/views/user/form/vform/designer.vue +2 -1
- package/src/views/user/outLink/index.vue +57 -18
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<el-dialog
|
|
4
|
+
:title="$t1('新建企业')"
|
|
5
|
+
:append-to-body="true"
|
|
6
|
+
:modal-append-to-body="true"
|
|
7
|
+
:close-on-click-modal="false"
|
|
8
|
+
:visible.sync="showDialog"
|
|
9
|
+
:modal="false"
|
|
10
|
+
custom-class="dialog-style list-dialog dialog-checkbox pd_8"
|
|
11
|
+
width="350px"
|
|
12
|
+
v-el-drag-dialog
|
|
13
|
+
v-el-dialog-center
|
|
14
|
+
:before-close="dialogClose"
|
|
15
|
+
>
|
|
16
|
+
<div class="cont">
|
|
17
|
+
<el-form
|
|
18
|
+
ref="editCategoryForm"
|
|
19
|
+
:model="formData"
|
|
20
|
+
label-width="102px"
|
|
21
|
+
class="adSearchForm"
|
|
22
|
+
style="min-height: 150px; width: auto"
|
|
23
|
+
>
|
|
24
|
+
<el-form-item :label="$t1('企业类型')">
|
|
25
|
+
<el-radio-group v-model="formData.gender">
|
|
26
|
+
<el-radio :label="1">{{ $t1("海外营销") }}</el-radio
|
|
27
|
+
><br />
|
|
28
|
+
<el-radio :label="2">{{ $t1("国内营销") }}</el-radio
|
|
29
|
+
><br />
|
|
30
|
+
<el-radio :label="3">{{ $t1("产品平台") }}</el-radio>
|
|
31
|
+
</el-radio-group>
|
|
32
|
+
</el-form-item>
|
|
33
|
+
<el-form-item :label="$t1('编码')">
|
|
34
|
+
<el-input v-model="formData.sid" clearable class="all-width" />
|
|
35
|
+
</el-form-item>
|
|
36
|
+
</el-form>
|
|
37
|
+
</div>
|
|
38
|
+
<span slot="footer" class="dialog-footer">
|
|
39
|
+
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
|
40
|
+
<i class="el-icon-close el-icon"></i>
|
|
41
|
+
{{ $t1("取消") }}
|
|
42
|
+
</el-button>
|
|
43
|
+
<el-button type="primary" @click="openCreateCompanyJsonDialog" class="button-sty">
|
|
44
|
+
<i class="el-icon-check el-icon"></i>
|
|
45
|
+
{{ $t1("确定") }}
|
|
46
|
+
</el-button>
|
|
47
|
+
</span>
|
|
48
|
+
</el-dialog>
|
|
49
|
+
<el-dialog
|
|
50
|
+
title="新建企业JSON维护"
|
|
51
|
+
:append-to-body="true"
|
|
52
|
+
:modal-append-to-body="true"
|
|
53
|
+
:close-on-click-modal="false"
|
|
54
|
+
:visible.sync="showCreateCompanyJsonDialog"
|
|
55
|
+
:modal="false"
|
|
56
|
+
custom-class="dialog-style tips-dialog tips-1 "
|
|
57
|
+
width="800px"
|
|
58
|
+
@close="dialogClose"
|
|
59
|
+
v-el-drag-dialog
|
|
60
|
+
v-el-dialog-center
|
|
61
|
+
>
|
|
62
|
+
<div class="cont" style="height: 700px">
|
|
63
|
+
<code-editor
|
|
64
|
+
mode="json"
|
|
65
|
+
:readonly="!1"
|
|
66
|
+
v-model="companyJson"
|
|
67
|
+
height="414px;"
|
|
68
|
+
></code-editor>
|
|
69
|
+
</div>
|
|
70
|
+
<span slot="footer" class="dialog-footer">
|
|
71
|
+
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
|
72
|
+
<i class="el-icon-close el-icon"></i>
|
|
73
|
+
{{ $t1("取 消") }}
|
|
74
|
+
</el-button>
|
|
75
|
+
<el-button
|
|
76
|
+
type="primary"
|
|
77
|
+
@click="confirmCreateCompanyJsonDialog"
|
|
78
|
+
class="button-sty"
|
|
79
|
+
>
|
|
80
|
+
<i class="el-icon-check el-icon"></i>
|
|
81
|
+
{{ $t1("确 定") }}
|
|
82
|
+
</el-button>
|
|
83
|
+
</span>
|
|
84
|
+
</el-dialog>
|
|
85
|
+
</div>
|
|
86
|
+
</template>
|
|
87
|
+
<script>
|
|
88
|
+
export default {
|
|
89
|
+
components: {},
|
|
90
|
+
data() {
|
|
91
|
+
return {
|
|
92
|
+
showDialog: true,
|
|
93
|
+
formData: {
|
|
94
|
+
objType: "FormTemplate",
|
|
95
|
+
sid: null,
|
|
96
|
+
},
|
|
97
|
+
extractedCode: null,
|
|
98
|
+
companyJson: null,
|
|
99
|
+
showCreateCompanyJsonDialog: false,
|
|
100
|
+
};
|
|
101
|
+
},
|
|
102
|
+
methods: {
|
|
103
|
+
dialogConfirm() {
|
|
104
|
+
this.extractedCode = null;
|
|
105
|
+
if (!this.formData.sid) {
|
|
106
|
+
this.$baseAlert("唯一标识不能为空");
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
this.$http({
|
|
110
|
+
aes: true,
|
|
111
|
+
url: USER_PREFIX + `/form_develop/getExtractedCodeData`,
|
|
112
|
+
method: `post`,
|
|
113
|
+
data: this.formData,
|
|
114
|
+
isLoading: true,
|
|
115
|
+
success: (res) => {
|
|
116
|
+
let rows = res.objx || [];
|
|
117
|
+
if (rows.length) {
|
|
118
|
+
let row = rows[0];
|
|
119
|
+
this.extractedCode = row.extractedCode;
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
});
|
|
123
|
+
},
|
|
124
|
+
dialogClose() {
|
|
125
|
+
this.showDialog = false;
|
|
126
|
+
this.$emit("update:visiable", false);
|
|
127
|
+
},
|
|
128
|
+
openCreateCompanyJsonDialog() {
|
|
129
|
+
this.showDialog = false;
|
|
130
|
+
this.companyJson = "";
|
|
131
|
+
this.showCreateCompanyJsonDialog = true;
|
|
132
|
+
},
|
|
133
|
+
confirmCreateCompanyJsonDialog(data) {
|
|
134
|
+
/* this.$http({
|
|
135
|
+
aes: true,
|
|
136
|
+
url: USER_PREFIX + `/form_develop/getExtractedCodeData`,
|
|
137
|
+
method: `post`,
|
|
138
|
+
data: this.formData,
|
|
139
|
+
isLoading: true,
|
|
140
|
+
success: (res) => {
|
|
141
|
+
this.$message({
|
|
142
|
+
message: res.content,
|
|
143
|
+
type: "success"
|
|
144
|
+
});
|
|
145
|
+
this.dialogClose();
|
|
146
|
+
},
|
|
147
|
+
}); */
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
};
|
|
151
|
+
</script>
|
|
152
|
+
|
|
153
|
+
<style scoped>
|
|
154
|
+
::v-deep .el-select.all-width .el-input {
|
|
155
|
+
width: 100% !important;
|
|
156
|
+
}
|
|
157
|
+
</style>
|