style: 修复样式
This commit is contained in:
@@ -5,7 +5,7 @@ import { ProModal } from 'antdv-pro-modal';
|
|||||||
import { Form, message, Modal } from 'ant-design-vue/es';
|
import { Form, message, Modal } from 'ant-design-vue/es';
|
||||||
import { SizeType } from 'ant-design-vue/es/config-provider';
|
import { SizeType } from 'ant-design-vue/es/config-provider';
|
||||||
import { MenuInfo } from 'ant-design-vue/es/menu/src/interface';
|
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 { parseDateToStr } from '@/utils/date-utils';
|
||||||
import useDictStore from '@/store/modules/dict';
|
import useDictStore from '@/store/modules/dict';
|
||||||
import useNeInfoStore from '@/store/modules/neinfo';
|
import useNeInfoStore from '@/store/modules/neinfo';
|
||||||
@@ -347,9 +347,9 @@ function fnRecordBack(row?: Record<string, any>) {
|
|||||||
result = stuPtNeConfigApply({ neType: row.neType, status: '1' });
|
result = stuPtNeConfigApply({ neType: row.neType, status: '1' });
|
||||||
} else {
|
} else {
|
||||||
result = updatePtNeConfigApply({
|
result = updatePtNeConfigApply({
|
||||||
status: "3",
|
status: '3',
|
||||||
backId: tableState.selectedRowKeys.join(","),
|
backId: tableState.selectedRowKeys.join(','),
|
||||||
backInfo: "请重新检查配置",
|
backInfo: '请重新检查配置',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
result.then((res: any) => {
|
result.then((res: any) => {
|
||||||
@@ -576,7 +576,7 @@ onMounted(() => {
|
|||||||
@cancel="fnModalCancel"
|
@cancel="fnModalCancel"
|
||||||
>
|
>
|
||||||
<a-form layout="horizontal" :label-col="{ span: 6 }" :label-wrap="true">
|
<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-col :lg="12" :md="12" :xs="24">
|
||||||
<a-form-item :label="t('views.ne.common.neType')" name="neType">
|
<a-form-item :label="t('views.ne.common.neType')" name="neType">
|
||||||
{{ modalState.from.neType }}
|
{{ modalState.from.neType }}
|
||||||
@@ -592,7 +592,7 @@ onMounted(() => {
|
|||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
|
||||||
<a-row :gutter="16">
|
<a-row>
|
||||||
<a-col :lg="12" :md="12" :xs="24">
|
<a-col :lg="12" :md="12" :xs="24">
|
||||||
<a-form-item label="申请人" name="createBy">
|
<a-form-item label="申请人" name="createBy">
|
||||||
{{ modalState.from.createBy }}
|
{{ modalState.from.createBy }}
|
||||||
@@ -604,7 +604,7 @@ onMounted(() => {
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</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-col :lg="12" :md="12" :xs="24">
|
||||||
<a-form-item label="处理人" name="updateBy">
|
<a-form-item label="处理人" name="updateBy">
|
||||||
{{ modalState.from.updateBy }}
|
{{ modalState.from.updateBy }}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,7 @@ import { ProModal } from 'antdv-pro-modal';
|
|||||||
import { Form, message, Modal } from 'ant-design-vue/es';
|
import { Form, message, Modal } from 'ant-design-vue/es';
|
||||||
import { SizeType } from 'ant-design-vue/es/config-provider';
|
import { SizeType } from 'ant-design-vue/es/config-provider';
|
||||||
import { MenuInfo } from 'ant-design-vue/es/menu/src/interface';
|
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 { parseDateToStr } from '@/utils/date-utils';
|
||||||
import useDictStore from '@/store/modules/dict';
|
import useDictStore from '@/store/modules/dict';
|
||||||
import useNeInfoStore from '@/store/modules/neinfo';
|
import useNeInfoStore from '@/store/modules/neinfo';
|
||||||
@@ -347,12 +347,13 @@ function fnRecordBack(row?: Record<string, any>) {
|
|||||||
result = stuPtNeConfigApply({ neType: row.neType, status: '1' });
|
result = stuPtNeConfigApply({ neType: row.neType, status: '1' });
|
||||||
} else {
|
} else {
|
||||||
result = updatePtNeConfigApply({
|
result = updatePtNeConfigApply({
|
||||||
status: "3",
|
status: '3',
|
||||||
backId: tableState.selectedRowKeys.join(","),
|
backId: tableState.selectedRowKeys.join(','),
|
||||||
backInfo: "请重新检查配置",
|
backInfo: '请重新检查配置',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
result.then((res: any) => {
|
result.then((res: any) => {
|
||||||
|
fnGetList();
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
message.success({
|
message.success({
|
||||||
content: t('common.operateOk'),
|
content: t('common.operateOk'),
|
||||||
@@ -576,7 +577,7 @@ onMounted(() => {
|
|||||||
@cancel="fnModalCancel"
|
@cancel="fnModalCancel"
|
||||||
>
|
>
|
||||||
<a-form layout="horizontal" :label-col="{ span: 6 }" :label-wrap="true">
|
<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-col :lg="12" :md="12" :xs="24">
|
||||||
<a-form-item :label="t('views.ne.common.neType')" name="neType">
|
<a-form-item :label="t('views.ne.common.neType')" name="neType">
|
||||||
{{ modalState.from.neType }}
|
{{ modalState.from.neType }}
|
||||||
@@ -592,7 +593,7 @@ onMounted(() => {
|
|||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
|
||||||
<a-row :gutter="16">
|
<a-row>
|
||||||
<a-col :lg="12" :md="12" :xs="24">
|
<a-col :lg="12" :md="12" :xs="24">
|
||||||
<a-form-item label="申请人" name="createBy">
|
<a-form-item label="申请人" name="createBy">
|
||||||
{{ modalState.from.createBy }}
|
{{ modalState.from.createBy }}
|
||||||
@@ -604,7 +605,7 @@ onMounted(() => {
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</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-col :lg="12" :md="12" :xs="24">
|
||||||
<a-form-item label="处理人" name="updateBy">
|
<a-form-item label="处理人" name="updateBy">
|
||||||
{{ modalState.from.updateBy }}
|
{{ modalState.from.updateBy }}
|
||||||
|
|||||||
@@ -80,6 +80,9 @@ const graphNodeMenu = new Menu({
|
|||||||
if (!neState) {
|
if (!neState) {
|
||||||
return `<div><span>${label || id}</span></div>`;
|
return `<div><span>${label || id}</span></div>`;
|
||||||
}
|
}
|
||||||
|
if (hasRoles(['student'])) {
|
||||||
|
return 'Student';
|
||||||
|
}
|
||||||
return `
|
return `
|
||||||
<div
|
<div
|
||||||
style="
|
style="
|
||||||
|
|||||||
Reference in New Issue
Block a user