’调解视频会议

git commit -m ’调解视频会议
This commit is contained in:
hanchaobo
2024-01-24 15:52:01 +08:00
parent 70d2764a44
commit d20ace32aa
15 changed files with 1247 additions and 1027 deletions
+145 -108
View File
@@ -1,112 +1,149 @@
<template>
<view class="list" @tap="caseDetail">
<view class="listItem">
<view class="lable">
案件编号:
</view>
<view class="main">
{{defalutVal.caseNum}}
</view>
</view>
<view class="listItem">
<view class="lable">
申请人姓名:
</view>
<view class="main">
{{defalutVal.applicantName}}
</view>
</view>
<view class="listItem" style="margin-top:22rpx">
<view class="lable">
被申请人姓名:
</view>
<view class="main">
{{defalutVal.respondentName}}
</view>
</view>
<view class="listItem">
<view class="lable">
案件状态:
</view>
<view class="main">
{{defalutVal.caseStatusName}}
</view>
</view>
<view class="listItem">
<view class="lable">
案件房间号:
<template>
<view class="">
<view class="list" @tap="caseDetail">
<view class="listItem">
<view class="lable">
案件编号:
</view>
<view class="main">
{{defalutVal.caseNum}}
</view>
</view>
<view class="main">
{{defalutVal.roomId}}
<view class="listItem" v-if="sysType == 1">
<view class="lable">
申请人姓名:
</view>
<view class="main">
{{defalutVal.applicantName}}
</view>
</view>
<view class="listItem" v-if="sysType == 2">
<view class="lable">
申请人姓名:
</view>
<view class="main">
{{defalutVal.applicationOrganName}}
</view>
</view>
<view class="listItem" style="margin-top:22rpx">
<view class="lable">
被申请人姓名:
</view>
<view class="main">
{{defalutVal.respondentName}}
</view>
</view>
<view class="listItem">
<view class="lable">
案件状态:
</view>
<view class="main">
{{defalutVal.caseStatusName}}
</view>
</view>
<view class="listItem">
<view class="lable">
案件房间号:
</view>
<view class="main">
{{defalutVal.roomId}}
</view>
</view>
<view class="listItem" v-if="sysType == 1">
<view class="lable">
开庭时间:
</view>
<view class="main">
{{defalutVal.scheduleStartTime}}
</view>
</view>
<view class="listItem" v-if="sysType == 2">
<view class="lable">
开庭时间:
</view>
<view class="main">
{{defalutVal.hearDate}}
</view>
</view>
</view>
<view class="listItem">
<view class="lable">
开庭时间:
</view>
<view class="main">
{{defalutVal.scheduleStartTime}}
</view>
</view>
</view>
</template>
<script>
export default{
data(){
return{
}
},
props:{
defalutVal:{
type:Object,
default:() => {}
}
},
methods:{
// 在线开庭详情以及操作
caseDetail(){
let imUrl = encodeURIComponent(`https://txroom.xayunmei.com/#/home?name=${this.$store.state.user.name}&id=${this.defalutVal.id}&userId=${this.$store.state.user.userId}&roomId=${this.defalutVal.roomId}`)
console.log(this.$store.state.user)
uni.navigateTo({url:`/pages/im/component/imHome?imUrl=${imUrl}`})
}
}
}
</script>
<style lang="scss" scoped>
.list {
padding: 15rpx;
display: flex;
flex-direction: column;
background-color: #ffffff;
border-radius: 30rpx;
margin-top: 20rpx;
.listItem {
width: 100%;
display: flex;
height: 50rpx;
.lable {
width: 30%;
}
.main {
width: 60%;
}
}
.btn{
margin-top: 20rpx;
width: 100%;
display: flex;
justify-content: space-between;
.btnItem{
height: 50rpx;
background-color: #5395ff;
border-radius: 10rpx;
text-align: center;
line-height: 50rpx;
}
}
}
</view>
</template>
<script>
export default {
data() {
return {
sysType: null
}
},
props: {
defalutVal: {
type: Object,
default: () => {}
}
},
methods: {
// 在线开庭详情以及操作
caseDetail() {
let imUrl = '';
let type = 1;
if (this.sysType == 1) {
imUrl = encodeURIComponent(
`https://txroom.xayunmei.com/#/home?name=${this.$store.state.user.name}&id=${this.defalutVal.id}&userId=${this.$store.state.user.userId}&roomId=${this.defalutVal.roomId}`
)
} else if (this.sysType == 2) {
imUrl = encodeURIComponent(
`https://txroom.xayunmei.com/#/home?name=${this.$store.state.user.name}&id=${this.defalutVal.id}&userId=${this.$store.state.user.userId}&roomId=${this.defalutVal.roomId}&type=${type}`
)
}
uni.navigateTo({
url: `/pages/im/component/imHome?imUrl=${imUrl}`
})
}
},
created() {
this.sysType = uni.getStorageSync('sysType');
}
}
</script>
<style lang="scss" scoped>
.list {
padding: 15rpx;
display: flex;
flex-direction: column;
background-color: #ffffff;
border-radius: 30rpx;
margin-top: 20rpx;
.listItem {
width: 100%;
display: flex;
height: 50rpx;
.lable {
width: 30%;
}
.main {
width: 60%;
}
}
.btn {
margin-top: 20rpx;
width: 100%;
display: flex;
justify-content: space-between;
.btnItem {
height: 50rpx;
background-color: #5395ff;
border-radius: 10rpx;
text-align: center;
line-height: 50rpx;
}
}
}
</style>
+103 -85
View File
@@ -1,94 +1,111 @@
<template>
<!-- <view class=""> -->
<!-- <web-view :src="sendImg"></web-view> -->
<template>
<!-- <view class=""> -->
<!-- <web-view :src="sendImg"></web-view> -->
<!-- </view> -->
<view class="handlecase">
<List class="caseList" v-for="(item,index) in caseList" :defalutVal='item' :key="index"></List>
<view class="emptyBox" v-if="caseList.length == 0">
<luanqing-empty :show="true" textColor="#000"></luanqing-empty>
</view>
</view>
</template>
</view>
</template>
<script>
import List from './component/imList.vue'
import LuanqingEmpty from "@/components/luanqing-empty.vue"
import {
respondentList
} from '../../api/handlecase/index.js'
respondentList,
caseApplicationTj
} from '../../api/handlecase/index.js'
export default {
components: {
List,
'luanqing-empty': LuanqingEmpty,
},
data() {
return {
name: "",
},
data() {
return {
name: "",
sendImg: "",
caseList: [],
pageNum: 1,
pageSize: 10
}
pageSize: 10,
sysType: null
}
},
methods:{
methods: {
getList(parms) {
respondentList(parms).then(res => {
this.caseList = res.data;
this.caseList.forEach(item => {
switch (item.caseStatus) {
case 0:
item.caseStatusName = '立案申请'
break;
case 1:
item.caseStatusName = '待缴费'
break;
case 2:
item.caseStatusName = '待缴费确认'
break;
case 3:
item.caseStatusName = '待确认是否应诉'
break;
case 4:
item.caseStatusName = '待确认证据'
break;
case 5:
item.caseStatusName = '待确定是否指派仲裁员'
break;
case 6:
item.caseStatusName = '待组庭'
break;
case 7:
item.caseStatusName = '待组庭确定'
break;
case 8:
item.caseStatusName = '待组庭审核'
break;
case 9:
item.caseStatusName = '待选择仲裁方式'
break;
case 10:
item.caseStatusName = '待开庭'
break;
case 11:
item.caseStatusName = '待生成仲裁文书'
break;
case 12:
item.caseStatusName = '待确认仲裁文书'
break;
case 13:
item.caseStatusName = '待仲裁文书用印'
break;
case 14:
item.caseStatusName = '待仲裁文书用印审核'
break;
case 15:
item.caseStatusName = '待仲裁文书送达'
break;
case 16:
item.caseStatusName = '待案件归档'
break;
if (this.sysType == 1) {
respondentList(parms).then(res => {
this.caseList = res.data;
this.caseList.forEach(item => {
switch (item.caseStatus) {
case 0:
item.caseStatusName = '立案申请'
break;
case 1:
item.caseStatusName = '待缴费'
break;
case 2:
item.caseStatusName = '待缴费确认'
break;
case 3:
item.caseStatusName = '待确认是否应诉'
break;
case 4:
item.caseStatusName = '待确认证据'
break;
case 5:
item.caseStatusName = '待确定是否指派仲裁员'
break;
case 6:
item.caseStatusName = '待组庭'
break;
case 7:
item.caseStatusName = '待组庭确定'
break;
case 8:
item.caseStatusName = '待组庭审核'
break;
case 9:
item.caseStatusName = '待选择仲裁方式'
break;
case 10:
item.caseStatusName = '待开庭'
break;
case 11:
item.caseStatusName = '待生成仲裁文书'
break;
case 12:
item.caseStatusName = '待确认仲裁文书'
break;
case 13:
item.caseStatusName = '待仲裁文书用印'
break;
case 14:
item.caseStatusName = '待仲裁文书用印审核'
break;
case 15:
item.caseStatusName = '待仲裁文书送达'
break;
case 16:
item.caseStatusName = '待案件归档'
break;
}
})
})
} else if (this.sysType == 2) {
parms.hearDateFlag = 1;
parms.miniProgressFlag = 1;
delete parms.caseStatus;
caseApplicationTj(parms).then(res => {
// this.caseList = res.rows;
if (res.rows) {
this.caseList = res.rows;
} else {
this.caseList = []
}
})
})
}
},
// 触底
onReachBottom() {
@@ -98,30 +115,31 @@
let obj = {
pageNum: this.pageNum,
pageSize: this.pageSize,
caseStatus:8
caseStatus: 8
}
obj.pageNum = obj.pageNum + 1
this.getList(obj)
}
},
onLoad() {
this.sysType = uni.getStorageSync('sysType');
let obj = {
pageNum: this.pageNum,
pageSize: this.pageSize,
caseStatus:8
caseStatus: 8
}
this.getList(obj)
}
// onLoad: function() {
// this.name = this.$store.state.user.name;
// this.sendImg = `https://txroom.xayunmei.com`
// // this.sendImg = `http://localhost:8080/#/?name=${this.name}`
// },
}
</script>
<style lang="scss" scoped>
}
// onLoad: function() {
// this.name = this.$store.state.user.name;
// this.sendImg = `https://txroom.xayunmei.com`
// // this.sendImg = `http://localhost:8080/#/?name=${this.name}`
// },
}
</script>
<style lang="scss" scoped>
</style>