mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 08:16:46 +08:00
fix:项目内学员搜索问题
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
</template>
|
</template>
|
||||||
搜索
|
搜索
|
||||||
</a-button>
|
</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-button>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -377,7 +377,10 @@ const stuTableRef = ref();
|
|||||||
const projectParams = ref({ pid: props.infoId, type: props.infoType });
|
const projectParams = ref({ pid: props.infoId, type: props.infoType });
|
||||||
|
|
||||||
const getProjectStu = () => projectStuTableRef.value.fetch();
|
const getProjectStu = () => projectStuTableRef.value.fetch();
|
||||||
const resetProjectStu = () => projectStuTableRef.value.reset();
|
const resetProjectStu = () => {
|
||||||
|
projectParams.value.studentName = "";
|
||||||
|
projectStuTableRef.value.reset()
|
||||||
|
};
|
||||||
|
|
||||||
const person = ref(false);
|
const person = ref(false);
|
||||||
const group = ref(false);
|
const group = ref(false);
|
||||||
@@ -541,6 +544,8 @@ const orgRowSelection = computed(() => ({
|
|||||||
|
|
||||||
const closeDrawer = () => {
|
const closeDrawer = () => {
|
||||||
deleteDepSelect();
|
deleteDepSelect();
|
||||||
|
projectParams.value.studentName = "";
|
||||||
|
projectStuTableRef.value.reset();
|
||||||
visiable.value = false;
|
visiable.value = false;
|
||||||
nameSearch.value.keyword = "";
|
nameSearch.value.keyword = "";
|
||||||
selectedOrgKeys.value = [];
|
selectedOrgKeys.value = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user