cloud-web-corejs 1.0.76 → 1.0.77
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/VabUpload/view.vue +2 -2
- package/src/components/advancedSearchDialog/mixins.js +1 -1
- package/src/components/fileLibrary/filterDialog.vue +383 -0
- package/src/components/fileLibrary/index.vue +22 -23
- package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +7 -7
- package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +4 -4
- package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +4 -4
- package/src/components/fileLibrary/mixins/indexMixins.js +45 -9
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +61 -2
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
- package/src/components/fileLibrary/propertiesDialog.vue +18 -0
- package/src/components/fileLibrary/shareDialog.vue +1 -1
- package/src/components/table/index.js +1 -1
- package/src/components/table/tableForm.vue +99 -63
- package/src/components/table/tableFormMixin.js +1 -1
- package/src/components/wf/wf.js +1 -1
- package/src/components/wf/wfStartDialog.vue +1 -1
- package/src/components/wf/wfUtil.js +1 -1
- package/src/components/xform/form-designer/designer.js +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +10 -5
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +16 -16
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +54 -14
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +9 -4
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +8 -2
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +1 -0
- package/src/components/xform/form-designer/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +12 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1051 -1051
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +42 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +107 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +22 -18
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +2 -0
- package/src/components/xform/form-designer/toolbar-panel/index.vue +4 -3
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +38 -6
- package/src/components/xform/form-render/container-item/data-table-item.vue +18 -19
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
- package/src/components/xform/form-render/indexMixin.js +2 -1
- package/src/components/xform/lang/zh-CN.js +1 -1
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/mixins/scriptHttp.js +1 -1
- package/src/components/xform/utils/util.js +1 -1
- package/src/layout/components/Sidebar/default.vue +1266 -1233
- package/src/layout/components/extractedCode/createDialog.vue +92 -0
- package/src/layout/components/extractedCode/queryDialog.vue +96 -0
- package/src/layout/components/extractedCode/viewDialog.vue +192 -0
- package/src/store/config/index.js +1 -1
- package/src/utils/index.js +4 -2
- package/src/utils/pddLog.js +103 -0
- package/src/utils/vab.js +19 -27
- package/src/views/bd/setting/bd_attach_setting/edit.vue +1 -1
- package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +1 -1
- package/src/views/bd/setting/form_import_log/edit.vue +127 -0
- package/src/views/bd/setting/form_import_log/list.vue +205 -0
- package/src/views/bd/setting/form_script/edit1.vue +1 -1
- package/src/views/bd/setting/form_script/mixins/edit.js +3 -1
- package/src/views/bd/setting/form_script/mixins/edit1.js +1 -1
- package/src/views/bd/setting/form_script/mixins/list.js +1 -1
- package/src/views/bd/setting/form_script/mixins/list1.js +14 -14
- package/src/views/bd/setting/form_template/edit.vue +9 -1
- package/src/views/bd/setting/form_template/mixins/edit.js +1 -1
- package/src/views/bd/setting/form_template/mixins/list.js +25 -22
- package/src/views/bd/setting/menu_kind/authDialog.vue +1 -1
- package/src/views/bd/setting/menu_kind/mixins/authDialog.js +7 -7
- package/src/views/bd/setting/menu_kind/mixins/list.js +1 -1
- package/src/views/bd/setting/table_model/edit.vue +70 -12
- package/src/views/bd/setting/table_model/mixins/edit copy.js +903 -0
- package/src/views/bd/setting/table_model/mixins/edit.js +12 -13
- package/src/views/bd/setting/table_model/mixins/list.js +1 -1
- package/src/views/user/access_log/list.vue +349 -349
- package/src/views/user/company_info/dialog.vue +164 -164
- package/src/views/user/form/vform/designer.vue +5 -1
- package/src/views/user/home/default.vue +15 -11
- package/src/views/user/login/index2.vue +131 -0
- package/src/views/user/notify_message/dialog.vue +1 -1
- package/src/views/user/notify_template/edit.vue +188 -187
- package/src/views/user/notify_template/edit2.vue +176 -0
- package/src/views/user/notify_template/list.vue +4 -1
- package/src/views/user/notify_template/list2.vue +190 -0
- package/src/views/user/position/list.vue +2 -2
- package/src/views/user/role/dialog.vue +1 -1
- package/src/views/user/role/list.vue +2 -2
- package/src/views/user/sale_org/dialog.vue +1 -1
- package/src/views/user/user/dialog.vue +1 -1
@@ -0,0 +1,190 @@
|
|
1
|
+
<template>
|
2
|
+
<div id="containt">
|
3
|
+
<el-tabs v-model="activeName" class="tab-box">
|
4
|
+
<el-tab-pane :label="$t1('常规')" name="first">
|
5
|
+
<editView v-if="showEdit" visible-key="showEdit" :_dataId.sync="dataId" :parent-target="_self"
|
6
|
+
@reload="$reloadHandle"></editView>
|
7
|
+
</el-tab-pane>
|
8
|
+
<el-tab-pane :label="$t1('列表')" name="second">
|
9
|
+
<div class="grid-height">
|
10
|
+
<vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
|
11
|
+
@custom="$vxeTableUtil.customHandle">
|
12
|
+
<template #form>
|
13
|
+
<div class="clearfix screen-btns">
|
14
|
+
<div class="fl">
|
15
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog">
|
16
|
+
{{ $t1('新增') }}
|
17
|
+
</vxe-button>
|
18
|
+
<base-table-export :option="{ title: $t1('邮件模板导出'), targetRef: 'table-m1'}"
|
19
|
+
:parent-target="_self"/>
|
20
|
+
</div>
|
21
|
+
<div class="fr">
|
22
|
+
<vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
|
23
|
+
plain>{{ $t1('重置') }}
|
24
|
+
</vxe-button>
|
25
|
+
<vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
|
26
|
+
{{ $t1('搜索') }}
|
27
|
+
</vxe-button>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
|
31
|
+
@submit="searchEvent" @reset="searchEvent">
|
32
|
+
<vxe-form-item :title="$t1('邮件模板编码')+':'" field="ntCode">
|
33
|
+
<template v-slot>
|
34
|
+
<el-input v-model="formData.notifyType" size="small" clearable/>
|
35
|
+
</template>
|
36
|
+
</vxe-form-item>
|
37
|
+
<vxe-form-item :title="$t1('主题')+':'" field="ntName">
|
38
|
+
<template v-slot>
|
39
|
+
<el-input v-model="formData.ntName" size="small" clearable/>
|
40
|
+
</template>
|
41
|
+
</vxe-form-item>
|
42
|
+
<vxe-form-item :title="$t1('是否启用')+':'">
|
43
|
+
<template v-slot>
|
44
|
+
<el-select v-model="formData.enabled" clearable>
|
45
|
+
<el-option :value="true" :label="$t1('启用')"></el-option>
|
46
|
+
<el-option :value="false" :label="$t1('禁用')"></el-option>
|
47
|
+
</el-select>
|
48
|
+
</template>
|
49
|
+
</vxe-form-item>
|
50
|
+
</vxe-form>
|
51
|
+
</template>
|
52
|
+
</vxe-grid>
|
53
|
+
</div>
|
54
|
+
</el-tab-pane>
|
55
|
+
</el-tabs>
|
56
|
+
</div>
|
57
|
+
</template>
|
58
|
+
|
59
|
+
<script>
|
60
|
+
import editView from './edit2.vue';
|
61
|
+
|
62
|
+
export default {
|
63
|
+
name: 'notify_template:list2',
|
64
|
+
components: {editView},
|
65
|
+
data() {
|
66
|
+
return {
|
67
|
+
activeName: 'second',
|
68
|
+
dataId: 0,
|
69
|
+
showEdit: false,
|
70
|
+
vxeOption: {},
|
71
|
+
formData: {}
|
72
|
+
};
|
73
|
+
},
|
74
|
+
mounted() {
|
75
|
+
this.initTableList();
|
76
|
+
},
|
77
|
+
methods: {
|
78
|
+
searchEvent() {
|
79
|
+
this.$refs['table-m1'].commitProxy('reload');
|
80
|
+
},
|
81
|
+
resetEvent() {
|
82
|
+
this.formData = {};
|
83
|
+
this.$refs['table-m1'].commitProxy('reload');
|
84
|
+
},
|
85
|
+
openEditDialog(id) {
|
86
|
+
this.dataId = !id || typeof id == 'object' ? 0 : id;
|
87
|
+
this.activeName = 'first';
|
88
|
+
this.$openEditView('showEdit');
|
89
|
+
},
|
90
|
+
initTableList() {
|
91
|
+
let that = this;
|
92
|
+
let tableOption = {
|
93
|
+
vue: this,
|
94
|
+
tableRef: 'table-m1',
|
95
|
+
tableName: 'basic_notifyTemplate_list-m2',
|
96
|
+
path: USER_PREFIX + '/notify_template/listPage',
|
97
|
+
param: () => {
|
98
|
+
return {
|
99
|
+
...this.formData,
|
100
|
+
ntType: 1
|
101
|
+
};
|
102
|
+
},
|
103
|
+
columns: [
|
104
|
+
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
105
|
+
{
|
106
|
+
title: this.$t1('邮件模板编码'),
|
107
|
+
field: 'notifyType',
|
108
|
+
width: 250,
|
109
|
+
fixed: 'left'
|
110
|
+
},
|
111
|
+
{
|
112
|
+
title: this.$t1('主题'),
|
113
|
+
field: 'ntName',
|
114
|
+
width: 150
|
115
|
+
},
|
116
|
+
{
|
117
|
+
title: this.$t1('是否启用'),
|
118
|
+
field: 'enabled',
|
119
|
+
width: 150,
|
120
|
+
slots: {
|
121
|
+
default: ({row}) => {
|
122
|
+
if (row.enabled) {
|
123
|
+
return [
|
124
|
+
<div class="txt-status">
|
125
|
+
<span>{this.$t1('启用')}</span>
|
126
|
+
</div>
|
127
|
+
];
|
128
|
+
} else {
|
129
|
+
return [
|
130
|
+
<div class="txt-status disable">
|
131
|
+
<span>{this.$t1('禁用')}</span>
|
132
|
+
</div>
|
133
|
+
];
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
},
|
138
|
+
{title: this.$t1('备注'), field: 'remark', width: 150},
|
139
|
+
{
|
140
|
+
title: this.$t1('创建时间'),
|
141
|
+
field: 'createDate',
|
142
|
+
width: 150
|
143
|
+
},
|
144
|
+
{
|
145
|
+
width: 47,
|
146
|
+
fixed: 'right',
|
147
|
+
title: '',
|
148
|
+
sortable: false,
|
149
|
+
slots: {
|
150
|
+
default: ({row}) => {
|
151
|
+
return [
|
152
|
+
<div>
|
153
|
+
<a
|
154
|
+
href="javascript:void(0);"
|
155
|
+
class="a-link"
|
156
|
+
onclick={() => {
|
157
|
+
this.openEditDialog(row.id);
|
158
|
+
}}
|
159
|
+
>
|
160
|
+
<el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
|
161
|
+
popper-class="tooltip-skin">
|
162
|
+
<i class="el-icon-edit"/>
|
163
|
+
</el-tooltip>
|
164
|
+
</a>
|
165
|
+
</div>
|
166
|
+
];
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}
|
170
|
+
]
|
171
|
+
};
|
172
|
+
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
173
|
+
this.vxeOption = opts;
|
174
|
+
});
|
175
|
+
},
|
176
|
+
importExcel() {
|
177
|
+
let that = this;
|
178
|
+
that.$excelImport({
|
179
|
+
prefix: USER_PREFIX,
|
180
|
+
excel: USER_PREFIX + '/excelTemplate/notify_template/notifyTemplate.xlsx',
|
181
|
+
multi: false,
|
182
|
+
saveUrl: USER_PREFIX + '/notify_template/save',
|
183
|
+
callback: () => {
|
184
|
+
that.searchEvent();
|
185
|
+
}
|
186
|
+
});
|
187
|
+
}
|
188
|
+
}
|
189
|
+
};
|
190
|
+
</script>
|
@@ -33,11 +33,11 @@
|
|
33
33
|
<el-input v-model="formData.name" size="small" clearable/>
|
34
34
|
</template>
|
35
35
|
</vxe-form-item>
|
36
|
-
<vxe-form-item :title="$t1('岗位编码')+':'" field="code">
|
36
|
+
<!-- <vxe-form-item :title="$t1('岗位编码')+':'" field="code">
|
37
37
|
<template v-slot>
|
38
38
|
<el-input v-model="formData.code" size="small" clearable/>
|
39
39
|
</template>
|
40
|
-
</vxe-form-item>
|
40
|
+
</vxe-form-item> -->
|
41
41
|
</vxe-form>
|
42
42
|
</template>
|
43
43
|
</vxe-grid>
|
@@ -34,11 +34,11 @@
|
|
34
34
|
<el-input v-model="formData.name" size="small" clearable/>
|
35
35
|
</template>
|
36
36
|
</vxe-form-item>
|
37
|
-
<vxe-form-item :title="$t1('角色编码')+':'" field="code">
|
37
|
+
<!-- <vxe-form-item :title="$t1('角色编码')+':'" field="code">
|
38
38
|
<template v-slot>
|
39
39
|
<el-input v-model="formData.code" size="small" clearable/>
|
40
40
|
</template>
|
41
|
-
</vxe-form-item>
|
41
|
+
</vxe-form-item> -->
|
42
42
|
</vxe-form>
|
43
43
|
</template>
|
44
44
|
</vxe-grid>
|