| | |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" size="small" @click="onSearch" icon="el-icon-search">查询</el-button> |
| | | <el-button type="primary" size="small" @click="onSearch2" icon="el-icon-search">查询</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | |
| | | orderNum:'', |
| | | orderMoney:'' |
| | | }, |
| | | urlPath:this.$systemconfig.basePath + '/orderrecord/', |
| | | urlPath:this.$systemconfig.basePath + '/ffzf/orderrecord/', |
| | | table1:[], |
| | | table2:[], |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.defaultDate(); |
| | | this.$byutil.postData(this, this.$systemconfig.basePath+'/park/findAll', this.formData, res => { |
| | | this.$byutil.postData(this, this.$systemconfig.basePath+'/ffzf/park/findAll', this.formData, res => { |
| | | this.table1 = res.data; |
| | | }) |
| | | }, |
| | |
| | | }, |
| | | onSearch() { |
| | | this.loadData(); |
| | | }, |
| | | onSearch2() { |
| | | this.$byutil.postData(this, this.urlPath+'getById/1000', null,res => { |
| | | console.log(res.data) |
| | | }); |
| | | }, |
| | | //设置默认日期 |
| | | defaultDate(){ |