|
@@ -21,7 +21,9 @@
|
|
|
<el-button type="primary" title="字段说明"><SvgIcon name="ele-QuestionFilled" class="mr5" />字段说明</el-button>
|
|
|
</template>
|
|
|
<el-descriptions title="" :column="1" border style="max-height: 400px; overflow: auto">
|
|
|
- <el-descriptions-item label="提起时间">甄别申请工单新建时间</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="提起时间" v-if="['ZiGong', 'LuZhou'].includes(themeConfig.appScope)"
|
|
|
+ >甄别申请工单新建时间</el-descriptions-item
|
|
|
+ >
|
|
|
<el-descriptions-item label="提起人">发起甄别工单的登录用户 </el-descriptions-item>
|
|
|
<el-descriptions-item label="部门名称">甄别工单的部门</el-descriptions-item>
|
|
|
<el-descriptions-item label="数量"> 发起甄别申请的工单数量 </el-descriptions-item>
|
|
@@ -45,7 +47,7 @@
|
|
|
:loading="state.loading"
|
|
|
:data="state.tableData"
|
|
|
:column-config="{ resizable: true }"
|
|
|
- :row-config="{ isCurrent: true, isHover: true, height: 30,useKey: true }"
|
|
|
+ :row-config="{ isCurrent: true, isHover: true, height: 30, useKey: true }"
|
|
|
ref="tableRef"
|
|
|
height="auto"
|
|
|
auto-resize
|
|
@@ -58,7 +60,7 @@
|
|
|
showHeaderOverflow
|
|
|
:params="{ exportMethod: centerDifferentiateApplyExport, exportParams: requestParams }"
|
|
|
>
|
|
|
- <vxe-column field="applyTime" title="提起时间" width="160">
|
|
|
+ <vxe-column field="applyTime" title="提起时间" width="160" v-if="['ZiGong', 'LuZhou'].includes(themeConfig.appScope)">
|
|
|
<template #default="{ row }">
|
|
|
{{ formatDate(row.applyTime, 'YYYY-mm-dd') }}
|
|
|
</template>
|
|
@@ -85,10 +87,14 @@ import { centerDifferentiateApply, centerDifferentiateApplyExport } from '@/api/
|
|
|
import { defaultDate } from '@/utils/constants';
|
|
|
import Other from '@/utils/other';
|
|
|
import { formatDate } from '@/utils/formatTime';
|
|
|
+import { useThemeConfig } from '@/stores/themeConfig';
|
|
|
+import { storeToRefs } from 'pinia';
|
|
|
|
|
|
const StatisticalTime = defineAsyncComponent(() => import('@/components/StatisticalTime/index.vue')); // 日期类型选择组件
|
|
|
const pagination = defineAsyncComponent(() => import('@/components/ProTable/components/Pagination.vue')); // 分页
|
|
|
// 定义变量内容
|
|
|
+const storesThemeConfig = useThemeConfig();
|
|
|
+const { themeConfig } = storeToRefs(storesThemeConfig);
|
|
|
const ruleFormRef = ref<RefType>(); // 表单ref
|
|
|
const state = reactive<any>({
|
|
|
queryParams: {
|