Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
C
chinafrica
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zhengfg
chinafrica
Commits
328de067
提交
328de067
authored
1月 08, 2021
作者:
吴德鹏
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
用户区分注册来源
上级
5aaed118
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
140 行增加
和
94 行删除
+140
-94
TbCfUserInfoEntity.java
...src/main/java/com/platform/entity/TbCfUserInfoEntity.java
+31
-0
TbCfUserInfoDao.xml
...n/src/main/resources/com/platform/dao/TbCfUserInfoDao.xml
+2
-2
common.js
platform-admin/src/main/webapp/js/common.js
+17
-3
tbcfuserinfo.js
platform-admin/src/main/webapp/js/sys/tbcfuserinfo.js
+90
-89
没有找到文件。
platform-admin/src/main/java/com/platform/entity/TbCfUserInfoEntity.java
浏览文件 @
328de067
package
com
.
platform
.
entity
;
package
com
.
platform
.
entity
;
import
sun.rmi.server.InactiveGroupException
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -37,6 +39,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -37,6 +39,7 @@ public class TbCfUserInfoEntity implements Serializable {
* 用户名
* 用户名
*/
*/
private
String
nick
;
private
String
nick
;
private
Integer
source
;
/**
/**
* 电话号码
* 电话号码
*/
*/
...
@@ -98,6 +101,14 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -98,6 +101,14 @@ public class TbCfUserInfoEntity implements Serializable {
*/
*/
private
Integer
emailFlag
;
private
Integer
emailFlag
;
public
Integer
getSource
()
{
return
source
;
}
public
void
setSource
(
Integer
source
)
{
this
.
source
=
source
;
}
/**
/**
* 设置:用户id
* 设置:用户id
*/
*/
...
@@ -111,6 +122,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -111,6 +122,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
String
getUserId
()
{
public
String
getUserId
()
{
return
userId
;
return
userId
;
}
}
/**
/**
* 设置:用户编号
* 设置:用户编号
*/
*/
...
@@ -124,6 +136,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -124,6 +136,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
String
getUserNo
()
{
public
String
getUserNo
()
{
return
userNo
;
return
userNo
;
}
}
/**
/**
* 设置:用户类型(1邮箱、2facebook、3twitter)
* 设置:用户类型(1邮箱、2facebook、3twitter)
*/
*/
...
@@ -137,6 +150,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -137,6 +150,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
Integer
getUserType
()
{
public
Integer
getUserType
()
{
return
userType
;
return
userType
;
}
}
/**
/**
* 设置:账号
* 设置:账号
*/
*/
...
@@ -150,6 +164,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -150,6 +164,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
String
getAccount
()
{
public
String
getAccount
()
{
return
account
;
return
account
;
}
}
/**
/**
* 设置:用户头像地址
* 设置:用户头像地址
*/
*/
...
@@ -163,6 +178,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -163,6 +178,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
String
getAvatar
()
{
public
String
getAvatar
()
{
return
avatar
;
return
avatar
;
}
}
/**
/**
* 设置:用户名
* 设置:用户名
*/
*/
...
@@ -176,6 +192,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -176,6 +192,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
String
getNick
()
{
public
String
getNick
()
{
return
nick
;
return
nick
;
}
}
/**
/**
* 设置:电话号码
* 设置:电话号码
*/
*/
...
@@ -189,6 +206,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -189,6 +206,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
String
getPhone
()
{
public
String
getPhone
()
{
return
phone
;
return
phone
;
}
}
/**
/**
* 设置:是否绑定手机
* 设置:是否绑定手机
*/
*/
...
@@ -202,6 +220,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -202,6 +220,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
Integer
getPhoneFlag
()
{
public
Integer
getPhoneFlag
()
{
return
phoneFlag
;
return
phoneFlag
;
}
}
/**
/**
* 设置:密码
* 设置:密码
*/
*/
...
@@ -215,6 +234,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -215,6 +234,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
String
getPassword
()
{
public
String
getPassword
()
{
return
password
;
return
password
;
}
}
/**
/**
* 设置:上一次登录时间
* 设置:上一次登录时间
*/
*/
...
@@ -228,6 +248,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -228,6 +248,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
Date
getLastLoginTime
()
{
public
Date
getLastLoginTime
()
{
return
lastLoginTime
;
return
lastLoginTime
;
}
}
/**
/**
* 设置:上一次登录IP
* 设置:上一次登录IP
*/
*/
...
@@ -241,6 +262,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -241,6 +262,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
String
getLastLoginIp
()
{
public
String
getLastLoginIp
()
{
return
lastLoginIp
;
return
lastLoginIp
;
}
}
/**
/**
* 设置:登录次数
* 设置:登录次数
*/
*/
...
@@ -254,6 +276,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -254,6 +276,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
Integer
getLoginCount
()
{
public
Integer
getLoginCount
()
{
return
loginCount
;
return
loginCount
;
}
}
/**
/**
* 设置:邮箱
* 设置:邮箱
*/
*/
...
@@ -267,6 +290,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -267,6 +290,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
String
getEmail
()
{
public
String
getEmail
()
{
return
email
;
return
email
;
}
}
/**
/**
* 设置:facebook账号
* 设置:facebook账号
*/
*/
...
@@ -280,6 +304,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -280,6 +304,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
String
getFacebook
()
{
public
String
getFacebook
()
{
return
facebook
;
return
facebook
;
}
}
/**
/**
* 设置:创建时间
* 设置:创建时间
*/
*/
...
@@ -293,6 +318,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -293,6 +318,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
Date
getCreateTime
()
{
public
Date
getCreateTime
()
{
return
createTime
;
return
createTime
;
}
}
/**
/**
* 设置:性别,0未知,1男性,2女性
* 设置:性别,0未知,1男性,2女性
*/
*/
...
@@ -306,6 +332,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -306,6 +332,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
Integer
getSex
()
{
public
Integer
getSex
()
{
return
sex
;
return
sex
;
}
}
/**
/**
* 设置:默认地址id
* 设置:默认地址id
*/
*/
...
@@ -319,6 +346,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -319,6 +346,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
String
getDefaultAddressId
()
{
public
String
getDefaultAddressId
()
{
return
defaultAddressId
;
return
defaultAddressId
;
}
}
/**
/**
* 设置:发出邀请的用户
* 设置:发出邀请的用户
*/
*/
...
@@ -332,6 +360,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -332,6 +360,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
String
getInvitedUserId
()
{
public
String
getInvitedUserId
()
{
return
invitedUserId
;
return
invitedUserId
;
}
}
/**
/**
* 设置:总共邀请数量
* 设置:总共邀请数量
*/
*/
...
@@ -345,6 +374,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -345,6 +374,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
Integer
getInvitedCount
()
{
public
Integer
getInvitedCount
()
{
return
invitedCount
;
return
invitedCount
;
}
}
/**
/**
* 设置:是否有效
* 设置:是否有效
*/
*/
...
@@ -358,6 +388,7 @@ public class TbCfUserInfoEntity implements Serializable {
...
@@ -358,6 +388,7 @@ public class TbCfUserInfoEntity implements Serializable {
public
Integer
getEnableFlag
()
{
public
Integer
getEnableFlag
()
{
return
enableFlag
;
return
enableFlag
;
}
}
/**
/**
* 设置:邮箱是否已经验证
* 设置:邮箱是否已经验证
*/
*/
...
...
platform-admin/src/main/resources/com/platform/dao/TbCfUserInfoDao.xml
浏览文件 @
328de067
...
@@ -179,7 +179,7 @@
...
@@ -179,7 +179,7 @@
</when>
</when>
<otherwise>
<otherwise>
ORDER BY
ORDER BY
o.total
DESC
u.createTime
DESC
</otherwise>
</otherwise>
</choose>
</choose>
<if
test=
"offset != null and limit != null"
>
<if
test=
"offset != null and limit != null"
>
...
@@ -299,4 +299,4 @@
...
@@ -299,4 +299,4 @@
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
platform-admin/src/main/webapp/js/common.js
浏览文件 @
328de067
...
@@ -815,6 +815,23 @@ userTypeFormat = function (cellvalue) {
...
@@ -815,6 +815,23 @@ userTypeFormat = function (cellvalue) {
return
returnStr
;
return
returnStr
;
};
};
/**
* 注册来源
* @param cellvalue
* @returns {string}
*/
signTypeFormat
=
function
(
cellvalue
)
{
var
returnStr
=
null
;
if
(
cellvalue
==
'1'
)
{
returnStr
=
"app"
;
}
else
if
(
cellvalue
==
'2'
)
{
returnStr
=
"pc"
;
}
else
if
(
cellvalue
==
'3'
)
{
returnStr
=
"mobile"
;
}
return
returnStr
;
};
/**
/**
* 是或者否翻译
* 是或者否翻译
* @param cellvalue
* @param cellvalue
...
@@ -866,9 +883,6 @@ activityStatusFormat = function (cellvalue) {
...
@@ -866,9 +883,6 @@ activityStatusFormat = function (cellvalue) {
}
}
shows
=
function
(
cellvalue
,
options
,
rowObject
)
{
shows
=
function
(
cellvalue
,
options
,
rowObject
)
{
let
returnStr
;
let
returnStr
;
returnStr
=
"<i-button class=
\"
ivu-btn ivu-btn-info
\"
onclick=showWord('"
+
rowObject
.
id
+
"') type=
\"
info
\"
>查看</i-button>"
;
returnStr
=
"<i-button class=
\"
ivu-btn ivu-btn-info
\"
onclick=showWord('"
+
rowObject
.
id
+
"') type=
\"
info
\"
>查看</i-button>"
;
...
...
platform-admin/src/main/webapp/js/sys/tbcfuserinfo.js
浏览文件 @
328de067
...
@@ -2,132 +2,133 @@ $(function () {
...
@@ -2,132 +2,133 @@ $(function () {
$
(
"#jqGrid"
).
Grid
({
$
(
"#jqGrid"
).
Grid
({
url
:
'../tbcfuserinfo/list'
,
url
:
'../tbcfuserinfo/list'
,
colModel
:
[
colModel
:
[
{
label
:
'userId'
,
name
:
'userId'
,
index
:
'user_id'
,
key
:
true
,
hidden
:
true
},
{
label
:
'userId'
,
name
:
'userId'
,
index
:
'user_id'
,
key
:
true
,
hidden
:
true
},
{
label
:
'用户编号'
,
name
:
'userNo'
,
index
:
'user_no'
,
width
:
160
},
{
label
:
'用户编号'
,
name
:
'userNo'
,
index
:
'user_no'
,
width
:
160
},
{
label
:
'用户类型'
,
name
:
'userType'
,
index
:
'user_type'
,
width
:
80
,
formatter
:
userTypeFormat
},
{
label
:
'用户类型'
,
name
:
'userType'
,
index
:
'user_type'
,
width
:
80
,
formatter
:
userTypeFormat
},
{
label
:
'账号'
,
name
:
'account'
,
index
:
'account'
,
width
:
120
},
{
label
:
'账号'
,
name
:
'account'
,
index
:
'account'
,
width
:
120
},
{
label
:
'用户头像地址'
,
name
:
'avatar'
,
index
:
'avatar'
,
width
:
100
,
formatter
:
imageFormat
},
{
label
:
'注册来源'
,
name
:
'source'
,
index
:
'source'
,
width
:
60
,
formatter
:
signTypeFormat
},
{
label
:
'用户名'
,
name
:
'nick'
,
index
:
'nick'
,
width
:
80
},
{
label
:
'用户头像地址'
,
name
:
'avatar'
,
index
:
'avatar'
,
width
:
100
,
formatter
:
imageFormat
},
{
label
:
'下单次数'
,
name
:
'count'
,
index
:
'count'
,
width
:
80
},
{
label
:
'用户名'
,
name
:
'nick'
,
index
:
'nick'
,
width
:
80
},
{
label
:
'总金额'
,
name
:
'total'
,
index
:
'total'
,
width
:
80
,
formatter
:
moneyFormat
},
{
label
:
'下单次数'
,
name
:
'count'
,
index
:
'count'
,
width
:
80
},
{
label
:
'使用优惠券次数'
,
name
:
'num'
,
index
:
'num'
,
width
:
80
},
{
label
:
'总金额'
,
name
:
'total'
,
index
:
'total'
,
width
:
80
,
formatter
:
moneyFormat
},
{
label
:
'电话号码'
,
name
:
'phone'
,
index
:
'phone'
,
width
:
100
},
{
label
:
'使用优惠券次数'
,
name
:
'num'
,
index
:
'num'
,
width
:
80
},
{
label
:
'是否绑定手机'
,
name
:
'phoneFlag'
,
index
:
'phone_flag'
,
width
:
80
,
formatter
:
yesOrNoFormat
},
{
label
:
'电话号码'
,
name
:
'phone'
,
index
:
'phone'
,
width
:
100
},
{
label
:
'密码'
,
name
:
'password'
,
index
:
'password'
,
width
:
80
,
hidden
:
true
},
{
label
:
'是否绑定手机'
,
name
:
'phoneFlag'
,
index
:
'phone_flag'
,
width
:
80
,
formatter
:
yesOrNoFormat
},
{
label
:
'上一次登录时间'
,
name
:
'lastLoginTime'
,
index
:
'last_login_time'
,
width
:
120
},
{
label
:
'密码'
,
name
:
'password'
,
index
:
'password'
,
width
:
80
,
hidden
:
true
},
{
label
:
'上一次登录IP'
,
name
:
'lastLoginIp'
,
index
:
'last_login_ip'
,
width
:
80
},
{
label
:
'上一次登录时间'
,
name
:
'lastLoginTime'
,
index
:
'last_login_time'
,
width
:
120
},
{
label
:
'登录次数'
,
name
:
'loginCount'
,
index
:
'login_count'
,
width
:
60
},
{
label
:
'上一次登录IP'
,
name
:
'lastLoginIp'
,
index
:
'last_login_ip'
,
width
:
80
},
{
label
:
'邮箱'
,
name
:
'email'
,
index
:
'email'
,
width
:
120
},
{
label
:
'登录次数'
,
name
:
'loginCount'
,
index
:
'login_count'
,
width
:
60
},
{
label
:
'facebook账号'
,
name
:
'facebook'
,
index
:
'facebook'
,
width
:
120
},
{
label
:
'邮箱'
,
name
:
'email'
,
index
:
'email'
,
width
:
120
},
{
label
:
'创建时间'
,
name
:
'createTime'
,
index
:
'create_time'
,
width
:
120
},
{
label
:
'facebook账号'
,
name
:
'facebook'
,
index
:
'facebook'
,
width
:
120
},
{
label
:
'性别'
,
name
:
'sex'
,
index
:
'sex'
,
width
:
80
,
formatter
:
sexFormat
},
{
label
:
'创建时间'
,
name
:
'createTime'
,
index
:
'create_time'
,
width
:
120
},
{
label
:
'默认地址id'
,
name
:
'defaultAddressId'
,
index
:
'default_address_id'
,
width
:
200
},
{
label
:
'性别'
,
name
:
'sex'
,
index
:
'sex'
,
width
:
80
,
formatter
:
sexFormat
},
{
label
:
'邀请用户'
,
name
:
'invitedUserId'
,
index
:
'invited_user_id'
,
width
:
120
},
{
label
:
'默认地址id'
,
name
:
'defaultAddressId'
,
index
:
'default_address_id'
,
width
:
200
},
{
label
:
'邀请人数'
,
name
:
'invitedCount'
,
index
:
'invited_count'
,
width
:
80
},
{
label
:
'邀请用户'
,
name
:
'invitedUserId'
,
index
:
'invited_user_id'
,
width
:
120
},
{
label
:
'是否有效'
,
name
:
'enableFlag'
,
index
:
'enable_flag'
,
width
:
60
,
formatter
:
yesOrNoFormat
},
{
label
:
'邀请人数'
,
name
:
'invitedCount'
,
index
:
'invited_count'
,
width
:
80
},
{
label
:
'邮箱是否已经验证'
,
name
:
'emailFlag'
,
index
:
'email_flag'
,
width
:
80
,
formatter
:
yesOrNoFormat
}],
{
label
:
'是否有效'
,
name
:
'enableFlag'
,
index
:
'enable_flag'
,
width
:
60
,
formatter
:
yesOrNoFormat
},
shrinkToFit
:
true
,
{
label
:
'邮箱是否已经验证'
,
name
:
'emailFlag'
,
index
:
'email_flag'
,
width
:
80
,
formatter
:
yesOrNoFormat
}],
datatype
:
"json"
,
shrinkToFit
:
true
,
rowNum
:
15
,
datatype
:
"json"
,
rowList
:[
15
,
30
,
45
],
rowNum
:
15
,
mtype
:
"POST"
,
rowList
:
[
15
,
30
,
45
],
rownumbers
:
true
,
mtype
:
"POST"
,
rownumWidth
:
40
,
rownumbers
:
true
,
gridview
:
true
,
rownumWidth
:
40
,
pager
:
'#speedp'
,
gridview
:
true
,
sortname
:
'create_time'
,
pager
:
'#speedp'
,
viewrecords
:
true
,
sortname
:
'create_time'
,
sortorder
:
"desc"
viewrecords
:
true
,
sortorder
:
"desc"
});
});
});
});
let
vm
=
new
Vue
({
let
vm
=
new
Vue
({
el
:
'#rrapp'
,
el
:
'#rrapp'
,
data
:
{
data
:
{
showList
:
true
,
showList
:
true
,
title
:
null
,
title
:
null
,
tbCfUserInfo
:
{},
tbCfUserInfo
:
{},
ruleValidate
:
{
ruleValidate
:
{
name
:
[
name
:
[
{
required
:
true
,
message
:
'名称不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'名称不能为空'
,
trigger
:
'blur'
}
]
]
},
},
q
:
{
q
:
{
name
:
''
name
:
''
}
}
},
},
methods
:
{
methods
:
{
query
:
function
()
{
query
:
function
()
{
vm
.
reload
();
vm
.
reload
();
},
},
add
:
function
()
{
add
:
function
()
{
vm
.
showList
=
false
;
vm
.
showList
=
false
;
vm
.
title
=
"新增"
;
vm
.
title
=
"新增"
;
vm
.
tbCfUserInfo
=
{};
vm
.
tbCfUserInfo
=
{};
},
},
update
:
function
(
event
)
{
update
:
function
(
event
)
{
let
userId
=
getSelectedRow
(
"#jqGrid"
);
let
userId
=
getSelectedRow
(
"#jqGrid"
);
if
(
userId
==
null
)
{
if
(
userId
==
null
)
{
return
;
return
;
}
}
vm
.
showList
=
false
;
vm
.
showList
=
false
;
vm
.
title
=
"修改"
;
vm
.
title
=
"修改"
;
vm
.
getInfo
(
userId
);
vm
.
getInfo
(
userId
);
},
},
saveOrUpdate
:
function
(
event
)
{
saveOrUpdate
:
function
(
event
)
{
let
url
=
vm
.
tbCfUserInfo
.
userId
==
null
?
"../tbcfuserinfo/save"
:
"../tbcfuserinfo/update"
;
let
url
=
vm
.
tbCfUserInfo
.
userId
==
null
?
"../tbcfuserinfo/save"
:
"../tbcfuserinfo/update"
;
Ajax
.
request
({
Ajax
.
request
({
url
:
url
,
url
:
url
,
params
:
JSON
.
stringify
(
vm
.
tbCfUserInfo
),
params
:
JSON
.
stringify
(
vm
.
tbCfUserInfo
),
type
:
"POST"
,
type
:
"POST"
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
successCallback
:
function
(
r
)
{
successCallback
:
function
(
r
)
{
alert
(
'操作成功'
,
function
(
index
)
{
alert
(
'操作成功'
,
function
(
index
)
{
vm
.
reload
();
vm
.
reload
();
});
});
}
}
});
});
},
},
del
:
function
(
event
)
{
del
:
function
(
event
)
{
let
userIds
=
getSelectedRows
(
"#jqGrid"
);
let
userIds
=
getSelectedRows
(
"#jqGrid"
);
if
(
userIds
==
null
)
{
if
(
userIds
==
null
)
{
return
;
return
;
}
}
confirm
(
'确定要删除选中的记录?'
,
function
()
{
confirm
(
'确定要删除选中的记录?'
,
function
()
{
Ajax
.
request
({
Ajax
.
request
({
url
:
"../tbcfuserinfo/delete"
,
url
:
"../tbcfuserinfo/delete"
,
params
:
JSON
.
stringify
(
userIds
),
params
:
JSON
.
stringify
(
userIds
),
type
:
"POST"
,
type
:
"POST"
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
successCallback
:
function
()
{
successCallback
:
function
()
{
alert
(
'操作成功'
,
function
(
index
)
{
alert
(
'操作成功'
,
function
(
index
)
{
vm
.
reload
();
vm
.
reload
();
});
});
}
}
});
});
});
});
},
},
getInfo
:
function
(
userId
)
{
getInfo
:
function
(
userId
)
{
Ajax
.
request
({
Ajax
.
request
({
url
:
"../tbcfuserinfo/info/"
+
userId
,
url
:
"../tbcfuserinfo/info/"
+
userId
,
async
:
true
,
async
:
true
,
successCallback
:
function
(
r
)
{
successCallback
:
function
(
r
)
{
vm
.
tbCfUserInfo
=
r
.
tbCfUserInfo
;
vm
.
tbCfUserInfo
=
r
.
tbCfUserInfo
;
}
}
});
});
},
},
reload
:
function
(
event
)
{
reload
:
function
(
event
)
{
vm
.
showList
=
true
;
vm
.
showList
=
true
;
let
page
=
$
(
"#jqGrid"
).
jqGrid
(
'getGridParam'
,
'page'
);
let
page
=
$
(
"#jqGrid"
).
jqGrid
(
'getGridParam'
,
'page'
);
$
(
"#jqGrid"
).
jqGrid
(
'setGridParam'
,
{
$
(
"#jqGrid"
).
jqGrid
(
'setGridParam'
,
{
postData
:
{
'name'
:
vm
.
q
.
name
},
postData
:
{
'name'
:
vm
.
q
.
name
},
page
:
page
page
:
page
}).
trigger
(
"reloadGrid"
);
}).
trigger
(
"reloadGrid"
);
vm
.
handleReset
(
'formValidate'
);
vm
.
handleReset
(
'formValidate'
);
},
},
reloadSearch
:
function
()
{
reloadSearch
:
function
()
{
vm
.
q
=
{
vm
.
q
=
{
name
:
''
name
:
''
};
};
...
@@ -141,5 +142,5 @@ let vm = new Vue({
...
@@ -141,5 +142,5 @@ let vm = new Vue({
handleReset
:
function
(
name
)
{
handleReset
:
function
(
name
)
{
handleResetForm
(
this
,
name
);
handleResetForm
(
this
,
name
);
}
}
}
}
});
});
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论