|
@@ -190,7 +190,7 @@
|
|
|
const tableQueryType = ref<string>('姓名');
|
|
const tableQueryType = ref<string>('姓名');
|
|
|
const handleTableQueryTypeChange = (v: string) => {
|
|
const handleTableQueryTypeChange = (v: string) => {
|
|
|
if (v === '姓名') {
|
|
if (v === '姓名') {
|
|
|
- delete tableQueryParams.value.stuffNo;
|
|
|
|
|
|
|
+ delete tableQueryParams.value.staffNo;
|
|
|
} else {
|
|
} else {
|
|
|
delete tableQueryParams.value.nickname;
|
|
delete tableQueryParams.value.nickname;
|
|
|
}
|
|
}
|
|
@@ -208,7 +208,7 @@
|
|
|
if (tableQueryType.value === '姓名') {
|
|
if (tableQueryType.value === '姓名') {
|
|
|
tableQueryParams.value.nickname = tableQueryTypeContent.value;
|
|
tableQueryParams.value.nickname = tableQueryTypeContent.value;
|
|
|
} else {
|
|
} else {
|
|
|
- tableQueryParams.value.stuffNo = tableQueryTypeContent.value;
|
|
|
|
|
|
|
+ tableQueryParams.value.staffNo = tableQueryTypeContent.value;
|
|
|
}
|
|
}
|
|
|
emits('tableParamsChanged', tableQueryParams.value);
|
|
emits('tableParamsChanged', tableQueryParams.value);
|
|
|
}
|
|
}
|