添加营销系统模块

This commit is contained in:
hedekun
2018-11-08 08:39:42 +08:00
commit f7eb22e5bb
181 changed files with 35426 additions and 0 deletions

38
src/api/login.js Normal file
View File

@@ -0,0 +1,38 @@
import request from '@/utils/request'
export function login(username, password) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '菜单系统模块_用户名密码_查询数据_new2',
param: `用户名=${username}&密码=${password}`
}
})
}
export function getInfo(token) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '菜单系统模块_项目角色模块列表_查询数据gj',
param: `角色编号=${token}`
}
})
}
// 查询按钮功能实现
export function editPassword(num1, num2, num3, num4) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '账号信息_修改密码_MESWORK',
param: '考勤编号=' + num1 + '=int&原始密码=' + num2 + '=string&新密码=' + num3 + '=string&返回=' + num4 + '=string=output'
}
})
}