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