拆解调解员

This commit is contained in:
hanchaobo
2024-01-18 17:16:09 +08:00
4 changed files with 123 additions and 96 deletions
+86 -80
View File
@@ -2,99 +2,99 @@ import request from '@/utils/request'
// 查询案件列表 // 查询案件列表
export function caseApplicationList(data) { export function caseApplicationList(data) {
return request({ return request({
url: 'caseApplication/list', url: 'caseApplication/list',
method: 'get', method: 'get',
params: data params: data
}) })
} }
/** 新增案件 */ /** 新增案件 */
export function caseApplicationInsert(data) { export function caseApplicationInsert(data) {
return request({ return request({
url: 'caseApplication/insert', url: 'caseApplication/insert',
method: 'post', method: 'post',
data: data data: data
}) })
} }
/** 根据id查询案件信息 */ /** 根据id查询案件信息 */
export function caseApplicationSelectById(data) { export function caseApplicationSelectById(data) {
return request({ return request({
url: '/caseApplication/selectById', url: '/caseApplication/selectById',
method: 'get', method: 'get',
params: data params: data
}) })
} }
/** 案件证据查询 */ /** 案件证据查询 */
export function getFileList(data) { export function getFileList(data) {
return request({ return request({
url: "/common/fileList", url: "/common/fileList",
method: "get", method: "get",
params: data, params: data,
}); });
} }
/** 批量上传证据 */ /** 批量上传证据 */
export function batchUpload(data) { export function batchUpload(data) {
return request({ return request({
url: "/caseApplication/batchUpload", url: "/caseApplication/batchUpload",
method: "post", method: "post",
data: data, data: data,
}); });
} }
// 提交 // 提交
export function submitCaseApply(data) { export function submitCaseApply(data) {
return request({ return request({
url: '/caseApplication/submit', url: '/caseApplication/submit',
method: 'post', method: 'post',
data: data data: data
}) })
} }
// 缴费确认 // 缴费确认
export function confirmPaid(data) { export function confirmPaid(data) {
return request({ return request({
url: "/pay/confirmPaid", url: "/pay/confirmPaid",
method: "post", method: "post",
data: data, data: data,
}); });
} }
// 案件id查询缴费清单 // 案件id查询缴费清单
export function selectPaymentDetail(data) { export function selectPaymentDetail(data) {
return request({ return request({
url: "/pay/selectPaymentDetail", url: "/pay/selectPaymentDetail",
method: "get", method: "get",
params: data, params: data,
}); });
} }
//案件受理 //案件受理
export function accept(data) { export function accept(data) {
return request({ return request({
url: "/caseApplication/accept", url: "/caseApplication/accept",
method: "post", method: "post",
data: data, data: data,
}); });
} }
export function listMediator(data) { export function listMediator(data) {
return request({ return request({
url: "caseApplication/listMediator", url: "caseApplication/listMediator",
method: "get", method: "get",
params: data, params: data,
}); });
} }
// 确认仲裁员以及时间 // 确认仲裁员以及时间
export function updateBooking(data) { export function updateBooking(data) {
return request({ return request({
url: "/caseApplication/updateBooking", url: "/caseApplication/updateBooking",
method: "post", method: "post",
data: data, data: data,
}); });
} }
//用印申请 //用印申请
export function sealApply(data) { export function sealApply(data) {
return request({ return request({
url: "/mssignSeal/sealApply", url: "/mssignSeal/sealApply",
method: "post", method: "post",
data: data, data: data,
}); });
} }
// 用印确认 // 用印确认
export function selectSealUrl(data) { export function selectSealUrl(data) {
return request({ return request({
@@ -105,13 +105,13 @@ export function selectSealUrl(data) {
} }
//查询预约信息 //查询预约信息
export function selectReservation(data) { export function selectReservation(data) {
return request({ return request({
url: "/caseApplication/selectReservation", url: "/caseApplication/selectReservation",
method: "get", method: "get",
params: data, params: data,
}); });
} }
//核实调解员 //核实调解员
export function verifyMediator(data) { export function verifyMediator(data) {
return request({ return request({
url: "/caseApplication/verifyMediator", url: "/caseApplication/verifyMediator",
@@ -123,7 +123,13 @@ export function verifyMediator(data) {
export function confirmDate(data) { export function confirmDate(data) {
return request({ return request({
url: "/caseApplication/confirmDate", url: "/caseApplication/confirmDate",
})
}
// 查看案件流程
export function selectCaseProgress(data) {
return request({
url: "/mssignSeal/selectCaseProgress",
method: "post", method: "post",
data: data, data: data,
}); })
} }
+4 -2
View File
@@ -92,7 +92,7 @@
@cancelCompreess="cancelCompreess" :getList="getList"> @cancelCompreess="cancelCompreess" :getList="getList">
</caseCompressionPackage> </caseCompressionPackage>
<!-- 案件详情 --> <!-- 案件详情 -->
<mediationCaseDetails :processVisable="processVisable" @cancelViewProcess="cancelViewProcess"> <mediationCaseDetails :processVisable="processVisable" @cancelViewProcess="cancelViewProcess" :caseFlowNumber="caseFlowNumber">
</mediationCaseDetails> </mediationCaseDetails>
<!-- 案件日志 --> <!-- 案件日志 -->
<mediationCaseLog :showcaseLog="showcaseLog" @cancelcaseLog="cancelcaseLog"></mediationCaseLog> <mediationCaseLog :showcaseLog="showcaseLog" @cancelcaseLog="cancelcaseLog"></mediationCaseLog>
@@ -118,7 +118,7 @@
</template> </template>
<script> <script>
import { caseApplicationList, caseApplicationSelectById,submitCaseApply,selectPaymentDetail,sealApply,selectSealUrl } from '@/api/caseManagement/caseManagement.js' import { caseApplicationList, caseApplicationSelectById,submitCaseApply,selectPaymentDetail,sealApply,selectSealUrl} from '@/api/caseManagement/caseManagement.js'
import { listDept } from '@/api/system/dept.js' import { listDept } from '@/api/system/dept.js'
import moment from "moment"; import moment from "moment";
import addCase from './components/addCase.vue' import addCase from './components/addCase.vue'
@@ -183,6 +183,7 @@ export default {
mediatorVisable:false,//选择调解员弹窗 mediatorVisable:false,//选择调解员弹窗
timeVisable:false,//预约时间弹窗 timeVisable:false,//预约时间弹窗
confirmVisable:false,//确认时间/调解员 confirmVisable:false,//确认时间/调解员
caseFlowNumber:{},//案件流程数据
mediatorData:{}, mediatorData:{},
flag: null, flag: null,
caseData: {}, caseData: {},
@@ -434,6 +435,7 @@ export default {
}, },
//案件流程 //案件流程
caseFlow(row) { caseFlow(row) {
this.caseFlowNumber = row
this.processVisable = true this.processVisable = true
}, },
cancelViewProcess() { cancelViewProcess() {
@@ -6,6 +6,11 @@
<el-step :title="item.caseNodeName || item.content" v-for="(item,index) in pageData.allCasenode" :key="index" :description="(item.createNickName || '') + (item.caseNodeTime || '')+(item.nextRoleName || '')"></el-step> <el-step :title="item.caseNodeName || item.content" v-for="(item,index) in pageData.allCasenode" :key="index" :description="(item.createNickName || '') + (item.caseNodeTime || '')+(item.nextRoleName || '')"></el-step>
</el-steps> --> </el-steps> -->
<el-steps :active="finishCasenode.length">
<el-step :title="item.content" v-for="(item,index) in finishCasenode" :key="index"></el-step>
<el-step :title="item.content" v-for="(item,index) in inCasenode" :key="index"></el-step>
<el-step :title="item.content" v-for="(item,index) in nextCasenode" :key="index"></el-step>
</el-steps>
</div> </div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button> <el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
@@ -15,38 +20,40 @@
</template> </template>
<script> <script>
import {selectCaseProgress} from '@/api/caseManagement/caseManagement' import {selectCaseProgress} from '@/api/caseManagement/caseManagement.js'
export default { export default {
props: ["processVisable","processData"], props: ["processVisable","processData","caseFlowNumber"],
data() { data() {
return { return {
processId:null, processId:null,
pageData:{}, pageData:{},
caseStatus:0 caseStatus:0,
finishCasenode:[],
inCasenode:[],
nextCasenode:[]
}; };
}, },
watch: { watch: {
processVisable(val){ processVisable(val){
if(val){ if(val){
// this.processId = this.processData.id; this.processId = this.caseFlowNumber.id;
// this.selectCaseProgressFn({id:this.processId}); this.selectCaseProgressFn({caseId:this.processId});
} }
} }
}, },
methods: { methods: {
cancel() { cancel() {
this.$emit("cancelViewProcess"); this.$emit("cancelViewProcess");
}, },
selectCaseProgressFn(data){ selectCaseProgressFn(data){
selectCaseProgress(data).then(res=>{ selectCaseProgress(data).then(res=>{
this.pageData = res.data.data; this.finishCasenode = res.data.data.finishCasenode
let allCasenode = res.data.data.allCasenode; this.inCasenode = res.data.data.inCasenode
console.log(allCasenode) this.nextCasenode = res.data.data.nextCasenode
allCasenode.forEach((item,index) => {
if(item.caseNode==res.data.data.caseStatus){
this.caseStatus = index
}
});
}) })
} }
}, },
+13 -1
View File
@@ -674,4 +674,16 @@ export default {
} }
} }
}; };
</script> </script>
<style lang="scss" scoped>
.head-container{
width:220px;
::v-deep .el-tree-node {
white-space: normal;
.el-tree-node__content {
height: 100%;
align-items: start;
}
}
}
</style>