I. Frontend
- Add the dependency
@oinone/kunlun-workflowinpackage.json, and use the same version as@oinone/kunlun-dependencies. - Import the dependency in
src/main.ts.
typescript
import 'reflect-metadata';
import { VueOioProvider } from '@oinone/kunlun-dependencies';
// START Import code after importing @oinone/kunlun-dependencies
import '@oinone/kunlun-workflow/dist/kunlun-workflow.css';
import '@oinone/kunlun-workflow';
// END Import code before executing the VueOioProvider() method
VueOioProvider({
// TODO
});1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
II. Backend
(Ⅰ) Add Dependencies to Parent pom
The version numbers in the following example are for reference only. Please select the correct version according to the current framework version.
xml
<!-- Platform foundation -->
<oinone.version>5.3.5</oinone.version>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>pro.shushi</groupId>
<artifactId>oinone-bom</artifactId>
<version>${oinone.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
(Ⅱ) Add Dependencies to the pom of the Boot Startup Project
xml
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-sql-record-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-trigger-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-trigger-bridge-tbschedule</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-user-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-user-view</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-auth3-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-auth3-view</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-business-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.core</groupId>
<artifactId>pamirs-business-view</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.workflow</groupId>
<artifactId>pamirs-workflow-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.work.bench</groupId>
<artifactId>pamirs-work-bench-core</artifactId>
</dependency>
<dependency>
<groupId>pro.shushi.pamirs.work.bench</groupId>
<artifactId>pamirs-work-bench-view</artifactId>
</dependency>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
(Ⅲ) Add Dependencies to application.yml Configuration
yaml
pamirs:
boot:
modules:
- user
- auth
- business
- sql_record
- trigger
- workflow1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9