‘对接口’

This commit is contained in:
Fanzink 2022-01-18 17:02:15 +08:00
父節點 aa94abd681
當前提交 b800893ea5
共有 7 個文件被更改,包括 48 次插入8 次删除

查看文件

@ -41,7 +41,7 @@ export function areaAdd(data) { // 新增缓存区区域信息单条数据
export function areaCode() { // 获取缓存区区域信息code
return request({
url: '/api/wms/area/get-code',
url: '/api/wms/area/getCode',
method: 'post'
})
}

查看文件

@ -41,7 +41,7 @@ export function cacheAdd(data) { // 新增缓存区信息单条数据
export function cacheCode() { // 获取缓存区信息code
return request({
url: '/api/wms/area/get-code',
url: '/api/wms/area/getCode',
method: 'post'
})
}

查看文件

@ -41,7 +41,7 @@ export function storageBoxAdd(data) { // 新增存储箱单条数据
export function storageBoxCode() { // 获取存储箱code
return request({
url: '/api/wms/storagebox/get-code',
url: '/api/wms/storagebox/getCode',
method: 'post'
})
}
@ -56,7 +56,7 @@ export function storageBoxDelete(id) { // 删除存储箱单条数据
export function PositionDetailInfoAdd(data) { // 新增存储箱地址单条数据
return request({
url: '/api/wms/storagebox-site/add',
url: '/api/wms/storagebox/add',
method: 'post',
data
})

查看文件

@ -41,7 +41,7 @@ export function equipmentInfoAdd(data) { // 新增设备信息单条数据
export function equipmentInfoCode() { // 获取设备信息code
return request({
url: '/api/wms/equipment/get-code',
url: '/api/wms/equipment/getCode',
method: 'post'
})
}

查看文件

@ -224,6 +224,45 @@ export const constantRoutes = [
]
},
{
// path: '/form',
// component: Layout,
// redirect: '/form',
// name: 'formManage',
// meta: { title: routerTitle.form?.[language] || routerTitle.form.en, icon: 'form', iconPart: 'formManage', affix: true, required: true, requireToken: true, unuse: false },
// children: [{
// path: 'report',
// component: () => import('@/views/report-manage/ReportSortChoise'),
// name: 'Report',
// meta: { title: routerTitle.form.report?.[language] || routerTitle.form.report.en, icon: 'form', affix: true, required: true, requireToken: true }
// },
// {
// path: 'report-sort-list',
// component: () => import('@/views/report-manage/Report'),
// name: 'ReportSortList',
// hidden: true,
// meta: { title: routerTitle.form.reportSortList?.[language] || routerTitle.form.reportSortList.en, icon: 'form', affix: true, required: true, requireToken: true }
// },
// {
// path: 'report-view',
// component: () => import('@/views/report-manage/ReportView'),
// name: 'ReportDesign',
// meta: { title: routerTitle.form.reportView?.[language] || routerTitle.form.reportView.en, icon: 'form', affix: true, required: true, requireToken: true },
// hidden: true
// },
// {
// path: 'report-design',
// component: () => import('@/views/report-manage/ReportDesign'),
// name: 'ReportDesign',
// meta: { title: routerTitle.form.reportDesign?.[language] || routerTitle.form.reportDesign.en, icon: 'form', affix: true, required: true, requireToken: true }
// },
// {
// path: 'report-sort',
// component: () => import('@/views/report-manage/ReportSort/index'),
// name: 'ReportSort',
// meta: { title: routerTitle.form.reportSort?.[language] || routerTitle.form.reportSort.en, icon: 'form', affix: true, required: true, requireToken: true }
// }]
// },
// {
path: '/interface',
component: Layout,
redirect: '/interface',

查看文件

@ -44,6 +44,7 @@ import BaseTable from '@/components/BaseTable'
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
import MethodBtn from '@/components/BaseTable/subcomponents/MethodBtn'
import { timeFormatter } from '@/filters'
/**
* 表格表头配置项 TypeScript接口注释
* tableConfig<ConfigItem> = []
@ -133,7 +134,7 @@ export default {
methods: {
handleClick(raw) {
if (raw.type === 'delete') {
this.$confirm(`${this.$t('module.basicData.visual.TipsBefore')}[${raw.data.name}]?`, this.$t('module.basicData.visual.Tips'), {
this.$confirm(`${this.$t('module.basicData.visual.TipsBefore')}[${raw.data.tareaName}]?`, this.$t('module.basicData.visual.Tips'), {
confirmButtonText: this.$t('module.basicData.visual.confirmButtonText'),
cancelButtonText: this.$t('module.basicData.visual.cancelButtonText'),
type: 'warning'

查看文件

@ -46,8 +46,8 @@ module.exports = {
// 这里写入需要代理的api和对应的目标地址
proxy: {
'/api': {
target: 'http://localhost:8080',
// target: 'http://192.168.0.188:8080',
// target: 'http://localhost:8080',
target: 'http://192.168.0.148:8080',
// target: 'http://192.168.0.127:8080',
// target: 'http://192.168.0.165:8080',
// target: 'http://192.168.43.105:8080',