|
@@ -40,7 +40,8 @@ export default defineComponent({
|
|
|
const tempParams: any = {}
|
|
|
if (state.version) {
|
|
|
tempParams.version = state.version || '' // 处理ios审核版本
|
|
|
- tempParams.platform = 'ios-student'
|
|
|
+ tempParams.platform =
|
|
|
+ state.platformType === 'STUDENT' ? 'ios-student' : 'ios-teacher'
|
|
|
}
|
|
|
const params = reactive({
|
|
|
search: (route.query.search as string) || '',
|
|
@@ -105,7 +106,7 @@ export default defineComponent({
|
|
|
FetchList()
|
|
|
tagVisibility.value = false
|
|
|
}
|
|
|
- const onComfirmSubject = (item) => {
|
|
|
+ const onComfirmSubject = item => {
|
|
|
params.page = 1
|
|
|
params.subjectIds = item.id
|
|
|
subject.id = item.id
|
|
@@ -204,16 +205,16 @@ export default defineComponent({
|
|
|
|
|
|
{/* 声部弹框 */}
|
|
|
<Popup
|
|
|
- show={subject.show}
|
|
|
- position="bottom"
|
|
|
- round
|
|
|
- closeable
|
|
|
- safe-area-inset-bottom
|
|
|
- onClose={() => (subject.show = false)}
|
|
|
- onClosed={() => (subject.show = false)}
|
|
|
- >
|
|
|
- <SelectSubject isReset onComfirm={onComfirmSubject} />
|
|
|
- </Popup>
|
|
|
+ show={subject.show}
|
|
|
+ position="bottom"
|
|
|
+ round
|
|
|
+ closeable
|
|
|
+ safe-area-inset-bottom
|
|
|
+ onClose={() => (subject.show = false)}
|
|
|
+ onClosed={() => (subject.show = false)}
|
|
|
+ >
|
|
|
+ <SelectSubject isReset onComfirm={onComfirmSubject} />
|
|
|
+ </Popup>
|
|
|
</>
|
|
|
)
|
|
|
}
|