页面调整
This commit is contained in:
parent
1d50bf8157
commit
7e4b5106fa
|
@ -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: '创建人',
|
||||
|
|
|
@ -9,7 +9,8 @@ export const columns: BasicColumn[] = [
|
|||
title: '课程任务代码',
|
||||
align: "center",
|
||||
dataIndex: 'kcrwdm',
|
||||
width: 200,
|
||||
width: 280,
|
||||
ellipsis: false
|
||||
},
|
||||
{
|
||||
title: '年级',
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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 },
|
||||
},
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue