Merge branch 'main' into 'stg'

Main

See merge request cloud-mediate/mediate-manage-web!21
This commit is contained in:
刘翕 2025-02-13 08:45:10 +00:00
commit bf44cd52cb
17 changed files with 37 additions and 28 deletions

View File

@ -87,8 +87,8 @@ new Vue({
if(!interviewFlag) if(!interviewFlag)
{ {
// 判断当前登录人角色,如果是普通调解员,则默认展示区域且不可选择 // 判断当前登录人角色,如果是普通调解员,则默认展示区域且不可选择
let identifier = this.$store.state.userinfo.roleIdentifier let identifier = this.$store.state.userinfo.roleIdentifierList
if(identifier.includes('manager')) if(identifier.includes('manager') || identifier.includes('admin'))
{ {
router.push('/workbench') router.push('/workbench')
} }

View File

@ -83,7 +83,7 @@ import api from "@/services/caseManagement";
}; };
}, },
mounted () { mounted () {
console.log(this.eventTraDialog,'this.eventTraDialog') // console.log(this.eventTraDialog,'this.eventTraDialog')
this.queryParam.caseId = this.eventTraDialog.caseId this.queryParam.caseId = this.eventTraDialog.caseId
this.getmediate_record() this.getmediate_record()
}, },

View File

