浏览代码

reactor:自贡呼叫中心调整;

zhangchong 9 月之前
父节点
当前提交
b73f7ea9af

+ 10 - 10
src/layout/navBars/breadcrumb/zgTel.vue

@@ -140,7 +140,7 @@
 			</template>
 
 			<!-- 三方会议可用 -->
-			<template v-if="m_bLogin && activeArr.includes('conference')">
+			<template v-if="m_bLogin && m_IsConsult && activeArr.includes('conference')">
 				<div class="item active" title="三方会议" @click="onEvent('conference')">
 					<SvgIcon name="iconfont icon-conference" class="icon mr3" size="16px" />
 					三方会议
@@ -313,15 +313,15 @@ const state = reactive({
 }); // 设置当前可用的按钮
 const activeArr = computed(() => {
 	const switchCases: any = {
-		签出: ['dutyOn'], // 签出状态
-		空闲: ['dutyOff', 'rest', 'outbound'], // 已签入无通话状态
-		示忙中: ['rest'], // 小休中状态
-		振铃中: ['hangup'], //振铃中
-		通话中: ['hangup', 'hold', 'transfer', 'consult', 'transferMz', 'conference', 'evaluate'], // 单个通话中
-		外呼中: ['hangup'], // 静音中
-		保持中: ['hangup', 'hold'], // 保持中
+		'签出': ['dutyOn'], // 签出状态
+		'空闲': ['dutyOff', 'rest', 'outbound'], // 已签入无通话状态
+		'示忙中': ['rest'], // 小休中状态
+		'振铃中': ['hangup'], //振铃中
+		'通话中': ['hangup', 'hold', 'transfer', 'consult', 'transferMz', 'conference', 'evaluate'], // 单个通话中
+		'外呼中': ['hangup'], // 静音中
+		'保持中': ['hangup', 'hold'], // 保持中
 		onTalkingDeal: ['TalkingDeal'], // 话后整理中
-		三方会议中: ['hangup'], // 三方会议中 只能挂断
+		'三方会议中': ['hangup'], // 三方会议中 只能挂断
 	};
 	let arr = <EmptyArrayType>[];
 	if (currentState.value in switchCases) {
@@ -1341,7 +1341,7 @@ const onTransfer = () => {
 /*
  * 转接返回
  */
-const retResTransfer = (data) => {
+const retResTransfer = (data:any) => {
 	if (data.Param.Result == '0') {
 		// 咨询成功
 		m_IsConsult.value = true;

+ 4 - 0
src/theme/element.scss

@@ -257,6 +257,10 @@
 		font-size: 18px;
 		font-weight: bold;
 	}
+	.el-drawer__footer{
+		border-top: var(--el-border);
+		padding: 10px 20px;
+	}
 }
 
 /* Card 卡片

+ 1 - 1
src/utils/appConfig.ts

@@ -51,7 +51,7 @@ export const getCurrentCityConfig = () => {
 				isShowLogo: false,
 				favicon: 'zigong/favicon.ico',
 				// callCenterSocketUrl: isProduction() ? 'ws://171.94.154.2:7681' : ' ws://123.56.10.71:7681', // 呼叫中心socket地址
-				callCenterSocketUrl: isProduction() ? 'ws://171.94.154.2:7681' : ' ws://171.94.154.2:7681', // 呼叫中心socket地址
+				callCenterSocketUrl: isProduction() ? 'ws://171.94.154.10:7681' : ' ws://171.94.154.10:7681', // 呼叫中心socket地址
 				recordPrefix: isProduction() ? 'http://123.56.10.71:8066/' : 'http://123.56.10.71:8066/', // 播放录音地址前缀
 				recordDownLoadPrefix: isProduction() ? 'http://123.56.10.71:8066/' : 'http://123.56.10.71:8066/', // 录音地址下载前缀
 			};

+ 2 - 3
src/utils/olaFn.ts

@@ -4,8 +4,7 @@
 import { Fn, isClient, isWorker, MaybeRefOrGetter, toRef, tryOnScopeDispose, useIntervalFn } from '@vueuse/shared/index';
 import { ref, Ref, watch } from 'vue';
 import { WebSocketStatus } from '@/hooks/useWebsocket';
-import {ElMessage} from "element-plus";
-import {getNowDateTime} from "@/utils/constants";
+import { ElMessage } from 'element-plus';
 const DEFAULT_PING_MESSAGE = 'ping';
 let UUID = '73836387-0000-0000-0000-0000-0000000000';
 let _extn = ''; // 分机号
@@ -506,4 +505,4 @@ export function olaFn(url: MaybeRefOrGetter<string | URL | undefined>, options:
 		password: options.password,
 		next_uuid,
 	};
-}
+}

+ 5 - 5
src/views/judicial/statistics/detailArea.vue

@@ -1,6 +1,6 @@
 <template>
 	<div class="judicial-statistics-detail-area-container layout-padding">
-    <div class="layout-padding-auto layout-padding-view pd20">
+		<div class="layout-padding-auto layout-padding-view pd20">
 			<ProTable
 				ref="proTableRef"
 				:columns="columns"
@@ -17,9 +17,9 @@
 				<template #title="{ row }">
 					<order-detail :order="row" @updateList="queryList">{{ row.title }}</order-detail>
 				</template>
-        <template #operation="{ row }">
-          <order-detail :order="row"/>
-        </template>
+				<template #operation="{ row }">
+					<order-detail :order="row" />
+				</template>
 			</ProTable>
 		</div>
 	</div>
@@ -83,7 +83,7 @@ const columns = ref<any[]>([
 		width: 150,
 	},
 	{ prop: 'eventTypeName', label: '事项类型', width: 200 },
-  { prop: 'operation', label: '操作', fixed: 'right', width: 100, align: 'center' },
+	{ prop: 'operation', label: '操作', fixed: 'right', width: 100, align: 'center' },
 ]);
 /** 获取列表 */
 const routeQueryParams = route.query;

+ 0 - 2
src/views/tels/smartRecord/index.vue

@@ -121,8 +121,6 @@ import other from '@/utils/other';
 import { fileDownload } from '@/api/public/file';
 import { jthsRecord } from '@/api/todo/voiceAssistant';
 import { olaFn } from '@/utils/olaFn';
-import { treeEventClass, treeEventClassSearch } from '@/api/auxiliary/eventClass';
-import { removeDuplicate } from '@/utils/arrayOperation';
 
 
 // 引入组件

+ 1 - 0
src/views/todo/seats/accept/ybAccept.vue

@@ -484,6 +484,7 @@
 								</el-col>
 								<el-col :xs="24" :sm="12" :md="24" :lg="24" :xl="24">
 									<el-form-item>
+										<el-button class="default-button" @click="onCancel" :loading="buttonLoading"> 取消 </el-button>
                     <!--                    <el-button class="default-button" @click="save(ruleFormRef)" :loading="buttonLoading" :disabled="isSaveSuccess"> 保存 </el-button>
                     <el-button type="primary" @click="submit(ruleFormRef)" :loading="buttonLoading" v-if="canHandle" :disabled="!isSaveSuccess">
                       办理