haiwei-module-admin 1.0.0 → 1.0.2
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/.browserslistrc +2 -0
- package/.eslintrc.js +18 -0
- package/.prettierrc +6 -0
- package/.vscode/settings.json +10 -0
- package/babel.config.js +10 -0
- package/package.json +9 -17
- package/postcss.config.js +5 -0
- package/script/npm_install.bat +4 -0
- package/script/npm_install.ps1 +3 -0
- package/script/npm_publish.bat +4 -0
- package/script/npm_publish.ps1 +3 -0
- package/script/npm_update.bat +4 -0
- package/script/npm_update.ps1 +3 -0
- package/src/api/components/file.js +3 -0
- package/src/components/enum-checkbox/index.vue +1 -1
- package/src/components/enum-radio/index.vue +1 -1
- package/src/components/enum-select/index.vue +1 -1
- package/src/components/file-preview/index copy.vue +531 -0
- package/src/components/file-preview/index.vue +534 -0
- package/src/components/index.js +1 -1
- package/src/components/login-mode-select/index.vue +1 -1
- package/src/components/module-select/index.vue +1 -1
- package/src/components/platform-select/index.vue +1 -1
- package/src/components/role-select/index.vue +1 -1
- package/src/index.js +6 -6
- package/src/routes/index.js +1 -1
- package/src/views/account/components/save/index.vue +1 -1
- package/src/views/account/index/index.vue +1 -1
- package/src/views/auditInfo/components/details/index.vue +1 -1
- package/src/views/button/permission-bind/index.vue +1 -1
- package/src/views/cache/index/index.vue +1 -1
- package/src/views/file/components/save/index.vue +106 -0
- package/src/views/file/index/index.vue +54 -3
- package/src/views/file/index/page.js +8 -0
- package/src/views/menu/components/add/index.vue +1 -1
- package/src/views/menu/components/edit/index.vue +1 -1
- package/src/views/mime/components/save/index.vue +1 -1
- package/src/views/mime/index/index.vue +1 -1
- package/src/views/module/components/page-list/index.vue +1 -1
- package/src/views/module/components/permission-list/index.vue +1 -1
- package/src/views/role/components/platform-bind/index.vue +1 -1
- package/src/views/role/components/save/index.vue +1 -1
- package/src/views/role/index/index.vue +1 -1
- package/vue.config.js +118 -0
package/.browserslistrc
ADDED
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
env: {
|
|
4
|
+
node: true
|
|
5
|
+
},
|
|
6
|
+
extends: ['plugin:vue/essential', '@vue/prettier'],
|
|
7
|
+
rules: {
|
|
8
|
+
'no-console': 'off',
|
|
9
|
+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
|
|
10
|
+
},
|
|
11
|
+
parserOptions: {
|
|
12
|
+
parser: 'babel-eslint'
|
|
13
|
+
},
|
|
14
|
+
globals: {
|
|
15
|
+
$http: 'readonly',
|
|
16
|
+
$api: 'readonly'
|
|
17
|
+
}
|
|
18
|
+
}
|
package/.prettierrc
ADDED
package/babel.config.js
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
+
"id": 0,
|
|
2
3
|
"name": "haiwei-module-admin",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
4
|
+
"code": "admin",
|
|
5
|
+
"version": "1.0.2",
|
|
6
|
+
"description": "haiwei前端Admin模块组件",
|
|
5
7
|
"author": "Eric",
|
|
6
8
|
"license": "ISC",
|
|
7
9
|
"main": "src/index.js",
|
|
@@ -9,15 +11,15 @@
|
|
|
9
11
|
"serve": "vue-cli-service serve",
|
|
10
12
|
"build": "vue-cli-service build",
|
|
11
13
|
"lint": "vue-cli-service lint",
|
|
12
|
-
"cm": "
|
|
13
|
-
"cc": "
|
|
14
|
+
"cm": "rimraf node_modules",
|
|
15
|
+
"cc": "rimraf node_modules/.cache",
|
|
14
16
|
"i": "cd ./script && npm_install.bat",
|
|
15
17
|
"up": "cd ./script && npm_update.bat",
|
|
16
18
|
"pub": "cd ./script && npm_publish.bat"
|
|
17
19
|
},
|
|
18
20
|
"dependencies": {
|
|
19
21
|
"haiwei-skins-classics": "^1.0.2",
|
|
20
|
-
"haiwei-ui": "^1.0.
|
|
22
|
+
"haiwei-ui": "^1.0.5"
|
|
21
23
|
},
|
|
22
24
|
"devDependencies": {
|
|
23
25
|
"@vue/cli-plugin-babel": "^4.4.4",
|
|
@@ -39,16 +41,6 @@
|
|
|
39
41
|
},
|
|
40
42
|
"repository": {
|
|
41
43
|
"type": "git",
|
|
42
|
-
"url": "https://github.com/iamoldli/haiwei
|
|
43
|
-
}
|
|
44
|
-
"keywords": [
|
|
45
|
-
"haiwei",
|
|
46
|
-
"admin",
|
|
47
|
-
"module",
|
|
48
|
-
"vue",
|
|
49
|
-
"ui-framework"
|
|
50
|
-
],
|
|
51
|
-
"files": [
|
|
52
|
-
"src"
|
|
53
|
-
]
|
|
44
|
+
"url": "https://github.com/iamoldli/haiwei"
|
|
45
|
+
}
|
|
54
46
|
}
|