feat(goodsList): 移除置顶置底操作
This commit is contained in:
parent
a1e914aee0
commit
1e410fb30e
|
@ -467,22 +467,7 @@ export function waresMove(params) {
|
|||
params
|
||||
})
|
||||
}
|
||||
// 商品置顶
|
||||
export function waresTop(params) {
|
||||
return request({
|
||||
url: '/sale/manage/wares/floating-roof',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 商品置底
|
||||
export function waresBottom(params) {
|
||||
return request({
|
||||
url: '/sale/manage/wares/botton-up',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 邮费模板列表
|
||||
export function postageList(params) {
|
||||
return request({
|
||||
|
|
|
@ -660,24 +660,7 @@
|
|||
>
|
||||
{{ '下移' }}
|
||||
</div> -->
|
||||
<div
|
||||
v-hasButtons="['GoodsListTop']"
|
||||
type="text"
|
||||
size="small"
|
||||
style="color: #c73030"
|
||||
@click="topEdit(scope.row.pkWares)"
|
||||
>
|
||||
{{ '置顶' }}
|
||||
</div>
|
||||
<div
|
||||
v-hasButtons="['GoodsListBottom']"
|
||||
type="text"
|
||||
size="small"
|
||||
style="color: #c73030"
|
||||
@click="topEdit1(scope.row.pkWares)"
|
||||
>
|
||||
置底
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -935,24 +918,6 @@ export default {
|
|||
this.getDataList()
|
||||
})
|
||||
},
|
||||
topEdit(id) {
|
||||
api
|
||||
.waresTop({
|
||||
waresId: id
|
||||
})
|
||||
.then((res) => {
|
||||
this.getDataList()
|
||||
})
|
||||
},
|
||||
topEdit1(id) {
|
||||
api
|
||||
.waresBottom({
|
||||
waresId: id
|
||||
})
|
||||
.then((res) => {
|
||||
this.getDataList()
|
||||
})
|
||||
},
|
||||
// 获取列表
|
||||
getDataList() {
|
||||
this.loading = true
|
||||
|
|
Loading…
Reference in New Issue