Commit 0943cac9 authored by 王启林's avatar 王启林

门户排队叫号表:新增大厅以及部门筛选查询;

parent 3fc2ce35
...@@ -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="primary" class="addclass" @click="handleExportTable" :loading="btnLoading"> <a-button type="primary" class="addclass" @click="handleExportTable" :loading="btnLoading">
<span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span> <span>{{ tableSelectedRows.length ? "导出" : "导出全部" }}</span>
</a-button> </a-button>
<b>叫号次数:<i>{{ tablePagination.total }}</i></b> <b>叫号次数:<i>{{ tablePagination.total }}</i></b>
...@@ -10,6 +10,18 @@ ...@@ -10,6 +10,18 @@
</div> </div>
<span> <span>
<a-space> <a-space>
<a-select v-model="searchForm.hallid">
<a-select-option value=""> 全部大厅 </a-select-option>
<a-select-option v-for="item in datingList" :key="item.id" :value="item.id">
{{ item.hallName }}
</a-select-option>
</a-select>
<a-select v-model="searchForm.sectionid">
<a-select-option value=""> 全部部门 </a-select-option>
<a-select-option v-for="item in bumenList" :key="item.id" :value="item.id">
{{ item.name }}
</a-select-option>
</a-select>
<a-select v-model="searchForm.id"> <a-select v-model="searchForm.id">
<a-select-option value=""> 全部设备 </a-select-option> <a-select-option value=""> 全部设备 </a-select-option>
<a-select-option v-for="item in deviceData" :key="item.id" :value="item.id"> <a-select-option v-for="item in deviceData" :key="item.id" :value="item.id">
...@@ -27,7 +39,7 @@ ...@@ -27,7 +39,7 @@
<a-input v-model="searchForm.flownum" placeholder="请输入排队编号搜索" @pressEnter="handleSearch"> <a-input 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" class="addclass" @click="handleSearch">搜索</a-button> <a-button type="primary" class="addclass" @click="handleSearch">搜索</a-button>
<a-button @click="resetBtn">重置</a-button> <a-button @click="resetBtn">重置</a-button>
</a-space> </a-space>
</span> </span>
...@@ -126,6 +138,8 @@ import BusinessInfo from "./components/businessInfo.vue"; ...@@ -126,6 +138,8 @@ import BusinessInfo from "./components/businessInfo.vue";
import WorkpeopleInfo from "./components/workpeopleInfo.vue"; import WorkpeopleInfo from "./components/workpeopleInfo.vue";
import HandlingDetails from "./components/HandlingDetails.vue"; import HandlingDetails from "./components/HandlingDetails.vue";
import { import {
getDatingList,
getBumenList,
getCalllist, getCalllist,
getCallQueList, getCallQueList,
getBusinessEvent, getBusinessEvent,
...@@ -265,7 +279,13 @@ export default { ...@@ -265,7 +279,13 @@ export default {
style: "", // 状态 style: "", // 状态
time: [moment().format("YYYY-MM-DD"), moment().format("YYYY-MM-DD")], // 时间区间 time: [moment().format("YYYY-MM-DD"), moment().format("YYYY-MM-DD")], // 时间区间
flownum: "", // 排号编码 flownum: "", // 排号编码
hallid: "",
sectionid: ""
}, },
// 大厅列表
datingList: [],
// 部门列表
bumenList: [],
//状态 //状态
style: [ style: [
{ {
...@@ -326,11 +346,25 @@ export default { ...@@ -326,11 +346,25 @@ export default {
HandlingDetails, HandlingDetails,
}, },
created() { created() {
this.getDatingListArr();
this.getBumenListArr();
this.getCalllistArr(); this.getCalllistArr();
this.getCallQueListArr(); this.getCallQueListArr();
}, },
mounted() { }, mounted() { },
methods: { methods: {
// 获取大厅列表
async getDatingListArr() {
await getDatingList({ page: 1, size: -1 }).then((res) => {
this.datingList = res.data.data;
});
},
// // 获取部门列表
async getBumenListArr() {
await getBumenList({ page: 1, size: -1 }).then((res) => {
this.bumenList = res.data.data;
});
},
//重置按钮 //重置按钮
resetBtn() { resetBtn() {
this.tableSelectedKeys = []; this.tableSelectedKeys = [];
...@@ -341,6 +375,8 @@ export default { ...@@ -341,6 +375,8 @@ export default {
style: "", // 状态 style: "", // 状态
time: [moment().format("YYYY-MM-DD"), moment().format("YYYY-MM-DD")], // 时间区间 time: [moment().format("YYYY-MM-DD"), moment().format("YYYY-MM-DD")], // 时间区间
flownum: "", // 排号编码 flownum: "", // 排号编码
hallid: "",
sectionid: ""
}; };
this.getCallQueListArr(); this.getCallQueListArr();
}, },
...@@ -504,6 +540,10 @@ export default { ...@@ -504,6 +540,10 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
/deep/.ant-select {
width: 120px;
}
/deep/.ant-spin-container { /deep/.ant-spin-container {
display: block !important; display: block !important;
} }
......
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