• This project
    • Loading...
  • Sign in

zyn / cjs-cms

75981343286505
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • cjs-cms
  • ..
  • ration
  • rationAgree.js
  • wangbeiyong's avatar
    init · 508ba5bb
    508ba5bb
    wangbeiyong authored 2019-01-24 11:43:20 +0800
rationAgree.js 429 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
/**
 * 
 */

var RationAgree = function(){
	
	return {
		
		search : function(){
			$("#data-grid").datagrid({
				url : "/ration/agree/search",
				queryParams : App.dataGridQueryParams('search-form')
			});
		},
		
		export : function(){
			$.messager.confirm('Confirm', '确定导出吗?', function(ok) {
				if (ok) {
					window.open('/ration/agree/export?' + $('#search-form').serialize());
				}
			});
		},
		
	}
	
}();