| 程序包 | 说明 |
|---|---|
| com.fastchar.extjs.action |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ExtEntityAction.clear()
清除某个属性为空的所有数据
参数:
entityCode 实体编号 {String}
menu 操作的菜单名称,用作记录日志 {String}
where 用作sql的where判断语句 ,例如:where['t.userId'] = 1
|
void |
ExtEntityAction.copy()
复制实体数据
参数:
entityCode 实体编号 {String}
menu 操作的菜单名称,用作记录日志 {String}
data 以data为前缀的参数,提交实体数据,例如:data.topicError=无,data.topicState=1,data.topicTitle=我的话题
|
void |
ExtEntityAction.delete()
删除实体数据
参数:
entityCode 实体编号 {String}
menu 操作的菜单名称,用作记录日志 {String}
where 用作sql的where判断语句 ,例如:where['t.userId'] = 1
data 以data为前缀的参数,提交实体数据,例如:data.topicError=无,data.topicState=1,data.topicTitle=我的话题
|
void |
ExtEntityAction.export()
导出实体数据excel
参数:
entityCode 实体编号 {String}
menu 操作的菜单名称,用作记录日志 {String}
where 列表sql的where判断语句 ,例如:where['t.userId'] = 1
indexSort 指定排序列 json数组,例如:[{"property":"serviceNickName","direction":"DESC"}]
column 需要导出的列 json数组
|
void |
ExtEntityAction.importData()
导入实体Excel数据
参数:
entityCode 实体编号 {String}
menu 操作的菜单名称,用作记录日志 {String}
file excel文件
|
void |
ExtManagerAction.login()
后台管理员登录
参数:
loginName 登录名{String}
loginPassword 登录密码【MD5加密后提交】 {String}
|
void |
ExtManagerAction.logout()
退出后台登录
|
void |
ExtManagerAction.modifyPassword()
修改管理员密码
参数:
managerId 管理员Id
managerPassword 当前登录密码【明文】
newPassword 新的登录密码【明文】
reNewPassword 确认新的登录密码【明文】
|
void |
ExtEntityAction.module()
生成实体excel导入数据的模板
参数:
entityCode 实体编号 {String}
menu 操作的菜单名称,用作记录日志 {String}
column 列集合 json数组
|
void |
ExtEntityAction.reback()
从回收站中还原实体数据
参数:
entityCode 实体编号 {String}
menu 操作的菜单名称,用作记录日志 {String}
data 以data为前缀的参数,提交实体数据,例如:data.topicError=无,data.topicState=1,data.topicTitle=我的话题
|
void |
ExtManagerAction.resetPassword()
重置管理员账户密码
参数:
managerId 管理员Id
newPassword 新的登录密码【明文】
|
void |
ExtEntityAction.save()
添加实体数据
参数:
entityCode 实体编号 {String}
menu 操作的菜单名称,用作记录日志 {String}
data 以data为前缀的参数,提交实体数据,例如:data.topicError=无,data.topicState=1,data.topicTitle=我的话题
method 执行实体的方法名,默认为:save方法
|
void |
ExtEntityAction.update()
修改实体数据
参数:
entityCode 实体编号 {String}
menu 操作的菜单名称,用作记录日志 {String}
data 以data为前缀的参数,提交实体数据,例如:data.topicError=无,data.topicState=1,data.topicTitle=我的话题
|
void |
ExtManagerAction.updatePower()
更新管理员权限与角色权限相同
参数:
managerId 管理员Id
|
void |
ExtManagerAction.valid()
后台操作功能时进行安全验证
参数:
loginName 登录名{String}
loginPassword 登录密码【MD5加密后提交】 {String}
operate 操作的功能介绍
timeout 验证的有效期,单位秒 默认:24小时,
|
Copyright © 2021. All rights reserved.