Commit 4d021618 authored by liwei's avatar liwei

修改了富文本编辑器的上传

parent e74405dd
...@@ -27,7 +27,7 @@ export function getIncomeWmsLabel(businessId) { ...@@ -27,7 +27,7 @@ export function getIncomeWmsLabel(businessId) {
method: 'get' method: 'get'
}) })
} }
// 2. 查询标签管理详细信息 // 3. 查询标签管理详细信息
export function findByLocation(location) { export function findByLocation(location) {
return request({ return request({
url: '/incomewmslabel/findByLocation/' + location, url: '/incomewmslabel/findByLocation/' + location,
...@@ -35,7 +35,7 @@ export function findByLocation(location) { ...@@ -35,7 +35,7 @@ export function findByLocation(location) {
}) })
} }
// 3. 新增标签管理 // 4. 新增标签管理
export function addIncomeWmsLabel(data) { export function addIncomeWmsLabel(data) {
data = Qs.stringify(data) data = Qs.stringify(data)
return request({ return request({
...@@ -45,7 +45,7 @@ export function addIncomeWmsLabel(data) { ...@@ -45,7 +45,7 @@ export function addIncomeWmsLabel(data) {
}) })
} }
// 4. 修改标签管理 // 5. 修改标签管理
export function updateIncomeWmsLabel(data) { export function updateIncomeWmsLabel(data) {
const businessId = data.businessId const businessId = data.businessId
data = Qs.stringify(data) data = Qs.stringify(data)
...@@ -56,7 +56,7 @@ export function updateIncomeWmsLabel(data) { ...@@ -56,7 +56,7 @@ export function updateIncomeWmsLabel(data) {
}) })
} }
// 5. 逻辑删除标签管理 // 6. 逻辑删除标签管理
export function delIncomeWmsLabel(businessId) { export function delIncomeWmsLabel(businessId) {
return request({ return request({
url: '/incomewmslabel/deleteLogical/' + businessId, url: '/incomewmslabel/deleteLogical/' + businessId,
...@@ -64,7 +64,7 @@ export function delIncomeWmsLabel(businessId) { ...@@ -64,7 +64,7 @@ export function delIncomeWmsLabel(businessId) {
}) })
} }
// 6. 导出标签管理 // 7. 导出标签管理
export function exportIncomeWmsLabel(query) { export function exportIncomeWmsLabel(query) {
return request({ return request({
url: '/incomewmslabel/export', url: '/incomewmslabel/export',
......
import request from '@/utils/request'
import Qs from 'qs'
/**
* 1. 列表查询
* 2. 查询详细信息
* 3. 新增
* 4. 修改
* 5. 逻辑删除
* 6. 导出
*
*/
// 1. 查询库存管理列表
export function listIncomeBox(query) {
return request({
url: '/incomebox/list',
method: 'get',
params: query
})
}
// 2. 查询库存管理详细信息
export function getIncomeBox(businessId) {
return request({
url: '/incomebox/detail/' + businessId,
method: 'get'
})
}
// 3. 新增库存管理
export function addIncomeBox(data) {
data = Qs.stringify(data)
return request({
url: '/incomebox/add',
method: 'post',
data: data
})
}
// 4. 修改库存管理
export function updateIncomeBox(data) {
const businessId = data.businessId
data = Qs.stringify(data)
return request({
url: '/incomebox/update/' + businessId,
method: 'put',
data
})
}
// 5. 逻辑删除库存管理
export function delIncomeBox(businessId) {
return request({
url: '/incomebox/deleteLogical/' + businessId,
method: 'delete'
})
}
// 6. 导出库存管理
export function exportIncomeBox(query) {
return request({
url: '/incomebox/export',
method: 'get',
params: query,
responseType: 'blob'
})
}
// 7.获取单号
export function getJcCode() {
return request({
url: '/incomebox/getJcCode',
method: 'get'
})
}
// 8. 查询满足条件的条数
export function queryPass(lot) {
return request({
url: '/incomebox/queryPass/' + lot,
method: 'get'
})
}
// 9. 批量新增库存管理
export function batchAddIncomeBox(data) {
return request({
url: '/incomebox/batchAdd',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json;charset=UTF-8' // 接口修改传参类型
}
})
}
export function checkIsZero(data) {
return request({
url: 'incomebox/checkIsZero',
method: 'post',
data,
headers: {
'Content-Type': 'application/json;charset=UTF-8' // 接口修改传参类型
}
})
}
import request from '@/utils/request'
import Qs from 'qs'
/**
* 1. 列表查询
* 2. 查询详细信息
* 3. 新增
* 4. 修改
* 5. 逻辑删除
* 6. 导出
*
*/
// 1. 查询标签管理列表
export function listIncomeLabel(query) {
return request({
url: '/incomelabel/list',
method: 'get',
params: query
})
}
// 2. 查询标签管理详细信息
export function getIncomeLabel(businessId) {
return request({
url: '/incomelabel/detail/' + businessId,
method: 'get'
})
}
// 3. 新增标签管理
export function addIncomeLabel(data) {
data = Qs.stringify(data)
return request({
url: '/incomelabel/add',
method: 'post',
data: data
})
}
// 4. 修改标签管理
export function updateIncomeLabel(data) {
const businessId = data.businessId
data = Qs.stringify(data)
return request({
url: '/incomelabel/update/' + businessId,
method: 'put',
data
})
}
// 5. 逻辑删除标签管理
export function delIncomeLabel(businessId) {
return request({
url: '/incomelabel/deleteLogical/' + businessId,
method: 'delete'
})
}
// 6. 导出标签管理
export function exportIncomeLabel(query) {
return request({
url: '/incomelabel/export',
method: 'get',
params: query,
responseType: 'blob'
})
}
// 7. 查询标签管理详细信息
export function findByLocation(location) {
return request({
url: '/incomelabel/findByLocation/' + location,
method: 'get'
})
}
This diff is collapsed.
...@@ -19,7 +19,7 @@ const name = defaultSettings.title || 'vue Admin Template' // page title ...@@ -19,7 +19,7 @@ const name = defaultSettings.title || 'vue Admin Template' // page title
// For example, Mac: sudo npm run // For example, Mac: sudo npm run
// You can change the port by the following methods: // You can change the port by the following methods:
// port = 9528 npm run dev OR npm run dev --port = 9528 // port = 9528 npm run dev OR npm run dev --port = 9528
const port = process.env.port || process.env.npm_config_port || 8080 // dev port const port = process.env.port || process.env.npm_config_port || 8081 // dev port
const CompressionWebpackPlugin = require('compression-webpack-plugin') const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css'] const productionGzipExtensions = ['js', 'css']
...@@ -89,10 +89,10 @@ module.exports = { ...@@ -89,10 +89,10 @@ module.exports = {
// target: `http://192.168.1.31:8082/`, // target: `http://192.168.1.31:8082/`,
// target: `http://192.168.1.12:8082/`, // 孙浩 // target: `http://192.168.1.12:8082/`, // 孙浩
// target: `http://192.168.1.41:8082/`, // target: `http://192.168.1.41:8082/`,
target: `http://49.232.167.247:20014/`, // 线上 // target: `http://49.232.167.247:20014/`, // 线上
// target: `http://192.168.1.30:8082/`, // target: `http://192.168.1.30:8082/`,
// target: `http://localhost:8088/`, // target: `http://localhost:8088/`,
// target: `http://localhost:8082/`, target: `http://localhost:8082/`,
// target: `http://49.232.167.247:20014/`, // target: `http://49.232.167.247:20014/`,
// changeOrigin: true, // changeOrigin: true,
pathRewrite: { pathRewrite: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment