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

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

parent 3fc2ce35
......@@ -10,6 +10,18 @@
</div>
<span>
<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-option value=""> 全部设备 </a-select-option>
<a-select-option v-for="item in deviceData" :key="item.id" :value="item.id">
......@@ -126,6 +138,8 @@ import BusinessInfo from "./components/businessInfo.vue";
import WorkpeopleInfo from "./components/workpeopleInfo.vue";
import HandlingDetails from "./components/HandlingDetails.vue";
import {
getDatingList,
getBumenList,
getCalllist,
getCallQueList,
getBusinessEvent,
......@@ -265,7 +279,13 @@ export default {
style: "", // 状态
time: [moment().format("YYYY-MM-DD"), moment().format("YYYY-MM-DD")], // 时间区间
flownum: "", // 排号编码
hallid: "",
sectionid: ""
},
// 大厅列表
datingList: [],
// 部门列表
bumenList: [],
//状态
style: [
{
......@@ -326,11 +346,25 @@ export default {
HandlingDetails,
},
created() {
this.getDatingListArr();
this.getBumenListArr();
this.getCalllistArr();
this.getCallQueListArr();
},
mounted() { },
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() {
this.tableSelectedKeys = [];
......@@ -341,6 +375,8 @@ export default {
style: "", // 状态
time: [moment().format("YYYY-MM-DD"), moment().format("YYYY-MM-DD")], // 时间区间
flownum: "", // 排号编码
hallid: "",
sectionid: ""
};
this.getCallQueListArr();
},
......@@ -504,6 +540,10 @@ export default {
</script>
<style lang="less" scoped>
/deep/.ant-select {
width: 120px;
}
/deep/.ant-spin-container {
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