Merge branch 'dev' of http://git.xayunmei.com/SH-Arbitrate/miniapp into gyj
This commit is contained in:
+25
-1
@@ -18,7 +18,7 @@ export function respondentDetail(data) {
|
||||
// 查询仲裁员列表
|
||||
export function arbitratorList(data) {
|
||||
return request({
|
||||
'url': `/arbitrator/list`,
|
||||
'url': `/caseApplication/listMediator`,
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
@@ -54,3 +54,27 @@ export function caseApplicationList(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,12 +3,12 @@ module.exports = {
|
||||
// baseUrlZC: 'https://api.xayunmei.com/zhongcaiapi',
|
||||
// baseUrl: 'https://api.xayunmei.com/zhongcaiapitest',
|
||||
// baseUrl: 'http://121.40.189.20:9001',
|
||||
baseUrlZC:'https://api.xayunmei.com/zhongcaiapi',
|
||||
// baseUrlZC:'https://api.xayunmei.com/zhongcaiapitest',
|
||||
// baseUrlZC:'https://api.xayunmei.com/zhongcaiapi',
|
||||
baseUrlZC: 'https://api.xayunmei.com/zhongcaiapitest',
|
||||
baseUrlTJ: 'https://api.xayunmei.com/tiaojieapitest',
|
||||
// baseUrlTJ:'https://api.xayunmei.com/tiaojieapi',
|
||||
// baseUrlZC: 'http://121.40.189.20:8001',
|
||||
// baseUrlTJ: 'http://121.40.189.20:6001',
|
||||
// baseUrlTJ: 'http://172.16.1.17:6001',
|
||||
// baseUrl: 'http://172.16.1.24:8001',
|
||||
// baseUrl: 'http://localhost:8080',
|
||||
// baseUrl: 'http://192.168.3.18:9001',
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
{{defalutVal.caseNum}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem">
|
||||
<view class="listItem" v-if="sysType == 1">
|
||||
<view class="lable">
|
||||
申请人姓名:
|
||||
</view>
|
||||
@@ -16,6 +16,14 @@
|
||||
{{defalutVal.applicantName}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem" v-if="sysType == 2">
|
||||
<view class="lable">
|
||||
申请人姓名:
|
||||
</view>
|
||||
<view class="main">
|
||||
{{defalutVal.applicationName}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem" style="margin-top:22rpx">
|
||||
<view class="lable">
|
||||
被申请人姓名:
|
||||
@@ -53,12 +61,15 @@
|
||||
defalutVal: {
|
||||
type: Object,
|
||||
default: () => {}
|
||||
},
|
||||
sysType: {
|
||||
type: Number,
|
||||
default: () => {}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 案件详情以及操作
|
||||
caseDetail() {
|
||||
console.log(1111111111111111);
|
||||
uni.navigateTo({
|
||||
url: `/pages/handlecase/component/uploadEvidence?id=${this.defalutVal.id}`
|
||||
})
|
||||
@@ -98,10 +109,12 @@
|
||||
background-color: #ffffff;
|
||||
border-radius: 30rpx;
|
||||
margin-top: 20rpx;
|
||||
|
||||
.listItem {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
height: 50rpx;
|
||||
|
||||
.lable {
|
||||
width: 30%;
|
||||
}
|
||||
@@ -111,11 +124,13 @@
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.btn {
|
||||
margin-top: 20rpx;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.btnItem {
|
||||
height: 50rpx;
|
||||
background-color: #5395ff;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<view v-show="current === 0">
|
||||
<view class="assignrbitrators">
|
||||
<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="box">
|
||||
<uni-forms-item label="案件编号:" name="caseNum" label-width="120px" required>
|
||||
@@ -22,36 +22,39 @@
|
||||
placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="申请人:" name="applicantName" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.applicantName"
|
||||
placeholder="" />
|
||||
<uni-easyinput :inputBorder="false" :disabled='true'
|
||||
v-model="formData.applicantName" placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="被申请人:" name="respondentName" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.respondentName"
|
||||
placeholder="" />
|
||||
<uni-easyinput :inputBorder="false" :disabled='true'
|
||||
v-model="formData.respondentName" placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="借款开始日期:" name="loanStartDate" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.loanStartDate"
|
||||
placeholder="" />
|
||||
<uni-easyinput :inputBorder="false" :disabled='true'
|
||||
v-model="formData.loanStartDate" placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="借款结束日期:" name="loanEndDate" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.loanEndDate"
|
||||
placeholder="" />
|
||||
<uni-easyinput :inputBorder="false" :disabled='true'
|
||||
v-model="formData.loanEndDate" placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="案件标的:" name="caseSubjectAmount" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.caseSubjectAmount"
|
||||
placeholder="" />
|
||||
<uni-easyinput :inputBorder="false" :disabled='true'
|
||||
v-model="formData.caseSubjectAmount" placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="申请人主张欠本金:" name="claimPrinciOwed" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.claimPrinciOwed"
|
||||
placeholder="" />
|
||||
<uni-forms-item label="申请人主张欠本金:" name="claimPrinciOwed" label-width="120px"
|
||||
required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true'
|
||||
v-model="formData.claimPrinciOwed" placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="申请人主张欠利息:" name="claimInterestOwed" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.claimInterestOwed"
|
||||
placeholder="" />
|
||||
<uni-forms-item label="申请人主张欠利息:" name="claimInterestOwed" label-width="120px"
|
||||
required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true'
|
||||
v-model="formData.claimInterestOwed" placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="申请人主张违约金:" name="claimLiquidDamag" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.claimLiquidDamag"
|
||||
placeholder="" />
|
||||
<uni-forms-item label="申请人主张违约金:" name="claimLiquidDamag" label-width="120px"
|
||||
required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true'
|
||||
v-model="formData.claimLiquidDamag" placeholder="" />
|
||||
</uni-forms-item>
|
||||
<!-- <uni-forms-item label="是否有异议需要举证" label-width="120px" name="objectionAddEviden" required>
|
||||
<uni-data-checkbox class='checkbox' v-model="subnitForm.objectionAddEviden"
|
||||
@@ -67,7 +70,8 @@
|
||||
</uni-forms-item> -->
|
||||
<uni-forms-item label="是否仲裁反请求" label-width="120px" name="objectiJuris" required>
|
||||
<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 label="是否管辖异议申请" label-width="120px" name="adjudicaCounter" required>
|
||||
<uni-data-checkbox class='checkbox' v-model="subnitForm.adjudicaCounter"
|
||||
@@ -76,24 +80,39 @@
|
||||
<!-- <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-forms-item> -->
|
||||
<uni-forms-item
|
||||
label="是否书面审理"
|
||||
label-width="120px"
|
||||
name="respondentIsWrittenHear"
|
||||
<uni-forms-item label="是否书面审理" label-width="120px" name="respondentIsWrittenHear"
|
||||
required>
|
||||
<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
|
||||
v-if="sysType==2"
|
||||
label="预约时间"
|
||||
label-width="120px"
|
||||
name="respondentIsWrittenHear"
|
||||
>
|
||||
<view class="example-body">
|
||||
<uni-datetime-picker type="date" @maskClick="maskClick" />
|
||||
</view>
|
||||
</uni-forms>
|
||||
<uni-forms ref="form" :modelValue="subnitForm" :rules="rules" v-if="sysType == 2">
|
||||
<!-- <view class="title">案件详情</view> -->
|
||||
<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.applicationName" 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> -->
|
||||
</view>
|
||||
</uni-forms>
|
||||
<!-- 自定义弹窗层组件 -->
|
||||
@@ -143,25 +162,34 @@
|
||||
</uni-forms>
|
||||
</view>
|
||||
<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>
|
||||
</view>
|
||||
</uni-card>
|
||||
</view>
|
||||
|
||||
</uni-popup>
|
||||
<view class="uni-list" v-if="selectFlag">
|
||||
<checkbox-group @change="checkboxChange" style="width: 100%;">
|
||||
<label class="uni-list-cell uni-list-cell-pd" v-for="item in items" :key="item.userId">
|
||||
<view class="uni-list">
|
||||
<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.mediatorId">
|
||||
<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 class="main">
|
||||
<view class="">
|
||||
仲裁员姓名:{{item.nickName}}
|
||||
仲裁员姓名:{{item.mediatorName}}
|
||||
</view>
|
||||
<view class="">
|
||||
介绍:{{item.remark || ''}}
|
||||
专业:{{item.specialty || '暂无信息'}}
|
||||
</view>
|
||||
<view class="">
|
||||
待办数量:{{item.todoAmount || '0'}}
|
||||
</view>
|
||||
<view class="">
|
||||
已办数量:{{item.completeAmount || '0'}}
|
||||
</view>
|
||||
</view>
|
||||
</label>
|
||||
@@ -176,24 +204,48 @@
|
||||
|
||||
</view>
|
||||
<view v-show="current === 1" style="padding: 20rpx;">
|
||||
<view class="" v-if="sysType == 1">
|
||||
<view class="" style="margin-top: 50rpx;">
|
||||
<view>申请人</view>
|
||||
<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 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 class="" style="margin-top: 40rpx;">
|
||||
<view>仲裁申请书</view>
|
||||
<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>
|
||||
|
||||
</uni-section>
|
||||
@@ -205,7 +257,9 @@
|
||||
import {
|
||||
respondentDetail,
|
||||
arbitratorList,
|
||||
evidenceCrossexami
|
||||
evidenceCrossexami,
|
||||
selectById,
|
||||
updateBooking
|
||||
} from '../../../api/handlecase/index.js'
|
||||
import {
|
||||
uploadImage
|
||||
@@ -232,7 +286,9 @@
|
||||
reasont: ''
|
||||
},
|
||||
isShowPopup: false,
|
||||
formData: {},
|
||||
formData: {
|
||||
affiliate: {}
|
||||
},
|
||||
subnitForm: {
|
||||
objectionAddEviden: 0,
|
||||
pendingAppointArbotrar: 0,
|
||||
@@ -318,38 +374,14 @@
|
||||
value: 0
|
||||
}],
|
||||
items: [],
|
||||
selectData: [{
|
||||
value: 0,
|
||||
label: '黄金糕'
|
||||
}, {
|
||||
value: '选项2',
|
||||
label: '双皮奶'
|
||||
}, {
|
||||
value: '选项3',
|
||||
label: '蚵仔煎'
|
||||
}, {
|
||||
value: '选项4',
|
||||
label: '龙须面'
|
||||
}, {
|
||||
value: '选项5',
|
||||
label: '北京烤鸭'
|
||||
}, {
|
||||
value: '选项6',
|
||||
label: '豆腐'
|
||||
}, {
|
||||
value: '选项7',
|
||||
label: '油条'
|
||||
}]
|
||||
sysType: null,
|
||||
mediatorList: []
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.sysType = uni.getStorageSync('sysType')
|
||||
|
||||
},
|
||||
methods: {
|
||||
selectTJ(e){
|
||||
// console.log(this.defaultSelected,'11111111')
|
||||
// console.log(e,'2222222222’')
|
||||
},
|
||||
onClickItem(e) {
|
||||
if (this.current !== e.currentIndex) {
|
||||
this.current = e.currentIndex
|
||||
@@ -385,37 +417,36 @@
|
||||
this.caseFlag = false;
|
||||
}
|
||||
},
|
||||
maintenancetypeChange(val) {
|
||||
let flag = val.detail.value;
|
||||
if (flag == 1) {
|
||||
this.selectFlag = true
|
||||
this.getArbitratorList()
|
||||
} else {
|
||||
this.selectFlag = false
|
||||
}
|
||||
},
|
||||
// maintenancetypeChange(val) {
|
||||
// let flag = val.detail.value;
|
||||
// if (flag == 1) {
|
||||
// this.selectFlag = true
|
||||
// this.getArbitratorList()
|
||||
// } else {
|
||||
// this.selectFlag = false
|
||||
// }
|
||||
// },
|
||||
checkboxChange(e) {
|
||||
let params = parseInt(e.detail.value);
|
||||
let result = "";
|
||||
this.items.forEach(item=>{
|
||||
if(item.userId == params){
|
||||
result = item.nickName
|
||||
}
|
||||
})
|
||||
let arbitrators = [{id: params,arbitratorName: result}];
|
||||
// let idArr = e.detail.value;
|
||||
// let numberArray = idArr.map(str => parseInt(str));
|
||||
// const result = this.items.filter(item => numberArray.includes(item.userId));
|
||||
// result.forEach(item => {
|
||||
// arbitrators.push({
|
||||
// id: item.userId,
|
||||
// arbitratorName: item.nickName
|
||||
// })
|
||||
// })
|
||||
let params = e.detail.value;
|
||||
params = params.map(Number);
|
||||
this.mediatorList = e.detail.value;
|
||||
let result = this.items.filter(element => params.includes(element.mediatorId));
|
||||
let userListArr = result.map(({
|
||||
mediatorId,
|
||||
mediatorName
|
||||
}) => ({
|
||||
mediatorId: mediatorId,
|
||||
mediatorName: mediatorName
|
||||
}));
|
||||
let arbitrators = {
|
||||
caseFlowId: this.formData.caseFlowId,
|
||||
mediatorList: userListArr,
|
||||
};
|
||||
this.subnitForm.arbitrators = arbitrators;
|
||||
// console.log(this.subnitForm.arbitrators,"PPPPPPPPPPPPPP");
|
||||
console.log(this.subnitForm.arbitrators, "PPPPPPPPPPPPPP");
|
||||
},
|
||||
getData(parms) {
|
||||
if (this.sysType == 1) {
|
||||
respondentDetail(parms).then(res => {
|
||||
if (res.data.evidenceMaterialList.length > 0) {
|
||||
res.data.evidenceMaterialList.forEach(item => {
|
||||
@@ -425,11 +456,20 @@
|
||||
})
|
||||
}
|
||||
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(
|
||||
'YYYY-MM-DD HH:mm:ss');
|
||||
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) {
|
||||
@@ -473,7 +513,7 @@
|
||||
// 获取仲裁员列表
|
||||
getArbitratorList() {
|
||||
arbitratorList().then(res => {
|
||||
this.items = res.rows;
|
||||
this.items = res.data;
|
||||
})
|
||||
},
|
||||
// 提交数据
|
||||
@@ -488,31 +528,73 @@
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
// uni.$tab.redirectTo({
|
||||
// url: '/pages/handlecase/index'
|
||||
// })
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/handlecase/index'
|
||||
// })
|
||||
})
|
||||
},
|
||||
submitImg() {
|
||||
if (this.sysType == 2) {
|
||||
if (this.mediatorList.length > 3) {
|
||||
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.evidenceCrossexamiFn(this.subnitForm)
|
||||
}).catch(err => {
|
||||
console.log('表单错误信息:', err);
|
||||
})
|
||||
} else if (this.sysType == 2) {
|
||||
// TODO
|
||||
// 调解提交
|
||||
if (this.mediatorList.length > 3) {
|
||||
debugger
|
||||
uni.showToast({
|
||||
title: '最多选择三个调解员',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
return
|
||||
}
|
||||
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() {
|
||||
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) {
|
||||
this.sysType = uni.getStorageSync('sysType')
|
||||
this.getData(data.id);
|
||||
this.subnitForm.caseId = Number(data.id);
|
||||
// this.getArbitratorList()
|
||||
this.getArbitratorList()
|
||||
}
|
||||
|
||||
}
|
||||
@@ -522,9 +604,11 @@
|
||||
page {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.content_list {
|
||||
height: 1060rpx;
|
||||
overflow-x: hidden;
|
||||
|
||||
.scroll_view_style {
|
||||
height: 100%;
|
||||
}
|
||||
@@ -635,6 +719,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.determine {
|
||||
padding: left 50rpx;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
<template>
|
||||
<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">
|
||||
<luanqing-empty :show="true" textColor="#000"></luanqing-empty>
|
||||
</view>
|
||||
@@ -10,7 +12,8 @@
|
||||
<script>
|
||||
import List from './component/list.vue'
|
||||
import {
|
||||
respondentList
|
||||
respondentList,
|
||||
caseApplicationTj
|
||||
} from '../../api/handlecase/index.js'
|
||||
import LuanqingEmpty from "@/components/luanqing-empty.vue"
|
||||
export default {
|
||||
@@ -23,11 +26,12 @@
|
||||
caseList: [],
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
|
||||
sysType: null
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getList(parms) {
|
||||
if (this.sysType == 1) {
|
||||
respondentList(parms).then(res => {
|
||||
// this.caseList = res.rows;
|
||||
if (res.data) {
|
||||
@@ -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() {
|
||||
@@ -108,11 +124,20 @@
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
let obj = {
|
||||
this.sysType = uni.getStorageSync('sysType');
|
||||
let obj = {}
|
||||
if (this.sysType == 1) {
|
||||
obj = {
|
||||
pageNum: this.pageNum,
|
||||
pageSize: this.pageSize,
|
||||
caseStatus: 4
|
||||
}
|
||||
} else if (this.sysType == 2) {
|
||||
obj = {
|
||||
pageNum: this.pageNum,
|
||||
pageSize: this.pageSize,
|
||||
}
|
||||
}
|
||||
this.getList(obj)
|
||||
},
|
||||
// onLoad() {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<template>
|
||||
<view class="">
|
||||
<view class="list" @tap="caseDetail">
|
||||
<view class="listItem">
|
||||
<view class="lable">
|
||||
@@ -8,7 +9,7 @@
|
||||
{{defalutVal.caseNum}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem">
|
||||
<view class="listItem" v-if="sysType == 1">
|
||||
<view class="lable">
|
||||
申请人姓名:
|
||||
</view>
|
||||
@@ -16,6 +17,14 @@
|
||||
{{defalutVal.applicantName}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem" v-if="sysType == 2">
|
||||
<view class="lable">
|
||||
申请人姓名:
|
||||
</view>
|
||||
<view class="main">
|
||||
{{defalutVal.applicationName}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem" style="margin-top:22rpx">
|
||||
<view class="lable">
|
||||
被申请人姓名:
|
||||
@@ -40,7 +49,7 @@
|
||||
{{defalutVal.roomId}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem">
|
||||
<view class="listItem" v-if="sysType == 1">
|
||||
<view class="lable">
|
||||
开庭时间:
|
||||
</view>
|
||||
@@ -48,14 +57,24 @@
|
||||
{{defalutVal.scheduleStartTime}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem" v-if="sysType == 2">
|
||||
<view class="lable">
|
||||
开庭时间:
|
||||
</view>
|
||||
<view class="main">
|
||||
{{defalutVal.hearDate}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
sysType: null
|
||||
}
|
||||
},
|
||||
props: {
|
||||
@@ -67,10 +86,24 @@
|
||||
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}`})
|
||||
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>
|
||||
@@ -83,10 +116,12 @@
|
||||
background-color: #ffffff;
|
||||
border-radius: 30rpx;
|
||||
margin-top: 20rpx;
|
||||
|
||||
.listItem {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
height: 50rpx;
|
||||
|
||||
.lable {
|
||||
width: 30%;
|
||||
}
|
||||
@@ -95,11 +130,13 @@
|
||||
width: 60%;
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
margin-top: 20rpx;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.btnItem {
|
||||
height: 50rpx;
|
||||
background-color: #5395ff;
|
||||
|
||||
+20
-2
@@ -13,7 +13,8 @@
|
||||
import List from './component/imList.vue'
|
||||
import LuanqingEmpty from "@/components/luanqing-empty.vue"
|
||||
import {
|
||||
respondentList
|
||||
respondentList,
|
||||
caseApplicationTj
|
||||
} from '../../api/handlecase/index.js'
|
||||
export default {
|
||||
components: {
|
||||
@@ -26,11 +27,13 @@
|
||||
sendImg: "",
|
||||
caseList: [],
|
||||
pageNum: 1,
|
||||
pageSize: 10
|
||||
pageSize: 10,
|
||||
sysType: null
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getList(parms) {
|
||||
if (this.sysType == 1) {
|
||||
respondentList(parms).then(res => {
|
||||
this.caseList = res.data;
|
||||
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() {
|
||||
@@ -105,6 +122,7 @@
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.sysType = uni.getStorageSync('sysType');
|
||||
let obj = {
|
||||
pageNum: this.pageNum,
|
||||
pageSize: this.pageSize,
|
||||
|
||||
+3
-3
@@ -8,8 +8,7 @@
|
||||
<view class="login-form-content">
|
||||
<view class="input-item flex align-center" style="width: 60%;margin: 0px;">
|
||||
<!-- <view class="iconfont icon-user icon"></view> -->
|
||||
<input v-model="registerForm.phone" class="input" type="number" placeholder="请输入手机号"
|
||||
maxlength="30" />
|
||||
<input v-model="registerForm.phone" class="input" type="number" placeholder="请输入手机号" maxlength="30" />
|
||||
<view class="login-code">
|
||||
<button class="login-code-img" type="primary" :disabled="codeDisabled"
|
||||
@tap="getCodeNumber(registerForm.phone)">{{codeText}}</button>
|
||||
@@ -22,7 +21,8 @@
|
||||
</view>
|
||||
<view class="input-item flex align-center">
|
||||
<!-- <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 class="input-item flex align-center">
|
||||
<!-- <view class="iconfont icon-user icon"></view> -->
|
||||
|
||||
@@ -61,12 +61,12 @@
|
||||
<text class="text">视频审理</text>
|
||||
</view>
|
||||
</uni-grid-item>
|
||||
<uni-grid-item>
|
||||
<!-- <uni-grid-item>
|
||||
<view class="grid-item-box" @tap="changeGrid(6)">
|
||||
<uni-icons type="email-filled" size="30" color="#327DD7"></uni-icons>
|
||||
<text class="text">查询快递</text>
|
||||
</view>
|
||||
</uni-grid-item>
|
||||
</uni-grid-item> -->
|
||||
<!-- <uni-grid-item>
|
||||
<view class="grid-item-box" @tap="changeGrid(7)">
|
||||
<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
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/switchSystem",
|
||||
"pages/login",
|
||||
"pages/register",
|
||||
"pages/work/index",
|
||||
|
||||
+3
-2
@@ -15,10 +15,11 @@
|
||||
"ignore": [],
|
||||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
}
|
||||
},
|
||||
"condition": false
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "3.0.1",
|
||||
"libVersion": "3.1.1",
|
||||
"appid": "wx91cb8459dca561b4",
|
||||
"projectname": "智慧仲裁",
|
||||
"condition": {},
|
||||
|
||||
Reference in New Issue
Block a user