Skip to content

Commit 50ee153

Browse files
committed
迁移web和next-web #AI commit#
1 parent 37dd535 commit 50ee153

316 files changed

Lines changed: 35064 additions & 58315 deletions

File tree

Some content is hidden

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

next-web/.eslintrc.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
"parser": "@typescript-eslint/parser"
88
},
99

10-
"plugins": ["@typescript-eslint", "prettier"],
10+
"plugins": ["@typescript-eslint"],
1111

1212
"extends": [
1313
"plugin:@typescript-eslint/recommended",
14-
"plugin:vue/vue3-recommended",
15-
"plugin:prettier/recommended"
14+
"plugin:vue/vue3-recommended"
1615
],
1716

1817
"rules": {
18+
"@typescript-eslint/no-explicit-any": "off",
1919
"@typescript-eslint/ban-ts-comment": "warn",
2020
"vue/multi-word-component-names": "off",
2121
"no-unused-vars": "off"

next-web/.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
cd next-web
4+
npx --no-install commitlint --edit "$1"

next-web/.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
cd next-web
4+
npm run lint-staged

next-web/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=http://wnpm.weoa.com:8001

next-web/.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
"files": [".prettierrc",".commitlintrc"],
99
"options": { "parser": "json" }
1010
}
11-
]
11+
],
12+
"endOfLine": "auto",
1213
}

next-web/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ vue3、vite、fes-design,是否使用 TS
77
## 本地开发及接口调试:
88

99
```
10-
lerna bootstrap
11-
wnpm run prepare
12-
wnpm run dev
10+
npm i
11+
npm run dev
1312
```
1413

1514
### 方式一
@@ -20,7 +19,8 @@ wnpm run dev
2019

2120
浏览器插件 SwitchyOmega 配置规则,非接口的资源转发至 http://localhost:5173,开发时访问目标域名即可
2221
网址正则示例:
23-
^http://***REMOVED***:8088(?!/api)._
22+
^http://sit.dss.bdap.weoa.com(?!/api)._
23+
^http://10.107.97.166:8088(?!/api)._
2424

2525
## 代码提交规范
2626

