|
@@ -164,40 +164,41 @@ export default defineComponent({
|
|
|
)}
|
|
|
</OFullRefresh>
|
|
|
|
|
|
- {state.platformType == 'STUDENT' && (
|
|
|
- <OSticky
|
|
|
- position="bottom"
|
|
|
- onGetHeight={(height: any) => {
|
|
|
- document.documentElement.style.setProperty('--footer-height', height + 'px')
|
|
|
- }}
|
|
|
- >
|
|
|
- <div class="btnGroup" style="padding-top: 12px">
|
|
|
- {(modelData.orchestra?.status === 'REGISTER' ||
|
|
|
- modelData.orchestra?.status === 'LEARNING') && (
|
|
|
- <Button
|
|
|
- type="primary"
|
|
|
- round
|
|
|
- block
|
|
|
- onClick={() => {
|
|
|
- router.push({
|
|
|
- path: '/apply-withdrawal',
|
|
|
- query: {
|
|
|
- id: modelData.orchestra?.orchestraId
|
|
|
- }
|
|
|
- })
|
|
|
- }}
|
|
|
- >
|
|
|
- 申请退团
|
|
|
- </Button>
|
|
|
- )}
|
|
|
- {modelData.orchestra?.status === 'AUTH' && (
|
|
|
- <Button type="primary" round block disabled>
|
|
|
- 申请退团中
|
|
|
- </Button>
|
|
|
- )}
|
|
|
- </div>
|
|
|
- </OSticky>
|
|
|
- )}
|
|
|
+ {state.platformType == 'STUDENT' &&
|
|
|
+ ['REGISTER', 'LEARNING', 'AUTH'].includes(modelData.orchestra?.status) && (
|
|
|
+ <OSticky
|
|
|
+ position="bottom"
|
|
|
+ onGetHeight={(height: any) => {
|
|
|
+ document.documentElement.style.setProperty('--footer-height', height + 'px')
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ <div class="btnGroup" style="padding-top: 12px">
|
|
|
+ {(modelData.orchestra?.status === 'REGISTER' ||
|
|
|
+ modelData.orchestra?.status === 'LEARNING') && (
|
|
|
+ <Button
|
|
|
+ type="primary"
|
|
|
+ round
|
|
|
+ block
|
|
|
+ onClick={() => {
|
|
|
+ router.push({
|
|
|
+ path: '/apply-withdrawal',
|
|
|
+ query: {
|
|
|
+ id: modelData.orchestra?.orchestraId
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 申请退团
|
|
|
+ </Button>
|
|
|
+ )}
|
|
|
+ {modelData.orchestra?.status === 'AUTH' && (
|
|
|
+ <Button type="primary" round block disabled>
|
|
|
+ 申请退团中
|
|
|
+ </Button>
|
|
|
+ )}
|
|
|
+ </div>
|
|
|
+ </OSticky>
|
|
|
+ )}
|
|
|
|
|
|
<Popup
|
|
|
v-model:show={modelData.orchestraStatus}
|