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