|
|
@@ -82,7 +82,7 @@ |
|
|
|
</div> |
|
|
|
</van-tab> |
|
|
|
<!-- 勘察--> |
|
|
|
<van-tab v-if="progressLength>=3" :disabled="1 <= caseActive ? false : true"> |
|
|
|
<van-tab v-show="progressLength>=3" v-if="zhenchaShow" :disabled="1 <= caseActive ? false : true"> |
|
|
|
<template #title> |
|
|
|
<div |
|
|
|
:class="{ finish: 2 <= caseActive , notStarted: 2 > caseActive , ongoing: 1 == caseActive }" |
|
|
@@ -257,7 +257,7 @@ |
|
|
|
</div> |
|
|
|
</van-tab> |
|
|
|
<!-- 立案--> |
|
|
|
<van-tab v-if="progressLength>=4" :disabled="2 <= caseActive ? false : true"> |
|
|
|
<van-tab v-show="progressLength>=4" v-if="lianShow" :disabled="2 <= caseActive ? false : true"> |
|
|
|
<template #title> |
|
|
|
<div |
|
|
|
:class="{ finish: 3 <= caseActive , notStarted: 3 > caseActive , ongoing: 2 == caseActive }" |
|
|
@@ -431,7 +431,7 @@ |
|
|
|
</div> |
|
|
|
</van-tab> |
|
|
|
<!-- 取证--> |
|
|
|
<van-tab v-if="progressLength>=5" :disabled="3 <= caseActive ? false : true"> |
|
|
|
<van-tab v-show="progressLength>=5" v-if="quzhengShow" :disabled="3 <= caseActive ? false : true"> |
|
|
|
<template #title> |
|
|
|
<div |
|
|
|
:class="{ finish: 4 <= caseActive , notStarted: 4 > caseActive , ongoing: 3 == caseActive }" |
|
|
@@ -581,7 +581,7 @@ |
|
|
|
</div> |
|
|
|
</van-tab> |
|
|
|
<!-- 处理--> |
|
|
|
<van-tab v-if="progressLength>=6" :disabled="4 <= caseActive ? false : true"> |
|
|
|
<van-tab v-show="progressLength>=6" v-if="chuliShow" :disabled="4 <= caseActive ? false : true"> |
|
|
|
<template #title> |
|
|
|
<div |
|
|
|
:class="{ finish: 5 <= caseActive , notStarted: 5 > caseActive , ongoing: 4 == caseActive }" |
|
|
@@ -741,7 +741,7 @@ |
|
|
|
</div> |
|
|
|
</van-tab> |
|
|
|
<!-- 裁决--> |
|
|
|
<van-tab v-if="progressLength>=7" :disabled="5 <= caseActive ? false : true"> |
|
|
|
<van-tab v-show="progressLength>=7" v-if="caijueShow" :disabled="5 <= caseActive ? false : true"> |
|
|
|
<template #title> |
|
|
|
<div |
|
|
|
:class="{ finish: 6 <= caseActive , notStarted: 6 > caseActive , ongoing: 5 == caseActive }" |
|
|
@@ -840,7 +840,7 @@ |
|
|
|
</div> |
|
|
|
</van-tab> |
|
|
|
<!-- 执行--> |
|
|
|
<van-tab v-if="progressLength>=8" :disabled="6 <= caseActive ? false : true"> |
|
|
|
<van-tab v-show="progressLength>=8" v-if="zhixingShow" :disabled="6 <= caseActive ? false : true"> |
|
|
|
<template #title> |
|
|
|
<div |
|
|
|
:class="{ finish: 7 <= caseActive , notStarted: 7 > caseActive , ongoing: 6 == caseActive }" |
|
|
@@ -1145,6 +1145,13 @@ export default { |
|
|
|
type:'', |
|
|
|
progressLength:0, |
|
|
|
|
|
|
|
zhenchaShow:true, |
|
|
|
lianShow:true, |
|
|
|
quzhengShow:true, |
|
|
|
chuliShow:true, |
|
|
|
caijueShow:true, |
|
|
|
zhixingShow:true, |
|
|
|
|
|
|
|
pass: "true", |
|
|
|
comment: "同意", |
|
|
|
|
|
|
@@ -2046,41 +2053,69 @@ export default { |
|
|
|
|
|
|
|
var that = this ; |
|
|
|
setTimeout(function () { |
|
|
|
that.zhenchaShow = false ; |
|
|
|
that.lianShow = false ; |
|
|
|
that.quzhengShow = false ; |
|
|
|
that.chuliShow = false ; |
|
|
|
that.caijueShow = false ; |
|
|
|
that.zhixingShow = false ; |
|
|
|
|
|
|
|
console.log(this.zhenchaShow) |
|
|
|
console.log(this.lianShow) |
|
|
|
console.log(this.quzhengShow) |
|
|
|
console.log(this.chuliShow) |
|
|
|
console.log(this.caijueShow) |
|
|
|
console.log(this.zhixingShow) |
|
|
|
that.progressLength = that.caseProgressOptions.length; |
|
|
|
|
|
|
|
console.log(that.caseProgressOptions.length-1) |
|
|
|
if( that.caseProgressOptions.length >= 3 && that.caseActive >= 1 ){//勘察 |
|
|
|
console.log("勘察") |
|
|
|
that.caseSurvey(); |
|
|
|
that.zhenchaShow = true ; |
|
|
|
} |
|
|
|
if( that.caseProgressOptions.length >= 4 && that.caseActive >= 2 ){//立案 |
|
|
|
console.log("立案") |
|
|
|
that.getFileCase(); |
|
|
|
that.lianShow = true ; |
|
|
|
} |
|
|
|
if( that.caseProgressOptions.length >= 5 && that.caseActive >= 3 ){//取证 |
|
|
|
console.log("取证") |
|
|
|
that.getEvidenceCase(); |
|
|
|
that.quzhengShow = true ; |
|
|
|
} |
|
|
|
if( that.caseProgressOptions.length >= 6 && that.caseActive >= 4 ){//处理 |
|
|
|
console.log("处理") |
|
|
|
that.getTreat(); |
|
|
|
that.chuliShow = true ; |
|
|
|
} |
|
|
|
if( that.caseProgressOptions.length >= 7 && that.caseActive >= 5 ){//裁决 |
|
|
|
console.log("裁决") |
|
|
|
that.getDecision(); |
|
|
|
that.caijueShow = true ; |
|
|
|
} |
|
|
|
if( that.caseProgressOptions.length >= 8 && that.caseActive >= 6 ){//执行 |
|
|
|
console.log("执行") |
|
|
|
that.getExecuteCase(); |
|
|
|
that.zhixingShow = true ; |
|
|
|
} |
|
|
|
if( that.caseActive == 8 ){//执行 |
|
|
|
console.log("结案") |
|
|
|
that.caseProgress = that.caseProgressOptions.length-1; |
|
|
|
that.getEndingForm(); |
|
|
|
} |
|
|
|
if (that.caseActive == 7){//判断是否为备案 |
|
|
|
console.log("备案") |
|
|
|
that.caseProgress = that.caseProgressOptions.length-1; |
|
|
|
that.getOnrecord(); |
|
|
|
}else{ |
|
|
|
that.zhenchaShow = true ; |
|
|
|
that.lianShow = true ; |
|
|
|
that.quzhengShow = true ; |
|
|
|
that.chuliShow = true ; |
|
|
|
that.caijueShow = true ; |
|
|
|
that.zhixingShow = true ; |
|
|
|
} |
|
|
|
},1000) |
|
|
|
},500) |
|
|
|
console.log(this.caseProgressOptions) |
|
|
|
}, |
|
|
|
|
|
|
|