Browse Source

fix:工单退回;

zhangchong 1 year ago
parent
commit
c43ead8aff
1 changed files with 6 additions and 7 deletions
  1. 6 7
      src/views/business/order/components/Order-detail.vue

+ 6 - 7
src/views/business/order/components/Order-detail.vue

@@ -151,7 +151,6 @@
 							</el-col>
 							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" v-if="state.ruleForm.incidentTime">
 								<el-form-item label="受理时间"> {{ formatDate(state.ruleForm?.incidentTime, 'YYYY-mm-dd HH:MM:SS') }} </el-form-item>
-
 							</el-col>
 							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" v-if="state.ruleForm.pushType">
 								<el-form-item label="推送分类"> {{ state.ruleForm.pushType }} </el-form-item>
@@ -255,7 +254,7 @@
 								<el-form-item label="被重办部门"> {{ state.workflow.assignOrgs }}</el-form-item>
 							</el-col>
 							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6">
-								<el-form-item label="重办时间"> {{ formatDate(state.workflow.assignTime, 'YYYY-mm-dd HH:MM:SS')  }} }} </el-form-item>
+								<el-form-item label="重办时间"> {{ formatDate(state.workflow.assignTime, 'YYYY-mm-dd HH:MM:SS') }} }} </el-form-item>
 							</el-col>
 							<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6">
 								<el-form-item label="重办理由"> {{ state.workflow.timeLimit }} </el-form-item>
@@ -285,7 +284,7 @@
 				<el-table-column prop="employeeName" label="回访人" show-overflow-tooltip></el-table-column>
 				<el-table-column prop="visitTime" label="回访时间" show-overflow-tooltip width="170">
 					<template #default="{ row }">
-            <span>{{ formatDate(row.visitTime, 'YYYY-mm-dd HH:MM:SS') }}</span>
+						<span>{{ formatDate(row.visitTime, 'YYYY-mm-dd HH:MM:SS') }}</span>
 					</template>
 				</el-table-column>
 				<el-table-column label="语音评价" show-overflow-tooltip width="150">
@@ -438,14 +437,14 @@
 					>撤 回(特提)</el-button
 				>-->
 				<!-- 工单未归档和可以办理展示退回按钮 -->
-				<!--				<el-button
+				<el-button
 					type="primary"
 					@click="onSubmit('工单退回')"
 					:loading="state.loading"
 					v-if="![60].includes(state.ruleForm.workflow?.status) && state.workflow.canHandle"
 					v-auth="'business:order:return'"
 					>退 回</el-button
-				>-->
+				>
 			</span>
 		</template>
 	</el-dialog>
@@ -490,7 +489,7 @@ import { commonEnum } from '/@/utils/constants';
 import { orderDetail } from '/@/api/business/order';
 import { ElMessage } from 'element-plus';
 import { ola } from '/@/utils/ola_api';
-import {formatDate} from "/@/utils/formatTime";
+import { formatDate } from '/@/utils/formatTime';
 
 // 引入组件
 const OrderExpandDetail = defineAsyncComponent(() => import('/@/views/business/order/components/Order-expand-detail.vue')); // 扩展信息
@@ -718,7 +717,7 @@ const onVisitDetail = (row: any) => {
 // 特提
 const specialHandleOrderRef = ref<RefType>(); // 特提
 const onSpecialHandle = () => {
-  specialHandleOrderRef.value.openDialog(state.ruleForm);
+	specialHandleOrderRef.value.openDialog(state.ruleForm);
 };
 // 特提提交成功
 const onSpecialHandleSuccess = () => {