Ext.define('saas.view.statistical.Models', { extend: 'Ext.app.ViewModel', alias: 'viewmodel.statistical', stores: { personinfo: { model: 'saas.model.statistical.PersonInfo', autoLoad: true, proxy: { type: 'ajax', // url: 'http://10.1.80.33:9040/data/getAccount', url: '/api/operation/data/getAccount', timeout: 8000, actionMethods: { read: 'GET' }, reader: { type: 'json', rootProperty: 'data.list', totalProperty: 'data.total', } } }, companyinfo: { model: 'saas.model.statistical.CompanyInfo', autoLoad: true, proxy: { type: 'ajax', // url: 'http://10.1.80.33:9040/data/getCompany', url: '/api/operation/data/getCompany', timeout: 8000, actionMethods: { read: 'GET' }, reader: { type: 'json', rootProperty: 'data.list', totalProperty: 'data.total', } } }, loginlog: { model: 'saas.model.statistical.LoginLog', autoLoad: true, proxy: { type: 'ajax', // url: 'http://10.1.80.33:9040/data/getLogin', url: '/api/operation/data/getLogin', timeout: 8000, actionMethods: { read: 'GET' }, reader: { type: 'json', rootProperty: 'data.list', totalProperty: 'data.total', }, } }, } });