名片分配情况

当前位置:   article > 正文

elementUI 页面布局_el-dialog四等分页面

el-dialog四等分页面
<div id="rrapp" v-cloak>
    <el-row :gutter="20">

        <el-col :span="5"> <div style="atsc-nav-left: #div2 #div1;" v-for="">
            <h3 style="font-weight: bold;">名片分配情况</h3>
            <div style="margin-top: 50px;font-size: 18px">
                <span >今日:<span style="color: deepskyblue;font-size: 26px;font-weight: bold"> {{table.main.data.todayTotal}}</span></span>&nbsp;&nbsp;&nbsp;
                <span >昨日:<span style="font-size: 26px;font-weight: bold"> {{table.main.data.yesTotal}}</span></span>
            </div>
            <el-divider></el-divider>
            <div style="margin-top: 30px;font-size: 18px" >本月累计:<span style="color: deepskyblue;font-size: 26px;font-weight: bold"> {{table.main.data.thisMonTotal}}</span> </div>
            <div style="margin-top: 30px;font-size: 18px" >上月总计:<span style="font-size: 26px;font-weight: bold"> {{table.main.data.fistMonTotal}}</span> </div>
            <h3 style="margin-top: 70px;font-weight: bold">今日顾问分配</h3>
            <div style="margin-top: 30px;font-size: 18px " >当前有概率顾问人数: <span style="font-size: 26px;font-weight: bold">{{table.main.data.receivedTotal}}</span> </div>
            <div style="margin-top: 30px;font-size: 18px" >名片达上限顾问人数: <span style="color: red;font-size: 26px;font-weight: bold">{{table.main.data.upLimitTotal}}</span> </div>
            <div style="margin-top: 30px;font-size: 18px" >当前概率总和: <span style="color: red;font-size: 26px;font-weight: bold">{{table.main.data.propertyTotal}}%</span> </div>
            <el-tooltip placement="right" style="margin-top: 50px">
                <div slot="content">
                    产品经理友情提示∶)<br/>
                    1、设定合理的概率<br/>
                    2、设定合理的名片上限(通常流量=名片上限*70%左右)<br/>
                    3、关注每个顾问近三天流量情况,灵活调整第二天概率和上限。<br/>
                    3、关注名片打匀情况,当某人名片上限打满后,会优先分配给其他未打满顾问<br/>
                    4、全部有概率的顾问打满后,后续流量按他们的概率进行分配<br/>
                </div>
                <el-button>Tips:名片分配如何科学设定?</el-button>
            </el-tooltip>
        </div></el-col>
        <el-col :span="8"><div id="div2">
            <el-row>
                <h3 style="margin: auto;font-weight: bold"> 各渠道名片来源(渠道推广分析)
                    <el-button type="primary" @click="exportExcel()" style="margin-left: 400px">导出Excel</el-button></h3>

                <el-table
                        :header-cell-style="{'text-align':'center'}"
                        height="560"
                        ref="mainTable"
                        :data="table3.main.data"
                        style="width: 100%"
                        v-loading="table3.main.loading"
                        @selection-change="val => table3.main.selection = val.map(i => i.id)"
                        @row-click="(row, event, column) => $refs.mainTable.toggleRowSelection(row)">
                    <el-table-column
                            prop="chanel"
                            label="渠道" align="center">
                    </el-table-column>
                    <el-table-column
                            prop="total"
                            label="今日" align="center">
                        <template slot-scope="scope">
                            <span style="color:deepskyblue;">{{scope.row.total}}</span>
                        </template>
                    </el-table-column>

                    <el-table-column
                            prop="yesTotal"
                            label="昨日" align="center">
                        <template slot-scope="scope">
                            <span style="color:deepskyblue;">{{scope.row.yesTotal}}</span>
                        </template>
                    </el-table-column>

                    <el-table-column
                            prop="monthTotal"
                            label="当月累计" align="center">
                    </el-table-column>
                </el-table>
                <el-pagination
                        @size-change="mainSizeChange3"
                        @current-change="mainCurrentChange3"
                        :current-page="table3.main.page"
                        :page-sizes="[10, 20, 30, 40]"
                        :page-size="table3.main.limit"
                        layout="total, sizes, prev, pager, next, jumper"
                        :total="table3.main.total">
                </el-pagination>
            </el-row>
        </div></el-col>
        <el-col :span="11" id="div1">
            <div>
            <el-row>
                <h3 style="margin: auto;font-weight: bold">当前分配总览</h3>
                <el-table
                        :header-cell-style="{'text-align':'center'}"
                        height="600"
                        :row-style="{height:'20px'}"
                        ref="mainTable"
                        :data="table2.main.data"
                        style="width:100%; font-size: 14px"
                        v-loading="table2.main.loading"
                        @selection-change="val => table2.main.selection = val.map(i => i.id)"
                        @row-click="(row, event, column) => $refs.mainTable.toggleRowSelection(row)">

                    <el-table-column
                            v-if="false"
                            label="wxId"
                            prop="wxId" align="center">
                    </el-table-column>
                    <el-table-column
                            width="120"
                            prop="consultantName"
                            label="接量顾问" align="center">
                    </el-table-column>
                    <el-table-column
                            prop="currentProbability"
                            label="当前概率(%)" align="center">
                        <template slot-scope="scope">
                            <span style="color:red;">{{scope.row.currentProbability}}</span>
                        </template>
                    </el-table-column>
                    <el-table-column
                            prop="todayTotal"
                            label="今日名片" align="center">
                        <template slot-scope="scope">
                            <span style="color:red;"
                                  v-if="scope.row.todayTotal >= scope.row.todayLimit">{{scope.row.todayTotal}}</span>/{{scope.row.todayLimit}}
                            <span style="color:deepskyblue;"
                                  v-else>{{scope.row.todayTotal}}</span>/{{scope.row.todayLimit}}
                        </template>
                    </el-table-column>
                    <el-table-column
                            v-if="false"
                            hidden="hidden"
                            prop="todayLimit"
                            label="今日上限" align="center">
                    </el-table-column>
                    <el-table-column
                            prop="yestTotal"
                            label="昨日名片" align="center">
                        <template slot-scope="scope">
                            <span style="color:red;" v-if="scope.row.yestTotal >= scope.row.yestLimit">{{scope.row.yestTotal}}</span>/{{scope.row.yestLimit}}
                            <span style="color:deepskyblue;" v-else>{{scope.row.yestTotal}}
                            </span>/{{scope.row.yestLimit}}
                        </template>
                    </el-table-column>
                    <el-table-column
                            v-if="false"
                            style="font-weight: bold;color: #00acd6"
                            prop="yestLimit"
                            label="昨日上限" align="center">
                    </el-table-column>
                    <el-table-column
                            prop="cumulativeThisMonth"
                            label="当月累计" align="center">
                    </el-table-column>

                    <el-table-column
                            label="快速调整"
                            fixe="right" align="center">
                        <template slot-scope="scope">
                            <el-button type="primary" @click.stop="toUpdateWindow(scope.row.wxId)"
                                       icon="el-icon-edit"></el-button>
                        </template>
                    </el-table-column>
                </el-table>
                <el-pagination
                        @size-change="mainSizeChange2"
                        @current-change="mainCurrentChange2"
                        :current-page="table2.main.page"
                        :page-sizes="[10, 20, 30, 40]"
                        :page-size="table2.main.limit"
                        layout="total, sizes, prev, pager, next, jumper"
                        :total="table2.main.total">
                </el-pagination>
            </el-row>
        </div>
        </el-col>
        <el-dialog
                :title="form.title"
                :visible.sync="table2.main.showForm">
            <el-form ref="form" label-width="120px" style="width: 60%">
                <el-form-item label="类型">
                    <el-input v-model="form.main.msgtype"
                              placeholder="请输入类型(text=文本消息, image= 图片消息, link = 图文链接, miniprogrampage=小程序卡片"></el-input>
                </el-form-item>
                <el-form-item label="内容">
                    <el-input v-model="form.main.content" placeholder="请输入内容"></el-input>
                </el-form-item>
                <el-form-item label="微信文案">
                    <el-input v-model="form.main.wxWriter" placeholder="请输入微信文案"></el-input>
                </el-form-item>
                <el-form-item label="微信号">
                    <el-input v-model="form.main.remark" placeholder="请输入微信号"></el-input>
                </el-form-item>
                <el-form-item label="人数上限">
                    <el-input v-model="form.main.upperLimit" placeholder="请输入人数上限"></el-input>
                </el-form-item>

                <el-form-item label="关键字">
                    <el-input v-model="form.main.keyword" placeholder="请输入关键字"></el-input>
                </el-form-item>

                <el-form-item label="正常or无效">
                    <el-input v-model="form.main.status" placeholder="请输入(0:无效,1:正常)"></el-input>
                </el-form-item>
                <el-form-item label="是否默认自动回复的内容">
                    <el-input v-model="form.main.isDefault" placeholder="请输入是否默认(1:是,0:否)"></el-input>
                </el-form-item>
                <el-form-item label="轮换概率">
                    <el-input v-model="form.main.priority" placeholder="请输入轮换概率"></el-input>
                </el-form-item>
                <el-form-item label="图片">
                    <el-upload
                            class="upload-demo"
                            drag
                            :headers="upload.uploadHeaders"
                            :action="`${upload.baseURL}sys/oss/upload`"
                            :limit="1"
                            :on-success="imgUrlUploadSuccess">
                        <i class="el-icon-upload"></i>
                        <div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
                    </el-upload>
                </el-form-item>

                <el-form-item label="微信二维码">
                    <el-upload
                            class="upload-demo"
                            drag
                            :headers="upload1.uploadHeaders1"
                            :action="`${upload.baseURL}sys/oss/upload`"
                            :limit="1"
                            :on-success="imgCodeUploadSuccess">
                        <i class="el-icon-upload"></i>
                        <div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
                    </el-upload>
                </el-form-item>
                <el-form-item label="备注">
                    <el-input type="textarea"
                              :rows="4" v-model="form.main.comment" placeholder="备注"></el-input>
                </el-form-item>

                <el-form-item label="H5地址">
                    <el-input type="textarea"
                              :rows="4" v-model="form.main.wxUrl" placeholder="H5地址"></el-input>
                </el-form-item>

                <el-form-item>
                    <el-button type="primary" @click="mainSaveOrUpdate">立即提交</el-button>
                    <el-button @click="mainWindowClose">取消</el-button>
                </el-form-item>
            </el-form>

        </el-dialog>
    </el-row>
</div>
  • 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
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245

在这里插入图片描述
在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/113501?site
推荐阅读
相关标签