浏览代码

reactor: 【标书】新增【录音上传】功能;

zhangchong 4 月之前
父节点
当前提交
1339c45dcd
共有 2 个文件被更改,包括 41 次插入15 次删除
  1. 35 14
      src/router/route.ts
  2. 6 1
      src/views/todo/seats/accept/zgAccept.vue

+ 35 - 14
src/router/route.ts

@@ -419,7 +419,8 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
 			title: '新建工单',
 			isKeepAlive: true,
 		},
-	},{
+	},
+	{
 		path: '/statistics/order/detailAcceptTypeList',
 		name: 'statisticsOrderDetailAcceptTypeList',
 		component: () => import('@/views/statistics/order/detailAcceptTypeList.vue'),
@@ -427,7 +428,8 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
 			title: '受理类型统计列表',
 			isKeepAlive: true,
 		},
-	},{
+	},
+	{
 		path: '/statistics/order/detailAcceptType',
 		name: 'statisticsDetailAcceptType',
 		component: () => import('@/views/statistics/order/detailAcceptType.vue'),
@@ -435,7 +437,8 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
 			title: '受理类型统计明细',
 			isKeepAlive: true,
 		},
-	},{
+	},
+	{
 		path: '/statistics/order/detailHotspotSatisfied',
 		name: 'statisticsOrderDetailHotspotSatisfied',
 		component: () => import('@/views/statistics/order/detailHotspotSatisfied.vue'),
@@ -443,7 +446,8 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
 			title: '热点满意度统计明细',
 			isKeepAlive: true,
 		},
-	},{
+	},
+	{
 		path: '/statistics/call/detailIndexTime',
 		name: 'statisticsCallDetailIndexTime',
 		component: () => import('@/views/statistics/call/detailIndexTime.vue'),
@@ -451,7 +455,8 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
 			title: '话务时段分析日期',
 			isKeepAlive: true,
 		},
-	},{
+	},
+	{
 		path: '/statistics/call/detailIndexCall',
 		name: 'statisticsCallDetailIndexCall',
 		component: () => import('@/views/statistics/call/detailIndexCall.vue'),
@@ -459,7 +464,8 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
 			title: '话务时段分析明细',
 			isKeepAlive: true,
 		},
-	},{
+	},
+	{
 		path: '/statistics/center/detailReport/:id/:tagsViewName?',
 		name: 'statisticsCenterDetailReport',
 		component: () => import('@/views/statistics/center/detail-report.vue'),
@@ -468,7 +474,8 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
 			isKeepAlive: true,
 			isDynamic: true,
 		},
-	},{
+	},
+	{
 		path: '/statistics/center/detailAcceptCenter',
 		name: 'statisticsCenterDetailAcceptCenter',
 		component: () => import('@/views/statistics/center/detailAcceptCenter.vue'),
@@ -476,7 +483,8 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
 			title: '企业专席明细',
 			isKeepAlive: true,
 		},
-	},{
+	},
+	{
 		path: '/statistics/center/detailTwist',
 		name: 'statisticsCenterDetailTwist',
 		component: () => import('@/views/statistics/center/detailTwist.vue'),
@@ -484,7 +492,8 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
 			title: '扭转明细列表',
 			isKeepAlive: true,
 		},
-	},{
+	},
+	{
 		path: '/todo/edit/record',
 		name: 'todoEditRecord',
 		component: () => import('@/views/todo/edit/record.vue'),
@@ -492,7 +501,8 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
 			title: '修改记录',
 			isKeepAlive: true,
 		},
-	},{
+	},
+	{
 		path: '/statistics/call/detailSeatDate',
 		name: 'statisticsCallDetailSeatsDate',
 		component: () => import('@/views/statistics/call/detailSeatDate.vue'),
@@ -500,7 +510,8 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
 			title: '话务时段明细',
 			isKeepAlive: true,
 		},
-	},{
+	},
+	{
 		path: '/statistics/center/detailSeatSatisfactionList',
 		name: 'statisticsCenterDetailSeatSatisfactionList',
 		component: () => import('@/views/statistics/center/detailSeatSatisfactionList.vue'),
@@ -508,7 +519,8 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
 			title: '坐席满意度明细表',
 			isKeepAlive: true,
 		},
-	},{
+	},
+	{
 		path: '/statistics/center/detailSeatSatisfaction',
 		name: 'statisticsCenterDetailSeatSatisfaction',
 		component: () => import('@/views/statistics/center/detailSeatSatisfaction.vue'),
@@ -516,7 +528,8 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
 			title: '坐席满意度列表明细',
 			isKeepAlive: true,
 		},
-	},{
+	},
+	{
 		path: '/snapshot/inviteCode/detailStatistics',
 		name: 'snapshotInviteCodeStatisticsDetail',
 		component: () => import('@/views/snapshot/inviteCode/statistics/components/detail.vue'),
@@ -525,8 +538,16 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
 			isKeepAlive: true,
 		},
 	},
+	{
+		path: '/statistics/call/detailSeatsMoth',
+		name: 'statisticsCenterDetailSeatSatisfaction',
+		component: () => import('@/views/statistics/call/detailSeatsMoth.vue'),
+		meta: {
+			title: '通话时段明细',
+			isKeepAlive: true,
+		},
+	},
 ];
-
 /**
  * 定义404、401界面
  * @link 参考:https://next.router.vuejs.org/zh/guide/essentials/history-mode.html#netlify

+ 6 - 1
src/views/todo/seats/accept/zgAccept.vue

@@ -411,7 +411,7 @@
 					<el-card shadow="never">
 						<el-tabs v-model="rightBottomActive" @tab-change="handleRightBottom" stretch>
 							<el-tab-pane label="知识库" name="knowledge">
-								<Knowledge ref="knowledgeRef" :formData="state.ruleForm" />
+								<Knowledge ref="knowledgeRef" :formData="state.ruleForm" @changeYYType="changeYYType"/>
 							</el-tab-pane>
 							<el-tab-pane label="预案库" name="aa"> </el-tab-pane>
 						</el-tabs>
@@ -532,6 +532,7 @@ const state = reactive<any>({
 		},
 		industryId: null, // 行业分类
 		industryName: null, // 行业分类名称
+		knowledgeQuote:[], // 知识库引用
 	},
 	formLoading: false, // 表单加载状态
 	hotspotExternal: [], // 热点分类外部数据
@@ -957,6 +958,10 @@ const canHandle = computed(() => {
 		return state.ruleForm?.canHandle;
 	}
 });
+// 知识库引用
+const changeYYType = (data: any) => {
+	state.ruleForm.knowledgeQuote = data;
+};
 // 流程审批
 const processAuditRef = ref<RefType>();
 const zgProcessRef = ref<RefType>();