Переглянути джерело

Merge remote-tracking branch 'origin/dev' into dev

zcuishan 4 місяців тому
батько
коміт
f24de79e96

+ 44 - 0
src/views/teachingManager/textbookManagement/components/data.config.ts

@@ -353,6 +353,50 @@ export const formSchema: FormSchema[] = [
     },
     colProps: { span: 12 },
   },
+  {
+    label: '校企合作教材',
+    field: 'isSecd',
+    component: 'Switch',
+    // required: true,
+    colProps: { span: 12 },
+    componentProps: {
+      checkedChildren: '是',
+      unCheckedChildren: '否',
+    },
+  },
+  {
+    label: '出版日期',
+    field: 'publishingDate',
+    component: 'DatePicker',
+    // required: true,
+    colProps: { span: 12 },
+    componentProps: {
+      format: 'YYYY-MM-DD',
+      valueFormat: 'YYYY-MM-DD',
+      showTime: false,
+    },
+  },
+  {
+    label: '分类号',
+    field: 'category',
+    component: 'Input',
+    // required: true,
+    colProps: { span: 12 },
+  },
+  {
+    label: '规划批次',
+    field: 'planBatch',
+    component: 'Input',
+    // required: true,
+    colProps: { span: 12 },
+  },
+  {
+    label: '编著作总数',
+    field: 'workTotalCount',
+    component: 'InputNumber',
+    // required: true,
+    colProps: { span: 12 },
+  },
   // {
   //   label: '使用年级',
   //   field: 'gradeId',