所有js页日志

This commit is contained in:
Vergil
2020-02-11 11:10:09 +08:00
parent 72675987b6
commit 8cc1acc245
199 changed files with 4301 additions and 3 deletions

View File

@@ -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