’调解视频会议

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
+28 -4
View File
@@ -18,7 +18,7 @@ export function respondentDetail(data) {
// 查询仲裁员列表 // 查询仲裁员列表
export function arbitratorList(data) { export function arbitratorList(data) {
return request({ return request({
'url': `/arbitrator/list`, 'url': `/caseApplication/listMediator`,
method: 'get', method: 'get',
params: data params: data
}) })
@@ -35,7 +35,7 @@ export function evidenceCrossexami(data) {
return request({ return request({
'url': `/evidence/crossexami`, 'url': `/evidence/crossexami`,
method: 'post', method: 'post',
data:data data: data
}) })
} }
// 查询物流信息 // 查询物流信息
@@ -43,7 +43,7 @@ export function logistics(data) {
return request({ return request({
'url': `/adjudication/logistics`, 'url': `/adjudication/logistics`,
method: 'get', method: 'get',
data:data data: data
}) })
} }
// 查询案件列表 // 查询案件列表
@@ -51,6 +51,30 @@ export function caseApplicationList(data) {
return request({ return request({
'url': `/caseApplication/list`, 'url': `/caseApplication/list`,
method: 'get', method: 'get',
params:data params: data
})
}
// 调解系统查看相关案件
export function caseApplicationTj(data) {
return request({
'url': `/caseApplication/list`,
method: 'get',
params: data
})
}
// 调解系统查看相关案件详情
export function selectById(data) {
return request({
'url': `/caseApplication/selectById`,
method: 'get',
params: data
})
}
// 调解系统选择仲裁员时间
export function updateBooking(data) {
return request({
'url': `/caseApplication/updateBooking`,
method: 'post',
data: data
}) })
} }
+3 -3
View File
@@ -3,9 +3,9 @@ module.exports = {
// baseUrlZC: 'https://api.xayunmei.com/zhongcaiapi', // baseUrlZC: 'https://api.xayunmei.com/zhongcaiapi',
// baseUrl: 'https://api.xayunmei.com/zhongcaiapitest', // baseUrl: 'https://api.xayunmei.com/zhongcaiapitest',
// baseUrl: 'http://121.40.189.20:9001', // baseUrl: 'http://121.40.189.20:9001',
baseUrlZC:'https://api.xayunmei.com/zhongcaiapi', // baseUrlZC:'https://api.xayunmei.com/zhongcaiapi',
// baseUrlZC:'https://api.xayunmei.com/zhongcaiapitest', baseUrlZC: 'https://api.xayunmei.com/zhongcaiapitest',
baseUrlTJ:'https://api.xayunmei.com/tiaojieapitest', baseUrlTJ: 'https://api.xayunmei.com/tiaojieapitest',
// baseUrlTJ:'https://api.xayunmei.com/tiaojieapi', // baseUrlTJ:'https://api.xayunmei.com/tiaojieapi',
// baseUrlZC: 'http://121.40.189.20:8001', // baseUrlZC: 'http://121.40.189.20:8001',
// baseUrlTJ: 'http://121.40.189.20:6001', // baseUrlTJ: 'http://121.40.189.20:6001',
+30 -15
View File
@@ -8,7 +8,7 @@
{{defalutVal.caseNum}} {{defalutVal.caseNum}}
</view> </view>
</view> </view>
<view class="listItem"> <view class="listItem" v-if="sysType == 1">
<view class="lable"> <view class="lable">
申请人姓名: 申请人姓名:
</view> </view>
@@ -16,8 +16,16 @@
{{defalutVal.applicantName}} {{defalutVal.applicantName}}
</view> </view>
</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="listItem" style="margin-top:22rpx">
<view class="lable" > <view class="lable">
被申请人姓名: 被申请人姓名:
</view> </view>
<view class="main"> <view class="main">
@@ -43,24 +51,27 @@
</template> </template>
<script> <script>
export default{ export default {
data(){ data() {
return{ return {
} }
}, },
props:{ props: {
defalutVal:{ defalutVal: {
type:Object, type: Object,
default:() => {} default: () => {}
},
sysType: {
type: Number,
default: () => {}
} }
}, },
methods:{ methods: {
// 案件详情以及操作 // 案件详情以及操作
caseDetail(){ caseDetail() {
console.log(1111111111111111);
uni.navigateTo({ uni.navigateTo({
url:`/pages/handlecase/component/uploadEvidence?id=${this.defalutVal.id}` url: `/pages/handlecase/component/uploadEvidence?id=${this.defalutVal.id}`
}) })
} }
// isAssignrbitrators(){ // isAssignrbitrators(){
@@ -98,10 +109,12 @@
background-color: #ffffff; background-color: #ffffff;
border-radius: 30rpx; border-radius: 30rpx;
margin-top: 20rpx; margin-top: 20rpx;
.listItem { .listItem {
width: 100%; width: 100%;
display: flex; display: flex;
height: 50rpx; height: 50rpx;
.lable { .lable {
width: 30%; width: 30%;
} }
@@ -111,12 +124,14 @@
} }
} }
.btn{
.btn {
margin-top: 20rpx; margin-top: 20rpx;
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.btnItem{
.btnItem {
height: 50rpx; height: 50rpx;
background-color: #5395ff; background-color: #5395ff;
border-radius: 10rpx; border-radius: 10rpx;
+240 -140
View File
@@ -14,7 +14,7 @@
<view v-show="current === 0"> <view v-show="current === 0">
<view class="assignrbitrators"> <view class="assignrbitrators">
<view class="from"> <view class="from">
<uni-forms ref="form" :modelValue="subnitForm" :rules="rules"> <uni-forms ref="form" :modelValue="subnitForm" :rules="rules" v-if="sysType == 1">
<!-- <view class="title">案件详情</view> --> <!-- <view class="title">案件详情</view> -->
<view class="box"> <view class="box">
<uni-forms-item label="案件编号:" name="caseNum" label-width="120px" required> <uni-forms-item label="案件编号:" name="caseNum" label-width="120px" required>
@@ -22,36 +22,39 @@
placeholder="" /> placeholder="" />
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="申请人:" name="applicantName" label-width="120px" required> <uni-forms-item label="申请人:" name="applicantName" label-width="120px" required>
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.applicantName" <uni-easyinput :inputBorder="false" :disabled='true'
placeholder="" /> v-model="formData.applicantName" placeholder="" />
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="被申请人:" name="respondentName" label-width="120px" required> <uni-forms-item label="被申请人:" name="respondentName" label-width="120px" required>
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.respondentName" <uni-easyinput :inputBorder="false" :disabled='true'
placeholder="" /> v-model="formData.respondentName" placeholder="" />
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="借款开始日期:" name="loanStartDate" label-width="120px" required> <uni-forms-item label="借款开始日期:" name="loanStartDate" label-width="120px" required>
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.loanStartDate" <uni-easyinput :inputBorder="false" :disabled='true'
placeholder="" /> v-model="formData.loanStartDate" placeholder="" />
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="借款结束日期:" name="loanEndDate" label-width="120px" required> <uni-forms-item label="借款结束日期:" name="loanEndDate" label-width="120px" required>
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.loanEndDate" <uni-easyinput :inputBorder="false" :disabled='true'
placeholder="" /> v-model="formData.loanEndDate" placeholder="" />
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="案件标的:" name="caseSubjectAmount" label-width="120px" required> <uni-forms-item label="案件标的:" name="caseSubjectAmount" label-width="120px" required>
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.caseSubjectAmount" <uni-easyinput :inputBorder="false" :disabled='true'
placeholder="" /> v-model="formData.caseSubjectAmount" placeholder="" />
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="申请人主张欠本金:" name="claimPrinciOwed" label-width="120px" required> <uni-forms-item label="申请人主张欠本金:" name="claimPrinciOwed" label-width="120px"
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.claimPrinciOwed" required>
placeholder="" /> <uni-easyinput :inputBorder="false" :disabled='true'
v-model="formData.claimPrinciOwed" placeholder="" />
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="申请人主张欠利息:" name="claimInterestOwed" label-width="120px" required> <uni-forms-item label="申请人主张欠利息:" name="claimInterestOwed" label-width="120px"
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.claimInterestOwed" required>
placeholder="" /> <uni-easyinput :inputBorder="false" :disabled='true'
v-model="formData.claimInterestOwed" placeholder="" />
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="申请人主张违约金:" name="claimLiquidDamag" label-width="120px" required> <uni-forms-item label="申请人主张违约金:" name="claimLiquidDamag" label-width="120px"
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.claimLiquidDamag" required>
placeholder="" /> <uni-easyinput :inputBorder="false" :disabled='true'
v-model="formData.claimLiquidDamag" placeholder="" />
</uni-forms-item> </uni-forms-item>
<!-- <uni-forms-item label="是否有异议需要举证" label-width="120px" name="objectionAddEviden" required> <!-- <uni-forms-item label="是否有异议需要举证" label-width="120px" name="objectionAddEviden" required>
<uni-data-checkbox class='checkbox' v-model="subnitForm.objectionAddEviden" <uni-data-checkbox class='checkbox' v-model="subnitForm.objectionAddEviden"
@@ -67,7 +70,8 @@
</uni-forms-item> --> </uni-forms-item> -->
<uni-forms-item label="是否仲裁反请求" label-width="120px" name="objectiJuris" required> <uni-forms-item label="是否仲裁反请求" label-width="120px" name="objectiJuris" required>
<uni-data-checkbox class='checkbox' v-model="subnitForm.objectiJuris" <uni-data-checkbox class='checkbox' v-model="subnitForm.objectiJuris"
:localdata="objectiJurisArr" @change='objectiJurisChange'></uni-data-checkbox> :localdata="objectiJurisArr"
@change='objectiJurisChange'></uni-data-checkbox>
</uni-forms-item> </uni-forms-item>
<!-- <uni-forms-item label="是否管辖异议申请" label-width="120px" name="adjudicaCounter" required> <!-- <uni-forms-item label="是否管辖异议申请" label-width="120px" name="adjudicaCounter" required>
<uni-data-checkbox class='checkbox' v-model="subnitForm.adjudicaCounter" <uni-data-checkbox class='checkbox' v-model="subnitForm.adjudicaCounter"
@@ -76,22 +80,43 @@
<!-- <uni-forms-item label="上传证据" name="headImage" label-width="120px" v-if="caseFlag"> <!-- <uni-forms-item label="上传证据" name="headImage" label-width="120px" v-if="caseFlag">
<uni-file-picker ref="files" :auto-upload="false" @select="select" :limit='1' /> <uni-file-picker ref="files" :auto-upload="false" @select="select" :limit='1' />
</uni-forms-item> --> </uni-forms-item> -->
<uni-forms-item <uni-forms-item label="是否书面审理" label-width="120px" name="respondentIsWrittenHear"
label="是否书面审理"
label-width="120px"
name="respondentIsWrittenHear"
required> required>
<uni-data-checkbox class='checkbox' v-model="subnitForm.respondentIsWrittenHear" <uni-data-checkbox class='checkbox' v-model="subnitForm.respondentIsWrittenHear"
:localdata="adjudicateRecord" @change='arbitrationmethod'></uni-data-checkbox> :localdata="adjudicateRecord"
@change='arbitrationmethod'></uni-data-checkbox>
</uni-forms-item> </uni-forms-item>
<uni-forms-item </view>
v-if="sysType==2" </uni-forms>
label="预约时间" <uni-forms ref="form" :modelValue="subnitForm" :rules="rules" v-if="sysType == 2">
label-width="120px" <!-- <view class="title">案件详情</view> -->
name="respondentIsWrittenHear" <view class="box">
> <uni-forms-item label="案件编号:" name="caseNum" label-width="120px" required>
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.caseNum"
placeholder="" />
</uni-forms-item>
<uni-forms-item label="申请人:" name="applicantName" label-width="120px" required>
<uni-easyinput :inputBorder="false" :disabled='true'
v-model="formData.affiliate.applicationOrganName" placeholder="" />
</uni-forms-item>
<uni-forms-item label="被申请人:" name="respondentName" label-width="120px" required>
<uni-easyinput :inputBorder="false" :disabled='true'
v-model="formData.affiliate.respondentName" placeholder="" />
</uni-forms-item>
<!-- <uni-forms-item label="是否有异议需要举证" label-width="120px" name="objectionAddEviden" required>
<uni-data-checkbox class='checkbox' v-model="subnitForm.objectionAddEviden"
:localdata="maintenancetypeArr" @change='uploadEvidenceChange'></uni-data-checkbox>
</uni-forms-item> -->
<!-- <uni-forms-item label="是否指派调解员" label-width="120px" name="pendingAppointArbotrar"
required>
<uni-data-checkbox class='checkbox' v-model="subnitForm.pendingAppointArbotrar"
:localdata="uploadEvidence"
@change='maintenancetypeChange'></uni-data-checkbox>
</uni-forms-item> -->
<uni-forms-item label="预约时间" label-width="120px" name="respondentIsWrittenHear">
<view class="example-body"> <view class="example-body">
<uni-datetime-picker type="date" @maskClick="maskClick" /> <uni-datetime-picker type="date" v-model="timeData"
@maskClick="maskClick" />
</view> </view>
</uni-forms-item> </uni-forms-item>
</view> </view>
@@ -135,7 +160,7 @@
</view> </view>
<view class="from" style="margin-top:30rpx;"> <view class="from" style="margin-top:30rpx;">
<uni-forms ref="reasontFormData" > <uni-forms ref="reasontFormData">
<uni-forms-item label="异议原因:" label-width="100px" required> <uni-forms-item label="异议原因:" label-width="100px" required>
<uni-easyinput v-model="reasontFormData.reasont" <uni-easyinput v-model="reasontFormData.reasont"
placeholder="请输入异议原因" /> placeholder="请输入异议原因" />
@@ -143,25 +168,34 @@
</uni-forms> </uni-forms>
</view> </view>
<view class="determine"> <view class="determine">
<button style="width: 150rpx;float: left;margin-left: 90rpx;" type="primary" @tap="submitReasont">确定</button> <button style="width: 150rpx;float: left;margin-left: 90rpx;" type="primary"
@tap="submitReasont">确定</button>
<button style="width: 150rpx;" @tap="cencalBut">取消</button> <button style="width: 150rpx;" @tap="cencalBut">取消</button>
</view> </view>
</uni-card> </uni-card>
</view> </view>
</uni-popup> </uni-popup>
<view class="uni-list" v-if="selectFlag"> <view class="uni-list">
<checkbox-group @change="checkboxChange" style="width: 100%;"> <checkbox-group @change="checkboxChange" style="width: 100%;margin-bottom: 15rpx;">
<label class="uni-list-cell uni-list-cell-pd" v-for="item in items" :key="item.userId"> <label class="uni-list-cell uni-list-cell-pd" v-for="item in items"
:key="item.mediatorId">
<view> <view>
<checkbox color="blue" style="transform:scale(0.7)" :value="item.userId + ''" /> <checkbox color="blue" style="transform:scale(0.7)"
:value="item.mediatorId + ''" />
</view> </view>
<view class="main"> <view class="main">
<view class=""> <view class="">
仲裁员姓名:{{item.nickName}} 仲裁员姓名:{{item.mediatorName}}
</view> </view>
<view class=""> <view class="">
介绍:{{item.remark || ''}} 专业:{{item.specialty || '暂无信息'}}
</view>
<view class="">
待办数量:{{item.todoAmount || '0'}}
</view>
<view class="">
已办数量:{{item.completeAmount || '0'}}
</view> </view>
</view> </view>
</label> </label>
@@ -176,24 +210,48 @@
</view> </view>
<view v-show="current === 1" style="padding: 20rpx;"> <view v-show="current === 1" style="padding: 20rpx;">
<view class="" v-if="sysType == 1">
<view class="" style="margin-top: 50rpx;"> <view class="" style="margin-top: 50rpx;">
<view>申请人</view> <view>申请人</view>
<view v-for="item in formData.evidenceMaterialList"> <view v-for="item in formData.evidenceMaterialList">
<uni-link v-if="item.annexType==2" :href="item.annexPath" color="#007BFF" :text="item.fileName"></uni-link> <uni-link v-if="item.annexType==2" :href="item.annexPath" color="#007BFF"
:text="item.fileName"></uni-link>
</view> </view>
<view>被申请人</view> <view>被申请人</view>
<view v-for="item in formData.evidenceMaterialList"> <view v-for="item in formData.evidenceMaterialList">
<uni-link v-if="item.annexType==6" :href="item.annexPath" color="#007BFF" :text="item.fileName"></uni-link> <uni-link v-if="item.annexType==6" :href="item.annexPath" color="#007BFF"
:text="item.fileName"></uni-link>
</view> </view>
</view> </view>
<view class="" style="margin-top: 40rpx;"> <view class="" style="margin-top: 40rpx;">
<view>仲裁申请书</view> <view>仲裁申请书</view>
<view v-for="item in formData.evidenceMaterialList"> <view v-for="item in formData.evidenceMaterialList">
<uni-link v-if="item.annexType==1" :href="item.annexPath" color="#007BFF" :text="item.fileName"></uni-link> <uni-link v-if="item.annexType==1" :href="item.annexPath" color="#007BFF"
:text="item.fileName"></uni-link>
</view>
</view>
</view>
<view class="" v-if="sysType == 2">
<view class="" style="margin-top: 50rpx;">
<view>申请人</view>
<view v-for="item in formData.caseAttachList">
<uni-link v-if="item.annexType==4" :href="item.annexPath" color="#007BFF"
:text="item.annexName"></uni-link>
</view>
<view>被申请人</view>
<view v-for="item in formData.caseAttachList">
<uni-link v-if="item.annexType==6" :href="item.annexPath" color="#007BFF"
:text="item.annexName"></uni-link>
</view>
</view>
<view class="" style="margin-top: 40rpx;">
<view>仲裁申请书</view>
<view v-for="item in formData.caseAttachList">
<uni-link v-if="item.annexType==3" :href="item.annexPath" color="#007BFF"
:text="item.annexName"></uni-link>
</view>
</view> </view>
</view> </view>
</view> </view>
</uni-section> </uni-section>
@@ -205,7 +263,9 @@
import { import {
respondentDetail, respondentDetail,
arbitratorList, arbitratorList,
evidenceCrossexami evidenceCrossexami,
selectById,
updateBooking
} from '../../../api/handlecase/index.js' } from '../../../api/handlecase/index.js'
import { import {
uploadImage uploadImage
@@ -220,26 +280,28 @@
export default { export default {
data() { data() {
return { return {
sysType:null,//默认系统 1.仲裁2.调节 sysType: null, //默认系统 1.仲裁2.调节
selectValue:null, selectValue: null,
defaultSelected: [], //默认选中项 defaultSelected: [], //默认选中项
serviceList: ['1','2'],//传递给子组件的数据 serviceList: ['1', '2'], //传递给子组件的数据
current:0, current: 0,
itemsT:['案件详情','案件资料'], itemsT: ['案件详情', '案件资料'],
styleType:'button', styleType: 'button',
activeColor:'#007aff', activeColor: '#007aff',
reasontFormData:{ reasontFormData: {
reasont:'' reasont: ''
},
isShowPopup: false,
formData: {
affiliate: {}
}, },
isShowPopup:false,
formData: {},
subnitForm: { subnitForm: {
objectionAddEviden:0, objectionAddEviden: 0,
pendingAppointArbotrar:0, pendingAppointArbotrar: 0,
objectiJuris:0, objectiJuris: 0,
adjudicaCounter:0, adjudicaCounter: 0,
respondentIsWrittenHear:1, respondentIsWrittenHear: 1,
adjudicaCounterReason:'' adjudicaCounterReason: ''
}, },
selectFlag: false, selectFlag: false,
caseFlag: false, caseFlag: false,
@@ -313,66 +375,43 @@
adjudicateRecord: [{ adjudicateRecord: [{
text: '是', text: '是',
value: 1 value: 1
},{ }, {
text: '否', text: '否',
value: 0 value: 0
}], }],
items: [], items: [],
selectData: [{ sysType: null,
value: 0, timeData: null,
label: '黄金糕' mediatorList: []
}, {
value: '选项2',
label: '双皮奶'
}, {
value: '选项3',
label: '蚵仔煎'
}, {
value: '选项4',
label: '龙须面'
}, {
value: '选项5',
label: '北京烤鸭'
}, {
value: '选项6',
label: '豆腐'
}, {
value: '选项7',
label: '油条'
}]
} }
}, },
mounted() { mounted() {
this.sysType = uni.getStorageSync('sysType')
}, },
methods: { methods: {
selectTJ(e){ onClickItem(e) {
// console.log(this.defaultSelected,'11111111')
// console.log(e,'2222222222’')
},
onClickItem(e){
if (this.current !== e.currentIndex) { if (this.current !== e.currentIndex) {
this.current = e.currentIndex this.current = e.currentIndex
} }
}, },
submitReasont(){ submitReasont() {
if(this.reasontFormData.reasont){ if (this.reasontFormData.reasont) {
this.subnitForm.adjudicaCounterReason = this.reasontFormData.reasont this.subnitForm.adjudicaCounterReason = this.reasontFormData.reasont
this.$refs.popup.close() this.$refs.popup.close()
this.reasontFormData.reasont ='' this.reasontFormData.reasont = ''
}else{ } else {
this.$modal.msgError("请输入反意理由") this.$modal.msgError("请输入反意理由")
} }
}, },
cencalBut(){ cencalBut() {
this.$refs.popup.close(); this.$refs.popup.close();
this.subnitForm.objectiJuris = 0; this.subnitForm.objectiJuris = 0;
}, },
objectiJurisChange(value){ objectiJurisChange(value) {
let flag = value.detail.value; let flag = value.detail.value;
if(flag==1){ if (flag == 1) {
this.$refs.popup.open('center') this.$refs.popup.open('center')
} }
}, },
@@ -385,51 +424,59 @@
this.caseFlag = false; this.caseFlag = false;
} }
}, },
maintenancetypeChange(val) { // maintenancetypeChange(val) {
let flag = val.detail.value; // let flag = val.detail.value;
if (flag == 1) { // if (flag == 1) {
this.selectFlag = true // this.selectFlag = true
this.getArbitratorList() // this.getArbitratorList()
} else { // } else {
this.selectFlag = false // this.selectFlag = false
} // }
}, // },
checkboxChange(e) { checkboxChange(e) {
let params = parseInt(e.detail.value); let params = parseInt(e.detail.value);
this.mediatorList = e.detail.value;
let result = ""; let result = "";
this.items.forEach(item=>{ this.items.forEach(item => {
if(item.userId == params){ if (item.mediatorId == params) {
result = item.nickName result = {
userId: item.mediatorId,
userName: item.mediatorName
}
} }
}) })
let arbitrators = [{id: params,arbitratorName: result}]; let arbitrators = {
// let idArr = e.detail.value; caseFlowId: this.formData.caseFlowId,
// let numberArray = idArr.map(str => parseInt(str)); userList: [result],
// const result = this.items.filter(item => numberArray.includes(item.userId)); };
// result.forEach(item => {
// arbitrators.push({
// id: item.userId,
// arbitratorName: item.nickName
// })
// })
this.subnitForm.arbitrators = arbitrators; this.subnitForm.arbitrators = arbitrators;
// console.log(this.subnitForm.arbitrators,"PPPPPPPPPPPPPP"); console.log(this.subnitForm.arbitrators, "PPPPPPPPPPPPPP");
}, },
getData(parms) { getData(parms) {
if (this.sysType == 1) {
respondentDetail(parms).then(res => { respondentDetail(parms).then(res => {
if(res.data.evidenceMaterialList.length > 0) { if (res.data.evidenceMaterialList.length > 0) {
res.data.evidenceMaterialList.forEach(item =>{ res.data.evidenceMaterialList.forEach(item => {
let names = item.annexPath.split('_') let names = item.annexPath.split('_')
item['fileName'] = names[names.length -1] item['fileName'] = names[names.length - 1]
item.annexPath = baseUrl + item.annexPath item.annexPath = baseUrl + item.annexPath
}) })
} }
this.formData = res.data this.formData = res.data
this.formData.loanEndDate = moment(this.formData.loanEndDate).format('YYYY-MM-DD HH:mm:ss'); this.formData.loanEndDate = moment(this.formData.loanEndDate).format(
'YYYY-MM-DD HH:mm:ss');
this.formData.loanStartDate = moment(this.formData.loanStartDate).format( this.formData.loanStartDate = moment(this.formData.loanStartDate).format(
'YYYY-MM-DD HH:mm:ss'); 'YYYY-MM-DD HH:mm:ss');
this.formData.id = this.formData.id + '' this.formData.id = this.formData.id + ''
}) })
} else if (this.sysType == 2) {
selectById({
id: parms
}).then(res => {
this.formData = res.data
console.log(res, "KKKKKKKKKKKKKKKKKKKKK");
})
}
}, },
// 文件上传 // 文件上传
select(e) { select(e) {
@@ -473,7 +520,7 @@
// 获取仲裁员列表 // 获取仲裁员列表
getArbitratorList() { getArbitratorList() {
arbitratorList().then(res => { arbitratorList().then(res => {
this.items = res.rows; this.items = res.data;
}) })
}, },
// 提交数据 // 提交数据
@@ -486,33 +533,83 @@
}) })
uni.navigateBack({ uni.navigateBack({
delta:1 delta: 1
}) })
// uni.$tab.redirectTo({
// url: '/pages/handlecase/index'
// })
// uni.navigateTo({
// url: '/pages/handlecase/index'
// })
}) })
}, },
submitImg() { submitImg() {
if (this.sysType == 2) {
if (this.mediatorList.length > 1) {
uni.showToast({
title: '只能选择一个调解员',
icon: 'none',
duration: 1000
})
return
}
if (!this.timeData) {
uni.showToast({
title: '请选择时间',
icon: 'none',
duration: 1000
})
return
}
if (this.mediatorList.length == 0) {
uni.showToast({
title: '请选择调解员',
icon: 'none',
duration: 1000
})
return
}
}
if (this.sysType == 1) {
this.$refs.form.validate().then(res => { this.$refs.form.validate().then(res => {
this.evidenceCrossexamiFn(this.subnitForm) this.evidenceCrossexamiFn(this.subnitForm)
}).catch(err => { }).catch(err => {
console.log('表单错误信息:', err); console.log('表单错误信息:', err);
}) })
} else if (this.sysType == 2) {
// TODO
// 调解提交
if (this.mediatorList.length > 1) {
uni.showToast({
title: '只能选择一个调解员',
icon: 'none',
duration: 1000
})
return
}
this.subnitForm.arbitrators.herDates = [this.timeData];
this.subnitForm.arbitrators.id = this.formData.id;
this.subnitForm.arbitrators.miniProgressFlag = 1;
updateBooking(this.subnitForm.arbitrators).then(res => {
uni.showToast({
title: '成功',
icon: 'none',
duration: 1000
})
uni.navigateBack({
delta: 1
})
})
}
}, },
// 证据清单 // 证据清单
evidenceList(){ evidenceList() {
console.log(this.formData.evidenceMaterialList) console.log(this.formData.evidenceMaterialList)
this.$tab.navigateTo(`/pages/handlecase/component/evidenceList?title=证据清单&evidenceList=${encodeURIComponent(JSON.stringify(this.formData.evidenceMaterialList))}`) this.$tab.navigateTo(
`/pages/handlecase/component/evidenceList?title=证据清单&evidenceList=${encodeURIComponent(JSON.stringify(this.formData.evidenceMaterialList))}`
)
}, },
}, },
onLoad(data) { onLoad(data) {
this.sysType = uni.getStorageSync('sysType')
this.getData(data.id); this.getData(data.id);
this.subnitForm.caseId = Number(data.id); this.subnitForm.caseId = Number(data.id);
// this.getArbitratorList() this.getArbitratorList()
} }
} }
@@ -522,10 +619,12 @@
page { page {
background-color: #ffffff; background-color: #ffffff;
} }
.content_list { .content_list {
height: 1060rpx; height: 1060rpx;
overflow-x: hidden; overflow-x: hidden;
.scroll_view_style{
.scroll_view_style {
height: 100%; height: 100%;
} }
} }
@@ -635,7 +734,8 @@
} }
} }
} }
.determine{
.determine {
padding: left 50rpx; padding: left 50rpx;
} }
} }
+33 -8
View File
@@ -1,6 +1,8 @@
<template> <template>
<view class="handlecase"> <view class="handlecase">
<List class="caseList" v-for="(item,index) in caseList" :defalutVal='item' :key="index"></List> <List class="caseList" v-for="(item,index) in caseList" :defalutVal='item' :key="index"
v-if="item.pendingStatus == 0" :sysType='sysType'>
</List>
<view class="emptyBox" v-if="caseList.length == 0"> <view class="emptyBox" v-if="caseList.length == 0">
<luanqing-empty :show="true" textColor="#000"></luanqing-empty> <luanqing-empty :show="true" textColor="#000"></luanqing-empty>
</view> </view>
@@ -10,7 +12,8 @@
<script> <script>
import List from './component/list.vue' import List from './component/list.vue'
import { import {
respondentList respondentList,
caseApplicationTj
} from '../../api/handlecase/index.js' } from '../../api/handlecase/index.js'
import LuanqingEmpty from "@/components/luanqing-empty.vue" import LuanqingEmpty from "@/components/luanqing-empty.vue"
export default { export default {
@@ -23,16 +26,17 @@
caseList: [], caseList: [],
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
sysType: null
} }
}, },
methods: { methods: {
getList(parms) { getList(parms) {
if (this.sysType == 1) {
respondentList(parms).then(res => { respondentList(parms).then(res => {
// this.caseList = res.rows; // this.caseList = res.rows;
if(res.data){ if (res.data) {
this.caseList = res.data; this.caseList = res.data;
}else{ } else {
this.caseList = [] this.caseList = []
} }
@@ -92,6 +96,18 @@
} }
}) })
}) })
} else if (this.sysType == 2) {
parms.miniProgressFlag = 1;
caseApplicationTj(parms).then(res => {
// this.caseList = res.rows;
if (res.rows) {
this.caseList = res.rows;
} else {
this.caseList = []
}
})
}
}, },
// 触底 // 触底
onReachBottom() { onReachBottom() {
@@ -101,17 +117,26 @@
let obj = { let obj = {
pageNum: this.pageNum, pageNum: this.pageNum,
pageSize: this.pageSize, pageSize: this.pageSize,
caseStatus:4 caseStatus: 4
} }
obj.pageNum = obj.pageNum + 1 obj.pageNum = obj.pageNum + 1
this.getList(obj) this.getList(obj)
} }
}, },
onShow() { onShow() {
let obj = { this.sysType = uni.getStorageSync('sysType');
let obj = {}
if (this.sysType == 1) {
obj = {
pageNum: this.pageNum, pageNum: this.pageNum,
pageSize: this.pageSize, pageSize: this.pageSize,
caseStatus:4 caseStatus: 4
}
} else if (this.sysType == 2) {
obj = {
pageNum: this.pageNum,
pageSize: this.pageSize,
}
} }
this.getList(obj) this.getList(obj)
}, },
+54 -17
View File
@@ -1,4 +1,5 @@
<template> <template>
<view class="">
<view class="list" @tap="caseDetail"> <view class="list" @tap="caseDetail">
<view class="listItem"> <view class="listItem">
<view class="lable"> <view class="lable">
@@ -8,7 +9,7 @@
{{defalutVal.caseNum}} {{defalutVal.caseNum}}
</view> </view>
</view> </view>
<view class="listItem"> <view class="listItem" v-if="sysType == 1">
<view class="lable"> <view class="lable">
申请人姓名: 申请人姓名:
</view> </view>
@@ -16,6 +17,14 @@
{{defalutVal.applicantName}} {{defalutVal.applicantName}}
</view> </view>
</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="listItem" style="margin-top:22rpx">
<view class="lable"> <view class="lable">
被申请人姓名: 被申请人姓名:
@@ -40,7 +49,7 @@
{{defalutVal.roomId}} {{defalutVal.roomId}}
</view> </view>
</view> </view>
<view class="listItem"> <view class="listItem" v-if="sysType == 1">
<view class="lable"> <view class="lable">
开庭时间: 开庭时间:
</view> </view>
@@ -48,29 +57,53 @@
{{defalutVal.scheduleStartTime}} {{defalutVal.scheduleStartTime}}
</view> </view>
</view> </view>
<view class="listItem" v-if="sysType == 2">
<view class="lable">
开庭时间:
</view> </view>
<view class="main">
{{defalutVal.hearDate}}
</view>
</view>
</view>
</view>
</template> </template>
<script> <script>
export default{ export default {
data(){ data() {
return{ return {
sysType: null
} }
}, },
props:{ props: {
defalutVal:{ defalutVal: {
type:Object, type: Object,
default:() => {} default: () => {}
} }
}, },
methods:{ methods: {
// 在线开庭详情以及操作 // 在线开庭详情以及操作
caseDetail(){ 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}`) let imUrl = '';
console.log(this.$store.state.user) let type = 1;
uni.navigateTo({url:`/pages/im/component/imHome?imUrl=${imUrl}`}) 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> </script>
@@ -83,10 +116,12 @@
background-color: #ffffff; background-color: #ffffff;
border-radius: 30rpx; border-radius: 30rpx;
margin-top: 20rpx; margin-top: 20rpx;
.listItem { .listItem {
width: 100%; width: 100%;
display: flex; display: flex;
height: 50rpx; height: 50rpx;
.lable { .lable {
width: 30%; width: 30%;
} }
@@ -95,12 +130,14 @@
width: 60%; width: 60%;
} }
} }
.btn{
.btn {
margin-top: 20rpx; margin-top: 20rpx;
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.btnItem{
.btnItem {
height: 50rpx; height: 50rpx;
background-color: #5395ff; background-color: #5395ff;
border-radius: 10rpx; border-radius: 10rpx;
+23 -5
View File
@@ -13,7 +13,8 @@
import List from './component/imList.vue' import List from './component/imList.vue'
import LuanqingEmpty from "@/components/luanqing-empty.vue" import LuanqingEmpty from "@/components/luanqing-empty.vue"
import { import {
respondentList respondentList,
caseApplicationTj
} from '../../api/handlecase/index.js' } from '../../api/handlecase/index.js'
export default { export default {
components: { components: {
@@ -26,11 +27,13 @@
sendImg: "", sendImg: "",
caseList: [], caseList: [],
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10,
sysType: null
} }
}, },
methods:{ methods: {
getList(parms) { getList(parms) {
if (this.sysType == 1) {
respondentList(parms).then(res => { respondentList(parms).then(res => {
this.caseList = res.data; this.caseList = res.data;
this.caseList.forEach(item => { this.caseList.forEach(item => {
@@ -89,6 +92,20 @@
} }
}) })
}) })
} 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() { onReachBottom() {
@@ -98,17 +115,18 @@
let obj = { let obj = {
pageNum: this.pageNum, pageNum: this.pageNum,
pageSize: this.pageSize, pageSize: this.pageSize,
caseStatus:8 caseStatus: 8
} }
obj.pageNum = obj.pageNum + 1 obj.pageNum = obj.pageNum + 1
this.getList(obj) this.getList(obj)
} }
}, },
onLoad() { onLoad() {
this.sysType = uni.getStorageSync('sysType');
let obj = { let obj = {
pageNum: this.pageNum, pageNum: this.pageNum,
pageSize: this.pageSize, pageSize: this.pageSize,
caseStatus:8 caseStatus: 8
} }
this.getList(obj) this.getList(obj)
+3 -3
View File
@@ -8,8 +8,7 @@
<view class="login-form-content"> <view class="login-form-content">
<view class="input-item flex align-center" style="width: 60%;margin: 0px;"> <view class="input-item flex align-center" style="width: 60%;margin: 0px;">
<!-- <view class="iconfont icon-user icon"></view> --> <!-- <view class="iconfont icon-user icon"></view> -->
<input v-model="registerForm.phone" class="input" type="number" placeholder="请输入手机号" <input v-model="registerForm.phone" class="input" type="number" placeholder="请输入手机号" maxlength="30" />
maxlength="30" />
<view class="login-code"> <view class="login-code">
<button class="login-code-img" type="primary" :disabled="codeDisabled" <button class="login-code-img" type="primary" :disabled="codeDisabled"
@tap="getCodeNumber(registerForm.phone)">{{codeText}}</button> @tap="getCodeNumber(registerForm.phone)">{{codeText}}</button>
@@ -22,7 +21,8 @@
</view> </view>
<view class="input-item flex align-center"> <view class="input-item flex align-center">
<!-- <view class="iconfont icon-user icon"></view> --> <!-- <view class="iconfont icon-user icon"></view> -->
<input v-model="registerForm.identityNo" class="input" type="text" placeholder="请输入身份证号" maxlength="30" /> <input v-model="registerForm.identityNo" class="input" type="text" placeholder="请输入身份证号"
maxlength="30" />
</view> </view>
<view class="input-item flex align-center"> <view class="input-item flex align-center">
<!-- <view class="iconfont icon-user icon"></view> --> <!-- <view class="iconfont icon-user icon"></view> -->
+2 -2
View File
@@ -61,12 +61,12 @@
<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(6)"> <view class="grid-item-box" @tap="changeGrid(6)">
<uni-icons type="email-filled" size="30" color="#327DD7"></uni-icons> <uni-icons type="email-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>
<view class="grid-item-box" @tap="changeGrid(7)"> <view class="grid-item-box" @tap="changeGrid(7)">
<uni-icons type="compose" size="30" color="#327DD7"></uni-icons> <uni-icons type="compose" size="30" color="#327DD7"></uni-icons>
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
+1
View File
@@ -1,5 +1,6 @@
{ {
"pages": [ "pages": [
"pages/switchSystem",
"pages/login", "pages/login",
"pages/register", "pages/register",
"pages/work/index", "pages/work/index",
+4 -4
View File
@@ -15,16 +15,16 @@
"ignore": [], "ignore": [],
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
} },
"condition": false
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "3.0.1", "libVersion": "3.1.1",
"appid": "wx91cb8459dca561b4", "appid": "wx91cb8459dca561b4",
"projectname": "智慧仲裁", "projectname": "智慧仲裁",
"condition": {}, "condition": {},
"editorSetting": { "editorSetting": {
"tabIndent": "insertSpaces", "tabIndent": "insertSpaces",
"tabSize": 2 "tabSize": 2
}, }
"cloudfunctionTemplateRoot": "cloudfunctionTemplate/"
} }