vehicleManageInspectionDetails.js 829 字节
Newer Older
doc_wei's avatar
doc_wei 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

layui.config({
	base: basePath, 
	version: skyeyeVersion
}).extend({
    window: 'js/winui.window'
}).define(['window', 'jquery', 'winui'], function (exports) {
	winui.renderColor();
	layui.use(['form'], function (form) {
		var index = parent.layer.getFrameIndex(window.name);
	    var $ = layui.$;
	    var reg = new RegExp("<br>", "g");
	    
	    showGrid({
		 	id: "showForm",
doc_wei's avatar
doc_wei 已提交
16
		 	url: flowableBasePath + "inspection006",
doc_wei's avatar
doc_wei 已提交
17 18 19
		 	params: {rowId:parent.rowId},
		 	pagination: false,
		 	template: getFileContent('tpl/vehicleManageInspection/vehicleManageInspectionDetailsTemplate.tpl'),
W
weizhiqiang 已提交
20
		 	ajaxSendLoadBefore: function(hdb) {
doc_wei's avatar
doc_wei 已提交
21
		 	},
W
weizhiqiang 已提交
22
		 	ajaxSendAfter:function (json) {
W
weizhiqiang 已提交
23 24
				// 附件回显
				skyeyeEnclosure.showDetails({"enclosureUploadBtn": json.bean.enclosureInfo});
doc_wei's avatar
doc_wei 已提交
25 26 27 28 29 30
		        matchingLanguage();
		 	}
		});
	    
	});
});