From c7b33db117fd2893d7d1c93bf5d46e87d33e44d0 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期一, 16 十二月 2024 16:08:51 +0800 Subject: [PATCH] 初审结果查询 --- src/views/team/teams/index.vue | 30 ++++++++++++++++++++---------- 1 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/views/team/teams/index.vue b/src/views/team/teams/index.vue index 96e0446..1a399ad 100644 --- a/src/views/team/teams/index.vue +++ b/src/views/team/teams/index.vue @@ -8,7 +8,7 @@ ref="form" size="small" :inline="true" - label-width="80px" + label-width="86px" > <el-form-item label="鍗曚綅鍚嶇О" prop="firmId"> <el-select @@ -376,7 +376,7 @@ ], data() { let checkPhoneNum = (rule, value, callback) => { - console.log(value); + // console.log(value); let patter = new RegExp(/^1\s*[3456789]\s*(\d\s*){9}$/); if (value == "" && value == undefined && !value) { return callback(""); @@ -408,6 +408,7 @@ // 寮瑰嚭灞傛爣棰� title: "", bingZhong: "", + createTimeList:[], Listdata: {}, ListdataAll: [], aidList: [], @@ -422,6 +423,7 @@ menuIds: [], proIds: [], valueList: [], + loading:false, // 鏄惁鏄剧ず寮瑰嚭灞� open: false, open1: false, @@ -481,7 +483,7 @@ }, created() { // this.getNowTime(); - this.getList(); + this.getdate(); }, @@ -492,26 +494,33 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; + this.getList(); }); }, getList() { this.loading = true; - getCompany(this.queryParam).then((response) => { + getCompany(this.objs).then((response) => { this.CompanyList = response.data; this.total = response.total; this.loading = false; }); }, handlequery() { - if (this.objs.firmId && this.objs.dwDeptId) { - this.objs.beginTime = this.createTimeList[0]; - this.objs.endTime = this.createTimeList[1]; + if(this.createTimeList){ + this.objs.beginTime=this.createTimeList[0], + this.objs.endTime=this.createTimeList[1] + }else if(this.createTimeList == null){ + this.objs.beginTime=null, + this.objs.endTime=null + } + if (this.objs.firmId && this.objs.dwDeptId && this.objs.beginTime) { + tuanTiListById(this.objs).then((response) => { this.Listdata = response.data; this.userList = response.data.list; }); } else { - this.$message.warning("甯︽槦鍙蜂负蹇呭~椤�"); + this.$message.warning("鏌ヨ椤逛负蹇呭~椤�"); } }, handleQuery1() { @@ -531,6 +540,7 @@ }, // 琛ㄥ崟閲嶇疆 reset() { + this.createTimeList =[] this.form = { company: null, payType: null, @@ -653,9 +663,9 @@ firmDeptId: this.data.deptId, aidList: this.aidList, }; - console.log(data); + // console.log(data); tuanTiBingChart(data).then((res) => { - console.log(res); + // console.log(res); this.$nextTick(() => { var chartDom = document.getElementById("main"); var myChart = echarts.init(chartDom); -- Gitblit v1.8.0