This commit is contained in:
liushuai
2020-02-12 16:46:13 +08:00
247 changed files with 4818 additions and 1288 deletions

View File

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