Browse Source

案件优化

wulanhaote
庞东旭 3 years ago
parent
commit
4747fa0087
3 changed files with 45 additions and 10 deletions
  1. +43
    -8
      src/views/lawEnforcement/case/caseDetail.vue
  2. +1
    -1
      src/views/lawEnforcement/complaint/indexComplaint.vue
  3. +1
    -1
      src/views/lawEnforcement/index.vue

+ 43
- 8
src/views/lawEnforcement/case/caseDetail.vue View File

@@ -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)
},



+ 1
- 1
src/views/lawEnforcement/complaint/indexComplaint.vue View File

@@ -13,7 +13,7 @@
finished-text="没有更多了"
@load="getNewList"
>
<div class="tabsBox" v-for="(item,index) in schemeList" :key="index">
<div class="tabsBox" v-for="(item,index) in schemeList" :key="index" :id="index">
<van-cell :title="item.name" :label="'待回复 · ' + item.replyTime" center :to="{name:'programmeDetail'}">
<template #icon>
<van-icon name="../../../static/images/lawEnforcement/12.jpg" size="36" color="#539FFD" style="margin-right: 10px;border-radius: 50%;overflow: hidden;" />


+ 1
- 1
src/views/lawEnforcement/index.vue View File

@@ -54,7 +54,7 @@
<span class="custom-title">投诉建议<i class="bgBlue"></i></span>
</template>
</van-cell>
<van-cell v-for="(item , index) in communicateList" :key="index" :title="item.title" :value="item.replyTime"></van-cell>
<van-cell v-for="(item , index) in communicateList" :key="index" url="/lawEnforcement/indexComplaint#2" :title="item.title" :value="item.replyTime"></van-cell>
</van-cell-group>
<div style="height: 20PX"></div>
<law></law>


Loading…
Cancel
Save