rev:修改调度管理路径
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
import CRUD, { header, presenter } from '@crud/crud'
|
||||
import rrOperation from '@crud/RR.operation'
|
||||
import pagination from '@crud/Pagination'
|
||||
import crudRegion from '@/api/wms/sch/region'
|
||||
import crudRegion from '@/views/wms/scheduler_manage/region/region'
|
||||
|
||||
export default {
|
||||
name: 'StructDialog',
|
||||
|
||||
@@ -434,16 +434,16 @@
|
||||
|
||||
<script>
|
||||
import crudDevice from '@/api/wms/pdm/device'
|
||||
import crudRegion from '@/api/wms/sch/region'
|
||||
import crudPoint, { changeActive } from '@/api/wms/sch/point'
|
||||
import crudRegion from '@/views/wms/scheduler_manage/region/region'
|
||||
import crudPoint, { changeActive } from '@/views/wms/scheduler_manage/point/point'
|
||||
import CRUD, { crud, form, header, presenter } from '@crud/crud'
|
||||
import rrOperation from '@crud/RR.operation'
|
||||
import crudOperation from '@crud/CRUD.operation'
|
||||
import udOperation from '@crud/UD.operation'
|
||||
import pagination from '@crud/Pagination'
|
||||
import ViewDialog from '@/views/wms/product_manage/sch/point/ViewDialog'
|
||||
import MaterialDialog from '@/views/wms/product_manage/sch/point/MaterialDialog'
|
||||
import WorkOrderDialog from '@/views/wms/product_manage/sch/point/WorkOrderDialog'
|
||||
import ViewDialog from '@/views/wms/scheduler_manage/point/ViewDialog'
|
||||
import MaterialDialog from '@/views/wms/scheduler_manage/point/MaterialDialog'
|
||||
import WorkOrderDialog from '@/views/wms/scheduler_manage/point/WorkOrderDialog'
|
||||
|
||||
const defaultForm = {
|
||||
point_id: null,
|
||||
71
mes/qd/src/views/wms/scheduler_manage/point/point.js
Normal file
71
mes/qd/src/views/wms/scheduler_manage/point/point.js
Normal file
@@ -0,0 +1,71 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: 'api/point',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function del(ids) {
|
||||
return request({
|
||||
url: 'api/point/',
|
||||
method: 'delete',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
export function edit(data) {
|
||||
return request({
|
||||
url: 'api/point',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function findPoints(area_type) {
|
||||
return request({
|
||||
url: 'api/point/area_type/' + area_type
|
||||
})
|
||||
}
|
||||
|
||||
export function changeActive(data) {
|
||||
return request({
|
||||
url: 'api/point/changeActive',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getPoint(data) {
|
||||
return request({
|
||||
url: '/api/point/getPoint',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getRegion() {
|
||||
return request({
|
||||
url: '/api/point/getRegion',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function changeUsed(data) {
|
||||
return request({
|
||||
url: 'api/point/changeUsed',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function changeLock(data) {
|
||||
return request({
|
||||
url: 'api/point/changeLock',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export default { add, edit, del, changeActive, findPoints, getPoint, getRegion, changeUsed, changeLock }
|
||||
@@ -137,7 +137,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import crudRegion from '@/api/wms/sch/region'
|
||||
import crudRegion from '@/views/wms/scheduler_manage/region/region'
|
||||
import CRUD, { crud, form, header, presenter } from '@crud/crud'
|
||||
import rrOperation from '@crud/RR.operation'
|
||||
import crudOperation from '@crud/CRUD.operation'
|
||||
59
mes/qd/src/views/wms/scheduler_manage/region/region.js
Normal file
59
mes/qd/src/views/wms/scheduler_manage/region/region.js
Normal file
@@ -0,0 +1,59 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: 'api/region',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function del(ids) {
|
||||
return request({
|
||||
url: 'api/region/',
|
||||
method: 'delete',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
export function edit(data) {
|
||||
return request({
|
||||
url: 'api/region',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function changeActive(data) {
|
||||
return request({
|
||||
url: 'api/region/changeActive',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getPointStatusSelectByCode(code) {
|
||||
return request({
|
||||
url: 'api/region/getPointStatusSelectByCode',
|
||||
method: 'post',
|
||||
data: code
|
||||
})
|
||||
}
|
||||
|
||||
export function getPointTypeSelectByCode(code) {
|
||||
return request({
|
||||
url: 'api/region/getPointTypeSelectByCode',
|
||||
method: 'post',
|
||||
data: code
|
||||
})
|
||||
}
|
||||
|
||||
export function getRegionSelect(data) {
|
||||
return request({
|
||||
url: 'api/region/getRegionSelect',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export default { add, edit, del, changeActive, getPointStatusSelectByCode, getPointTypeSelectByCode, getRegionSelect }
|
||||
@@ -233,7 +233,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import crudTask from '@/api/wms/sch/task'
|
||||
import crudTask from '@/views/wms/scheduler_manage/task/task'
|
||||
import CRUD, { crud, header, presenter } from '@crud/crud'
|
||||
import rrOperation from '@crud/RR.operation'
|
||||
import crudOperation from '@crud/CRUD.operation'
|
||||
71
mes/qd/src/views/wms/scheduler_manage/task/task.js
Normal file
71
mes/qd/src/views/wms/scheduler_manage/task/task.js
Normal file
@@ -0,0 +1,71 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: 'api/task',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function del(ids) {
|
||||
return request({
|
||||
url: 'api/task/',
|
||||
method: 'delete',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
export function edit(data) {
|
||||
return request({
|
||||
url: 'api/task',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getTaskStatus() {
|
||||
return request({
|
||||
url: 'api/task/taskStatus',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function getTaskType() {
|
||||
return request({
|
||||
url: 'api/task/taskType',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
export function getAcsTaskType() {
|
||||
return request({
|
||||
url: 'api/task/acsTaskType',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function getFinishType() {
|
||||
return request({
|
||||
url: 'api/task/finishType',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function operation(data) {
|
||||
return request({
|
||||
url: 'api/task/operation',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export default {
|
||||
add,
|
||||
edit,
|
||||
del,
|
||||
operation,
|
||||
getTaskStatus,
|
||||
getTaskType,
|
||||
getAcsTaskType,
|
||||
getFinishType
|
||||
}
|
||||
@@ -221,7 +221,7 @@
|
||||
import CRUD, { crud } from '@crud/crud'
|
||||
import StructDiv from '@/views/wms/pub/StructDialog'
|
||||
import crudProductIn from '@/views/wms/storage_manage/product/productIn/productin'
|
||||
import crudPoint from '@/api/wms/sch/point'
|
||||
import crudPoint from '@/views/wms/scheduler_manage/point/point'
|
||||
import AddBox from '@/views/wms/storage_manage/product/productIn/AddBox'
|
||||
|
||||
export default {
|
||||
|
||||
@@ -246,8 +246,8 @@
|
||||
import CRUD, { crud } from '@crud/crud'
|
||||
import productOut from '@/views/wms/storage_manage/product/productOut/productout'
|
||||
import StructIvt from '@/views/wms/storage_manage/product/productOut/StructIvt'
|
||||
import crudRegion from '@/api/wms/sch/region'
|
||||
import crudPoint from '@/api/wms/sch/point'
|
||||
import crudRegion from '@/views/wms/scheduler_manage/region/region'
|
||||
import crudPoint from '@/views/wms/scheduler_manage/point/point'
|
||||
|
||||
export default {
|
||||
name: 'DivDialog',
|
||||
|
||||
@@ -202,8 +202,8 @@
|
||||
<script>
|
||||
import CRUD, { crud } from '@crud/crud'
|
||||
import crudProductIn from '@/views/wms/storage_manage/rawproduct/rawProductIn/rawproductin'
|
||||
import crudPoint from '@/api/wms/sch/point'
|
||||
import crudRegion from '@/api/wms/sch/region'
|
||||
import crudPoint from '@/views/wms/scheduler_manage/point/point'
|
||||
import crudRegion from '@/views/wms/scheduler_manage/region/region'
|
||||
|
||||
export default {
|
||||
name: 'DivDialog',
|
||||
|
||||
@@ -202,8 +202,8 @@
|
||||
<script>
|
||||
import CRUD, { crud } from '@crud/crud'
|
||||
import crudProductIn from '@/views/wms/storage_manage/rawproduct/rawProductIn/rawproductin'
|
||||
import crudPoint from '@/api/wms/sch/point'
|
||||
import crudRegion from '@/api/wms/sch/region'
|
||||
import crudPoint from '@/views/wms/scheduler_manage/point/point'
|
||||
import crudRegion from '@/views/wms/scheduler_manage/region/region'
|
||||
|
||||
export default {
|
||||
name: 'DivDialog',
|
||||
|
||||
Reference in New Issue
Block a user