diff --git a/src/components/semri/deptUserComponent/SzDeptUserModal.vue b/src/components/semri/deptUserComponent/SzDeptUserModal.vue index fe8c837..fd558c6 100644 --- a/src/components/semri/deptUserComponent/SzDeptUserModal.vue +++ b/src/components/semri/deptUserComponent/SzDeptUserModal.vue @@ -9,7 +9,7 @@ :disabled="disabled" :open="false" mode="multiple" - :maxTagCount="3" + :maxTagCount="maxTagCount" style="width: 100%" @update:value="handleSelectRemove" @click="openModal()" @@ -23,7 +23,7 @@ :disabled="disabled" :open="false" mode="multiple" - :maxTagCount="3" + :maxTagCount="maxTagCount" style="width: 100%" @update:value="handleSelectRemove" /> @@ -81,6 +81,7 @@ const props = withDefaults( title?: string; hideTrigger?: boolean; triggerMode?: 'button' | 'input'; + maxTagCount?: number; }>(), { value: '', @@ -94,6 +95,7 @@ const props = withDefaults( title: '选择人员', hideTrigger: false, triggerMode: 'button', + maxTagCount: 3, } ); diff --git a/src/views/bg/bgpartymatter/components/BgPartymatterBPMForm.vue b/src/views/bg/bgpartymatter/components/BgPartymatterBPMForm.vue index c078d52..130b4b6 100644 --- a/src/views/bg/bgpartymatter/components/BgPartymatterBPMForm.vue +++ b/src/views/bg/bgpartymatter/components/BgPartymatterBPMForm.vue @@ -286,7 +286,7 @@