105 lines
4.5 KiB
HTML
105 lines
4.5 KiB
HTML
|
{{template "header" }}
|
||
|
<div id="app" style="width:100%">
|
||
|
<template>
|
||
|
<el-tabs type="border-card" @tab-click="handleTabClick">
|
||
|
<el-tab-pane label="访客来源">
|
||
|
<el-form :inline="true" :model="kefuSearch" class="demo-form-inline">
|
||
|
<el-form-item label="访问标题">
|
||
|
<el-input v-model="kefuSearch.title"></el-input>
|
||
|
</el-form-item>
|
||
|
<el-form-item label="来源标题">
|
||
|
<el-input v-model="kefuSearch.refer_title"></el-input>
|
||
|
</el-form-item>
|
||
|
<el-form-item>
|
||
|
<el-button type="primary" @click="visitorExtAllPage(1)" icon="el-icon-search" ></el-button>
|
||
|
</el-form-item>
|
||
|
</el-form>
|
||
|
|
||
|
<el-table
|
||
|
:empty-text="flyLang.nodata"
|
||
|
:data="visitorExtAll.list"
|
||
|
border
|
||
|
style="width: 100%">
|
||
|
<el-table-column
|
||
|
prop="client_ip"
|
||
|
label="IP地址">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="city"
|
||
|
label="城市">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="refer"
|
||
|
label="来源标题">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="refer_url"
|
||
|
label="来源地址">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="title"
|
||
|
label="访问标题">
|
||
|
</el-table-column>
|
||
|
|
||
|
<el-table-column
|
||
|
prop="ua"
|
||
|
label="浏览器">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="created_at"
|
||
|
label="访问时间">
|
||
|
</el-table-column>
|
||
|
</el-table>
|
||
|
<el-pagination
|
||
|
background
|
||
|
@current-change="visitorExtAllPage"
|
||
|
:current-page="visitorExtAll.page"
|
||
|
layout="prev,pager, next"
|
||
|
:page-size="visitorExtAll.pagesize"
|
||
|
:total="visitorExtAll.count">
|
||
|
</el-pagination>
|
||
|
</el-tab-pane>
|
||
|
<el-tab-pane label="评价列表">
|
||
|
<el-table
|
||
|
:empty-text="flyLang.nodata"
|
||
|
:data="rate.list"
|
||
|
border
|
||
|
style="width: 100%">
|
||
|
<el-table-column
|
||
|
prop="visitor_id"
|
||
|
:label="flyLang.visitor">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="kefu_name"
|
||
|
:label="flyLang.account">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="score"
|
||
|
:label="flyLang.score">
|
||
|
</el-table-column>
|
||
|
|
||
|
<el-table-column
|
||
|
prop="content"
|
||
|
:label="flyLang.content">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="created_at"
|
||
|
:label="flyLang.createTime">
|
||
|
</el-table-column>
|
||
|
</el-table>
|
||
|
<el-pagination
|
||
|
background
|
||
|
@current-change="ratePage"
|
||
|
:current-page="rate.page"
|
||
|
layout="prev,pager, next"
|
||
|
:page-size="rate.pagesize"
|
||
|
:total="rate.count">
|
||
|
</el-pagination>
|
||
|
</el-tab-pane>
|
||
|
</el-tabs>
|
||
|
</template>
|
||
|
|
||
|
</div>
|
||
|
</body>
|
||
|
{{template "setting_bottom" .}}
|