|
|
@@ -0,0 +1,75 @@
|
|
|
+/**
|
|
|
+ * 操作日志
|
|
|
+ */
|
|
|
+Ext.define('school.view.setting.operatelog.OperateLog', {
|
|
|
+ extend: 'school.view.core.base.BasePanel',
|
|
|
+ xtype: 'setting-operatelog-operatelog',
|
|
|
+
|
|
|
+ viewName: 'setting-operatelog-operatelog',
|
|
|
+ dataUrl: '/api/commons/operatelog/list',
|
|
|
+ initComponent: function () {
|
|
|
+ var me = this;
|
|
|
+ Ext.apply(this, {
|
|
|
+ searchField: [{
|
|
|
+ width: 110,
|
|
|
+ name: 'obj',
|
|
|
+ xtype: 'textfield',
|
|
|
+ emptyText : '对象',
|
|
|
+ }, {
|
|
|
+ columnWidth: 0.5,
|
|
|
+ name: 'time',
|
|
|
+ xtype: 'condatefield',
|
|
|
+ fieldLabel : '时间',
|
|
|
+ labelWidth: 50
|
|
|
+ }, {
|
|
|
+ width: 110,
|
|
|
+ name: '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 : "单据编号",
|
|
|
+ width : 150.0,
|
|
|
+ dataIndex : "ml_code",
|
|
|
+ }, {
|
|
|
+ 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);
|
|
|
+ }
|
|
|
+});
|