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;