|
@@ -14,7 +14,8 @@ import {
|
|
|
List,
|
|
|
PullRefresh,
|
|
|
ActionSheet,
|
|
|
- showToast
|
|
|
+ showToast,
|
|
|
+ Picker
|
|
|
} from 'vant'
|
|
|
import OFullRefresh from '@/components/o-full-refresh'
|
|
|
|
|
@@ -134,6 +135,9 @@ export default defineComponent({
|
|
|
getList()
|
|
|
}
|
|
|
const checkOrchestra = (val: any) => {
|
|
|
+ console.log(val)
|
|
|
+ console.log('🚀 ~ file: index.tsx:146 ~ checkOrchestra ~ state.actions', state.actions)
|
|
|
+
|
|
|
forms.orchestraId = val.value
|
|
|
forms.orchestraName = val.name
|
|
|
state.showPopoverOrchestra = false
|
|
@@ -141,6 +145,10 @@ export default defineComponent({
|
|
|
getList()
|
|
|
}
|
|
|
|
|
|
+ const changeOrchestra = (val: any) => {
|
|
|
+ console.log('changeOrchestra', val)
|
|
|
+ }
|
|
|
+
|
|
|
const checkSubject = (val: any) => {
|
|
|
forms.subjectId = val.value
|
|
|
forms.subjectName = val.name
|
|
@@ -324,6 +332,18 @@ export default defineComponent({
|
|
|
actions={state.actions}
|
|
|
onSelect={checkOrchestra}
|
|
|
></ActionSheet>
|
|
|
+ {/* <Popup v-model:show={state.showPopoverOrchestra} position="bottom" round>
|
|
|
+ <Picker
|
|
|
+ columns={state.actions}
|
|
|
+ onCancel={() => (state.showPopoverOrchestra = false)}
|
|
|
+ onConfirm={(val: any) => checkOrchestra(val)}
|
|
|
+ onChange={(val: any) => {
|
|
|
+ console.log('改变')
|
|
|
+ changeOrchestra(val)
|
|
|
+ }}
|
|
|
+ columnsFieldNames={{ text: 'name', value: 'id' }}
|
|
|
+ />
|
|
|
+ </Popup> */}
|
|
|
|
|
|
<ActionSheet
|
|
|
style={{ height: '40%' }}
|