|  | @@ -42,27 +42,15 @@ export default defineComponent({
 | 
	
		
			
				|  |  |      const columns = () => {
 | 
	
		
			
				|  |  |        return [
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  | -          title: '姓名',
 | 
	
		
			
				|  |  | +          title: '班级名称',
 | 
	
		
			
				|  |  |            key: 'id'
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  | -          title: '手机号',
 | 
	
		
			
				|  |  | +          title: '学生人数',
 | 
	
		
			
				|  |  |            key: 'id'
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  | -          title: '性别',
 | 
	
		
			
				|  |  | -          key: 'id'
 | 
	
		
			
				|  |  | -        },
 | 
	
		
			
				|  |  | -        {
 | 
	
		
			
				|  |  | -          title: '乐器',
 | 
	
		
			
				|  |  | -          key: 'id'
 | 
	
		
			
				|  |  | -        },
 | 
	
		
			
				|  |  | -        {
 | 
	
		
			
				|  |  | -          title: '班级',
 | 
	
		
			
				|  |  | -          key: 'id'
 | 
	
		
			
				|  |  | -        },
 | 
	
		
			
				|  |  | -        {
 | 
	
		
			
				|  |  | -          title: '学生类型',
 | 
	
		
			
				|  |  | +          title: '上次学习',
 | 
	
		
			
				|  |  |            key: 'id'
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          {
 | 
	
	
		
			
				|  | @@ -72,93 +60,88 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        ];
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |      return () => (
 | 
	
		
			
				|  |  | -      <>
 | 
	
		
			
				|  |  | -        <div class={styles.listWrap}>
 | 
	
		
			
				|  |  | -          <div class={styles.searchList}>
 | 
	
		
			
				|  |  | -            <NForm label-placement="left" inline>
 | 
	
		
			
				|  |  | -              <NFormItem>
 | 
	
		
			
				|  |  | -                <SearchInput
 | 
	
		
			
				|  |  | -                  class={styles.searchInput}
 | 
	
		
			
				|  |  | -                  searchWord={state.searchWord}
 | 
	
		
			
				|  |  | -                  onChangeValue={(val: string) =>
 | 
	
		
			
				|  |  | -                    (state.searchWord = val)
 | 
	
		
			
				|  |  | -                  }></SearchInput>
 | 
	
		
			
				|  |  | -              </NFormItem>
 | 
	
		
			
				|  |  | +      <div class={styles.listWrap}>
 | 
	
		
			
				|  |  | +        <div class={styles.searchList}>
 | 
	
		
			
				|  |  | +          <NForm label-placement="left" inline>
 | 
	
		
			
				|  |  | +            <NFormItem>
 | 
	
		
			
				|  |  | +              <SearchInput
 | 
	
		
			
				|  |  | +                class={styles.searchInput}
 | 
	
		
			
				|  |  | +                searchWord={state.searchWord}
 | 
	
		
			
				|  |  | +                onChangeValue={(val: string) =>
 | 
	
		
			
				|  |  | +                  (state.searchWord = val)
 | 
	
		
			
				|  |  | +                }></SearchInput>
 | 
	
		
			
				|  |  | +            </NFormItem>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -              <NFormItem>
 | 
	
		
			
				|  |  | -                <CSelect
 | 
	
		
			
				|  |  | -                  {...({
 | 
	
		
			
				|  |  | -                    options: [
 | 
	
		
			
				|  |  | -                      {
 | 
	
		
			
				|  |  | -                        label:
 | 
	
		
			
				|  |  | -                          "Everybody's Got Something to Hide Except Me and My Monkey",
 | 
	
		
			
				|  |  | -                        value: 'song0'
 | 
	
		
			
				|  |  | -                      },
 | 
	
		
			
				|  |  | -                      {
 | 
	
		
			
				|  |  | -                        label: 'Drive My Car',
 | 
	
		
			
				|  |  | -                        value: 'song1'
 | 
	
		
			
				|  |  | -                      }
 | 
	
		
			
				|  |  | -                    ],
 | 
	
		
			
				|  |  | -                    placeholder: '学生声部',
 | 
	
		
			
				|  |  | -                    clearable: true
 | 
	
		
			
				|  |  | -                  } as any)}
 | 
	
		
			
				|  |  | -                  v-model:value={state.orchestraType}></CSelect>
 | 
	
		
			
				|  |  | -              </NFormItem>
 | 
	
		
			
				|  |  | -              <NFormItem>
 | 
	
		
			
				|  |  | -                <CSelect
 | 
	
		
			
				|  |  | -                  {...({
 | 
	
		
			
				|  |  | -                    options: [
 | 
	
		
			
				|  |  | -                      {
 | 
	
		
			
				|  |  | -                        label:
 | 
	
		
			
				|  |  | -                          "Everybody's Got Something to Hide Except Me and My Monkey",
 | 
	
		
			
				|  |  | -                        value: 'song0'
 | 
	
		
			
				|  |  | -                      },
 | 
	
		
			
				|  |  | -                      {
 | 
	
		
			
				|  |  | -                        label: 'Drive My Car',
 | 
	
		
			
				|  |  | -                        value: 'song1'
 | 
	
		
			
				|  |  | -                      }
 | 
	
		
			
				|  |  | -                    ],
 | 
	
		
			
				|  |  | -                    placeholder: '年级班级',
 | 
	
		
			
				|  |  | -                    clearable: true
 | 
	
		
			
				|  |  | -                  } as any)}
 | 
	
		
			
				|  |  | -                  v-model:value={state.orchestraType}></CSelect>
 | 
	
		
			
				|  |  | -              </NFormItem>
 | 
	
		
			
				|  |  | -              <NFormItem>
 | 
	
		
			
				|  |  | -                <CSelect
 | 
	
		
			
				|  |  | -                  {...({
 | 
	
		
			
				|  |  | -                    options: [
 | 
	
		
			
				|  |  | -                      {
 | 
	
		
			
				|  |  | -                        label:
 | 
	
		
			
				|  |  | -                          "Everybody's Got Something to Hide Except Me and My Monkey",
 | 
	
		
			
				|  |  | -                        value: 'song0'
 | 
	
		
			
				|  |  | -                      },
 | 
	
		
			
				|  |  | -                      {
 | 
	
		
			
				|  |  | -                        label: 'Drive My Car',
 | 
	
		
			
				|  |  | -                        value: 'song1'
 | 
	
		
			
				|  |  | -                      }
 | 
	
		
			
				|  |  | -                    ],
 | 
	
		
			
				|  |  | -                    placeholder: '学生类型',
 | 
	
		
			
				|  |  | -                    clearable: true
 | 
	
		
			
				|  |  | -                  } as any)}
 | 
	
		
			
				|  |  | -                  v-model:value={state.orchestraType}></CSelect>
 | 
	
		
			
				|  |  | -              </NFormItem>
 | 
	
		
			
				|  |  | -              <NFormItem>
 | 
	
		
			
				|  |  | -                <NSpace justify="end">
 | 
	
		
			
				|  |  | -                  <NButton
 | 
	
		
			
				|  |  | -                    type="primary"
 | 
	
		
			
				|  |  | -                    ghost
 | 
	
		
			
				|  |  | -                    class="resetBtn"
 | 
	
		
			
				|  |  | -                    onClick={search}>
 | 
	
		
			
				|  |  | -                    搜索
 | 
	
		
			
				|  |  | -                  </NButton>
 | 
	
		
			
				|  |  | -                  <NButton type="primary" class="searchBtn" onClick={onReset}>
 | 
	
		
			
				|  |  | -                    重置
 | 
	
		
			
				|  |  | -                  </NButton>
 | 
	
		
			
				|  |  | -                </NSpace>
 | 
	
		
			
				|  |  | -              </NFormItem>
 | 
	
		
			
				|  |  | -            </NForm>
 | 
	
		
			
				|  |  | -          </div>
 | 
	
		
			
				|  |  | -          <NButton
 | 
	
		
			
				|  |  | +            <NFormItem>
 | 
	
		
			
				|  |  | +              <CSelect
 | 
	
		
			
				|  |  | +                {...({
 | 
	
		
			
				|  |  | +                  options: [
 | 
	
		
			
				|  |  | +                    {
 | 
	
		
			
				|  |  | +                      label:
 | 
	
		
			
				|  |  | +                        "Everybody's Got Something to Hide Except Me and My Monkey",
 | 
	
		
			
				|  |  | +                      value: 'song0'
 | 
	
		
			
				|  |  | +                    },
 | 
	
		
			
				|  |  | +                    {
 | 
	
		
			
				|  |  | +                      label: 'Drive My Car',
 | 
	
		
			
				|  |  | +                      value: 'song1'
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                  ],
 | 
	
		
			
				|  |  | +                  placeholder: '学生声部',
 | 
	
		
			
				|  |  | +                  clearable: true
 | 
	
		
			
				|  |  | +                } as any)}
 | 
	
		
			
				|  |  | +                v-model:value={state.orchestraType}></CSelect>
 | 
	
		
			
				|  |  | +            </NFormItem>
 | 
	
		
			
				|  |  | +            <NFormItem>
 | 
	
		
			
				|  |  | +              <CSelect
 | 
	
		
			
				|  |  | +                {...({
 | 
	
		
			
				|  |  | +                  options: [
 | 
	
		
			
				|  |  | +                    {
 | 
	
		
			
				|  |  | +                      label:
 | 
	
		
			
				|  |  | +                        "Everybody's Got Something to Hide Except Me and My Monkey",
 | 
	
		
			
				|  |  | +                      value: 'song0'
 | 
	
		
			
				|  |  | +                    },
 | 
	
		
			
				|  |  | +                    {
 | 
	
		
			
				|  |  | +                      label: 'Drive My Car',
 | 
	
		
			
				|  |  | +                      value: 'song1'
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                  ],
 | 
	
		
			
				|  |  | +                  placeholder: '年级班级',
 | 
	
		
			
				|  |  | +                  clearable: true
 | 
	
		
			
				|  |  | +                } as any)}
 | 
	
		
			
				|  |  | +                v-model:value={state.orchestraType}></CSelect>
 | 
	
		
			
				|  |  | +            </NFormItem>
 | 
	
		
			
				|  |  | +            <NFormItem>
 | 
	
		
			
				|  |  | +              <CSelect
 | 
	
		
			
				|  |  | +                {...({
 | 
	
		
			
				|  |  | +                  options: [
 | 
	
		
			
				|  |  | +                    {
 | 
	
		
			
				|  |  | +                      label:
 | 
	
		
			
				|  |  | +                        "Everybody's Got Something to Hide Except Me and My Monkey",
 | 
	
		
			
				|  |  | +                      value: 'song0'
 | 
	
		
			
				|  |  | +                    },
 | 
	
		
			
				|  |  | +                    {
 | 
	
		
			
				|  |  | +                      label: 'Drive My Car',
 | 
	
		
			
				|  |  | +                      value: 'song1'
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                  ],
 | 
	
		
			
				|  |  | +                  placeholder: '学生类型',
 | 
	
		
			
				|  |  | +                  clearable: true
 | 
	
		
			
				|  |  | +                } as any)}
 | 
	
		
			
				|  |  | +                v-model:value={state.orchestraType}></CSelect>
 | 
	
		
			
				|  |  | +            </NFormItem>
 | 
	
		
			
				|  |  | +            <NFormItem>
 | 
	
		
			
				|  |  | +              <NSpace justify="end">
 | 
	
		
			
				|  |  | +                <NButton type="primary" ghost class="resetBtn" onClick={search}>
 | 
	
		
			
				|  |  | +                  搜索
 | 
	
		
			
				|  |  | +                </NButton>
 | 
	
		
			
				|  |  | +                <NButton type="primary" class="searchBtn" onClick={onReset}>
 | 
	
		
			
				|  |  | +                  重置
 | 
	
		
			
				|  |  | +                </NButton>
 | 
	
		
			
				|  |  | +              </NSpace>
 | 
	
		
			
				|  |  | +            </NFormItem>
 | 
	
		
			
				|  |  | +          </NForm>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +        {/* <NButton
 | 
	
		
			
				|  |  |              class={styles.addBtn}
 | 
	
		
			
				|  |  |              type="primary"
 | 
	
		
			
				|  |  |              v-slots={{
 | 
	
	
		
			
				|  | @@ -169,24 +152,23 @@ export default defineComponent({
 | 
	
		
			
				|  |  |                )
 | 
	
		
			
				|  |  |              }}>
 | 
	
		
			
				|  |  |              新增学生
 | 
	
		
			
				|  |  | -          </NButton>
 | 
	
		
			
				|  |  | -          <div class={styles.tableWrap}>
 | 
	
		
			
				|  |  | -            <NDataTable
 | 
	
		
			
				|  |  | -              class={styles.classTable}
 | 
	
		
			
				|  |  | -              loading={state.loading}
 | 
	
		
			
				|  |  | -              columns={columns()}
 | 
	
		
			
				|  |  | -              data={state.tableList}></NDataTable>
 | 
	
		
			
				|  |  | -            <Pagination
 | 
	
		
			
				|  |  | -              v-model:page={state.pagination.page}
 | 
	
		
			
				|  |  | -              v-model:pageSize={state.pagination.rows}
 | 
	
		
			
				|  |  | -              v-model:pageTotal={state.pagination.pageTotal}
 | 
	
		
			
				|  |  | -              onList={getList}
 | 
	
		
			
				|  |  | -              sync
 | 
	
		
			
				|  |  | -              saveKey="orchestraRegistration-key"
 | 
	
		
			
				|  |  | -            />
 | 
	
		
			
				|  |  | -          </div>
 | 
	
		
			
				|  |  | +          </NButton> */}
 | 
	
		
			
				|  |  | +        <div class={styles.tableWrap}>
 | 
	
		
			
				|  |  | +          <NDataTable
 | 
	
		
			
				|  |  | +            class={styles.classTable}
 | 
	
		
			
				|  |  | +            loading={state.loading}
 | 
	
		
			
				|  |  | +            columns={columns()}
 | 
	
		
			
				|  |  | +            data={state.tableList}></NDataTable>
 | 
	
		
			
				|  |  | +          <Pagination
 | 
	
		
			
				|  |  | +            v-model:page={state.pagination.page}
 | 
	
		
			
				|  |  | +            v-model:pageSize={state.pagination.rows}
 | 
	
		
			
				|  |  | +            v-model:pageTotal={state.pagination.pageTotal}
 | 
	
		
			
				|  |  | +            onList={getList}
 | 
	
		
			
				|  |  | +            sync
 | 
	
		
			
				|  |  | +            saveKey="orchestraRegistration-key"
 | 
	
		
			
				|  |  | +          />
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  | -      </>
 | 
	
		
			
				|  |  | +      </div>
 | 
	
		
			
				|  |  |      );
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  });
 |