@ -66,7 +66,7 @@
import api from "@/services/caseManagement"; import api from "@/services/caseManagement";
export default { export default {
components: { components: {
eventTracingDialog: () => import('../../event-tracing/index.vue'),// // eventTracingDialog: () => import('../../event-tracing/index.vue'),//
RepaymentSchedule: () => import('../../mediation-page/components/RepaymentSchedule.vue'),// RepaymentSchedule: () => import('../../mediation-page/components/RepaymentSchedule.vue'),//
RepaymentRecordDialog: () => import('./RepaymentRecordDialog.vue'),// RepaymentRecordDialog: () => import('./RepaymentRecordDialog.vue'),//
@ -75,9 +75,6 @@ import api from "@/services/caseManagement";
CalllogDialog: () => import('./CalllogDialog.vue'),// CalllogDialog: () => import('./CalllogDialog.vue'),//
voideDialog: () => import('../../event-tracing/components/voideDialog.vue'),// voideDialog: () => import('../../event-tracing/components/voideDialog.vue'),//
smsDialogDetail: () => import('../../event-tracing/dtraceDetail/smsDialogDetail.vue'),//
officeDeliveryDialogDetail: () => import('../../event-tracing/dtraceDetail/officeDeliveryDialogDetail.vue'),// officeDeliveryDialogDetail: () => import('../../event-tracing/dtraceDetail/officeDeliveryDialogDetail.vue'),//
officeDialogDetail: () => import('../../event-tracing/dtraceDetail/officeDialogDetail.vue'),// officeDialogDetail: () => import('../../event-tracing/dtraceDetail/officeDialogDetail.vue'),//
officeWDialogDetail: () => import('../../event-tracing/dtraceDetail/officeWDialogDetail.vue'),// officeWDialogDetail: () => import('../../event-tracing/dtraceDetail/officeWDialogDetail.vue'),//

View File

@ -388,6 +388,7 @@ import { values } from "lodash";
queryParam: { queryParam: {
mediateRecordStatus:[], mediateRecordStatus:[],
pkgId:'', pkgId:'',
pkgName:'',
financialOrgName:'',// financialOrgName:'',//
caseNo: '',// caseNo: '',//
productTypeId: '',//id productTypeId: '',//id
@ -483,12 +484,11 @@ import { values } from "lodash";
// this.selectionData = value ? this.enabledDataList.map(el=>el.id) : []; // this.selectionData = value ? this.enabledDataList.map(el=>el.id) : [];
// this.indeterminate = false; // this.indeterminate = false;
let chooseData = this.enabledDataList.filter(el=>(el.caseStatus == 0 || el.caseStatus == 1)) let chooseData = this.enabledDataList.filter(el=>(el.caseStatus == 0 || el.caseStatus == 1))
console.log(chooseData,'chooseData') // console.log(chooseData,'chooseData')
this.selectionData = value ? chooseData.map(el=>el.id) : []; this.selectionData = value ? chooseData.map(el=>el.id) : [];
this.indeterminate = false; this.indeterminate = false;
}, },
// //
handleImport(){ handleImport(){
this.importCaseDialog={ this.importCaseDialog={
@ -535,12 +535,6 @@ import { values } from "lodash";
}); });
}).catch(() => {}); }).catch(() => {});
}, },
//
// handleAddForm(){
// this.addCaseDialog={
// title:'',
// }
// },
handleConclude() { handleConclude() {
// //
if (this.selectionData.length == 0) { if (this.selectionData.length == 0) {
@ -590,6 +584,7 @@ import { values } from "lodash";
this.checkedCheckAll = false this.checkedCheckAll = false
this.queryParam.current = val this.queryParam.current = val
this.queryParam.allCase = true//
api.getCaseInfoList(this.queryParam).then(res => { api.getCaseInfoList(this.queryParam).then(res => {
if (!res.code) { if (!res.code) {
this.tableData = res.records; this.tableData = res.records;

View File

@ -148,6 +148,9 @@ import api from "@/services/eventTracingApi";
}, },
mounted () { mounted () {
this.queryParam.caseNo = this.eventTraDialog.caseNo this.queryParam.caseNo = this.eventTraDialog.caseNo
if (this.eventTraDialog.caseId != undefined && this.eventTraDialog.caseId != '') {
this.queryParam.caseId = this.eventTraDialog.caseId
}
this.getList(1) this.getList(1)
}, },
methods: { methods: {

View File

@ -188,6 +188,7 @@ import caseapi from "@/services/caseManagement";
getProofList(val){ getProofList(val){
this.queryParam.startTime = this.queryParam.beginTime this.queryParam.startTime = this.queryParam.beginTime
this.queryParam.current = val this.queryParam.current = val
this.queryParam.isDebatorUpload = 1
api.posttrace_proof(this.queryParam).then(res => { api.posttrace_proof(this.queryParam).then(res => {
if (!res.code) { if (!res.code) {
this.tableData = res.records; this.tableData = res.records;

View File

@ -149,6 +149,9 @@ export default {
}, },
mounted() { mounted() {
this.queryParam.caseNo = this.eventTraDialog.caseNo this.queryParam.caseNo = this.eventTraDialog.caseNo
if (this.eventTraDialog.caseId != undefined && this.eventTraDialog.caseId != '') {
this.queryParam.caseId = this.eventTraDialog.caseId
}
this.getList(1) this.getList(1)
}, },
methods: { methods: {

View File

@ -127,6 +127,10 @@ import api from "@/services/eventTracingApi";
}, },
mounted () { mounted () {
this.queryParam.caseNo = this.DialogDetail.caseNo this.queryParam.caseNo = this.DialogDetail.caseNo
if (this.DialogDetail.caseId != undefined && this.DialogDetail.caseId != '') {
this.queryParam.caseId = this.DialogDetail.caseId
}
this.queryParam.traceId = this.DialogDetail.id this.queryParam.traceId = this.DialogDetail.id
this.getList(1) this.getList(1)
}, },

View File

@ -112,6 +112,9 @@ import api from "@/services/eventTracingApi";
mounted () { mounted () {
this.queryParam.traceId = this.DialogDetail.id this.queryParam.traceId = this.DialogDetail.id
this.queryParam.caseNo = this.DialogDetail.caseNo this.queryParam.caseNo = this.DialogDetail.caseNo
if (this.DialogDetail.caseId != undefined && this.DialogDetail.caseId != '') {
this.queryParam.caseId = this.DialogDetail.caseId
}
this.getList(1) this.getList(1)
}, },
methods: { methods: {

View File

@ -108,6 +108,9 @@ import api from "@/services/eventTracingApi";
}, },
mounted () { mounted () {
this.queryParam.caseNo = this.DialogDetail.caseNo this.queryParam.caseNo = this.DialogDetail.caseNo
if (this.DialogDetail.caseId != undefined && this.DialogDetail.caseId != '') {
this.queryParam.caseId = this.DialogDetail.caseId
}
this.queryParam.traceId = this.DialogDetail.id this.queryParam.traceId = this.DialogDetail.id
this.getList(1) this.getList(1)
}, },

View File

@ -140,6 +140,10 @@ export default {
if (this.DialogDetail.caseNo != undefined && this.DialogDetail.caseNo != '') { if (this.DialogDetail.caseNo != undefined && this.DialogDetail.caseNo != '') {
this.queryParam.caseNo = this.DialogDetail.caseNo this.queryParam.caseNo = this.DialogDetail.caseNo
} }
if (this.DialogDetail.caseId != undefined && this.DialogDetail.caseId != '') {
this.queryParam.caseId = this.DialogDetail.caseId
}
this.queryParam.traceId = this.DialogDetail.id this.queryParam.traceId = this.DialogDetail.id
this.getList(1) this.getList(1)
}, },

View File

@ -47,8 +47,8 @@
if(this.menuTree.length>0) if(this.menuTree.length>0)
{ {
// //
let identifier = this.$store.state.userinfo.roleIdentifier let identifier = this.$store.state.userinfo.roleIdentifierList
if(identifier.includes('manager')) if(identifier.includes('manager') || identifier.includes('admin'))
{ {
// //
this.menuTree.unshift({children:[],id:0,menuIcon:"menu-home",name:"调解首页",nameEn:"",pid:0,prefix:"mediate",sort:0,type:1,typeName:"",url:"/workbench"}) this.menuTree.unshift({children:[],id:0,menuIcon:"menu-home",name:"调解首页",nameEn:"",pid:0,prefix:"mediate",sort:0,type:1,typeName:"",url:"/workbench"})

View File

@ -183,17 +183,12 @@ export default {
if (res.user.resources.length > 0) { if (res.user.resources.length > 0) {
let url = "/workbenchcm"; let url = "/workbenchcm";
let identifier = res.user.roleIdentifier let identifier = res.user.roleIdentifierList
if(identifier.includes('manager')) if(identifier.includes('manager') || identifier.includes('admin'))
{ {
url = '/workbench' url = '/workbench'
} }
// let data= res.user.resources[0].children[0]
// if(data.children.length>0){
// url = data.children[0].url
// }else{
// url = data.url
// }
this.$store.commit('setRoutes', url) this.$store.commit('setRoutes', url)
this.$router.push(url) this.$router.push(url)
} else { } else {

View File

@ -664,6 +664,7 @@ import { values } from "lodash";
this.checkedCheckAll = false this.checkedCheckAll = false
this.queryParam.current = val this.queryParam.current = val
this.queryParam.dispatch = true //
api.getCaseInfoList(this.queryParam).then(res => { api.getCaseInfoList(this.queryParam).then(res => {
if (!res.code) { if (!res.code) {
this.tableData = res.records; this.tableData = res.records;

View File

@ -40,7 +40,7 @@
</el-row> </el-row>
<el-row v-if="Object.keys(this.addOrEditDeptConfig.data).length>0 && this.addOrEditDeptConfig.data.pid != 0" type="flex" align="middle"> <el-row v-if="Object.keys(this.addOrEditDeptConfig.data).length>0 && this.addOrEditDeptConfig.data.pid != 0" type="flex" align="middle">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="区域负责人" prop="remark"> <el-form-item label="团队负责人" prop="remark">
<el-select v-model="deptInfo.directorIds" multiple placeholder="请选择" class="width100" :multiple-limit="5"> <el-select v-model="deptInfo.directorIds" multiple placeholder="请选择" class="width100" :multiple-limit="5">
<el-option <el-option
v-for="item in usersOptions" v-for="item in usersOptions"

View File

@ -6,7 +6,7 @@
<div class="flex-row color-text-regular f14"> <div class="flex-row color-text-regular f14">
<div class="mr-24"> <div class="mr-24">
<el-input <el-input
placeholder="请输入搜索内容" placeholder="请输入团队名称"
suffix-icon="el-icon-search" suffix-icon="el-icon-search"
v-model.trim="queryData.name" v-model.trim="queryData.name"
size="small" size="small"

View File

@ -109,7 +109,7 @@
<el-row type="flex" align="middle"> <el-row type="flex" align="middle">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="选择团队" prop="teamId"> <el-form-item label="选择团队" prop="teamId">
<el-select v-model="userInfo.teamId" clear placeholder="请选择" class="width100"> <el-select v-model="userInfo.teamId" clear placeholder="请选择" class="width100" clearable>
<el-option <el-option
v-for="item in teamOptions" v-for="item in teamOptions"
:key="item.id" :key="item.id"