| | |
| | | }, |
| | | methods:{ |
| | | onSearch(){ |
| | | this.formInline.creStartTime = this.createdTime[0]?this.createdTime[0]:null; |
| | | this.formInline.creEndTime = this.createdTime[1]?this.createdTime[1]:null; |
| | | this.formInline.creStartTime = this.createdTime&&this.createdTime[0]?this.createdTime[0]:null; |
| | | this.formInline.creEndTime = this.createdTime&&this.createdTime[1]?this.createdTime[1]:null; |
| | | let objForm = JSON.parse(JSON.stringify(this.formInline)); |
| | | for (let key in objForm) { |
| | | if (objForm[key] === "all"||objForm[key] === null||objForm[key] === '') { |