Merge branch '0.8.X' of https://gitee.com/hdka/klp-oa into 0.8.X

This commit is contained in:
砂糖
2025-07-31 11:43:36 +08:00
22 changed files with 145 additions and 166 deletions

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询产品销售话术列表
export function listProductSalesScript(query) {
return request({
url: '/klp/productSalesScript/list',
url: '/wms/productSalesScript/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listProductSalesScript(query) {
// 查询产品销售话术,只要标题和内容有一个配置就会被返回
export function searchProductSalesScript(keyword) {
return request({
url: '/klp/productSalesScript/list',
url: '/wms/productSalesScript/list',
method: 'get',
params: { keyword }
})
@@ -21,7 +21,7 @@ export function searchProductSalesScript(keyword) {
// 查询产品销售话术详细
export function getProductSalesScript(scriptId) {
return request({
url: '/klp/productSalesScript/' + scriptId,
url: '/wms/productSalesScript/' + scriptId,
method: 'get'
})
}
@@ -29,7 +29,7 @@ export function getProductSalesScript(scriptId) {
// 新增产品销售话术
export function addProductSalesScript(data) {
return request({
url: '/klp/productSalesScript',
url: '/wms/productSalesScript',
method: 'post',
data: data
})
@@ -38,7 +38,7 @@ export function addProductSalesScript(data) {
// 修改产品销售话术
export function updateProductSalesScript(data) {
return request({
url: '/klp/productSalesScript',
url: '/wms/productSalesScript',
method: 'put',
data: data
})
@@ -47,7 +47,7 @@ export function updateProductSalesScript(data) {
// 删除产品销售话术
export function delProductSalesScript(scriptId) {
return request({
url: '/klp/productSalesScript/' + scriptId,
url: '/wms/productSalesScript/' + scriptId,
method: 'delete'
})
}
@@ -72,7 +72,7 @@ export function delProductSalesScript(scriptId) {
// 获取产品咨询热度排行
export function getProductRanking() {
return request({
url: '/klp/productSalesScript/dashboard/ranking',
url: '/wms/productSalesScript/dashboard/ranking',
method: 'get'
})
}

View File

@@ -312,7 +312,7 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
this.download('system/productSalesScript/export', {
this.download('wms/productSalesScript/export', {
...this.queryParams
}, `productSalesScript_${new Date().getTime()}.xlsx`)
},

View File

@@ -453,7 +453,7 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
this.download('klp/purchasePlan/export', {
this.download('wms/purchasePlan/export', {
...this.queryParams
}, `purchasePlan_${new Date().getTime()}.xlsx`)
},

View File

@@ -376,7 +376,7 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
this.download('klp/purchasePlanDetail/export', {
this.download('wms/purchasePlanDetail/export', {
...this.queryParams
}, `purchasePlanDetail_${new Date().getTime()}.xlsx`)
},

View File

@@ -357,7 +357,7 @@
},
/** 导出按钮操作 */
handleExport() {
this.download('klp/schedulePlan/export', {
this.download('wms/schedulePlan/export', {
...this.queryParams
}, `schedulePlan_${new Date().getTime()}.xlsx`)
},

View File

@@ -418,7 +418,7 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
this.download('klp/stockIo/export', {
this.download('wms/stockIo/export', {
...this.queryParams
}, `stockIo_${new Date().getTime()}.xlsx`)
},

View File

@@ -457,7 +457,7 @@ export default {
this.reset();
},
handleExport() {
this.download('klp/stockIoDetail/export', {
this.download('wms/stockIoDetail/export', {
...this.queryParams
}, `stockIoDetail_${new Date().getTime()}.xlsx`)
},