Merge branch 'master' of http://123.56.95.229:10010/r/高精
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
// 查询加工工时统计表
|
||||
export function searchTable() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工时统计_综合_查询数据',
|
||||
param: '工艺名称=' + arguments[0] + '&工艺名称_check=' + arguments[1] + '&工作者姓名=' + arguments[2] + '&工作者姓名_check=' + arguments[3] + '&开始加工时间_check=' + arguments[4] + '&开始加工时间结束=' + arguments[5] + '&开始加工时间开始=' + arguments[6] + '&零件图号=' + arguments[7] + '&零件图号_check=' + arguments[8] + '&完成加工时间_check=' + arguments[9] + '&完成加工时间结束=' + arguments[10] + '&完成加工时间开始=' + arguments[11],
|
||||
@@ -18,6 +22,8 @@ export function editTime() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_工时统计_修补工时_修改数据',
|
||||
param: '人员编号=' + arguments[0] + '&完成过程流水号=' + arguments[1] + '&修补工时=' + arguments[2] + '&数量=' + arguments[3]
|
||||
@@ -30,6 +36,8 @@ export function initProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_项目名称_查询数据_加工进度修改'
|
||||
}
|
||||
@@ -41,6 +49,8 @@ export function getMachines(gongyi) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_机床名称_查询数据_查询所有机床',
|
||||
param: '项目流水号=' + gongyi + '=int'
|
||||
@@ -53,6 +63,8 @@ export function getGroups(stepNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_组件名称_查询数据_查询所有组',
|
||||
param: '机床流水号=' + stepNumber + '=int'
|
||||
@@ -65,6 +77,8 @@ export function getParts(stepNumber, a, b, c, d, e, f, g) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_基础表_员工月修补工时_查询零件',
|
||||
param: '项目流水号_check=' + stepNumber + '=string&项目流水号=' + a + '=string&机床流水号_check=' + b + '=string&机床流水号=' + c + '=string&组件流水号_check=' + d + '=string&组件流水号=' + e + '=string&零件图号_check=' + f + '=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=0'
|
||||
@@ -77,6 +91,8 @@ export function submitAdd(num1, time, num2, person, num3) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理_修补工时_增加数据',
|
||||
param: `工序流水号=${num1}&修补工时=${time}&数量=${num2}&修补人员编号=${person}&操作者编号=${num3}`
|
||||
@@ -89,6 +105,8 @@ export function getTable8(code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 1,
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=' + code + '=int'
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
// 查询加工工时统计表
|
||||
export function searchTable(num1, num2, num3, num4, pageCurrent, pageSize) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工时统计_当日过程工时查询',
|
||||
param: `加工开始时间_check=${num1}&加工开始时间=${num2}&工作者姓名_check=${num3}&工作者姓名=${num4}`,
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 机床名称
|
||||
export function getMachines() {
|
||||
@@ -6,6 +8,8 @@ export function getMachines() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_机床名称_根据机床查询',
|
||||
param: '是否传递=2=int&考核状态=6=int&工艺任务分配状态=2=int&定额任务分配状态=2=int&单件是否外协=1=int'
|
||||
@@ -18,6 +22,8 @@ export function getGroups(stepNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_组件名称_查询数据_查询所有组',
|
||||
param: '机床流水号=' + stepNumber + '=int'
|
||||
@@ -30,6 +36,8 @@ export function initProcessNumber() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间管理_工艺_查询数据'
|
||||
}
|
||||
@@ -41,6 +49,8 @@ export function addProcess(NUM, NUM1, NUM2, NUM3) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_自制件插序_增加数据',
|
||||
param: '工艺计划流水号=' + NUM + '&工序顺序=' + NUM1 + '&工艺编号=' + NUM2 + '&操作工=' + NUM3
|
||||
@@ -53,6 +63,8 @@ export function deleteProcess(NUM) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_自制件插序_删除数据',
|
||||
param: 'ID=' + NUM
|
||||
@@ -64,6 +76,8 @@ export function getTable(checkbox_Machine, Machine, checkbox_Group, Group, check
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_横向赋值新建存储过程_新',
|
||||
param: '项目流水号_check=0=string&机床流水号_check=' + checkbox_Machine + '=string&机床流水号=' + Machine + '=string&组件流水号_check=' + checkbox_Group + '=string&组件流水号=' + Group + '=string&零件图号_check=' + checkbox_number + '=string&零件图号=' + number + '=string&是否查询全部数据=1=string&单件是否外协=1=string&考核状态=6=int&开始时间_check=0&开始时间=' + k + '&结束时间_check=0&结束时间=' + m,
|
||||
@@ -77,6 +91,8 @@ export function gettabledata1(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_加工进度查询_查询_New_加序',
|
||||
param: '工艺计划流水号=' + num + '=int'
|
||||
@@ -89,6 +105,8 @@ export function editdata(processSerialNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_加工进度查询_查询_New',
|
||||
param: '工艺计划流水号=' + processSerialNumber + '=int'
|
||||
@@ -101,6 +119,8 @@ export function getTree() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 1,
|
||||
name: '人事档案管理_部门关系_查询节点',
|
||||
param: '子节点=0=int'
|
||||
@@ -128,6 +148,8 @@ export function getTable8(code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 1,
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=' + code + '=int'
|
||||
@@ -139,6 +161,8 @@ export function submitEdit(Number1, completetime, processSerialNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 2,
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工作者_根据人员编号和完成日期',
|
||||
param: '人员编号=' + Number1 + '=string&完成日期=' + completetime + '=string&工序流水号=' + processSerialNumber + '=string'
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
// 电子看板_线体上下线数量统计_查询
|
||||
export function ANDON_countselect() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'ANDON_大屏幕显示',
|
||||
param: 'WorkShopType=A'
|
||||
@@ -16,6 +20,8 @@ export function ANDON_opselect(opname) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'ANDON_办公室监控_消息通知',
|
||||
param: 'WorkShopType=A' + '&工位号=' + opname + '=string'
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 机床名称
|
||||
export function getMachines() {
|
||||
@@ -6,6 +8,8 @@ export function getMachines() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据_查询全部'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function getMachinesStatue(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: ` select COUNT(*) as 是否发货 from [发货管理_发货单明细] left join [发货管理_发货单]
|
||||
on [发货管理_发货单].发货单流水号 = [发货管理_发货单明细].发货单流水号 where 机床流水号 = ${num}`
|
||||
@@ -29,6 +35,8 @@ export function getGroups(stepNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_组件状态查询_查询所有组',
|
||||
param: '机床流水号=' + stepNumber
|
||||
@@ -41,6 +49,8 @@ export function selectParts(check1, stepNumber, check2, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_车间组件完成情况_查询数据',
|
||||
param: '组件流水号_check=' + check1 + '&组件流水号=' + stepNumber + '&工艺计划流水号_check=' + check2 + '&工艺计划流水号=' + num
|
||||
@@ -53,6 +63,8 @@ export function selectProcedure(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_车间组件完成情况',
|
||||
param: '工艺计划流水号=' + num
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化 项目名称
|
||||
export function initProject() {
|
||||
@@ -6,6 +8,8 @@ export function initProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据_总计划'
|
||||
}
|
||||
@@ -18,6 +22,8 @@ export function initMachine(projectNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据2',
|
||||
param: `项目流水号=${projectNum}`
|
||||
@@ -31,6 +37,8 @@ export function searchatabledata(projectNum, machineValue) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '项目工时统计_合同详情查询_工时综合查询',
|
||||
param: `项目流水号=${projectNum}&机床流水号=${machineValue}`
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 创建领料单
|
||||
export function addList(peopleNumber) {
|
||||
@@ -6,6 +8,8 @@ export function addList(peopleNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_备料管理_领料单增加',
|
||||
param: '领料人流水号=' + peopleNumber
|
||||
@@ -18,6 +22,8 @@ export function searchList(pageCurrent, pageSize, listNumber_check, listNumber)
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_备料管理_查询备料领料单',
|
||||
param: '领料单编号_check=' + listNumber_check + '&领料单编号=' + listNumber,
|
||||
@@ -31,6 +37,8 @@ export function dropListDetailBasic(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_备料管理_备料领料单明细移除',
|
||||
param: `备料领料单明细流水号=${params[0]}&是否外购=${params[1]}&工艺计划流水号=${params[2]}`
|
||||
@@ -43,6 +51,8 @@ export function initProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_项目查询'
|
||||
}
|
||||
@@ -54,6 +64,8 @@ export function searchmachine(check, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据',
|
||||
param: '项目流水号_check=' + check + '=int&项目流水号=' + num
|
||||
@@ -66,6 +78,8 @@ export function searchTeam(machineNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + machineNumber
|
||||
@@ -78,6 +92,8 @@ export function searchBasicPart(pageCurrent, pageSize, project_check, project, m
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_备料管理_自家备料零件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -91,6 +107,8 @@ export function searchPurchasePart(pageCurrent, pageSize, project_check, project
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_备料管理_外购备料零件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -104,6 +122,8 @@ export function addBasicList(listNumber, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_备料管理_自家备料选入',
|
||||
param: '备料领料单流水号=' + listNumber + '&工艺计划流水号=' + num1
|
||||
@@ -116,6 +136,8 @@ export function addPurchaseList(listNumber, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_备料管理_外购备料选入',
|
||||
param: '备料领料单流水号=' + listNumber + '&工艺计划流水号=' + num1
|
||||
@@ -128,6 +150,8 @@ export function searchListDetail(listNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_备料管理_备料领料单明细查询',
|
||||
param: '备料领料单流水号=' + listNumber
|
||||
@@ -140,6 +164,8 @@ export function dropList(PickingListNumberx) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_备料管理_备料领料单删除',
|
||||
param: '备料领料单流水号=' + PickingListNumberx
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 查询零件
|
||||
export function searchtable(num1, num2, num3, num4, pageCurrent, pageSize, ordername, order) {
|
||||
@@ -6,6 +8,8 @@ export function searchtable(num1, num2, num3, num4, pageCurrent, pageSize, order
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_编制工艺_备料零件查询',
|
||||
param: '零件图号_check=' + num1 + '&零件图号=' + num2 + '&备料打印_check=' + num3 + '&备料打印=' + num4 + '&备料到货=0' + '&排序名称=' + ordername + '&排序方式=' + order,
|
||||
@@ -19,6 +23,8 @@ export function searchtable2(num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_备料打印_查询工序信息',
|
||||
param: '工艺计划流水号=' + num1
|
||||
@@ -31,6 +37,8 @@ export function edit(num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_备料单导出_状态更改',
|
||||
param: `工艺计划流水号=${num1}&备料打印=1`
|
||||
@@ -43,6 +51,8 @@ export function edit2(num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_备料单导出_外购备料',
|
||||
param: `工艺计划流水号组=${num1}&是否外购备料=1`
|
||||
@@ -54,6 +64,8 @@ export function getExport(num1, num2, num3, num4) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_编制工艺_备料零件查询',
|
||||
param: '零件图号_check=' + num1 + '&零件图号=' + num2 + '&备料打印_check=' + num3 + '&备料打印=' + num4 + '&备料到货=0'
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 查询库存数
|
||||
export function searchInventoryNum(pageCurrent, pageSize, check1, val1, check2, val2, check3, val3, check4, state1) {
|
||||
@@ -6,6 +8,8 @@ export function searchInventoryNum(pageCurrent, pageSize, check1, val1, check2,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '采购管理_离线合同_物料余量_查询数据',
|
||||
param: `物料名称_check=${check1}&物料名称=${val1}&物料规格_check=${check2}&物料规格=${val2}&物料型号_check=${check3}&物料型号=${val3}&库存状态_check=${check4}&库存状态=${state1}`,
|
||||
@@ -19,6 +23,8 @@ export function submitaddpurchasingdetailsform(name, applicant) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_仓库采购_表单_新增',
|
||||
param: `表单名称=${name}&申请人=${applicant}`
|
||||
@@ -31,6 +37,8 @@ export function searchpurchasingDetailsForm(pageCurrent, pageSize, name) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '采购管理_仓库采购_表单_查询',
|
||||
param: `表单名称=${name}`,
|
||||
@@ -44,6 +52,8 @@ export function confirmEditpurchasingDetailsForm(name, id) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_仓库采购_表单_编辑',
|
||||
param: `表单名称=${name}&id=${id}`
|
||||
@@ -56,6 +66,8 @@ export function openDeletepurchasingDetailsForm(id) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_仓库采购_表单_删除',
|
||||
param: `id=${id}`
|
||||
@@ -68,6 +80,8 @@ export function addmateriel(formNumber, materielGroup) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_仓库采购_表单明细_增加数据',
|
||||
param: `表单流水号=${formNumber}&物料流水号组=${materielGroup}`
|
||||
@@ -80,6 +94,8 @@ export function searchtable2(formNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '采购管理_仓库采购_表单明细_查询数据',
|
||||
param: `表单流水号=${formNumber}`
|
||||
@@ -92,6 +108,8 @@ export function setSafeValue(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_离线合同_物料安全库存_修改数据',
|
||||
param: `物料流水号=${params[0]}&安全库存量=${params[1]}`
|
||||
@@ -103,6 +121,8 @@ export function updateNumber(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_仓库采购_表单明细_编辑数据',
|
||||
param: `id=${params[0]}&数量=${params[1]}&备注=${params[2]}`
|
||||
@@ -114,6 +134,8 @@ export function getperson(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: 'select * from dbo.人事档案管理_人员名单 inner join dbo.菜单系统模块_人员与角色 ' +
|
||||
'on 人事档案管理_人员名单.人员编号=菜单系统模块_人员与角色.人员编号 ' +
|
||||
@@ -126,6 +148,8 @@ export function tiaozheng(formNumber, PersonValue) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_仓库采购_表单_采购分配',
|
||||
param: `表单流水号=${formNumber}&采购员编号=${PersonValue}`
|
||||
@@ -137,6 +161,8 @@ export function deletematerial(id) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_仓库采购_表单明细_删除',
|
||||
param: `id=${id}`
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// // 初始化项目名称
|
||||
// export function initProject() {
|
||||
@@ -17,6 +19,8 @@ export function searchMachine() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据'
|
||||
}
|
||||
@@ -28,6 +32,8 @@ export function searchGroupNum(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_零件明细表_组件流水号_查询数据_根据机床',
|
||||
param: '机床流水号=' + num
|
||||
@@ -39,6 +45,8 @@ export function searchTable(entryValue, machineValue, check2, GroupNumValue, che
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_零件报废补投_查询数据_综合查询',
|
||||
param: '项目流水号_check=0&项目流水号=' + entryValue + '&机床流水号_check=1&机床流水号=' + machineValue + '&组件流水号_check=' + check2 + '&组件流水号=' + GroupNumValue + '&组件零件基本件流水号_check=0&工艺计划流水号_check=0&工艺计划流水号_补投前_check=0&零件图号_check=' + check3 + '&零件图号=' + PartDrawingNumber,
|
||||
@@ -51,6 +59,8 @@ export function searchTable1(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_根据工艺计划流水号',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -62,6 +72,8 @@ export function searchTable2(check1, machineNameValue, pageCurrent1, pageSize1)
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_零件报废补投_查询数据_按机床查询',
|
||||
param: '机床流水号_check=' + check1 + '&机床流水号=' + machineNameValue,
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function searchPerson() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间管理_其他数据_查询数据_人员'
|
||||
}
|
||||
@@ -15,6 +19,8 @@ export function fetchDate(month) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间管理_其他数据_查询数据',
|
||||
param: '月份=' + month
|
||||
@@ -26,6 +32,8 @@ export function saveDate(num, partNum, procedure, num3, number, time1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_其他数据_增加数据',
|
||||
param: '操作工流水号=' + num + '&零件图号=' + partNum + '&工序=' + procedure + '&录入人流水号=' + num3 + '&数量=' + number + '&单件工时=' + time1
|
||||
@@ -37,6 +45,8 @@ export function editDate(ID, num, partNum, procedure, num3, number, time1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_其他数据_编辑数据',
|
||||
param: 'ID=' + ID + '&操作工流水号=' + num + '&零件图号=' + partNum + '&工序=' + procedure + '&录入人流水号=' + num3 + '&数量=' + number + '&单件工时=' + time1
|
||||
@@ -48,6 +58,8 @@ export function deleteDate(ID) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_其他数据_删除数据',
|
||||
param: 'ID=' + ID
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function getData(num, num1) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_设备运行情况_查询数据',
|
||||
param: '工位号=' + num + '&日期=' + num1
|
||||
@@ -16,6 +20,8 @@ export function getData1(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_设备运行情况_查询数据_全员',
|
||||
param: '日期=' + num
|
||||
@@ -27,6 +33,8 @@ export function getData2(num, num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_设备运行情况_查询数据_折线图',
|
||||
param: '工位号=' + num + '&开始时间=' + num1 + '&结束时间=' + num2
|
||||
@@ -38,6 +46,8 @@ export function getData3(num, num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_设备运行情况_查询数据_状态分布图',
|
||||
param: '工位号=' + num + '&开始时间=' + num1 + '&结束时间=' + num2
|
||||
@@ -50,6 +60,8 @@ export function getMachine() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_加工顺序调整_查询工位及人员'
|
||||
}
|
||||
@@ -61,6 +73,8 @@ export function searchState() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'MES_机加工MES_设备状态查询_初始化'
|
||||
}
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
// 查询加工工时统计表
|
||||
export function getwork_state() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'MES_机加工MES_设备数据采集_工作状态_查询'
|
||||
}
|
||||
@@ -16,6 +20,8 @@ export function getOP_state() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'MES_机加工MES_设备数据采集_工位状态_查询'
|
||||
}
|
||||
@@ -27,6 +33,8 @@ export function searchtooltip(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'MES_机加工MES_工位零件图号查询_设备监控',
|
||||
param: '工位号=' + num
|
||||
@@ -39,6 +47,8 @@ export function getOP_state2(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'MES_机加工MES_设备数据采集_工位状态_查询_按工位号',
|
||||
param: '工位号=' + num
|
||||
@@ -51,6 +61,8 @@ export function getDaijiagong(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'MES_机加工MES_待加工零件_查询_设备监控',
|
||||
param: '工位号=' + num
|
||||
@@ -63,6 +75,8 @@ export function getZongzhuang() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: 'SELECT 机床图号 FROM PDM_机床名称 where 机床装配实际开始时间 is not null and 机床装配实际完成时间 is null'
|
||||
}
|
||||
@@ -74,6 +88,8 @@ export function getBuzhuang() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: 'SELECT 机床图号,组号,任务名称 FROM 车间管理_工作计划 inner join PDM_机床名称 on 车间管理_工作计划.机床流水号=PDM_机床名称.机床流水号 where 计划类型=1 and 是否工作=1 and 组号 <> \'\''
|
||||
}
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function searchmachine() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '机床名称流水号_查询数据'
|
||||
}
|
||||
@@ -15,6 +19,8 @@ export function searchgroup(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据_新',
|
||||
param: '机床流水号=' + num + '=int'
|
||||
@@ -26,6 +32,8 @@ export function searchTable(check1, machine, check2, groupNum, pageCurrent, page
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基本件成组配套_查询数据_新',
|
||||
param: '机床流水号_check=' + check1 + '=int&机床流水号=' + machine + '=int&组件流水号_check=' + check2 + '=int&组件流水号=' + groupNum + '=int',
|
||||
@@ -38,6 +46,8 @@ export function searchTable22(check1, machine, check2, groupNum, check3, year, c
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基本件成组配套_查询数据_新',
|
||||
param: '机床流水号_check=' + check1 + '=int&机床流水号=' + machine + '=int&组件流水号_check=' + check2 + '=int&组件流水号=' + groupNum + '=int&年_check=' + check3 + '=int&年=' + year + '=string&月_check=' + check4 + '=int&月=' + month + '=int&入库时间_check=' + check5 + '=int&入库时间=' + time + '=string'
|
||||
@@ -49,6 +59,8 @@ export function searchTable1(check1, machine, check2, groupNum, pageCurrent, pag
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_车间采购出库_零件查询_新',
|
||||
param: '机床流水号_check=' + check1 + '=int&机床流水号=' + machine + '=int&组件流水号_check=' + check2 + '=int&组件流水号=' + groupNum + '=int',
|
||||
@@ -61,6 +73,8 @@ export function processingStatus(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_成组配套加工进度_查询数据',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -73,6 +87,8 @@ export function searchTable01(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '采购管理_采购部采购_查询物料_分配后_加供应商',
|
||||
param: `机床流水号_check=${params[0]}&机床流水号=${params[1]}&组件流水号_check=${params[2]}&组件流水号=${params[3]}&零件类型=${params[6]}`,
|
||||
@@ -86,6 +102,8 @@ export function searchTable02(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '采购管理_采购部采购_查询物料_基本件_分配后_加供应商_成组配套',
|
||||
param: `机床流水号_check=${params[0]}&机床流水号=${params[1]}&组件流水号_check=${params[2]}&组件流水号=${params[3]}`,
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化 项目名称
|
||||
export function getEntryNameValue() {
|
||||
@@ -6,6 +8,8 @@ export function getEntryNameValue() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递前_投产项目名称_查询数据',
|
||||
param: '是否传递=1=int'
|
||||
@@ -18,6 +22,8 @@ export function getToolNum() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_机床名称_根据机床查询',
|
||||
param: '是否传递=1'
|
||||
@@ -30,6 +36,8 @@ export function getNum(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_组件名称_查询数据',
|
||||
param: '机床流水号=' + num + '=int&是否传递=1=int'
|
||||
@@ -42,6 +50,8 @@ export function getTable(num, pageList, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_已投产_按组查',
|
||||
param: '组件流水号=' + num + '=int',
|
||||
@@ -55,6 +65,8 @@ export function production(num, a, b, d, e, f, g, h, i, j, k, l, m, n, o, p, q,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '设备管理_可安排生产计划零件排序_制定组时间_同时传递',
|
||||
param: '组件零件基本件流水号=' + num + '=int&投产类型流水号=' + a + '=int&数据类型=' + b + '=int&投产批次=1=int&批次数量=' + d + '=string&计划开始时间=' + e + '=string&计划结束时间=' + f + '=string&工艺计划开始时间=' + g + '=string&工艺计划结束时间=' + h + '=string&定额计划开始时间=' + i + '=string&定额计划结束时间=' + j + '=string&计划编制计划开始时间=' + k + '=string&计划编制计划结束时间=' + l + '=string&机加工开始时间=' + m + '=string&机加工结束时间=' + n + '=string&单件外协时间=' + o + '=string&单件是否外协=' + p + '=int&单件是否外协分类=' + q + '=string&计划制定人员编号=' + x + '&材料流水号=' + s + '=int&是否临时件=' + t + '=int&是否难度件=' + u + '=string&是否着急=' + v + '=int&是否白图=' + w + '=int&是否加急=' + UrgentItem + '=int&是否加急件=' + IsUrgentItem + '=int'
|
||||
@@ -67,6 +79,8 @@ export function production2(num1, num2, num, b, d, e, f, g, h, i, j, k, l, m, n,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '设备管理_可安排生产计划零件排序_制定组时间_同时传递_合并投产',
|
||||
param: '零件图号=' + num1 + '&规格=' + num2 + '&机床流水号=' + num + '&投产类型流水号=' + 1 + '=int&数据类型=' + b + '=int&投产批次=1=int&批次数量=' + d + '=string&计划开始时间=' + e + '=string&计划结束时间=' + f + '=string&工艺计划开始时间=' + g + '=string&工艺计划结束时间=' + h + '=string&定额计划开始时间=' + i + '=string&定额计划结束时间=' + j + '=string&计划编制计划开始时间=' + k + '=string&计划编制计划结束时间=' + l + '=string&机加工开始时间=' + m + '=string&机加工结束时间=' + n + '=string&单件外协时间=' + o + '=string&单件是否外协=' + p + '=int&单件是否外协分类=' + q + '=string&计划制定人员编号=' + x + '&材料流水号=' + s + '=int&是否临时件=' + t + '=int&是否难度件=' + u + '=string&是否着急=' + v + '=int&是否白图=' + w + '=int&是否加急=' + UrgentItem + '=int&是否加急件=' + IsUrgentItem + '=int'
|
||||
@@ -79,6 +93,8 @@ export function production10(num, a, b, d, e, f, g, h, i, j, k, l, m, n, o, p, q
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '设备管理_可安排生产计划零件排序_制定组时间_同时传递_备料',
|
||||
param: '组件零件基本件流水号=' + num + '=int&投产类型流水号=' + a + '=int&数据类型=' + b + '=int&投产批次=1=int&批次数量=' + d + '=string&计划开始时间=' + e + '=string&计划结束时间=' + f + '=string&工艺计划开始时间=' + g + '=string&工艺计划结束时间=' + h + '=string&定额计划开始时间=' + i + '=string&定额计划结束时间=' + j + '=string&计划编制计划开始时间=' + k + '=string&计划编制计划结束时间=' + l + '=string&机加工开始时间=' + m + '=string&机加工结束时间=' + n + '=string&单件外协时间=' + o + '=string&单件是否外协=' + p + '=int&单件是否外协分类=' + q + '=string&计划制定人员编号=' + x + '&材料流水号=' + s + '=int&是否临时件=' + t + '=int&是否难度件=' + u + '=string&是否着急=' + v + '=int&是否白图=' + w + '=int&是否加急=' + UrgentItem + '=int&是否加急件=' + IsUrgentItem + '=int'
|
||||
@@ -91,6 +107,8 @@ export function production20(num1, num2, num, b, d, e, f, g, h, i, j, k, l, m, n
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '设备管理_可安排生产计划零件排序_制定组时间_同时传递_合并投产_备料',
|
||||
param: '零件图号=' + num1 + '&规格=' + num2 + '&机床流水号=' + num + '&投产类型流水号=' + 1 + '=int&数据类型=' + b + '=int&投产批次=1=int&批次数量=' + d + '=string&计划开始时间=' + e + '=string&计划结束时间=' + f + '=string&工艺计划开始时间=' + g + '=string&工艺计划结束时间=' + h + '=string&定额计划开始时间=' + i + '=string&定额计划结束时间=' + j + '=string&计划编制计划开始时间=' + k + '=string&计划编制计划结束时间=' + l + '=string&机加工开始时间=' + m + '=string&机加工结束时间=' + n + '=string&单件外协时间=' + o + '=string&单件是否外协=' + p + '=int&单件是否外协分类=' + q + '=string&计划制定人员编号=' + x + '&材料流水号=' + s + '=int&是否临时件=' + t + '=int&是否难度件=' + u + '=string&是否着急=' + v + '=int&是否白图=' + w + '=int&是否加急=' + UrgentItem + '=int&是否加急件=' + IsUrgentItem + '=int'
|
||||
@@ -103,6 +121,8 @@ export function getTable1(num, pageList, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_分批投产计划查询_查询显示',
|
||||
param: '组件零件基本件流水号=' + num + '=int',
|
||||
@@ -116,6 +136,8 @@ export function revisionBatch(num, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '设备管理_可安排生产计划零件排序_制定组时间_同时传递',
|
||||
param: '组件零件基本件流水号=' + num + '=int&投产类型流水号=' + a + '=int&数据类型=' + b + '=int&投产批次=' + c + '=int&批次数量=' + d + '=string&计划开始时间=' + e + '=string&计划结束时间=' + f + '=string&工艺计划开始时间=' + g + '=string&工艺计划结束时间=' + h + '=string&定额计划开始时间=' + i + '=string&定额计划结束时间=' + j + '=string&计划编制计划开始时间=' + k + '=string&计划编制计划结束时间=' + l + '=string&机加工开始时间=' + m + '=string&机加工结束时间=' + n + '=string&单件外协时间=' + o + '=string&单件是否外协=' + p + '=int&单件是否外协分类=' + q + '=string&计划制定人员编号=' + x + '&材料流水号=' + s + '=int&是否临时件=' + t + '=int&是否难度件=' + u + '=string&是否着急=' + v + '=int&是否白图=' + w + '=int'
|
||||
@@ -128,6 +150,8 @@ export function editList(num, a, b, c) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_修改批次数量',
|
||||
param: '工艺计划流水号=' + num + '=int&批次数量=' + a + '=string&机加工开始时间=' + b + '=string&机加工结束时间=' + c + '=string'
|
||||
@@ -140,6 +164,8 @@ export function EditNumber(num, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_生产计划下达_修改投产数量',
|
||||
param: '组件零件基本件流水号=' + num + '=int&数量=' + num1
|
||||
@@ -152,6 +178,8 @@ export function dele(num, a, b) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: 'MRP_计划订单_车间打回零件_增加数据',
|
||||
param: '组件零件基本件流水号=' + num + '=int&打回原因=' + a + '=string&打回时间=' + b + '=string'
|
||||
@@ -164,6 +192,8 @@ export function edit(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: 'MRP_计划订单_组件零件清单_基本件_打回数据',
|
||||
param: '组件零件基本件流水号=' + num
|
||||
@@ -176,6 +206,8 @@ export function searchUrgentItem() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_加急件未打印条数查询'
|
||||
}
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function searchData() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_加工顺序调整_查询正在加工零件工序_NEW'
|
||||
}
|
||||
@@ -15,6 +19,8 @@ export function processingStatus(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_成组配套加工进度_查询数据',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -26,6 +32,8 @@ export function searchData1() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'MES_机加工MES_记录零件待加工显示_NEW'
|
||||
}
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
// 初始化 人员和工位
|
||||
export function getMachine() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_加工顺序调整_查询工位及人员'
|
||||
}
|
||||
@@ -16,6 +20,8 @@ export function getMachine2() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_加工顺序调整_查询工位'
|
||||
}
|
||||
@@ -26,6 +32,8 @@ export function searchtable(num, pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'MES_机加工MES_记录零件待加工显示',
|
||||
param: 'MES终端编号=' + num,
|
||||
@@ -39,6 +47,8 @@ export function Order(num1, num2, num3) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: 'MES_机加工MES_待加工区列表_排序',
|
||||
param: 'MES终端编号=' + num1 + '&排序ID=' + num2 + '&排序类型=' + num3
|
||||
@@ -51,6 +61,8 @@ export function JurisdictionControl(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_加工顺序调整_更改权限',
|
||||
param: 'MES终端号=' + num1 + '&变更类型=' + num2
|
||||
@@ -63,6 +75,8 @@ export function getTable2(stepNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_加工顺序调整查询',
|
||||
param: '项目流水号_check=0&项目流水号=0&机床流水号_check=0&机床流水号=0&组件流水号_check=0&组件流水号=0&零件图号_check=1=string&零件图号=' + stepNumber + '=string&是否查询全部数据=1=string&单件是否外协=1&考核状态=6=int'
|
||||
@@ -75,6 +89,8 @@ export function getTable3(stepNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_加工进度修改2_查询',
|
||||
param: '工艺计划流水号=' + stepNumber
|
||||
@@ -87,6 +103,8 @@ export function searchParts(stepNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_加工顺序调整_查询正在加工零件工序',
|
||||
param: '终端编号=' + stepNumber
|
||||
@@ -99,6 +117,8 @@ export function JurisdictionContro2(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_加工顺序调整_更改跳序权限',
|
||||
param: 'MES终端号=' + num1 + '&变更类型=' + num2
|
||||
@@ -111,6 +131,8 @@ export function outParts(code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 2,
|
||||
name: '车间生产管理工艺_零件撤出待加工库',
|
||||
param: '工艺计划流水号=' + code + '&结果=11111=string=output'
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 查询人员总工工时
|
||||
export function search1(num1, num2, num3, num4, num5) {
|
||||
@@ -6,6 +8,8 @@ export function search1(num1, num2, num3, num4, num5) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工时统计_查询数据2',
|
||||
param: '操作者_check=' + num1 + '&姓名=' + num2 + '&时间_check=' + num3 + '&开始时间=' + num4 + '&结束时间=' + num5
|
||||
@@ -17,6 +21,8 @@ export function search2(num1, num2, num3, num4, num5) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_金工工时统计_查询数据',
|
||||
param: '操作者_check=' + num1 + '&姓名=' + num2 + '&时间_check=' + num3 + '&开始时间=' + num4 + '&结束时间=' + num5
|
||||
@@ -28,6 +34,8 @@ export function searchPerson() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: `select distinct 姓名 from 车间生产管理工艺_工时查询_实际工时_视图 where 加工完成时间 is not null and 是否启用 = 1`
|
||||
}
|
||||
@@ -38,6 +46,8 @@ export function search4(num1, num2, num3) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_质检数据分析_查询数据',
|
||||
param: '时间_check=' + num1 + '&开始时间=' + num2 + '&结束时间=' + num3
|
||||
@@ -49,6 +59,8 @@ export function search5(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: ` SELECT CAST(SUM(CONVERT(float, 持续时间))/CONVERT(float, datediff(SECOND, '${num1}','${num2}')) as decimal(38, 2)) * 100 as 持续时间,工位号
|
||||
FROM [MES_机加工MES_设备数据采集_工位信息_历史数据表]
|
||||
@@ -62,6 +74,8 @@ export function getOPname() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: ` SELECT 设备号 from MES_工作站_设备状态表`
|
||||
}
|
||||
@@ -72,6 +86,8 @@ export function search6(num, ceck, num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: ` SELECT CAST(SUM(CONVERT(float, 持续时间))/CONVERT(float, datediff(SECOND, '${num1}','${num2}')) as decimal(38, 2)) * 100 as 持续时间
|
||||
,DATEPART(mm,日期) as 月份
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 查询人员总工工时
|
||||
export function searchtable(num1, num2, num3, num4, num5) {
|
||||
@@ -6,6 +8,8 @@ export function searchtable(num1, num2, num3, num4, num5) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工时统计_查询数据2',
|
||||
param: '操作者_check=' + num1 + '&姓名=' + num2 + '&时间_check=' + num3 + '&开始时间=' + num4 + '&结束时间=' + num5
|
||||
@@ -17,6 +21,8 @@ export function searchTable2(pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: 'SELECT 零件图号,零件名称,工序顺序,工艺名称,单件定额工时,准结定额工时 FROM 车间生产管理工艺_零件工序_视图 where 工艺编号 is not null and 工艺计划流水号 = 1235',
|
||||
pagination: pageCurrent + '&' + pageSize
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function searchPartNumber(partnumber) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_基本件入库_零件图号',
|
||||
param: '工艺计划流水号=' + partnumber
|
||||
@@ -17,6 +21,8 @@ export function getMachines() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_机床名称_根据机床查询',
|
||||
param: '是否传递=2=int&考核状态=6=int&工艺任务分配状态=2=int&定额任务分配状态=2=int&单件是否外协=1=int'
|
||||
@@ -29,6 +35,8 @@ export function getGroups(stepNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_组件名称_查询数据_查询所有组',
|
||||
param: '机床流水号=' + stepNumber + '=int'
|
||||
@@ -40,6 +48,8 @@ export function getTable(checkbox_Machine, Machine, checkbox_Group, Group, check
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_横向赋值新建存储过程_新',
|
||||
param: '项目流水号_check=0=string&机床流水号_check=' + checkbox_Machine + '=string&机床流水号=' + Machine + '=string&组件流水号_check=' + checkbox_Group + '=string&组件流水号=' + Group + '=string&零件图号_check=' + checkbox_number + '=string&零件图号=' + number + '=string&是否查询全部数据=1=string&单件是否外协=1=string&考核状态=6=int&开始时间_check=0&开始时间=' + k + '&结束时间_check=0&结束时间=' + m,
|
||||
@@ -53,6 +63,8 @@ export function gettabledata1(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_加工进度查询_查询_New',
|
||||
param: '工艺计划流水号=' + num + '=int'
|
||||
@@ -64,6 +76,8 @@ export function submitEdit(Number1, processSerialNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 2,
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工作者_根据人员编号',
|
||||
param: '人员编号=' + Number1 + '=string&工序流水号=' + processSerialNumber + '=string'
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 机床名称
|
||||
export function getMachines() {
|
||||
@@ -6,6 +8,8 @@ export function getMachines() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '机床名称流水号_查询数据'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function getGroups(stepNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_组件名称_查询数据_查询所有组',
|
||||
param: '机床流水号=' + stepNumber + '=int'
|
||||
@@ -30,6 +36,8 @@ export function searchtable(num1, num2, num3, num4, num5, num6, num7, pageCurren
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_编制工艺_备料到货查询',
|
||||
param: '机床流水号_check=' + num1 + '&机床流水号=' + num2 + '&组件流水号_check=' + num3 + '&组件流水号=' + num4 + '&零件图号_check=' + num5 + '&零件图号=' + num6 + '&备料到货_check=' + num7,
|
||||
@@ -43,6 +51,8 @@ export function change3(Number, code, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_自家备料到货更改',
|
||||
param: '工序流水号组=' + Number + '&工作者考勤编号=' + code + '&工艺计划流水号组=' + num
|
||||
@@ -55,6 +65,8 @@ export function searchtable2(num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_备料打印_查询工序信息',
|
||||
param: '工艺计划流水号=' + num1
|
||||
@@ -67,6 +79,8 @@ export function handlechange(Number, code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工作者',
|
||||
param: '工序流水号=' + Number + '&工作者考勤编号=' + code
|
||||
@@ -79,6 +93,8 @@ export function searchtable3(num, num1, pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '备料管理_外购备料查询',
|
||||
param: '零件图号_check=' + num + '&零件图号=' + num1,
|
||||
@@ -92,6 +108,8 @@ export function change(Number, code, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_备料到货_状态更改',
|
||||
param: '工艺计划流水号=' + Number + '&重量=' + code + '&单价=' + num
|
||||
@@ -104,6 +122,8 @@ export function change2(Number, code, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_外购备料到货更改',
|
||||
param: '工序流水号组=' + Number + '&工作者考勤编号=' + code + '&工艺计划流水号组=' + num
|
||||
@@ -115,6 +135,8 @@ export function handlechange2(Number, code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_修改实际完成时间',
|
||||
param: '工序流水号=' + Number + '&实际完成时间=' + code
|
||||
@@ -128,6 +150,8 @@ export function edit(num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_备料单导出_状态更改',
|
||||
param: `工艺计划流水号=${num1}&备料打印=0`
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function searchTable(time, time1) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '工艺月底工时核算_查询数据',
|
||||
param: '开始时间=' + time + '&结束时间=' + time1
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 查询零件未编制(包含借用件)
|
||||
export function getPartnames3(num1, num2) {
|
||||
@@ -6,6 +8,8 @@ export function getPartnames3(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_编制工艺_按人员机床组号或图号查',
|
||||
param: '工艺人员编号=' + num1 + '&机床组号或图号=' + num2
|
||||
@@ -18,6 +22,8 @@ export function getPartnames4(num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询已完成工艺制定零件_按机床组号或图号查_更改',
|
||||
param: '机床组号或图号=' + num2
|
||||
@@ -30,6 +36,8 @@ export function searchProcess11(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_原零件工艺查询_MESWORK',
|
||||
param: '零件图号=' + num
|
||||
@@ -42,6 +50,8 @@ export function numChange(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_原零件工艺明细查询_MESWORK',
|
||||
param: '典艺流水号=' + num
|
||||
@@ -54,6 +64,8 @@ export function selectRequest(num0, num1, num2, num3, request0) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_根据工序流水号和工艺计划流水号',
|
||||
param: '工序流水号=' + num0 + '&工艺计划流水号=' + num1 + '&工艺编号=' + num2 + '&工艺顺序=' + num3 + '&工艺要求=' + request0
|
||||
@@ -66,6 +78,8 @@ export function initCraftmen() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=20'
|
||||
@@ -78,6 +92,8 @@ export function getPartnames1(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_编制工艺_按人员查',
|
||||
param: '工艺人员编号=' + num1 + '&零件图号=' + num2
|
||||
@@ -90,6 +106,8 @@ export function getPartnames2(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询已完成工艺制定零件',
|
||||
param: '工艺人员编号=' + num1 + '&零件图号=' + num2
|
||||
@@ -102,6 +120,8 @@ export function detailInfo(serialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查已投产零件信息',
|
||||
param: '工艺计划流水号=' + serialNum + '=int'
|
||||
@@ -114,6 +134,8 @@ export function getMaterial(pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_材质表_查询数据',
|
||||
Pagination: pageCurrent + '&' + pageSize
|
||||
@@ -126,6 +148,8 @@ export function searchMaterial(pageCurrent, pageSize, name) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_材质表_查询数据_根据材料名称',
|
||||
param: '材料名称=' + name,
|
||||
@@ -139,6 +163,8 @@ export function typicalProcess() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_分类_查询数据'
|
||||
}
|
||||
@@ -150,6 +176,8 @@ export function FcK(serialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_查询数据_查典型工艺名称',
|
||||
param: '典型工艺名称分类流水号=' + serialNum + '=int'
|
||||
@@ -162,6 +190,8 @@ export function searchProcess(check1, a, check2, b, check3, c) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_查询数据_综合查询',
|
||||
param: '典型工艺名称分类流水号_check=' + check1 + '=bit&典型工艺名称分类流水号=' + a + '=int&典型工艺流水号_check=' + check2 + '=bit&典型工艺流水号=' + b + '=int&典型工艺流水号1_check=' + check3 + '=bit&典型工艺流水号1=' + c + '=int'
|
||||
@@ -174,6 +204,8 @@ export function processNameClick() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_工艺分类名称_查询数据_零件工艺制定专用'
|
||||
}
|
||||
@@ -185,6 +217,8 @@ export function processNameSelect(val) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_工艺名称_查询数据',
|
||||
param: '工艺分类流水号_check=1=bit&工艺分类流水号=' + val + '=int'
|
||||
@@ -197,6 +231,8 @@ export function processRequestSelect(val) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_基础表_工艺要求_查询数据',
|
||||
param: '工艺编号=' + val + '=int'
|
||||
@@ -209,6 +245,8 @@ export function initTolerance() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_公差对照表_查询数据'
|
||||
}
|
||||
@@ -220,6 +258,8 @@ export function searchTolerance(val1, val2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_公差对照表_公差_查询数据',
|
||||
param: '输入数值=' + val1 + '&参数=' + val2
|
||||
@@ -232,6 +272,8 @@ export function initPerson() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=9'
|
||||
@@ -244,6 +286,8 @@ export function searchWYgongyi(check1, tuhao, check2, bianhao, check3, start, en
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询数据_根据零件图号查询已投产的工艺计划流水号',
|
||||
param: '零件图号_check=' + check1 + '&零件图号=' + tuhao + '&工艺员编号_check=' + check2 + '&工艺员编号=' + bianhao + '&工艺时间_check=' + check3 + '&工艺开始时间=' + start + '=datetime&工艺结束时间=' + end + '=datetime&零件名称_check=' + check4 + '&零件名称=' + name
|
||||
@@ -256,6 +300,8 @@ export function gongyiYQ(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询数据',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -268,6 +314,8 @@ export function gongyiCopy(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_工艺拷贝_工艺计划流水号',
|
||||
param: '工艺计划流水号_完成工艺=' + num1 + '=int&工艺计划流水号_被拷工艺=' + num2 + '=int'
|
||||
@@ -280,6 +328,8 @@ export function mainTable(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询工序信息',
|
||||
param: '工艺计划流水号=' + num + '=int'
|
||||
@@ -292,6 +342,8 @@ export function hardEdit(num, hard) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工艺难度等级',
|
||||
param: '工序流水号=' + num + '=int&工艺难度等级=' + hard
|
||||
@@ -304,6 +356,8 @@ export function requestEdit(num, request0) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工艺要求_根据工序流水号',
|
||||
param: '工序流水号=' + num + '=int&工艺要求=' + request0
|
||||
@@ -316,6 +370,8 @@ export function saveUpadate(num, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_更改保存',
|
||||
param: '工艺计划流水号=' + num + '&工序流水号=' + num1
|
||||
@@ -328,6 +384,8 @@ export function insertOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工艺计划流水号和工序流水号_更改',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -340,6 +398,8 @@ export function deleteOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_删除数据_工序流水号',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -352,6 +412,8 @@ export function upOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_上移工序',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -364,6 +426,8 @@ export function downOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_下移工序',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -376,6 +440,8 @@ export function saveMaterial(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_修改零件材料',
|
||||
param: '工艺计划流水号=' + num0 + '&材料流水号=' + num1
|
||||
@@ -388,6 +454,8 @@ export function saveApprove(num0, num1, request0, spec, num2, outhelp, num3, num
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_增加数据_同时修改工艺计划',
|
||||
param: '工艺计划流水号=' + num0 + '&工艺编号=' + num1 + '&工艺要求=' + request0 + '&原材料规格=' + spec + '&工序顺序=' + num2 + '&工序间是否外协=' + outhelp + '&工序流水号=' + num3 + '&材料流水号=' + num4 + '&重量=' + weight + '&面积=' + area + '&工艺人员编号=' + num5 + '&工艺难度等级=' + level
|
||||
@@ -401,6 +469,8 @@ export function pasteTable(oldNum, newNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_拷贝零件工艺',
|
||||
param: '工艺计划流水号旧=' + oldNum + '&工艺计划流水号新=' + newNum
|
||||
@@ -413,6 +483,8 @@ export function deleteTable(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_删除零件工艺',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -425,6 +497,8 @@ export function returnEdit(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_在制零件工艺调整_修改工艺',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -437,6 +511,8 @@ export function searchRecord(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_在制零件工艺调整_查询工艺',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -449,6 +525,8 @@ export function WeightCopy(num, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_重量拷贝_工艺计划流水号',
|
||||
param: '工艺计划流水号=' + num + '&重量信息=' + num2
|
||||
@@ -461,6 +539,8 @@ export function saveWeight(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_修改零件重量',
|
||||
param: '工艺计划流水号=' + num0 + '&重量=' + num1
|
||||
@@ -473,6 +553,8 @@ export function singleChange(val1, val2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_单件准结定额_修改数据',
|
||||
param: '工序流水号=' + val1 + '&单件定额工时=' + val2
|
||||
@@ -485,6 +567,8 @@ export function readyChange(val1, val2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_单件准结定额_修改数据',
|
||||
param: '工序流水号=' + val1 + '&准结定额工时=' + val2
|
||||
@@ -497,6 +581,8 @@ export function TableAddLi1(a, b) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_定额任务分配_保存数据',
|
||||
param: '工艺计划流水号=' + a + '=string&人员编号=' + b + '=string'
|
||||
@@ -509,6 +595,8 @@ export function TableAddLi(a, b, c, num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_增加数据_修改数据',
|
||||
param: '单件定额工时=' + a + '=string&准结定额工时=' + b + '=string&零件图号=' + c + '=string&工序流水号=' + num0 + '=int&工艺计划流水号=' + num1 + '=int'
|
||||
@@ -521,6 +609,8 @@ export function modifyRemark(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_工艺修改记录_增加数据',
|
||||
param: `修改人员编号=${params[0]}&修改备注=${params[1]}&工艺计划流水号=${params[2]}`
|
||||
@@ -532,6 +622,8 @@ export function editGongyi(num, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_2027zdyNew',
|
||||
param: `工艺计划流水号=${num}&工艺编号=${num1}`
|
||||
@@ -543,6 +635,8 @@ export function dropGongyi(num, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_删除数据_2027zdyNew',
|
||||
param: `工艺计划流水号=${num}&工序流水号=${num1}`
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function initProject() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '设备管理_传递后_项目名称_查询数据',
|
||||
param: '考核状态=5'
|
||||
@@ -16,6 +20,8 @@ export function searchData(check1, num1, check2, start, end, type) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_新排产算法_工时统计_单个项目总工时',
|
||||
param: '项目流水号_check=' + check1 + '&项目流水号=' + num1 + '&日期_check=' + check2 + '&开始日期=' + start + '&结束日期=' + end + '&查询类型=' + type
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
export function SelectMachine() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '发货管理_发货申请_发货单_机床_查询',
|
||||
param: '机床图号=' + arguments[0]
|
||||
@@ -15,6 +19,8 @@ export function ProcessOutsourcing() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '工序外协_综合查询',
|
||||
param: '机床流水号=' + arguments[0]
|
||||
@@ -26,6 +32,8 @@ export function ProcessProportion() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '工序外协_工序占比_综合查询',
|
||||
param: '机床流水号=' + arguments[0]
|
||||
@@ -37,6 +45,8 @@ export function searchMachine() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '机床总查询',
|
||||
param: '机床流水号_check=' + arguments[0] + '&机床流水号=' + arguments[1]
|
||||
@@ -48,6 +58,8 @@ export function searchAll() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '1_总查询',
|
||||
param: '机床流水号=' + arguments[0]
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化机床项目
|
||||
export function initProject() {
|
||||
@@ -6,6 +8,8 @@ export function initProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function DeliveryTimeSelect(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_三表下达时间_查询数据',
|
||||
param: '组件流水号=' + num
|
||||
@@ -29,6 +35,8 @@ export function searchgroup(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + num
|
||||
@@ -40,6 +48,8 @@ export function searchTable(machineNumberValue, check2, groupNumberValue, check3
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间管理_基本件采购_查询数据',
|
||||
param: '机床流水号_check=' + check2 + '&机床流水号=' + machineNumberValue + '&组件流水号_check=' + check3 + '&组件流水号=' + groupNumberValue
|
||||
@@ -51,6 +61,8 @@ export function searchPart(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_零件明细表_基本件_查询数据',
|
||||
param: '组件流水号=' + num
|
||||
@@ -62,6 +74,8 @@ export function searchPart1(num, type) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目管理_零件明细表_标准件和外购件_车间采购_查询数据',
|
||||
param: '组件流水号=' + num + '&标准件类型=' + type
|
||||
@@ -73,6 +87,8 @@ export function searchTable1(PurchaseOrder, check4) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间管理_基本件采购_请购单_查询数据',
|
||||
param: '请购单编号=' + PurchaseOrder + '&请购单编号_check=' + check4
|
||||
@@ -84,6 +100,8 @@ export function addData(num1, num2, id, time, remarks) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_基本件采购_请购单_增加数据',
|
||||
param: '请购车间=' + num1 + '&请购人=' + num2 + '&人员编号=' + id + '&请购时间=' + time + '&备注=' + remarks
|
||||
@@ -95,6 +113,8 @@ export function editData(RequisitionList, num1, time) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_基本件采购_请购单_编辑数据',
|
||||
param: '请购单流水号=' + RequisitionList + '&请购车间=' + num1 + '&请购时间=' + time
|
||||
@@ -106,6 +126,8 @@ export function deleteData(RequisitionList) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_基本件采购_请购单_删除数据',
|
||||
param: '请购单流水号=' + RequisitionList
|
||||
@@ -117,6 +139,8 @@ export function searchDetailed(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间管理_基本件采购_请购单明细_查询数据_外购件',
|
||||
param: '请购单流水号=' + num
|
||||
@@ -128,6 +152,8 @@ export function searchDetailed1(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间管理_基本件采购_请购单明细_查询数据_基本件',
|
||||
param: '请购单流水号=' + num
|
||||
@@ -139,6 +165,8 @@ export function purchaseRequisition(RequisitionList, projectName, projectFloatVa
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_基本件采购_请购单明细_请购',
|
||||
param: '请购单流水号=' + RequisitionList + '&项目名称=' + projectName + '&项目流水号=' + projectFloatValue + '&机床图号=' + MachineToolNumber + '&机床流水号=' + machineFloatValue + '&组号=' + groupName + '&组件流水号=' + groupFloatValue + '&基本件流水号=' + BasicPartsNumber + '&物料名称=' + MaterialName + '&零件图号=' + PartToolNumber + '&材料=' + Material + '&零件数量=' + NumberOfParts + '&零件类型=' + PartType + '&物料计划到货时间=' + time + '&物料流水号=' + MaterialNum + '&备注=' + ReMarks
|
||||
@@ -150,6 +178,8 @@ export function purchaseRequisition1(RequisitionList, projectName, projectFloatV
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_基本件采购_请购单明细_请购',
|
||||
param: '请购单流水号=' + RequisitionList + '&项目名称=' + projectName + '&项目流水号=' + projectFloatValue + '&机床图号=' + MachineToolNumber + '&机床流水号=' + machineFloatValue + '&组号=' + groupName + '&组件流水号=' + groupFloatValue + '&标准件和外购件流水号=' + StandardPartsAndOutsourcing + '&物料名称=' + MaterialName + '&物料代码=' + MaterialCode + '&物料规格=' + MaterialSpecification + '&物料型号=' + MaterialModel + '&零件数量=' + NumberOfParts + '&零件类型=' + PartType + '&物料计划到货时间=' + time + '&物料流水号=' + MaterialNum + '&备注=' + ReMarks
|
||||
@@ -161,6 +191,8 @@ export function purchaseRequisition2(projectFloatValue, machineFloatValue, group
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_采购部采购_基本件_传递数据',
|
||||
param: `组件流水号=${groupFloatValue}&基本件流水号组=${BasicPartsNumber}&项目流水号=${projectFloatValue}&机床流水号=${machineFloatValue}&物料计划到货时间=${time}&零件数量组=${NumberOfParts}`
|
||||
@@ -172,6 +204,8 @@ export function MoveOut(num, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_基本件采购_请购单明细_移出',
|
||||
param: '请购单明细流水号=' + num + '&基本件流水号=' + num1
|
||||
@@ -183,6 +217,8 @@ export function MoveOut1(num, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_基本件采购_请购单明细_移出',
|
||||
param: '请购单明细流水号=' + num + '&标准件和外购件流水号=' + num1
|
||||
@@ -194,6 +230,8 @@ export function PurchasingDepartment(num, num1, time, MaterialNum, NumberOfParts
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_车间采购_标准件和外购件_传递数据',
|
||||
param: `组件流水号=${num}&标准件和外购件流水号组=${num1}&物料计划到货时间=${time}=datetime&物料流水号组=${MaterialNum}&零件数量组=${NumberOfParts}&项目流水号=${projectFloatValue}&机床流水号=${machineFloatValue}`
|
||||
@@ -205,6 +243,8 @@ export function Production(num, MaterialNum, Number, projectFloatValue, machineF
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_车间采购_基本件_传递数据',
|
||||
param: `组件流水号=${num}&基本件流水号组=${MaterialNum}&零件数量组=${Number}&项目流水号=${projectFloatValue}&机床流水号=${machineFloatValue}`
|
||||
@@ -216,6 +256,8 @@ export function PartCallbackInformation() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '采购管理_退回记录_基本件_查询数据'
|
||||
}
|
||||
@@ -226,6 +268,8 @@ export function PartCallbackInformation1() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '采购管理_退回记录_标准件和外购件_查询数据'
|
||||
}
|
||||
@@ -236,6 +280,8 @@ export function submit(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_退回记录_确认数据',
|
||||
param: '基本件流水号=' + num
|
||||
@@ -247,6 +293,8 @@ export function submit1(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_退回记录_确认数据',
|
||||
param: '标准件和外购件流水号=' + num
|
||||
@@ -258,6 +306,8 @@ export function Delete(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_退回记录_删除数据',
|
||||
param: '基本件流水号=' + num
|
||||
@@ -269,6 +319,8 @@ export function Delete1(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_退回记录_删除数据',
|
||||
param: '标准件和外购件流水号=' + num
|
||||
@@ -280,6 +332,8 @@ export function editStock(num, num1, num2, num3, num4) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '零件分配_标准件和外购件_使用库存',
|
||||
param: '标准件和外购件流水号=' + num + '&数量=' + num1 + '&零件数量=' + num2 + '&物料流水号=' + num3 + '&安全库存量=' + num4
|
||||
@@ -291,6 +345,8 @@ export function editNum(num, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间管理_标准件和外购件_更改数量',
|
||||
param: '请购单明细流水号=' + num + '&数量=' + num1
|
||||
@@ -302,6 +358,8 @@ export function OutPart(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '零件分配_移出数据',
|
||||
param: '基本件流水号=' + num
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化机床项目
|
||||
export function initMachineProject() {
|
||||
@@ -6,6 +8,8 @@ export function initMachineProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function searchgroup(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + num
|
||||
@@ -29,6 +35,8 @@ export function initPerson() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=20'
|
||||
@@ -41,6 +49,8 @@ export function search(pageCurrent, pageSize, check1, val1, check2, val2, check3
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_按机床分组图号人员查',
|
||||
param: `机床流水号_check=${check1}&机床流水号=${val1}&组件流水号_check=${check2}&组件流水号=${val2}&零件图号_check=${check3}&零件图号=${val3}&人员编号_check=${check4}&人员编号=${val4}`,
|
||||
@@ -54,6 +64,8 @@ export function searchtable1(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_根据工艺计划流水号_工艺定额查询_系数',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -65,6 +77,8 @@ export function searchtable2(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件加工路线单_查询数据_系数',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -77,6 +91,8 @@ export function returnEdit(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_在制零件工艺调整_修改工艺_循环',
|
||||
param: `工艺计划流水号组=${num}`
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化工艺员
|
||||
export function initCraftmen() {
|
||||
@@ -6,6 +8,8 @@ export function initCraftmen() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=20'
|
||||
@@ -18,6 +22,8 @@ export function searchPart(person) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_在制零件工艺调整_被调整零件查询',
|
||||
param: '工艺人员编号=' + person
|
||||
@@ -30,6 +36,8 @@ export function searchProcessOld(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_在制零件工艺调整_查询工艺',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -42,6 +50,8 @@ export function searchProcessNew(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询工序信息',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -54,6 +64,8 @@ export function searchChart() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_在制零件工艺调整_被调整零件数量查询'
|
||||
}
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 典艺查询<高精原有数据>
|
||||
export function searchProcess11(num) {
|
||||
@@ -6,6 +8,8 @@ export function searchProcess11(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_原零件工艺查询_MESWORK',
|
||||
param: '零件图号=' + num
|
||||
@@ -18,6 +22,8 @@ export function numChange(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_原零件工艺明细查询_MESWORK',
|
||||
param: '典艺流水号=' + num
|
||||
@@ -30,6 +36,8 @@ export function selectRequest(num0, num1, num2, num3, request0) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_根据工序流水号和工艺计划流水号',
|
||||
param: '工序流水号=' + num0 + '&工艺计划流水号=' + num1 + '&工艺编号=' + num2 + '&工艺顺序=' + num3 + '&工艺要求=' + request0
|
||||
@@ -42,6 +50,8 @@ export function initCraftmen() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=20'
|
||||
@@ -54,6 +64,8 @@ export function getPartnames1(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_编制工艺_按人员查',
|
||||
param: '工艺人员编号=' + num1 + '&零件图号=' + num2
|
||||
@@ -66,6 +78,8 @@ export function getPartnames2(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询已完成工艺制定零件',
|
||||
param: '工艺人员编号=' + num1 + '&零件图号=' + num2
|
||||
@@ -78,6 +92,8 @@ export function detailInfo(serialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查已投产零件信息',
|
||||
param: '工艺计划流水号=' + serialNum + '=int'
|
||||
@@ -90,6 +106,8 @@ export function getMaterial(pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_材质表_查询数据',
|
||||
Pagination: pageCurrent + '&' + pageSize
|
||||
@@ -102,6 +120,8 @@ export function searchMaterial(pageCurrent, pageSize, name) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_材质表_查询数据_根据材料名称',
|
||||
param: '材料名称=' + name,
|
||||
@@ -115,6 +135,8 @@ export function typicalProcess() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_分类_查询数据'
|
||||
}
|
||||
@@ -126,6 +148,8 @@ export function FcK(serialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_查询数据_查典型工艺名称',
|
||||
param: '典型工艺名称分类流水号=' + serialNum + '=int'
|
||||
@@ -138,6 +162,8 @@ export function searchProcess(check1, a, check2, b, check3, c) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_查询数据_综合查询',
|
||||
param: '典型工艺名称分类流水号_check=' + check1 + '=bit&典型工艺名称分类流水号=' + a + '=int&典型工艺流水号_check=' + check2 + '=bit&典型工艺流水号=' + b + '=int&典型工艺流水号1_check=' + check3 + '=bit&典型工艺流水号1=' + c + '=int'
|
||||
@@ -150,6 +176,8 @@ export function processNameClick() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_工艺分类名称_查询数据_零件工艺制定专用'
|
||||
}
|
||||
@@ -161,6 +189,8 @@ export function processNameSelect(val) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_工艺名称_查询数据',
|
||||
param: '工艺分类流水号_check=1=bit&工艺分类流水号=' + val + '=int'
|
||||
@@ -173,6 +203,8 @@ export function processRequestSelect(val) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_基础表_工艺要求_查询数据',
|
||||
param: '工艺编号=' + val + '=int'
|
||||
@@ -185,6 +217,8 @@ export function initTolerance() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_公差对照表_查询数据'
|
||||
}
|
||||
@@ -196,6 +230,8 @@ export function searchTolerance(val1, val2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_公差对照表_公差_查询数据',
|
||||
param: '输入数值=' + val1 + '&参数=' + val2
|
||||
@@ -208,6 +244,8 @@ export function initPerson() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=9'
|
||||
@@ -220,6 +258,8 @@ export function searchWYgongyi(check1, tuhao, check2, bianhao, check3, start, en
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询数据_根据零件图号查询已投产的工艺计划流水号',
|
||||
param: '零件图号_check=' + check1 + '&零件图号=' + tuhao + '&工艺员编号_check=' + check2 + '&工艺员编号=' + bianhao + '&工艺时间_check=' + check3 + '&工艺开始时间=' + start + '=datetime&工艺结束时间=' + end + '=datetime&零件名称_check=' + check4 + '&零件名称=' + name
|
||||
@@ -232,6 +272,8 @@ export function gongyiYQ(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询数据',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -244,6 +286,8 @@ export function gongyiCopy(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_工艺拷贝_工艺计划流水号',
|
||||
param: '工艺计划流水号_完成工艺=' + num1 + '=int&工艺计划流水号_被拷工艺=' + num2 + '=int'
|
||||
@@ -256,6 +300,8 @@ export function mainTable(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询工序信息',
|
||||
param: '工艺计划流水号=' + num + '=int'
|
||||
@@ -268,6 +314,8 @@ export function hardEdit(num, hard) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工艺难度等级',
|
||||
param: '工序流水号=' + num + '=int&工艺难度等级=' + hard
|
||||
@@ -280,6 +328,8 @@ export function requestEdit(num, request0) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工艺要求_根据工序流水号',
|
||||
param: '工序流水号=' + num + '=int&工艺要求=' + request0
|
||||
@@ -292,6 +342,8 @@ export function insertOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工艺计划流水号和工序流水号',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -304,6 +356,8 @@ export function deleteOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_删除数据_工序流水号',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -316,6 +370,8 @@ export function upOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_上移工序',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -328,6 +384,8 @@ export function downOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_下移工序',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -340,6 +398,8 @@ export function saveMaterial(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_修改零件材料',
|
||||
param: '工艺计划流水号=' + num0 + '&材料流水号=' + num1
|
||||
@@ -352,6 +412,8 @@ export function saveApprove(num0, num1, request0, spec, num2, outhelp, num3, num
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_增加数据_同时修改工艺计划',
|
||||
param: '工艺计划流水号=' + num0 + '&工艺编号=' + num1 + '&工艺要求=' + request0 + '&原材料规格=' + spec + '&工序顺序=' + num2 + '&工序间是否外协=' + outhelp + '&工序流水号=' + num3 + '&材料流水号=' + num4 + '&重量=' + weight + '&面积=' + area + '&工艺人员编号=' + num5 + '&工艺难度等级=' + level
|
||||
@@ -365,6 +427,8 @@ export function pasteTable(oldNum, newNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_拷贝零件工艺',
|
||||
param: '工艺计划流水号旧=' + oldNum + '&工艺计划流水号新=' + newNum
|
||||
@@ -377,6 +441,8 @@ export function deleteTable(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_删除零件工艺',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -389,6 +455,8 @@ export function returnEdit(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_在制零件工艺调整_修改工艺',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -401,6 +469,8 @@ export function searchRecord(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_在制零件工艺调整_查询工艺',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -413,6 +483,8 @@ export function WeightCopy(num, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_重量拷贝_工艺计划流水号',
|
||||
param: '工艺计划流水号=' + num + '&重量信息=' + num2
|
||||
@@ -425,6 +497,8 @@ export function saveWeight(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_修改零件重量',
|
||||
param: '工艺计划流水号=' + num0 + '&重量=' + num1
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 查询零件未编制(包含借用件)
|
||||
export function getPartnames3(num1, num2) {
|
||||
@@ -6,6 +8,8 @@ export function getPartnames3(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_编制工艺_按人员机床组号或图号查',
|
||||
param: '工艺人员编号=' + num1 + '&机床组号或图号=' + num2
|
||||
@@ -18,6 +22,8 @@ export function getPartnames4(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询已完成工艺制定零件_按人员机床组号或图号查',
|
||||
param: '工艺人员编号=' + num1 + '&机床组号或图号=' + num2
|
||||
@@ -30,6 +36,8 @@ export function searchProcess11(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_原零件工艺查询_MESWORK',
|
||||
param: '零件图号=' + num
|
||||
@@ -42,6 +50,8 @@ export function numChange(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_原零件工艺明细查询_MESWORK',
|
||||
param: '典艺流水号=' + num
|
||||
@@ -54,6 +64,8 @@ export function selectRequest(num0, num1, num2, num3, request0) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_根据工序流水号和工艺计划流水号',
|
||||
param: '工序流水号=' + num0 + '&工艺计划流水号=' + num1 + '&工艺编号=' + num2 + '&工艺顺序=' + num3 + '&工艺要求=' + request0
|
||||
@@ -66,6 +78,8 @@ export function initCraftmen() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=20'
|
||||
@@ -78,6 +92,8 @@ export function getPartnames1(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_编制工艺_按人员查',
|
||||
param: '工艺人员编号=' + num1 + '&零件图号=' + num2
|
||||
@@ -90,6 +106,8 @@ export function getPartnames2(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询已完成工艺制定零件',
|
||||
param: '工艺人员编号=' + num1 + '&零件图号=' + num2
|
||||
@@ -102,6 +120,8 @@ export function detailInfo(serialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查已投产零件信息',
|
||||
param: '工艺计划流水号=' + serialNum + '=int'
|
||||
@@ -114,6 +134,8 @@ export function getMaterial(pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_材质表_查询数据',
|
||||
Pagination: pageCurrent + '&' + pageSize
|
||||
@@ -126,6 +148,8 @@ export function searchMaterial(pageCurrent, pageSize, name) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_材质表_查询数据_根据材料名称',
|
||||
param: '材料名称=' + name,
|
||||
@@ -139,6 +163,8 @@ export function typicalProcess() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_分类_查询数据'
|
||||
}
|
||||
@@ -150,6 +176,8 @@ export function FcK(serialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_查询数据_查典型工艺名称',
|
||||
param: '典型工艺名称分类流水号=' + serialNum + '=int'
|
||||
@@ -162,6 +190,8 @@ export function searchProcess(check1, a, check2, b, check3, c) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_查询数据_综合查询',
|
||||
param: '典型工艺名称分类流水号_check=' + check1 + '=bit&典型工艺名称分类流水号=' + a + '=int&典型工艺流水号_check=' + check2 + '=bit&典型工艺流水号=' + b + '=int&典型工艺流水号1_check=' + check3 + '=bit&典型工艺流水号1=' + c + '=int'
|
||||
@@ -174,6 +204,8 @@ export function processNameClick() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_工艺分类名称_查询数据_零件工艺制定专用'
|
||||
}
|
||||
@@ -185,6 +217,8 @@ export function processNameSelect(val) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_工艺名称_查询数据',
|
||||
param: '工艺分类流水号_check=1=bit&工艺分类流水号=' + val + '=int'
|
||||
@@ -197,6 +231,8 @@ export function processRequestSelect(val) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_基础表_工艺要求_查询数据',
|
||||
param: '工艺编号=' + val + '=int'
|
||||
@@ -209,6 +245,8 @@ export function initTolerance() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_公差对照表_查询数据'
|
||||
}
|
||||
@@ -220,6 +258,8 @@ export function searchTolerance(val1, val2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_公差对照表_公差_查询数据',
|
||||
param: '输入数值=' + val1 + '&参数=' + val2
|
||||
@@ -232,6 +272,8 @@ export function initPerson() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=9'
|
||||
@@ -244,6 +286,8 @@ export function searchWYgongyi(check1, tuhao, check2, bianhao, check3, start, en
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询数据_根据零件图号查询已投产的工艺计划流水号',
|
||||
param: '零件图号_check=' + check1 + '&零件图号=' + tuhao + '&工艺员编号_check=' + check2 + '&工艺员编号=' + bianhao + '&工艺时间_check=' + check3 + '&工艺开始时间=' + start + '=datetime&工艺结束时间=' + end + '=datetime&零件名称_check=' + check4 + '&零件名称=' + name
|
||||
@@ -256,6 +300,8 @@ export function gongyiYQ(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询数据',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -268,6 +314,8 @@ export function gongyiCopy(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_工艺拷贝_工艺计划流水号',
|
||||
param: '工艺计划流水号_完成工艺=' + num1 + '=int&工艺计划流水号_被拷工艺=' + num2 + '=int'
|
||||
@@ -280,6 +328,8 @@ export function mainTable(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询工序信息',
|
||||
param: '工艺计划流水号=' + num + '=int'
|
||||
@@ -292,6 +342,8 @@ export function hardEdit(num, hard) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工艺难度等级',
|
||||
param: '工序流水号=' + num + '=int&工艺难度等级=' + hard
|
||||
@@ -304,6 +356,8 @@ export function requestEdit(num, request0) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工艺要求_根据工序流水号',
|
||||
param: '工序流水号=' + num + '=int&工艺要求=' + request0
|
||||
@@ -316,6 +370,8 @@ export function insertOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工艺计划流水号和工序流水号',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -328,6 +384,8 @@ export function insertOne1(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工艺计划流水号和工序流水号_更改',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -340,6 +398,8 @@ export function deleteOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_删除数据_工序流水号',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -352,6 +412,8 @@ export function upOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_上移工序',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -364,6 +426,8 @@ export function downOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_下移工序',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -376,6 +440,8 @@ export function saveMaterial(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_修改零件材料',
|
||||
param: '工艺计划流水号=' + num0 + '&材料流水号=' + num1
|
||||
@@ -388,6 +454,8 @@ export function saveApprove(num0, num1, request0, spec, num2, outhelp, num3, num
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_增加数据_同时修改工艺计划',
|
||||
param: '工艺计划流水号=' + num0 + '&工艺编号=' + num1 + '&工艺要求=' + request0 + '&原材料规格=' + spec + '&工序顺序=' + num2 + '&工序间是否外协=' + outhelp + '&工序流水号=' + num3 + '&材料流水号=' + num4 + '&重量=' + weight + '&面积=' + area + '&工艺人员编号=' + num5 + '&工艺难度等级=' + level + '&工艺是否更改=' + num6
|
||||
@@ -401,6 +469,8 @@ export function pasteTable(oldNum, newNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_拷贝零件工艺',
|
||||
param: '工艺计划流水号旧=' + oldNum + '&工艺计划流水号新=' + newNum
|
||||
@@ -413,6 +483,8 @@ export function deleteTable(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_删除零件工艺',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -425,6 +497,8 @@ export function returnEdit(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_在制零件工艺调整_修改工艺',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -437,6 +511,8 @@ export function searchRecord(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_在制零件工艺调整_查询工艺',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -449,6 +525,8 @@ export function WeightCopy(num, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_重量拷贝_工艺计划流水号',
|
||||
param: '工艺计划流水号=' + num + '&重量信息=' + num2
|
||||
@@ -461,6 +539,8 @@ export function saveWeight(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_修改零件重量',
|
||||
param: '工艺计划流水号=' + num0 + '&重量=' + num1
|
||||
@@ -473,6 +553,8 @@ export function singleChange(val1, val2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_单件准结定额_修改数据',
|
||||
param: '工序流水号=' + val1 + '&单件定额工时=' + val2
|
||||
@@ -485,6 +567,8 @@ export function readyChange(val1, val2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_单件准结定额_修改数据',
|
||||
param: '工序流水号=' + val1 + '&准结定额工时=' + val2
|
||||
@@ -497,6 +581,8 @@ export function TableAddLi1(a, b) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_定额任务分配_保存数据',
|
||||
param: '工艺计划流水号=' + a + '=string&人员编号=' + b + '=string'
|
||||
@@ -509,6 +595,8 @@ export function TableAddLi(a, b, c, num0, num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_增加数据_修改数据',
|
||||
param: '单件定额工时=' + a + '=string&准结定额工时=' + b + '=string&零件图号=' + c + '=string&工序流水号=' + num0 + '=int&工艺计划流水号=' + num1 + '=int&是否加序=' + num2 + '=int'
|
||||
@@ -521,6 +609,8 @@ export function modifyRemark(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_工艺修改记录_增加数据',
|
||||
param: `修改人员编号=${params[0]}&修改备注=${params[1]}&工艺计划流水号=${params[2]}`
|
||||
@@ -532,6 +622,8 @@ export function editGongyi(num, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_2027zdyNew',
|
||||
param: `工艺计划流水号=${num}&工艺编号=${num1}`
|
||||
@@ -543,6 +635,8 @@ export function dropGongyi(num, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_删除数据_2027zdyNew',
|
||||
param: `工艺计划流水号=${num}&工序流水号=${num1}`
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 查询零件未编制(包含借用件)
|
||||
export function getPartnames3(num1, num2) {
|
||||
@@ -6,6 +8,8 @@ export function getPartnames3(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_编制工艺_按人员机床组号或图号查',
|
||||
param: '工艺人员编号=' + num1 + '&机床组号或图号=' + num2
|
||||
@@ -18,6 +22,8 @@ export function getPartnames4(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询已完成工艺制定零件_按人员机床组号或图号查',
|
||||
param: '工艺人员编号=' + num1 + '&机床组号或图号=' + num2
|
||||
@@ -30,6 +36,8 @@ export function searchProcess11(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_原零件工艺查询_MESWORK',
|
||||
param: '零件图号=' + num
|
||||
@@ -42,6 +50,8 @@ export function numChange(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_原零件工艺明细查询_MESWORK',
|
||||
param: '典艺流水号=' + num
|
||||
@@ -54,6 +64,8 @@ export function selectRequest(num0, num1, num2, num3, request0) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_根据工序流水号和工艺计划流水号',
|
||||
param: '工序流水号=' + num0 + '&工艺计划流水号=' + num1 + '&工艺编号=' + num2 + '&工艺顺序=' + num3 + '&工艺要求=' + request0
|
||||
@@ -66,6 +78,8 @@ export function initCraftmen() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=20'
|
||||
@@ -78,6 +92,8 @@ export function getPartnames1(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_编制工艺_按人员查',
|
||||
param: '工艺人员编号=' + num1 + '&零件图号=' + num2
|
||||
@@ -90,6 +106,8 @@ export function getPartnames2(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询已完成工艺制定零件',
|
||||
param: '工艺人员编号=' + num1 + '&零件图号=' + num2
|
||||
@@ -102,6 +120,8 @@ export function detailInfo(serialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查已投产零件信息',
|
||||
param: '工艺计划流水号=' + serialNum + '=int'
|
||||
@@ -114,6 +134,8 @@ export function getMaterial(pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_材质表_查询数据',
|
||||
Pagination: pageCurrent + '&' + pageSize
|
||||
@@ -126,6 +148,8 @@ export function searchMaterial(pageCurrent, pageSize, name) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_材质表_查询数据_根据材料名称',
|
||||
param: '材料名称=' + name,
|
||||
@@ -139,6 +163,8 @@ export function typicalProcess() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_分类_查询数据'
|
||||
}
|
||||
@@ -150,6 +176,8 @@ export function FcK(serialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_查询数据_查典型工艺名称',
|
||||
param: '典型工艺名称分类流水号=' + serialNum + '=int'
|
||||
@@ -162,6 +190,8 @@ export function searchProcess(check1, a, check2, b, check3, c) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_查询数据_综合查询',
|
||||
param: '典型工艺名称分类流水号_check=' + check1 + '=bit&典型工艺名称分类流水号=' + a + '=int&典型工艺流水号_check=' + check2 + '=bit&典型工艺流水号=' + b + '=int&典型工艺流水号1_check=' + check3 + '=bit&典型工艺流水号1=' + c + '=int'
|
||||
@@ -174,6 +204,8 @@ export function processNameClick() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_工艺分类名称_查询数据_零件工艺制定专用'
|
||||
}
|
||||
@@ -185,6 +217,8 @@ export function processNameSelect(val) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_工艺名称_查询数据',
|
||||
param: '工艺分类流水号_check=1=bit&工艺分类流水号=' + val + '=int'
|
||||
@@ -197,6 +231,8 @@ export function processRequestSelect(val) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_基础表_工艺要求_查询数据',
|
||||
param: '工艺编号=' + val + '=int'
|
||||
@@ -209,6 +245,8 @@ export function initTolerance() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_公差对照表_查询数据'
|
||||
}
|
||||
@@ -220,6 +258,8 @@ export function searchTolerance(val1, val2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_公差对照表_公差_查询数据',
|
||||
param: '输入数值=' + val1 + '&参数=' + val2
|
||||
@@ -232,6 +272,8 @@ export function initPerson() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=9'
|
||||
@@ -244,6 +286,8 @@ export function searchWYgongyi(check1, tuhao, check2, bianhao, check3, start, en
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询数据_根据零件图号查询已投产的工艺计划流水号',
|
||||
param: '零件图号_check=' + check1 + '&零件图号=' + tuhao + '&工艺员编号_check=' + check2 + '&工艺员编号=' + bianhao + '&工艺时间_check=' + check3 + '&工艺开始时间=' + start + '=datetime&工艺结束时间=' + end + '=datetime&零件名称_check=' + check4 + '&零件名称=' + name
|
||||
@@ -256,6 +300,8 @@ export function gongyiYQ(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询数据',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -268,6 +314,8 @@ export function gongyiCopy(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_工艺拷贝_工艺计划流水号',
|
||||
param: '工艺计划流水号_完成工艺=' + num1 + '=int&工艺计划流水号_被拷工艺=' + num2 + '=int'
|
||||
@@ -280,6 +328,8 @@ export function mainTable(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询工序信息',
|
||||
param: '工艺计划流水号=' + num + '=int'
|
||||
@@ -292,6 +342,8 @@ export function hardEdit(num, hard) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工艺难度等级',
|
||||
param: '工序流水号=' + num + '=int&工艺难度等级=' + hard
|
||||
@@ -304,6 +356,8 @@ export function requestEdit(num, request0) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工艺要求_根据工序流水号',
|
||||
param: '工序流水号=' + num + '=int&工艺要求=' + request0
|
||||
@@ -316,6 +370,8 @@ export function insertOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工艺计划流水号和工序流水号',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -328,6 +384,8 @@ export function deleteOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_删除数据_工序流水号',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -340,6 +398,8 @@ export function upOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_上移工序',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -352,6 +412,8 @@ export function downOne(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_下移工序',
|
||||
param: '工艺计划流水号=' + num0 + '=int&工序流水号=' + num1 + '=int'
|
||||
@@ -364,6 +426,8 @@ export function saveMaterial(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_修改零件材料',
|
||||
param: '工艺计划流水号=' + num0 + '&材料流水号=' + num1
|
||||
@@ -376,6 +440,8 @@ export function saveApprove(num0, num1, request0, spec, num2, outhelp, num3, num
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_增加数据_同时修改工艺计划',
|
||||
param: '工艺计划流水号=' + num0 + '&工艺编号=' + num1 + '&工艺要求=' + request0 + '&原材料规格=' + spec + '&工序顺序=' + num2 + '&工序间是否外协=' + outhelp + '&工序流水号=' + num3 + '&材料流水号=' + num4 + '&重量=' + weight + '&面积=' + area + '&工艺人员编号=' + num5 + '&工艺难度等级=' + level
|
||||
@@ -389,6 +455,8 @@ export function pasteTable(oldNum, newNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_拷贝零件工艺',
|
||||
param: '工艺计划流水号旧=' + oldNum + '&工艺计划流水号新=' + newNum
|
||||
@@ -401,6 +469,8 @@ export function deleteTable(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_删除零件工艺',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -413,6 +483,8 @@ export function returnEdit(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_在制零件工艺调整_修改工艺',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -425,6 +497,8 @@ export function searchRecord(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_在制零件工艺调整_查询工艺',
|
||||
param: '工艺计划流水号=' + num
|
||||
@@ -437,6 +511,8 @@ export function WeightCopy(num, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_重量拷贝_工艺计划流水号',
|
||||
param: '工艺计划流水号=' + num + '&重量信息=' + num2
|
||||
@@ -449,6 +525,8 @@ export function saveWeight(num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_修改零件重量',
|
||||
param: '工艺计划流水号=' + num0 + '&重量=' + num1
|
||||
@@ -461,6 +539,8 @@ export function singleChange(val1, val2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_单件准结定额_修改数据',
|
||||
param: '工序流水号=' + val1 + '&单件定额工时=' + val2
|
||||
@@ -473,6 +553,8 @@ export function readyChange(val1, val2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_单件准结定额_修改数据',
|
||||
param: '工序流水号=' + val1 + '&准结定额工时=' + val2
|
||||
@@ -485,6 +567,8 @@ export function TableAddLi1(a, b) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_定额任务分配_保存数据',
|
||||
param: '工艺计划流水号=' + a + '=string&人员编号=' + b + '=string'
|
||||
@@ -497,6 +581,8 @@ export function TableAddLi(a, b, c, num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_增加数据_修改数据',
|
||||
param: '单件定额工时=' + a + '=string&准结定额工时=' + b + '=string&零件图号=' + c + '=string&工序流水号=' + num0 + '=int&工艺计划流水号=' + num1 + '=int'
|
||||
@@ -509,6 +595,8 @@ export function modifyRemark(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_工艺修改记录_增加数据',
|
||||
param: `修改人员编号=${params[0]}&修改备注=${params[1]}&工艺计划流水号=${params[2]}`
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化项目(全部)
|
||||
export function getProject() {
|
||||
@@ -6,6 +8,8 @@ export function getProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_项目名称_查询数据_工艺定额任务分配',
|
||||
param: '考核状态=3&工艺任务分配状态=1&定额任务分配状态=1'
|
||||
@@ -18,6 +22,8 @@ export function getProject0() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_工艺任务分配_项目查询'
|
||||
}
|
||||
@@ -29,6 +35,8 @@ export function getGraphNum() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_机床名称_根据机床查询',
|
||||
param: '是否传递=2&考核状态=3&工艺任务分配状态=1&定额任务分配状态=1&单件是否外协=0'
|
||||
@@ -41,6 +49,8 @@ export function getGraphNum0(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_工艺任务分配_机床查询',
|
||||
param: '项目流水号=' + num
|
||||
@@ -53,6 +63,8 @@ export function getGroupNum(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_组件名称_查询数据',
|
||||
param: '机床流水号=' + num + '&是否传递=2&考核状态=3&工艺任务分配状态=1&定额任务分配状态=1&单件是否外协=0'
|
||||
@@ -65,6 +77,8 @@ export function getGroupNum0(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_工艺任务分配_组件查询',
|
||||
param: '机床流水号=' + num
|
||||
@@ -77,6 +91,8 @@ export function getTable0(PageCurrent, PageSize, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_已制定计划_按组查',
|
||||
param: '组件流水号=' + num,
|
||||
@@ -90,6 +106,8 @@ export function getTable00(PageCurrent, PageSize, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_工艺任务分配_零件查询',
|
||||
param: '组件流水号=' + num,
|
||||
@@ -103,6 +121,8 @@ export function initPerson() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=20'
|
||||
@@ -115,6 +135,8 @@ export function save(num1, num2, num3) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_工艺任务分配_保存数据',
|
||||
param: '工艺计划流水号=' + num1 + '&人员编号=' + num2 + '&零件图号=' + num3
|
||||
@@ -127,6 +149,8 @@ export function save2(num1, num2, num3, num4) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工艺任务分配_通用件自动编制工艺_循环执行',
|
||||
param: '工艺计划流水号组=' + num1 + '&零件图号组=' + num2 + '&规格组=' + num3 + '&工艺员流水号组=' + num4
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function getNames() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_项目名称_查询数据',
|
||||
param: '考核状态=6=int'
|
||||
@@ -17,6 +21,8 @@ export function getMachines() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_机床名称_根据机床查询',
|
||||
param: '是否传递=2=int&考核状态=6=int&工艺任务分配状态=2=int&定额任务分配状态=2=int&单件是否外协=1=int'
|
||||
@@ -29,6 +35,8 @@ export function getGroups(stepNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_组件名称_查询数据_查询所有组',
|
||||
param: '机床流水号=' + stepNumber + '=int'
|
||||
@@ -41,6 +49,8 @@ export function getTable(stepNumber, a, b, c, d, e, f, g, i, j, k, l, m, pageCur
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_横向赋值新建存储过程',
|
||||
param: '项目流水号_check=' + stepNumber + '=string&项目流水号=' + a + '=string&机床流水号_check=' + b + '=string&机床流水号=' + c + '=string&组件流水号_check=' + d + '=string&组件流水号=' + e + '=string&零件图号_check=' + f + '=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=' + i + '=string&考核状态=6=int&开始时间_check=' + j + '&开始时间=' + k + '&结束时间_check=' + l + '&结束时间=' + m,
|
||||
@@ -54,6 +64,8 @@ export function getTable2(stepNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_加工进度查询_查询',
|
||||
param: '工艺计划流水号=' + stepNumber
|
||||
@@ -65,6 +77,8 @@ export function getExport(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: `select 机床流水号,机床图号,组件流水号,组号,车间生产管理工艺_零件工艺计划.工艺计划流水号,车间生产管理工艺_零件工艺计划.零件图号_零件工艺计划,车间生产管理工艺_零件工序_视图.零件名称,待加工工序顺序,车间生产管理工艺_零件工序.工序流水号,车间生产管理工艺_零件工序.工艺编号,车间生产管理工艺_基础表_工艺名称.工艺名称,批次数量,材料
|
||||
from ( select 工艺计划流水号,min(工序顺序) as 待加工工序顺序
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function getNames() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_项目名称_查询数据_加工进度修改'
|
||||
}
|
||||
@@ -16,6 +20,8 @@ export function getMachines() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_机床名称_加工进度修改模块查询_MESWORK'
|
||||
}
|
||||
@@ -27,6 +33,8 @@ export function getGroups(stepNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_组件名称_查询数据_查询所有组',
|
||||
param: '机床流水号=' + stepNumber + '=int'
|
||||
@@ -39,6 +47,8 @@ export function getTable(stepNumber, a, b, c, d, e, f, g, h, i, j, k, pageCurren
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_加工进度修改专用',
|
||||
param: '项目流水号_check=' + stepNumber + '=string&项目流水号=' + a + '=string&机床流水号_check=' + b + '=string&机床流水号=' + c + '=string&组件流水号_check=' + d + '=string&组件流水号=' + e + '=string&零件图号_check=' + f + '=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=0&开始时间_check=' + h + '&开始时间=' + i + '&结束时间_check=' + j + '&结束时间=' + k,
|
||||
@@ -52,6 +62,8 @@ export function getTable2(stepNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_加工进度修改2_查询',
|
||||
param: '工艺计划流水号=' + stepNumber
|
||||
@@ -64,6 +76,8 @@ export function handlechange(Number, code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_修改实际完成时间',
|
||||
param: '工序流水号=' + Number + '&实际完成时间=' + code
|
||||
@@ -76,6 +90,8 @@ export function handlechange2(Number, code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工作者',
|
||||
param: '工序流水号=' + Number + '&工作者考勤编号=' + code
|
||||
@@ -88,6 +104,8 @@ export function handlechange3(Number, code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工作者_MESWORK',
|
||||
param: '工序流水号=' + Number + '&工作者考勤编号=' + code
|
||||
@@ -99,6 +117,8 @@ export function dialogtablevisible() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '人事档案管理_部门关系_查询节点',
|
||||
param: '子节点=0'
|
||||
@@ -111,6 +131,8 @@ export function getTree() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 1,
|
||||
name: '人事档案管理_部门关系_查询节点',
|
||||
param: '子节点=0=int'
|
||||
@@ -138,6 +160,8 @@ export function getTable8(code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 1,
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=' + code + '=int'
|
||||
@@ -149,6 +173,8 @@ export function isMachining(code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 2,
|
||||
name: '车间生产管理工艺_零件撤出待加工库',
|
||||
param: '工艺计划流水号=' + code + '&结果=11111=string=output'
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 机床名称
|
||||
export function getMachines() {
|
||||
@@ -6,6 +8,8 @@ export function getMachines() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_机床名称_根据机床查询',
|
||||
param: '是否传递=2=int&考核状态=6=int&工艺任务分配状态=2=int&定额任务分配状态=2=int&单件是否外协=1=int'
|
||||
@@ -18,6 +22,8 @@ export function getGroups(stepNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_组件名称_查询数据_查询所有组',
|
||||
param: '机床流水号=' + stepNumber + '=int'
|
||||
@@ -29,6 +35,8 @@ export function getTable(checkbox_Machine, Machine, checkbox_Group, Group, check
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_横向赋值新建存储过程_新',
|
||||
param: '项目流水号_check=0=string&机床流水号_check=' + checkbox_Machine + '=string&机床流水号=' + Machine + '=string&组件流水号_check=' + checkbox_Group + '=string&组件流水号=' + Group + '=string&零件图号_check=' + checkbox_number + '=string&零件图号=' + number + '=string&是否查询全部数据=1=string&单件是否外协=1=string&考核状态=6=int&开始时间_check=0&开始时间=' + k + '&结束时间_check=0&结束时间=' + m,
|
||||
@@ -42,6 +50,8 @@ export function gettabledata1(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_加工进度查询_查询_New',
|
||||
param: '工艺计划流水号=' + num + '=int'
|
||||
@@ -54,6 +64,8 @@ export function editdata(processSerialNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_加工进度查询_查询_New',
|
||||
param: '工艺计划流水号=' + processSerialNumber + '=int'
|
||||
@@ -66,6 +78,8 @@ export function getTree() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 1,
|
||||
name: '人事档案管理_部门关系_查询节点',
|
||||
param: '子节点=0=int'
|
||||
@@ -93,6 +107,8 @@ export function getTable8(code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 1,
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=' + code + '=int'
|
||||
@@ -104,6 +120,8 @@ export function submitEdit(Number1, completetime, processSerialNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 2,
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工作者_根据人员编号和完成日期',
|
||||
param: '人员编号=' + Number1 + '=string&完成日期=' + completetime + '=string&工序流水号=' + processSerialNumber + '=string'
|
||||
@@ -115,6 +133,8 @@ export function getExport(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: `select s1.* from (
|
||||
select a1.*, row_number() over (partition by 工艺计划流水号 order
|
||||
@@ -135,6 +155,8 @@ export function searchWorkTime(code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 1,
|
||||
name: '车间生产管理工艺_零件工艺计划_完成零件数量状态更改查询',
|
||||
param: '工序流水号=' + code + '=int'
|
||||
@@ -146,6 +168,8 @@ export function submit2(num, num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_完成零件数量状态更改',
|
||||
param: `工序流水号=${num}&完成数量=${num1}&操作者=${num2}`
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
// 初始化 项目名称
|
||||
export function getEntryNameValue() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_项目名称_查询数据',
|
||||
param: '考核状态=5=int'
|
||||
@@ -17,6 +21,8 @@ export function getToolNum() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_机床名称_根据机床查询',
|
||||
param: '是否传递=2=int&考核状态=5=int&工艺任务分配状态=2=int&定额任务分配状态=2=int&单件是否外协=1=int'
|
||||
@@ -29,6 +35,8 @@ export function getNum(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_组件名称_查询数据',
|
||||
param: '机床流水号=' + num + '=int&是否传递=2=int&考核状态=5=int&工艺任务分配状态=2=int&定额任务分配状态=2=int&单件是否外协=1=int'
|
||||
@@ -41,6 +49,8 @@ export function getTable(num, a, b, c, d, e, f, g, pageList, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_新排产算法_能力平衡_查询数据_要平衡的零件',
|
||||
param: '项目流水号_check=' + num + '=string&项目流水号=' + a + '=int&机床流水号_check=' + b + '=string&机床流水号=' + c + '=int&组件流水号_check=' + d + '=string&组件流水号=' + e + '=int&零件图号_check=' + f + '=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=1=int&考核状态=5=int',
|
||||
@@ -54,6 +64,8 @@ export function getTable12580(num, a, b, c, d, e, f, g, pageList, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_新排产算法_能力平衡_查询数据_要平衡的零件',
|
||||
param: '项目流水号_check=' + num + '=string&项目流水号=' + a + '=int&机床流水号_check=' + b + '=string&机床流水号=' + c + '=int&组件流水号_check=' + d + '=string&组件流水号=' + e + '=int&零件图号_check=' + f + '=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=1=int&考核状态=5=int'
|
||||
@@ -66,6 +78,8 @@ export function getTable5(pageList, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_新排产算法_能力平衡_查询数据_要平衡的零件_扫描平衡',
|
||||
Pagination: pageList + '&' + pageSize
|
||||
@@ -78,6 +92,8 @@ export function selection(num, a, b, c) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_新排产算法_要排产零件_增加数据',
|
||||
param: '工艺计划流水号=' + num + '=int&工序数量=' + a + '=int&排序顺序=' + b + '=string&人员编号=' + c
|
||||
@@ -90,6 +106,8 @@ export function selection1(a, pageList, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_新排产算法_要排产零件_查询数据',
|
||||
param: '人员编号=' + a,
|
||||
@@ -103,6 +121,8 @@ export function selection10086(a) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_新排产算法_要排产零件_查询数据',
|
||||
param: '人员编号=' + a
|
||||
@@ -114,6 +134,8 @@ export function selection2(a) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_新排产算法_能力平衡_工序信息查询_根据工艺计划流水号',
|
||||
param: '工艺计划流水号=' + a + '=int'
|
||||
@@ -126,6 +148,8 @@ export function discharge(a) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理_能力平衡_循环执行',
|
||||
param: '工艺计划流水号组=' + a
|
||||
@@ -138,6 +162,8 @@ export function plan(a) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_新排产算法_要排产零件_删除数据',
|
||||
param: '工艺计划流水号=' + a + '=int&操作类型=2=int'
|
||||
@@ -150,6 +176,8 @@ export function han(a) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_新排产算法_设备能力_清除占用_板焊后序能力',
|
||||
param: '工艺计划流水号=' + a + '=int'
|
||||
@@ -162,6 +190,8 @@ export function allOut(a) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_新排产算法_要排产零件_删除数据',
|
||||
param: '工艺计划流水号=' + a + '=int&操作类型=1=int'
|
||||
@@ -174,6 +204,8 @@ export function out(a, b) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_划为外协',
|
||||
param: '工艺计划流水号=' + a + '=int&单件是否外协=' + b + '=int&单件是否外协分类=1=int'
|
||||
@@ -186,6 +218,8 @@ export function xuanchu(a) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_新排产算法_要排产零件_删除数据',
|
||||
param: '工艺计划流水号=' + a + '=int&操作类型=1=int'
|
||||
@@ -198,6 +232,8 @@ export function platewelding(a, b, c) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_修改数据_修改板焊工段计划完成时间_new',
|
||||
param: '工艺计划流水号=' + a + '=int&板焊工段计划完成时间=' + b + '=string&是否焊接=' + c + '=int'
|
||||
@@ -210,6 +246,8 @@ export function partPlan(a, b, c) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_新排产算法_修改数据_机加工时间',
|
||||
param: '工艺计划流水号=' + a + '=int&机加工开始时间=' + b + '=string&机加工结束时间=' + c + '=string&state=1=int=output'
|
||||
@@ -222,6 +260,8 @@ export function refreshChart(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_新排产算法_调整工序计划_查询数据',
|
||||
param: '零件图号=' + num
|
||||
@@ -234,6 +274,8 @@ export function updateDate(num1, num2, date) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_新排产算法_制定计划_调整计划_增加数据New1',
|
||||
param: '工序流水号=' + num1 + '&调整人编号=' + num2 + '&调整计划完成日期=' + date
|
||||
@@ -246,6 +288,8 @@ export function searchChart1(num, start, end) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_新排产算法_调整工序计划_设备情况_查询数据1',
|
||||
param: '工序流水号=' + num + '&开始日期=' + start + '&结束日期=' + end
|
||||
@@ -258,6 +302,8 @@ export function searchChartTable1(num, start, end) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_新排产算法_调整工序计划_设备情况_查询数据2',
|
||||
param: '工序流水号=' + num + '&开始日期=' + start + '&结束日期=' + end
|
||||
@@ -270,6 +316,8 @@ export function searchChart2(start, end, type) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_新排产算法_工时统计_总工时与总能力对比',
|
||||
param: '开始=' + start + '&结束=' + end + '&查询类型=' + type
|
||||
@@ -282,6 +330,8 @@ export function Export(num, a, b, c, d, e, f, g) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_New_外协报表',
|
||||
param: '项目流水号_check=' + num + '=string&项目流水号=' + a + '=int&机床流水号_check=' + b + '=string&机床流水号=' + c + '=int&组件流水号_check=' + d + '=string&组件流水号=' + e + '=int&零件图号_check=' + f + '=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=1=int&考核状态=5=int'
|
||||
@@ -294,6 +344,8 @@ export function table1Out(num, preOut) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_外协平衡',
|
||||
param: '工艺计划流水号=' + num + '&是否预计外协=' + preOut + '&是否预计外协分类=1'
|
||||
@@ -306,6 +358,8 @@ export function timeChange(num, a) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_修改数据_修改加工件合格时间',
|
||||
param: '工艺计划流水号=' + num + '&加工件合格时间=' + a
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function getProject() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据_总计划'
|
||||
}
|
||||
@@ -15,6 +19,8 @@ export function getToolNum(check, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据',
|
||||
param: '项目流水号_check=' + check + '=int&项目流水号=' + num
|
||||
@@ -27,6 +33,8 @@ export function searchgroup(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + num
|
||||
@@ -39,6 +47,8 @@ export function searchgroupName(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据_查询名称',
|
||||
param: '组件流水号=' + num
|
||||
@@ -50,6 +60,8 @@ export function getCustomerName() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '客户关系管理系统_初始化查询_客户名称'
|
||||
}
|
||||
@@ -60,6 +72,8 @@ export function searchtable(num1, num2, num3, num4, num5, num6, num7, num8, num9
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '项目计划管理_项目总计划_查询数据',
|
||||
param: `项目流水号_check=` + num1 + '&项目流水号=' + num2 + '&机床流水号_check=' + num3 + '&机床流水号=' + num4 + '&客户名称_check=' + num5 + '&客户名称=' + num6 + '&签订日期_check=' + num7 + '&签订日期开始时间=' + num8 + '&签订日期结束时间=' + num9 + '&交货期_check=' + num10 + '&交货期开始时间=' + num11 + '&交货期结束时间=' + num12,
|
||||
@@ -72,6 +86,8 @@ export function editTable(num1, num2, num3, num5, num13, num14, num15, num6, num
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '项目计划管理_项目总计划_编辑数据',
|
||||
param: `项目流水号=` + num1 + '&机床流水号=' + num2 + '&项目编号=' + num3 + '&设计者=' + num5 + '&审图计划开始时间=' + num13 + '&审图计划完成时间=' + num14 + '&审图实际完成时间=' + num15 + '&机床设计完成时间=' + num6 + '&采购完成时间=' + num7 + '&备料完成时间=' + num8 + '&机床生产完成时间=' + num9 + '&机床装配完成时间=' + num10 + '&完成顺序=' + num11 + '&更新=' + num12
|
||||
@@ -83,6 +99,8 @@ export function searchTable2(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '项目计划管理_项目详细计划_查询数据',
|
||||
param: `机床流水号=` + num1 + '&计划类型=' + num2
|
||||
@@ -94,6 +112,8 @@ export function editTable2(num1, num2, num3, num4, num5, num6, num7, num8, num9,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '项目计划管理_项目详细计划_编辑数据',
|
||||
param: `组件计划流水号=` + num1 + '&组件流水号=' + num2 + '&任务名称=' + num3 + '&负责人=' + num4 + '&接收任务时间=' + num5 + '&任务开始时间=' + num6 + '&计划完成时间=' + num7 + '&货期=' + num8 + '&实际完成时间=' + num9 + '&备注=' + num10
|
||||
@@ -105,6 +125,8 @@ export function Delete(num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '项目计划管理_项目详细计划_删除数据',
|
||||
param: `组件计划流水号=` + num1
|
||||
@@ -116,6 +138,8 @@ export function addTable(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '项目计划管理_项目详细计划_增加数据',
|
||||
param: `机床流水号=` + num1 + '&计划类型=' + num2
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化 项目名称
|
||||
export function initProject() {
|
||||
@@ -6,6 +8,8 @@ export function initProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据_总计划'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function initMachine(projectNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据2',
|
||||
param: `项目流水号=${projectNum}`
|
||||
@@ -29,6 +35,8 @@ export function searchtable(projectNum, machineValue) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '项目计划管理_项目总计划_查询数据',
|
||||
param: '项目流水号_check=1&项目流水号=' + projectNum + '&机床流水号_check=1&机床流水号=' + machineValue
|
||||
@@ -41,6 +49,8 @@ export function searchtable2(machineValue, type) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '项目计划管理_项目详细计划_查询数据',
|
||||
param: '机床流水号=' + machineValue + '&计划类型=' + type
|
||||
@@ -52,6 +62,8 @@ export function searchtable5(num1, num2, num3, num4, num5, num6, num7, num8, num
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '项目计划管理_项目总计划_查询数据',
|
||||
param: `项目流水号_check=` + num1 + '&项目流水号=' + num2 + '&机床流水号_check=' + num3 + '&机床流水号=' + num4 + '&客户名称_check=' + num5 + '&客户名称=' + num6 + '&签订日期_check=' + num7 + '&签订日期开始时间=' + num8 + '&签订日期结束时间=' + num9 + '&交货期_check=' + num10 + '&交货期开始时间=' + num11 + '&交货期结束时间=' + num12,
|
||||
@@ -65,6 +77,8 @@ export function searchAll(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '16_项目总查询',
|
||||
param: '项目流水号_check=' + num1 + '&项目流水号=' + num2
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化 未编制 零件号111
|
||||
export function getPartnames1() {
|
||||
@@ -6,6 +8,8 @@ export function getPartnames1() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_编制定额_查询数据'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function getPartnames2(person) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询已完成定额制定零件',
|
||||
param: '定额人员编号=' + person + '=int'
|
||||
@@ -30,6 +36,8 @@ export function getPerson() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=20'
|
||||
@@ -42,6 +50,8 @@ export function detailInfo(serialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查已投产零件信息',
|
||||
param: '工艺计划流水号=' + serialNum + '=int'
|
||||
@@ -55,6 +65,8 @@ export function mainTable(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_根据工艺计划流水号_零件定额制定',
|
||||
param: '工艺计划流水号=' + num + '=int'
|
||||
@@ -66,6 +78,8 @@ export function mainTable1(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_根据工艺计划流水号',
|
||||
param: '工艺计划流水号=' + num + '=int'
|
||||
@@ -79,6 +93,8 @@ export function TableAddLi(a, b, c, num0, num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_增加数据_修改数据',
|
||||
param: '单件定额工时=' + a + '=string&准结定额工时=' + b + '=string&零件图号=' + c + '=string&工序流水号=' + num0 + '=int&工艺计划流水号=' + num1 + '=int'
|
||||
@@ -91,6 +107,8 @@ export function TableAddLi1(a, b) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_定额任务分配_保存数据',
|
||||
param: '工艺计划流水号=' + a + '=string&人员编号=' + b + '=string'
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function searchTableData(num, pageCurrent, pageSize) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_原材料库存管理_查询',
|
||||
param: '原材料名称=' + num,
|
||||
@@ -17,6 +21,8 @@ export function addData(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_原材料库存管理_新增',
|
||||
param: '原材料名称=' + num
|
||||
@@ -28,6 +34,8 @@ export function editData(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_原材料库存管理_编辑',
|
||||
param: '原材料流水号=' + num1 + '&原材料名称=' + num2
|
||||
@@ -39,6 +47,8 @@ export function deleteCategory(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_原材料库存管理_删除',
|
||||
param: '原材料流水号=' + num
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化工艺
|
||||
export function searchTechnology(num) {
|
||||
@@ -6,6 +8,8 @@ export function searchTechnology(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_工艺名称_查询数据',
|
||||
param: '工艺分类流水号_check=0&工艺分类流水号=' + num
|
||||
@@ -17,6 +21,8 @@ export function getNames() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_项目名称_查询数据_加工进度修改'
|
||||
}
|
||||
@@ -28,6 +34,8 @@ export function getMachines(gongyi) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_机床名称_查询数据_查询所有机床',
|
||||
param: '项目流水号=' + gongyi + '=int'
|
||||
@@ -39,6 +47,8 @@ export function getGroups(stepNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_组件名称_查询数据_查询所有组',
|
||||
param: '机床流水号=' + stepNumber + '=int'
|
||||
@@ -50,6 +60,8 @@ export function getParts(stepNumber, a, b, c, d, e, f, g) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_基础表_员工月修补工时_查询零件',
|
||||
param: '项目流水号_check=' + stepNumber + '=string&项目流水号=' + a + '=string&机床流水号_check=' + b + '=string&机床流水号=' + c + '=string&组件流水号_check=' + d + '=string&组件流水号=' + e + '=string&零件图号_check=' + f + '=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=0'
|
||||
@@ -62,6 +74,8 @@ export function searchperson(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_员工回用报废工时统计表_查询数据',
|
||||
param: '序号=' + num
|
||||
@@ -74,6 +88,8 @@ export function searchtable(check, num, pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_基础表_员工月修补工时_查询数据_MESWORK',
|
||||
param: '人员编号_check=' + check + '&人员编号=' + num,
|
||||
@@ -87,6 +103,8 @@ export function edittype(num1, ManufacturerNumber, ManufacturerAbbreviation, add
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理_基础表_员工月修补工时_增加数据',
|
||||
param: '工艺计划流水号=' + num1 + '&人员编号=' + ManufacturerNumber + '&年=' + ManufacturerAbbreviation + '&月=' + address + '&修补工时=' + roleName + '&修补工艺=' + num2
|
||||
@@ -99,6 +117,8 @@ export function handlechange(CoManufacturerFlowNumber, num1, ManufacturerNumber,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理_基础表_员工月修补工时_修改数据',
|
||||
param: '员工月修补工时流水号=' + CoManufacturerFlowNumber + '&工艺计划流水号=' + num1 + '&人员编号=' + ManufacturerNumber + '&年=' + ManufacturerAbbreviation + '&月=' + address + '&修补工时=' + roleName + '&修补工艺=' + num2
|
||||
@@ -111,6 +131,8 @@ export function delList(MaterialCode) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理_基础表_员工月修补工时_删除数据',
|
||||
param: '员工月修补工时流水号=' + MaterialCode
|
||||
@@ -122,6 +144,8 @@ export function dialogtablevisible() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '人事档案管理_部门关系_查询节点',
|
||||
param: '子节点=0'
|
||||
@@ -134,6 +158,8 @@ export function getTree() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 1,
|
||||
name: '人事档案管理_部门关系_查询节点',
|
||||
param: '子节点=0=int'
|
||||
@@ -161,6 +187,8 @@ export function getTable8(code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: 1,
|
||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||
param: '考核部门编号=' + code + '=int'
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 查询人员总工工时
|
||||
export function searchtable(num1, num2, pageCurrent, pageSize) {
|
||||
@@ -6,6 +8,8 @@ export function searchtable(num1, num2, pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工时统计_设备工时_Vue',
|
||||
param: '开始时间=' + num1 + '&结束时间=' + num2,
|
||||
@@ -19,6 +23,8 @@ export function searchtable2(num1, num2, num3, pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工时统计_设备工时_Vue_详细',
|
||||
param: '人员编号=' + num1 + '&开始时间=' + num2 + '&结束时间=' + num3,
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化工艺
|
||||
export function getPerson() {
|
||||
@@ -6,6 +8,8 @@ export function getPerson() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: 'SELECT 姓名,人员编号 FROM 人事档案管理_人员名单 inner join dbo.人事档案管理_基础表_部门 on 人事档案管理_人员名单.考核部门编号=人事档案管理_基础表_部门.考核部门编号 where 人事档案管理_人员名单.考核部门编号=12 and 人员编号 <> 82 order by 姓名 '
|
||||
}
|
||||
@@ -16,6 +20,8 @@ export function getParts(num1, num2, pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_车间排产_零件查询',
|
||||
param: `零件图号_check=${num1}&零件图号=${num2}`,
|
||||
@@ -28,6 +34,8 @@ export function getGongxu(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: `select 姓名,排产时间,工序流水号,工艺名称,投产数量,完成日期,工序顺序,工序间是否外协,加工完成状态,工序状态 from dbo.车间生产管理工艺_插件排产查询_视图 where 工艺编号 is not null and 工艺编号<>0 and 考核状态 = 6 and 工艺计划流水号=${num} order by 工序顺序`
|
||||
}
|
||||
@@ -38,6 +46,8 @@ export function searchTableData2(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: `select 工艺计划流水号,姓名,零件图号,零件名称,工序流水号,工艺名称,投产数量,完成日期,工序顺序,工序间是否外协,加工完成状态,工序状态 from dbo.车间生产管理工艺_插件排产查询_视图 where 排产人员=${num} and 工序状态<>4 order by 工序顺序`
|
||||
}
|
||||
@@ -48,6 +58,8 @@ export function XuanRu(num, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '4',
|
||||
name: `update 车间生产管理工艺_零件工序 set 排产人员=${num},排产时间= GETDATE() where 工序流水号=${num2}`
|
||||
}
|
||||
@@ -58,6 +70,8 @@ export function XuanChu(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '4',
|
||||
name: `update 车间生产管理工艺_零件工序 set 排产人员= null,排产时间= null where 工序流水号=${num}`
|
||||
}
|
||||
@@ -68,6 +82,8 @@ export function panDuan(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: ` select 状态,工艺计划流水号 from
|
||||
(
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
// export function ProjectNameSelect(stateID) {
|
||||
// return request({
|
||||
// url: '',
|
||||
@@ -15,6 +17,8 @@ export function MachineDrawingSelect() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据'
|
||||
}
|
||||
@@ -25,6 +29,8 @@ export function TeamSelect(MachineCode) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_组件名称_查询数据_查询所有组',
|
||||
param: '机床流水号=' + MachineCode + '=int'
|
||||
@@ -36,6 +42,8 @@ export function TableDataSelect(MachineCode_check, MachineCode, TeamCode_check,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_零件报废补投_查询数据',
|
||||
param: '机床流水号_check=' + MachineCode_check + '=int&机床流水号=' + MachineCode + '=string&组件流水号_check=' + TeamCode_check + '=int&组件流水号=' + TeamCode + '=string&组件零件基本件流水号_check=' + ComponentPartsBasicCattleTaxNumber_check + '=int&组件零件基本件流水号=' + ComponentPartsBasicCattleTaxNumber + '=string&工艺计划流水号_check=' + CutCode_check + '=int&工艺计划流水号=' + CutCode + '=string&工艺计划流水号_补投前_check=' + CutCodeBefore_check + '=int&工艺计划流水号_补投前=' + CutCodeBefore + '=string&考核状态_check=' + Assess_check + '=int&考核状态=' + Assess + '=string&零件图号_check=' + PartDrawing_check + '=int&零件图号=' + PartDrawing + '=string',
|
||||
@@ -48,6 +56,8 @@ export function editTime(CutCode, StartTime, FinishTime) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_修改时间_修改机加日期',
|
||||
param: '工艺计划流水号=' + CutCode + '=string&机加工开始时间=' + StartTime + '=string&机加工结束时间=' + FinishTime + '=string'
|
||||
@@ -59,6 +69,8 @@ export function editSpare(CutCode, number, reason, time) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_报废零件_增加数据',
|
||||
param: '工艺计划流水号=' + CutCode + '&报废数量=' + number + '&报废原因=' + reason + '&报废时间=' + time
|
||||
@@ -70,6 +82,8 @@ export function TableDta2Select(CutCode, currentPage2, pageSize2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_根据工艺计划流水号',
|
||||
param: '工艺计划流水号=' + CutCode + '=string',
|
||||
@@ -82,6 +96,8 @@ export function editA(CutCodebefore, Number) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_报废零件_补投',
|
||||
param: '工艺计划流水号=' + CutCodebefore + '&补投数量=' + Number
|
||||
@@ -93,6 +109,8 @@ export function TableData3Select(ProjectCode_check, ProjectCode, MachineCode_che
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_传递后_零件入库单_查询数据',
|
||||
param: '项目流水号_check=' + ProjectCode_check + '=int&项目流水号=' + ProjectCode + '=string&机床流水号_check=' + MachineCode_check + '=int&机床流水号=' + MachineCode + '=string&组件流水号_check=' + TeamCode_check + '=int&组件流水号=' + TeamCode + '=string&组件零件基本件流水号_check=' + ComponentPartsBasicCattleTaxNumber_check + '=int&组件零件基本件流水号=' + ComponentPartsBasicCattleTaxNumber + '=string&工艺计划流水号_check=' + CutCode_check + '=int&工艺计划流水号=' + CutCode + '=string&工艺计划流水号_补投前_check=' + CutCodeBefore_check + '=int&工艺计划流水号_补投前=' + CutCodeBefore + '=string&考核状态_check=' + Assess_check + '=int&考核状态=' + Assess + '=string'
|
||||
@@ -104,6 +122,8 @@ export function editchar(reason, time, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工艺计划_增加数据_停产原因与时间_MESWORK',
|
||||
param: '停产原因=' + reason + '=string&停产时间=' + time + '=string&工艺计划流水号=' + num + '=int'
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 查询零件
|
||||
export function searchtable(num1, num2, num3, pageCurrent, pageSize) {
|
||||
@@ -6,6 +8,8 @@ export function searchtable(num1, num2, num3, pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_编制工艺_备料到货查询',
|
||||
param: '零件图号_check=' + num1 + '&零件图号=' + num2 + '&备料到货_check=' + num3,
|
||||
@@ -19,6 +23,8 @@ export function searchtable2(num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_备料打印_查询工序信息',
|
||||
param: '工艺计划流水号=' + num1
|
||||
@@ -31,6 +37,8 @@ export function handlechange(Number, code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_工作者',
|
||||
param: '工序流水号=' + Number + '&工作者考勤编号=' + code
|
||||
@@ -43,6 +51,8 @@ export function searchtable3(num, num1, pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '备料管理_外购备料查询',
|
||||
param: '零件图号_check=' + num + '&零件图号=' + num1,
|
||||
@@ -56,6 +66,8 @@ export function change(Number, code, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_备料到货_状态更改',
|
||||
param: '工艺计划流水号=' + Number + '&重量=' + code + '&单价=' + num
|
||||
@@ -68,6 +80,8 @@ export function change2(Number, code, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_外购备料到货更改',
|
||||
param: '工序流水号组=' + Number + '&工作者考勤编号=' + code + '&工艺计划流水号组=' + num
|
||||
@@ -79,6 +93,8 @@ export function handlechange2(Number, code) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_修改实际完成时间',
|
||||
param: '工序流水号=' + Number + '&实际完成时间=' + code
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function searchTableData(num, pageCurrent, pageSize) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_原材料库存管理_查询',
|
||||
param: '原材料名称=' + num,
|
||||
@@ -17,6 +21,8 @@ export function addData(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_原材料库存管理_新增',
|
||||
param: '原材料名称=' + num
|
||||
@@ -28,6 +34,8 @@ export function editData(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_原材料库存管理_编辑',
|
||||
param: '原材料流水号=' + num1 + '&原材料名称=' + num2
|
||||
@@ -39,6 +47,8 @@ export function deleteCategory(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_原材料库存管理_删除',
|
||||
param: '原材料流水号=' + num
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// export function initProject() {
|
||||
// return request({
|
||||
@@ -15,6 +17,8 @@ export function intPartState() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_零件考核状态_查询数据'
|
||||
}
|
||||
@@ -25,6 +29,8 @@ export function searchmachine() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据'
|
||||
}
|
||||
@@ -35,6 +41,8 @@ export function searchgroup(num, pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + num
|
||||
@@ -46,6 +54,8 @@ export function searchTable(check1, machine, check2, groupNum, check3, partNumbe
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询数据_状态_最新_MESWORK',
|
||||
param: '机床流水号_check=' + check1 + '=int&机床流水号=' + machine + '=int&组件流水号_check=' + check2 + '=int&组件流水号=' + groupNum + '=int&零件图号_check=' + check3 + '=int&零件图号=' + partNumber + '=string&考核状态_check=' + check4 + '=int&考核状态=' + partStateValue + '=int&单件是否外协_check=' + check5 + '=int&单件是否外协=' + partTypeValue + '=int',
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function SelectPart() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工艺计划_查询数据_状态_新_MESWORK',
|
||||
param: '项目流水号_check=' + arguments[0] + '&项目流水号=' + arguments[1] + '&机床流水号_check=' + arguments[2] + '&机床流水号=' + arguments[3] + '&组件流水号_check=' + arguments[4] + '&组件流水号=' + arguments[5] + '&零件图号_check=' + arguments[6] + '&零件图号=' + arguments[7] + '&考核状态_check=' + arguments[8] + '&考核状态=' + arguments[9] + '&单件是否外协_check=' + arguments[10] + '&单件是否外协=' + arguments[11] + '&时间=' + arguments[12] + '&机加工开始时间=' + arguments[13] + '&机加工结束时间=' + arguments[14] + '&零件类型=' + arguments[15] + '&工艺计划流水号=' + arguments[16]
|
||||
@@ -16,6 +20,8 @@ export function getTable(stepNumber, a, b, c, d, e, f, g, i, j, k, l, m) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_横向赋值新建存储过程',
|
||||
param: '项目流水号_check=' + stepNumber + '=string&项目流水号=' + a + '=string&机床流水号_check=' + b + '=string&机床流水号=' + c + '=string&组件流水号_check=' + d + '=string&组件流水号=' + e + '=string&零件图号_check=' + f + '=string&零件图号=' + g + '=string&是否查询全部数据=1=string&单件是否外协=' + i + '=string&考核状态=6=int&开始时间_check=' + j + '&开始时间=' + k + '&结束时间_check=' + l + '&结束时间=' + m
|
||||
@@ -27,6 +33,8 @@ export function SelectProcessingProgress() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_加工进度查询_查询',
|
||||
param: '工艺计划流水号=' + arguments[0]
|
||||
@@ -38,6 +46,8 @@ export function SelectPreparation() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '零件追溯_备料信息_查询数据',
|
||||
param: '工艺计划流水号=' + arguments[0]
|
||||
@@ -49,6 +59,8 @@ export function SelectOut() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '零件追溯_外协信息_查询数据',
|
||||
param: '工艺计划流水号=' + arguments[0]
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function getPartsCategories() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_分类_查询数据 '
|
||||
}
|
||||
@@ -16,6 +20,8 @@ export function getPartsName(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_查询数据_查典型工艺名称',
|
||||
param: `典型工艺名称分类流水号=${num}`
|
||||
@@ -28,6 +34,8 @@ export function getTableData(pageCurrent, pageSize, partsCategoriesCheck, partsC
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_查询数据_综合查询',
|
||||
param: `典型工艺名称分类流水号_check=${partsCategoriesCheck}&典型工艺名称分类流水号=${partsCategories}&典型工艺流水号_check=${partsNameCheck}&典型工艺流水号=${partsName}&典型工艺流水号1_check=0`,
|
||||
@@ -41,6 +49,8 @@ export function upMove(typicalProcessNum, typicalSerialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_基础表_典型工艺工序_上移工序',
|
||||
param: `典型工艺流水号=${typicalProcessNum}&典型工艺工序流水号=${typicalSerialNum}`
|
||||
@@ -53,6 +63,8 @@ export function downMove(typicalProcessNum, typicalSerialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_基础表_典型工艺工序_下移工序',
|
||||
param: `典型工艺流水号=${typicalProcessNum}&典型工艺工序流水号=${typicalSerialNum}`
|
||||
@@ -65,6 +77,8 @@ export function insertRow(typicalProcessNum, typicalSerialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_基础表_典型工艺工序_添加工序',
|
||||
param: `典型工艺流水号=${typicalProcessNum}&典型工艺工序流水号=${typicalSerialNum}`
|
||||
@@ -77,6 +91,8 @@ export function deleRow(typicalProcessNum, typicalSerialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_基础表_典型工艺名称_删除数据',
|
||||
param: `典型工艺流水号=${typicalProcessNum}&典型工艺工序流水号=${typicalSerialNum}`
|
||||
@@ -89,6 +105,8 @@ export function editConfirm(typicalProcessNum, typicalSerialNum, processNum, pro
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_基础表_典型工艺工序_修改数据',
|
||||
param: `典型工艺流水号=${typicalProcessNum}&典型工艺工序流水号=${typicalSerialNum}&工艺序号=${processNum}&工艺编号=${processNo}&工艺要求=${processClaim}&单件定额工时=${pieceQuota}&准结定额工时=${quasiQuota}&备注=${remarks}`
|
||||
@@ -101,6 +119,8 @@ export function processNameClick() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_工艺分类名称_查询数据'
|
||||
}
|
||||
@@ -112,6 +132,8 @@ export function processNameSelect(val) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_工艺名称_查询数据',
|
||||
param: `工艺分类流水号_check=1=bit&工艺分类流水号=${val}=int`
|
||||
@@ -124,6 +146,8 @@ export function processRequestSelect(val) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理_基础表_工艺要求_查询数据',
|
||||
param: `工艺编号=${val}=int`
|
||||
@@ -136,6 +160,8 @@ export function difficultyLevel(level, typicalSerialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_零件工序_修改数据_典型工艺难度等级',
|
||||
param: `工艺难度等级=${level}&典型工艺工序流水号=${typicalSerialNum}`
|
||||
@@ -148,6 +174,8 @@ export function isAddOrEdit(typicalSerialNum) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺工序_查询数据_根据典型工艺流水号',
|
||||
param: `典型工艺流水号=${typicalSerialNum}`
|
||||
@@ -160,6 +188,8 @@ export function addProcess(typicalSerialNum, processNum, processNo) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_典型工艺工序_增加数据_NEW',
|
||||
param: `典型工艺流水号=${typicalSerialNum}&工艺序号=${processNum}&工艺编号=${processNo}`
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function getData(check, equipmentName, pageCurrent, pageSize) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '设备管理_设备加工能力_查询数据_设备维护NEW',
|
||||
param: '设备名称_check=' + check + '=int&设备名称=' + equipmentName
|
||||
@@ -17,6 +21,8 @@ export function initProcessing(a = '') {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_基础表_工艺名称_查询数据',
|
||||
param: '工艺分类流水号_check=0=int&工艺分类流水号=' + a
|
||||
@@ -28,6 +34,8 @@ export function addTable(equipmentName, equipmentModel, performance, processingC
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '设备管理_设备加工能力_增加数据_设备维护New',
|
||||
param: '设备名称=' + equipmentName + '&设备型号=' + equipmentModel + '&设备性能指标=' + performance + '&设备加工能力工时=' + processingCapacity + '&设备工时系数=' + workingTimeFactor + '&工艺名称简称=' + processName + '&工艺编号=' + processNumber + '&班次类型=' + shift + '&整改工时系数=' + reorganizationTimeFactor + '&设备编号=' + equipmentNumber + '&预留工时系数=' + reservedTimeFactor
|
||||
@@ -39,6 +47,8 @@ export function editTable(equipmentSerialNumber, equipmentName, equipmentModel,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '设备管理_设备加工能力_修改数据_设备维护New',
|
||||
param: '设备流水号=' + equipmentSerialNumber + '=int&设备名称=' + equipmentName + '=string&设备型号=' + equipmentModel + '=string&设备性能指标=' + performance + '= string&设备加工能力工时=' + processingCapacity + '=string&设备工时系数=' + workingTimeFactor + '=string&班次类型=' + shift + '=int&工艺属性代码=' + processCode + '=string&整改工时系数=' + reorganizationTimeFactor + '=string&设备编号=' + equipmentNumber + '=string&预留工时系数=' + reservedTimeFactor
|
||||
@@ -50,6 +60,8 @@ export function deleteTable(number) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '设备管理_设备加工能力_删除数据_设备维护',
|
||||
param: '设备流水号=' + number + '=int'
|
||||
@@ -61,6 +73,8 @@ export function setUp(time) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_新排产算法_设备能力_系数有效时间设定',
|
||||
param: '系数有效时间=' + time
|
||||
@@ -72,6 +86,8 @@ export function generate() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间生产管理工艺_新排产算法_设备加工能力_生成设备能力表'
|
||||
}
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 查询人员总工工时
|
||||
export function searchtable(num1, num2, num3, num4, num5, pageCurrent, pageSize) {
|
||||
@@ -6,6 +8,8 @@ export function searchtable(num1, num2, num3, num4, num5, pageCurrent, pageSize)
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工时统计_查询数据2',
|
||||
param: '操作者_check=' + num1 + '&姓名=' + num2 + '&时间_check=' + num3 + '&开始时间=' + num4 + '&结束时间=' + num5,
|
||||
@@ -19,6 +23,8 @@ export function searchtable11(num1, num2, num3, num4, num5) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工时统计_查询数据2',
|
||||
param: '操作者_check=' + num1 + '&姓名=' + num2 + '&时间_check=' + num3 + '&开始时间=' + num4 + '&结束时间=' + num5
|
||||
@@ -31,6 +37,8 @@ export function searchtable2(num1, num2, num3, num4, pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工时统计按人员查询_查询数据2',
|
||||
param: '工作者编号=' + num1 + '&时间_check=' + num2 + '&开始时间=' + num3 + '&结束时间=' + num4,
|
||||
@@ -44,6 +52,8 @@ export function searchtable22(num1, num2, num3, num4) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工时统计按人员查询_查询数据2',
|
||||
param: '工作者编号=' + num1 + '&时间_check=' + num2 + '&开始时间=' + num3 + '&结束时间=' + num4
|
||||
@@ -56,6 +66,8 @@ export function initProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据'
|
||||
}
|
||||
@@ -67,6 +79,8 @@ export function searchtable4(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工时统计_机床查询_查询数据',
|
||||
param: '机床流水号_check=' + num1 + '&机床流水号=' + num2
|
||||
@@ -79,6 +93,8 @@ export function searchtable44(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工时统计_机床查询_查询数据',
|
||||
param: '机床流水号_check=' + num1 + '&机床流水号=' + num2
|
||||
@@ -91,6 +107,8 @@ export function searchtable5(num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工时统计_组号查询_查询数据',
|
||||
param: '机床流水号=' + num1
|
||||
@@ -103,6 +121,8 @@ export function searchtable55(num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_工时统计_组号查询_查询数据',
|
||||
param: '机床流水号=' + num1
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 获取工位 表1
|
||||
export function getTableData1() {
|
||||
@@ -6,6 +8,8 @@ export function getTableData1() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: 'SELECT * FROM [基础数据_设备工位点检表]inner join dbo.基础数据_点检类型名称 on [基础数据_设备工位点检表].点检表类型 = 基础数据_点检类型名称.点检表类型流水号'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function getTableData2() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: 'select * from 基础数据_点检类型名称'
|
||||
}
|
||||
@@ -28,6 +34,8 @@ export function getTableData3(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: `select * from 基础数据_点检内容 where 点检表类型 = ${num}`
|
||||
}
|
||||
@@ -39,6 +47,8 @@ export function editType(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '4',
|
||||
name: `update [基础数据_设备工位点检表] set 点检表类型 = ${num1} where ID = ${num2}`
|
||||
}
|
||||
@@ -49,6 +59,8 @@ export function confirmEdit1(num1, num2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '4',
|
||||
name: `update [基础数据_点检类型名称] set 点检表类型名称 = '${num1}' where 点检表类型流水号 = ${num2}`
|
||||
}
|
||||
@@ -59,6 +71,8 @@ export function confirmEdit2(num1, num2, num3) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '4',
|
||||
name: `update 基础数据_点检内容 set 保养周期 = ${num1} ,保养项目 = '${num2}' where ID = ${num3}`
|
||||
}
|
||||
@@ -69,6 +83,8 @@ export function openDelete1(num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '4',
|
||||
name: `delete 基础数据_点检类型名称 where 点检表类型流水号 = ${num1}`
|
||||
}
|
||||
@@ -79,6 +95,8 @@ export function selectCount(num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: `SELECT 工位号 FROM [基础数据_设备工位点检表] where 点检表类型 = ${num1}`
|
||||
}
|
||||
@@ -89,6 +107,8 @@ export function openDelete2(num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '4',
|
||||
name: `delete 基础数据_点检内容 where ID = ${num1}`
|
||||
}
|
||||
@@ -99,6 +119,8 @@ export function submit1(num1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '4',
|
||||
name: `insert into 基础数据_点检类型名称 (点检表类型名称) values ('${num1}')`
|
||||
}
|
||||
@@ -109,6 +131,8 @@ export function submit2(num1, num2, num3) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '4',
|
||||
name: ` declare @id int = 0
|
||||
SELECT top 1 @id = ID FROM [ERPTOOL_GJ].[dbo].基础数据_点检内容 order by ID desc
|
||||
@@ -122,6 +146,8 @@ export function exportOut(num1, num2, num3) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: `SELECT *
|
||||
,case when [FN1] in (select 人员编号 from 人事档案管理_人员名单) then (select 姓名 from 人事档案管理_人员名单 where 人员编号 = [FN1]) else '' end as [姓名1]
|
||||
|
||||
Reference in New Issue
Block a user