|
@@ -1,20 +1,15 @@
|
|
|
<template>
|
|
|
<div class="padding-20">
|
|
|
<div class="search-box">
|
|
|
- <el-form ref="form" :inline="true" :model="searchForm" clearable label-width="100px" class="mt-10">
|
|
|
- <el-form-item label="开放预定日期:">
|
|
|
- <el-date-picker
|
|
|
- :editable="false"
|
|
|
- v-model="time"
|
|
|
- @change="timearr => {timearr ? (searchForm.start_time = timearr[0] + ' 00:00:00', searchForm.end_time = timearr[1] + ' 23:59:59') : searchForm.start_time = searchForm.end_time = undefined}"
|
|
|
- type="daterange"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- start-placeholder="开始时间"
|
|
|
- end-placeholder="结束时间"
|
|
|
- ></el-date-picker>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="座位名称:">
|
|
|
- <el-input v-model="searchForm.department_name" placeholder="请输入座位名称" clearable></el-input>
|
|
|
+ <el-form
|
|
|
+ ref="form"
|
|
|
+ :inline="true"
|
|
|
+ :model="searchForm"
|
|
|
+ clearable
|
|
|
+ class="mt-10">
|
|
|
+ <!--TODO 用户ID查找歌曲时,建议回传用户信息-->
|
|
|
+ <el-form-item label="用户ID:">
|
|
|
+ <el-input v-model="searchForm.id" placeholder="请输入用户ID" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item class="ml-10">
|
|
|
<el-button icon="el-icon-search" type="primary" @click="searchSubmit">查询</el-button>
|
|
@@ -85,7 +80,6 @@ export default {
|
|
|
show: false,
|
|
|
exData: {}
|
|
|
},
|
|
|
- time: [],
|
|
|
searchForm: {},
|
|
|
tableData: [],
|
|
|
tableUrl: '/v1/user/song/list'
|
|
@@ -118,7 +112,7 @@ export default {
|
|
|
// 用户ID
|
|
|
this.$set(this.searchForm, 'id', this.$route.query.id)
|
|
|
this.init()
|
|
|
- },
|
|
|
+ }
|
|
|
}
|
|
|
</script>
|
|
|
|