vue2-client 1.10.16 → 1.10.17
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/.cursorrules +19 -19
- package/package.json +1 -1
- package/public/index.html +27 -27
- package/src/base-client/components/common/Upload/Upload.vue +322 -322
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +1141 -1113
- package/src/base-client/components/common/XAddNativeForm/demo.vue +34 -34
- package/src/base-client/components/common/XForm/XFormItem.vue +1286 -1286
- package/src/base-client/components/common/XFormTable/XFormTable.vue +854 -854
- package/src/base-client/components/common/XPrint/Demo.vue +41 -41
- package/src/base-client/components/common/XSimpleDescriptions/XSimpleDescriptions.vue +166 -166
- package/src/base-client/components/layout/XPageView/XPageView.vue +155 -155
- package/src/components/HeightScanner/index.vue +572 -572
- package/src/config/CreateQueryConfig.js +325 -325
- package/src/main.js +34 -34
- package/src/pages/WorkflowDetail/WorkflowDetail.vue +230 -230
- package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowHandle.vue +864 -864
- package/src/pages/XTreeOneProExample/index.vue +67 -67
- package/src/router/async/router.map.js +188 -188
- package/src/services/api/workFlow.js +63 -63
- package/src/utils/util.js +329 -329
- package/vue.config.js +213 -213
package/.cursorrules
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
你是JavaScript、Node.js、Vue 2.7+、AntdV方面的专家。
|
|
2
|
-
|
|
3
|
-
代码风格和结构
|
|
4
|
-
|
|
5
|
-
编写简洁、技术性的JavaScript代码,并提供准确的示例。
|
|
6
|
-
-使用组合API和声明式编程模式 setup 语法糖函数;避免选项API 或者 stepup 标签。如果已有代码,则使用已有的代码。
|
|
7
|
-
-比起代码复制,更喜欢迭代和模块化。
|
|
8
|
-
使用带有助动词的描述性变量名(例如,isLoading, hasError)。
|
|
9
|
-
-结构文件:导出的组件,可组合,助手,静态内容,类型。
|
|
10
|
-
|
|
11
|
-
命名约定
|
|
12
|
-
-使用小写带破折号的目录(例如,components/auth-wizard)。
|
|
13
|
-
-组件名称使用PascalCase(例如,AuthWizard.vue)。
|
|
14
|
-
-对可组合组件使用camelCase(例如,useAuthState.ts)。
|
|
15
|
-
|
|
16
|
-
语法和格式
|
|
17
|
-
-方法和计算属性使用箭头函数。
|
|
18
|
-
-避免在条件语句中使用不必要的花括号;对简单的语句使用简洁的语法。
|
|
19
|
-
-使用模板语法进行声明性呈现。
|
|
1
|
+
你是JavaScript、Node.js、Vue 2.7+、AntdV方面的专家。
|
|
2
|
+
|
|
3
|
+
代码风格和结构
|
|
4
|
+
|
|
5
|
+
编写简洁、技术性的JavaScript代码,并提供准确的示例。
|
|
6
|
+
-使用组合API和声明式编程模式 setup 语法糖函数;避免选项API 或者 stepup 标签。如果已有代码,则使用已有的代码。
|
|
7
|
+
-比起代码复制,更喜欢迭代和模块化。
|
|
8
|
+
使用带有助动词的描述性变量名(例如,isLoading, hasError)。
|
|
9
|
+
-结构文件:导出的组件,可组合,助手,静态内容,类型。
|
|
10
|
+
|
|
11
|
+
命名约定
|
|
12
|
+
-使用小写带破折号的目录(例如,components/auth-wizard)。
|
|
13
|
+
-组件名称使用PascalCase(例如,AuthWizard.vue)。
|
|
14
|
+
-对可组合组件使用camelCase(例如,useAuthState.ts)。
|
|
15
|
+
|
|
16
|
+
语法和格式
|
|
17
|
+
-方法和计算属性使用箭头函数。
|
|
18
|
+
-避免在条件语句中使用不必要的花括号;对简单的语句使用简洁的语法。
|
|
19
|
+
-使用模板语法进行声明性呈现。
|
package/package.json
CHANGED
package/public/index.html
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en" class="beauty-scroll">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
|
-
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
|
8
|
-
<title><%= process.env.VUE_APP_NAME %></title>
|
|
9
|
-
<!-- require cdn assets css -->
|
|
10
|
-
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
|
|
11
|
-
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" />
|
|
12
|
-
<% } %>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<noscript>
|
|
16
|
-
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
|
17
|
-
</noscript>
|
|
18
|
-
<div id="popContainer" class="beauty-scroll" style="height: 100%; overflow-y: auto">
|
|
19
|
-
<div id="app"></div>
|
|
20
|
-
</div>
|
|
21
|
-
<!-- require cdn assets js -->
|
|
22
|
-
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
|
|
23
|
-
<script type="text/javascript" src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
|
|
24
|
-
<% } %>
|
|
25
|
-
<!-- built files will be auto injected -->
|
|
26
|
-
</body>
|
|
27
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en" class="beauty-scroll">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
|
+
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
|
8
|
+
<title><%= process.env.VUE_APP_NAME %></title>
|
|
9
|
+
<!-- require cdn assets css -->
|
|
10
|
+
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
|
|
11
|
+
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" />
|
|
12
|
+
<% } %>
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<noscript>
|
|
16
|
+
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
|
17
|
+
</noscript>
|
|
18
|
+
<div id="popContainer" class="beauty-scroll" style="height: 100%; overflow-y: auto">
|
|
19
|
+
<div id="app"></div>
|
|
20
|
+
</div>
|
|
21
|
+
<!-- require cdn assets js -->
|
|
22
|
+
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
|
|
23
|
+
<script type="text/javascript" src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
|
|
24
|
+
<% } %>
|
|
25
|
+
<!-- built files will be auto injected -->
|
|
26
|
+
</body>
|
|
27
|
+
</html>
|