|
@@ -30,6 +30,21 @@ export const columns: BasicColumn[] = [
|
|
|
align: "center",
|
|
|
dataIndex: 'status_dictText'
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '作者',
|
|
|
+ align: "center",
|
|
|
+ dataIndex: 'createBy_dictText'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '部门',
|
|
|
+ align: "center",
|
|
|
+ dataIndex: 'sysOrgCode_dictText'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '日期',
|
|
|
+ align: "center",
|
|
|
+ dataIndex: 'createTime'
|
|
|
+ },
|
|
|
];
|
|
|
//查询数据
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
@@ -38,6 +53,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
field: "title",
|
|
|
component: 'JInput',
|
|
|
colProps: {span: 6},
|
|
|
+
|
|
|
},
|
|
|
{
|
|
|
label: "状态",
|
|
@@ -46,9 +62,20 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
component: 'JDictSelectTag',
|
|
|
componentProps: {
|
|
|
dictCode: 'kms_knowledge_article_status',
|
|
|
+ showSearch: true,
|
|
|
stringToNumber: true,
|
|
|
},
|
|
|
},
|
|
|
+ {
|
|
|
+ label: '作者',
|
|
|
+ field: "createBy",
|
|
|
+ colProps: {span: 6},
|
|
|
+ component: 'JDictSelectTag',
|
|
|
+ componentProps: {
|
|
|
+ showSearch: true,
|
|
|
+ dictCode: 'sys_user,realname,username,status="1"',
|
|
|
+ },
|
|
|
+ },
|
|
|
];
|
|
|
//表单数据
|
|
|
export const formSchema: FormSchema[] = [
|