|
|
@@ -114,10 +114,6 @@ Ext.define('school.view.interaction.mailbox.List', {
|
|
|
handler: 'onUnIgnoreClick'
|
|
|
}],
|
|
|
columns : [{
|
|
|
- text: 'ID',
|
|
|
- dataIndex: 'mailbox_id',
|
|
|
- hidden: true
|
|
|
- }, {
|
|
|
text: '标题',
|
|
|
dataIndex: 'mailbox_title',
|
|
|
width: 120
|
|
|
@@ -134,45 +130,17 @@ Ext.define('school.view.interaction.mailbox.List', {
|
|
|
},
|
|
|
|
|
|
width: 300
|
|
|
- }, {
|
|
|
- xtype: 'datecolumn',
|
|
|
- text: '日期',
|
|
|
- dataIndex: 'create_date',
|
|
|
- width: 150
|
|
|
- }, {
|
|
|
- text: '提出人',
|
|
|
- dataIndex: 'mb_creatorname',
|
|
|
- width: 120
|
|
|
- }, {
|
|
|
- text: '年级',
|
|
|
- dataIndex: 'mb_grade'
|
|
|
- }, {
|
|
|
- text: '班级',
|
|
|
- dataIndex: 'mb_class'
|
|
|
- }, {
|
|
|
- text: '学生',
|
|
|
- dataIndex: 'mb_student'
|
|
|
}, {
|
|
|
text: '回复状态',
|
|
|
dataIndex: 'mailbox_status',
|
|
|
renderer: function(v, m, r) {
|
|
|
return v == 3 ? '已回复' : '未回复';
|
|
|
}
|
|
|
- }, {
|
|
|
- text: '忽略状态',
|
|
|
- dataIndex: 'mb_ignore',
|
|
|
- renderer: function(v, m, r) {
|
|
|
- return v == 1 ? '已忽略' : '正常';
|
|
|
- }
|
|
|
- }, {
|
|
|
- text: '回复信息',
|
|
|
- dataIndex: 'mb_reply',
|
|
|
- width: 250
|
|
|
}, {
|
|
|
xtype:'actioncolumn',
|
|
|
width:70,
|
|
|
dataIndex:'actioncolumn',
|
|
|
- text:'操作',
|
|
|
+ text:'回复',
|
|
|
align: 'center',
|
|
|
items: [{
|
|
|
tooltip: '回复',
|
|
|
@@ -182,6 +150,38 @@ Ext.define('school.view.interaction.mailbox.List', {
|
|
|
listeners: {
|
|
|
click: 'onActionClick'
|
|
|
}
|
|
|
+ }, {
|
|
|
+ text: '回复信息',
|
|
|
+ dataIndex: 'mb_reply',
|
|
|
+ width: 250
|
|
|
+ }, {
|
|
|
+ text: '忽略状态',
|
|
|
+ dataIndex: 'mb_ignore',
|
|
|
+ renderer: function(v, m, r) {
|
|
|
+ return v == 1 ? '已忽略' : '正常';
|
|
|
+ }
|
|
|
+ }, {
|
|
|
+ text: 'ID',
|
|
|
+ dataIndex: 'mailbox_id',
|
|
|
+ hidden: true
|
|
|
+ }, {
|
|
|
+ xtype: 'datecolumn',
|
|
|
+ text: '日期',
|
|
|
+ dataIndex: 'create_date',
|
|
|
+ width: 150
|
|
|
+ }, {
|
|
|
+ text: '提出人',
|
|
|
+ dataIndex: 'mb_creatorname',
|
|
|
+ width: 120
|
|
|
+ }, {
|
|
|
+ text: '年级',
|
|
|
+ dataIndex: 'mb_grade'
|
|
|
+ }, {
|
|
|
+ text: '班级',
|
|
|
+ dataIndex: 'mb_class'
|
|
|
+ }, {
|
|
|
+ text: '学生',
|
|
|
+ dataIndex: 'mb_student'
|
|
|
}]
|
|
|
},
|
|
|
});
|