Authored by 陈峰

样式微调

... ... @@ -7,9 +7,3 @@ export default {
name: 'app'
};
</script>
<style lang="scss">
.tetst {
width: 100px;
}
</style>
... ...
... ... @@ -125,12 +125,6 @@ body {
transition: width .1s ease-in-out;
}
.ivu-table {
table {
}
}
.layout-logo-left {
width: 90%;
height: 30px;
... ...
const _ = require('lodash');
const Context = require('./context');
const Context = require('../framework/context');
const rp = require('request-promise');
const request = require('request');
... ...
... ... @@ -5,7 +5,7 @@
*/
'use strict';
const Context = require('../common/context');
const Context = require('../framework/context');
const FileService = require('../service/file-service');
const Api = require('../common/api');
const apiDomain = require('../common/api-domain');
... ...
... ... @@ -9,8 +9,7 @@
const Express = require('express');
const UserController = require('./user-controller');
const FileController = require('./file-controller');
const OutputController = require('./output-controller');
const middleware = require('../common/middleware');
const middleware = require('../framework/middleware');
const multipart = require('connect-multiparty');
const multipartMiddleware = multipart();
... ... @@ -20,7 +19,5 @@ router.post('/login', middleware(UserController, 'login'));
router.post('/logout', middleware(UserController, 'logout'));
router.post('/upload/image', multipartMiddleware, middleware(FileController, 'uploadImage'));
// router.get('/output/productList', middleware(OutputController, 'productList'));
module.exports = router;
... ...
const Context = require('../common/context');
const Context = require('../framework/context');
const nodeExcel = require('excel-export');
// 暂时弃用
... ...
... ... @@ -5,7 +5,7 @@
*/
'use strict';
const Context = require('../common/context');
const Context = require('../framework/context');
const UserService = require('../service/user-service');
const _ = require('lodash');
... ...
... ... @@ -4,7 +4,7 @@
* @date: 2017/04/13
*/
const Context = require('./context');
const Context = require('../framework/context');
module.exports = (Type, action) => {
return (req, res, next) => {
... ...
... ... @@ -4,7 +4,7 @@
* @date: 2017/04/13
*/
const _ = require('lodash');
const util = require('../common/util');
const util = require('../framework/util');
module.exports = (req, res, next) => {
let yoho = {
... ...
const Context = require('../common/context');
const Context = require('../framework/context');
class FileService extends Context {
constructor() {
... ...
... ... @@ -5,8 +5,7 @@
'use strict';
const _ = require('lodash');
const md5 = require('yoho-md5');
const Context = require('../common/context');
const Context = require('../framework/context');
const rp = require('request-promise');
const Api = require('../common/api');
const apiDomain = global.yoho.apiDomain;
... ...