Forráskód Böngészése

reactor:自贡录音地址调整;

zhangchong 8 hónapja
szülő
commit
c978b980f7

+ 3 - 3
.env.development

@@ -3,11 +3,11 @@ VITE_MODE_NAME=development
 # 防止部署多套系统到同一域名不同目录时,变量共用的问题 设置不同的前缀
 VITE_STORAGE_NAME=dev
 # 基础请求地址
-VITE_API_URL=http://110.188.24.28:50300
+VITE_API_URL=http://110.188.24.28:50100
 # 数据共享平台请求地址
 VITE_DATASHARE_API_YRL=http://ds.12345lm.cn
 # socket API
-VITE_API_SOCKET_URL=http://110.188.24.28:50300/hubs/hotline
+VITE_API_SOCKET_URL=http://110.188.24.28:50100/hubs/hotline
 # 上传 API
 VITE_API_UPLOAD_URL=http://110.188.24.28:50120
 # 文件上传地址前缀
@@ -25,4 +25,4 @@ VITE_JTHS_API_URL=http://118.121.58.161:19021
 # 捷通华声AppKey
 VITE_JTHS_APPKEY=MTAwMDAx
 # 当前地州市
-VITE_CURRENT_CITY=zigong
+VITE_CURRENT_CITY=yibin

+ 1 - 1
src/views/business/discern/index.vue

@@ -194,7 +194,7 @@ const proTableRef = ref<RefType>(); // 表格ref
 // 表格配置项
 const columns = ref<any[]>([
 	{ prop: 'statusText', label: '甄别状态', minWidth: 100 },
-  { prop: 'statusText', label: '当前节点', minWidth: 100 },
+  { prop: 'workflow.actualHandleStepName', label: '当前审核节点', minWidth: 110 },
   { prop: 'order.no', label: '工单编码', minWidth: 140 },
 	{ prop: 'order.isProvinceText', label: '省/市工单', minWidth: 90 },
 	{ prop: 'order.title', label: '工单标题', minWidth: 200 },

+ 2 - 5
src/views/home/index.vue

@@ -1,9 +1,7 @@
 <template>
 	<div class="home-container layout-padding">
-    <div style="    display: flex;
-    flex-direction: column;
-    flex: 1;overflow-y:auto;overflow-x: hidden">
-      <el-row :gutter="20" style="flex:1">
+    <div style="overflow:hidden auto;">
+      <el-row :gutter="20">
         <el-col :xs="24" :sm="24" :md="24" :lg="16" :xl="16">
           <component :is="userInfos.isCenter ? NumbersCenter : NumbersDepartment" />
           <!-- 待办工作台 -->
@@ -17,7 +15,6 @@
         </el-col>
       </el-row>
     </div>
-
 	</div>
 </template>
 

+ 12 - 4
src/views/todo/seats/accept/ybAccept.vue

@@ -549,11 +549,11 @@
 </template>
 
 <script setup lang="ts" name="orderAccept">
-import { computed, defineAsyncComponent, onBeforeUnmount, onMounted, reactive, ref, watch } from 'vue';
+import { computed, defineAsyncComponent, onActivated, onBeforeUnmount, onDeactivated, onMounted, onUnmounted, reactive, ref, watch } from 'vue';
 import type { FormInstance } from 'element-plus';
 import { ElMessage, ElMessageBox, ElNotification } from 'element-plus';
 import { storeToRefs } from 'pinia';
-import { useRoute, useRouter } from 'vue-router';
+import { onBeforeRouteLeave, useRoute, useRouter } from 'vue-router';
 import { useTelStatus } from '@/stores/telStatus';
 import { useAppConfig } from '@/stores/appConfig';
 import { throttle, transformFile } from '@/utils/tools';
@@ -1337,12 +1337,20 @@ const getCurrentData = (val: any) => {
 loadBaseData();
 loadAddress();
 loadExtra();
+const handleBeforeUnload = (event) => {
+	event.preventDefault();
+	event.returnValue = ''; // 对于某些浏览器,设置 returnValue
+};
 onMounted(async () => {
 	await loadForm();
 	state.tagsViewList = await Session.get('tagsViewList');
+	window.addEventListener('beforeunload', handleBeforeUnload);
+});
+onUnmounted(() => {
+	window.removeEventListener('beforeunload', handleBeforeUnload);
 });
-onBeforeUnmount(() => {
-	if (route.query.createBy && route.query.createBy === 'transfer') {
+onBeforeRouteLeave(() => {
+	if (route.query.createBy && route.query.createBy === 'transfer') { // 移除缓存
 		Local.remove(`${route.query.callId}`);
 	}
 });

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

@@ -486,7 +486,7 @@
 </template>
 
 <script setup lang="ts" name="orderAccept">
-import { computed, defineAsyncComponent, onMounted, reactive, ref, watch } from 'vue';
+import { computed, defineAsyncComponent, onMounted, onUnmounted, reactive, ref, watch } from 'vue';
 import type { FormInstance } from 'element-plus';
 import { ElMessage, ElMessageBox, ElNotification } from 'element-plus';
 import { storeToRefs } from 'pinia';
@@ -1197,8 +1197,16 @@ const getCurrentData = (val: any) => {
 loadBaseData();
 loadAddress();
 loadExtra();
+const handleBeforeUnload = (event) => {
+	event.preventDefault();
+	event.returnValue = ''; // 对于某些浏览器,设置 returnValue
+};
 onMounted(async () => {
 	await loadForm();
 	state.tagsViewList = await Session.get('tagsViewList');
+	window.addEventListener('beforeunload', handleBeforeUnload);
+});
+onUnmounted(() => {
+	window.removeEventListener('beforeunload', handleBeforeUnload);
 });
 </script>