!162 style(supervision): 反馈表格列名称居中
* style(supervision): 反馈表格列名称居中 * style(supervision): 详情弹窗去除标题并固定tab切换位置 * feat(xispeak): 反馈办理情况统计与脉搏一致
This commit is contained in:
@@ -304,3 +304,9 @@ html[data-theme='dark'] {
|
|||||||
.feedback-status-row-success td {
|
.feedback-status-row-success td {
|
||||||
background: #f6ffed !important;
|
background: #f6ffed !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 反馈表格列名称(表头)居中 */
|
||||||
|
.feedback-table .ant-table-thead > tr > th,
|
||||||
|
.feedback-inner-table .ant-table-thead > tr > th {
|
||||||
|
text-align: center !important;
|
||||||
|
}
|
||||||
|
|||||||
@@ -198,6 +198,7 @@
|
|||||||
</a-space>
|
</a-space>
|
||||||
</div>
|
</div>
|
||||||
<a-table
|
<a-table
|
||||||
|
class="feedback-table"
|
||||||
v-if="showFeedbackDetail"
|
v-if="showFeedbackDetail"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
size="small"
|
size="small"
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-modal
|
<a-modal
|
||||||
v-model:open="visible"
|
v-model:open="visible"
|
||||||
:title="title"
|
|
||||||
:width="width"
|
:width="width"
|
||||||
centered
|
:top="80"
|
||||||
:footer="null"
|
:footer="null"
|
||||||
:maskClosable="true"
|
:maskClosable="true"
|
||||||
:bodyStyle="{ maxHeight: '70vh', overflowY: 'auto', padding: '16px 24px 20px' }"
|
:bodyStyle="{ maxHeight: '70vh', overflowY: 'auto', padding: '4px 24px 20px' }"
|
||||||
wrapClassName="partymatter-detail-modal"
|
wrapClassName="partymatter-detail-modal"
|
||||||
destroyOnClose
|
destroyOnClose
|
||||||
>
|
>
|
||||||
@@ -100,6 +99,7 @@
|
|||||||
<div class="feedback-summary-desc">当前事项的责任部门办理情况记录</div>
|
<div class="feedback-summary-desc">当前事项的责任部门办理情况记录</div>
|
||||||
</div>
|
</div>
|
||||||
<a-table
|
<a-table
|
||||||
|
class="feedback-table"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
size="small"
|
size="small"
|
||||||
bordered
|
bordered
|
||||||
@@ -148,7 +148,6 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
const visible = ref(false);
|
const visible = ref(false);
|
||||||
const title = ref('详情');
|
|
||||||
const width = 1100;
|
const width = 1100;
|
||||||
const activeKey = ref('item');
|
const activeKey = ref('item');
|
||||||
const record = ref<Recordable>({});
|
const record = ref<Recordable>({});
|
||||||
@@ -276,7 +275,6 @@
|
|||||||
|
|
||||||
function open(currentRecord: Recordable) {
|
function open(currentRecord: Recordable) {
|
||||||
record.value = currentRecord || {};
|
record.value = currentRecord || {};
|
||||||
title.value = meetingPresentation.value.detailTitle;
|
|
||||||
activeKey.value = 'item';
|
activeKey.value = 'item';
|
||||||
visible.value = true;
|
visible.value = true;
|
||||||
if (currentRecord?.id !== undefined && currentRecord?.id !== null && currentRecord?.id !== '') {
|
if (currentRecord?.id !== undefined && currentRecord?.id !== null && currentRecord?.id !== '') {
|
||||||
|
|||||||
@@ -223,6 +223,7 @@
|
|||||||
</a-space>
|
</a-space>
|
||||||
</div>
|
</div>
|
||||||
<a-table
|
<a-table
|
||||||
|
class="feedback-table"
|
||||||
v-if="showFeedbackDetail"
|
v-if="showFeedbackDetail"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
size="small"
|
size="small"
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-modal
|
<a-modal
|
||||||
v-model:open="visible"
|
v-model:open="visible"
|
||||||
:title="title"
|
|
||||||
:width="width"
|
:width="width"
|
||||||
centered
|
:top="80"
|
||||||
:footer="null"
|
:footer="null"
|
||||||
:maskClosable="true"
|
:maskClosable="true"
|
||||||
:bodyStyle="{ maxHeight: '70vh', overflowY: 'auto', padding: '16px 24px 20px' }"
|
:bodyStyle="{ maxHeight: '70vh', overflowY: 'auto', padding: '4px 24px 20px' }"
|
||||||
wrapClassName="takepulse-detail-modal"
|
wrapClassName="takepulse-detail-modal"
|
||||||
destroyOnClose
|
destroyOnClose
|
||||||
>
|
>
|
||||||
@@ -115,6 +114,7 @@
|
|||||||
<div class="feedback-summary-desc">当前事项的责任部门办理情况记录</div>
|
<div class="feedback-summary-desc">当前事项的责任部门办理情况记录</div>
|
||||||
</div>
|
</div>
|
||||||
<a-table
|
<a-table
|
||||||
|
class="feedback-table"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
size="small"
|
size="small"
|
||||||
bordered
|
bordered
|
||||||
@@ -153,7 +153,6 @@
|
|||||||
import { feedbackStatusRowClassName } from '/@/views/bg/utils/feedbackStatusRender';
|
import { feedbackStatusRowClassName } from '/@/views/bg/utils/feedbackStatusRender';
|
||||||
|
|
||||||
const visible = ref(false);
|
const visible = ref(false);
|
||||||
const title = ref('详情');
|
|
||||||
const width = 1100;
|
const width = 1100;
|
||||||
const activeKey = ref('item');
|
const activeKey = ref('item');
|
||||||
const record = ref<Recordable>({});
|
const record = ref<Recordable>({});
|
||||||
@@ -302,7 +301,6 @@
|
|||||||
|
|
||||||
function open(currentRecord: Recordable) {
|
function open(currentRecord: Recordable) {
|
||||||
record.value = currentRecord || {};
|
record.value = currentRecord || {};
|
||||||
title.value = '把把脉详情';
|
|
||||||
activeKey.value = 'item';
|
activeKey.value = 'item';
|
||||||
visible.value = true;
|
visible.value = true;
|
||||||
if (currentRecord?.id !== undefined && currentRecord?.id !== null && currentRecord?.id !== '') {
|
if (currentRecord?.id !== undefined && currentRecord?.id !== null && currentRecord?.id !== '') {
|
||||||
|
|||||||
@@ -197,6 +197,7 @@
|
|||||||
</a-space>
|
</a-space>
|
||||||
</div>
|
</div>
|
||||||
<a-table
|
<a-table
|
||||||
|
class="feedback-table"
|
||||||
v-if="showFeedbackInfo && showFeedbackDetail"
|
v-if="showFeedbackInfo && showFeedbackDetail"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
size="small"
|
size="small"
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-modal
|
<a-modal
|
||||||
v-model:open="visible"
|
v-model:open="visible"
|
||||||
:title="title"
|
|
||||||
:width="width"
|
:width="width"
|
||||||
centered
|
:top="80"
|
||||||
:footer="null"
|
:footer="null"
|
||||||
:maskClosable="true"
|
:maskClosable="true"
|
||||||
:bodyStyle="{ maxHeight: '70vh', overflowY: 'auto', padding: '16px 24px 20px' }"
|
:bodyStyle="{ maxHeight: '70vh', overflowY: 'auto', padding: '4px 24px 20px' }"
|
||||||
wrapClassName="xispeak-detail-modal"
|
wrapClassName="xispeak-detail-modal"
|
||||||
destroyOnClose
|
destroyOnClose
|
||||||
>
|
>
|
||||||
@@ -66,12 +65,15 @@
|
|||||||
<Icon icon="ant-design:message-outlined" />
|
<Icon icon="ant-design:message-outlined" />
|
||||||
</span>
|
</span>
|
||||||
<span>办理情况</span>
|
<span>办理情况</span>
|
||||||
<a-tag class="feedback-summary-tag">共 {{ total }} 条</a-tag>
|
<a-tag class="feedback-summary-tag" color="warning" style="color: #8c6900">未开始 {{ count.notStarted }}</a-tag>
|
||||||
<a-tag class="feedback-summary-tag" color="success">已完成 {{ done }} 条</a-tag>
|
<a-tag class="feedback-summary-tag" color="error">进行中 {{ count.inProgress }}(已逾期 {{ count.overdue }})</a-tag>
|
||||||
|
<a-tag class="feedback-summary-tag" color="success">已完成 {{ count.completed }}</a-tag>
|
||||||
|
<a-tag class="feedback-summary-tag">共 {{ count.total }} 条</a-tag>
|
||||||
</div>
|
</div>
|
||||||
<div class="feedback-summary-desc">当前事项的落实情况反馈记录</div>
|
<div class="feedback-summary-desc">当前事项的落实情况反馈记录</div>
|
||||||
</div>
|
</div>
|
||||||
<a-table
|
<a-table
|
||||||
|
class="feedback-table"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
size="small"
|
size="small"
|
||||||
bordered
|
bordered
|
||||||
@@ -111,10 +113,10 @@
|
|||||||
import BgXiSpeakFeedbackDetailModal from './BgXiSpeakFeedbackDetailModal.vue';
|
import BgXiSpeakFeedbackDetailModal from './BgXiSpeakFeedbackDetailModal.vue';
|
||||||
import { bgXiSpeakFeedbackList } from '../BgXiSpeak.api';
|
import { bgXiSpeakFeedbackList } from '../BgXiSpeak.api';
|
||||||
import { feedbackStatusRowClassName } from '/@/views/bg/utils/feedbackStatusRender';
|
import { feedbackStatusRowClassName } from '/@/views/bg/utils/feedbackStatusRender';
|
||||||
|
import { countFeedbackStatus } from '/@/views/bg/utils/feedbackStatusCount';
|
||||||
import type { BasicColumn } from '/@/components/Table';
|
import type { BasicColumn } from '/@/components/Table';
|
||||||
|
|
||||||
const visible = ref(false);
|
const visible = ref(false);
|
||||||
const title = ref('详情');
|
|
||||||
const width = 1100;
|
const width = 1100;
|
||||||
const activeKey = ref('item');
|
const activeKey = ref('item');
|
||||||
const record = ref<Recordable>({});
|
const record = ref<Recordable>({});
|
||||||
@@ -209,8 +211,7 @@
|
|||||||
{ title: '操作', dataIndex: 'action', key: 'action', align: 'center', width: 90, fixed: 'right' },
|
{ title: '操作', dataIndex: 'action', key: 'action', align: 'center', width: 90, fixed: 'right' },
|
||||||
];
|
];
|
||||||
|
|
||||||
const total = computed(() => feedbackList.value.length);
|
const count = computed(() => countFeedbackStatus(feedbackList.value, 'completionStatus', 'deadline'));
|
||||||
const done = computed(() => feedbackList.value.filter((item) => item.completionStatus_dictText === '已完成').length);
|
|
||||||
|
|
||||||
async function loadFeedback(mainId: string | number) {
|
async function loadFeedback(mainId: string | number) {
|
||||||
feedbackLoading.value = true;
|
feedbackLoading.value = true;
|
||||||
@@ -235,7 +236,6 @@
|
|||||||
|
|
||||||
function open(currentRecord: Recordable) {
|
function open(currentRecord: Recordable) {
|
||||||
record.value = currentRecord || {};
|
record.value = currentRecord || {};
|
||||||
title.value = '详情';
|
|
||||||
activeKey.value = 'item';
|
activeKey.value = 'item';
|
||||||
visible.value = true;
|
visible.value = true;
|
||||||
if (currentRecord?.id !== undefined && currentRecord?.id !== null && currentRecord?.id !== '') {
|
if (currentRecord?.id !== undefined && currentRecord?.id !== null && currentRecord?.id !== '') {
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
cancelText="关闭"
|
cancelText="关闭"
|
||||||
>
|
>
|
||||||
<BasicTable
|
<BasicTable
|
||||||
|
class="feedback-table"
|
||||||
size="small"
|
size="small"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
:canResize="false"
|
:canResize="false"
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
cancelText="关闭"
|
cancelText="关闭"
|
||||||
>
|
>
|
||||||
<BasicTable
|
<BasicTable
|
||||||
|
class="feedback-table"
|
||||||
size="small"
|
size="small"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
:canResize="false"
|
:canResize="false"
|
||||||
|
|||||||
@@ -167,6 +167,7 @@
|
|||||||
</a-space>
|
</a-space>
|
||||||
</div>
|
</div>
|
||||||
<a-table
|
<a-table
|
||||||
|
class="feedback-table"
|
||||||
v-if="showFeedbackInfo && showFeedbackDetail"
|
v-if="showFeedbackInfo && showFeedbackDetail"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
size="small"
|
size="small"
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-modal
|
<a-modal
|
||||||
v-model:open="visible"
|
v-model:open="visible"
|
||||||
:title="title"
|
|
||||||
:width="width"
|
:width="width"
|
||||||
centered
|
:top="80"
|
||||||
:footer="null"
|
:footer="null"
|
||||||
:maskClosable="true"
|
:maskClosable="true"
|
||||||
:bodyStyle="{ maxHeight: '70vh', overflowY: 'auto', padding: '16px 24px 20px' }"
|
:bodyStyle="{ maxHeight: '70vh', overflowY: 'auto', padding: '4px 24px 20px' }"
|
||||||
wrapClassName="inspecttask-detail-modal"
|
wrapClassName="inspecttask-detail-modal"
|
||||||
destroyOnClose
|
destroyOnClose
|
||||||
>
|
>
|
||||||
@@ -77,6 +76,7 @@
|
|||||||
<div class="feedback-summary-desc">当前整改任务的工作进展反馈记录</div>
|
<div class="feedback-summary-desc">当前整改任务的工作进展反馈记录</div>
|
||||||
</div>
|
</div>
|
||||||
<a-table
|
<a-table
|
||||||
|
class="feedback-table"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
size="small"
|
size="small"
|
||||||
bordered
|
bordered
|
||||||
@@ -114,7 +114,6 @@
|
|||||||
import type { BasicColumn } from '/@/components/Table';
|
import type { BasicColumn } from '/@/components/Table';
|
||||||
|
|
||||||
const visible = ref(false);
|
const visible = ref(false);
|
||||||
const title = ref('详情');
|
|
||||||
const width = 1100;
|
const width = 1100;
|
||||||
const activeKey = ref('item');
|
const activeKey = ref('item');
|
||||||
const record = ref<Recordable>({});
|
const record = ref<Recordable>({});
|
||||||
@@ -238,7 +237,6 @@
|
|||||||
|
|
||||||
function open(currentRecord: Recordable) {
|
function open(currentRecord: Recordable) {
|
||||||
record.value = currentRecord || {};
|
record.value = currentRecord || {};
|
||||||
title.value = '详情';
|
|
||||||
activeKey.value = 'item';
|
activeKey.value = 'item';
|
||||||
visible.value = true;
|
visible.value = true;
|
||||||
if (currentRecord?.id !== undefined && currentRecord?.id !== null && currentRecord?.id !== '') {
|
if (currentRecord?.id !== undefined && currentRecord?.id !== null && currentRecord?.id !== '') {
|
||||||
|
|||||||
Reference in New Issue
Block a user