syspersonal.js 797 字节
Newer Older
doc_wei's avatar
doc_wei 已提交
1 2 3 4 5 6 7 8 9 10 11

layui.config({
	base: basePath, 
	version: skyeyeVersion
}).define(['table', 'jquery', 'winui', 'form'], function (exports) {
	
	winui.renderColor();
	
	var $ = layui.$,
	form = layui.form,
	table = layui.table;
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
	
	//修改密码
	$("body").on("click", "#updatePassword", function(e){
		_openNewWindows({
			url: "../../tpl/syspersonal/editpassword.html", 
			title: "修改密码",
			pageId: "editpassword",
			area: ['700px', '300px'],
			callBack: function(refreshCode){
                if (refreshCode == '0') {
                	top.winui.window.msg("操作成功", {icon: 1,time: 2000});
                } else if (refreshCode == '-9999') {
                	top.winui.window.msg("操作失败", {icon: 2,time: 2000});
                }
			}});
	});
doc_wei's avatar
doc_wei 已提交
28 29 30
    
    exports('syspersonal', {});
});