Skip to content

Commit 0e68995

Browse files
committed
init
0 parents  commit 0e68995

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+37605
-0
lines changed

Diff for: .gitignore

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.DS_Store
2+
node_modules
3+
/dist
4+
5+
# local env files
6+
.env.local
7+
.env.*.local
8+
9+
# Log files
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
14+
# Editor directories and files
15+
.idea
16+
.vscode
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln
21+
*.sw?

Diff for: README.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# ydc_espace
2+
3+
## Project setup
4+
```
5+
npm install
6+
```
7+
8+
### Compiles and hot-reloads for development
9+
```
10+
npm run serve
11+
```
12+
13+
### Compiles and minifies for production
14+
```
15+
npm run build
16+
```
17+
18+
### Lints and fixes files
19+
```
20+
npm run lint
21+
```

Diff for: babel.config.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
const plugins = [
2+
[
3+
"component",
4+
{
5+
"libraryName": "element-ui",
6+
"styleLibraryName": "theme-chalk"
7+
}
8+
]
9+
]
10+
if (process.env.NODE_ENV == 'production') {
11+
plugins.push('transform-remove-console')
12+
}
13+
module.exports = {
14+
"presets": [
15+
"@vue/app"
16+
],
17+
"plugins": plugins
18+
}

Diff for: package-lock.json

+12,747
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"name": "ydc_espace",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"serve": "vue-cli-service serve",
7+
"test": "vue-cli-service build --mode test",
8+
"build": "vue-cli-service build",
9+
"lint": "vue-cli-service lint"
10+
},
11+
"dependencies": {
12+
"core-js": "^2.6.5",
13+
"element-ui": "^2.12.0",
14+
"vue": "^2.6.10",
15+
"vue-router": "^3.0.3",
16+
"vuex": "^3.0.1"
17+
},
18+
"devDependencies": {
19+
"@vue/cli-plugin-babel": "^3.0.3",
20+
"@vue/cli-plugin-eslint": "^3.0.3",
21+
"@vue/cli-service": "^3.0.3",
22+
"axios": "^0.18.0",
23+
"babel-eslint": "^10.0.1",
24+
"babel-plugin-component": "^1.1.1",
25+
"babel-plugin-transform-remove-console": "^6.9.4",
26+
"babel-polyfill": "^6.26.0",
27+
"compression-webpack-plugin": "^3.0.0",
28+
"eslint": "^5.16.0",
29+
"eslint-plugin-vue": "^5.0.0",
30+
"node-sass": "^4.9.0",
31+
"sass-loader": "^7.1.0",
32+
"vue-cli-plugin-axios": "0.0.4",
33+
"vue-cli-plugin-element": "^1.0.1",
34+
"vue-template-compiler": "^2.6.10"
35+
},
36+
"eslintConfig": {
37+
"root": true,
38+
"env": {
39+
"node": true
40+
},
41+
"extends": [
42+
"plugin:vue/essential",
43+
"eslint:recommended"
44+
],
45+
"rules": {},
46+
"parserOptions": {
47+
"parser": "babel-eslint"
48+
}
49+
},
50+
"postcss": {
51+
"plugins": {
52+
"autoprefixer": {}
53+
}
54+
},
55+
"browserslist": [
56+
"> 1%",
57+
"last 2 versions"
58+
]
59+
}

Diff for: public/conditions.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "code": "200", "msg": "操作成功", "data": [] }

Diff for: public/data.json

