|
@@ -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);
|
|
|
|
|
|
/** 重置按钮操作 */
|