所有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 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