所有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 initReasons() {
@@ -6,6 +8,8 @@ export function initReasons() {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: '质检管理_不合格原因_查询数据'
}
@@ -17,6 +21,8 @@ export function initHandle() {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: '质检管理_不合格处理_查询数据'
}
@@ -28,6 +34,8 @@ export function initSize() {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: '质检管理_质检尺寸_基础表_查询数据'
}
@@ -39,6 +47,8 @@ export function initAppearance() {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: '质检管理_质检外观_基础表_查询数据'
}
@@ -50,6 +60,8 @@ export function initPosition() {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: '质检管理_质检形位_基础表_查询数据'
}
@@ -61,6 +73,8 @@ export function initTest() {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: '质检管理_装配质检_检测项_查询数据'
}
@@ -72,6 +86,8 @@ export function initTesting(num) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: '质检管理_装配质检_检测项明细_查询数据',
param: '检测项流水号=' + num
@@ -84,6 +100,8 @@ export function addTest(num) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '质检管理_装配质检_检测项_增加数据',
param: '检测项=' + num
@@ -96,6 +114,8 @@ export function addTesting(num, num1) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '质检管理_装配质检_检测项明细_增加数据',
param: '检测项流水号=' + num + '&检测项明细=' + num1
@@ -108,6 +128,8 @@ export function addReasons(num) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '质检管理_不合格原因_增加数据',
param: '不合格原因文本=' + num
@@ -120,6 +142,8 @@ export function addHandle(num) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '质检管理_不合格处理_增加数据',
param: '不合格处理文本=' + num
@@ -132,6 +156,8 @@ export function addSize(num) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '质检管理_质检尺寸_基础表_增加数据',
param: '质检尺寸=' + num
@@ -144,6 +170,8 @@ export function addAppearance(num) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '质检管理_质检外观_基础表_增加数据',
param: '质检外观=' + num
@@ -156,6 +184,8 @@ export function addPosition(num) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '质检管理_质检形位_基础表_增加数据',
param: '质检形位=' + num
@@ -168,6 +198,8 @@ export function deleteTest(num) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '质检管理_装配质检_检测项_删除数据',
param: '检测项流水号=' + num
@@ -180,6 +212,8 @@ export function deleteTesting(num) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '质检管理_装配质检_检测项明细_删除数据',
param: '检测项明细流水号=' + num
@@ -192,6 +226,8 @@ export function deleteReasons(num) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '质检管理_不合格原因_删除数据',
param: '不合格原因=' + num
@@ -204,6 +240,8 @@ export function deleteHandle(num) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '质检管理_不合格处理_删除数据',
param: '不合格处理=' + num
@@ -216,6 +254,8 @@ export function deleteSize(num) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '质检管理_质检尺寸_基础表_删除数据',
param: '质检尺寸流水号=' + num
@@ -228,6 +268,8 @@ export function deleteAppearance(num) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '质检管理_质检外观_基础表_删除数据',
param: '质检外观流水号=' + num
@@ -240,6 +282,8 @@ export function deletePosition(num) {
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '2',
name: '质检管理_质检形位_基础表_删除数据',
param: '质检形位流水号=' + num