页面调整

This commit is contained in:
曹磊 2024-09-07 16:19:00 +08:00
parent 1d50bf8157
commit 7e4b5106fa
4 changed files with 27 additions and 5 deletions

View File

@ -3,17 +3,26 @@ import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
import {h} from "vue";
//列表数据
export const columns: BasicColumn[] = [
{
title: '文件名称',
align: "center",
dataIndex: 'name'
dataIndex: 'name',
ellipsis: false,
customRender:({ text }) => {
return h('div', {style: {"width": "100%", "text-align":"left"}},text)
}
},
{
title: '存储路径',
align: "center",
dataIndex: 'path'
dataIndex: 'path',
ellipsis: false,
customRender:({ text }) => {
return h('div', {style: {"width": "100%", "text-align":"left"}},text)
}
},
{
title: '创建人',

View File

@ -9,7 +9,8 @@ export const columns: BasicColumn[] = [
title: '课程任务代码',
align: "center",
dataIndex: 'kcrwdm',
width: 200,
width: 280,
ellipsis: false
},
{
title: '年级',

View File

@ -7,6 +7,8 @@
import { ref, unref, toRaw } from 'vue';
import { BasicModal, useModalInner } from '/src/components/Modal';
import { BasicTable, useTable, TableAction } from '/src/components/Table';
import { useMessage } from '/@/hooks/web/useMessage';
const { createMessage } = useMessage();
import { userColumnsNew, searchUserFormSchemaNew } from '../role.data';
import { expertList } from '../../user/user.api';
// Emits
@ -49,6 +51,10 @@
//
function handleSubmit() {
if(checkedKeys.value.length <1){
createMessage.warning('请选择要授权的专家!');
return ;
}
setModalProps({ confirmLoading: true });
//
closeModal();

View File

@ -74,9 +74,15 @@ export const searchFormSchema: FormSchema[] = [
export const searchUserFormSchemaNew: FormSchema[] = [
{
field: 'username',
label: '专家账号',
label: '账号',
component: 'Input',
colProps: { span: 12 },
colProps: { span: 6 },
},
{
field: 'realname',
label: '姓名',
component: 'Input',
colProps: { span: 6 },
},
];