| | |
| | | </el-form-item> |
| | | <!-- 查询按钮--> |
| | | <el-form-item size="small" v-if="shouldShowButton"> |
| | | <el-button type="success" size="small">查询</el-button> |
| | | <el-button type="success" size="small" @click="handleSearch">查询</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | |
| | | }, |
| | | SaveHandler(){ |
| | | let name = this.SearchObject.searchData[this.formInline.type].prop; |
| | | getList(this.page.currentPage, this.page.pageSize, {[name]: this.formInline.text}).then(res => { |
| | | getList(this.page.currentPage, this.page.pageSize, { [`conditionMap['${name}_like']`]: this.formInline.text}).then(res => { |
| | | console.log(res); |
| | | }); |
| | | }, |
| | | handleSearch(){ |
| | | let formattedDate = this.$moment(this.formInline.Date).format('YYYY-M-D'); |
| | | console.log('formattedDate',formattedDate); |
| | | } |
| | | } |
| | | } |