所有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 initClendar(year, month) {
return request({
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: '车间生产管理工艺_基础表_工作日历_获得状态',
param: '工作年=' + year + '&工作月=' + month
@@ -17,6 +21,8 @@ export function changeState(time, code) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '车间生产管理工艺_基础表_工作日历_设置状态',
param: '工作日期=' + time + '&工作日状态=' + code