浏览代码

reactor:工单受理调整;

zhangchong 1 年之前
父节点
当前提交
356d4228ab

+ 1 - 1
src/layout/navBars/breadcrumb/telControl.vue

@@ -788,7 +788,7 @@ const onConnect = () => {
 
 	pingTimer.value = setInterval(() => {
 		ola.ping();
-	}, 3000);
+	}, 5000);
 
 	// ola.logout(currentTel.value.telNo); //连接之后,先登出一次,防止其他地方已经登陆
 	let array_ola_queue: EmptyArrayType = []; // 队列

+ 1 - 1
src/views/statistics/department/handle.vue

@@ -56,7 +56,7 @@ const proTableRef = ref<RefType>();
 
 // 表格配置项
 const columns = reactive<any[]>([
-	{ type: 'selection', fixed: 'left', width: 55 },
+  { type: 'index', fixed: 'left', width: 55, label: '序号', align: 'center' },
 	{ prop: 'orgName', label: '部门名称', align: 'center' },
 	{ prop: 'orgType', label: '部门类别', align: 'center' },
 	{ prop: 'd', label: '信件总数' , align: 'center'},

+ 1 - 0
src/views/statistics/order/departmentAcceptType.vue

@@ -64,6 +64,7 @@ import { guid } from "@/utils/tools";
 // 定义变量内容
 const ruleFormRef = ref<RefType>(); // 表单ref
 const columns = reactive<any[]>([
+  { type: 'index', fixed: 'left', width: 55, label: '序号', align: 'center' },
 	{ prop: 'orgName', label: '部门名称', minWidth: 200, align: 'center' },
 	{ prop: 'orgType', label: '部门类别', minWidth: 100, align: 'center' },
 	{

+ 5 - 3
src/views/statistics/order/hotspotCount.vue

@@ -83,6 +83,7 @@ import { shortcuts } from '@/utils/constants';
 import dayjs from 'dayjs';
 
 const columns = ref<any>([
+  { type: 'index', fixed: 'left', width: 55, label: '序号', align: 'center' },
 	{ prop: 'name', label: '热点名称' },
 	{ prop: 'num', label: '工单数' },
 	{ prop: 'chainNum', label: '环比工单数' },
@@ -217,10 +218,11 @@ const getSummaries = (param: any) => {
 	const { columns } = param;
 	const sums: string[] = [];
 	columns.forEach((column: { property: string }, index: number) => {
+    if (index === 0) {
+      sums[index] = '合计';
+      return;
+    }
 		switch (column.property) {
-			case 'name':
-				sums[index] = state.totalCount?.name;
-				break;
 			case 'num':
 				sums[index] = state.totalCount?.num;
 				break;

+ 1 - 0
src/views/statistics/order/hotspotSubclass.vue

@@ -59,6 +59,7 @@ import { shortcuts } from '@/utils/constants';
 import dayjs from 'dayjs';
 
 const columns = ref<any>([
+  { type: 'index', fixed: 'left', width: 55, label: '序号', align: 'center' },
 	{ prop: 'hotspotName', label: '热点名称' },
 	{ prop: 'sumCount', label: '分类统计', width: 120 },
 ]); // 表头

+ 2 - 0
src/views/statistics/order/orgHotspot.vue

@@ -37,6 +37,7 @@
 				:key="Math.random()"
 				show-summary
 				row-key="OrgCode"
+        :tree-props="{ children: 'children', hasChildren: 'hasChild' }"
 			>
 			</ProTable>
 		</el-card>
@@ -92,6 +93,7 @@ const queryList = () => {
 				};
 			});
 			columns.value.unshift(
+        { type: 'index', fixed: 'left', width: 55, label: '序号', align: 'center' },
 				{
 					prop: 'OrgName',
 					label: '部门名称',

+ 1 - 1
src/views/statistics/order/visitDiscontent.vue

@@ -107,7 +107,7 @@ const queryList = () => {
 					},
 				};
 			});
-			columns.value.unshift({
+			columns.value.unshift({ type: 'index', fixed: 'left', width: 55, label: '序号', align: 'center' },{
 				prop: 'OrgName',
 				label: '部门名称',
 				minWidth: 140,

文件差异内容过多而无法显示
+ 501 - 501
src/views/todo/seats/accept/index.vue


+ 3 - 1
src/views/todo/seats/index.vue

@@ -74,6 +74,7 @@ import { ElMessage, ElMessageBox, FormInstance } from 'element-plus';
 import { formatDate } from '@/utils/formatTime';
 import { useRouter } from 'vue-router';
 import { seatsListTodo, orderSign } from '@/api/todo/order';
+import { guid } from '@/utils/tools';
 // 引入组件
 const OrderDetail = defineAsyncComponent(() => import('@/components/OrderDetail/index.vue')); // 工单详情
 // 定义变量内容
@@ -185,7 +186,8 @@ const onAddOrder = () => {
 	router.push({
 		name: 'orderAccept',
 		params: {
-			tagsViewName: '工单受理',
+			tagsViewName: `工单受理`,
+      callId: new Date().getTime(),
 		},
 	});
 };

部分文件因为文件数量过多而无法显示