所有js页日志
This commit is contained in:
@@ -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, pageCurrent, pageSize
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '项目工时统计_合同详情查询_工时综合查询',
|
||||
param: `项目流水号=${projectNum}&机床流水号=${machineValue}`,
|
||||
|
||||
Reference in New Issue
Block a user