+168
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
{
2+
"code": "200",
3+
"msg": "success",
4+
"data": {
5+
"tableId": 1,
6+
"workFlowVersionId": "",
7+
"workFlowDef": {
8+
"name": "合同审批",
9+
"publicFlag": 1,
10+
"sortNo": 5,
11+
"duplicateRemovelFlag": 1,
12+
"optionTip": "",
13+
"optionNotNull": 0,
14+
"status": 1
15+
},
16+
"directorMaxLevel": 4,
17+
"flowPermission": [],
18+
"nodeConfig": {
19+
"pkId": "sid-start-node",
20+
"nodeName": "发起人",
21+
"type": 0,
22+
"priorityLevel": "",
23+
"settype": "",
24+
"selectMode": "",
25+
"selectRange": "",
26+
"examineRoleId": "",
27+
"directorLevel": "",
28+
"replaceByUp": "",
29+
"examineMode": "",
30+
"noHanderAction": "",
31+
"examineEndType": "",
32+
"examineEndRoleId": "",
33+
"examineEndDirectorLevel": "",
34+
"ccSelfSelectFlag": "",
35+
"conditionList": [],
36+
"nodeUserList": [],
37+
"childNode": {
38+
"nodeName": "审核人",
39+
"error": false,
40+
"type": 1,
41+
"settype": 2,
42+
"selectMode": 0,
43+
"selectRange": 0,
44+
"directorLevel": 1,
45+
"replaceByUp": 0,
46+
"examineMode": 1,
47+
"noHanderAction": 2,
48+
"examineEndDirectorLevel": 0,
49+
"childNode": {
50+
"nodeName": "路由",
51+
"type": 4,
52+
"priorityLevel": 1,
53+
"settype": 1,
54+
"selectMode": 0,
55+
"selectRange": 0,
56+
"examineRoleId": 0,
57+
"directorLevel": 1,
58+
"replaceByUp": 0,
59+
"examineMode": 1,
60+
"noHanderAction": 2,
61+
"examineEndType": 0,
62+
"examineEndRoleId": 0,
63+
"examineEndDirectorLevel": 1,
64+
"ccSelfSelectFlag": 1,
65+
"conditionList": [],
66+
"nodeUserList": [],
67+
"childNode": {
68+
"nodeName": "抄送人",
69+
"type": 2,
70+
"ccSelfSelectFlag": 1,
71+
"childNode": null,
72+
"nodeUserList": [],
73+
"error": false
74+
},
75+
"conditionNodes": [{
76+
"nodeName": "条件1",
77+
"type": 3,
78+
"priorityLevel": 1,
79+
"settype": 1,
80+
"selectMode": 0,
81+
"selectRange": 0,
82+
"examineRoleId": 0,
83+
"directorLevel": 1,
84+
"replaceByUp": 0,
85+
"examineMode": 1,
86+
"noHanderAction": 2,
87+
"examineEndType": 0,
88+
"examineEndRoleId": 0,
89+
"examineEndDirectorLevel": 1,
90+
"ccSelfSelectFlag": 1,
91+
"conditionList": [{
92+
"columnId": 0,
93+
"type": 1,
94+
"conditionEn": "",
95+
"conditionCn": "",
96+
"optType": "",
97+
"zdy1": "",
98+
"zdy2": "",
99+
"opt1": "",
100+
"opt2": "",
101+
"columnDbname": "",
102+
"columnType": "",
103+
"showType": "",
104+
"showName": "",
105+
"fixedDownBoxValue": ""
106+
}],
107+
"nodeUserList": [{
108+
"targetId": 85,
109+
"type": 1,
110+
"name": "天旭"
111+
}],
112+
"childNode": {
113+
"nodeName": "审核人",
114+
"type": 1,
115+
"priorityLevel": 1,
116+
"settype": 1,
117+
"selectMode": 0,
118+
"selectRange": 0,
119+
"examineRoleId": 0,
120+
"directorLevel": 1,
121+
"replaceByUp": 0,
122+
"examineMode": 1,
123+
"noHanderAction": 2,
124+
"examineEndType": 0,
125+
"examineEndRoleId": 0,
126+
"examineEndDirectorLevel": 1,
127+
"ccSelfSelectFlag": 1,
128+
"conditionList": [],
129+
"nodeUserList": [{
130+
"targetId": 2515744,
131+
"type": 1,
132+
"name": "哈哈哈哈"
133+
}],
134+
"childNode": null,
135+
"conditionNodes": [],
136+
"error": false
137+
},
138+
"conditionNodes": [],
139+
"error": false
140+
}, {
141+
"nodeName": "条件2",
142+
"type": 3,
143+
"priorityLevel": 2,
144+
"settype": 1,
145+
"selectMode": 0,
146+
"selectRange": 0,
147+
"examineRoleId": 0,
148+
"directorLevel": 1,
149+
"replaceByUp": 0,
150+
"examineMode": 1,
151+
"noHanderAction": 2,
152+
"examineEndType": 0,
153+
"examineEndRoleId": 0,
154+
"examineEndDirectorLevel": 1,
155+
"ccSelfSelectFlag": 1,
156+
"conditionList": [],
157+
"nodeUserList": [],
158+
"childNode": null,
159+
"conditionNodes": [],
160+
"error": false
161+
}]
162+
},
163+
"nodeUserList": []
164+
},
165+
"conditionNodes": []
166+
}
167+
}
168+
}

Diff for: public/departments.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"code": "200",
3+
"msg": "操作成功",
4+
"data": {
5+
"childDepartments": [{
6+
"departmentKey": "RLXZB_V2",
7+
"departmentName": "人力行政部",
8+
"id": "150",
9+
"parentId": "0",
10+
"departmentNames": "人力行政部"
11+
}, {
12+
"departmentKey": "ZNBN",
13+
"departmentName": "法务部",
14+
"id": "324",
15+
"parentId": "0",
16+
"departmentNames": "法务部"
17+
}],
18+
"employees": [{
19+
"id": "53128111",
20+
"employeeName": "亚nan",
21+
"isLeave": "0",
22+
"open": "false"
23+
}],
24+
"titleDepartments": []
25+
}
26+
}

Diff for: public/employees.json

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"code": "200",
3+
"msg": "操作成功",
4+
"data": {
5+
"navigatepageNums": ["1"],
6+
"startRow": "1",
7+
"hasNextPage": "false",
8+
"prePage": "0",
9+
"nextPage": "0",
10+
"endRow": "3",
11+
"pageSize": "30",
12+
"list": [{
13+
"departmentName": "招商事业部",
14+
"employeePhone": "111111",
15+
"employeeName": "111111",
16+
"isLeave": "0",
17+
"employeeDepartmentId": "121",
18+
"id": "5312",
19+
"open": "false",
20+
"departmentNames": "招商事业部"
21+
}, {
22+
"departmentName": "111",
23+
"employeePhone": "112233",
24+
"employeeName": "东亚-测试",
25+
"isLeave": "0",
26+
"employeeDepartmentId": "139",
27+
"id": "2515638",
28+
"open": "false",
29+
"departmentNames": "111"
30+
}, {
31+
"departmentName": "招商事业部",
32+
"employeePhone": "1111",
33+
"employeeName": "1111",
34+
"isLeave": "0",
35+
"employeeDepartmentId": "121",
36+
"id": "2515746",
37+
"open": "false",
38+
"departmentNames": "招商事业部"
39+
}],
40+
"pageNum": "1",
41+
"navigatePages": "8",
42+
"navigateFirstPage": "1",
43+
"total": "3",
44+
"pages": "1",
45+
"size": "3",
46+
"isLastPage": "true",
47+
"hasPreviousPage": "false",
48+
"navigateLastPage": "1",
49+
"isFirstPage": "true"
50+
}
51+
}

Diff for: public/favicon.ico

264 KB
Binary file not shown.

0 commit comments

Comments
 (0)