Procházet zdrojové kódy

rector:流程调整;

zhangchong před 1 rokem
rodič
revize
ec489511b8

+ 5 - 1
src/views/business/order/accept/Repeat-event.vue

@@ -2,7 +2,7 @@
 	<div class="business-order-accept-repeat-event-container">
 		<el-form :model="state.queryParams" ref="queryParamsRef" :inline="true" @submit.native.prevent>
 			<el-form-item label="关键词" prop="Keyword">
-				<el-input v-model="state.queryParams.Keyword" placeholder="事件标题/关键词" clearable @keyup.enter="handleQuery" />
+				<el-input v-model="state.queryParams.Keyword" placeholder="事件标题/关键词" @keyup.enter="handleQuery" />
 			</el-form-item>
 			<el-form-item label="创建时间" prop="exTime">
 				<el-date-picker
@@ -108,6 +108,7 @@ const handleTimeChange = (val: string[], startKey: string, endKey: string) => {
 // 时间
 const timeStartChangeCr = (val: string[]) => {
 	handleTimeChange(val, 'CreationTimeStart', 'CreationTimeEnd');
+  queryList();
 };
 /** 搜索按钮操作 */
 const handleQuery = throttle(() => {
@@ -118,6 +119,9 @@ const handleQuery = throttle(() => {
 const resetQuery = throttle((formEl: FormInstance | undefined) => {
 	if (!formEl) return;
 	formEl.resetFields();
+  state.queryParams.CreationTimeStart = dayjs().startOf('day').format('YYYY-MM-DD[T]HH:mm:ss');
+  state.queryParams.CreationTimeEnd = dayjs().endOf('day').format('YYYY-MM-DD[T]HH:mm:ss');
+  state.queryParams.exTime = [dayjs().startOf('day').format('YYYY-MM-DD[T]HH:mm:ss'), dayjs().endOf('day').format('YYYY-MM-DD[T]HH:mm:ss')];
 	handleQuery();
 }, 300);
 const queryList = () => {

+ 1 - 0
src/views/business/order/accept/index.vue

@@ -706,6 +706,7 @@ const selectMap = (location: any) => {
 	state.ruleForm.latitude = location.latitude;
 	state.ruleForm.areaCode = location.adcode;
 	state.ruleForm.street = location.formattedAddress;
+  state.ruleForm.address = location.formattedAddress;
   searchRepeatEvent(state.ruleForm.hotspotSpliceName,location.formattedAddress);
 };
 // 将当前工单添加到重复性事件中