|
@@ -35,7 +35,7 @@ export default defineComponent({
|
|
|
actionShow: false,
|
|
|
actionName: '课程类型' as string | undefined,
|
|
|
actionKey: '',
|
|
|
- showRight: true, // route.query.code != 'select' && browser().isTeacher
|
|
|
+ showRight: true // route.query.code != 'select' && browser().isTeacher
|
|
|
})
|
|
|
const filterData = (list: any[]) => {
|
|
|
const schoolTerm = {}
|
|
@@ -162,23 +162,15 @@ export default defineComponent({
|
|
|
)
|
|
|
})}
|
|
|
{!data.loading && !Object.values(data.list).length && <OEmpty tips="没有课件" />}
|
|
|
- {/* <ActionSheet
|
|
|
-
|
|
|
- class='popupBottomSearch'
|
|
|
- v-model:show={data.actionShow}
|
|
|
- cancelText="全部课程类型"
|
|
|
- actions={actions.value}
|
|
|
- onCancel={() => {
|
|
|
- data.actionKey = ''
|
|
|
- data.actionName = '课程类型'
|
|
|
- getList()
|
|
|
- }}
|
|
|
- onSelect={handleSelect}
|
|
|
- /> */}
|
|
|
- <Popup position='bottom' round v-model:show={data.actionShow}>
|
|
|
- <Picker class="popupBottomSearch" columns={actions.value} onConfirm={({selectedOptions}) => {
|
|
|
- handleSelect(selectedOptions[0])
|
|
|
- }} />
|
|
|
+ <Popup position="bottom" round v-model:show={data.actionShow}>
|
|
|
+ <Picker
|
|
|
+ class="popupBottomSearch"
|
|
|
+ columns={actions.value}
|
|
|
+ onCancel={() => (data.actionShow = false)}
|
|
|
+ onConfirm={({ selectedOptions }) => {
|
|
|
+ handleSelect(selectedOptions[0])
|
|
|
+ }}
|
|
|
+ />
|
|
|
</Popup>
|
|
|
</div>
|
|
|
)
|