next-web/config/dss.js

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,20 @@ export default {
44
routes: 'workspace/router',
55
module: 'workspace/module',
66
i18n: {
7-
en: 'workspace/i18n/en.json',
8-
'zh-CN': 'workspace/i18n/zh.json',
7+
en: 'workspace/i18n/en.js',
8+
'zh-CN': 'workspace/i18n/zh.js',
9+
},
10+
},
11+
appconn: {
12+
routes: 'appconn/router',
13+
module: 'appconn/module',
14+
},
15+
accounts: {
16+
routes: 'accounts/router',
17+
module: 'accounts/module',
18+
i18n: {
19+
en: 'accounts/i18n/en.js',
20+
'zh-CN': 'accounts/i18n/zh.js',
921
},
1022
},
1123
},
Lines changed: 252 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,252 @@
1+
export default {
2+
可见用户列表: 'Visible User List',
3+
节点类型: 'Node Type',
4+
更新人: 'Updater',
5+
创建时间: 'Creation Time',
6+
更新时间: 'Update Time',
7+
的上游一级节点: 'Upstream Primary Node',
8+
的下游一级节点: 'Downstream Primary Node',
9+
更多操作: 'More Actions',
10+
节点路径关系查询: 'Node Path Relationship Query',
11+
设置表格: 'Set Table',
12+
上游一级节点: 'Upstream Primary Node',
13+
下游一级节点: 'Downstream Primary Node',
14+
修改时间: 'Modification Time',
15+
工作流可选配置: 'Workflow Optional Configuration',
16+
是否开启工作流关键字校验: 'Whether to Enable Workflow Keyword Validation',
17+
工作流节点配置提示:
18+
'If this configuration is enabled, workflow nodes in the workspace will be checked for the existence of keywords INSERT and CREATE TABLE when saved and published.',
19+
创建工作流默认配置: 'Create Workflow Default Configuration',
20+
'选择该配置后,在该工作空间下面的所有项目创建工作流均会默认带上这些配置':
21+
'After selecting this configuration, all projects under the workspace will default to these configurations when creating workflows.',
22+
默认资源参数模板: 'Default Resource Parameter Template',
23+
新增节点默认引用资源参数模板:
24+
'New Node Defaults to Referencing Resource Parameter Template',
25+
StarRocks集群配置: 'StarRocks Cluster Configuration',
26+
新增: 'Add',
27+
集群名: 'Cluster Name',
28+
HTTP端口: 'HTTP Port',
29+
TCP端口: 'TCP Port',
30+
是否默认: 'Is Default',
31+
删除: 'Delete',
32+
集群信息: 'Cluster Information',
33+
'不能为空,最长256字符': 'Cannot be empty, up to 256 characters',
34+
IP地址格式不正确: 'Incorrect IP Address Format',
35+
全局设置: 'Global Settings',
36+
全部用户: 'All Users',
37+
指定用户: 'Specified Users',
38+
查看: 'View',
39+
资源参数: 'Resource Parameters',
40+
'默认值:': 'Default Value:',
41+
'上限值:': 'Maximum Value:',
42+
'确认删除【': 'Confirm to delete [',
43+
'】模板?': '] template?',
44+
删除成功: 'Deleted Successfully',
45+
基础信息: 'Basic Information',
46+
'(不同引擎类型对应不同属性参数)':
47+
'(Different engine types correspond to different attribute parameters)',
48+
默认值: 'Default Value',
49+
上限值: 'Maximum Value',
50+
批量导入用户: 'Import Users in Batch',
51+
'请输入用户名,例如: enjoyyin,owewnxu,leebai':
52+
'Please enter usernames, for example: enjoyyin, owewnxu, leebai',
53+
参数默认值不能为空: 'Parameter default value cannot be empty',
54+
'默认值与上限值需同时填写,且小于等于上限值':
55+
'Default value and maximum value must be filled out simultaneously and the default value must be less than or equal to the maximum value',
56+
'默认值:': 'Default Value:',
57+
无默认值: 'No Default Value',
58+
参数上限值不能为空: 'Parameter maximum value cannot be empty',
59+
资源参数至少需要选填一项: 'At least one resource parameter must be selected',
60+
'保存成功!': 'Saved Successfully!',
61+
'请输入中文、英文、数字、下划线,最长不超过128字符':
62+
'Please enter Chinese, English, numbers, and underscores, no more than 128 characters',
63+
该模板名称已存在: 'The template name already exists',
64+
用户名: 'Username',
65+
模板名称: 'Template Name',
66+
引擎类型: 'Engine Type',
67+
规则类型: 'Rule Type',
68+
覆盖用户: 'Covered Users',
69+
关联应用: 'Associated Application',
70+
新建规则: 'Create Rule',
71+
规则执行记录: 'Rule Execution Record',
72+
规则ID: 'Rule ID',
73+
工作空间新用户规则: 'New Workspace User Rule',
74+
临时规则: 'Temporary Rule',
75+
覆盖范围: 'Coverage Scope',
76+
覆盖部门: 'Covered Departments',
77+
工作空间新用户: 'New Workspace Users',
78+
覆盖用户数: 'Number of Covered Users',
79+
执行状态: 'Execution Status',
80+
部分失败: 'Partially Failed',
81+
执行失败: 'Execution Failed',
82+
执行成功: 'Execution Succeeded',
83+
未执行: 'Not Executed',
84+
最近执行时间: 'Latest Execution Time',
85+
最近执行人: 'Latest Executor',
86+
创建人: 'Creator',
87+
模版应用规则: 'Template Application Rules',
88+
新建规则并执行: 'Create and Execute Rule',
89+
覆盖用户列表: 'List of Covered Users',
90+
'确认将规则【': 'Confirm to delete rule [',
91+
'】删除吗?': ']?',
92+
'规则删除成功!': 'Rule Deleted Successfully!',
93+
覆盖用户人: 'Covered Users',
94+
执行人: 'Executor',
95+
执行时间: 'Execution Time',
96+
请选择规则类型: 'Please select rule type',
97+
请选择关联应用: 'Please select associated application',
98+
请选择引擎类型: 'Please select engine type',
99+
请选择模板名称: 'Please select template name',
100+
请选择覆盖范围: 'Please select coverage scope',
101+
请选择覆盖用户: 'Please select covered users',
102+
'默认为全部,若指定,则只有指定部门的工作空间新用户,才会下发该规则':
103+
'By default, it is all. If specified, only new workspace users from the designated department will receive this rule.',
104+
'新建规则成功!': 'Rule Created Successfully!',
105+
请先选择关联应用: 'Please select the associated application first',
106+
请先选择引擎类型: 'Please select the engine type first',
107+
'确认将公告【': 'Confirm to delete announcement [',
108+
'公告删除成功!': 'Announcement Deleted Successfully!',
109+
结束时间必须大于起始时间: 'End time must be greater than the start time',
110+
项目台账明细: 'Project Ledger Details',
111+
工作流台账明细: 'Workflow Ledger Details',
112+
节点台账明细: 'Node Ledger Details',
113+
数据开发节点: 'Data Development Node',
114+
数据可视化节点: 'Data Visualization Node',
115+
项目名称: 'Project Name',
116+
请选择: 'Please Select',
117+
工作流名称: 'Workflow Name',
118+
状态: 'Status',
119+
取消: 'Cancel',
120+
批量提交: 'Batch Submit',
121+
批量发布: 'Batch Publish',
122+
编辑: 'Edit',
123+
确认提交: 'Confirm Submit',
124+
确认发布: 'Confirm Publish',
125+
批量提交只能选择待提交的工作流:
126+
'Batch submit can only select workflows to be submitted',
127+
'批量发布只能选择待发布、已发布或无状态的工作流':
128+
'Batch publish can only choose workflows to be published, already published, or with no status',
129+
'存在无编辑权限的工作流,请重新选择':
130+
'There is a workflow without edit permission, please reselect',
131+
工作流描述: 'Workflow Description',
132+
工作流ID: 'Workflow ID',
133+
最近一次发布状态: 'Status of the Last Release',
134+
已发布版本: 'Published Version',
135+
已发布版本发布时间: 'Published Version Release Time',
136+
已发布版本发布者: 'Published Version Publisher',
137+
默认参数模板: 'Default Parameter Template',
138+
全局变量: 'Global Variables',
139+
资源文件: 'Resource File',
140+
代理用户: 'Proxy User',
141+
错误信息: 'Error Message',
142+
操作: 'Operation',
143+
确定: 'Confirm',
144+
新增节点是否默认引用资源参数模板:
145+
'Whether new nodes default to referencing resource parameter templates',
146+
: 'Yes',
147+
: 'No',
148+
'只能由于字母、数字、下划线组成':
149+
'Can only consist of letters, numbers, and underscores',
150+
编辑成功: 'Edit Successful',
151+
版本对比: 'Version Comparison',
152+
查看版本对比: 'View Version Comparison',
153+
'未关联Git项目, 无版本比对':
154+
'Not associated with a Git project, no version comparison',
155+
代码: 'Code',
156+
元数据: 'Metadata',
157+
'加载中...': 'Loading...',
158+
当前版本: 'Current Version',
159+
注解: 'Annotation',
160+
请输入注解: 'Please Enter Annotation',
161+
确认: 'Confirm',
162+
至少需要提交一个工作流: 'At least one workflow needs to be submitted',
163+
获取差异化目录失败: 'Failed to get differential catalog',
164+
'当前工作流代码未发生变化,请保存改动后重试':
165+
'The current workflow code has not changed, please save the changes and retry',
166+
'当前工作流元数据未发生变化,请保存改动后重试':
167+
'The current workflow metadata has not changed, please save the changes and retry',
168+
'批量提交成功!': 'Batch Submit Successful!',
169+
'当前版本(': 'Current Version (',
170+
发布描述: 'Release Description',
171+
请输入发布描述: 'Please Enter Release Description',
172+
提交记录: 'Submission Record',
173+
提交ID: 'Submission ID',
174+
提交时间: 'Submission Time',
175+
提交人: 'Submitter',
176+
注释: 'Comment',
177+
节点关键字检查: 'Node Keyword Check',
178+
继续发布: 'Continue Publishing',
179+
返回修改: 'Return to Edit',
180+
项目: 'Project',
181+
下的工作流: 'Workflows under',
182+
'中节点:': 'Nodes in',
183+
'不包含关键字insert或create table':
184+
'Does not contain keyword insert or create table',
185+
至少需要发布一个工作流: 'At least one workflow needs to be published',
186+
'当前工作流代码发布后的版本与上一版完全相同,没有任何变化':
187+
'The version of the current workflow code after release is identical to the previous version, with no changes',
188+
'当前工作流元数据发布后的版本与上一版完全相同,没有任何变化':
189+
'The version of the current workflow metadata after release is identical to the previous version, with no changes',
190+
'工作流的代理用户已离职或不存在,请确认是否修改代理用户':
191+
'The proxy user of the workflow has left the company or does not exist, please confirm whether to modify the proxy user',
192+
'批量发布提交成功!': 'Batch Publish Submission Successful!',
193+
信号节点: 'Signal Node',
194+
节点名: 'Node Name',
195+
请输入: 'Please Enter',
196+
使用qualities校验: 'Use qualities for validation',
197+
确认编辑: 'Confirm Edit',
198+
批量编辑: 'Batch Edit',
199+
查看工作流: 'View Workflow',
200+
批量编辑时节点类型必须相同: 'Node types must be the same during batch edit',
201+
'批量编辑存在无编辑权限的节点,请重新选择':
202+
'There are nodes without edit permissions during batch edit, please reselect',
203+
节点描述: 'Node Description',
204+
节点ID: 'Node ID',
205+
资源参数模板: 'Resource Parameter Template',
206+
保存: 'Save',
207+
模板描述: 'Template Description',
208+
添加标签: 'Add Label',
209+
已选节点: 'Selected Nodes',
210+
是否引用资源参数模板: 'Whether to reference resource parameter template',
211+
资源参数模板名称: 'Resource Parameter Template Name',
212+
请选择资源参数模板名称: 'Please select resource parameter template name',
213+
请选择资源参数模板: 'Please select resource parameter template',
214+
'请填写正确的json格式!': 'Please enter the correct JSON format!',
215+
'每行请以check.object.xx或source.type.xx开头,xx为编号,从01开始':
216+
'Each line should start with check.object.xx or source.type.xx, where xx is the number starting from 01',
217+
行内包含空格字符: 'Line contains space characters',
218+
请正确填写多源配置: 'Please enter the correct multi-source configuration',
219+
'重复,请检查': 'Duplicate, please check',
220+
'输入参数不能包含check.object字符串':
221+
'Input parameters cannot contain the check.object string',
222+
输入参数中间不能包含空格字符:
223+
'Input parameters cannot contain space characters in between',
224+
请至少选择一个要编辑的数据项: 'Please select at least one data item to edit',
225+
批量编辑成功: 'Batch Edit Successful',
226+
提示: 'Hint',
227+
'check.objeck或job.desc存在视图表:':
228+
'check.objeck or job.desc contains view table:',
229+
'请先删除视图表!': 'Please delete the view table first!',
230+
不能为空: 'Cannot be empty',
231+
请至少选择一项: 'Please select at least one item',
232+
节点小类: 'Node subcategory',
233+
节点名称: 'Node name',
234+
Tableau视图ID或数据源ID: 'Tableau view ID or data source ID',
235+
数据可视化: 'Data visualization',
236+
上传失败: 'Upload failed',
237+
批量编辑引用资源参数模板: 'Batch edit reference resource parameter template',
238+
请选择参数模板: 'Please select a parameter template',
239+
通用设置: 'General settings',
240+
'check.object行内包含空格字符': 'check.object contains space characters',
241+
'source.type行内包含空格字符': 'source.type contains space characters',
242+
引用参数模板: 'Reference parameter template',
243+
参数模板名称: 'Parameter template',
244+
复用引擎: 'Reuse engine',
245+
是否引用参数模板: 'Whether to reference parameter template',
246+
是否复用引擎: 'Whether to reuse engine',
247+
git地址: 'Git address',
248+
参数信息: 'Parameter information',
249+
数据开发: 'Data development',
250+
参数详情: 'Parameter details',
251+
高级筛选: 'Advanced filtering',
252+
};

0 commit comments

Comments
 (0)