|
|
|
@ -8,7 +8,7 @@ |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-item label="是否队长" v-bind="validateInfos.islead"> |
|
|
|
|
<a-form-item label="是否组长" v-bind="validateInfos.islead"> |
|
|
|
|
<j-switch v-model:value="formData.islead" :disabled="disabled"></j-switch> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
@ -31,7 +31,7 @@ |
|
|
|
|
import { getValueType } from '/@/utils'; |
|
|
|
|
import { saveOrUpdate } from '../ExpGroup.api'; |
|
|
|
|
import { Form } from 'ant-design-vue'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const props = defineProps({ |
|
|
|
|
formDisabled: { type: Boolean, default: false }, |
|
|
|
|
formData: { type: Object, default: ()=>{} }, |
|
|
|
@ -42,9 +42,9 @@ |
|
|
|
|
const emit = defineEmits(['register', 'ok']); |
|
|
|
|
const formData = reactive<Record<string, any>>({ |
|
|
|
|
id: '', |
|
|
|
|
grouid: '', |
|
|
|
|
islead: '', |
|
|
|
|
annCompGroupid: '', |
|
|
|
|
grouid: '', |
|
|
|
|
islead: '', |
|
|
|
|
annCompGroupid: '', |
|
|
|
|
}); |
|
|
|
|
const { createMessage } = useMessage(); |
|
|
|
|
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } }); |
|
|
|
@ -67,7 +67,7 @@ |
|
|
|
|
return props.formDisabled; |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 新增 |
|
|
|
|
*/ |
|
|
|
|