From ad2791e1e42d73b339cdf5df269c9dcf050b025b Mon Sep 17 00:00:00 2001 From: chenrui <1950717904@qq.com> Date: Mon, 12 Aug 2024 10:44:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=95=E8=AF=89=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=8A=B6=E6=80=81=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/enterprise/complaintList.vue | 45 +++++++++++++++++--------- 1 file changed, 30 insertions(+), 15 deletions(-) diff --git a/src/views/enterprise/complaintList.vue b/src/views/enterprise/complaintList.vue index 314e141..7827d29 100644 --- a/src/views/enterprise/complaintList.vue +++ b/src/views/enterprise/complaintList.vue @@ -22,10 +22,12 @@
- 全部 - 未处理 - 处理中 - 已处理 + 全部 + + 已处理 + + 已办结 +
@@ -58,7 +60,7 @@

投诉时间:{{ item.createTime }}

- 已受理 + 已受理 已办结
@@ -126,7 +128,8 @@ let searchParam = reactive({ //企业统一信用码 enterpriseNumber: ref(useCommon.enterpriseNumber), //时间搜索 - dateSearch:"" + dateSearch:"", + status: null, }); const data = reactive({ @@ -139,6 +142,7 @@ const data = reactive({ maxDate: new Date(2125, 5, 1), columnsType :['year', 'month'], ga_columns: [], + checkNum: null, }); const mssq = () => { @@ -171,7 +175,7 @@ onMounted(() => { // getLinkageByParentIdToItem(success.id) // },error=>{}); if(useCommon.enterpriseNumber == null || useCommon.enterpriseNumber == ''){ - + } queryEnterpriseComplaintList(searchParam, success => { console.log(success.data) @@ -188,12 +192,10 @@ const getLinkageByParentIdToItem = (parentId) => { },error=>{}); } const queryList = () =>{ - // queryRegistrationList(searchParam,success =>{ - // console.log(success) - // data.dataList = success.data; - // },error =>{ - - // }) + queryEnterpriseComplaintList(searchParam, success => { + console.log(success.data) + data.dataList = success.data; + },error=>{}) } const setLinkageItem = (id,item) => { queryLinkageById({"id": id}, success => { @@ -355,10 +357,13 @@ const nowDate = (time) => { const searchDateType = (val) =>{ - searchParam.dateType = val; + console.log(val) + searchParam.status = val; + data.checkNum = val; searchParam.isComplaint = null; if(val == null){ - searchParam.dateSearch = null; + // searchParam.dateSearch = null; + searchParam.status = null; } queryList(); } @@ -451,6 +456,11 @@ const searchComplaint = (val) =>{ color: #4c4c4c; font-size: 0.3rem; } + .search-button.active { + background-color: #1367fe; + border-color: #1367fe; + color: #fff; + } } .search-button-date { display: flex; @@ -473,6 +483,11 @@ const searchComplaint = (val) =>{ top: 1%; right: 1%; } + .search-button.active { + background-color: #1367fe; + border-color: #1367fe; + color: #fff; + } } /deep/ .van-hairline--bottom { margin: -1% 0 3% 0;