Эх сурвалжийг харах

reactor:办理样式调整;

zhangchong 1 жил өмнө
parent
commit
535ea877e5

+ 11 - 14
src/views/query/urge/index.vue

@@ -43,7 +43,7 @@
 					</template>
 				</el-table-column>
 				<el-table-column prop="order.acceptType" label="受理类型" show-overflow-tooltip width="100"></el-table-column>
-				<el-table-column prop="order.statusText" label="工单状态" show-overflow-tooltip></el-table-column>
+				<el-table-column prop="order.statusText" label="工单状态" show-overflow-tooltip width="100"></el-table-column>
 				<el-table-column label="工单标题" show-overflow-tooltip width="300">
 					<template #default="{ row }">
 						<span class="color-primary">{{ row.order?.title }}</span>
@@ -115,19 +115,16 @@ const state = reactive(<any>{
 });
 /** 获取列表 */
 const queryList = throttle(() => {
-	if (!auth('query:urge:query')) ElMessage.error('抱歉,您没有权限查看工单催办列表!');
-	else {
-		state.loading = true;
-		urgeList(state.queryParams)
-			.then((res: any) => {
-				state.tableData = res.result?.items ?? [];
-				state.total = res.result?.total ?? 0;
-				state.loading = false;
-			})
-			.catch((err: any) => {
-				state.loading = false;
-			});
-	}
+	state.loading = true;
+	urgeList(state.queryParams)
+		.then((res: any) => {
+			state.tableData = res.result?.items ?? [];
+			state.total = res.result?.total ?? 0;
+			state.loading = false;
+		})
+		.catch((err: any) => {
+			state.loading = false;
+		});
 }, 300);
 
 /** 重置按钮操作 */

+ 1 - 1
src/views/todo/seats/accept/History.vue

@@ -27,7 +27,7 @@
 		<el-table-column prop="hotspotName" label="热点分类" show-overflow-tooltip> </el-table-column>
 		<el-table-column prop="no" label="工单编码" show-overflow-tooltip> </el-table-column>
 		<el-table-column prop="currentStepName" label="当前环节" show-overflow-tooltip></el-table-column>
-		<el-table-column prop="statusText" label="状态" width="70" fixed="right" align="center"></el-table-column>
+		<el-table-column prop="statusText" label="状态" width="100" fixed="right" align="center"></el-table-column>
 	</el-table>
 	<pagination
 		:total="state.total"

+ 1 - 2
src/views/todo/urge/index.vue

@@ -83,8 +83,7 @@
 </template>
 <script setup lang="ts" name="todoUrge">
 import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
-import { ElButton, ElMessage, FormInstance } from 'element-plus';
-import { auth } from '/@/utils/authFunction';
+import { ElButton, FormInstance } from 'element-plus';
 import { throttle } from '/@/utils/tools';
 import { formatDate } from '/@/utils/formatTime';
 import { urgeList } from '/@/api/business/urge';