fix
Helius
2021-11-08 625798ed4311553a909646cd922bbda5ef9d3895
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
 
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org" xmlns:matrix="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
    content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<LINK rel="Bookmark" href="../images/favicon.ico">
<!-- 本框架基本脚本和样式 -->
    <script type="text/javascript" th:src="@{/js/systools/MBaseVue.js}"></script>
    <script type="text/javascript" th:src="@{/js/plugin/jquery-2.1.4.min.js}"></script>
    <script type="text/javascript" th:src="@{/js/plugin/jquery.query.js}"></script>
    <script type="text/javascript" th:src="@{/plugin/moment.min.js}"></script>
    <link rel="stylesheet" th:href="@{/plugin/element-ui/index.css}">
    <link th:href="@{/css/styleOne/style.min.css}" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" th:src="@{/js/function/public.js}"></script>
</head>
<style>
    .table-style {
        margin: 20px 0;
        padding: 20px 10px;
        border: 1px solid #DCDFE6;
        background-color: white;
    }
</style>
<body>
<div id="app" style="">
    <el-row class="table-style">
        <el-table :data="tableData" style="width: 100%">
            <el-table-column type="index" width="30" fixed="left"></el-table-column>
            <el-table-column prop="datatime" width="150" label="时间" fixed="left"></el-table-column>
            <el-table-column prop="orderType" label="美疗师" fixed="left"></el-table-column>
            <el-table-column prop="orderType" label="客户" fixed="left"></el-table-column>
            <el-table-column prop="orderType" label="是否指定客" width="100"></el-table-column>
            <el-table-column label="客流">
                <el-table-column prop="orderType" label="是否会员"></el-table-column>
                <el-table-column prop="orderType" label="到店途径"></el-table-column>
                <el-table-column prop="orderType" label="当月到店次数" width="120"></el-table-column>
            </el-table-column>
            <el-table-column label="实操业绩">
                <el-table-column prop="orderType" label="项目->消耗产品" width="130"></el-table-column>
                <el-table-column prop="orderType" label="消费类型"></el-table-column>
                <el-table-column prop="orderType" label="项目数量"></el-table-column>
                <el-table-column prop="orderType" label="手工费"></el-table-column>
                <el-table-column prop="orderType" label="耗卡"></el-table-column>
            </el-table-column>
            <el-table-column label="现金业绩">
                <el-table-column prop="orderType" label="特色项目"></el-table-column>
                <el-table-column prop="orderType" label="团购销售"></el-table-column>
                <el-table-column prop="orderType" label="卡项销售"></el-table-column>
                <el-table-column prop="orderType" label="产品销售"></el-table-column>
                <el-table-column prop="orderType" label="会员充值"></el-table-column>
                <el-table-column prop="orderType" label="总业绩"></el-table-column>
                <el-table-column prop="orderType" label="划卡"></el-table-column>
            </el-table-column>
        </el-table>
        <el-row style="margin-top: 10px;">
            <el-pagination
                    @size-change="handleSizeChange"
                    @current-change="handleCurrentChange"
                    :current-page="page.currentPage"
                    :page-sizes="[10, 20, 30, 50]"
                    :page-size="page.size"
                    layout="total, sizes, prev, pager, next, jumper"
                    :total="page.total">
            </el-pagination>
        </el-row>
    </el-row>
</div>
<script type="text/javascript" th:src="@{/plugin/layer/layer.js}"></script>
<script type="text/javascript" th:src="@{/js/systools/AjaxProxyVue.js}"></script>
<script type="text/javascript" th:src="@{/js/plugin/vue.js}"></script>
<script type="text/javascript" th:src="@{/plugin/element-ui/index.js}"></script>
<script type="text/javascript" th:src="@{/plugin/moment.min.js}"></script>
<script type="text/javascript">
    var vue = new Vue({
        el : "#app",
        data : {
            tableData : [],
            page : {
                currentPage : 1,
                size : 10,
                total : 0
            }
        },
        created : function() {
 
        },
        methods : {
            handleSizeChange(val) {
                this.page.size = val;
                this.queryTableData();
            },
            handleCurrentChange(val) {
                this.page.currentPage = val;
                this.queryTableData();
            },
        }
    })
</script>
</body>
</html>