| | |
| | | let tomorrow = `${now.getFullYear()}-${("0" + (now.getMonth() + 1)).slice(-2)}-${("0" + now.getDate()).slice(-2)} 00:00:00`; |
| | | return tomorrow; |
| | | }, |
| | | getnowDate1() { |
| | | let now = new Date(); |
| | | now.setDate(now.getDate()); |
| | | let tomorrow = `${now.getFullYear()}-${("0" + (now.getMonth() + 1)).slice(-2)}-${("0" + now.getDate()).slice(-2)}`; |
| | | return tomorrow; |
| | | }, |
| | | //债券公告:银行间市场 |
| | | getPageChinamoneyMkDataBonReport() { |
| | | this.loadingzqfxxqTab = true |
| | |
| | | } else { |
| | | if (this.titName === 'tab3') { |
| | | dateType = { |
| | | "fieldName": "DealDate", "ConditionalType": 2, |
| | | "fieldName": "MrtyDate", "ConditionalType": 2, |
| | | //获取明天日期,格式如24-02-06 00:00:00 |
| | | "FieldValue": this.getnowDate() |
| | | "FieldValue": this.getnowDate1() |
| | | } |
| | | } else { |
| | | dateType = { |
| | | "fieldName": "DealDate", "ConditionalType": 5, |
| | | "fieldName": "MrtyDate", "ConditionalType": 5, |
| | | //获取明天日期,格式如24-02-06 00:00:00 |
| | | "FieldValue": this.getnowDate() |
| | | "FieldValue": this.getnowDate1() |
| | | |
| | | } |
| | | } |
| | | let data = { |
| | |
| | | pageIndex: this.pageIndex3, |
| | | pageSize: 10, |
| | | conditionals: [ |
| | | // { "fieldName": "ShortName", "ConditionalType": 1, "FieldValue": this.searchName }, |
| | | // dateType |
| | | { "fieldName": "IssueOrTrusee", "ConditionalType": 1, "FieldValue": this.searchName }, |
| | | dateType |
| | | ] |
| | | }; |
| | | |
| | | // if(this.titName === 'tab3'){ |
| | | // data.conditionals.push({ "fieldName": "MrtyDate", "ConditionalType": 1, "FieldValue": this.searchName }) |
| | | // data.conditionals.push(dateType) |
| | | |
| | | // } |
| | | axios |
| | | .request({ |
| | | url: "/bankyj/GetChinamoneyMkdatabondtPage", |