| | |
| | | } |
| | | }, |
| | | onSearchClickHandler() { |
| | | this.getWorkLinkList() |
| | | this.switchTab(this.tabs) |
| | | }, |
| | | onResetClickHandler() { |
| | | this.dateRangePicker = ["任意间隔", "今天", "近两天", "近三天", "近四天", "近五天", "近六天", "近七天", "近30天"], |
| | |
| | | }, |
| | | switchTab(tabIndex) { |
| | | this.tabs = tabIndex |
| | | this.sWhere = '' |
| | | switch (tabIndex) { |
| | | case 0: |
| | | this.sWhere = |
| | |
| | | this.getWorkLinkList() |
| | | }, |
| | | async getWorkLinkList() { |
| | | this.sWhere += ` and 日期 >= CONVERT(VARCHAR(10), '${this.startDate}', 23) and 日期 <= CONVERT(VARCHAR(10), '${this.endDate}', 23)` |
| | | try { |
| | | this.sWhere += ` and 日期 >= CONVERT(VARCHAR(10), '${this.startDate}', 23) and 日期 <= CONVERT(VARCHAR(10), '${this.endDate}', 23)` |
| | | |
| | | let res = await CommonUtils.doRequest2Async({ |
| | | url: 'Sc_MESTransFerWorkBill/GetOA_WorkLinkBillList', |