Commit d7879530 authored by 赵啸非's avatar 赵啸非

Merge remote-tracking branch 'origin/master'

parents 2cd81a83 81d3f5df
...@@ -351,6 +351,7 @@ ...@@ -351,6 +351,7 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
flex-wrap: wrap;
& > div { & > div {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="reportForm-Container"> <div class="reportForm-Container">
<div class="header_box"> <div class="header_box">
<div> <div>
<a-button type="success" @click="handleExportTable"> <a-button type="primary" @click="handleExportTable">
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
</a-button> </a-button>
</div> </div>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="PoliticsShow-Container"> <div class="PoliticsShow-Container">
<div class="header_box"> <div class="header_box">
<div> <div>
<a-button type="success" @click="exportTable"> <a-button type="primary" @click="exportTable">
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
</a-button> </a-button>
<span>告警次数:<i>256次</i></span> <span>告警次数:<i>256次</i></span>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="ff p15"> <div class="ff p15">
<div class="form-box"> <div class="form-box">
<div class="num-dv"> <div class="num-dv">
<a-button :loading="btnLoading" type="success" @click="handleExportTable"> <a-button :loading="btnLoading" type="primary" @click="handleExportTable">
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
</a-button> </a-button>
<div class="ml20">提交总次数:<span style="color:#1890ff;font-weight: bold;">{{ numObj ? numObj.count : 0 }}</span></div> <div class="ml20">提交总次数:<span style="color:#1890ff;font-weight: bold;">{{ numObj ? numObj.count : 0 }}</span></div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div> <div>
<a-button <a-button
:loading="btnLoading" :loading="btnLoading"
type="success" type="primary"
@click="handleExportTable" @click="handleExportTable"
> >
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div> <div>
<a-button <a-button
:loading="btnLoading" :loading="btnLoading"
type="success" type="primary"
@click="handleExportTable" @click="handleExportTable"
> >
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
......
...@@ -2,40 +2,21 @@ ...@@ -2,40 +2,21 @@
<div class="callRecord-Container"> <div class="callRecord-Container">
<div class="header_box"> <div class="header_box">
<div> <div>
<a-button type="success" @click="handleExportTable"> <a-button type="primary" @click="handleExportTable">
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
</a-button> </a-button>
<a-button type="danger" @click="delTable"> <a-button type="danger" @click="delTable">
<span>批量删除</span> <span>批量删除</span>
</a-button> </a-button>
<b <b>评价次数:<i>{{ evaCount }}</i></b>
>评价次数:<i>{{ evaCount }}</i></b <sub>统计时间段:{{ BegindAndEndTime[0] }}~{{ BegindAndEndTime[1] }}</sub>
>
<sub
>统计时间段:{{ BegindAndEndTime[0] }}~{{ BegindAndEndTime[1] }}</sub
>
</div> </div>
<span> <span>
<a-space> <a-space>
<a-select <a-select v-model="evaChoose" placeholder="全部评价" mode="multiple">
v-model="evaChoose" <a-select-option v-for="item in optonList" :key="item.id" :value="item.id">{{ item.name }}</a-select-option>
placeholder="全部评价"
mode="multiple"
style="max-width: 140px"
>
<a-select-option
v-for="item in optonList"
:key="item.id"
:value="item.id"
>{{ item.name }}</a-select-option
>
</a-select> </a-select>
<a-select <a-select v-model="evaFrom" placeholder="全部来源" mode="multiple">
v-model="evaFrom"
placeholder="全部来源"
mode="multiple"
style="max-width: 160px"
>
<a-select-option value="1"> 窗口评价 </a-select-option> <a-select-option value="1"> 窗口评价 </a-select-option>
<a-select-option value="2"> 自助服务终端 </a-select-option> <a-select-option value="2"> 自助服务终端 </a-select-option>
<a-select-option value="3"> 背靠背评价 </a-select-option> <a-select-option value="3"> 背靠背评价 </a-select-option>
...@@ -44,21 +25,11 @@ ...@@ -44,21 +25,11 @@
<a-select-option value="6"> 一体化评价 </a-select-option> <a-select-option value="6"> 一体化评价 </a-select-option>
</a-select> </a-select>
<a-range-picker <a-range-picker :allowClear="false" valueFormat="YYYY-MM-DD" style="width: 200px" class="range_picker_style"
:allowClear="false" v-model="BegindAndEndTime">
valueFormat="YYYY-MM-DD"
style="width: 200px"
class="range_picker_style"
v-model="BegindAndEndTime"
>
</a-range-picker> </a-range-picker>
<a-input <a-input style="width: 280px" v-model="searchName" placeholder="请输入评价人姓名或部门名称搜索" @pressEnter="handleSearch">
style="width: 280px"
v-model="searchName"
placeholder="请输入评价人姓名或部门名称搜索"
@pressEnter="handleSearch"
>
<a-icon slot="prefix" type="search" /> <a-icon slot="prefix" type="search" />
</a-input> </a-input>
<a-button type="primary" @click="handleSearch">搜索</a-button> <a-button type="primary" @click="handleSearch">搜索</a-button>
...@@ -67,46 +38,18 @@ ...@@ -67,46 +38,18 @@
</span> </span>
</div> </div>
<div class="main"> <div class="main">
<a-table <a-table size="small" bordered :row-key="(record) => record.id" :row-selection="{
size="small" selectedRowKeys: tableSelectedKeys,
bordered onChange: onSelectChange,
:row-key="(record) => record.id" }" :scroll="{ y: 590 }" :pagination="tablePagination" @change="changeTablePage" :loading="tableLoading"
:row-selection="{ :columns="tableHeaders" :dataSource="tableSourceData">
selectedRowKeys: tableSelectedKeys,
onChange: onSelectChange,
}"
:scroll="{ y: 590 }"
:pagination="tablePagination"
@change="changeTablePage"
:loading="tableLoading"
:columns="tableHeaders"
:dataSource="tableSourceData"
>
<template slot="评价人照片" slot-scope="text"> <template slot="评价人照片" slot-scope="text">
<a-avatar <a-avatar v-if="!text || !baseurl" shape="square" :size="40" icon="user" />
v-if="!text || !baseurl" <img v-else :src="baseurl + '/' + text" alt="" srcset="" style="max-width: 100px; max-height: 100px" />
shape="square"
:size="40"
icon="user"
/>
<img
v-else
:src="baseurl + '/' + text"
alt=""
srcset=""
style="max-width: 100px; max-height: 100px"
/>
</template> </template>
<template slot="操作" slot-scope="text, record"> <template slot="操作" slot-scope="text, record">
<a-button <a-button type="link" style="color: #ff7370" @click="handleDel(record.id)">删除</a-button>
type="link" <a-button type="link" @click="openHandlingDetails(record)">详情</a-button>
style="color: #ff7370"
@click="handleDel(record.id)"
>删除</a-button
>
<a-button type="link" @click="openHandlingDetails(record)"
>详情</a-button
>
</template> </template>
</a-table> </a-table>
<HandlingDetails ref="HandlingDetails" /> <HandlingDetails ref="HandlingDetails" />
...@@ -483,7 +426,7 @@ export default { ...@@ -483,7 +426,7 @@ export default {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
& > div { &>div {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
......
...@@ -2,40 +2,21 @@ ...@@ -2,40 +2,21 @@
<div class="callRecord-Container"> <div class="callRecord-Container">
<div class="header_box"> <div class="header_box">
<div> <div>
<a-button type="success" @click="handleExportTable"> <a-button type="primary" @click="handleExportTable">
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
</a-button> </a-button>
<a-button type="danger" @click="delTable"> <a-button type="danger" @click="delTable">
<span>批量删除</span> <span>批量删除</span>
</a-button> </a-button>
<b <b>评价次数:<i>{{ evaCount }}</i></b>
>评价次数:<i>{{ evaCount }}</i></b <sub>统计时间段:{{ BegindAndEndTime[0] }}~{{ BegindAndEndTime[1] }}</sub>
>
<sub
>统计时间段:{{ BegindAndEndTime[0] }}~{{ BegindAndEndTime[1] }}</sub
>
</div> </div>
<span> <span>
<a-space> <a-space>
<a-select <a-select v-model="evaChoose" placeholder="全部评价" mode="multiple">
v-model="evaChoose" <a-select-option v-for="item in optonList" :key="item.id" :value="item.id">{{ item.name }}</a-select-option>
placeholder="全部评价"
mode="multiple"
style="max-width: 140px"
>
<a-select-option
v-for="item in optonList"
:key="item.id"
:value="item.id"
>{{ item.name }}</a-select-option
>
</a-select> </a-select>
<a-select <a-select v-model="evaFrom" placeholder="全部来源" mode="multiple">
v-model="evaFrom"
placeholder="全部来源"
mode="multiple"
style="max-width: 160px"
>
<a-select-option value="1"> 窗口评价 </a-select-option> <a-select-option value="1"> 窗口评价 </a-select-option>
<a-select-option value="2"> 自助服务终端 </a-select-option> <a-select-option value="2"> 自助服务终端 </a-select-option>
<a-select-option value="3"> 背靠背评价 </a-select-option> <a-select-option value="3"> 背靠背评价 </a-select-option>
...@@ -44,21 +25,11 @@ ...@@ -44,21 +25,11 @@
<a-select-option value="6"> 一体化评价 </a-select-option> <a-select-option value="6"> 一体化评价 </a-select-option>
</a-select> </a-select>
<a-range-picker <a-range-picker :allowClear="false" valueFormat="YYYY-MM-DD" style="width: 200px" class="range_picker_style"
:allowClear="false" v-model="BegindAndEndTime">
valueFormat="YYYY-MM-DD"
style="width: 200px"
class="range_picker_style"
v-model="BegindAndEndTime"
>
</a-range-picker> </a-range-picker>
<a-input <a-input style="width: 280px" v-model="searchName" placeholder="请输入评价人姓名或排号编号搜索" @pressEnter="handleSearch">
style="width: 280px"
v-model="searchName"
placeholder="请输入评价人姓名或排号编号搜索"
@pressEnter="handleSearch"
>
<a-icon slot="prefix" type="search" /> <a-icon slot="prefix" type="search" />
</a-input> </a-input>
<a-button type="primary" @click="handleSearch">搜索</a-button> <a-button type="primary" @click="handleSearch">搜索</a-button>
...@@ -67,46 +38,18 @@ ...@@ -67,46 +38,18 @@
</span> </span>
</div> </div>
<div class="main"> <div class="main">
<a-table <a-table size="small" bordered :row-key="(record) => record.id" :row-selection="{
size="small" selectedRowKeys: tableSelectedKeys,
bordered onChange: onSelectChange,
:row-key="(record) => record.id" }" :scroll="{ y: 590 }" :pagination="tablePagination" @change="changeTablePage" :loading="tableLoading"
:row-selection="{ :columns="tableHeaders" :dataSource="tableSourceData">
selectedRowKeys: tableSelectedKeys,
onChange: onSelectChange,
}"
:scroll="{ y: 590 }"
:pagination="tablePagination"
@change="changeTablePage"
:loading="tableLoading"
:columns="tableHeaders"
:dataSource="tableSourceData"
>
<template slot="评价人照片" slot-scope="text"> <template slot="评价人照片" slot-scope="text">
<a-avatar <a-avatar v-if="!text || !baseurl" shape="square" :size="40" icon="user" />
v-if="!text || !baseurl" <img v-else :src="baseurl + '/' + text" alt="" srcset="" style="max-width: 100px; max-height: 100px" />
shape="square"
:size="40"
icon="user"
/>
<img
v-else
:src="baseurl + '/' + text"
alt=""
srcset=""
style="max-width: 100px; max-height: 100px"
/>
</template> </template>
<template slot="操作" slot-scope="text, record"> <template slot="操作" slot-scope="text, record">
<a-button <a-button type="link" style="color: #ff7370" @click="handleDel(record.id)">删除</a-button>
type="link" <a-button type="link" @click="openHandlingDetails(record)">详情</a-button>
style="color: #ff7370"
@click="handleDel(record.id)"
>删除</a-button
>
<a-button type="link" @click="openHandlingDetails(record)"
>详情</a-button
>
</template> </template>
</a-table> </a-table>
<HandlingDetails ref="HandlingDetails" /> <HandlingDetails ref="HandlingDetails" />
...@@ -486,7 +429,7 @@ export default { ...@@ -486,7 +429,7 @@ export default {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
& > div { &>div {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
......
...@@ -2,40 +2,21 @@ ...@@ -2,40 +2,21 @@
<div class="callRecord-Container"> <div class="callRecord-Container">
<div class="header_box"> <div class="header_box">
<div> <div>
<a-button type="success" @click="handleExportTable"> <a-button type="primary" @click="handleExportTable">
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
</a-button> </a-button>
<a-button type="danger" @click="delTable"> <a-button type="danger" @click="delTable">
<span>批量删除</span> <span>批量删除</span>
</a-button> </a-button>
<b <b>评价次数:<i>{{ evaCount }}</i></b>
>评价次数:<i>{{ evaCount }}</i></b <sub>统计时间段:{{ BegindAndEndTime[0] }}~{{ BegindAndEndTime[1] }}</sub>
>
<sub
>统计时间段:{{ BegindAndEndTime[0] }}~{{ BegindAndEndTime[1] }}</sub
>
</div> </div>
<span> <span>
<a-space> <a-space>
<a-select <a-select v-model="evaChoose" placeholder="全部评价" mode="multiple">
v-model="evaChoose" <a-select-option v-for="item in optonList" :key="item.id" :value="item.id">{{ item.name }}</a-select-option>
placeholder="全部评价"
mode="multiple"
style="max-width: 140px"
>
<a-select-option
v-for="item in optonList"
:key="item.id"
:value="item.id"
>{{ item.name }}</a-select-option
>
</a-select> </a-select>
<a-select <a-select v-model="evaFrom" placeholder="全部来源" mode="multiple">
v-model="evaFrom"
placeholder="全部来源"
mode="multiple"
style="max-width: 160px"
>
<a-select-option value="1"> 窗口评价 </a-select-option> <a-select-option value="1"> 窗口评价 </a-select-option>
<a-select-option value="2"> 自助服务终端 </a-select-option> <a-select-option value="2"> 自助服务终端 </a-select-option>
<a-select-option value="3"> 背靠背评价 </a-select-option> <a-select-option value="3"> 背靠背评价 </a-select-option>
...@@ -44,21 +25,11 @@ ...@@ -44,21 +25,11 @@
<a-select-option value="6"> 一体化评价 </a-select-option> <a-select-option value="6"> 一体化评价 </a-select-option>
</a-select> </a-select>
<a-range-picker <a-range-picker style="width: 200px" :allowClear="false" valueFormat="YYYY-MM-DD" class="range_picker_style"
style="width: 200px" v-model="BegindAndEndTime">
:allowClear="false"
valueFormat="YYYY-MM-DD"
class="range_picker_style"
v-model="BegindAndEndTime"
>
</a-range-picker> </a-range-picker>
<a-input <a-input style="width: 280px" v-model="searchName" placeholder="请输入评价人姓名或窗口编号搜索" @pressEnter="handleSearch">
style="width: 280px"
v-model="searchName"
placeholder="请输入评价人姓名或窗口编号搜索"
@pressEnter="handleSearch"
>
<a-icon slot="prefix" type="search" /> <a-icon slot="prefix" type="search" />
</a-input> </a-input>
<a-button type="primary" @click="handleSearch">搜索</a-button> <a-button type="primary" @click="handleSearch">搜索</a-button>
...@@ -67,44 +38,18 @@ ...@@ -67,44 +38,18 @@
</span> </span>
</div> </div>
<div class="main"> <div class="main">
<a-table <a-table size="small" bordered :row-key="(record) => record.id" :row-selection="{
size="small" selectedRowKeys: tableSelectedKeys,
bordered onChange: onSelectChange,
:row-key="(record) => record.id" }" :scroll="{ y: 590 }" :pagination="tablePagination" @change="changeTablePage" :loading="tableLoading"
:row-selection="{ :columns="tableHeaders" :dataSource="tableSourceData">
selectedRowKeys: tableSelectedKeys,
onChange: onSelectChange,
}"
:scroll="{ y: 590 }"
:pagination="tablePagination"
@change="changeTablePage"
:loading="tableLoading"
:columns="tableHeaders"
:dataSource="tableSourceData"
>
<template slot="评价人照片" slot-scope="text"> <template slot="评价人照片" slot-scope="text">
<a-avatar <a-avatar v-if="!text || !baseurl" shape="square" :size="40" icon="user" />
v-if="!text || !baseurl" <img v-else :src="baseurl + '/' + text" style="max-width: 100px; max-height: 100px" />
shape="square"
:size="40"
icon="user"
/>
<img
v-else
:src="baseurl + '/' + text"
style="max-width: 100px; max-height: 100px"
/>
</template> </template>
<template slot="操作" slot-scope="text, record"> <template slot="操作" slot-scope="text, record">
<a-button <a-button type="link" style="color: #ff7370" @click="handleDel(record.id)">删除</a-button>
type="link" <a-button type="link" @click="openHandlingDetails(record)">详情</a-button>
style="color: #ff7370"
@click="handleDel(record.id)"
>删除</a-button
>
<a-button type="link" @click="openHandlingDetails(record)"
>详情</a-button
>
</template> </template>
</a-table> </a-table>
<HandlingDetails ref="HandlingDetails" /> <HandlingDetails ref="HandlingDetails" />
...@@ -489,7 +434,7 @@ export default { ...@@ -489,7 +434,7 @@ export default {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
& > div { &>div {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div> <div>
<a-button <a-button
:loading="btnLoading" :loading="btnLoading"
type="success" type="primary"
@click="handleExportTable" @click="handleExportTable"
> >
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div> <div>
<a-button <a-button
:loading="btnLoading" :loading="btnLoading"
type="success" type="primary"
@click="handleExportTable" @click="handleExportTable"
> >
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
......
<template> <template>
<div class="Container"> <div class="Container">
<div class="header"> <div class="header">
<a-button type="success" @click="$router.go(-1)">返回上一级</a-button> <a-button type="primary" @click="$router.go(-1)">返回上一级</a-button>
</div> </div>
<div class="main"> <div class="main">
<div class="left_"> <div class="left_">
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div> <div>
<a-button <a-button
:loading="btnLoading" :loading="btnLoading"
type="success" type="primary"
@click="handleExportTable" @click="handleExportTable"
> >
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="callRecord-Container"> <div class="callRecord-Container">
<div class="header_box"> <div class="header_box">
<div> <div>
<a-button :loading="btnLoading" type="success" @click="handleExportTable"> <a-button :loading="btnLoading" type="primary" @click="handleExportTable">
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
</a-button> </a-button>
<b>拨打次数:<i>{{total}}</i></b> <b>拨打次数:<i>{{total}}</i></b>
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
<script> <script>
import table from "@/mixins/table"; import table from "@/mixins/table";
import {getSys12345} from "@/api/dataAdmin" import {getSys12345} from "@/api/dataAdmin"
import { import {
export2Excel export2Excel
} from "@/utils/js/exportExcel"; } from "@/utils/js/exportExcel";
export default { export default {
mixins: [table], mixins: [table],
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="callRecord-Container"> <div class="callRecord-Container">
<div class="header_box"> <div class="header_box">
<div> <div>
<a-button type="success" @click="handleExportTable" :loading="btnLoading"> <a-button type="primary" @click="handleExportTable" :loading="btnLoading">
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
</a-button> </a-button>
<b>建议次数:<i>{{JYCount}}</i></b> <b>建议次数:<i>{{JYCount}}</i></b>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="reportForm-Container"> <div class="reportForm-Container">
<div class="header_box"> <div class="header_box">
<div> <div>
<a-button type="success" @click="exportTable"> <a-button type="primary" @click="exportTable">
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
</a-button> </a-button>
</div> </div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div> <div>
<a-button <a-button
:loading="btnLoading" :loading="btnLoading"
type="success" type="primary"
@click="handleExportTable" @click="handleExportTable"
> >
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div> <div>
<a-button <a-button
:loading="btnLoading" :loading="btnLoading"
type="success" type="primary"
@click="handleExportTable" @click="handleExportTable"
> >
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div> <div>
<a-button <a-button
:loading="btnLoading" :loading="btnLoading"
type="success" type="primary"
@click="handleExportTable" @click="handleExportTable"
> >
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
......
...@@ -2,31 +2,21 @@ ...@@ -2,31 +2,21 @@
<div class="callRecord-Container"> <div class="callRecord-Container">
<div class="header_box"> <div class="header_box">
<div> <div>
<a-button <a-button type="primary" @click="handleExportTable" :loading="btnLoading">
type="success"
@click="handleExportTable"
:loading="btnLoading"
>
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
</a-button> </a-button>
<b <b>叫号次数:<i>{{ tablePagination.total }}</i></b>
>叫号次数:<i>{{ tablePagination.total }}</i></b
>
<sub>统计时间段:{{ searchForm.time[0] }}~{{ searchForm.time[1] }}</sub> <sub>统计时间段:{{ searchForm.time[0] }}~{{ searchForm.time[1] }}</sub>
</div> </div>
<span> <span>
<a-space> <a-space>
<a-select v-model="searchForm.id" style="width: 120px"> <a-select v-model="searchForm.id">
<a-select-option value=""> 全部设备 </a-select-option> <a-select-option value=""> 全部设备 </a-select-option>
<a-select-option <a-select-option v-for="item in deviceData" :key="item.id" :value="item.id">
v-for="item in deviceData"
:key="item.id"
:value="item.id"
>
{{ item.name }} {{ item.name }}
</a-select-option> </a-select-option>
</a-select> </a-select>
<a-select v-model="searchForm.style" style="width: 120px"> <a-select v-model="searchForm.style">
<a-select-option value=""> 全部状态 </a-select-option> <a-select-option value=""> 全部状态 </a-select-option>
<a-select-option v-for="v in style" :key="v.key" :value="v.key">{{ <a-select-option v-for="v in style" :key="v.key" :value="v.key">{{
v.name v.name
...@@ -34,11 +24,7 @@ ...@@ -34,11 +24,7 @@
</a-select> </a-select>
<a-range-picker valueFormat="YYYY-MM-DD" v-model="searchForm.time"> <a-range-picker valueFormat="YYYY-MM-DD" v-model="searchForm.time">
</a-range-picker> </a-range-picker>
<a-input <a-input v-model="searchForm.flownum" placeholder="请输入排队编号搜索" @pressEnter="handleSearch">
v-model="searchForm.flownum"
placeholder="请输入排队编号搜索"
@pressEnter="handleSearch"
>
<a-icon slot="prefix" type="search" /> <a-icon slot="prefix" type="search" />
</a-input> </a-input>
<a-button type="primary" @click="handleSearch">搜索</a-button> <a-button type="primary" @click="handleSearch">搜索</a-button>
...@@ -47,21 +33,11 @@ ...@@ -47,21 +33,11 @@
</span> </span>
</div> </div>
<div class="main"> <div class="main">
<a-table <a-table size="small" bordered :row-key="(record) => record.id" :row-selection="{
size="small" selectedRowKeys: tableSelectedKeys,
bordered onChange: onSelectChange,
:row-key="(record) => record.id" }" :scroll="{ y: 590 }" :pagination="tablePagination" @change="changeTablePage" :loading="tableLoading"
:row-selection="{ :columns="tableHeaders" :dataSource="tableList">
selectedRowKeys: tableSelectedKeys,
onChange: onSelectChange,
}"
:scroll="{ y: 590 }"
:pagination="tablePagination"
@change="changeTablePage"
:loading="tableLoading"
:columns="tableHeaders"
:dataSource="tableList"
>
<!-- 序号 --> <!-- 序号 -->
<span slot="num" slot-scope="text, record, index">{{ <span slot="num" slot-scope="text, record, index">{{
(tablePagination.current - 1) * tablePagination.pageSize + index + 1 (tablePagination.current - 1) * tablePagination.pageSize + index + 1
...@@ -83,11 +59,7 @@ ...@@ -83,11 +59,7 @@
</template> </template>
<!-- 办理业务 --> <!-- 办理业务 -->
<template slot="business" slot-scope="text"> <template slot="business" slot-scope="text">
<a <a v-if="text.business" @click="openBusiness(text.business, text.businessid)">{{ text.business }}</a>
v-if="text.business"
@click="openBusiness(text.business, text.businessid)"
>{{ text.business }}</a
>
<span v-else>--</span> <span v-else>--</span>
</template> </template>
<!-- 办理开始时间 --> <!-- 办理开始时间 -->
...@@ -98,8 +70,8 @@ ...@@ -98,8 +70,8 @@
<template slot="window_name" slot-scope="text"> <template slot="window_name" slot-scope="text">
{{ {{
text.window_name text.window_name
? text.window_name + "-" + text.window_fromnum ? text.window_name + "-" + text.window_fromnum
: "--" : "--"
}} }}
</template> </template>
<!-- 工作人员 --> <!-- 工作人员 -->
...@@ -119,13 +91,11 @@ ...@@ -119,13 +91,11 @@
</template> </template>
<!-- 状态 --> <!-- 状态 -->
<template slot="style" slot-scope="text"> <template slot="style" slot-scope="text">
<span <span :class="{
:class="{ 'stand-line': text.style === 0,
'stand-line': text.style === 0, 'on-transact': text.style === 1,
'on-transact': text.style === 1, 'on-end': text.style === 4,
'on-end': text.style === 4, }">
}"
>
{{ $codeMap.queueState[text.style] }} {{ $codeMap.queueState[text.style] }}
</span> </span>
</template> </template>
...@@ -323,7 +293,7 @@ export default { ...@@ -323,7 +293,7 @@ export default {
this.getCalllistArr(); this.getCalllistArr();
this.getCallQueListArr(); this.getCallQueListArr();
}, },
mounted() {}, mounted() { },
methods: { methods: {
//重置按钮 //重置按钮
resetBtn() { resetBtn() {
...@@ -501,6 +471,7 @@ export default { ...@@ -501,6 +471,7 @@ export default {
/deep/.ant-spin-container { /deep/.ant-spin-container {
display: block !important; display: block !important;
} }
.stand-line { .stand-line {
color: #f23a3a; color: #f23a3a;
} }
......
...@@ -2,31 +2,21 @@ ...@@ -2,31 +2,21 @@
<div class="queueRecord-Container"> <div class="queueRecord-Container">
<div class="header_box"> <div class="header_box">
<div> <div>
<a-button <a-button :loading="btnLoading" type="primary" @click="handleExportTable">
:loading="btnLoading"
type="success"
@click="handleExportTable"
>
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
</a-button> </a-button>
<b <b>取号次数:<i>{{ tablePagination.total }}</i></b>
>取号次数:<i>{{ tablePagination.total }}</i></b
>
<sub>统计时间段:{{ searchForm.time[0] }}~{{ searchForm.time[1] }}</sub> <sub>统计时间段:{{ searchForm.time[0] }}~{{ searchForm.time[1] }}</sub>
</div> </div>
<span> <span>
<a-space> <a-space>
<a-select v-model="searchForm.id" style="width: 120px"> <a-select v-model="searchForm.id">
<a-select-option value=""> 全部设备 </a-select-option> <a-select-option value=""> 全部设备 </a-select-option>
<a-select-option <a-select-option v-for="item in deviceData" :key="item.id" :value="item.id">
v-for="item in deviceData"
:key="item.id"
:value="item.id"
>
{{ item.name }} {{ item.name }}
</a-select-option> </a-select-option>
</a-select> </a-select>
<a-select v-model="searchForm.style" style="width: 120px"> <a-select v-model="searchForm.style">
<a-select-option value=""> 全部状态 </a-select-option> <a-select-option value=""> 全部状态 </a-select-option>
<a-select-option v-for="v in style" :key="v.key" :value="v.key">{{ <a-select-option v-for="v in style" :key="v.key" :value="v.key">{{
v.name v.name
...@@ -34,11 +24,7 @@ ...@@ -34,11 +24,7 @@
</a-select> </a-select>
<a-range-picker valueFormat="YYYY-MM-DD" v-model="searchForm.time"> <a-range-picker valueFormat="YYYY-MM-DD" v-model="searchForm.time">
</a-range-picker> </a-range-picker>
<a-input <a-input v-model="searchForm.flownum" placeholder="请输入排队编号搜索" @pressEnter="handleSearch">
v-model="searchForm.flownum"
placeholder="请输入排队编号搜索"
@pressEnter="handleSearch"
>
<a-icon slot="prefix" type="search" /> <a-icon slot="prefix" type="search" />
</a-input> </a-input>
<a-button type="primary" @click="handleSearch">搜索</a-button> <a-button type="primary" @click="handleSearch">搜索</a-button>
...@@ -47,21 +33,11 @@ ...@@ -47,21 +33,11 @@
</span> </span>
</div> </div>
<div class="main"> <div class="main">
<a-table <a-table size="small" bordered :row-key="(record) => record.id" :row-selection="{
size="small" selectedRowKeys: tableSelectedKeys,
bordered onChange: onSelectChange,
:row-key="(record) => record.id" }" :scroll="{ y: 590 }" :pagination="tablePagination" @change="changeTablePage" :loading="tableLoading"
:row-selection="{ :columns="tableHeaders" :dataSource="tableList">
selectedRowKeys: tableSelectedKeys,
onChange: onSelectChange,
}"
:scroll="{ y: 590 }"
:pagination="tablePagination"
@change="changeTablePage"
:loading="tableLoading"
:columns="tableHeaders"
:dataSource="tableList"
>
<!-- 序号 --> <!-- 序号 -->
<span slot="num" slot-scope="text, record, index">{{ <span slot="num" slot-scope="text, record, index">{{
(tablePagination.current - 1) * tablePagination.pageSize + index + 1 (tablePagination.current - 1) * tablePagination.pageSize + index + 1
...@@ -83,11 +59,7 @@ ...@@ -83,11 +59,7 @@
</template> </template>
<!-- 办理业务 --> <!-- 办理业务 -->
<template slot="business" slot-scope="text"> <template slot="business" slot-scope="text">
<a <a v-if="text.business" @click="openBusiness(text.business, text.businessid)">{{ text.business }}</a>
v-if="text.business"
@click="openBusiness(text.business, text.businessid)"
>{{ text.business }}</a
>
<span v-else>--</span> <span v-else>--</span>
</template> </template>
<!-- 办理开始时间 --> <!-- 办理开始时间 -->
...@@ -98,8 +70,8 @@ ...@@ -98,8 +70,8 @@
<template slot="window_name" slot-scope="text"> <template slot="window_name" slot-scope="text">
{{ {{
text.window_name text.window_name
? text.window_name + "-" + text.window_fromnum ? text.window_name + "-" + text.window_fromnum
: "--" : "--"
}} }}
</template> </template>
<!-- 工作人员 --> <!-- 工作人员 -->
...@@ -119,13 +91,11 @@ ...@@ -119,13 +91,11 @@
</template> </template>
<!-- 状态 --> <!-- 状态 -->
<template slot="style" slot-scope="text"> <template slot="style" slot-scope="text">
<span <span :class="{
:class="{ 'stand-line': text.style === 0,
'stand-line': text.style === 0, 'on-transact': text.style === 1,
'on-transact': text.style === 1, 'on-end': text.style === 4,
'on-end': text.style === 4, }">
}"
>
{{ $codeMap.queueState[text.style] }} {{ $codeMap.queueState[text.style] }}
</span> </span>
</template> </template>
...@@ -329,7 +299,7 @@ export default { ...@@ -329,7 +299,7 @@ export default {
this.getTaskListArr(); this.getTaskListArr();
this.getQueueDataArr(); this.getQueueDataArr();
}, },
mounted() {}, mounted() { },
methods: { methods: {
//重置按钮 //重置按钮
resetBtn() { resetBtn() {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div> <div>
<a-button <a-button
:loading="btnLoading" :loading="btnLoading"
type="success" type="primary"
@click="handleExportTable" @click="handleExportTable"
> >
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
......
...@@ -201,7 +201,7 @@ export default { ...@@ -201,7 +201,7 @@ export default {
.title { .title {
font-style: normal; font-style: normal;
font-weight: bold; font-weight: bold;
font-size: 1.5rem; font-size: 20px;
color: #fff; color: #fff;
margin-right: 1rem; margin-right: 1rem;
} }
...@@ -246,7 +246,7 @@ export default { ...@@ -246,7 +246,7 @@ export default {
line-height: 1.4; line-height: 1.4;
cursor: pointer; cursor: pointer;
margin: 0 0.7rem; margin: 0 0.7rem;
font-size: 0.5rem; font-size: 14px;
display: flex; display: flex;
flex-flow: column; flex-flow: column;
align-items: center; align-items: center;
...@@ -276,7 +276,7 @@ export default { ...@@ -276,7 +276,7 @@ export default {
.ant-layout-header { .ant-layout-header {
height: @headerH !important; height: @headerH !important;
padding: 0 1.2rem !important; padding: 0 1.2rem !important;
background-color: rgba(255, 255, 255, 0.15) !important; background: linear-gradient(90deg, #1845c6 0%, #2999ff 100%);
} }
.ant-dropdown-link { .ant-dropdown-link {
color: #fff; color: #fff;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment