├── .babelrc ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .postcssrc.js ├── README.md ├── config ├── dev.env.js ├── index.js ├── prod.env.js └── test.env.js ├── index.html ├── package.json ├── server ├── api │ ├── assetApi.js │ ├── callApi.js │ ├── exportApi.js │ ├── importApi.js │ ├── resourceApi.js │ ├── searchApi.js │ ├── styles.xml │ ├── uploadApi.js │ └── userApi.js ├── conf │ └── db.js ├── controller │ └── user.js ├── index.js ├── middleware │ ├── checkToken.js │ └── createToken.js ├── models │ ├── asset.js │ ├── call.js │ ├── export.js │ ├── resource.js │ ├── search.js │ └── user.js ├── public │ └── test.jpg ├── schema │ ├── assets.js │ ├── dictionarys.js │ ├── resource.js │ └── users.js ├── sql │ └── sqlString.js ├── styles.xml ├── uploads │ ├── avatar-1494579693303.jpeg │ ├── avatar-1494635642596.jpeg │ └── avatar-1494653671089.jpeg └── util │ ├── log.js │ └── util.js ├── sql └── ams.sql ├── src ├── App.vue ├── api │ └── index.js ├── axios.js ├── components │ ├── Hello.vue │ ├── asset │ │ ├── Addasset.vue │ │ ├── Callasset.vue │ │ ├── CallassetCheck.vue │ │ ├── QueryAllAsset.vue │ │ ├── Queryasset.vue │ │ └── expand │ │ │ └── Expand.vue │ ├── common │ │ ├── Footer.vue │ │ ├── Header.vue │ │ └── Sidebar.vue │ ├── dashboard │ │ └── Dashboard.vue │ ├── index │ │ └── Index.vue │ ├── login │ │ └── Login.vue │ ├── personal │ │ └── Personal.vue │ ├── resource │ │ └── Resource.vue │ └── user │ │ └── User.vue ├── lib │ ├── auth.js │ └── vue-cookie.js ├── main.js ├── router │ └── index.js └── store │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── modules │ ├── login.js │ └── user.js │ ├── mutations.js │ └── types.js ├── static ├── .gitkeep ├── css │ ├── main.css │ └── reset.css └── images │ ├── favicon.ico │ ├── logo.png │ └── mac.png └── test ├── e2e ├── custom-assertions │ └── elementCount.js ├── nightwatch.conf.js ├── runner.js └── specs │ └── test.js └── unit ├── .eslintrc ├── index.js ├── karma.conf.js └── specs └── Hello.spec.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/.gitignore -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/.postcssrc.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/README.md -------------------------------------------------------------------------------- /config/dev.env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/config/dev.env.js -------------------------------------------------------------------------------- /config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/config/index.js -------------------------------------------------------------------------------- /config/prod.env.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | NODE_ENV: '"production"' 3 | } 4 | -------------------------------------------------------------------------------- /config/test.env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/config/test.env.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/package.json -------------------------------------------------------------------------------- /server/api/assetApi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/api/assetApi.js -------------------------------------------------------------------------------- /server/api/callApi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/api/callApi.js -------------------------------------------------------------------------------- /server/api/exportApi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/api/exportApi.js -------------------------------------------------------------------------------- /server/api/importApi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/api/importApi.js -------------------------------------------------------------------------------- /server/api/resourceApi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/api/resourceApi.js -------------------------------------------------------------------------------- /server/api/searchApi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/api/searchApi.js -------------------------------------------------------------------------------- /server/api/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/api/styles.xml -------------------------------------------------------------------------------- /server/api/uploadApi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/api/uploadApi.js -------------------------------------------------------------------------------- /server/api/userApi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/api/userApi.js -------------------------------------------------------------------------------- /server/conf/db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/conf/db.js -------------------------------------------------------------------------------- /server/controller/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/controller/user.js -------------------------------------------------------------------------------- /server/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/index.js -------------------------------------------------------------------------------- /server/middleware/checkToken.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/middleware/checkToken.js -------------------------------------------------------------------------------- /server/middleware/createToken.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/middleware/createToken.js -------------------------------------------------------------------------------- /server/models/asset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/models/asset.js -------------------------------------------------------------------------------- /server/models/call.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/models/call.js -------------------------------------------------------------------------------- /server/models/export.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/models/export.js -------------------------------------------------------------------------------- /server/models/resource.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/models/resource.js -------------------------------------------------------------------------------- /server/models/search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/models/search.js -------------------------------------------------------------------------------- /server/models/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/models/user.js -------------------------------------------------------------------------------- /server/public/test.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/public/test.jpg -------------------------------------------------------------------------------- /server/schema/assets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/schema/assets.js -------------------------------------------------------------------------------- /server/schema/dictionarys.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/schema/dictionarys.js -------------------------------------------------------------------------------- /server/schema/resource.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/schema/resource.js -------------------------------------------------------------------------------- /server/schema/users.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/schema/users.js -------------------------------------------------------------------------------- /server/sql/sqlString.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/sql/sqlString.js -------------------------------------------------------------------------------- /server/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/styles.xml -------------------------------------------------------------------------------- /server/uploads/avatar-1494579693303.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/uploads/avatar-1494579693303.jpeg -------------------------------------------------------------------------------- /server/uploads/avatar-1494635642596.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/uploads/avatar-1494635642596.jpeg -------------------------------------------------------------------------------- /server/uploads/avatar-1494653671089.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/uploads/avatar-1494653671089.jpeg -------------------------------------------------------------------------------- /server/util/log.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/util/log.js -------------------------------------------------------------------------------- /server/util/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/server/util/util.js -------------------------------------------------------------------------------- /sql/ams.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/sql/ams.sql -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/App.vue -------------------------------------------------------------------------------- /src/api/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/api/index.js -------------------------------------------------------------------------------- /src/axios.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/axios.js -------------------------------------------------------------------------------- /src/components/Hello.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/Hello.vue -------------------------------------------------------------------------------- /src/components/asset/Addasset.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/asset/Addasset.vue -------------------------------------------------------------------------------- /src/components/asset/Callasset.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/asset/Callasset.vue -------------------------------------------------------------------------------- /src/components/asset/CallassetCheck.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/asset/CallassetCheck.vue -------------------------------------------------------------------------------- /src/components/asset/QueryAllAsset.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/asset/QueryAllAsset.vue -------------------------------------------------------------------------------- /src/components/asset/Queryasset.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/asset/Queryasset.vue -------------------------------------------------------------------------------- /src/components/asset/expand/Expand.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/asset/expand/Expand.vue -------------------------------------------------------------------------------- /src/components/common/Footer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/common/Footer.vue -------------------------------------------------------------------------------- /src/components/common/Header.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/common/Header.vue -------------------------------------------------------------------------------- /src/components/common/Sidebar.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/common/Sidebar.vue -------------------------------------------------------------------------------- /src/components/dashboard/Dashboard.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/dashboard/Dashboard.vue -------------------------------------------------------------------------------- /src/components/index/Index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/index/Index.vue -------------------------------------------------------------------------------- /src/components/login/Login.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/login/Login.vue -------------------------------------------------------------------------------- /src/components/personal/Personal.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/personal/Personal.vue -------------------------------------------------------------------------------- /src/components/resource/Resource.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/resource/Resource.vue -------------------------------------------------------------------------------- /src/components/user/User.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/components/user/User.vue -------------------------------------------------------------------------------- /src/lib/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/lib/auth.js -------------------------------------------------------------------------------- /src/lib/vue-cookie.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/lib/vue-cookie.js -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/main.js -------------------------------------------------------------------------------- /src/router/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/router/index.js -------------------------------------------------------------------------------- /src/store/actions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/store/actions.js -------------------------------------------------------------------------------- /src/store/getters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/store/getters.js -------------------------------------------------------------------------------- /src/store/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/store/index.js -------------------------------------------------------------------------------- /src/store/modules/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/store/modules/login.js -------------------------------------------------------------------------------- /src/store/modules/user.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/store/mutations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/store/mutations.js -------------------------------------------------------------------------------- /src/store/types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/src/store/types.js -------------------------------------------------------------------------------- /static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/static/css/main.css -------------------------------------------------------------------------------- /static/css/reset.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/static/css/reset.css -------------------------------------------------------------------------------- /static/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/static/images/favicon.ico -------------------------------------------------------------------------------- /static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/static/images/logo.png -------------------------------------------------------------------------------- /static/images/mac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/static/images/mac.png -------------------------------------------------------------------------------- /test/e2e/custom-assertions/elementCount.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/test/e2e/custom-assertions/elementCount.js -------------------------------------------------------------------------------- /test/e2e/nightwatch.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/test/e2e/nightwatch.conf.js -------------------------------------------------------------------------------- /test/e2e/runner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/test/e2e/runner.js -------------------------------------------------------------------------------- /test/e2e/specs/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/test/e2e/specs/test.js -------------------------------------------------------------------------------- /test/unit/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/test/unit/.eslintrc -------------------------------------------------------------------------------- /test/unit/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/test/unit/index.js -------------------------------------------------------------------------------- /test/unit/karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/test/unit/karma.conf.js -------------------------------------------------------------------------------- /test/unit/specs/Hello.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EryouHao/vue-ams/HEAD/test/unit/specs/Hello.spec.js --------------------------------------------------------------------------------