kongdeqiang
2023-06-06 6f1282471e5fd213443ac1f6dabfd3ef8b08c5c3
src/components/page/orderRecord/index.vue
@@ -16,7 +16,6 @@
              </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>
@@ -48,14 +47,14 @@
                  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;
            })
        },
@@ -75,11 +74,6 @@
            onSearch() {
                this.loadData();
            },
          onSearch2() {
            this.$byutil.postData(this, this.urlPath+'getById/1000', null,res => {
              console.log(res.data)
            });
          },
          //设置默认日期
          defaultDate(){
            //获取新的时间