签收,按钮权限

This commit is contained in:
hanchaobo
2024-03-01 10:58:22 +08:00
15 changed files with 435 additions and 150 deletions
+18
View File
@@ -0,0 +1,18 @@
import request from '@/utils/request'
// 调解首页数据
export function todoCount(data) {
return request({
'url': '/caseApplication/todoCount',
method: 'get',
params: data
})
}
// 仲裁调解首页数据
export function toDoCountReferee(data) {
return request({
'url': '/caseApplication/toDoCount',
method: 'get',
params: data
})
}
+80 -80
View File
@@ -15,71 +15,71 @@
"navigationBarTitleText": "注册"
}
},
// {
// "path": "pages/index",
// "style": {
// "navigationBarTitleText": "首页",
{
"path": "pages/index",
"style": {
"navigationBarTitleText": "首页"
// "navigationStyle": "custom"
// }
// },
}
},
{
"path": "pages/work/index",
"style": {
"navigationBarTitleText": "工作台"
}
},
// {
// "path": "pages/mine/index",
// "style": {
// "navigationBarTitleText": "我的"
// }
// },
// {
// "path": "pages/mine/avatar/index",
// "style": {
// "navigationBarTitleText": "修改头像"
// }
// }, {
// "path": "pages/mine/info/index",
// "style": {
// "navigationBarTitleText": "个人信息"
// }
// }, {
// "path": "pages/mine/info/edit",
// "style": {
// "navigationBarTitleText": "编辑资料"
// }
// }, {
// "path": "pages/mine/pwd/index",
// "style": {
// "navigationBarTitleText": "修改密码"
// }
// }, {
// "path": "pages/mine/setting/index",
// "style": {
// "navigationBarTitleText": "应用设置"
// }
// }, {
// "path": "pages/mine/help/index",
// "style": {
// "navigationBarTitleText": "常见问题"
// }
// }, {
// "path": "pages/mine/about/index",
// "style": {
// "navigationBarTitleText": "关于我们"
// }
// }, {
// "path": "pages/common/webview/index",
// "style": {
// "navigationBarTitleText": "浏览网页"
// }
// }, {
// "path": "pages/common/textview/index",
// "style": {
// "navigationBarTitleText": "浏览文本"
// }
// },
{
"path": "pages/mine/index",
"style": {
"navigationBarTitleText": "我的"
}
},
{
"path": "pages/mine/avatar/index",
"style": {
"navigationBarTitleText": "修改头像"
}
}, {
"path": "pages/mine/info/index",
"style": {
"navigationBarTitleText": "个人信息"
}
}, {
"path": "pages/mine/info/edit",
"style": {
"navigationBarTitleText": "编辑资料"
}
}, {
"path": "pages/mine/pwd/index",
"style": {
"navigationBarTitleText": "修改密码"
}
}, {
"path": "pages/mine/setting/index",
"style": {
"navigationBarTitleText": "应用设置"
}
}, {
"path": "pages/mine/help/index",
"style": {
"navigationBarTitleText": "常见问题"
}
}, {
"path": "pages/mine/about/index",
"style": {
"navigationBarTitleText": "关于我们"
}
}, {
"path": "pages/common/webview/index",
"style": {
"navigationBarTitleText": "浏览网页"
}
}, {
"path": "pages/common/textview/index",
"style": {
"navigationBarTitleText": "浏览文本"
}
},
{
"path": "pages/handlecase/index",
"style": {
@@ -228,28 +228,28 @@
}
],
// "tabBar": {
// "color": "#000000",
// "selectedColor": "#000000",
// "borderStyle": "white",
// "backgroundColor": "#ffffff",
// "list": [{
// "pagePath": "pages/index",
// "iconPath": "static/images/tabbar/home.png",
// "selectedIconPath": "static/images/tabbar/home_.png",
// "text": "首页"
// }, {
// "pagePath": "pages/work/index",
// "iconPath": "static/images/tabbar/work.png",
// "selectedIconPath": "static/images/tabbar/work_.png",
// "text": "工作台"
// }, {
// "pagePath": "pages/mine/index",
// "iconPath": "static/images/tabbar/mine.png",
// "selectedIconPath": "static/images/tabbar/mine_.png",
// "text": "我的"
// }]
// },
"tabBar": {
"color": "#000000",
"selectedColor": "#000000",
"borderStyle": "white",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/index",
"iconPath": "static/images/tabbar/home.png",
"selectedIconPath": "static/images/tabbar/home_.png",
"text": "首页"
}, {
"pagePath": "pages/work/index",
"iconPath": "static/images/tabbar/work.png",
"selectedIconPath": "static/images/tabbar/work_.png",
"text": "工作台"
}, {
"pagePath": "pages/mine/index",
"iconPath": "static/images/tabbar/mine.png",
"selectedIconPath": "static/images/tabbar/mine_.png",
"text": "我的"
}]
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "RuoYi",
+9
View File
@@ -55,6 +55,9 @@
<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators">是否指派仲裁员</button>
<button class="btnItem" type="primary" size="mini" @tap="chooseMethod">选择仲裁方式</button> -->
</view>
<view class="btn" v-if="sysType == 1">
<button class="btnItem" type="primary" size="mini" @tap="caseCrossExamin">案件质证</button>
</view>
</view>
</template>
@@ -133,6 +136,12 @@
this.clickPay(9)
}
},
// 案件质证
caseCrossExamin(){
uni.navigateTo({
url:`/pages/handlecase/component/uploadEvidence?id=${this.defalutVal.id}`
})
},
// 案件详情以及操作
caseDetail() {
uni.navigateTo({
+6 -4
View File
@@ -1,8 +1,8 @@
<template>
<view class="handlecase">
<view class="" v-if="sysType == 2">
<!-- <view class="" v-if="sysType == 2">
<button type="primary" @tap="newlyAddedCases" v-if="checkPermi(['caseManagement:list:add'])">新增案件</button>
</view>
</view> -->
<List class="caseList" @pDeleteCase='deleteCase' v-for="(item,index) in caseList" :defalutVal='item'
:buttonList='buttonList' :key="index" :sysType='sysType'>
</List>
@@ -186,20 +186,22 @@
obj = {
pageNum: this.pageNum,
pageSize: this.pageSize,
caseFlowId:this.caseFlowId
}
this.getButtonList();
}
this.getList(obj)
// this.getButtonList()
},
// onLoad() {
onLoad(data) {
this.caseFlowId = data.caseFlowId
// let obj = {
// pageNum: this.pageNum,
// pageSize: this.pageSize,
// caseStatus:4
// }
// this.getList(obj)
// }
}
}
</script>
+250 -20
View File
@@ -1,43 +1,273 @@
<template>
<view class="content">
<image class="logo" src="@/static/chuizi.png"></image>
<view class="text-area">
<text class="title">仲裁系统</text>
<view class="header">
<uni-section title="我的代办事项" type="line" padding></uni-section>
</view>
<view class="homeMain" v-if="sysType == 2">
<view class="cardList" @tap="handlingCases(item.caseFlowId)" v-for="item in homePageList" :key="item.caseFlowId">
<view class="badge">{{item.caseCount}}</view>
<view class="cardMain">
<!-- <img class="iconImg" src="@/assets/images/daishencha.png" alt=""> -->
</view>
<view class="cardMain">
<view class="imgTitle">{{item.caseStatusName}}</view>
</view>
</view>
<view class="emptyBox" style="margin: 0 auto;" v-if="homePageList.length == 0">
<luanqing-empty :show="true" textColor="#000"></luanqing-empty>
</view>
</view>
<view class="homeMain" v-if="sysType == 1">
<!-- <view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApply}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待立案申请</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyCheck}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待立案审查</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyPay}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待缴费</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyPayCheck}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待缴费确认</view>
</view>
</view> -->
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyEvidence}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待案件质证</view>
</view>
</view>
<!-- <view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyGroupCheck}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待组庭审核</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyGroupConfirm}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待组庭确定</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyArbitrateWay}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待审核仲裁方式</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{ dataCount.updateOnlineHearDate}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待确认开庭时间</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyGroupOnline}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待开庭审理</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyGroupOffline}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待书面审理</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyAwardCheck}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待核验仲裁文书</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.arbitratorApplyAwardConfirm }}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待仲裁员核验仲裁文书</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyAwardConfirm}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待审核仲裁文书</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyAwardSign}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待仲裁文书签名</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyAwardSeal}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待仲裁文书用印</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyAwardSend}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待仲裁文书送达</view>
</view>
</view>
<view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyStored}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="imgTitle">待案件归档</view>
</view>
</view> -->
</view>
</view>
</template>
<script>
import {todoCount,toDoCountReferee} from '@/api/homePage/index.js'
import LuanqingEmpty from "@/components/luanqing-empty.vue"
export default {
components: {
'luanqing-empty': LuanqingEmpty,
},
data(){
return {
homePageList:[],
sysType:null,
dataCount:{}
}
},
methods:{
getHomePage(){
if(this.sysType==2){
todoCount().then(res =>{
this.homePageList = res.data.toDoCountList
console.log(res)
})
}else if(this.sysType==1){
toDoCountReferee().then(res =>{
this.dataCount = res.data;
})
}
},
// 调解跳转
handlingCases(caseFlowId){
uni.navigateTo({
url:`../pages/handlecase/index?caseFlowId=${caseFlowId}`
})
},
// 仲裁跳转
refereeCase(){
uni.navigateTo({
url:'../pages/handlecase/index'
})
}
},
onShow() {
this.getHomePage()
},
onLoad: function() {
this.sysType = uni.getStorageSync('sysType');
console.log(this.sysType)
}
}
</script>
<style>
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
<style lang="scss">
page {
background-color: #ffffff;
}
.logo {
.homeMain {
width: 100%;
display: flex;
flex-wrap: wrap;
margin-left:27rpx;
// justify-content: space-between;
.cardList {
width: 28%;
height:200rpx;
width: 200rpx;
margin-top: 200rpx;
margin-left: auto;
margin-right: auto;
margin-bottom: 50rpx;
border-radius: 48rpx;
background-color:#ffffff;
position: relative;
margin-right: 30rpx;
margin-bottom: 30rpx;
border:1rpx solid #05baf1;
.badge {
width: 80rpx;
height: 50rpx;
text-align: center;
line-height: 50rpx;
font-size: 35rpx;
font-weight: 500;
color: #e32a4f;
border-radius: 10rpx 30rpx 10rpx 30rpx;
background-color: #05baf1;
position: absolute;
right: 0;
}
.text-area {
.cardMain {
width: 100%;
display: flex;
text-align: center;
justify-content: center;
margin-top: 40rpx;
padding
.iconImg {
width: 100rpx;
height: 110rpx;
}
.title {
font-size: 36rpx;
color: #8f8f94;
.imgTitle {
font-size: 28rpx;
font-weight: 600;
}
}
}
}
</style>
+1 -1
View File
@@ -6,7 +6,7 @@
<text class="title">仲裁平台</text>
</view>
<view class="logo-content align-center justify-center flex" v-if="logSyste==2">
<image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
<image style="width: 100rpx;height: 100rpx;" src="../static/refree.png" mode="widthFix">
</image>
<text class="title">调解平台</text>
</view>
+4 -4
View File
@@ -26,11 +26,11 @@
</view>
<view class="content-section">
<view class="mine-actions grid col-4 text-center">
<!-- <view class="action-item" @click="handleJiaoLiuQun">
<!-- <view class="mine-actions grid col-4 text-center">
<view class="action-item" @click="handleJiaoLiuQun">
<view class="iconfont icon-friendfill text-pink icon"></view>
<text class="text">交流群</text>
</view> -->
</view>
<view class="action-item" @click="handleBuilding">
<view class="iconfont icon-service text-blue icon"></view>
<text class="text">在线客服</text>
@@ -43,7 +43,7 @@
<view class="iconfont icon-dianzan text-green icon"></view>
<text class="text">点赞我们</text>
</view>
</view>
</view -->
<view class="menu-list">
<view class="list-cell list-cell-arrow" @click="handleToEditInfo">
+1 -1
View File
@@ -4,7 +4,7 @@
<uni-list-item showExtraIcon="true" :extraIcon="{type: 'person-filled'}" title="昵称" :rightText="user.nickName" />
<uni-list-item showExtraIcon="true" :extraIcon="{type: 'phone-filled'}" title="手机号码" :rightText="user.phonenumber" />
<uni-list-item showExtraIcon="true" :extraIcon="{type: 'email-filled'}" title="邮箱" :rightText="user.email" />
<uni-list-item showExtraIcon="true" :extraIcon="{type: 'auth-filled'}" title="岗位" :rightText="postGroup" />
<!-- <uni-list-item showExtraIcon="true" :extraIcon="{type: 'auth-filled'}" title="岗位" :rightText="postGroup" /> -->
<uni-list-item showExtraIcon="true" :extraIcon="{type: 'staff-filled'}" title="角色" :rightText="roleGroup" />
<uni-list-item showExtraIcon="true" :extraIcon="{type: 'calendar-filled'}" title="创建日期" :rightText="user.createTime" />
</uni-list>
+2 -2
View File
@@ -7,7 +7,7 @@
<view>修改密码</view>
</view>
</view>
<view class="list-cell list-cell-arrow" @click="handleToUpgrade">
<!-- <view class="list-cell list-cell-arrow" @click="handleToUpgrade">
<view class="menu-item-box">
<view class="iconfont icon-refresh menu-icon"></view>
<view>检查更新</view>
@@ -18,7 +18,7 @@
<view class="iconfont icon-clean menu-icon"></view>
<view>清理缓存</view>
</view>
</view>
</view> -->
</view>
<view class="cu-list menu">
<view class="cu-item item-box">
+22 -12
View File
@@ -28,28 +28,29 @@
<uni-grid-item>
<view class="grid-item-box" @tap="changeGrid(0)">
<uni-icons type="calendar-filled" size="30" color="#327DD7"></uni-icons>
<text class="text">待办案件</text>
<text class="text" v-if="sysType == 1">待办案件</text>
<text class="text" v-if="sysType == 2">我的申请</text>
</view>
</uni-grid-item>
<!-- <uni-grid-item>
<uni-grid-item v-if="sysType == 2 && checkPermi(['caseManagement:list:add'])">
<view class="grid-item-box" @tap="changeGrid(1)">
<uni-icons type="staff-filled" size="30" color="#327DD7"></uni-icons>
<text class="text">代办案件</text>
<text class="text">立案申请</text>
</view>
</uni-grid-item>
<uni-grid-item>
<!-- <uni-grid-item v-if="sysType == 2">
<view class="grid-item-box" @tap="changeGrid(2)">
<uni-icons type="color" size="30" color="#327DD7"></uni-icons>
<text class="text">代理立案</text>
<text class="text">线上调解</text>
</view>
</uni-grid-item>
<uni-grid-item>
<uni-grid-item v-if="sysType == 2">
<view class="grid-item-box" @tap="changeGrid(3)">
<uni-icons type="settings-filled" size="30" color="#327DD7"></uni-icons>
<text class="text">代理案件进展</text>
<uni-icons type="compose" size="30" color="#327DD7"></uni-icons>
<text class="text">我的申请</text>
</view>
</uni-grid-item>
<uni-grid-item>
</uni-grid-item> -->
<!-- <uni-grid-item>
<view class="grid-item-box" @tap="changeGrid(4)">
<uni-icons type="heart-filled" size="30" color="#327DD7"></uni-icons>
<text class="text">证据交换</text>
@@ -58,7 +59,8 @@
<uni-grid-item>
<view class="grid-item-box" @tap="changeGrid(5)">
<uni-icons type="bars" size="30" color="#327DD7"></uni-icons>
<text class="text">视频审理</text>
<text class="text" v-if="sysType == 1">视频审理</text>
<text class="text" v-if="sysType == 2">线上调解</text>
</view>
</uni-grid-item>
<!-- <uni-grid-item>
@@ -114,7 +116,8 @@
}
],
certificationStatus: "",
eidToken: ""
eidToken: "",
sysType:null
}
},
methods: {
@@ -155,6 +158,11 @@
url: ('/pages/signature/index')
})
break;
case 1:
uni.navigateTo({
url: (`/pages/handlecase/component/newlyAddedCase?title=新增案件`)
})
break;
default:
break;
}
@@ -194,6 +202,8 @@
}
},
onLoad() {
this.sysType = uni.getStorageSync('sysType');
console.log(this.sysType)
// sendEidtoken({
// "eidToken": 'C0339AE1-7B30-4DB9-B1E4-35A10F45249B'
// }).then(res => {
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long