style: 修复样式

This commit is contained in:
TsMask
2024-11-23 14:44:49 +08:00
parent f070764b69
commit f310ae4f38
4 changed files with 676 additions and 509 deletions

View File

@@ -5,7 +5,7 @@ import { ProModal } from 'antdv-pro-modal';
import { Form, message, Modal } from 'ant-design-vue/es';
import { SizeType } from 'ant-design-vue/es/config-provider';
import { MenuInfo } from 'ant-design-vue/es/menu/src/interface';
import { ColumnsType } from 'ant-design-vue/es/table';
import { ColumnsType } from 'ant-design-vue/es/table';
import { parseDateToStr } from '@/utils/date-utils';
import useDictStore from '@/store/modules/dict';
import useNeInfoStore from '@/store/modules/neinfo';
@@ -347,9 +347,9 @@ function fnRecordBack(row?: Record<string, any>) {
result = stuPtNeConfigApply({ neType: row.neType, status: '1' });
} else {
result = updatePtNeConfigApply({
status: "3",
backId: tableState.selectedRowKeys.join(","),
backInfo: "请重新检查配置",
status: '3',
backId: tableState.selectedRowKeys.join(','),
backInfo: '请重新检查配置',
});
}
result.then((res: any) => {
@@ -576,7 +576,7 @@ onMounted(() => {
@cancel="fnModalCancel"
>
<a-form layout="horizontal" :label-col="{ span: 6 }" :label-wrap="true">
<a-row :gutter="16">
<a-row>
<a-col :lg="12" :md="12" :xs="24">
<a-form-item :label="t('views.ne.common.neType')" name="neType">
{{ modalState.from.neType }}
@@ -592,7 +592,7 @@ onMounted(() => {
</a-col>
</a-row>
<a-row :gutter="16">
<a-row>
<a-col :lg="12" :md="12" :xs="24">
<a-form-item label="申请人" name="createBy">
{{ modalState.from.createBy }}
@@ -604,7 +604,7 @@ onMounted(() => {
</a-form-item>
</a-col>
</a-row>
<a-row :gutter="16" v-if="modalState.from.status !== '0'">
<a-row v-if="modalState.from.status !== '0'">
<a-col :lg="12" :md="12" :xs="24">
<a-form-item label="处理人" name="updateBy">
{{ modalState.from.updateBy }}

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,7 @@ import { ProModal } from 'antdv-pro-modal';
import { Form, message, Modal } from 'ant-design-vue/es';
import { SizeType } from 'ant-design-vue/es/config-provider';
import { MenuInfo } from 'ant-design-vue/es/menu/src/interface';
import { ColumnsType } from 'ant-design-vue/es/table';
import { ColumnsType } from 'ant-design-vue/es/table';
import { parseDateToStr } from '@/utils/date-utils';
import useDictStore from '@/store/modules/dict';
import useNeInfoStore from '@/store/modules/neinfo';
@@ -347,12 +347,13 @@ function fnRecordBack(row?: Record<string, any>) {
result = stuPtNeConfigApply({ neType: row.neType, status: '1' });
} else {
result = updatePtNeConfigApply({
status: "3",
backId: tableState.selectedRowKeys.join(","),
backInfo: "请重新检查配置",
status: '3',
backId: tableState.selectedRowKeys.join(','),
backInfo: '请重新检查配置',
});
}
result.then((res: any) => {
fnGetList();
if (res.code === RESULT_CODE_SUCCESS) {
message.success({
content: t('common.operateOk'),
@@ -576,7 +577,7 @@ onMounted(() => {
@cancel="fnModalCancel"
>
<a-form layout="horizontal" :label-col="{ span: 6 }" :label-wrap="true">
<a-row :gutter="16">
<a-row>
<a-col :lg="12" :md="12" :xs="24">
<a-form-item :label="t('views.ne.common.neType')" name="neType">
{{ modalState.from.neType }}
@@ -592,7 +593,7 @@ onMounted(() => {
</a-col>
</a-row>
<a-row :gutter="16">
<a-row>
<a-col :lg="12" :md="12" :xs="24">
<a-form-item label="申请人" name="createBy">
{{ modalState.from.createBy }}
@@ -604,7 +605,7 @@ onMounted(() => {
</a-form-item>
</a-col>
</a-row>
<a-row :gutter="16" v-if="modalState.from.status !== '0'">
<a-row v-if="modalState.from.status !== '0'">
<a-col :lg="12" :md="12" :xs="24">
<a-form-item label="处理人" name="updateBy">
{{ modalState.from.updateBy }}

View File

@@ -80,6 +80,9 @@ const graphNodeMenu = new Menu({
if (!neState) {
return `<div><span>${label || id}</span></div>`;
}
if (hasRoles(['student'])) {
return 'Student';
}
return `
<div
style="