| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- /**
- * 操作日志
- */
- Ext.define('school.view.setting.operatelog.OperateLog', {
- extend: 'school.view.core.base.BasePanel',
- xtype: 'setting-operatelog-operatelog',
- viewName: 'setting-operatelog-operatelog',
- dataUrl: '/api/school/messagelog/list',
- initComponent: function () {
- var me = this;
- Ext.apply(this, {
- searchField: [{
- columnWidth: 0.5,
- name: 'createTime',
- xtype: 'condatefield',
- fieldLabel : '时间',
- labelWidth: 50
- }, {
- width: 110,
- name: 'ml_man',
- xtype: 'textfield',
- emptyText : '操作人员',
- }],
- gridConfig: {
- dataUrl: me.dataUrl,
- actionColumn: [],
- selModel: {
- type: 'cellmodel'
- },
- hiddenTools: true,
- data: [],
- columns: [{
- text : "id",
- width : 0,
- dataIndex : "id",
- xtype : "numbercolumn",
- }, {
- text:'单据类型',
- dataIndex : "ml_name",
- width : 110.0,
- }, {
- text : "操作",
- dataIndex : "ml_content",
- width : 200.0,
- }, {
- xtype:'datecolumn',
- format:'Y-m-d H:i:s',
- text : "操作时间",
- dataIndex : "createTime",
- width : 150.0,
- }, {
- text : "结果",
- dataIndex : "ml_result",
- width : 150.0,
- }, {
- text : "操作人员",
- dataIndex : "ml_man",
- width : 110,
- }]
- },
- });
- this.callParent(arguments);
- }
- });
|