Browse Source

部分字段宽度调整

zhuth 6 years ago
parent
commit
2a0cf35f14

+ 10 - 2
frontend/pc-web/app/view/Interaction/homework/List.js

@@ -193,11 +193,19 @@ Ext.define('school.view.interaction.homework.List', {
                 }, {
                 }, {
                     text: '标题',
                     text: '标题',
                     dataIndex: 'task_title',
                     dataIndex: 'task_title',
-                    width: 120
+                    width: 250
                 }, {
                 }, {
                     text: '内容',
                     text: '内容',
                     dataIndex: 'task_context',
                     dataIndex: 'task_context',
-                    width: 300
+                    width: 300,
+                    xtype: 'widgetcolumn',
+                    tdCls: 'content-column',
+                    widget: {
+                        xtype: 'textareatrigger',
+                        winTitle: '内容',
+                        margin: '0',
+                        editable: false
+                    },
                 }, {
                 }, {
                     text: '发布人',
                     text: '发布人',
                     dataIndex: 'creator',
                     dataIndex: 'creator',

+ 1 - 1
frontend/pc-web/app/view/Interaction/mailbox/List.js

@@ -118,7 +118,7 @@ Ext.define('school.view.interaction.mailbox.List', {
                 columns : [{
                 columns : [{
                     text: '标题',
                     text: '标题',
                     dataIndex: 'mailbox_title',
                     dataIndex: 'mailbox_title',
-                    width: 120
+                    width: 250
                 }, {
                 }, {
                     text: '内容',
                     text: '内容',
                     dataIndex: 'mailbox_context',
                     dataIndex: 'mailbox_context',

+ 10 - 11
frontend/pc-web/app/view/Interaction/notice/List.js

@@ -139,20 +139,19 @@ Ext.define('school.view.interaction.notice.List', {
                 }, {
                 }, {
                     text: '标题',
                     text: '标题',
                     dataIndex: 'notify_title',
                     dataIndex: 'notify_title',
-                    width: 120,
-                    // tdCls: 'x-detail-column',
-                    // listeners: {
-                    //     click: function(view, td, row, col, e, record, tr, eOpts, event) {
-                    //         let gridConfig = me.gridConfig;
-                    //         school.util.BaseUtil.openTab(gridConfig.addXtype, gridConfig.addTitle + '(' + record.get('notify_title') + ')', gridConfig.addXtype + record.get(gridConfig.idField), {
-                    //             initId: record.get(gridConfig.idField)
-                    //         });
-                    //     }
-                    // }
+                    width: 250
                 }, {
                 }, {
                     text: '内容',
                     text: '内容',
                     dataIndex: 'notify_details',
                     dataIndex: 'notify_details',
-                    width: 300
+                    width: 300,
+                    xtype: 'widgetcolumn',
+                    tdCls: 'content-column',
+                    widget: {
+                        xtype: 'textareatrigger',
+                        winTitle: '内容',
+                        margin: '0',
+                        editable: false
+                    },
                 }, {
                 }, {
                     text: '发布人',
                     text: '发布人',
                     dataIndex: 'creator',
                     dataIndex: 'creator',