- 办结
+
+ 办结
@@ -228,7 +228,7 @@
@@ -249,7 +249,7 @@
-
+
被申请人:
@@ -383,6 +383,7 @@ import { values } from "lodash";
},
data() {
return {
+ checkedCheckAll:false,
officeDeliveryIdsDialog:null,//批量文书送达
officeSealIdsDialog:null,//批量文书签章
officeWriteIdsDialog:null,//批量文书签字
@@ -453,6 +454,7 @@ import { values } from "lodash";
// 监听选中的数据,选中的数据发生变化,通过判断长度给多选按钮赋值
selectionData: {
handler(v) {
+ console.log(this.enabledDataList,'this.enabledDataList')
if (this.enabledDataList.length) {
let checkedCount = v.length;
this.isCheck = checkedCount === this.enabledDataList.length;
@@ -485,6 +487,7 @@ import { values } from "lodash";
}
},
methods: {
+
handleConclude(){
// 批量办结
if(this.selectionData.length == 0 ){
@@ -543,7 +546,7 @@ import { values } from "lodash";
if(tab.name == 'mediate'){
this.queryParam.caseStatus = 0//待调解
this.caseStatusShow = false
- }else if(tab.name == 'mediation'){
+ }else if(tab.name == 'mediation'){
this.queryParam.caseStatus = 1//调解中
this.caseStatusShow = true
}else if(tab.name == 'mediated'){
@@ -561,10 +564,9 @@ import { values } from "lodash";
// 全选
handleCheckAllChange(value){
// console.log(value,this.enabledDataList,'this.enabledDataList')
- let chooseData = this.enabledDataList.filter(el=>el.caseStatus == 0)
+ let chooseData = this.enabledDataList.filter(el=>el.caseStatus == 1)
this.selectionData = value ? chooseData.map(el=>el.id) : [];
this.indeterminate = false;
- // console.log(this.selectionData,'his.selectionData')
},
// 导入
@@ -621,7 +623,6 @@ import { values } from "lodash";
},
// 案件分配
handleCaseAllocation(){
-
if(this.selectionData.length > 0){
this.caseAllocationDialog={
title:'案件分配',
@@ -649,6 +650,10 @@ import { values } from "lodash";
},
// 列表数据
getCaseInfoList(val){
+ // 选择状态重置
+ this.selectionData = []
+ this.checkedCheckAll = false
+
this.queryParam.current = val
api.getCaseInfoList(this.queryParam).then(res => {
if (!res.code) {
@@ -659,6 +664,15 @@ import { values } from "lodash";
this.enabledDataList = this.tableData.filter(v=>!v.disabled)
}
})
+ this.getCaseCount()
+ },
+ // 列表数据
+ getCaseCount(){
+ api.getCaseCount({}).then(res => {
+ if (!res.code) {
+ this.caseStatusNum = res
+ }
+ })
},
handleToggleSearch() {
this.showSearch = !this.showSearch