fix
wzy
2021-11-11 a5ea07cc5fa16fc88f4d488fcd514e7613af60cd
fix
2 files modified
27 ■■■■■ changed files
zq-erp/src/main/java/com/matrix/system/common/init/InitWebContainer.java 2 ●●● patch | view | raw | blame | history
zq-erp/src/main/resources/templates/views/admin/hive/statistics/daily-beauty-list.html 25 ●●●●● patch | view | raw | blame | history
zq-erp/src/main/java/com/matrix/system/common/init/InitWebContainer.java
@@ -122,7 +122,7 @@
        List<SysCompany> company=sysCompanyService.findByModel(null);
        Map<String, SysCompany> companyMap=new HashMap<>();
        for (SysCompany sysCompany : company) {
            companyMap.put(sysCompany.getComWebUrl(), sysCompany);
            companyMap.put(sysCompany.getComCode(), sysCompany);
        }
        LocalCache.save("companyMap", companyMap);
    }
zq-erp/src/main/resources/templates/views/admin/hive/statistics/daily-beauty-list.html
@@ -56,6 +56,16 @@
            <el-form-item label="会员">
                <el-input v-model="form.vipQueryKey"></el-input>
            </el-form-item>
            <el-form-item label="门店">
                <el-select v-model="form.shopId" placeholder="请选择所属门店">
                    <el-option v-for="item in shopList"
                               :key="item.id"
                               :label="item.shopName"
                               :value="item.id">
                    </el-option>
                </el-select>
            </el-form-item>
            <el-button type="primary" @click="search" >搜索</el-button>
            <el-button @click="resetForm('form')">重置</el-button>
<!--            <el-button type="warning" @click="exportExcel">导出</el-button>-->
@@ -123,10 +133,12 @@
        el : "#app",
        data : {
            tableData : [],
            shopList : [],
            form : {
                timeRange : '',
                vipQueryKey : '',
                beaultId : ''
                beaultId : '',
                shopId : ''
            },
            page : {
                currentPage : 1,
@@ -161,6 +173,7 @@
                        _this.page.total = loj.total;
                        _this.queryAchieveUsers();
                        _this.queryShops();
                    }
                });
            },
@@ -185,6 +198,16 @@
            search() {
                this.queryTableData();
            },
            queryShops() {
                let _this = this;
                AjaxProxy.requst({
                    app: _this,
                    url: basePath + '/admin/shopInfo/findAllWithPermi',
                    callback: function (data) {
                        _this.shopList = data.rows;
                    }
                });
            },
            handleSizeChange(val) {
                this.page.size = val;
                this.queryTableData();