-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 02f999f
Showing
137 changed files
with
19,351 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"presets": [ | ||
"@vue/app" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
VUE_APP_SRC = '/Users/test/fsadmin-cms/src' | ||
VUE_APP_UPLOAD_URL = 'http://127.0.0.1:9004/api/file' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
VUE_APP_UPLOAD_URL = 'http://120.55.160.92:9005/api/file' |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module.exports = { | ||
root: true, | ||
'extends': [ | ||
'plugin:vue/essential', | ||
'@vue/standard' | ||
], | ||
rules: { | ||
// allow async-await | ||
'generator-star-spacing': 'off', | ||
// allow debugger during development | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
'vue/no-parsing-error': [2, { | ||
'x-invalid-end-tag': false | ||
}], | ||
'no-undef': 'off', | ||
'camelcase': 'off' | ||
}, | ||
parserOptions: { | ||
parser: 'babel-eslint' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
plugins: { | ||
autoprefixer: {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: node_js | ||
node_js: stable | ||
script: npm run lint | ||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# fsadmin-cms | ||
> 简化繁琐重复的工作,全套restful风格, 实现前端orm,关联查询,自动生成基础页面的实用,易扩展的admin-cms | ||
#### 例子 | ||
|
||
[http://120.55.160.92:8082](http://120.55.160.92:8082) | ||
|
||
``` | ||
用户:test | ||
密码:111111 | ||
``` | ||
|
||
#### 服务端框架 | ||
|
||
优化中... | ||
|
||
|
||
# 环境配置 | ||
- `vue^2.5.10` | ||
- `vue-cli3` | ||
- `iview^3.2.2` | ||
|
||
## 命令 | ||
```bash | ||
# 下载代码 | ||
$ git clone https://github.com/beclass/fsadmin-cms.git | ||
|
||
# 安装依赖 | ||
$ npm i 建议 cnpm i | ||
|
||
# 开发调试 | ||
$ npm run dev | ||
|
||
# 构建 | ||
$ npm run build | ||
``` | ||
|
||
## 约定: | ||
- `filter.search$$title$$all` - 模糊查询title | ||
```bash | ||
all:模糊查询 | ||
> :大于 | ||
< :小于 | ||
>= :大于等于 | ||
<= :小于等于 | ||
``` | ||
- `belongsTo` - 属于,{ name: 'article_type', fkey: 'article_type_id', attrs: ['name->typeName'] } }, | ||
- name:主表名 | ||
- fkey:外键字段,关联主表的主键 | ||
- attrs:需要关联查询出来的字段, ->表示取别名 | ||
|
||
|
||
## 参考 | ||
|
||
#### 网址 | ||
|
||
- [Vue.js 中文网](https://cn.vuejs.org/) | ||
- [iView - 一套基于 Vue.js 的高质量 UI 组件库](https://www.iviewui.com/) | ||
- [iview-admin](https://github.com/iview/iview-admin) | ||
|
||
|
||
|
||
|
||
## 未完待续... | ||
|
||
|
||
|
Oops, something went wrong.