From 1399d002e4f31667cdc3933ec87a18a0a767f9b9 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Fri, 23 Feb 2024 14:24:11 +0800 Subject: [PATCH] =?UTF-8?q?task#11265,=E6=8C=89=E9=92=AE=E5=8A=A0=E9=98=B2?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E7=82=B9=E5=87=BB=EF=BC=8C=E5=B7=B2=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E5=92=8C=E5=BE=85=E5=AE=A1=E6=A0=B8tab=E5=88=87?= =?UTF-8?q?=E4=B8=8D=E4=B8=80=E8=87=B4=E8=BF=9B=E8=A1=8C=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/caseList/caseAuditList.vue | 14 ++- src/views/caseList/caseDetail.vue | 144 ++++++++++++++++----------- src/views/caseList/caseList.vue | 4 +- 3 files changed, 101 insertions(+), 61 deletions(-) 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 } }); },