Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
yuping
2023-03-23 14:16:58 +08:00
3 changed files with 13 additions and 8 deletions

View File

@@ -27,7 +27,7 @@
</template>
搜索
</a-button>
<a-button @click="resetProjectStu" style="margin-left: 20px; border-radius: 4px">重置
<a-button type="primary" @click="resetProjectStu" style="margin-left: 20px; border-radius: 4px">重置
</a-button>
</a-form-item>
</div>
@@ -377,7 +377,10 @@ const stuTableRef = ref();
const projectParams = ref({ pid: props.infoId, type: props.infoType });
const getProjectStu = () => projectStuTableRef.value.fetch();
const resetProjectStu = () => projectStuTableRef.value.reset();
const resetProjectStu = () => {
projectParams.value.studentName = "";
projectStuTableRef.value.reset()
};
const person = ref(false);
const group = ref(false);
@@ -541,6 +544,8 @@ const orgRowSelection = computed(() => ({
const closeDrawer = () => {
deleteDepSelect();
projectParams.value.studentName = "";
projectStuTableRef.value.reset();
visiable.value = false;
nameSearch.value.keyword = "";
selectedOrgKeys.value = [];