kongdeqiang
2023-06-05 3342e77756618c7b6ee47dbb309401696d4d72d1
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;
            })
        },
@@ -74,11 +73,6 @@
            },
            onSearch() {
                this.loadData();
            },
          onSearch2() {
            this.$byutil.postData(this, this.urlPath+'getById/1000', null,res => {
              console.log(res.data)
            });
          },
          //设置默认日期
          defaultDate(){