fix: OSS资源管理运营端增加按店铺名称搜索

master
lele0521 2024-03-19 17:58:45 +08:00
parent ce629a1fb6
commit 36190438f0
1 changed files with 13 additions and 3 deletions

View File

@ -53,6 +53,15 @@
@on-change="selectDateRange"
></DatePicker>
</Form-item>
<Form-item label="上传人" prop="ownerName">
<Input
type="text"
v-model="searchForm.ownerName"
placeholder="图片拥有者名称"
clearable
style="width: 200px"
/>
</Form-item>
<Button
class="search-btn"
icon="ios-search"
@ -469,8 +478,9 @@ export default {
name: "",
fileKey: "",
fileType: "",
ownerName: "",
pageNumber: 1, //
pageSize: 27, //
pageSize: 20, //
sort: "createTime", //
order: "desc", //
startDate: "", //
@ -1138,7 +1148,7 @@ export default {
changeShowType() {
this.searchForm.pageNumber = 1;
if (this.showType == "list") {
this.searchForm.pageSize = 10;
this.searchForm.pageSize = 20;
} else {
this.searchForm.pageSize = 12;
}
@ -1167,7 +1177,7 @@ export default {
this.searchForm.title = this.searchForm.name;
this.searchForm.pageNumber = 1;
if (this.showType == "list") {
this.searchForm.pageSize = 5;
this.searchForm.pageSize = 20;
} else {
this.searchForm.pageSize = 12;
}