Ver código fonte

看板切换bug

zhuth 6 anos atrás
pai
commit
e34b2b6f59

+ 23 - 4
kanban-console/src/main/webapp/resources/app/view/core/trigger/PieTrigger.js

@@ -57,10 +57,29 @@ Ext.define('erp.view.core.trigger.PieTrigger', {
                     name: 'hideLabel',
                     inputValue: true
                 }, {
-                	xtype: 'texttrigger',
-                	fieldLabel: '<font title="模板变量有 {b}、{c}、{d},分别表示数据名,数据值,百分比。示例:formatter: \'{b}: {d}%\'">标注格式</font>',
-                	name: 'labelFormatter',
-                	emptyText: '{b}:  {c} \n {d}%'
+//                	xtype: 'texttrigger',
+//                	fieldLabel: '<font title="模板变量有 {b}、{c}、{d},分别表示数据名,数据值,百分比。示例:formatter: \'{b}: {d}%\'">标注格式</font>',
+//                	name: 'labelFormatter',
+//                	emptyText: '{b}:  {c} \n {d}%'
+//                }, {
+                	xtype: 'combobox',
+                    fieldLabel: '<font>标注格式</font>',
+                    name: 'labelFormatter',
+                    editable: false,
+                    store: Ext.create('Ext.data.Store', {
+                        fields: ['value', 'label'],
+                        data : [
+                            { value: '{b}', label: '名称' },
+						    { value: '{b} {c}', label: '名称+数值' },
+						    { value: '{b} {d}%', label: '名称+百分比' },
+						    { value: '{c} {d}%', label: '数值+百分比' },
+						    { value: '{b} {c}\n{d}%', label: '全部信息' }
+                        ]
+                    }),
+                    queryMode: 'local',
+                    displayField: 'label',
+                    valueField: 'value',
+                    emptyText: '全部信息'
                 }],
                 setConfig: function(configObj) {
                     var form = this;

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
kanban-console/src/main/webapp/resources/js/boardshow/main.bundle.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
kanban-console/src/main/webapp/resources/lib/boardshow/vendor.js


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff