签收,按钮权限

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
})
}
+81 -81
View File
@@ -15,71 +15,71 @@
"navigationBarTitleText": "注册" "navigationBarTitleText": "注册"
} }
}, },
// { {
// "path": "pages/index", "path": "pages/index",
// "style": { "style": {
// "navigationBarTitleText": "首页", "navigationBarTitleText": "首页"
// "navigationStyle": "custom" // "navigationStyle": "custom"
// } }
// }, },
{ {
"path": "pages/work/index", "path": "pages/work/index",
"style": { "style": {
"navigationBarTitleText": "工作台" "navigationBarTitleText": "工作台"
} }
}, },
// { {
// "path": "pages/mine/index", "path": "pages/mine/index",
// "style": { "style": {
// "navigationBarTitleText": "我的" "navigationBarTitleText": "我的"
// } }
// }, },
// { {
// "path": "pages/mine/avatar/index", "path": "pages/mine/avatar/index",
// "style": { "style": {
// "navigationBarTitleText": "修改头像" "navigationBarTitleText": "修改头像"
// } }
// }, { }, {
// "path": "pages/mine/info/index", "path": "pages/mine/info/index",
// "style": { "style": {
// "navigationBarTitleText": "个人信息" "navigationBarTitleText": "个人信息"
// } }
// }, { }, {
// "path": "pages/mine/info/edit", "path": "pages/mine/info/edit",
// "style": { "style": {
// "navigationBarTitleText": "编辑资料" "navigationBarTitleText": "编辑资料"
// } }
// }, { }, {
// "path": "pages/mine/pwd/index", "path": "pages/mine/pwd/index",
// "style": { "style": {
// "navigationBarTitleText": "修改密码" "navigationBarTitleText": "修改密码"
// } }
// }, { }, {
// "path": "pages/mine/setting/index", "path": "pages/mine/setting/index",
// "style": { "style": {
// "navigationBarTitleText": "应用设置" "navigationBarTitleText": "应用设置"
// } }
// }, { }, {
// "path": "pages/mine/help/index", "path": "pages/mine/help/index",
// "style": { "style": {
// "navigationBarTitleText": "常见问题" "navigationBarTitleText": "常见问题"
// } }
// }, { }, {
// "path": "pages/mine/about/index", "path": "pages/mine/about/index",
// "style": { "style": {
// "navigationBarTitleText": "关于我们" "navigationBarTitleText": "关于我们"
// } }
// }, { }, {
// "path": "pages/common/webview/index", "path": "pages/common/webview/index",
// "style": { "style": {
// "navigationBarTitleText": "浏览网页" "navigationBarTitleText": "浏览网页"
// } }
// }, { }, {
// "path": "pages/common/textview/index", "path": "pages/common/textview/index",
// "style": { "style": {
// "navigationBarTitleText": "浏览文本" "navigationBarTitleText": "浏览文本"
// } }
// }, },
{ {
"path": "pages/handlecase/index", "path": "pages/handlecase/index",
"style": { "style": {
@@ -228,28 +228,28 @@
} }
], ],
// "tabBar": { "tabBar": {
// "color": "#000000", "color": "#000000",
// "selectedColor": "#000000", "selectedColor": "#000000",
// "borderStyle": "white", "borderStyle": "white",
// "backgroundColor": "#ffffff", "backgroundColor": "#ffffff",
// "list": [{ "list": [{
// "pagePath": "pages/index", "pagePath": "pages/index",
// "iconPath": "static/images/tabbar/home.png", "iconPath": "static/images/tabbar/home.png",
// "selectedIconPath": "static/images/tabbar/home_.png", "selectedIconPath": "static/images/tabbar/home_.png",
// "text": "首页" "text": "首页"
// }, { }, {
// "pagePath": "pages/work/index", "pagePath": "pages/work/index",
// "iconPath": "static/images/tabbar/work.png", "iconPath": "static/images/tabbar/work.png",
// "selectedIconPath": "static/images/tabbar/work_.png", "selectedIconPath": "static/images/tabbar/work_.png",
// "text": "工作台" "text": "工作台"
// }, { }, {
// "pagePath": "pages/mine/index", "pagePath": "pages/mine/index",
// "iconPath": "static/images/tabbar/mine.png", "iconPath": "static/images/tabbar/mine.png",
// "selectedIconPath": "static/images/tabbar/mine_.png", "selectedIconPath": "static/images/tabbar/mine_.png",
// "text": "我的" "text": "我的"
// }] }]
// }, },
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "RuoYi", "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="isAssignrbitrators">是否指派仲裁员</button>
<button class="btnItem" type="primary" size="mini" @tap="chooseMethod">选择仲裁方式</button> --> <button class="btnItem" type="primary" size="mini" @tap="chooseMethod">选择仲裁方式</button> -->
</view> </view>
<view class="btn" v-if="sysType == 1">
<button class="btnItem" type="primary" size="mini" @tap="caseCrossExamin">案件质证</button>
</view>
</view> </view>
</template> </template>
@@ -133,6 +136,12 @@
this.clickPay(9) this.clickPay(9)
} }
}, },
// 案件质证
caseCrossExamin(){
uni.navigateTo({
url:`/pages/handlecase/component/uploadEvidence?id=${this.defalutVal.id}`
})
},
// 案件详情以及操作 // 案件详情以及操作
caseDetail() { caseDetail() {
uni.navigateTo({ uni.navigateTo({
+13 -11
View File
@@ -1,8 +1,8 @@
<template> <template>
<view class="handlecase"> <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> <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' <List class="caseList" @pDeleteCase='deleteCase' v-for="(item,index) in caseList" :defalutVal='item'
:buttonList='buttonList' :key="index" :sysType='sysType'> :buttonList='buttonList' :key="index" :sysType='sysType'>
</List> </List>
@@ -186,20 +186,22 @@
obj = { obj = {
pageNum: this.pageNum, pageNum: this.pageNum,
pageSize: this.pageSize, pageSize: this.pageSize,
caseFlowId:this.caseFlowId
} }
this.getButtonList(); this.getButtonList();
} }
this.getList(obj) this.getList(obj)
// this.getButtonList() // this.getButtonList()
}, },
// onLoad() { onLoad(data) {
// let obj = { this.caseFlowId = data.caseFlowId
// pageNum: this.pageNum, // let obj = {
// pageSize: this.pageSize, // pageNum: this.pageNum,
// caseStatus:4 // pageSize: this.pageSize,
// } // caseStatus:4
// this.getList(obj) // }
// } // this.getList(obj)
}
} }
</script> </script>
+257 -27
View File
@@ -1,43 +1,273 @@
<template> <template>
<view class="content"> <view class="content">
<image class="logo" src="@/static/chuizi.png"></image> <view class="header">
<view class="text-area"> <uni-section title="我的代办事项" type="line" padding></uni-section>
<text class="title">仲裁系统</text> </view>
</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> </view>
</template> </template>
<script> <script>
import {todoCount,toDoCountReferee} from '@/api/homePage/index.js'
import LuanqingEmpty from "@/components/luanqing-empty.vue"
export default { 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() { onLoad: function() {
this.sysType = uni.getStorageSync('sysType');
console.log(this.sysType)
} }
} }
</script> </script>
<style> <style lang="scss">
.content { page {
display: flex; background-color: #ffffff;
flex-direction: column; }
align-items: center; .homeMain {
justify-content: center; width: 100%;
} display: flex;
flex-wrap: wrap;
margin-left:27rpx;
// justify-content: space-between;
.cardList {
width: 28%;
height:200rpx;
border-radius: 48rpx;
background-color:#ffffff;
position: relative;
margin-right: 30rpx;
margin-bottom: 30rpx;
border:1rpx solid #05baf1;
.logo { .badge {
height: 200rpx; width: 80rpx;
width: 200rpx; height: 50rpx;
margin-top: 200rpx; text-align: center;
margin-left: auto; line-height: 50rpx;
margin-right: auto; font-size: 35rpx;
margin-bottom: 50rpx; font-weight: 500;
} color: #e32a4f;
border-radius: 10rpx 30rpx 10rpx 30rpx;
background-color: #05baf1;
position: absolute;
right: 0;
}
.text-area { .cardMain {
display: flex; width: 100%;
justify-content: center; display: flex;
} text-align: center;
justify-content: center;
margin-top: 40rpx;
padding
.iconImg {
width: 100rpx;
height: 110rpx;
}
.title { .imgTitle {
font-size: 36rpx; font-size: 28rpx;
color: #8f8f94; font-weight: 600;
} }
}
}
}
</style> </style>
+1 -1
View File
@@ -6,7 +6,7 @@
<text class="title">仲裁平台</text> <text class="title">仲裁平台</text>
</view> </view>
<view class="logo-content align-center justify-center flex" v-if="logSyste==2"> <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> </image>
<text class="title">调解平台</text> <text class="title">调解平台</text>
</view> </view>
+4 -4
View File
@@ -26,11 +26,11 @@
</view> </view>
<view class="content-section"> <view class="content-section">
<view class="mine-actions grid col-4 text-center"> <!-- <view class="mine-actions grid col-4 text-center">
<!-- <view class="action-item" @click="handleJiaoLiuQun"> <view class="action-item" @click="handleJiaoLiuQun">
<view class="iconfont icon-friendfill text-pink icon"></view> <view class="iconfont icon-friendfill text-pink icon"></view>
<text class="text">交流群</text> <text class="text">交流群</text>
</view> --> </view>
<view class="action-item" @click="handleBuilding"> <view class="action-item" @click="handleBuilding">
<view class="iconfont icon-service text-blue icon"></view> <view class="iconfont icon-service text-blue icon"></view>
<text class="text">在线客服</text> <text class="text">在线客服</text>
@@ -43,7 +43,7 @@
<view class="iconfont icon-dianzan text-green icon"></view> <view class="iconfont icon-dianzan text-green icon"></view>
<text class="text">点赞我们</text> <text class="text">点赞我们</text>
</view> </view>
</view> </view -->
<view class="menu-list"> <view class="menu-list">
<view class="list-cell list-cell-arrow" @click="handleToEditInfo"> <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: '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: '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: '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: 'staff-filled'}" title="角色" :rightText="roleGroup" />
<uni-list-item showExtraIcon="true" :extraIcon="{type: 'calendar-filled'}" title="创建日期" :rightText="user.createTime" /> <uni-list-item showExtraIcon="true" :extraIcon="{type: 'calendar-filled'}" title="创建日期" :rightText="user.createTime" />
</uni-list> </uni-list>
+2 -2
View File
@@ -7,7 +7,7 @@
<view>修改密码</view> <view>修改密码</view>
</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="menu-item-box">
<view class="iconfont icon-refresh menu-icon"></view> <view class="iconfont icon-refresh menu-icon"></view>
<view>检查更新</view> <view>检查更新</view>
@@ -18,7 +18,7 @@
<view class="iconfont icon-clean menu-icon"></view> <view class="iconfont icon-clean menu-icon"></view>
<view>清理缓存</view> <view>清理缓存</view>
</view> </view>
</view> </view> -->
</view> </view>
<view class="cu-list menu"> <view class="cu-list menu">
<view class="cu-item item-box"> <view class="cu-item item-box">
+22 -12
View File
@@ -28,28 +28,29 @@
<uni-grid-item> <uni-grid-item>
<view class="grid-item-box" @tap="changeGrid(0)"> <view class="grid-item-box" @tap="changeGrid(0)">
<uni-icons type="calendar-filled" size="30" color="#327DD7"></uni-icons> <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> </view>
</uni-grid-item> </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)"> <view class="grid-item-box" @tap="changeGrid(1)">
<uni-icons type="staff-filled" size="30" color="#327DD7"></uni-icons> <uni-icons type="staff-filled" size="30" color="#327DD7"></uni-icons>
<text class="text">代办案件</text> <text class="text">立案申请</text>
</view> </view>
</uni-grid-item> </uni-grid-item>
<uni-grid-item> <!-- <uni-grid-item v-if="sysType == 2">
<view class="grid-item-box" @tap="changeGrid(2)"> <view class="grid-item-box" @tap="changeGrid(2)">
<uni-icons type="color" size="30" color="#327DD7"></uni-icons> <uni-icons type="color" size="30" color="#327DD7"></uni-icons>
<text class="text">代理立案</text> <text class="text">线上调解</text>
</view> </view>
</uni-grid-item> </uni-grid-item>
<uni-grid-item> <uni-grid-item v-if="sysType == 2">
<view class="grid-item-box" @tap="changeGrid(3)"> <view class="grid-item-box" @tap="changeGrid(3)">
<uni-icons type="settings-filled" size="30" color="#327DD7"></uni-icons> <uni-icons type="compose" size="30" color="#327DD7"></uni-icons>
<text class="text">代理案件进展</text> <text class="text">我的申请</text>
</view> </view>
</uni-grid-item> </uni-grid-item> -->
<uni-grid-item> <!-- <uni-grid-item>
<view class="grid-item-box" @tap="changeGrid(4)"> <view class="grid-item-box" @tap="changeGrid(4)">
<uni-icons type="heart-filled" size="30" color="#327DD7"></uni-icons> <uni-icons type="heart-filled" size="30" color="#327DD7"></uni-icons>
<text class="text">证据交换</text> <text class="text">证据交换</text>
@@ -58,7 +59,8 @@
<uni-grid-item> <uni-grid-item>
<view class="grid-item-box" @tap="changeGrid(5)"> <view class="grid-item-box" @tap="changeGrid(5)">
<uni-icons type="bars" size="30" color="#327DD7"></uni-icons> <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> </view>
</uni-grid-item> </uni-grid-item>
<!-- <uni-grid-item> <!-- <uni-grid-item>
@@ -114,7 +116,8 @@
} }
], ],
certificationStatus: "", certificationStatus: "",
eidToken: "" eidToken: "",
sysType:null
} }
}, },
methods: { methods: {
@@ -155,6 +158,11 @@
url: ('/pages/signature/index') url: ('/pages/signature/index')
}) })
break; break;
case 1:
uni.navigateTo({
url: (`/pages/handlecase/component/newlyAddedCase?title=新增案件`)
})
break;
default: default:
break; break;
} }
@@ -194,6 +202,8 @@
} }
}, },
onLoad() { onLoad() {
this.sysType = uni.getStorageSync('sysType');
console.log(this.sysType)
// sendEidtoken({ // sendEidtoken({
// "eidToken": 'C0339AE1-7B30-4DB9-B1E4-35A10F45249B' // "eidToken": 'C0339AE1-7B30-4DB9-B1E4-35A10F45249B'
// }).then(res => { // }).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