This commit is contained in:
parent
bc0e6ba142
commit
d61156cf9d
|
@ -436,7 +436,7 @@ export default {
|
|||
form: {},
|
||||
rules:{
|
||||
flowObj: [
|
||||
{ required: true, message: '请选择活动区域', trigger: 'change' }
|
||||
{ required: true, message: '请选择流转对象', trigger: 'change' }
|
||||
],
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
<div class="app-container">
|
||||
<div class="filter-container">
|
||||
<el-input v-model="listQuery.product_name" placeholder="产品名称" style="width: 200px;" class="filter-item" />
|
||||
|
||||
<el-cascader
|
||||
v-model="listQuery.os_status"
|
||||
placeholder="平台状态"
|
||||
:options="os_arr"
|
||||
class="filter-item"
|
||||
@change="handleChange"
|
||||
/>
|
||||
<el-select v-model="listQuery.os_status" placeholder="平台状态" class="filter-item">
|
||||
<el-option
|
||||
v-for="item in os_arr"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
|
||||
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getList">
|
||||
搜索
|
||||
|
@ -79,13 +79,17 @@ export default {
|
|||
limit: 10,
|
||||
product_name: ''
|
||||
},
|
||||
os_arr: { 1: '美团', 2: '快手', 3: '抖音' },
|
||||
form: {},
|
||||
rules:{
|
||||
flowObj: [
|
||||
{ required: true, message: '请选择活动区域', trigger: 'change' }
|
||||
],
|
||||
}
|
||||
os_arr: [{
|
||||
value: '1',
|
||||
label: '美团'
|
||||
}, {
|
||||
value: '2',
|
||||
label: '快手'
|
||||
}, {
|
||||
value: '3',
|
||||
label: '抖音'
|
||||
}],
|
||||
form: {}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
@ -100,11 +104,14 @@ export default {
|
|||
methods: {
|
||||
getList() {
|
||||
this.$axios.get('/admin/index/productNameList', { params: this.listQuery }).then(response => {
|
||||
console.log(response)
|
||||
this.listLoading = false
|
||||
console.log(this.listLoading)
|
||||
this.list = response.data.data
|
||||
this.total = response.data.total
|
||||
this.timetype_arr = response.ext.timetype
|
||||
this.oss = response.ext.oss
|
||||
this.listLoading = false
|
||||
|
||||
}).catch(() => {
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue