| | |
| | | |
| | | //示ä¾ï¼è®¾ç½®ä¿®æ¹æ°å»ºãç¼è¾å¼¹åºæ¡å段æ ç¾çé¿åº¦ |
| | | // this.boxOptions.labelWidth = 150; |
| | | this.pagination.order = "asc"; |
| | | this.columns.forEach(row=>{ |
| | | if(row.field=="stationCode"){ |
| | | row.sort=true; |
| | | } |
| | | }) |
| | | this.buttons.splice(1, 0, { |
| | | name: "åæ¶ç¦ç¨", |
| | | icon: 'md-refresh', |
| | |
| | | }); |
| | | } |
| | | }) |
| | | this.buttons.splice(1, 0, { |
| | | name: "ç§»åº", |
| | | icon: 'el-icon-document', |
| | | type: 'danger', |
| | | onClick: function () { |
| | | this.$refs.gridHeader.detialBox = true; |
| | | } |
| | | }) |
| | | // this.buttons.splice(1, 0, { |
| | | // name: "ç§»åº", |
| | | // icon: 'el-icon-document', |
| | | // type: 'danger', |
| | | // onClick: function () { |
| | | // this.$refs.gridHeader.detialBox = true; |
| | | // } |
| | | // }) |
| | | }, |
| | | onInited() { |
| | | //æ¡æ¶åå§åé
ç½®å |