将队长改为组长

main
王家东 4 months ago
parent 18a9a6689b
commit b7b5e412c8
  1. 4
      jeecgboot-vue3-master/src/views/expgroup/ExpGroup.data.ts
  2. 4
      jeecgboot-vue3-master/src/views/expgroup/ExpGroupList.vue
  3. 12
      jeecgboot-vue3-master/src/views/expgroup/components/ExpGroupForm.vue

@ -10,7 +10,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'grouid_dictText' dataIndex: 'grouid_dictText'
}, },
{ {
title: '是否长', title: '是否长',
align: "center", align: "center",
dataIndex: 'islead', dataIndex: 'islead',
customRender:({text}) => { customRender:({text}) => {
@ -39,7 +39,7 @@ export const formSchema: FormSchema[] = [
}, },
}, },
{ {
label: '是否长', label: '是否长',
field: 'islead', field: 'islead',
component: 'JSwitch', component: 'JSwitch',
componentProps:{ componentProps:{

@ -174,9 +174,9 @@
} }
}, },
{ {
label: '设为长', label: '设为长',
popConfirm: { popConfirm: {
title: '是否设为长', title: '是否设为长',
confirm: szdz.bind(null, record), confirm: szdz.bind(null, record),
} }
}, },

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

Loading…
Cancel
Save