function dr_table_option(url,msg){var rows=$("#mytable").bootstrapTable("getSelections");if(rows.length>0){var data="",post=post_token,ids=[];$(rows).each(function(){data+="&ids[]="+this.id,ids.push(this.id)}),post.ids=ids,layer.confirm(msg,{icon:3,shade:0,title:dr_lang("提示"),btn:[dr_lang("确定"),dr_lang("取消")]},function(index){layer.close(index);var loading=layer.load(2,{shade:[.3,"#fff"],time:1e8});$.ajax({type:"POST",dataType:"json",url:url,data:post,success:function(json){if(layer.close(loading),json.token){var token=json.token;post_token[token.name]=token.value}if(json.code){if(json.data.htmlfile&&$.ajax({type:"GET",url:json.data.htmlfile,dataType:"jsonp",success:function(t){},error:function(){}}),json.data.jscode)return void eval(json.data.jscode);json.data.url?setTimeout("window.location.href = '"+json.data.url+"'",2e3):$("#mytable").bootstrapTable("refresh")}dr_cmf_tips(json.code,json.msg,json.data.time)},error:function(t,e,i){dr_ajax_alert_error(t,this,i)}})})}else dr_tips(0,dr_lang("没有选择数据项"))}function dr_table_iframe(t,e,i){var n=$("#mytable").bootstrapTable("getSelections");if(n.length>0){var o="";$(n).each(function(){o+=","+this.id}),dr_tips(1,o),i?dr_iframe(e,t+"&ids="+o):dr_iframe_show(e,t+"&ids="+o)}else dr_tips(0,dr_lang("没有选择数据项"))}function dr_table_select_all(t){$(t).is(":checked")?$("#mytable").bootstrapTable("checkAll"):$("#mytable").bootstrapTable("uncheckAll")}!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).BootstrapTable=e(t.jQuery)}(this,function(t){"use strict";var e=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(t);function i(t){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var i=0;it.length)&&(e=t.length);for(var i=0,n=new Array(e);i=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,s=!1;return{s:function(){i=t[Symbol.iterator]()},n:function(){var t=i.next();return r=t.done,t},e:function(t){s=!0,a=t},f:function(){try{r||null==i.return||i.return()}finally{if(s)throw a}}}}var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(t,e){return t(e={exports:{}},e.exports),e.exports}var f=function(t){return t&&t.Math==Math&&t},p=f("object"==typeof globalThis&&globalThis)||f("object"==typeof window&&window)||f("object"==typeof self&&self)||f("object"==typeof u&&u)||function(){return this}()||Function("return this")(),g=function(t){try{return!!t()}catch(t){return!0}},v=!g(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),b={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,y={f:m&&!b.call({1:2},1)?function(t){var e=m(this,t);return!!e&&e.enumerable}:b},w=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},S={}.toString,x=function(t){return S.call(t).slice(8,-1)},A="".split,k=g(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==x(t)?A.call(t,""):Object(t)}:Object,C=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},T=function(t){return k(C(t))},O=function(t){return"object"==typeof t?null!==t:"function"==typeof t},P=function(t,e){if(!O(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!O(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!O(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!O(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")},I={}.hasOwnProperty,$=function(t,e){return I.call(t,e)},_=p.document,E=O(_)&&O(_.createElement),R=function(t){return E?_.createElement(t):{}},j=!v&&!g(function(){return 7!=Object.defineProperty(R("div"),"a",{get:function(){return 7}}).a}),F=Object.getOwnPropertyDescriptor,B={f:v?F:function(t,e){if(t=T(t),e=P(e,!0),j)try{return F(t,e)}catch(t){}if($(t,e))return w(!y.f.call(t,e),t[e])}},N=function(t){if(!O(t))throw TypeError(String(t)+" is not an object");return t},D=Object.defineProperty,V={f:v?D:function(t,e,i){if(N(t),e=P(e,!0),N(i),j)try{return D(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},L=v?function(t,e,i){return V.f(t,e,w(1,i))}:function(t,e,i){return t[e]=i,t},H=function(t,e){try{L(p,t,e)}catch(i){p[t]=e}return e},U=p["__core-js_shared__"]||H("__core-js_shared__",{}),M=Function.toString;"function"!=typeof U.inspectSource&&(U.inspectSource=function(t){return M.call(t)});var q,z,W,G=U.inspectSource,Q=p.WeakMap,K="function"==typeof Q&&/native code/.test(G(Q)),Y=d(function(t){(t.exports=function(t,e){return U[t]||(U[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.10.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),J=0,X=Math.random(),Z=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++J+X).toString(36)},tt=Y("keys"),et=function(t){return tt[t]||(tt[t]=Z(t))},it={},nt=p.WeakMap;if(K){var ot=U.state||(U.state=new nt),at=ot.get,rt=ot.has,st=ot.set;q=function(t,e){return e.facade=t,st.call(ot,t,e),e},z=function(t){return at.call(ot,t)||{}},W=function(t){return rt.call(ot,t)}}else{var lt=et("state");it[lt]=!0,q=function(t,e){return e.facade=t,L(t,lt,e),e},z=function(t){return $(t,lt)?t[lt]:{}},W=function(t){return $(t,lt)}}var ct={set:q,get:z,has:W,enforce:function(t){return W(t)?z(t):q(t,{})},getterFor:function(t){return function(e){var i;if(!O(e)||(i=z(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}},ht=d(function(t){var e=ct.get,i=ct.enforce,n=String(String).split("String");(t.exports=function(t,e,o,a){var r,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof o&&("string"!=typeof e||$(o,"name")||L(o,"name",e),(r=i(o)).source||(r.source=n.join("string"==typeof e?e:""))),t!==p?(s?!c&&t[e]&&(l=!0):delete t[e],l?t[e]=o:L(t,e,o)):l?t[e]=o:H(e,o)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||G(this)})}),ut=p,dt=function(t){return"function"==typeof t?t:void 0},ft=function(t,e){return arguments.length<2?dt(ut[t])||dt(p[t]):ut[t]&&ut[t][e]||p[t]&&p[t][e]},pt=Math.ceil,gt=Math.floor,vt=function(t){return isNaN(t=+t)?0:(t>0?gt:pt)(t)},bt=Math.min,mt=function(t){return t>0?bt(vt(t),9007199254740991):0},yt=Math.max,wt=Math.min,St=function(t,e){var i=vt(t);return i<0?yt(i+e,0):wt(i,e)},xt=function(t){return function(e,i,n){var o,a=T(e),r=mt(a.length),s=St(n,r);if(t&&i!=i){for(;r>s;)if((o=a[s++])!=o)return!0}else for(;r>s;s++)if((t||s in a)&&a[s]===i)return t||s||0;return!t&&-1}},At={includes:xt(!0),indexOf:xt(!1)},kt=At.indexOf,Ct=function(t,e){var i,n=T(t),o=0,a=[];for(i in n)!$(it,i)&&$(n,i)&&a.push(i);for(;e.length>o;)$(n,i=e[o++])&&(~kt(a,i)||a.push(i));return a},Tt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ot=Tt.concat("length","prototype"),Pt={f:Object.getOwnPropertyNames||function(t){return Ct(t,Ot)}},It={f:Object.getOwnPropertySymbols},$t=ft("Reflect","ownKeys")||function(t){var e=Pt.f(N(t)),i=It.f;return i?e.concat(i(t)):e},_t=function(t,e){for(var i=$t(e),n=V.f,o=B.f,a=0;a0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(l="(?: "+l+")",h=" "+h,c++),i=new RegExp("^(?:"+l+")",s)),re&&(i=new RegExp("^"+l+"$(?!\\s)",s)),oe&&(e=a.lastIndex),n=ee.call(r?i:a,h),r?n?(n.input=n.input.slice(c),n[0]=n[0].slice(c),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:oe&&n&&(a.lastIndex=a.global?n.index+n[0].length:e),re&&n&&n.length>1&&ie.call(n[0],i,function(){for(o=1;o=74)&&(le=ue.match(/Chrome\/(\d+)/))&&(ce=le[1]);var ge=ce&&+ce,ve=!!Object.getOwnPropertySymbols&&!g(function(){return!Symbol.sham&&(he?38===ge:ge>37&&ge<41)}),be=ve&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,me=Y("wks"),ye=p.Symbol,we=be?ye:ye&&ye.withoutSetter||Z,Se=function(t){return $(me,t)&&(ve||"string"==typeof me[t])||(ve&&$(ye,t)?me[t]=ye[t]:me[t]=we("Symbol."+t)),me[t]},xe=Se("species"),Ae=!g(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),ke="$0"==="a".replace(/./,"$0"),Ce=Se("replace"),Te=!!/./[Ce]&&""===/./[Ce]("a","$0"),Oe=!g(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]}),Pe=function(t,e,i,n){var o=Se(t),a=!g(function(){var e={};return e[o]=function(){return 7},7!=""[t](e)}),r=a&&!g(function(){var e=!1,i=/a/;return"split"===t&&((i={}).constructor={},i.constructor[xe]=function(){return i},i.flags="",i[o]=/./[o]),i.exec=function(){return e=!0,null},i[o](""),!e});if(!a||!r||"replace"===t&&(!Ae||!ke||Te)||"split"===t&&!Oe){var s=/./[o],l=i(o,""[t],function(t,e,i,n,o){return e.exec===RegExp.prototype.exec?a&&!o?{done:!0,value:s.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}},{REPLACE_KEEPS_$0:ke,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Te}),c=l[0],h=l[1];ht(String.prototype,t,c),ht(RegExp.prototype,o,2==e?function(t,e){return h.call(t,this,e)}:function(t){return h.call(t,this)})}n&&L(RegExp.prototype[o],"sham",!0)},Ie=Se("match"),$e=function(t){var e;return O(t)&&(void 0!==(e=t[Ie])?!!e:"RegExp"==x(t))},_e=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Ee=Se("species"),Re=function(t){return function(e,i){var n,o,a=String(C(e)),r=vt(i),s=a.length;return r<0||r>=s?t?"":void 0:(n=a.charCodeAt(r))<55296||n>56319||r+1===s||(o=a.charCodeAt(r+1))<56320||o>57343?t?a.charAt(r):n:t?a.slice(r,r+2):o-56320+(n-55296<<10)+65536}},je={codeAt:Re(!1),charAt:Re(!0)}.charAt,Fe=function(t,e,i){return e+(i?je(t,e).length:1)},Be=function(t,e){var i=t.exec;if("function"==typeof i){var n=i.call(t,e);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==x(t))throw TypeError("RegExp#exec called on incompatible receiver");return se.call(t,e)},Ne=te.UNSUPPORTED_Y,De=[].push,Ve=Math.min;Pe("split",2,function(t,e,i){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,i){var n=String(C(this)),o=void 0===i?4294967295:i>>>0;if(0===o)return[];if(void 0===t)return[n];if(!$e(t))return e.call(n,t,o);for(var a,r,s,l=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,u=new RegExp(t.source,c+"g");(a=se.call(u,n))&&!((r=u.lastIndex)>h&&(l.push(n.slice(h,a.index)),a.length>1&&a.index=o));)u.lastIndex===a.index&&u.lastIndex++;return h===n.length?!s&&u.test("")||l.push(""):l.push(n.slice(h)),l.length>o?l.slice(0,o):l}:"0".split(void 0,0).length?function(t,i){return void 0===t&&0===i?[]:e.call(this,t,i)}:e,[function(e,i){var o=C(this),a=null==e?void 0:e[t];return void 0!==a?a.call(e,o,i):n.call(String(o),e,i)},function(t,o){var a=i(n,t,this,o,n!==e);if(a.done)return a.value;var r=N(t),s=String(this),l=function(t,e){var i,n=N(t).constructor;return void 0===n||null==(i=N(n)[Ee])?e:_e(i)}(r,RegExp),c=r.unicode,h=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(Ne?"g":"y"),u=new l(Ne?"^(?:"+r.source+")":r,h),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===s.length)return null===Be(u,s)?[s]:[];for(var f=0,p=0,g=[];pr;)i=o[r++],v&&!He.call(n,i)||s.push(t?[i,n[i]]:n[i]);return s}},Me={entries:Ue(!0),values:Ue(!1)}.entries;Lt({target:"Object",stat:!0},{entries:function(t){return Me(t)}});var qe,ze=v?Object.defineProperties:function(t,e){N(t);for(var i,n=Le(e),o=n.length,a=0;o>a;)V.f(t,i=n[a++],e[i]);return t},We=ft("document","documentElement"),Ge=et("IE_PROTO"),Qe=function(){},Ke=function(t){return"