vue2-client 1.2.29 → 1.2.32-test
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/.eslintrc.js +82 -81
- package/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/src/base-client/all.js +2 -0
- package/src/base-client/components/common/CreateQuery/CreateQuery.vue +1333 -1304
- package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQuery.vue +752 -752
- package/src/base-client/components/common/ScrollList/SrcollList.vue +113 -113
- package/src/base-client/components/common/ScrollList/index.js +3 -3
- package/src/base-client/components/common/Upload/Upload.vue +119 -0
- package/src/base-client/components/common/Upload/index.js +3 -0
- package/src/base-client/components/common/XForm/XFormItem.vue +280 -265
- package/src/base-client/components/common/XFormTable/XFormTable.vue +484 -406
- package/src/base-client/components/common/XTable/index.md +9 -9
- package/src/config/CreateQueryConfig.js +1 -1
- package/src/services/api/applyInstallApi.js +14 -0
- package/src/services/api/restTools.js +24 -23
- package/src/utils/request.js +198 -197
- package/vue.config.js +143 -143
- package/yarn.lock +0 -13634
package/.eslintrc.js
CHANGED
|
@@ -1,81 +1,82 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: {
|
|
4
|
-
node: true
|
|
5
|
-
},
|
|
6
|
-
'extends': [
|
|
7
|
-
'plugin:vue/essential',
|
|
8
|
-
'plugin:vue/strongly-recommended',
|
|
9
|
-
'@vue/standard'
|
|
10
|
-
],
|
|
11
|
-
rules: {
|
|
12
|
-
'
|
|
13
|
-
'no-
|
|
14
|
-
'
|
|
15
|
-
'
|
|
16
|
-
'
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
'
|
|
21
|
-
|
|
22
|
-
'
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
'vue/
|
|
28
|
-
'vue/
|
|
29
|
-
'vue/
|
|
30
|
-
'vue/
|
|
31
|
-
'vue/
|
|
32
|
-
'vue/
|
|
33
|
-
'vue/
|
|
34
|
-
'vue/
|
|
35
|
-
'vue/
|
|
36
|
-
'vue/
|
|
37
|
-
'
|
|
38
|
-
'
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
'
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
'
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
'
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
'**/
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
env: {
|
|
4
|
+
node: true
|
|
5
|
+
},
|
|
6
|
+
'extends': [
|
|
7
|
+
'plugin:vue/essential',
|
|
8
|
+
'plugin:vue/strongly-recommended',
|
|
9
|
+
'@vue/standard'
|
|
10
|
+
],
|
|
11
|
+
rules: {
|
|
12
|
+
'comma-dangle': 'off',
|
|
13
|
+
'no-console': 'off',
|
|
14
|
+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
15
|
+
'generator-star-spacing': 'off',
|
|
16
|
+
'no-mixed-operators': 0,
|
|
17
|
+
'vue/max-attributes-per-line': [
|
|
18
|
+
2,
|
|
19
|
+
{
|
|
20
|
+
'singleline': 5,
|
|
21
|
+
'multiline': {
|
|
22
|
+
'max': 1,
|
|
23
|
+
'allowFirstLine': false
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
'vue/attribute-hyphenation': 0,
|
|
28
|
+
'vue/html-self-closing': 0,
|
|
29
|
+
'vue/component-name-in-template-casing': 0,
|
|
30
|
+
'vue/html-closing-bracket-spacing': 0,
|
|
31
|
+
'vue/singleline-html-element-content-newline': 0,
|
|
32
|
+
'vue/no-unused-components': 0,
|
|
33
|
+
'vue/multiline-html-element-content-newline': 0,
|
|
34
|
+
'vue/no-use-v-if-with-v-for': 0,
|
|
35
|
+
'vue/html-closing-bracket-newline': 0,
|
|
36
|
+
'vue/no-parsing-error': 0,
|
|
37
|
+
'vue/name-property-casing': 0,
|
|
38
|
+
'no-tabs': 0,
|
|
39
|
+
'quotes': [
|
|
40
|
+
2,
|
|
41
|
+
'single',
|
|
42
|
+
{
|
|
43
|
+
'avoidEscape': true,
|
|
44
|
+
'allowTemplateLiterals': true
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
'semi': [
|
|
48
|
+
2,
|
|
49
|
+
'never',
|
|
50
|
+
{
|
|
51
|
+
'beforeStatementContinuationChars': 'never'
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
'no-delete-var': 2,
|
|
55
|
+
'prefer-const': [
|
|
56
|
+
2,
|
|
57
|
+
{
|
|
58
|
+
'ignoreReadBeforeAssign': false
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
'template-curly-spacing': 'off',
|
|
62
|
+
'indent': 'off',
|
|
63
|
+
// 必须使用全等: false
|
|
64
|
+
'eqeqeq': 0,
|
|
65
|
+
// 可以使用!! 双重否定
|
|
66
|
+
'no-extra-boolean-cast': 'off'
|
|
67
|
+
},
|
|
68
|
+
parserOptions: {
|
|
69
|
+
parser: 'babel-eslint'
|
|
70
|
+
},
|
|
71
|
+
overrides: [
|
|
72
|
+
{
|
|
73
|
+
files: [
|
|
74
|
+
'**/__tests__/*.{j,t}s?(x)',
|
|
75
|
+
'**/tests/unit/**/*.spec.{j,t}s?(x)'
|
|
76
|
+
],
|
|
77
|
+
env: {
|
|
78
|
+
jest: true
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
> 所有关于本项目的变化都在该文档里。
|
|
3
3
|
|
|
4
|
+
**##1.2.32 -2022-04-07 @朱子峰**
|
|
5
|
+
- 功能修改:
|
|
6
|
+
- [XFormTable]:新增判断,如果表名以##开始,则在查询时为其创建临时表
|
|
7
|
+
|
|
8
|
+
**##1.2.30 -1.2.31 -2022-04-02 @张振宇**
|
|
9
|
+
- 功能修改:
|
|
10
|
+
- 查询配置页面bug修改
|
|
11
|
+
- 表单配置页面bug修改
|
|
12
|
+
|
|
4
13
|
**##1.2.28 -2022-03-29 @朱子峰**
|
|
5
14
|
- 功能修改:
|
|
6
15
|
- [Cookie]:去除自定义Cookie
|
package/package.json
CHANGED
package/src/base-client/all.js
CHANGED
|
@@ -25,6 +25,7 @@ import CreateSimpleFormQuery from '@vue2-client/base-client/components/common/Cr
|
|
|
25
25
|
import FormGroupQuery from '@vue2-client/base-client/components/common/FormGroupQuery'
|
|
26
26
|
import FormGroupEdit from '@vue2-client/base-client/components/common/FormGroupEdit'
|
|
27
27
|
import JSONToTree from '@vue2-client/base-client/components/common/JSONToTree'
|
|
28
|
+
import Upload from '@vue2-client/base-client/components/common/Upload'
|
|
28
29
|
|
|
29
30
|
// 插件
|
|
30
31
|
import Plugins from '@vue2-client/base-client/plugins'
|
|
@@ -55,3 +56,4 @@ Vue.component('CreateSimpleFormQuery', CreateSimpleFormQuery)
|
|
|
55
56
|
Vue.component('FormGroupQuery', FormGroupQuery)
|
|
56
57
|
Vue.component('FormGroupEdit', FormGroupEdit)
|
|
57
58
|
Vue.component('JSONToTree', JSONToTree)
|
|
59
|
+
Vue.component('Upload', Upload)
|