修改测试bug
This commit is contained in:
@@ -223,4 +223,11 @@ export function getUserInfo(query) {
|
|||||||
params: query
|
params: query
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 确定会议结果
|
||||||
|
export function confirmMeetingResult(data) {
|
||||||
|
return request({
|
||||||
|
url: '/caseApplication/confirmMeetingResult',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<!-- 案件受理 -->
|
<!-- 案件受理 -->
|
||||||
<el-dialog title="案件受理" :visible="showAcceptance" @close="cancel" :destroy-on-close="true" center>
|
<el-dialog title="案件受理" :visible="showAcceptance" @close="cancel" :destroy-on-close="true" center>
|
||||||
<el-form ref="courtReviewform" :model="courtReviewform">
|
<el-form ref="courtReviewform" :model="courtReviewform">
|
||||||
<el-form-item label="是否同意受理:">
|
<el-form-item label="被申请人是否同意调解:">
|
||||||
<el-radio-group v-model="courtReviewform.agreeFlag">
|
<el-radio-group v-model="courtReviewform.agreeFlag">
|
||||||
<el-radio :label="1">是</el-radio>
|
<el-radio :label="1">是</el-radio>
|
||||||
<el-radio :label="0">否</el-radio>
|
<el-radio :label="0">否</el-radio>
|
||||||
@@ -21,12 +21,12 @@
|
|||||||
<el-radio :label="0">否</el-radio>
|
<el-radio :label="0">否</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="是否仲裁确认:" v-if="courtReviewform.agreeFlag == 1" >
|
<!-- <el-form-item label="是否仲裁确认:" v-if="courtReviewform.agreeFlag == 1" >
|
||||||
<el-radio-group v-model="courtReviewform.arbitrateConfirm">
|
<el-radio-group v-model="courtReviewform.arbitrateConfirm">
|
||||||
<el-radio :label="1">是</el-radio>
|
<el-radio :label="1">是</el-radio>
|
||||||
<el-radio :label="0">否</el-radio>
|
<el-radio :label="0">否</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item> -->
|
||||||
<el-form-item v-if="courtReviewform.agreeFlag == 0" label="拒绝理由:" prop="rejectReason" :rules="[
|
<el-form-item v-if="courtReviewform.agreeFlag == 0" label="拒绝理由:" prop="rejectReason" :rules="[
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
<el-col :span="24" v-if="mediationType">
|
<el-col :span="24" v-if="mediationType">
|
||||||
<el-form-item label="调解结果:">
|
<el-form-item label="调解结果:">
|
||||||
<el-radio-group v-model="mediaResult" @change="resultsMediation">
|
<el-radio-group v-model="mediaResult" @change="resultsMediation">
|
||||||
<el-radio :label="1">达成调解书</el-radio>
|
<el-radio :label="1">达成调解</el-radio>
|
||||||
<el-radio :label="2">未达成调解</el-radio>
|
<el-radio :label="2">未达成调解</el-radio>
|
||||||
<el-radio :label="3">未达成调解但不在争议</el-radio>
|
<el-radio :label="3">未达成调解但不在争议</el-radio>
|
||||||
<el-radio :label="4">未达成调解但同意引入仲裁</el-radio>
|
<el-radio :label="4">未达成调解但同意引入仲裁</el-radio>
|
||||||
@@ -78,6 +78,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="调解书:" v-if="recordArrMediate.length > 0">
|
||||||
|
<div v-for="(item, index) in recordArrMediate" :key="index" style="color: blue">
|
||||||
|
<a href="#" @click="toFileMediate(item.annexPath)">{{ item.annexName }}</a>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
<el-col :span="24" v-if="mediationType">
|
<el-col :span="24" v-if="mediationType">
|
||||||
<el-form-item label="预约会议房间号:">
|
<el-form-item label="预约会议房间号:">
|
||||||
<div>{{ formData.roomId }}</div>
|
<div>{{ formData.roomId }}</div>
|
||||||
@@ -88,22 +95,25 @@
|
|||||||
<div>{{ formData.hearDate }}</div>
|
<div>{{ formData.hearDate }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24" v-if="!mediationType">
|
<!-- v-if="!mediationType" -->
|
||||||
|
<el-col :span="24">
|
||||||
<el-form-item label="上传调解书">
|
<el-form-item label="上传调解书">
|
||||||
<el-upload class="upload-demo" ref="upload" :action="UploadUrl()" :headers="headers" :data="filedata"
|
<el-upload class="upload-demo" accept=".png,.jpg,.doc,.docx,.txt,.pdf" ref="upload" :action="UploadUrl()" :headers="headers" :data="filedata"
|
||||||
:on-preview="handlePreview" :on-remove="handleRemove" :on-change="beforeUpload" :on-success="handlSuccess"
|
:on-preview="handlePreview" :on-remove="handleRemove" :limit="1" :on-change="beforeUpload" :on-success="handlSuccess"
|
||||||
:file-list="fileList">
|
:file-list="fileList">
|
||||||
<el-button slot="trigger" size="small" type="primary">选取文件</el-button>
|
<el-button slot="trigger" size="small" type="primary">选取文件</el-button>
|
||||||
<!-- <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload">上传到服务器</el-button> -->
|
<!-- <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload">上传到服务器</el-button> -->
|
||||||
<div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div>
|
<div slot="tip" class="el-upload__tip">只能上传.jpg,png,.doc,docx,.txt,.pdf文件</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<!-- </el-form> -->
|
<!-- </el-form> -->
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-button @click="openmeeting" type="primary" v-if="mediationType">发起会议</el-button>
|
<el-button @click="openmeeting" type="primary" v-if="mediationType">发起会议</el-button>
|
||||||
|
<!-- v-if="this.recordArr.length <= 0 && mediationData.mediationMethod == '1'" -->
|
||||||
<el-button @click="openArbitrationresults" type="primary"
|
<el-button @click="openArbitrationresults" type="primary"
|
||||||
v-if="this.recordArr.length <= 0 && mediationData.mediationMethod == '1'">确认会议结果</el-button>
|
v-if="this.recordArr.length <= 0 && mediationData.mediationMethod == '1'"
|
||||||
|
>确认会议结果</el-button>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="cancel" class="endbutton1" round>
|
<el-button @click="cancel" class="endbutton1" round>
|
||||||
<span>取 消</span>
|
<span>取 消</span>
|
||||||
@@ -120,7 +130,8 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
caseApplicationSelectById,
|
caseApplicationSelectById,
|
||||||
mediation
|
mediation,
|
||||||
|
confirmMeetingResult
|
||||||
} from "@/api/caseManagement/caseManagement.js";
|
} from "@/api/caseManagement/caseManagement.js";
|
||||||
import { getUserProfile } from "@/api/system/user";
|
import { getUserProfile } from "@/api/system/user";
|
||||||
import { reserveConferenceList } from "@/api/metting/metting.js";
|
import { reserveConferenceList } from "@/api/metting/metting.js";
|
||||||
@@ -130,10 +141,12 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loanStartDate: "",
|
loanStartDate: "",
|
||||||
|
codes:null,
|
||||||
title: "线上调解",
|
title: "线上调解",
|
||||||
applicateArr: [],
|
applicateArr: [],
|
||||||
quiltArr: [],
|
quiltArr: [],
|
||||||
recordArr: [],
|
recordArr: [],
|
||||||
|
recordArrMediate:[],
|
||||||
roomId: null,
|
roomId: null,
|
||||||
startTime: null,
|
startTime: null,
|
||||||
mediaResult:1,
|
mediaResult:1,
|
||||||
@@ -158,6 +171,7 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
mediationVisable(val) {
|
mediationVisable(val) {
|
||||||
this.recordArr = [];
|
this.recordArr = [];
|
||||||
|
this.recordArrMediate = [];
|
||||||
if (this.mediationData.mediationMethod == "1") {
|
if (this.mediationData.mediationMethod == "1") {
|
||||||
this.title = "线上调解";
|
this.title = "线上调解";
|
||||||
this.mediationType = true;
|
this.mediationType = true;
|
||||||
@@ -188,6 +202,7 @@ export default {
|
|||||||
this.fileList = fileList;
|
this.fileList = fileList;
|
||||||
},
|
},
|
||||||
handlSuccess(res, file) {
|
handlSuccess(res, file) {
|
||||||
|
this.codes = res.code
|
||||||
this.attachList = [{annexId:res.annexId}];
|
this.attachList = [{annexId:res.annexId}];
|
||||||
// this.$set(this.mediationData, "attachList", {annexId:res.annexId});
|
// this.$set(this.mediationData, "attachList", {annexId:res.annexId});
|
||||||
},
|
},
|
||||||
@@ -199,6 +214,8 @@ export default {
|
|||||||
res.data.caseAttachList.forEach(item => {
|
res.data.caseAttachList.forEach(item => {
|
||||||
if (item.annexType == 6) {
|
if (item.annexType == 6) {
|
||||||
this.recordArr.push(item);
|
this.recordArr.push(item);
|
||||||
|
}else if(item.annexType == 7){
|
||||||
|
this.recordArrMediate.push(item);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -222,17 +239,37 @@ export default {
|
|||||||
caseApplicationSelectById({
|
caseApplicationSelectById({
|
||||||
id: this.mediationData.id
|
id: this.mediationData.id
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
console.log(res)
|
||||||
res.data.caseAttachList.forEach(item => {
|
res.data.caseAttachList.forEach(item => {
|
||||||
if (item.annexType == 6) {
|
if (item.annexType == 6) {
|
||||||
this.recordArr.push(item);
|
this.recordArr.push(item);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
confirmMeetingResult({
|
||||||
|
id: this.mediationData.id,
|
||||||
|
caseFlowId: this.mediationData.caseFlowId,
|
||||||
|
batchNumber: "",
|
||||||
|
mediaResult:this.mediaResult,
|
||||||
|
}).then(res =>{
|
||||||
|
caseApplicationSelectById({
|
||||||
|
id: this.mediationData.id
|
||||||
|
}).then(res => {
|
||||||
|
res.data.caseAttachList.forEach(item => {
|
||||||
|
if (item.annexType == 7) {
|
||||||
|
this.recordArrMediate.push(item);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
})
|
||||||
},
|
},
|
||||||
/** 庭审笔录附件 */
|
/** 庭审笔录附件 */
|
||||||
toFile2(annexPath) {
|
toFile2(annexPath) {
|
||||||
window.open(window.location.origin + "/API" + annexPath, "_black");
|
window.open(window.location.origin + "/API" + annexPath, "_black");
|
||||||
},
|
},
|
||||||
|
toFileMediate(annexPath) {
|
||||||
|
window.open(window.location.origin + "/API" + annexPath, "_black");
|
||||||
|
},
|
||||||
/** 生成调解书 */
|
/** 生成调解书 */
|
||||||
mediationFn(data) {
|
mediationFn(data) {
|
||||||
mediation(data).then(res => {
|
mediation(data).then(res => {
|
||||||
@@ -245,17 +282,27 @@ export default {
|
|||||||
this.$emit("cancelMediation");
|
this.$emit("cancelMediation");
|
||||||
},
|
},
|
||||||
submitMediation() {
|
submitMediation() {
|
||||||
if (this.fileList.length < 1 && !this.mediationType) {
|
if (this.fileList.length < 1 && !this.mediationType && this.mediationData.mediationMethod == "2") {
|
||||||
this.$modal.msgError("请上传调解书");
|
this.$modal.msgError("请上传调解书");
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.mediationFn({
|
let mediationVal ={}
|
||||||
|
if (this.codes == 200){
|
||||||
|
mediationVal = {
|
||||||
id: this.mediationData.id,
|
id: this.mediationData.id,
|
||||||
caseFlowId: this.mediationData.caseFlowId,
|
caseFlowId: this.mediationData.caseFlowId,
|
||||||
attachList: this.attachList,
|
attachList: this.attachList,
|
||||||
// isReconci:this.isReconci,
|
// isReconci:this.isReconci,
|
||||||
mediaResult:this.mediaResult,
|
mediaResult:this.mediaResult,
|
||||||
});
|
}
|
||||||
|
}else{
|
||||||
|
mediationVal = {
|
||||||
|
id: this.mediationData.id,
|
||||||
|
caseFlowId: this.mediationData.caseFlowId,
|
||||||
|
mediaResult:this.mediaResult,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.mediationFn(mediationVal);
|
||||||
},
|
},
|
||||||
resultsMediation(){
|
resultsMediation(){
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user