Sfoglia il codice sorgente

reactor:工单受理调整;

zhangchong 1 anno fa
parent
commit
a6d7d39f1e

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

@@ -158,6 +158,7 @@ const closable = computed(() => {
 const getCitizen = () => {
 	state.orderInfo = props.orderInfo;
 	const phone = /^((0\d{2,3}(-)?\d{7,8})|(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8})$/;
+  console.log('getCitizen',phone.test(state.orderInfo.contact),state.orderInfo);
 	if (!phone.test(state.orderInfo.contact)) return; // 联系号码正则
 	getDetail(state.orderInfo.contact);
 };

+ 5 - 7
src/views/todo/seats/accept/History.vue

@@ -38,7 +38,7 @@
 </template>
 <script setup lang="ts" name="orderAcceptHistory">
 import { onMounted, reactive, ref } from 'vue';
-import {  FormInstance } from 'element-plus';
+import { FormInstance } from 'element-plus';
 import { throttle } from '/@/utils/tools';
 import { historyOrder } from '/@/api/business/order';
 
@@ -138,19 +138,17 @@ const dialogConfirmRepeat = (val: any) => {
 				setTimeout(() => {
 					multipleTableRef.value!.toggleRowSelection(j, true);
 				}, 0);
-      }
 			}
+		}
 	}
 };
 // 清除重复选择
 const clearRepeat = () => {
 	multipleTableRef.value!.clearSelection();
 };
-onMounted(()=>{
-  if(props.ruleForm.id){
-    searchHistory();
-  }
-})
+onMounted(() => {
+	searchHistory();
+});
 defineExpose({
 	multipleSelection,
 	multipleTableRef,