课程营销标签
This commit is contained in:
@@ -68,6 +68,7 @@
|
||||
style="width: 100%"
|
||||
>
|
||||
<slot name="tableItem"></slot>
|
||||
|
||||
<!-- <el-table-column
|
||||
:reserve-selection="true"
|
||||
type="selection"
|
||||
@@ -82,9 +83,11 @@
|
||||
header-align="center"
|
||||
align="center"
|
||||
label="操作"
|
||||
width="80"
|
||||
|
||||
width="120"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<template slot-scope="scope">
|
||||
<slot name="operation" :row="scope.row"></slot>
|
||||
<el-button
|
||||
type="text"
|
||||
style="color: red;"
|
||||
@@ -322,12 +325,36 @@ export default {
|
||||
|
||||
this.dataListLoading = true;
|
||||
|
||||
if (this.otherInfo.httpType == "raw") {
|
||||
if (this.otherInfo.httpType == "raw"&&this.otherInfo.isNoPaging ) {
|
||||
this.$http
|
||||
.request({
|
||||
url: this.$http.adornUrl(`${this.urlList.hasBindProductList}`),
|
||||
method: "POST",
|
||||
data: { current: 1,
|
||||
limit: 99999999,
|
||||
...form
|
||||
},
|
||||
header: {
|
||||
//默认 无 说明:请求头
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
})
|
||||
.then(async ({ data }) => {
|
||||
if (data && data.code === 0) {
|
||||
this.associatedGoodsList = [...data.result.records];
|
||||
|
||||
this.dataListLoading = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
else if (this.otherInfo.httpType == "raw") {
|
||||
this.$http
|
||||
.request({
|
||||
url: this.$http.adornUrl(`${this.urlList.hasBindProductList}`),
|
||||
method: "POST",
|
||||
data: {
|
||||
|
||||
...form
|
||||
},
|
||||
header: {
|
||||
|
||||
@@ -248,6 +248,7 @@ export default {
|
||||
this.clear();
|
||||
if (this.otherInfo.httpType == "raw") {
|
||||
form.page = this.pageIndex;
|
||||
form.current = this.pageIndex;
|
||||
this.$http
|
||||
.request({
|
||||
url: this.$http.adornUrl(`${this.urlList.CanBindProductList}`),
|
||||
|
||||
Reference in New Issue
Block a user