Prechádzať zdrojové kódy

Update material-list.tsx

lex 1 rok pred
rodič
commit
449d69a215

+ 13 - 0
src/views/educational-manage/component/material-list.tsx

@@ -59,6 +59,7 @@ export default defineComponent({
     const searchForm = reactive({
       keyword: null as any,
       time: null as any,
+      containMusic: null as any,
       courseTypeCode: null,
       materialCategoryId: null,
       type: null
@@ -368,6 +369,18 @@ export default defineComponent({
           <NFormItem label="课程类型" path="courseTypeCode">
             <NSelect clearable v-model:value={searchForm.courseTypeCode} options={lessonType} />
           </NFormItem>
+          <NFormItem label="关联曲目" path="containMusic">
+            <NSelect
+              clearable
+              v-model:value={searchForm.containMusic}
+              options={
+                [
+                  { label: '关联', value: true },
+                  { label: '不关联', value: false }
+                ] as any
+              }
+            />
+          </NFormItem>
           <NFormItem label="搜索时间" path="time">
             <NDatePicker
               class={styles.datepicker}