|
|
@ -15,7 +15,15 @@ |
|
|
|
* limitations under the License. |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
import { defineComponent, PropType, toRefs, onMounted, ref, Ref, getCurrentInstance } from 'vue' |
|
|
|
import { |
|
|
|
|
|
|
|
defineComponent, |
|
|
|
|
|
|
|
PropType, |
|
|
|
|
|
|
|
toRefs, |
|
|
|
|
|
|
|
onMounted, |
|
|
|
|
|
|
|
ref, |
|
|
|
|
|
|
|
Ref, |
|
|
|
|
|
|
|
getCurrentInstance |
|
|
|
|
|
|
|
} from 'vue' |
|
|
|
import { NForm, NFormItem, NInput, NSelect, NInputNumber } from 'naive-ui' |
|
|
|
import { NForm, NFormItem, NInput, NSelect, NInputNumber } from 'naive-ui' |
|
|
|
import { useForm } from '../use-form' |
|
|
|
import { useForm } from '../use-form' |
|
|
|
import Modal from '@/components/modal' |
|
|
|
import Modal from '@/components/modal' |
|
|
@ -106,7 +114,7 @@ const FormModal = defineComponent({ |
|
|
|
confirmDisabled={ |
|
|
|
confirmDisabled={ |
|
|
|
!this.formData.name || |
|
|
|
!this.formData.name || |
|
|
|
!this.formData.groupSize || |
|
|
|
!this.formData.groupSize || |
|
|
|
!this.formData.description |
|
|
|
!this.formData.projectCode |
|
|
|
} |
|
|
|
} |
|
|
|
confirmLoading={this.saving} |
|
|
|
confirmLoading={this.saving} |
|
|
|
> |
|
|
|
> |
|
|
|