update:
1. fix
This commit is contained in:
@@ -2,7 +2,7 @@ import request from '@/axios';
|
|||||||
|
|
||||||
export const getList = (current, size, params) => {
|
export const getList = (current, size, params) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/market/merchant-product/page',
|
url: '/market/merchant-catalog/page',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
...params,
|
...params,
|
||||||
@@ -14,7 +14,7 @@ export const getList = (current, size, params) => {
|
|||||||
|
|
||||||
export const getDetail = (id) => {
|
export const getDetail = (id) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/market/merchant-product/detail',
|
url: '/market/merchant-catalog/detail',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
id
|
id
|
||||||
@@ -24,7 +24,7 @@ export const getDetail = (id) => {
|
|||||||
|
|
||||||
export const remove = (ids) => {
|
export const remove = (ids) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/market/merchant-product/remove',
|
url: '/market/merchant-catalog/remove',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
params: {
|
params: {
|
||||||
ids,
|
ids,
|
||||||
@@ -34,7 +34,7 @@ export const remove = (ids) => {
|
|||||||
|
|
||||||
export const add = (row) => {
|
export const add = (row) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/market/merchant-product/submit-self-product',
|
url: '/market/merchant-catalog/submit-catalog',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: row
|
data: row
|
||||||
})
|
})
|
||||||
@@ -42,7 +42,7 @@ export const add = (row) => {
|
|||||||
|
|
||||||
export const update = (row) => {
|
export const update = (row) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/market/merchant-product/submit',
|
url: '/market/merchant-catalog/submit-catalog',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: row
|
data: row
|
||||||
})
|
})
|
||||||
@@ -37,14 +37,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {getList, getDetail, add, update, remove} from "@/api/market/merchantProduct";
|
import {getList, getDetail, add, update, remove} from "@/api/market/merchantCatalog";
|
||||||
import option from "@/option/market/merchantProduct";
|
import option from "@/option/market/merchantCatalog";
|
||||||
import {mapGetters} from "vuex";
|
import {mapGetters} from "vuex";
|
||||||
import {exportBlob} from "@/api/common";
|
|
||||||
import {getToken} from '@/utils/auth';
|
|
||||||
import {downloadXls} from "@/utils/util";
|
|
||||||
import {dateNow} from "@/utils/date";
|
|
||||||
import NProgress from 'nprogress';
|
|
||||||
import 'nprogress/nprogress.css';
|
import 'nprogress/nprogress.css';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
Reference in New Issue
Block a user