vue2-client 1.2.31 → 1.2.32
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 +81 -82
- package/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQuery.vue +752 -752
- package/src/base-client/components/common/XAddNativeForm/index.js +3 -3
- package/src/base-client/components/common/XAddNativeForm/index.md +56 -56
- package/src/base-client/components/common/XFormTable/XFormTable.vue +484 -406
- package/src/base-client/components/common/XTable/index.md +255 -255
- package/src/services/api/EmployeeDetailsViewApi.js +16 -16
- package/src/services/api/applyInstallApi.js +14 -0
- package/src/utils/request.js +197 -197
- package/vue.config.js +143 -143
package/.eslintrc.js
CHANGED
|
@@ -1,82 +1,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
|
-
'
|
|
13
|
-
'no-
|
|
14
|
-
'
|
|
15
|
-
'
|
|
16
|
-
'
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
'
|
|
21
|
-
|
|
22
|
-
'
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
'vue/
|
|
28
|
-
'vue/
|
|
29
|
-
'vue/
|
|
30
|
-
'vue/html-
|
|
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
|
-
|
|
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
|
+
'no-console': 'off',
|
|
13
|
+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
14
|
+
'generator-star-spacing': 'off',
|
|
15
|
+
'no-mixed-operators': 0,
|
|
16
|
+
'vue/max-attributes-per-line': [
|
|
17
|
+
2,
|
|
18
|
+
{
|
|
19
|
+
'singleline': 5,
|
|
20
|
+
'multiline': {
|
|
21
|
+
'max': 1,
|
|
22
|
+
'allowFirstLine': false
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
'vue/attribute-hyphenation': 0,
|
|
27
|
+
'vue/html-self-closing': 0,
|
|
28
|
+
'vue/component-name-in-template-casing': 0,
|
|
29
|
+
'vue/html-closing-bracket-spacing': 0,
|
|
30
|
+
'vue/singleline-html-element-content-newline': 0,
|
|
31
|
+
'vue/no-unused-components': 0,
|
|
32
|
+
'vue/multiline-html-element-content-newline': 0,
|
|
33
|
+
'vue/no-use-v-if-with-v-for': 0,
|
|
34
|
+
'vue/html-closing-bracket-newline': 0,
|
|
35
|
+
'vue/no-parsing-error': 0,
|
|
36
|
+
'vue/name-property-casing': 0,
|
|
37
|
+
'no-tabs': 0,
|
|
38
|
+
'quotes': [
|
|
39
|
+
2,
|
|
40
|
+
'single',
|
|
41
|
+
{
|
|
42
|
+
'avoidEscape': true,
|
|
43
|
+
'allowTemplateLiterals': true
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
'semi': [
|
|
47
|
+
2,
|
|
48
|
+
'never',
|
|
49
|
+
{
|
|
50
|
+
'beforeStatementContinuationChars': 'never'
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
'no-delete-var': 2,
|
|
54
|
+
'prefer-const': [
|
|
55
|
+
2,
|
|
56
|
+
{
|
|
57
|
+
'ignoreReadBeforeAssign': false
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
'template-curly-spacing': 'off',
|
|
61
|
+
'indent': 'off',
|
|
62
|
+
// 必须使用全等: false
|
|
63
|
+
'eqeqeq': 0,
|
|
64
|
+
// 可以使用!! 双重否定
|
|
65
|
+
'no-extra-boolean-cast': 'off'
|
|
66
|
+
},
|
|
67
|
+
parserOptions: {
|
|
68
|
+
parser: 'babel-eslint'
|
|
69
|
+
},
|
|
70
|
+
overrides: [
|
|
71
|
+
{
|
|
72
|
+
files: [
|
|
73
|
+
'**/__tests__/*.{j,t}s?(x)',
|
|
74
|
+
'**/tests/unit/**/*.spec.{j,t}s?(x)'
|
|
75
|
+
],
|
|
76
|
+
env: {
|
|
77
|
+
jest: true
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
package/CHANGELOG.md
CHANGED