修改bug

This commit is contained in:
张运江 2025-02-11 15:29:21 +08:00
parent 3c7fe35355
commit 10efda4989
4 changed files with 57 additions and 6 deletions

View File

@ -69,7 +69,7 @@
<el-table-column label="操作" width="160">
<template slot-scope="scope">
<div class="flex-row align-items-center">
<el-button size="mini" v-if="scope.row.status.code == 1" @click="handleEnterqueue(scope)">进入外呼队列</el-button>
<el-button size="mini" v-if="scope.row.status.code == 1" @click="handleEnterqueue(scope.row)">进入外呼队列</el-button>
<!-- <el-button size="mini" v-if="scope.row.notCalledCount != 0" @click="handleBackCase(scope)">取消</el-button> -->
</div>
</template>
@ -179,7 +179,7 @@ import { size } from "lodash";
},
//
handleEnterqueue(row){
this.$router.push({path: '/mediation-page', query: {sourcePage: 'home', caseId: row.caseId}})
}
}
};

View File

@ -14,11 +14,42 @@
<SideMenu/>
</div>
<div class="mr-8 flex-row cursor-pointer layou-header-right-box" @mouseover="showInfo=true" style="">
<div class="flex-row align-items-center">
<!-- <el-badge :value="1" :max="99" class="item">
<el-avatar size="medium" icon="el-icon-user-solid"></el-avatar>
</el-badge> -->
<el-avatar size="medium" :src="userInfo.headUrl?userInfo.headUrl:defaultHeadUrl"></el-avatar>
<div class="mr-8 cursor-pointer layou-header-right-box " @mouseover="showInfo=true">
<el-avatar size="medium" :src="userInfo.headUrl?userInfo.headUrl:defaultHeadUrl" ></el-avatar>
</div>
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link" style="color: white;">
{{agentStatusName}}<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="free">空闲</el-dropdown-item>
<el-dropdown-item command="busy">忙碌</el-dropdown-item>
<el-dropdown-item command="arrange">话后整理</el-dropdown-item>
<el-dropdown-item command="notReady">示忙</el-dropdown-item>
<el-dropdown-item command="rest">小休</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<!-- <div class="flex-row justify-content-between align-items-center border-t-solid-lighter-1 p-16 cursor-pointer">
<div class="f16 color-text-regular">坐席状态</div>
<div class="f16 color-text-secondary">
<el-dropdown @click="handleClick">
<span class="el-dropdown-link">
{{agentStatusName}}<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="free">空闲</el-dropdown-item>
<el-dropdown-item command="busy">忙碌</el-dropdown-item>
<el-dropdown-item command="arrange">话后整理</el-dropdown-item>
<el-dropdown-item command="notReady">示忙</el-dropdown-item>
<el-dropdown-item command="rest">小休</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
</div> -->
</div>
@ -44,6 +75,7 @@
<div class="f16 color-text-regular">个人信息</div>
<div class="f16 color-text-secondary">查看信息<i class="el-icon-arrow-right"></i></div>
</div>
<div class="border-t-solid-lighter-1 p-16 f16 color-1960F4 text-center cursor-pointer"
@click="handleLoginOut()">退出登录
</div>
@ -255,6 +287,9 @@ export default {
},
userInfo: {},
defaultHeadUrl: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png',//
agentStatus: 'free',
agentStatusName: '空闲',
}
},
mounted() {
@ -327,6 +362,21 @@ export default {
})
},
handleCommand(command) {
console.log(command)
this.agentStatus = command
if (command === 'free') {
this.agentStatusName = '空闲'
} else if (command === 'busy') {
this.agentStatusName = '忙碌'
} else if (command === 'arrange') {
this.agentStatusName = '话后整理'
} else if (command === 'notReady') {
this.agentStatusName = '示忙'
} else if (command === 'rest') {
this.agentStatusName = '小休'
}
},
//
handleClose() {

View File

@ -244,6 +244,7 @@ import api from "@/services/caseManagement";
})
},
async getpreviewfull(fileList) {
this.ProofList = []
for (const item of fileList) {
try {
item.previewUrl = await this.$fetchApi.viewFullFile({path: item.proofUrl})

View File

@ -61,7 +61,7 @@
v-for="(item,index) in litigantsOptions"
:key="index"
:label="item.name+ ' ' +'('+ item.phone +')'"
:value="item.identity"
:value="item.phone"
:disabled="(item.identity == '' || item.identity == null) ? true :false"
:title="(item.identity == '' || item.identity == null) ? '没有证件号码不能选择' :false">
</el-option>
@ -263,7 +263,7 @@ export default {
this.$refs.ruleFormRepayment.validate((valid) => {
if (valid) {
const resultArr = this.litigantsOptions
.filter(item => this.repaymentObj.litigants.includes(item.identity))
.filter(item => this.repaymentObj.litigants.includes(item.phone))
.map(({id, name, phone, identity}) => ({id, name, phone, identity}));
this.repaymentObj.caseId = this.eventDialog.caseId;
// console.log(resultArr, '---resultArr' , this.repaymentObj)