var name="cop";
var openurl="路径&ref_t=design&project_name="+project_name+"&project_code="+project_code+"&ContractName="+ContractName+"&AllYfProviderName="+AllYfProviderName+"&NodeName="+NodeName+"&kf="+kf+"&cop=1";
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
var
openurl= openurl +"&op=export&format=Excel";
newwin="newwindow";
window.open (openurl, newwin)
;