diff --git a/src/views/caseList/caseAuditList.vue b/src/views/caseList/caseAuditList.vue index f0b87399..adbddb2d 100644 --- a/src/views/caseList/caseAuditList.vue +++ b/src/views/caseList/caseAuditList.vue @@ -20,7 +20,7 @@
-
+
案件编号:{{ item.userOrderCode }}
@@ -50,7 +50,7 @@ export default { mixins: [myMixins], data(){ return{ - tabArr: [{name: '待审核', status: 1,num:0}, {name: '审核通过', status: 2,num:0},{name: '审核不通过', status: 2,num:0},], + tabArr: [ {name: '审核通过', status: 2,num:0},{name: '审核不通过', status: 2,num:0},], activeIndex: 0, pageList:[], pageNum:1, @@ -58,6 +58,8 @@ export default { id:'',//批次id isLoading:"", isShowBackBtn:true, + type:'',//用于判断是已审核还是待审核,已审核只有两个tab切 + noClick:true } }, computed:{ @@ -76,8 +78,14 @@ export default { }else{ this.isShowBackBtn=true } + // console.log("===",urlParams.get('status')) this.id = urlParams.get('id') || this.$route.params.id || this.$route.params.batchCode; this.activeIndex=this.$route.params?.activeIndex || 0 + this.type=this.$route.params?.type + console.log(urlParams.get('status') && urlParams.get('status') == 1) + if (this.type==1 || (urlParams.get('status') && urlParams.get('status') == 1)) { + this.tabArr.unshift({name: '待审核', status: 1,num:0},); + } await this.batchOrderCount(); await this.getList() }, @@ -103,7 +111,7 @@ export default { pageNum:this.pageNum, pageSize:this.pageSize, batchCode:this.id, - type: this.activeIndex+1 + type:this.tabArr.length==3 ? this.activeIndex+1 : this.activeIndex+2 }) this.pageList=res.data }, diff --git a/src/views/caseList/caseDetail.vue b/src/views/caseList/caseDetail.vue index 9fe8ebfc..ae632b83 100644 --- a/src/views/caseList/caseDetail.vue +++ b/src/views/caseList/caseDetail.vue @@ -66,65 +66,83 @@
-
-
-
- * - {{detailInfo.secondAudit ? '二次审核结果' : '审核结果'}} + + +
提交
@@ -160,7 +178,7 @@ export default { }, created() { this.id = this.$route.params.id; - // this.id=27 + // this.id=29 this.activeIndex=this.$route.params.index; this.batchCode=this.$route.params.batchCode console.log(" this.batchCode", this.batchCode,this.activeIndex) @@ -276,7 +294,7 @@ export default { return } if(this.other == '其他' && !this.otherReason){ - this.$toast('审核不通过原因是其他时审核原因必填') + this.$toast('审核不通过原因为其他时审核原因必填') return } let res='' @@ -291,8 +309,9 @@ export default { } if(res.code == 200){ this.$toast("提交成功") + console.log("$$$$$$$$$",this.state) setTimeout(()=>{ - this.goPrePage() + // this.goPrePage() },1500) }else{ this.$toast(res.msg) @@ -364,6 +383,14 @@ export default { border-width: 6px 6px 0 6px; border-color: #000 transparent transparent transparent; } +//.mySelect { +// transform: scaleY(-1); +// transform-origin: center top; +//} +// +//option { +// transform: scaleY(-1); +//} .navBar{ margin-bottom: 46px; } @@ -488,6 +515,9 @@ export default { .itemWrap{ display: flex; justify-content: space-between; + .gary{ + opacity: 0.5; + } } .star{ color: #FF0808; diff --git a/src/views/caseList/caseList.vue b/src/views/caseList/caseList.vue index c7fbc67b..5377e39d 100644 --- a/src/views/caseList/caseList.vue +++ b/src/views/caseList/caseList.vue @@ -20,7 +20,7 @@
-
+
审核批次:{{item.batchCode}}
查看
@@ -54,6 +54,7 @@ export default { pageNum:1, pageSize:10, isLoading:"", + noClick:true } }, async mounted() { @@ -106,6 +107,7 @@ export default { name: 'caseAuditList', // 目标路由的名称 params: { id: id, // 参数对象的属性 + type: this.activeIndex+1 } }); },