@epxing/business 5.3.0-beta.2 → 5.3.0-beta.4
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/API.md +115 -111
- package/README.md +44 -44
- package/dist/src/base/AiSkillEditor.js +1 -1
- package/dist/src/base/AiSkillEditor.vue.js +2 -0
- package/dist/src/base/AppConfigFormItem.js +1 -3
- package/dist/src/base/AppConfigFormItem.vue.js +210 -85
- package/dist/src/base/CommonFieldList.js +1 -1
- package/dist/src/base/CommonFieldList.vue.js +2 -1
- package/dist/src/base/ConfigModuleIndex.js +38 -1
- package/dist/src/base/ManageAppNav.js +1 -1
- package/dist/src/base/ManageMenu.js +1 -1
- package/dist/src/base/RoleBindTrace.js +253 -0
- package/dist/src/base/RoleGroupManage.js +1037 -0
- package/dist/src/base/ServiceMenu.js +7 -6
- package/dist/src/components/AiList.js +1278 -3
- package/dist/src/components/EntityCheckboxFind.vue.js +14 -10
- package/dist/src/components/EntityRightFormItem.js +1 -5
- package/dist/src/components/EntityRightFormItem.vue.js +3 -1
- package/dist/src/components/EntitySystemEr.js +492 -0
- package/dist/src/components/HallNav.vue.js +7 -36
- package/dist/src/components/IconFontLibrary.js +22 -1
- package/dist/src/components/IconFontList.js +21 -1
- package/dist/src/components/PrintFormList.js +2 -1
- package/dist/src/components/PrintFormList.vue.js +3 -1
- package/dist/src/components/WikiWorkbench.js +153 -129
- package/dist/src/components/authorization/AuthorizationInterface.js +3 -1
- package/dist/src/components/custom-bpmn/PropertiesView.js +1991 -1942
- package/dist/src/components/icon-gallery/IconGallery.js +193 -0
- package/dist/src/components/icon-gallery/mixin.js +150 -0
- package/dist/src/components/wiki-workbench/WikiIntake.js +86 -93
- package/dist/src/components/wiki-workbench/WikiIntake.vue.js +153 -73
- package/dist/src/index.js +26 -20
- package/dist/src/public-components.js +16 -14
- package/dist/src/route-components.js +5 -5
- package/dist/src/system.component.index.js +1 -1
- package/dist/src/system.component.js +8 -3
- package/dist/src/system.component.lazy.js +1 -1
- package/dist/src/views/Add.js +1 -1
- package/dist/src/views/Add.vue.js +8 -3
- package/dist/src/views/AiToolManager.js +792 -317
- package/dist/src/views/App.js +3 -45
- package/dist/src/views/AppRoleSelect.js +3 -230
- package/dist/src/views/Error.js +3 -207
- package/dist/src/views/ExcelDesign.js +326 -316
- package/dist/src/views/JvmMemoryMonitor.js +463 -0
- package/dist/src/views/Module.js +3 -170
- package/dist/src/views/WikiBinding.js +88 -25
- package/dist/style.css +2867 -1487
- package/package.json +12 -6
- package/src/base/AiSkillEditor.vue +2 -0
- package/src/base/AppConfigFormItem.vue +211 -145
- package/src/base/CommonFieldList.vue +9 -6
- package/src/base/ConfigModuleIndex.vue +37 -1
- package/src/base/ManageAppNav.vue +1188 -1188
- package/src/base/ManageMenu.vue +933 -933
- package/src/base/RoleBindTrace.vue +364 -0
- package/src/base/RoleGroupManage.vue +1160 -0
- package/src/base/ServiceMenu.vue +6 -5
- package/src/components/AiList.vue +439 -113
- package/src/components/EntityCheckboxFind.vue +12 -8
- package/src/components/EntityRightFormItem.vue +9 -10
- package/src/components/EntitySystemEr.vue +517 -0
- package/src/components/HallNav.vue +6 -33
- package/src/components/IconFontLibrary.vue +27 -60
- package/src/components/IconFontList.vue +13 -64
- package/src/components/PrintFormList.vue +33 -27
- package/src/components/WikiWorkbench.vue +90 -60
- package/src/components/authorization/AuthorizationInterface.vue +2 -0
- package/src/components/custom-bpmn/CustomPalette.js +1 -1
- package/src/components/custom-bpmn/CustomRenderer.js +1 -1
- package/src/components/custom-bpmn/PropertiesView.vue +35 -4
- package/src/components/custom-bpmn/index.js +1 -1
- package/src/components/icon-gallery/IconGallery.vue +130 -0
- package/src/components/icon-gallery/mixin.jsx +109 -0
- package/src/components/wiki-workbench/WikiIntake.vue +178 -104
- package/src/index.js +24 -20
- package/src/public-components.js +1 -0
- package/src/route-components.js +4 -4
- package/src/system.component.index.js +1 -1
- package/src/views/Add.vue +8 -5
- package/src/views/AiToolManager.vue +326 -4
- package/src/views/App.vue +4 -53
- package/src/views/AppRoleSelect.vue +4 -334
- package/src/views/Error.vue +4 -63
- package/src/views/ExcelDesign.vue +24 -7
- package/src/views/JvmMemoryMonitor.vue +284 -0
- package/src/views/Module.vue +4 -210
- package/src/views/WikiBinding.vue +42 -0
- package/types/app.d.ts +1 -0
- package/types/dept-find.d.ts +1 -1
- package/types/index.d.ts +15 -14
- package/types/popup.d.ts +2 -2
- package/types/route-components.d.ts +1 -1
- package/types/user-find.d.ts +1 -1
- package/dist/assets/role_select-DTqRlFNz.webp +0 -0
- package/dist/src/components/AiList.vue.js +0 -93
- package/dist/src/components/IconFontLibrary.vue.js +0 -67
- package/dist/src/components/IconFontList.vue.js +0 -79
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { createVNode, createTextVNode, resolveComponent } from "vue";
|
|
2
|
-
import EntityList from "@epxing/components/src/entity-list";
|
|
3
|
-
const _sfc_main = {
|
|
4
|
-
name: "epx-ai-list",
|
|
5
|
-
extends: EntityList,
|
|
6
|
-
methods: {
|
|
7
|
-
command(key, item) {
|
|
8
|
-
if (key === "edit") {
|
|
9
|
-
this.editEntity({}, item);
|
|
10
|
-
} else if (key === "remove") {
|
|
11
|
-
this.removeEntity({}, item);
|
|
12
|
-
} else if (key === "default") {
|
|
13
|
-
this.setDefault(item);
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
setDefault(item) {
|
|
17
|
-
this.$http.update({
|
|
18
|
-
action: "setDefault",
|
|
19
|
-
entityId: this.$metaId,
|
|
20
|
-
id: item.ID
|
|
21
|
-
}).then(() => {
|
|
22
|
-
this.$message.success("修改成功");
|
|
23
|
-
this.reloadData();
|
|
24
|
-
}).catch((err) => {
|
|
25
|
-
this.$message.error(err.message);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
render() {
|
|
30
|
-
return createVNode("div", {
|
|
31
|
-
"class": "container"
|
|
32
|
-
}, [createVNode("ul", {
|
|
33
|
-
"class": "ai-list"
|
|
34
|
-
}, [createVNode("li", {
|
|
35
|
-
"class": "ai-item ai-item--add",
|
|
36
|
-
"onClick": () => this.addEntity({})
|
|
37
|
-
}, [createVNode("div", {
|
|
38
|
-
"class": "ai-item__add-btn"
|
|
39
|
-
}, [createVNode("i", {
|
|
40
|
-
"class": "el-icon-plus"
|
|
41
|
-
}, null)]), createVNode("span", null, [createTextVNode("添加大模型")])]), this.data.map((item) => createVNode("li", {
|
|
42
|
-
"class": "ai-item",
|
|
43
|
-
"onClick": () => this.viewEntity({}, item)
|
|
44
|
-
}, [createVNode("div", {
|
|
45
|
-
"class": "ai-item__content"
|
|
46
|
-
}, [item.LOGO && createVNode("img", {
|
|
47
|
-
"src": this.$util.getFileUrl(item.LOGO)
|
|
48
|
-
}, null)]), createVNode("div", {
|
|
49
|
-
"class": "ai-item__title"
|
|
50
|
-
}, [createVNode("span", null, [item.NAME, item.IS_DEFAULT === "1" && createVNode(resolveComponent("epx-tag"), {
|
|
51
|
-
"plain": true,
|
|
52
|
-
"class": "ai-item__default"
|
|
53
|
-
}, {
|
|
54
|
-
default: () => [createTextVNode("默认")]
|
|
55
|
-
})]), createVNode(resolveComponent("el-dropdown"), {
|
|
56
|
-
"class": "ai-item__dropdown",
|
|
57
|
-
"onCommand": (command) => this.command(command, item)
|
|
58
|
-
}, {
|
|
59
|
-
default: () => [createVNode("i", {
|
|
60
|
-
"class": "ai-item__operate el-icon-more",
|
|
61
|
-
"onClick": (e) => e.stopPropagation()
|
|
62
|
-
}, null)],
|
|
63
|
-
dropdown: () => createVNode(resolveComponent("el-dropdown-menu"), null, {
|
|
64
|
-
default: () => [createVNode(resolveComponent("el-dropdown-item"), {
|
|
65
|
-
"command": "edit"
|
|
66
|
-
}, {
|
|
67
|
-
default: () => [createVNode("i", {
|
|
68
|
-
"class": "el-icon-edit-outline"
|
|
69
|
-
}, null), createTextVNode("编辑")]
|
|
70
|
-
}), item.IS_DEFAULT !== "1" && createVNode(resolveComponent("el-dropdown-item"), {
|
|
71
|
-
"command": "default"
|
|
72
|
-
}, {
|
|
73
|
-
default: () => [createVNode("i", {
|
|
74
|
-
"class": "el-icon-star-off"
|
|
75
|
-
}, null), createTextVNode("设为默认")]
|
|
76
|
-
}), createVNode(resolveComponent("el-dropdown-item"), {
|
|
77
|
-
"command": "remove",
|
|
78
|
-
"divided": true,
|
|
79
|
-
"style": {
|
|
80
|
-
color: "red"
|
|
81
|
-
}
|
|
82
|
-
}, {
|
|
83
|
-
default: () => [createVNode("i", {
|
|
84
|
-
"class": "el-icon-delete"
|
|
85
|
-
}, null), createTextVNode("删除")]
|
|
86
|
-
})]
|
|
87
|
-
})
|
|
88
|
-
})])]))])]);
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
export {
|
|
92
|
-
_sfc_main as default
|
|
93
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { createVNode, withDirectives, resolveComponent, resolveDirective } from "vue";
|
|
2
|
-
import ListFind from "@epxing/components/src/entity-list-find";
|
|
3
|
-
import { MobileGridItem, MobileGrid } from "@epxing/components/src/mobile";
|
|
4
|
-
const _sfc_main = {
|
|
5
|
-
name: "epx-icon-font-library",
|
|
6
|
-
components: {
|
|
7
|
-
MobileGrid,
|
|
8
|
-
MobileGridItem
|
|
9
|
-
},
|
|
10
|
-
extends: ListFind,
|
|
11
|
-
pageFlag: true,
|
|
12
|
-
pageSize: 100,
|
|
13
|
-
data() {
|
|
14
|
-
return {
|
|
15
|
-
renderComponents: [this.renderSearch, this.renderTable]
|
|
16
|
-
};
|
|
17
|
-
},
|
|
18
|
-
methods: {
|
|
19
|
-
renderTable() {
|
|
20
|
-
return createVNode("div", {
|
|
21
|
-
"ref": "grid"
|
|
22
|
-
}, [createVNode(MobileGrid, {
|
|
23
|
-
"gutter": "10",
|
|
24
|
-
"style": {
|
|
25
|
-
minHeight: "40px"
|
|
26
|
-
}
|
|
27
|
-
}, {
|
|
28
|
-
default: () => [this.data.length === 0 && createVNode(MobileGridItem, {
|
|
29
|
-
"text": "暂无更多"
|
|
30
|
-
}, {
|
|
31
|
-
icon: () => createVNode("i", {
|
|
32
|
-
"style": {
|
|
33
|
-
fontSize: "30px",
|
|
34
|
-
marginBottom: "12px"
|
|
35
|
-
},
|
|
36
|
-
"class": "el-icon-folder"
|
|
37
|
-
}, null)
|
|
38
|
-
}), this.data.map((item) => createVNode(MobileGridItem, {
|
|
39
|
-
"key": item.ID,
|
|
40
|
-
"text": item.NAME,
|
|
41
|
-
"onClick": this.selectEntity.bind(this, null, item)
|
|
42
|
-
}, {
|
|
43
|
-
icon: () => createVNode("i", {
|
|
44
|
-
"style": {
|
|
45
|
-
fontSize: "30px",
|
|
46
|
-
marginBottom: "12px"
|
|
47
|
-
},
|
|
48
|
-
"class": [item.TYPE !== "2" && "fa", item.CODE]
|
|
49
|
-
}, null)
|
|
50
|
-
}))]
|
|
51
|
-
}), this.$configs.pageFlag && createVNode("div", {
|
|
52
|
-
"class": "pagination"
|
|
53
|
-
}, [withDirectives(createVNode(resolveComponent("el-pagination"), {
|
|
54
|
-
"currentPage": this.currentPage,
|
|
55
|
-
"pageSizes": [5, 10, 15, 20, 30, 50, 100, 200],
|
|
56
|
-
"pageSize": this.pageSize,
|
|
57
|
-
"layout": "prev, pager, next, jumper, sizes,total",
|
|
58
|
-
"total": this.total,
|
|
59
|
-
"onSizeChange": this.sizeChange,
|
|
60
|
-
"onCurrentChange": this.currentChange
|
|
61
|
-
}, null), [[resolveDirective("loading"), this.loading]])])]);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
export {
|
|
66
|
-
_sfc_main as default
|
|
67
|
-
};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { createVNode, resolveComponent, createTextVNode } from "vue";
|
|
2
|
-
import EntityList from "@epxing/components/src/entity-list";
|
|
3
|
-
const _sfc_main = {
|
|
4
|
-
name: "epx-icon-font-list",
|
|
5
|
-
extends: EntityList,
|
|
6
|
-
methods: {
|
|
7
|
-
renderField(field) {
|
|
8
|
-
const {
|
|
9
|
-
isLabel
|
|
10
|
-
} = field.attribute || {};
|
|
11
|
-
return {
|
|
12
|
-
default: ({
|
|
13
|
-
row
|
|
14
|
-
}) => {
|
|
15
|
-
if (field.dataType === "blob" || field.dataType === "photo") {
|
|
16
|
-
return createVNode(resolveComponent("epx-file"), {
|
|
17
|
-
"values": row,
|
|
18
|
-
"fieldConfigs": {
|
|
19
|
-
...field,
|
|
20
|
-
state: "DETAIL"
|
|
21
|
-
}
|
|
22
|
-
}, null);
|
|
23
|
-
}
|
|
24
|
-
if (field.dataType === "rule") {
|
|
25
|
-
return createVNode("font", {
|
|
26
|
-
"color": field.color
|
|
27
|
-
}, [this.getChineseValue(row[field.attriName])]);
|
|
28
|
-
}
|
|
29
|
-
if (field.dataType === "icon") {
|
|
30
|
-
return createVNode("i", {
|
|
31
|
-
"style": {
|
|
32
|
-
fontSize: "20px"
|
|
33
|
-
},
|
|
34
|
-
"class": row[field.attriName]
|
|
35
|
-
}, null);
|
|
36
|
-
}
|
|
37
|
-
if (field.dataType === "scope") {
|
|
38
|
-
return createVNode("font", {
|
|
39
|
-
"color": field.color
|
|
40
|
-
}, [this.getScopeChinese(row[field.attriName])]);
|
|
41
|
-
}
|
|
42
|
-
if (field.dataType === "date" || field.dataType === "date_ym") {
|
|
43
|
-
return createVNode("font", {
|
|
44
|
-
"color": field.color
|
|
45
|
-
}, [row[field.attriName] === "2050-01-01" || row[field.attriName] === "2050-01" || row[field.attriName] === "9999-99" || row[field.attriName] === "9999" ? "至今" : row[field.attriName]]);
|
|
46
|
-
}
|
|
47
|
-
if (field.dataType === "tag") {
|
|
48
|
-
if (!row[field.attriName]) return null;
|
|
49
|
-
const tagList = row[field.attriName].split(",");
|
|
50
|
-
return createVNode("span", null, [tagList.map((item, index) => createVNode(resolveComponent("el-tag"), {
|
|
51
|
-
"style": {
|
|
52
|
-
marginRight: "8px"
|
|
53
|
-
},
|
|
54
|
-
"key": item
|
|
55
|
-
}, {
|
|
56
|
-
default: () => [item, index < tagList.length - 1 && createVNode("span", {
|
|
57
|
-
"style": {
|
|
58
|
-
opacity: 0,
|
|
59
|
-
width: 0,
|
|
60
|
-
float: "left"
|
|
61
|
-
}
|
|
62
|
-
}, [createTextVNode("、")])]
|
|
63
|
-
}))]);
|
|
64
|
-
}
|
|
65
|
-
return createVNode("font", {
|
|
66
|
-
"class": {
|
|
67
|
-
"is-label": field.isLabel || isLabel === "1" || field.detailPageId
|
|
68
|
-
},
|
|
69
|
-
"color": field.color,
|
|
70
|
-
"onClick": this.clickField.bind(this, field, row)
|
|
71
|
-
}, [row[field.attriName + "#"] || row[field.attriName]]);
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
export {
|
|
78
|
-
_sfc_main as default
|
|
79
|
-
};
|