瀏覽代碼

reactor:新增小休审核;

zhangchong 1 月之前
父節點
當前提交
5f0b7acb75
共有 2 個文件被更改,包括 17 次插入15 次删除
  1. 1 1
      .env.development
  2. 16 14
      src/views/province/order.vue

+ 1 - 1
.env.development

@@ -3,7 +3,7 @@ VITE_MODE_NAME=development
 # 防止部署多套系统到同一域名不同目录时,变量共用的问题 设置不同的前缀
 VITE_STORAGE_NAME=dev
 # 业务系统基础请求地址
-VITE_API_URL=http://110.188.24.28:50100
+VITE_API_URL=http://110.188.24.28:50300
 # 业务系统socket请求地址
 VITE_API_SOCKET_URL=http://110.188.24.28:50100/hubs/hotline
 # 业务系统文件上传上传请求地址

+ 16 - 14
src/views/province/order.vue

@@ -1,12 +1,12 @@
 <template>
 	<div class="province-order-container layout-padding">
-    <div class="layout-padding-auto layout-padding-view pd20">
+		<div class="layout-padding-auto layout-padding-view pd20">
 			<el-form :model="state.queryParams" ref="ruleFormRef" @submit.native.prevent inline>
 				<el-form-item label="省编码" prop="ReceiveProvinceNo">
-					<el-input v-model="state.queryParams.ReceiveProvinceNo" placeholder="省编码" clearable @keyup.enter="handleQuery" class="keyword-input"/>
+					<el-input v-model="state.queryParams.ReceiveProvinceNo" placeholder="省编码" clearable @keyup.enter="handleQuery" class="keyword-input" />
 				</el-form-item>
 				<el-form-item label="工单标题" prop="Keyword">
-					<el-input v-model="state.queryParams.Keyword" placeholder="工单标题" clearable @keyup.enter="handleQuery" class="keyword-input"/>
+					<el-input v-model="state.queryParams.Keyword" placeholder="工单标题" clearable @keyup.enter="handleQuery" class="keyword-input" />
 				</el-form-item>
 				<el-form-item label="受理时间" prop="crTime">
 					<el-date-picker
@@ -115,12 +115,15 @@
 								title="省工单退回"
 								v-auth="'province:order:return'"
 								v-if="
-								row.isProvince &&
-								(row.actualHandleOrgCode === '001' || row.actualHandleOrgCode === null || row.actualHandleOrgCode === '' || row.status === 0) &&
-								row.status < 300 && row.status !== 9 && !row.provinceSendBack
-							"
+									row.isProvince &&
+									(row.actualHandleOrgCode === '001' || row.actualHandleOrgCode === null || row.actualHandleOrgCode === '' || row.status === 0) &&
+									row.status < 300 &&
+									row.status !== 9 &&
+									!row.provinceSendBack
+								"
+							>
+								退回</el-button
 							>
-								退回</el-button>
 						</template>
 					</vxe-column>
 				</vxe-table>
@@ -281,14 +284,13 @@
 	</div>
 </template>
 <script setup lang="tsx" name="provinceOrder">
-import { computed, defineAsyncComponent, onMounted, reactive, ref } from 'vue';
+import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
 import type { FormInstance } from 'element-plus';
 import { defaultTimeStartEnd, shortcuts } from '@/utils/constants';
 import { formatDate } from '@/utils/formatTime';
 import { exportOrder, listBaseData, orderList, orderListCount } from '@/api/business/order';
 import { treeArea } from '@/api/auxiliary/area';
 import Other from '@/utils/other';
-import { exportAssignment } from '@/utils/tools';
 
 // 引入组件
 const OrderDetail = defineAsyncComponent(() => import('@/components/OrderDetail/index.vue')); // 工单详情
@@ -315,7 +317,7 @@ const state = reactive<any>({
 		AcceptType: null, // 受理类型
 		Channels: null, // 渠道
 		Hotspot: null, //  热点分类名称
-    OrgId: null, // 接办部门
+		OrgId: null, // 接办部门
 		NameOrNo: null, // 受理坐席
 		crTime: [], // 受理时间
 		CreationTimeStart: null, // 创建时间 开始
@@ -333,6 +335,7 @@ const state = reactive<any>({
 		IsProvinceOrder: true, // 省市工单
 		IsUrgent: null, // 是否加急
 		ProvinceChannel: null, //省来源分类
+		ProvinceSearch: true,
 	},
 	tableData: [], //表单
 	loading: false, // 加载
@@ -404,8 +407,7 @@ const getTotal = () => {
 		.then((res) => {
 			state.total = res.result ?? 0;
 		})
-		.catch(() => {
-		});
+		.catch(() => {});
 };
 /** 重置按钮操作 */
 const drawerRuleFormRef = ref();
@@ -433,4 +435,4 @@ onMounted(() => {
 	getBaseData();
 	getTotal();
 });
-</script>
+</script>