super-pages 0.7.61-dw → 0.7.62-dw

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  * (c) 2021 Evan You
5
5
  * @license MIT
6
6
  */
7
- function o(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:o});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[o].concat(e.init):o,n.call(this,e)}}function o(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"a",(function(){return D}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},a=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(e){a&&(e._devtoolHook=a,a.emit("vuex:init",e),a.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){a.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){a.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function l(e){return null!==e&&"object"===typeof e}function u(e){return e&&"function"===typeof e.then}function c(e,t){return function(){return e(t)}}var p=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},d={namespaced:{configurable:!0}};d.namespaced.get=function(){return!!this._rawModule.namespaced},p.prototype.addChild=function(e,t){this._children[e]=t},p.prototype.removeChild=function(e){delete this._children[e]},p.prototype.getChild=function(e){return this._children[e]},p.prototype.hasChild=function(e){return e in this._children},p.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},p.prototype.forEachChild=function(e){s(this._children,e)},p.prototype.forEachGetter=function(e){this._rawModule.getters&&s(this._rawModule.getters,e)},p.prototype.forEachAction=function(e){this._rawModule.actions&&s(this._rawModule.actions,e)},p.prototype.forEachMutation=function(e){this._rawModule.mutations&&s(this._rawModule.mutations,e)},Object.defineProperties(p.prototype,d);var f=function(e){this.register([],e,!1)};function m(e,t,n){if(t.update(n),n.modules)for(var o in n.modules){if(!t.getChild(o))return void 0;m(e.concat(o),t.getChild(o),n.modules[o])}}f.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},f.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},f.prototype.update=function(e){m([],this.root,e)},f.prototype.register=function(e,t,n){var o=this;void 0===n&&(n=!0);var i=new p(t,n);if(0===e.length)this.root=i;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],i)}t.modules&&s(t.modules,(function(t,i){o.register(e.concat(i),t,n)}))},f.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],o=t.getChild(n);o&&o.runtime&&t.removeChild(n)},f.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var h;var g=function(e){var t=this;void 0===e&&(e={}),!h&&"undefined"!==typeof window&&window.Vue&&x(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var o=e.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new f(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new h,this._makeLocalGettersCache=Object.create(null);var i=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return l.call(i,e,t,n)},this.strict=o;var u=this._modules.root.state;w(this,u,[],this._modules.root),_(this,u),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:h.config.devtools;c&&r(this)},b={state:{configurable:!0}};function y(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function v(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;w(e,n,[],e._modules.root,!0),_(e,n,t)}function _(e,t,n){var o=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={};s(i,(function(t,n){a[n]=c(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var r=h.config.silent;h.config.silent=!0,e._vm=new h({data:{$$state:t},computed:a}),h.config.silent=r,e.strict&&T(e),o&&(n&&e._withCommit((function(){o._data.$$state=null})),h.nextTick((function(){return o.$destroy()})))}function w(e,t,n,o,i){var a=!n.length,r=e._modules.getNamespace(n);if(o.namespaced&&(e._modulesNamespaceMap[r],e._modulesNamespaceMap[r]=o),!a&&!i){var s=N(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){h.set(s,l,o.state)}))}var u=o.context=C(e,r,n);o.forEachMutation((function(t,n){var o=r+n;S(e,o,t,u)})),o.forEachAction((function(t,n){var o=t.root?n:r+n,i=t.handler||t;O(e,o,i,u)})),o.forEachGetter((function(t,n){var o=r+n;k(e,o,t,u)})),o.forEachChild((function(o,a){w(e,t,n.concat(a),o,i)}))}function C(e,t,n){var o=""===t,i={dispatch:o?e.dispatch:function(n,o,i){var a=E(n,o,i),r=a.payload,s=a.options,l=a.type;return s&&s.root||(l=t+l),e.dispatch(l,r)},commit:o?e.commit:function(n,o,i){var a=E(n,o,i),r=a.payload,s=a.options,l=a.type;s&&s.root||(l=t+l),e.commit(l,r,s)}};return Object.defineProperties(i,{getters:{get:o?function(){return e.getters}:function(){return P(e,t)}},state:{get:function(){return N(e.state,n)}}}),i}function P(e,t){if(!e._makeLocalGettersCache[t]){var n={},o=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,o)===t){var a=i.slice(o);Object.defineProperty(n,a,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function S(e,t,n,o){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,o.state,t)}))}function O(e,t,n,o){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:e.getters,rootState:e.state},t);return u(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function k(e,t,n,o){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(o.state,o.getters,e.state,e.getters)})}function T(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function N(e,t){return t.reduce((function(e,t){return e[t]}),e)}function E(e,t,n){return l(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function x(e){h&&e===h||(h=e,o(h))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},g.prototype.commit=function(e,t,n){var o=this,i=E(e,t,n),a=i.type,r=i.payload,s=(i.options,{type:a,payload:r}),l=this._mutations[a];l&&(this._withCommit((function(){l.forEach((function(e){e(r)}))})),this._subscribers.slice().forEach((function(e){return e(s,o.state)})))},g.prototype.dispatch=function(e,t){var n=this,o=E(e,t),i=o.type,a=o.payload,r={type:i,payload:a},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(r,n.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(e){return e(a)}))):s[0](a);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(r,n.state)}))}catch(u){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(r,n.state,e)}))}catch(u){0}t(e)}))}))}},g.prototype.subscribe=function(e,t){return y(e,this._subscribers,t)},g.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return y(n,this._actionSubscribers,t)},g.prototype.watch=function(e,t,n){var o=this;return this._watcherVM.$watch((function(){return e(o.state,o.getters)}),t,n)},g.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},g.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),w(this,this.state,e,this._modules.get(e),n.preserveState),_(this,this.state)},g.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=N(t.state,e.slice(0,-1));h.delete(n,e[e.length-1])})),v(this)},g.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},g.prototype.hotUpdate=function(e){this._modules.update(e),v(this,!0)},g.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(g.prototype,b);I((function(e,t){var n={};return M(t).forEach((function(t){var o=t.key,i=t.val;n[o]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var o=F(this.$store,"mapState",e);if(!o)return;t=o.context.state,n=o.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[o].vuex=!0})),n})),I((function(e,t){var n={};return M(t).forEach((function(t){var o=t.key,i=t.val;n[o]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var o=this.$store.commit;if(e){var a=F(this.$store,"mapMutations",e);if(!a)return;o=a.context.commit}return"function"===typeof i?i.apply(this,[o].concat(t)):o.apply(this.$store,[i].concat(t))}})),n}));var D=I((function(e,t){var n={};return M(t).forEach((function(t){var o=t.key,i=t.val;i=e+i,n[o]=function(){if(!e||F(this.$store,"mapGetters",e))return this.$store.getters[i]},n[o].vuex=!0})),n}));I((function(e,t){var n={};return M(t).forEach((function(t){var o=t.key,i=t.val;n[o]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var o=this.$store.dispatch;if(e){var a=F(this.$store,"mapActions",e);if(!a)return;o=a.context.dispatch}return"function"===typeof i?i.apply(this,[o].concat(t)):o.apply(this.$store,[i].concat(t))}})),n}));function M(e){return j(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function j(e){return Array.isArray(e)||l(e)}function I(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function F(e,t,n){var o=e._modulesNamespaceMap[n];return o}}).call(this,n("c8ba"))},"30b5":function(e,t,n){"use strict";var o=n("c532");function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(o.isURLSearchParams(t))a=t.toString();else{var r=[];o.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,(function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),r.push(i(t)+"="+i(e))})))})),a=r.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},"30f1":function(e,t,n){"use strict";var o=n("b8e3"),i=n("63b6"),a=n("9138"),r=n("35e8"),s=n("481b"),l=n("8f60"),u=n("45f2"),c=n("53e2"),p=n("5168")("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",m="keys",h="values",g=function(){return this};e.exports=function(e,t,n,b,y,v,_){l(n,t,b);var w,C,P,S=function(e){if(!d&&e in N)return N[e];switch(e){case m:return function(){return new n(this,e)};case h:return function(){return new n(this,e)}}return function(){return new n(this,e)}},O=t+" Iterator",k=y==h,T=!1,N=e.prototype,E=N[p]||N[f]||y&&N[y],x=E||S(y),D=y?k?S("entries"):x:void 0,M="Array"==t&&N.entries||E;if(M&&(P=c(M.call(new e)),P!==Object.prototype&&P.next&&(u(P,O,!0),o||"function"==typeof P[p]||r(P,p,g))),k&&E&&E.name!==h&&(T=!0,x=function(){return E.call(this)}),o&&!_||!d&&!T&&N[p]||r(N,p,x),s[t]=x,s[O]=g,y)if(w={values:k?x:S(h),keys:v?x:S(m),entries:D},_)for(C in w)C in N||a(N,C,w[C]);else i(i.P+i.F*(d||T),t,w);return w}},"32a6":function(e,t,n){var o=n("241e"),i=n("c3a1");n("ce7e")("keys",(function(){return function(e){return i(o(e))}}))},"32fc":function(e,t,n){var o=n("e53d").document;e.exports=o&&o.documentElement},"335c":function(e,t,n){var o=n("6b4c");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},"355d":function(e,t){t.f={}.propertyIsEnumerable},"35e8":function(e,t,n){var o=n("d9f6"),i=n("aebd");e.exports=n("8e60")?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"36c3":function(e,t,n){var o=n("335c"),i=n("25eb");e.exports=function(e){return o(i(e))}},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,o,i){return e.config=t,n&&(e.code=n),e.request=o,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},3934:function(e,t,n){"use strict";var o=n("c532");e.exports=o.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var o=e;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=o.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"3a38":function(e,t){var n=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:n)(e)}},"3c4e":function(e,t,n){"use strict";var o=function(e){return i(e)&&!a(e)};function i(e){return!!e&&"object"===typeof e}function a(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||l(e)}var r="function"===typeof Symbol&&Symbol.for,s=r?Symbol.for("react.element"):60103;function l(e){return e.$$typeof===s}function u(e){return Array.isArray(e)?[]:{}}function c(e,t){var n=t&&!0===t.clone;return n&&o(e)?f(u(e),e,t):e}function p(e,t,n){var i=e.slice();return t.forEach((function(t,a){"undefined"===typeof i[a]?i[a]=c(t,n):o(t)?i[a]=f(e[a],t,n):-1===e.indexOf(t)&&i.push(c(t,n))})),i}function d(e,t,n){var i={};return o(e)&&Object.keys(e).forEach((function(t){i[t]=c(e[t],n)})),Object.keys(t).forEach((function(a){o(t[a])&&e[a]?i[a]=f(e[a],t[a],n):i[a]=c(t[a],n)})),i}function f(e,t,n){var o=Array.isArray(t),i=Array.isArray(e),a=n||{arrayMerge:p},r=o===i;if(r){if(o){var s=a.arrayMerge||p;return s(e,t,n)}return d(e,t,n)}return c(t,n)}f.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return f(e,n,t)}))};var m=f;e.exports=m},"3eb6":function(e,t,n){},"45f2":function(e,t,n){var o=n("d9f6").f,i=n("07e3"),a=n("5168")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&o(e,a,{configurable:!0,value:t})}},"467f":function(e,t,n){"use strict";var o=n("2d83");e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(o("Request failed with status code "+n.status,n.config,null,n.request,n))}},"47ee":function(e,t,n){var o=n("c3a1"),i=n("9aa9"),a=n("355d");e.exports=function(e){var t=o(e),n=i.f;if(n){var r,s=n(e),l=a.f,u=0;while(s.length>u)l.call(e,r=s[u++])&&t.push(r)}return t}},"481b":function(e,t){e.exports={}},"4a7b":function(e,t,n){"use strict";var o=n("c532");e.exports=function(e,t){t=t||{};var n={};return o.forEach(["url","method","params","data"],(function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])})),o.forEach(["headers","auth","proxy"],(function(i){o.isObject(t[i])?n[i]=o.deepMerge(e[i],t[i]):"undefined"!==typeof t[i]?n[i]=t[i]:o.isObject(e[i])?n[i]=o.deepMerge(e[i]):"undefined"!==typeof e[i]&&(n[i]=e[i])})),o.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],(function(o){"undefined"!==typeof t[o]?n[o]=t[o]:"undefined"!==typeof e[o]&&(n[o]=e[o])})),n}},5082:function(e,t){var n=Object.prototype.hasOwnProperty,o={},i={};function a(){var e=0;for(var t in o)e++;return e}var r=e.exports={length:a(),getItem:function(e){return n.call(o,e)?o[e]:null},setItem:function(e,t){e in i||(o[e]=t),r.length=a()},removeItem:function(e){delete o[e],r.length=a()},clear:function(){o={},r.length=0},supported:!0}},"50ed":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},5168:function(e,t,n){var o=n("dbdb")("wks"),i=n("62a0"),a=n("e53d").Symbol,r="function"==typeof a,s=e.exports=function(e){return o[e]||(o[e]=r&&a[e]||(r?a:i)("Symbol."+e))};s.store=o},"51ae":function(module,__webpack_exports__,__webpack_require__){"use strict";var vue__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8bbf"),vue__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__),_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("18ce"),_src_utils_common_util__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("c559"),_eventBus__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("06e7"),axios__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("bc3a"),axios__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_4__),js_cookie__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("a78e"),js_cookie__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(js_cookie__WEBPACK_IMPORTED_MODULE_5__),_common_util__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("8217"),imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("f6cd"),imatrix_ui_src_utils_watermark__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("2105"),imatrix_ui_src_utils_common_util__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("9696"),imatrix_ui_src_utils_auth__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("eb17");function _createForOfIteratorHelper(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}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(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){s=!0,a=e},f:function(){try{r||null==n.return||n.return()}finally{if(s)throw a}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"===typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var Util={isFullPath:function(e){return 0===e.indexOf("http:")||0===e.indexOf("https:")},getRealRestApiPath:function(e,t){var n=e;if(e&&t&&!this.isFullPath(e)){var o=this.getBaseUrl(t);n=!1===t.standard?o+"/"+t.code+e:o+e}return n},getWorkflowId:function(e){var t=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(e,"_formData");if(t){var n=t.workflow_id;return n||(n=t.WORKFLOW_ID),!n&&t.workflowInfo&&(n=t.workflowInfo.workflowId),n}},getBackButton:function(){return{code:"back",label:Object(_src_utils_common_util__WEBPACK_IMPORTED_MODULE_2__["a"])().t("superPage.backButton")}},sortArr:function(e,t,n){return e?(e=e.sort(this.compare(t,n)),e):[]},compare:function(e,t){return"desc"===t?function(t,n){var o=t[e],i=n[e];return i>o?1:i<o?-1:0}:function(t,n){var o=t[e],i=n[e];return i<o?1:i>o?-1:0}},canExecuteWithMore:function(e,t,n,o,i){var a=this;return new Promise((function(r,s){if(void 0===e||""===e||void 0===t||0===t.length)r({canExecute:!0});else{var l={entities:t,sql:n,tableName:o};e&&(l.setting=JSON.stringify(e)),i&&(l.additionalParamMap=i);var u=vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseAPI+"/component/super-pages/can-executes";a.$http.post(u,l).then((function(e){var t=e.canExecute;if(!1===t){var n=e.message;""===n&&(n=a.$t("superPageMessage.canExecuteDefaultMessage")),a.$message({showClose:!0,type:"warning",message:n}),r(e)}else r(e)})).catch((function(e){s(e)}))}}))},canExecute:function(e,t,n,o,i){var a=[];return a.push(t),this.canExecuteWithMore(e,a,n,o,i)},isButtonVisible:function(e,t,n){var o=this;return new Promise((function(i,a){var r=_store__WEBPACK_IMPORTED_MODULE_1__["a"].get("_pageIsDsc");if(e&&e.length>0){var s=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(o.pageCode,"_formData"),l={setting:JSON.stringify(e),entity:s,sql:r,tableName:t};n&&(l.additionalParamMap=n);var u=vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseAPI+"/component/super-pages/button-visibles";o.$http.post(u,l).then((function(e){i(e)})).catch((function(e){a(e)}))}else i(!0)}))},getWorkflowButtonVisible:function(e,t,n){var o=this;return new Promise((function(i,a){var r=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(o.pageCode,"_pageIsDsc");if(e){var s=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(o.pageCode,"_formData"),l={setting:JSON.stringify(e),entity:s,sql:r,tableName:t};n&&(l.additionalParamMap=n);var u=vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseAPI+"/component/super-pages/workflow-button-visibles";o.$http.post(u,l).then((function(e){i(e)})).catch((function(e){a(e)}))}else i(!0)}))},afterSuccessOperateInForm:function(e,t,n){if(console.log("afterSuccessOperateInForm---successOperation=-",e,t,n),Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["f"])(this.pageCode,"_formData",t),e&&""!==e&&null!==e||(e="refresh"),"refresh"===e)this.$refs.superForm&&this.$refs.superForm.refresh(t),this.updateFormData(t);else if("closeWindow"===e||"closeWindowAndRefresh"===e){if(console.log("afterSuccessOperateInForm--successOperation=--",e),void 0!==n&&!0===n&&t&&void 0!==t){var o,i=sessionStorage.getItem(this.pageCode+"-jumpMode");if(i){var a=JSON.parse(i);o=a.rowIndex}this.$emit("update-value",t,this.tableName,o)}this.closePage(this.pageCode,e)}},updateFormData:function(e){this.isShow=!1;var t=this;setTimeout((function(){t.formData=e,t.isShow=!0,t.$refs.superForm&&t.$refs.superForm.refresh(t.formData)}),10)},isArrayFn:function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},getSaveFormRequest:function(e,t,n,o,i,a,r,s,l,u,c,p,d,f,m,h,g,b,y,v,_){var w={entity:a,formViewCode:n,formViewVersion:o,tableName:i,formNoRuleCode:l,isWorkflowEntity:v,functionCode:_};return this.judgeHeavyList&&(w.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),u&&(this.isArrayFn(u)?w.dataConversionRule=u.join(","):"string"===typeof u&&(w.dataConversionRule=u)),c&&(w.autoSetValueData=JSON.stringify(c)),d&&(w.logSettingText=d),w.systemCode||(w.systemCode=e.code),r&&(w.entityName=r),y&&(w.beanName=y),h&&(w.taskMap=h),g&&(w.needDeleteFileUuidS=g),this.dataTypeMap&&(w.dataTypeMap=this.dataTypeMap),f&&(w.dynamicColumnInfo=f),m&&(w.mainDefaultValueColumns=m),b&&(w.additionalParamMap=b),this.getSaveFormRequestByParam(e,t,w,s,p,a)},getSaveFormRequestByParam:function getSaveFormRequestByParam(system,restfulApiPath,param,myJsContent,url,formData){var path=restfulApiPath,request;if(!1===system.standard&&!path){var baseUrl=this.getBaseUrl(system);path=baseUrl+url}if(path=this.getRealRestApiPath(path,system),myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else request=formData&&(formData.id||formData.ID)?this.$http.put(path,param):this.$http.post(path,param);return request},exportFormReport:function exportFormReport(templateUUID,fileName,myJsContent,entityName,system,logSettingText,taskMap,additionalParamMap,isWorkflowForm,beanName,button,tableName){var _this4=this;this.$refs.superForm&&this.$refs.superForm.getViewModels().then((function(viewModels){var param={entity:viewModels,fileName:templateUUID,showName:fileName,entityName:entityName,beanName:beanName,isWorkflowForm:isWorkflowForm,functionCode:button.functionCode,tableName:tableName};logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),taskMap&&(param.taskMap=taskMap),additionalParamMap&&(param.additionalParamMap=additionalParamMap);var beforeClickResult=_this4.callBeforeClickButton(_this4.formEvents,_this4.formViewCode+"__exportForm",{params:_this4.additionalParamMap,exportParam:param});if(beforeClickResult){var request;if(myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this4,param)}else{var baseUrl=_this4.getBaseUrl(system),path=baseUrl+"/dsc/commons/export-reports";axios__WEBPACK_IMPORTED_MODULE_4___default.a.defaults.headers.common.Authorization=Object(imatrix_ui_src_utils_auth__WEBPACK_IMPORTED_MODULE_10__["a"])(),request=axios__WEBPACK_IMPORTED_MODULE_4___default.a.post(path,param,{responseType:"blob"},{headers:{"content-type":"application/x-www-form-urlencoded"}})}request.then((function(e){var t=new Blob([e.data]),n="报告.xlsx";fileName&&(n=fileName);var o=document.createElement("a");o.download=n,o.style.display="none",o.target="_blank",o.href=URL.createObjectURL(t),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o),_this4.callAfterClickButton(_this4.formEvents,_this4.formViewCode+"__exportForm",{params:_this4.additionalParamMap,entity:_this4.formData})}))}}))},upperFirstCase:function(e){return e.toLowerCase().replace(/( |^)[a-z]/g,(function(e){return e.toUpperCase()}))},getBaseUrl:function(e){var t=vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseURL;return e&&(t=Object(imatrix_ui_src_utils_common_util__WEBPACK_IMPORTED_MODULE_9__["a"])(e.backendUrl)),t},getFormatDate:function(e,t){if("yyyy-MM-dd"===t){var n=e.getFullYear(),o=e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,i=e.getDate()<10?"0"+e.getDate():e.getDate();return n+"-"+o+"-"+i}},commonButtonClick:function(e){this.$emit("click",e)},workflowButtonClick:function(e,t,n,o){this.$emit("workflowClick",e,t,n,o)},isViewDetail:function(e){var t=!1,n=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(this.pageCode,"openPageButton");return n||(n=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(this.pageCode,"_sourceButtonCode")),!n||"viewDetail"!==n||e&&"list"===e||(t=!0),t},packageFormEvents:function(e){var t={},n=[],o=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(this.pageCode,"_pageEvents");if(o){n=o.formEvents,e&&n&&Object.keys(n).forEach((function(o){var i=o.substring(0,o.indexOf("__"));if(e===i){var a=o.substring(o.indexOf("__")+"__".length);t[a]=n[o]}}));var i=o.customEvents;i&&(t.customEvents=i)}return t},findOptionsByDynamicDataSource:function(e,t,n,o){var i=this;return new Promise((function(a,r){void 0!==t&&null!==t||(t="");var s={searchText:t};o&&(s.additionalParamMap=o),n&&null!==n&&(s.entity=n),i.$http.post(vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseURL+"/common/dynamic-data-source/"+e,s).then((function(e){var t=[];if(e&&e.options){var n,o=e.options;e.valueAttribute&&(n=e.valueAttribute),n&&"[label]"!==n||(n="_label_"),o.forEach((function(e){var o=e[n],i=e["_label_"];t.push({label:i,value:o})}))}t||(t=[]),a(t)})).catch((function(e){r(e)}))}))},getOptionGroupOptions:function(e){var t=this;return new Promise((function(n,o){t.$http.get(vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseAPI+"/api/options/with-option-groups?optionGroupCode="+e).then((function(e){var t=[];e&&e.forEach((function(e){var n=e.value,o=e.name;t.push({label:o,value:n})})),n(t)}))}))},analysisStandardValues:function(e){var t=this;return new Promise((function(n,o){t.$http.post(vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseAPI+"/component/super-pages/analysisValues",e).then((function(e){n(e)}))}))},jumpToPage:function(e,t,n,o,i,a,r,s){var l=this;Object(imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_7__["a"])(e,t,n,o,i,a,r).then((function(t){if(t){var n=t.jumpMode,o=t;"popup"===n?(o.isRefreshWhenClosePopup=e.isRefreshWhenClosePopup,l.jumpPageSetting=o,l.isShowPageDialog=!0):"refresh"===n&&l.$router.push({path:"/dsc/page",query:o})}}))},closePage:function(e,t){var n=sessionStorage.getItem(e+"-jumpMode");if(sessionStorage.removeItem(e+"-jumpMode"),n){var o=JSON.parse(n),i=o.jumpMode;if("popup"===i){var a=sessionStorage.getItem(e+"_source_page_code");sessionStorage.removeItem(e+"_source_page_code"),a?_eventBus__WEBPACK_IMPORTED_MODULE_3__["a"].$emit(a+"-close-component-page-dialog",o):_eventBus__WEBPACK_IMPORTED_MODULE_3__["a"].$emit(e+"-close-dialog",e,t)}else"openWindow"===i||"newTab"===i?window.parent?window.parent.close():window.close():this.$router.go(-1)}},eventBusOnCloseDialog:function(e,t,n,o,i){if(t.isShowPageDialog=!1,t.jumpPageSetting=null,n&&("create"===n||"update"===n)||o&&"closeWindowAndRefresh"===o){var a=t.$refs.grid;a&&a.refresh()}else if(void 0!==i.isRefreshWhenClosePopup&&!0===i.isRefreshWhenClosePopup){var r=t.$refs.grid;r&&r.refresh()}},getWatermarkLabel:function(e,t){var n="";if(e.label&&""!==e.label){var o,i=/\$\{(.+?)\]}/g,a=e.label.match(i),r=_createForOfIteratorHelper(a);try{for(r.s();!(o=r.n()).done;){var s=o.value,l=s;if(s.indexOf("${writeTitle[")>=0){var u=s.indexOf("${writeTitle[");l=l.substring(u+13),l=l.substring(0,l.indexOf("]")),n+=l}else s.indexOf("${standard[")>=0&&t&&(l=l.substring(l.indexOf("[")+1,l.indexOf("]")),l&&""!==l&&(-1!==l.indexOf("context.currentTime")?l=t.currentTime:-1!==l.indexOf("context.currentTransactorName")?l=t.currentTransactorName:-1!==l.indexOf("context.currentTransactorId")?l=t.currentTransactorId:-1!==l.indexOf("context.currentTransactor")?l=t.currentTransactor:-1!==l.indexOf("context.currentTransactorMainDepartmentId")?l=t.currentTransactorMainDepartmentId:-1!==l.indexOf("context.currentTransactorMainDepartment")?l=t.currentTransactorMainDepartment:-1!==l.indexOf("context.currentTransactorRoleId")?l=t.currentTransactorRoleId:-1!==l.indexOf("context.currentTransactorRole")?l=t.currentTransactorRole:-1!==l.indexOf("context.currentTransactorWorkGroupId")?l=t.currentTransactorWorkGroupId:-1!==l.indexOf("context.currentTransactorWorkGroup")&&(l=t.currentTransactorWorkGroup)),n+=l)}}catch(c){r.e(c)}finally{r.f()}}return n},setWatermark:function(e,t){var n=this;this.getSystemWatermark(e).then((function(e){null!=e&&e.watermarkSetting&&n.showPageWatermarkSetting(JSON.parse(e.watermarkSetting),t)}))},showPageWatermarkSetting:function(e,t){if(e){var n=this.getWatermarkLabel(e,t);Object(imatrix_ui_src_utils_watermark__WEBPACK_IMPORTED_MODULE_8__["a"])(n,e)}},closeFormPageDialog:function(e,t){if(e){var n=e.position;n&&"form"!==n?t.$refs.superForm&&t.$refs.superForm.closeSubTablePageDialog(e.listCode):t.$refs.superForm&&t.$refs.superForm.closePageDialog()}else t.$refs.superForm.closePageDialog()},refreshEmit:function(e){this.$emit("refresh",e)},refreshFrom:function(e){this.$emit("refreshFrom",e)},previewFormReport:function previewFormReport(templateUUID,fileName,myJsContent,entityName,system,logSettingText,taskMap,additionalParamMap,isWorkflowForm,beanName,functionCode,tableName){var _this10=this;this.$refs.superForm&&this.$refs.superForm.getViewModels().then((function(viewModels){var param={entity:viewModels,fileName:templateUUID,showName:fileName,entityName:entityName,beanName:beanName,isWorkflowForm:isWorkflowForm,functionCode:functionCode,tableName:tableName};logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),taskMap&&(param.taskMap=taskMap),additionalParamMap&&(param.additionalParamMap=additionalParamMap);var beforeClickResult=_this10.callBeforeClickButton(_this10.formEvents,_this10.formViewCode+"__exportForm",{params:_this10.additionalParamMap,exportParam:param});if(beforeClickResult){var request;if(myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this10,param)}else{var baseUrl=_this10.getBaseUrl(system),path=baseUrl+"/dsc/commons/create-preview-file";axios__WEBPACK_IMPORTED_MODULE_4___default.a.defaults.headers.common.Authorization=js_cookie__WEBPACK_IMPORTED_MODULE_5___default.a.get("JWT"),request=axios__WEBPACK_IMPORTED_MODULE_4___default.a.post(path,param,{},{headers:{"content-type":"application/x-www-form-urlencoded"}})}request.then((function(e){var t=vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseURL+"/component/export-report/preview";window.open(t+"?showName="+encodeURI(e.data)+"&serverPath="+encodeURI(e.data))}))}}))},reviewButton:function(e){if(this.$refs.superForm){var t=this.$refs.superForm.getFormData();Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["f"])(this.pageCode,"_formData",t)}else e&&Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["f"])(this.pageCode,"_formData",e);this.isShowBuuton=!1;var n=this;setTimeout((function(){n.isShowBuuton=!0}),100)},refreshTab:function(e,t){void 0!==e&&null!==e||(e=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(this.pageCode,"_activeTab")),_eventBus__WEBPACK_IMPORTED_MODULE_3__["a"].$emit(this.pageCode+"-refresh-tab",e,t)}};__webpack_exports__["a"]=Util},5270:function(e,t,n){"use strict";var o=n("c532"),i=n("c401"),a=n("2e67"),r=n("2444"),s=n("d925"),l=n("e683");function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){u(e),e.baseURL&&!s(e.url)&&(e.url=l(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||r.adapter;return t(e).then((function(t){return u(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(u(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"53e2":function(e,t,n){var o=n("07e3"),i=n("241e"),a=n("5559")("IE_PROTO"),r=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),o(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?r:null}},5559:function(e,t,n){var o=n("dbdb")("keys"),i=n("62a0");e.exports=function(e){return o[e]||(o[e]=i(e))}},5824:function(e,t,n){"use strict";var o=n("8bbf"),i=n.n(o),a=n("9243"),r=n.n(a),s=n("a925"),l=n("14a4"),u=n.n(l);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=p({imatrixUIPublicModel:{sure:"Sure",cancel:"Cancel",allDepartments:"All Departments",allUsers:"All Users",reset:"Reset",to:"To",edit:"Edit",clear:"Clear",download:"Download",delete:"Delete",preview:"Preview",add:"Add",graphView:"Graphic view",listView:"List View",fieldName:"Field Name",operator:"Operator",value:"Value",andOr:"And/Or",whenTheVariableIsEmpty:"When The Variable Is Empty",perhaps:"Perhaps",also:"Also",greaterThan:"Greater Than",lessThan:"Less Than",beEqualTo:"Be Equal To",notGreaterThan:"Not Greater Than",notLessThan:"Not Less Than",notEqualTo:"Not Equal To",contain:"Contain",notIncluded:"Not Included",laterThan:"Later Than",earlierThan:"Earlier Than",noLaterThan:"No Later Than",noEarlierThan:"No Earlier Than",ignore11:"Ignore (1 = 1)",nonConformity:"Non Conformity (1 < > 1)",switchToNormalQuery:"Switch To Normal Query",switchToAdvancedQuery:"Switch To Advanced Query",isNull:"Is Null",isNotNull:"Is Not Null",previewImage:"Preview image"},imatrixUIMessage:{whetherToConfirmDeletion:"Whether To Confirm Deletion",tips:"Tips",pleaseEnterContent:"Please Enter Content",internalServerError:"Server error, please contact administrator",pleaseSelectDepartment:"Please Select Department",pleaseSelectPersonnel:"Please Select Personnel",pleaseRemoveallpersonnelBeforeSelectingSpecificPersonnel:"Please Remove All Personnel Before Selecting Specific Personnel",queryResultIsEmpty:"Query Result Is Empty",pleaseSelectATeam:"Please Select A Team",pleaseEnterTeamName:"Please Enter Team Name",validationFailed:"Validation Failed",selectionDate:"Selection Date",selectTime:"Select Time",pleaseEnterATimePoint:"Please Enter A Time Point",pleaseSelect:"Please Select",startDate:"Start Date",endDate:"End Date",noExportColumnsConfigured:"No Export Columns Configured",organizationTreeNoResultNotRemove:"No information selected, no need to remove",exceedFileSize:"File size limit {filesize} M exceeded",upload:"Upload",invalideDoubleValue:"{num} is not a legal decimal",noJumpPage:"Jump page not configured",saveSuccessfully:"Savee successfully",pleaseInputSearchCondition:"Please enter the query criteria",fileUpload:"File Upload",selectYear:"Select Year",search:"Search",forbiddenException:"You do not have permission to access this resource",theButtonIsNotBoundToAResource:"The button is not bound to a resource, Bind the resource first"},superGrid:{columnConfig:"Column Config",pleaseSaveOrCancelEditingLine:"Please Save Or Cancel Editing Line {row} Data First",pleaseSaveLine:"Please Save Line {row} Data First",noNeedToSaveRow:"No Need To Save Row {row} Data",pleaseSetURLToSaveRowInformation:'Please set "URL to save row information"',lineSavedSuccessfully:"Line {row} Saved Successfully",theReturnValueOfTheBeforesaveCallbackMethodIsFalse:"The Return Value Of The Beforesave Callback Method Is False",lineNoNeedToUndoEdit:"Line {row} No Need To Undo Edit",lineCancelledSuccessfully:"Line {row} cancelled successfully",label:"Label",isShow:"Is Show",isExportable:"Is Exportable",recordLine:"Record line {row}",fileName:"File Name",deleteSuccessful:"Deleted successfully",index:"No.",searchConditionName:"Search Condition Name",pleaseInputSearchConditionName:"Please enter the name of the query criteria",saveCondition:"Save Condition",saveConditionTitle:"Save Condition",displayOrder:"Display Order",width:"Column Width",default:"Default",custom:"Custom",show:"Show",hidden:"Hidden",export:"Export",unExport:"Not Export",whetherToConfirmReset:"Are you sure you want to reset?",resetSuccessful:"Reset successfully",dragColumnOrderMessage:"Supports dragging to change column order",selectAll:"Select All",viewImage:"View Image",previewTitleWhenNotImg:"Non picture format, preview in other ways",refresh:"Refresh",open:"Open",fold:"Fold"},departmentTree:{},departmentTreeInline:{pleaseEnterDepartmentName:"Please Enter Department Name",name:"Department Name",code:"Department Code",removeDepartment:"Remove Department"},departmentUserTree:{pleaseEnterUserInformation:"Please Enter User Information",selectedPeople:"Selected People",searchFieldUserName:"Name",searchFieldLoginName:"Login Name",searchFieldEmail:"Email",searchFieldTelephone:"Telephone",searchFieldJobNumber:"Job Number",searchFieldHonorificName:"Honorific"},departmentUserTreeInline:{name:"Name",department:"Department",branch:"Branch",removeUser:"Remove User",email:"Email",loginName:"Login Name"},workgroupTree:{allTeamMembers:"All Team Members",name:"Workgroup Name",code:"Workgroup Code",removeWorkgroup:"Remove Workgroup"},workflowButton:{save:"Save",submit:"Submit",approve:"Approve",refuse:"Refuse",agreement:"Agree",oppose:"Opposition",kiken:"Abstention",get_back_button:"Retrieve",copy:"Copy",draw:"Draw",abandon_draw:"Give Up Draw",add_sign:"Additional Signature",remove_sign:"Reduction Of Signature",signoff:"Sign For",assign:"Hand over",assign_task:"Transfer",readed:"Readed",export_report:"Export Report"},workflowHistoryList:{specailText:"specail",index:"Index",taskName:"Task Name",operation:"Operation",opinion:"Opinion",processStart:"Process Start",processEnd:"Process End",process_start:"[{1}] process start",prcoess_end:"[{1}] process End",force_end_process:"{1}forced to end the process, and the task of [{2}] was canceled",history_jump:"Process {3} to [{1}], [{2}] task cancelled",history_back:"{1} returned to task,process returned to [{2}]",history_removesign:"{1} minus [{2}]",history_changetransactor_and_delegate:"{1} changed the handler [{2}] to [{3}], [{4}] delegated the task to [{5}]",history_changetransactor:"{1} changed handler [{2}] to [{3}]",history_addsign:"{1} sign [{2}]",history_addtransactor:"{1} add handler [{2}]",history_removetransactor:"{1} decrease handler [{2}]",history_delegate_and_assign:"{1} assigned tasks to [{2}], [{3}] delegated tasks to [{4}]",history_assign:"{1} assigned task to [{2}]",transfer:"{1} transferred to [{2}]",history_complete_transfer:"{1} execute [{2}] operation and canceled the task of other receivers [{3}]",history_delegate_receive:"{1} retracts the task entrusted to [{2}]",history_delegate:"{1} has delegated task [{2}] to [{3}]",history_quit_transfer:"{1} Resignation, has transferred task [{2}] to [{3}",history_change_job_transfer:"{1} Change job,has transferred task [{2}] to [{3}",commonButtonOperation:"{1} execute [{2}] operation",history_draw_task:"{1}received the task and cancelled the task of the candidate [{2}]",history_abandon_draw:"{1}gives up the task and restores the task of candidate [{2}]",toDoText:"Todo",operator:"Operator",operatorDept:"Operator Dept",operationTime:"Operation Time"},gateway:{timeout:"Interface call timeout",callFailed:"Interface call failed"},superNineGrid:{add:"Create"},fsUpload:{upload:"Upload",download:"Download",delete:"Delete",preview:"Preview",name:"Name",picture:"Picture",operating:"Operating",uploadSucceeded:"Upload succeeded",theNumberOfUploadsExceedsTheLimitTheLimitIs:"The number of uploads exceeds the limit. The limit is"},messageVideo:{attemptingToIdentify:"Attempting to identify",callingRearCamera:"Calling rear camera",identificationFailed:"Identification failed"}},u.a),m=f,h=n("11a6"),g=n.n(h);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=y({imatrixUIPublicModel:{sure:"确定",cancel:"取消",allDepartments:"所有部门",allUsers:"所有用户",reset:"重置",to:"至",edit:"操作",clear:"清空",download:"下载",delete:"删除",preview:"预览",add:"增加",graphView:"图形视图",listView:"列表视图",fieldName:"字段名(*)",operator:"操作符",value:"值(*)",andOr:"并且/或者",whenTheVariableIsEmpty:"变量为空时",perhaps:"或者",also:"并且",greaterThan:"大于",lessThan:"小于",beEqualTo:"等于",notGreaterThan:"不大于",notLessThan:"不小于",notEqualTo:"不等于",contain:"包含",notIncluded:"不包含",laterThan:"晚于",earlierThan:"早于",noLaterThan:"不晚于",noEarlierThan:"不早于",ignore11:"忽略(1=1)",nonConformity:"不符合(1<>1)",switchToNormalQuery:"切换为普通查询",switchToAdvancedQuery:"切换为高级查询",isNull:"等于Null",isNotNull:"不等于Null",previewImage:"预览图片"},imatrixUIMessage:{whetherToConfirmDeletion:"是否确认删除",tips:"提示",pleaseEnterContent:"请输入内容",internalServerError:"服务器出错了,请联系管理员",pleaseSelectDepartment:"请选择部门",pleaseSelectPersonnel:"请选择人员",pleaseRemoveallpersonnelBeforeSelectingSpecificPersonnel:"请先移除所有人员,再选择具体人员",queryResultIsEmpty:"查询结果为空",pleaseSelectATeam:"请选择工作组",pleaseEnterTeamName:"请输入工作组名称",validationFailed:"验证失败",selectionDate:"选择日期",selectTime:"选择时间",pleaseEnterATimePoint:"请输入时间点",pleaseSelect:"请选择",startDate:"开始日期",endDate:"结束日期",noExportColumnsConfigured:"没有配置导出列",organizationTreeNoResultNotRemove:"未选择任何信息,无需移除",exceedFileSize:"超过文件大小限制{fileSize}M",upload:"上传",invalideDoubleValue:"{num} 不是合法的小数",noJumpPage:"未配置跳转页面",saveSuccessfully:"保存成功",pleaseInputSearchCondition:"请输入查询条件",fileUpload:"文件上传",selectYear:"选择年",search:"查询",forbiddenException:"您没有权限访问该资源",theButtonIsNotBoundToAResource:"该按钮未绑定资源,请先绑定资源"},superGrid:{columnConfig:"字段配置",pleaseSaveOrCancelEditingLine:"请先保存或撤销编辑第 {row} 行数据",pleaseSaveLine:"请先保存第 {row} 行数据",noNeedToSaveRow:"无需保存第 {row} 行数据",pleaseSetURLToSaveRowInformation:"请设置“保存行信息的url”",lineSavedSuccessfully:"第 {row} 行保存成功",theReturnValueOfTheBeforesaveCallbackMethodIsFalse:"beforeSave回调方法返回值为false",lineNoNeedToUndoEdit:"第 {row} 行无需撤销编辑",lineCancelledSuccessfully:"第 {row} 行撤销成功",label:"字段名",isShow:"是否显示",isExportable:"是否导出",recordLine:"第 {row} 行记录",fileName:"文件名称",deleteSuccessful:"删除成功",index:"序号",searchConditionName:"查询条件名称",pleaseInputSearchConditionName:"请输入查询条件名称",saveCondition:"保存条件",saveConditionTitle:"保存查询条件",displayOrder:"显示顺序",width:"列宽",default:"默认",custom:"自定义",show:"显示",hidden:"隐藏",export:"导出",unExport:"不导出",whetherToConfirmReset:"是否确认重置?",resetSuccessful:"重置成功",dragColumnOrderMessage:"支持拖动改变列顺序",selectAll:"全选",viewImage:"查看图片",previewTitleWhenNotImg:"非图片格式,使用其它方式预览",refresh:"刷新",open:"展开",fold:"收起"},departmentTree:{},departmentTreeInline:{pleaseEnterDepartmentName:"请输入部门名称",name:"部门名称",code:"部门编码",removeDepartment:"移除部门"},departmentUserTree:{pleaseEnterUserInformation:"请输入用户信息",selectedPeople:"已选人员",searchFieldUserName:"姓名",searchFieldLoginName:"登录名",searchFieldEmail:"邮箱",searchFieldTelephone:"手机号",searchFieldJobNumber:"工号",searchFieldHonorificName:"尊称"},departmentUserTreeInline:{name:"姓名",department:"所属部门",branch:"所属分支",removeUser:"移除用户",email:"邮箱",loginName:"登录名"},workgroupTree:{allTeamMembers:"所有工作组人员",name:"工作组名称",code:"工作组编码",removeWorkgroup:"移除工作组"},workflowButton:{save:"暂存",submit:"提交",approve:"同意",refuse:"不同意",agreement:"赞成",oppose:"反对",kiken:"弃权",get_back_button:"取回",copy:"抄送",draw:"领取",abandon_draw:"放弃领取",add_sign:"加签",remove_sign:"减签",signoff:"签收",assign:"交办",assign_task:"转办",readed:"已阅",export_report:"导出报告"},workflowHistoryList:{specailText:"特",index:"序号",taskName:"环节名称",operation:"流转操作",opinion:"办理意见",processStart:"流程开始",processEnd:"流程结束",process_start:"[{1}]流程开始",prcoess_end:"[{1}]流程结束",force_end_process:"{1}强制结束了该流程,[{2}]的任务被取消",history_jump:"流程{3}到[{1}],[{2}]的任务被取消",history_back:"{1}退回任务,流程退回到[{2}]",history_removesign:"{1}给[{2}]减签",history_changetransactor_and_delegate:"{1}把办理人[{2}]更改成[{3})],{4}把任务委托给了[{5}]",history_changetransactor:"{1}把办理人[{2}]更改成[{3}]",history_addsign:"{1}给[{2}]加签",history_addtransactor:"{1}增加办理人[{2}]",history_removetransactor:"{1}减少办理人[{2}]",history_delegate_and_assign:"{1}把任务指派给了[{2}],[{3}]把任务委托给了[{4}]",history_assign:"{1}把任务指派给了[{2}]",transfer:"{1}移交给[{2}]",history_complete_transfer:"{1}执行了[{2}]操作,取消了其它接收人[{3}]的任务",history_delegate_receive:"{1}收回委托给[{2}]的任务",history_delegate:"{1}已把任务[{2}]委托给[{3}]",history_quit_transfer:"{1}离职,已把任务[{2}]移交给了[{3}]",history_change_job_transfer:"{1}换岗,已把任务[{2}]移交给了[{3}]",commonButtonOperation:"{1}执行了[{2}]操作",history_draw_task:"{1}领取了任务,取消了候选人[{2}]的任务",history_abandon_draw:"{1}放弃领取该任务,还原了候选人[{2}]的任务",toDoText:"待处理",operator:"操作人",operatorDept:"操作人部门",operationTime:"操作时间"},gateway:{timeout:"接口调用超时",callFailed:"接口调用失败"},superNineGrid:{add:"新建"},fsUpload:{upload:"上传",download:"下载",delete:"删除",preview:"预览",name:"名称",picture:"图片",operating:"操作",uploadSucceeded:"上传成功",theNumberOfUploadsExceedsTheLimitTheLimitIs:"上传数量超过限制,限制数量为"},messageVideo:{attemptingToIdentify:"正在尝试识别....",callingRearCamera:"正在调用后置摄像头...",identificationFailed:"识别失败"}},g.a),w=_;i.a.use(s["a"]);var C={en:m,cn:w},P=new s["a"]({locale:"cn",messages:C});r.a.i18n((function(e,t){return P.t(e,t)}));t["a"]=P},"584a":function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"5b4e":function(e,t,n){var o=n("36c3"),i=n("b447"),a=n("0fc9");e.exports=function(e){return function(t,n,r){var s,l=o(t),u=i(l.length),c=a(r,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},"5f7f":function(e,t,n){"use strict";n("3eb6")},"62a0":function(e,t){var n=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},"633f":function(e,t,n){e.exports={default:n("fa99"),__esModule:!0}},"63b6":function(e,t,n){var o=n("e53d"),i=n("584a"),a=n("d864"),r=n("35e8"),s=n("07e3"),l="prototype",u=function(e,t,n){var c,p,d,f=e&u.F,m=e&u.G,h=e&u.S,g=e&u.P,b=e&u.B,y=e&u.W,v=m?i:i[t]||(i[t]={}),_=v[l],w=m?o:h?o[t]:(o[t]||{})[l];for(c in m&&(n=t),n)p=!f&&w&&void 0!==w[c],p&&s(v,c)||(d=p?w[c]:n[c],v[c]=m&&"function"!=typeof w[c]?n[c]:b&&p?a(d,o):y&&w[c]==d?function(e){var t=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,o)}return e.apply(this,arguments)};return t[l]=e[l],t}(d):g&&"function"==typeof d?a(Function.call,d):d,g&&((v.virtual||(v.virtual={}))[c]=d,e&u.R&&_&&!_[c]&&r(_,c,d)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"65f1":function(module,__webpack_exports__,__webpack_require__){"use strict";var _common_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8217"),imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("f6cd"),buttonEvents={clickButton:function clickButton(button,system,listCode,ids,tableName,entityName,myJsContent,entities,deleteLogicSetting,formNoRuleCode,importRuleCode,beanName,isWorkflow,uuid){var _this=this;if("undefined"!==typeof button.isExtension&&!0===button.isExtension){var param={listCode:listCode,ids:ids,tableName:tableName,entityName:entityName,beanName:beanName,entities:entities,listToolbarFormData:this.listToolbarFormData},judgeFlag=this.judgeDataNumber(button,ids,!1),entity,dataId;if(!judgeFlag)return;if(this.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),button.autoSetValueData&&(param.autoSetValueData=JSON.stringify(button.autoSetValueData)),button.logSetting&&(param.logSettingText=button.logSetting),button.taskMap&&(param.taskMap=button.taskMap),param.systemCode||(param.systemCode=system.code),formNoRuleCode&&(param.formNoRuleCode=formNoRuleCode),importRuleCode&&(param.importRuleCode=importRuleCode),this.additionalParamMap&&(param.additionalParamMap=this.additionalParamMap),button.jumpPage)return ids&&ids.length>0&&(dataId=ids[0]),entities&&entities.length>0&&(entity=entities[0]),void this.jumpToPage(button.jumpPage,system,dataId,entity,this.additionalParamMap,ids,button.code,this.pageCode);if(myJsContent&&null!==myJsContent&&""!==myJsContent){var buttonFun=eval("("+myJsContent+")"),request=buttonFun(this,param);request&&request.then((function(e){_this.refreshMyList(button.successOperation,button.isNeedValueMapping,entities),_this.$message({showClose:!0,type:"success",message:_this.$t("superPageMessage.successfulOperation")}),_this.callAfterClickButton(_this.listEvents,_this.listCode+"__"+button.code,{params:_this.additionalParamMap,entity:entities})}))}else if(button&&void 0!==button.isNeedValueMapping&&!0===button.isNeedValueMapping){var successOperation;button.successOperation&&(successOperation=button.successOperation),successOperation||(successOperation="closeWindow"),this.refreshMyList(successOperation,!0,entities)}}else if("refresh"===button.code)this.refreshMyList(button.successOperation,button.isNeedValueMapping,entities);else if("create"===button.code)this.create(button.jumpPage,system,button,entities);else if("update"===button.code){var _judgeFlag=this.judgeDataNumber(button,ids,!0),_dataId,_entity;if(!_judgeFlag)return;ids&&1===ids.length&&(_dataId=ids[0]),entities&&entities.length>0&&(_entity=entities[0]),this.update(button.jumpPage,system,_dataId,button,ids,_entity)}else if("delete"===button.code){if(!ids||0===ids.length)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.pleaseSelectRecord")});this.delete(ids,system,button.restfulApiPath,tableName,entityName,myJsContent,button,deleteLogicSetting,entities,beanName,isWorkflow)}else if("downloadTemplate"===button.code){var templateUUID,templateShowPath;button.templateFiles&&button.templateFiles.length>0?(templateUUID=button.templateFiles[0].templateUUID,templateShowPath=button.templateFiles[0].templateShowPath):(templateUUID=button.templateUUID,templateShowPath=button.templateShowPath),this.downloadTemplate(templateUUID,templateShowPath,tableName,importRuleCode,system,button.logSetting,listCode,entityName,beanName,button)}else if("export"===button.code)this.export(listCode,button.functionCode,uuid);else if("viewDetail"===button.code){var _dataId2;if(ids&&1===ids.length&&(_dataId2=ids[0]),!_dataId2)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.pleaseSelectRecord")});this.viewDetail(button.jumpPage,system,_dataId2,button,null)}else if("submit"===button.code||"agree"===button.code||"disagree"===button.code){if(!ids||0===ids.length)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.pleaseSelectRecord")});this.submitGrid(ids,system,button.restfulApiPath,tableName,entityName,myJsContent,button,formNoRuleCode,button.code,entities&&entities.length>0?entities[0]:null,this.additionalParamMap,entities,beanName,isWorkflow)}},judgeDataNumber:function(e,t,n){if(e.conditionsForExecution&&""!==e.conditionsForExecution){if("one"===e.conditionsForExecution){if(!t||1!==t.length)return this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.thePreconditionOfTheButtonTo",{message:this.$t("superPageMessage.onlyOneRecordCanBeselected")})}),!1}else if("more"===e.conditionsForExecution&&(!t||t.length<=0))return this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.thePreconditionOfTheButtonTo",{message:this.$t("superPageMessage.selectAtLeastOneRecord")})}),!1}else if(void 0!==n&&!0===n&&(!t||1!==t.length))return this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.pleaseSelectRecord")}),!1;return!0},refreshMyList:function(e,t,n){if(e||(e="refresh"),console.log("refreshMyList--"),"refresh"===e)this.$refs.grid.refresh();else if("closeWindow"===e||"closeWindowAndRefresh"===e){if(void 0!==t&&!0===t&&n&&void 0!==n){var o,i=sessionStorage.getItem(this.pageCode+"-jumpMode");if(console.log("---update-value-closePage---jumpInfo=",i),i){var a=JSON.parse(i);o=a.rowIndex}this.$emit("update-value",n,this.tableName,o)}this.closePage(this.pageCode,e)}},create:function(e,t,n,o){console.log("create-------this.pageCode=",this.pageCode),this.jumpToPage(e,t,null,o&&o.length>0?o[0]:null,this.additionalParamMap,null,n.code,this.pageCode)},update:function(e,t,n,o,i,a){this.jumpToPage(e,t,n,a,this.additionalParamMap,i,o.code,this.pageCode)},viewDetail:function(e,t,n,o,i){this.jumpToPage(e,t,n,i,this.additionalParamMap,null,o.code,this.pageCode),Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"openPageButton","viewDetail")},delete:function _delete(ids,system,restfulApiPath,tableName,entityName,myJsContent,button,deleteLogicSetting,entities,beanName,isWorkflowEntity){var _this2=this;this.$confirm(this.$t("superPageMessage.whetherToConfirmDeletion"),this.$t("superPageMessage.tips"),{confirmButtonText:this.$t("superPageMessage.sure"),cancelButtonText:this.$t("superPageMessage.cancel"),type:"warning"}).then((function(){var path=restfulApiPath;if(!1===system.standard&&!path){var baseUrl=_this2.getBaseUrl(system);path=baseUrl+"/dsc/commons/"+tableName}path=_this2.getRealRestApiPath(path,system);var param={ids:ids,functionCode:button.functionCode},request;if(entityName&&(param.entityName=entityName),beanName&&(param.beanName=beanName),deleteLogicSetting&&(param.deleteLogicSetting=JSON.stringify(deleteLogicSetting)),button.logSetting&&(param.logSettingText=button.logSetting),button.isSafeDelete&&(param.isSafeDelete=button.isSafeDelete),button.taskMap&&(param.taskMap=button.taskMap),param.systemCode||(param.systemCode=system.code),param.isWorkflowEntity=isWorkflowEntity,myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this2,param)}else request=_this2.$http.delete(path,{data:param});request&&(button.loading=!0,request.then((function(e){_this2.refreshMyList(button.successOperation),_this2.$message({showClose:!0,type:"success",message:_this2.$t("superPageMessage.successfulDelete")}),_this2.callAfterClickButton(_this2.listEvents,_this2.listCode+"__"+button.code,{params:_this2.additionalParamMap,entity:_this2.selections}),_this2.selections=[],button.loading=!1})).catch((function(e){button.loading=!1})))})).catch((function(){}))},downloadTemplate:function(e,t,n,o,i,a,r,s,l,u){!t&&u.templateI18nLable&&(t=u.templateI18nLable);var c="?1=1";e&&t&&"undefined"!==e&&"undefined"!==t&&"null"!==e&&"null"!==t?c+="&fileName="+encodeURI(e)+"&showName="+encodeURI(t):t&&(c+="&showName="+encodeURI(t)),a&&""!==a&&(c+="&logSettingText="+a),i&&i.code&&(c+="&systemCode="+i.code),o&&(c+="&importCode="+o),r&&(c+="&listCode="+r),s&&(c+="&entityName="+s),l&&(c+="&beanName="+l),u&&u.functionCode&&(c+="&functionCode="+u.functionCode),n&&(c+="&tableName="+n);var p=this.getBaseUrl(i);window.open(p+"/dsc/commons/download-files"+c)},doImportFinally:function doImportFinally(system,restfulApiPath,tableName,entityName,myJsContent,button,listViewImportDuplicate,fileObj,judgeHeavyList,formNoRuleCode,importRuleCode,listCode,beanName){var _this3=this,param=new FormData;param.append("multipartFile",fileObj),tableName&&param.append("tableName",tableName),entityName&&param.append("entityName",entityName),beanName&&param.append("beanName",beanName),listViewImportDuplicate&&param.append("importDuplicateRule",listViewImportDuplicate),judgeHeavyList&&param.append("judgeHeavyList",JSON.stringify(judgeHeavyList)),formNoRuleCode&&param.append("formNoRuleCode",formNoRuleCode),importRuleCode&&param.append("importRuleCode",importRuleCode),listCode&&param.append("listCode",listCode);var isWorkflowEntity=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["d"])(this.pageCode,tableName+"_isProcess");null!==isWorkflowEntity&&void 0!==isWorkflowEntity&&param.append("isWorkflowEntity",isWorkflowEntity),button.functionCode&&param.append("functionCode",button.functionCode),this.additionalParamMap&&param.append("additionalParamMap",this.additionalParamMap);var path=restfulApiPath,request;if(!1===system.standard&&!path){var baseUrl=this.getBaseUrl(system);path=baseUrl+"/dsc/commons/import-data"}if(path=this.getRealRestApiPath(path,system),myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else request=this.$http.post(path,param);request&&(button.importing=!0,request.then((function(e){var t=!1;e?(t=!1,_this3.$message({dangerouslyUseHTMLString:!0,showClose:!0,type:"warning",message:e})):(_this3.$message({showClose:!0,type:"success",message:_this3.$t("superPageMessage.successfulImport")}),t=!0),_this3.refreshMyList(button.successOperation),_this3.callAfterClickButton(_this3.listEvents,_this3.listCode+"__"+button.code,{params:_this3.additionalParamMap,result:t}),button.importing=!1})).catch((function(e){button.importing=!1,console.log("error==",e)})))},export:function(e,t,n){var o,i={};this.selections&&this.selections.length>0&&(i.data=this.selections);var a=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["d"])(this.pageCode,"_pageName");a&&(o=a),this.$exportDataNew(i,o,e,t,n),this.callAfterClickButton(this.listEvents,this.listCode+"__export",{params:this.additionalParamMap})},submitGrid:function(e,t,n,o,i,a,r,s,l,u,c,p,d,f){var m=this,h="superPageMessage.whetherToConfirm"+this.upperFirstCase(l);this.$confirm(this.$t(h,{name:r.label}),this.$t("superPageMessage.tips"),{confirmButtonText:this.$t("superPageMessage.sure"),cancelButtonText:this.$t("superPageMessage.cancel"),type:"warning"}).then((function(){var l,u={ids:e,formNoRuleCode:s,tableName:o,functionCode:r.functionCode};m.judgeHeavyList&&(u.judgeHeavyList=JSON.stringify(m.judgeHeavyList)),r.dataConversionRule&&(u.dataConversionRule=r.dataConversionRule.join(",")),r.autoSetValueData&&(u.autoSetValueData=JSON.stringify(r.autoSetValueData)),r.logSetting&&(u.logSettingText=r.logSetting),u.systemCode||(u.systemCode=t.code),r.taskMap&&(u.taskMap=r.taskMap),i&&(u.entityName=i),d&&(u.beanName=d),c&&(u.additionalParamMap=c),u.isWorkflowEntity=f,"submit"===r.code?l="/dsc/commons/batch-submits":"agree"===r.code?l="/dsc/commons/batch-approves":"disagree"===r.code&&(l="/dsc/commons/batch-refuses");var p=m.getSaveFormRequestByParam(t,n,u,a,l);p&&(r.loading=!0,p.then((function(e){m.refreshMyList(r.successOperation),m.$message({showClose:!0,type:"success",message:m.$t("superPageMessage.successfulOperation")}),m.callAfterClickButton(m.listEvents,m.listCode+"__"+r.code,{params:m.additionalParamMap}),r.loading=!1})).catch((function(e){r.loading=!1})))})).catch((function(e){console.log(e)}))},getDataTypeMapRequest:function(e,t){var n=this.getBaseUrl(e);return this.$http.get(n+"/dsc/commons/tables/"+t+"/data-types")},updateValues:function(e,t){console.log("update-value66-",e,t),Object(imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_1__["b"])(e,t,this.jumpPageSetting,this.editRow,this.tableName);var n=this.jumpPageSetting&&this.jumpPageSetting.updateValueEvent?this.jumpPageSetting.updateValueEvent:null;this.customEvents&&n&&null!==n&&this.customEvents[n]&&this.customEvents[n].call(this,{sourceModel:e,sourceTableName:t,jumpPageSetting:this.jumpPageSetting,entity:this.editRow,targetTableName:this.tableName})}};__webpack_exports__["a"]=buttonEvents},6718:function(e,t,n){var o=n("e53d"),i=n("584a"),a=n("b8e3"),r=n("ccb9"),s=n("d9f6").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=a?{}:o.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:r.f(e)})}},"68fb":function(e,t,n){},"69d3":function(e,t,n){n("6718")("asyncIterator")},"6abf":function(e,t,n){var o=n("e6f3"),i=n("1691").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,i)}},"6b4c":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"6c1c":function(e,t,n){n("c367");for(var o=n("e53d"),i=n("35e8"),a=n("481b"),r=n("5168")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=o[u],p=c&&c.prototype;p&&!p[r]&&i(p,r,u),a[u]=a.Array}},"71c1":function(e,t,n){var o=n("3a38"),i=n("25eb");e.exports=function(e){return function(t,n){var a,r,s=String(i(t)),l=o(n),u=s.length;return l<0||l>=u?e?"":void 0:(a=s.charCodeAt(l),a<55296||a>56319||l+1===u||(r=s.charCodeAt(l+1))<56320||r>57343?e?s.charAt(l):a:e?s.slice(l,l+2):r-56320+(a-55296<<10)+65536)}}},"746a":function(e,t,n){"use strict";var o=Object.prototype.hasOwnProperty,i=n("9c59"),a={},r="§";function s(){if(l.supported){var e,t=window.name,n=0;for(e in a=t.charAt(0)===r?i.parse(t.slice(1)):{},a)o.call(a,e)&&n++;l.length=n}}var l=e.exports={length:0,getItem:function(e){return o.call(a,e)?a[e]:null},setItem:function(e,t){a[e]=t,window.name=i.stringify(a,r),l.length++},removeItem:function(e){delete a[e],window.name=i.stringify(a,r),l.length--},clear:function(){a={},window.name="",l.length=0},supported:function(){return"object"===typeof window&&"string"===typeof window.name}()};s()},"765d":function(e,t,n){n("6718")("observable")},"794b":function(e,t,n){e.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"7a77":function(e,t,n){"use strict";function o(e){this.message=e}o.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},o.prototype.__CANCEL__=!0,e.exports=o},"7aac":function(e,t,n){"use strict";var o=n("c532");e.exports=o.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,a,r){var s=[];s.push(e+"="+encodeURIComponent(t)),o.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),o.isString(i)&&s.push("path="+i),o.isString(a)&&s.push("domain="+a),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7e90":function(e,t,n){var o=n("d9f6"),i=n("e4ae"),a=n("c3a1");e.exports=n("8e60")?Object.defineProperties:function(e,t){i(e);var n,r=a(t),s=r.length,l=0;while(s>l)o.f(e,n=r[l++],t[n]);return e}},8034:function(e,t,n){e.exports={default:n("a21f"),__esModule:!0}},8217:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"f",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"e",(function(){return u}));var o=n("18ce");function i(e,t){var n=o["a"].get(e);if(n)return n[t]}function a(e,t,n){var i=o["a"].get(e);i||(i={},o["a"].set(e,i)),i[t]=n}function r(e,t){var n=o["a"].get(e);n&&n[t]&&delete n[t]}function s(e,t,n,o){return{_pageDevMode:e,_sourceButtonCode:n,_pathQuery:o}}function l(e){return e.options&&e.options.colWidth?e.options.colWidth:24}function u(e){for(var t=0;t<e.length;t++)for(var n=e[t],o=0;o<n.colList.length;o++){var i=n.colList[o];if(l(i)<24)return!0}return!1}},8345:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return executeExpression}));var _calculator_factory__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("be23"),_calculator_factory_wf__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("1d68"),_util__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("29b3");function executeExpression(e,t,n,o){var i=Object(_calculator_factory__WEBPACK_IMPORTED_MODULE_0__["a"])(o),a=new i(e,t,n);return a.result}function parseSubTablePermissionCondition(express,dataTypeMap,parentEntity,subEntity,additionalParamMap,task,contextParameterMap){var expressTrueVal="true";if(!express)return!0;if(expressTrueVal.toLowerCase()===express.trim())return!0;var SQUARE_BRACKETS_LEFT="[",SQUARE_BRACKETS_RIGHT="]",AND="&&",OR="||",temp=express,strs=splitExpression(express);console.log("分割后的原子表达式为:",strs);for(var result=!1,i=0;i<strs.length;i++){console.log("开始分析原子表达式:",strs[i]);var atomicExpress=strs[i];if(atomicExpress&&atomicExpress.trim()){var name=atomicExpress.substring(atomicExpress.indexOf(SQUARE_BRACKETS_LEFT)+SQUARE_BRACKETS_LEFT.length,atomicExpress.indexOf(SQUARE_BRACKETS_RIGHT)),dataType="TEXT";null!=dataTypeMap&&null!=dataTypeMap[name]&&(dataType=dataTypeMap[name]),result=parseFieldCondition(atomicExpress,dataType,parentEntity,subEntity,additionalParamMap,task,contextParameterMap),console.log("原子表达式:",atomicExpress,"的分析结果为 ",result),temp=temp.replace(atomicExpress.trim(),result+""),console.log("将原子表达式替换为它的结果后:",temp)}}return temp=temp.replace(/condition.operator.and/g,AND),temp=temp.replace(/condition.operator.or/g,OR),temp.trim().endsWith(OR)&&(temp=temp.substring(0,temp.lastIndexOf(OR))),temp.trim().endsWith(AND)&&(temp=temp.substring(0,temp.lastIndexOf(AND))),console.log("最终该流向的表达式为:",temp),eval("("+temp+")")}function parseFieldCondition(e,t,n,o,i,a,r){if(!e)return!1;var s="[",l="]";e=e.trim();var u=e.substring(e.indexOf(s)+s.length,e.indexOf(l)),c=e.substring(0,e.indexOf(" ")),p=e.substring(e.indexOf(" ")+1),d=p.substring(p.indexOf(" ")+1).trim(),f=Object(_util__WEBPACK_IMPORTED_MODULE_2__["d"])(d,n,i,r,null,o,a);null!=f&&(e=e.replace(d,f.toString()));var m=getValue(o,u);if((void 0===m||null===m||""===m)&&("DATE"===t||"TIME"===t))return!1;console.log("对应值为:",m);var h=Object(_calculator_factory_wf__WEBPACK_IMPORTED_MODULE_1__["a"])(t),g=e.replace(c,m),b=new h(g),y=b.result;return console.log("判断结果为:",y),y}function splitExpression(e){var t="\\*",n="";return e=e.replace(/condition.operator.and/g,t),e=e.replace(/condition.operator.or/g,t),e=e.replace(/\(/g,n),e=e.replace(/\)/g,n),e.split(t)}function getValue(e,t){var n=Object(_util__WEBPACK_IMPORTED_MODULE_2__["c"])(e,t);return void 0===n||null==n?"":n+""}},8436:function(e,t){e.exports=function(){}},"854e":function(e,t,n){},"859e":function(module,__webpack_exports__,__webpack_require__){"use strict";var _common_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8217"),imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("f6cd"),buttonEvents={clickWorkflowExtensionButton:function clickWorkflowExtensionButton(system,tableName,model,definitionId,emailTemplateCode,formViewCode,formViewVersion,myJsContent,formNoRuleCode,successOperation,dataConversionRule,autoSetValueData,button,needDeleteFileUuid,entityName,beanName){var _this=this,param={entity:model,system:system,formViewCode:formViewCode,formViewVersion:formViewVersion,tableName:tableName,emailTemplateCode:emailTemplateCode,definitionId:definitionId,completeTaskParam:{taskId:this.completeTaskParam.taskId},formNoRuleCode:formNoRuleCode,entityName:entityName,beanName:beanName},dataId;if(this.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),dataConversionRule&&(param.dataConversionRule=dataConversionRule.join(",")),autoSetValueData&&(param.autoSetValueData=JSON.stringify(autoSetValueData)),button&&button.taskMap&&(param.taskMap=button.taskMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),button.jumpPage)return model&&(dataId=model.id||model.ID),void this.jumpToPage(button.jumpPage,system,dataId,model,this.additionalParamMap,null,button.code,this.pageCode);if(myJsContent&&null!==myJsContent&&""!==myJsContent){var buttonFun=eval("("+myJsContent+")"),request=buttonFun(this,param);request&&request.then((function(e){var t=!0;e&&(t=_this.dealCompleteTaskParam(e,!1,successOperation,button.code,null,null,button.isNeedValueMapping)),!0===t&&_this.$message({showClose:!0,type:"success",message:_this.$t("superPageMessage.successfulOperation")})}))}else if(button&&void 0!==button.isNeedValueMapping&&!0===button.isNeedValueMapping){var _successOperation;button.successOperation&&(_successOperation=button.successOperation),_successOperation||(_successOperation="closeWindow"),this.afterSuccessOperateInForm(_successOperation,model,!0)}},clickWorflowButton:function(e,t,n,o,i,a,r,s,l,u,c,p,d,f,m,h,g,b,y,v,_,w,C,P){if("startInstance"===e||"update"===e)this.startInstance(t,n,o,i,a,s,l,u,c,p,d,f,h,g,e,v,_,w,C);else if("submitProcess"===e)this.submitProcess(t,n,o,i,a,s,l,u,c,p,d,f,m,h,g,e,v,_,w,C);else if("completeTask"===e)this.complateTask(t,n,o,r,s,l,u,c,d,f,m,h,g,e,v,_,w,C);else if("drawTask"===e)this.drawTask(t,n,o,s,l,u,c,d,g,e,v,_,C);else if("abandonDraw"===e)this.abandonReceive(t,n,o,s,l,u,c,d,g,e,v,_,C);else if("retrieveTask"===e)this.retrieve(t,n,o,s,l,u,c,d,g,e,v,_,C);else if("assignTask"===e)this.assignTask();else if(0===e.indexOf("#_default_#")){if("#_default_#submit"===e||"#_default_#agree"===e||"#_default_#disagree"===e){var S;"#_default_#submit"===e?S="/dsc/workflow-commons/common-submits":"#_default_#agree"===e?S="/dsc/workflow-commons/common-approves":"#_default_#disagree"===e&&(S="/dsc/workflow-commons/common-refuses");var O=e.substring(e.lastIndexOf("#")+1);this.submitForm(t,n,o,s,l,u,c,p,d,f,h,S,g,O,b,y,v,_,w,C,P?P.functionCode:"")}}else"addSigner"===e?this.addSigner():"createCopyTask"===e?this.createCopyTask():"removeSigner"===e&&this.removeSigner(t,u,o,g,C)},startInstance:function startInstance(system,tableName,model,definitionId,emailTemplateCode,formViewCode,formViewVersion,myEntityName,myJsContent,formNoRuleCode,successOperation,dataConversionRule,autoSetValueData,logSettingText,buttonType,isNeedValueMapping,taskMap,needDeleteFileUuid,beanName){var _this2=this,path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons"),path=this.getRealRestApiPath(path,system),path){var param={entity:model,formNoRuleCode:formNoRuleCode},request;if(!1===system.standard&&(param={entity:model,tableName:tableName,emailTemplateCode:emailTemplateCode,definitionId:definitionId,formViewCode:formViewCode,formViewVersion:formViewVersion,formNoRuleCode:formNoRuleCode,functionCode:this.permissionPrefix+".xxx"}),this.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),dataConversionRule&&(param.dataConversionRule=dataConversionRule.join(",")),autoSetValueData&&(param.autoSetValueData=JSON.stringify(autoSetValueData)),myEntityName&&(param.entityName=myEntityName),beanName&&(param.beanName=beanName),logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),this.dataTypeMap&&(param.dataTypeMap=this.dataTypeMap),taskMap&&(param.taskMap=taskMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),this.additionalParamMap&&(param.additionalParamMap=this.additionalParamMap),param.isWorkflowEntity=!0,myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else request=model.id||model.ID?this.$http.put(path,param):this.$http.post(path,param);request&&request.then((function(e){var t=!0;e&&(t=_this2.dealCompleteTaskParam(e,!1,successOperation,buttonType,null,null,isNeedValueMapping)),!0===t&&_this2.$message({showClose:!0,type:"success",message:_this2.$t("superPageMessage.successfulSave")})}))}else this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},submitProcess:function submitProcess(system,tableName,model,definitionId,emailTemplateCode,formViewCode,formViewVersion,myEntityName,myJsContent,formNoRuleCode,successOperation,dataConversionRule,processEndlogicSetting,autoSetValueData,logSettingText,buttonType,isNeedValueMapping,taskMap,needDeleteFileUuid,beanName){var _this3=this,path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons/submit"),path=this.getRealRestApiPath(path,system),path){var param={entity:model,formNoRuleCode:formNoRuleCode},request;if(!1===system.standard&&(param={entity:model,tableName:tableName,emailTemplateCode:emailTemplateCode,definitionId:definitionId,formViewCode:formViewCode,formViewVersion:formViewVersion,formNoRuleCode:formNoRuleCode,functionCode:this.permissionPrefix+".xxx"}),this.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),dataConversionRule&&(param.dataConversionRule=dataConversionRule.join(",")),autoSetValueData&&(param.autoSetValueData=JSON.stringify(autoSetValueData)),myEntityName&&(param.entityName=myEntityName),beanName&&(param.beanName=beanName),processEndlogicSetting&&(param.processEndLogicSetting=JSON.stringify(processEndlogicSetting)),logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),this.dataTypeMap&&(param.dataTypeMap=this.dataTypeMap),taskMap&&(param.taskMap=taskMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),this.additionalParamMap&&(param.additionalParamMap=this.additionalParamMap),myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else request=this.$http.post(path,param);request&&request.then((function(e){var t=!0;e&&(t=_this3.dealCompleteTaskParam(e,!1,successOperation,buttonType,null,null,isNeedValueMapping)),!0===t&&_this3.$message({showClose:!0,type:"success",message:_this3.$t("superPageMessage.successfulSubmit")})}))}else this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},complateTask:function complateTask(system,tableName,model,operationResult,formViewCode,formViewVersion,myEntityName,myJsContent,successOperation,dataConversionRule,processEndlogicSetting,autoSetValueData,logSettingText,buttonType,isNeedValueMapping,taskMap,needDeleteFileUuid,beanName){var _this4=this,path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons/complete-tasks"),path=this.getRealRestApiPath(path,system),path){var param={entity:model,completeTaskParam:{operationResult:operationResult,taskId:this.completeTaskParam.taskId}},request;if(!1===system.standard&&(param={entity:model,tableName:tableName,completeTaskParam:{operationResult:operationResult,taskId:this.completeTaskParam.taskId},formViewCode:formViewCode,formViewVersion:formViewVersion,functionCode:this.permissionPrefix+".xxx"}),this.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),dataConversionRule&&(param.dataConversionRule=dataConversionRule.join(",")),autoSetValueData&&(param.autoSetValueData=JSON.stringify(autoSetValueData)),myEntityName&&(param.entityName=myEntityName),beanName&&(param.beanName=beanName),processEndlogicSetting&&(param.processEndLogicSetting=JSON.stringify(processEndlogicSetting)),logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),this.dataTypeMap&&(param.dataTypeMap=this.dataTypeMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),this.additionalParamMap&&(param.additionalParamMap=this.additionalParamMap),console.log("办理任务",taskMap),taskMap&&(param.taskMap=taskMap),console.log("办理任务param",param),myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else request=this.$http.post(path,param);request&&request.then((function(e){var t=!0;e&&(t=_this4.dealCompleteTaskParam(e,!1,successOperation,buttonType,_this4.completeTaskParam.taskId,operationResult,isNeedValueMapping)),!0===t&&_this4.$message({showClose:!0,type:"success",message:_this4.$t("superPageMessage.successfulCompleteTask")})}))}else this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},dealCompleteTaskParam:function(e,t,n,o,i,a,r){e.entity&&(this.formData=e.entity,this.formNo=e.formNo,Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"_formData",this.formData));var s=e.completeTaskResult;if(s){var l=s.completeTaskTipType;if(l&&"MESSAGE"===l){var u=s.content;return this.$message({showClose:!0,type:"warning",message:u}),!1}}return e.completeTaskParam&&(this.completeTaskParam=e.completeTaskParam,Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"_completeTaskParam",this.completeTaskParam),this.$set(this.formOptions,"fieldPermissions",this.completeTaskParam.fieldPermissions),this.$set(this.formOptions,"actionPermissions",this.completeTaskParam.actionPermissions),this.workflowButtonComponent=this.completeTaskParam.buttonComponent),Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"_currentActivityName",e.taskName),t||(o&&this.callAfterClickButton(this.formEvents,this.formViewCode+"__"+o,{params:this.additionalParamMap,entity:this.formData,taskId:i,operationResult:a}),this.afterSuccessOperateInForm(n,this.formData,r)),this.reviewButton(),!0},transactTask:function transactTask(system,tableName,model,path,successMessageTip,nodeName,nodeId,formViewCode,formViewVersion,myEntityName,myJsContent,successOperation,formNoRuleCode,dataConversionRule,autoSetValueData,assigneeId,logSettingText,buttonType,ids,isBatchProcessing,isNeedValueMapping,taskMap,needDeleteFileUuid,beanName,functionCode){var _this5=this;return new Promise((function(resolve,reject){if(path=_this5.getRealRestApiPath(path,system),path){var param={entity:model,formNoRuleCode:formNoRuleCode},request;if(!1===system.standard&&(param={entity:model,tableName:tableName,completeTaskParam:{taskId:_this5.completeTaskParam.taskId},formViewCode:formViewCode,formViewVersion:formViewVersion}),param.functionCode=functionCode||_this5.permissionPrefix+".xxx",assigneeId&&(param.assigneeId=assigneeId),_this5.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(_this5.judgeHeavyList)),nodeName&&nodeId&&(param.returnToNodeName=nodeName,param.returnToNodeId=nodeId),myEntityName&&(param.entityName=myEntityName),beanName&&(param.beanName=beanName),dataConversionRule&&(param.dataConversionRule=dataConversionRule.join(",")),autoSetValueData&&(param.autoSetValueData=JSON.stringify(autoSetValueData)),logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),_this5.dataTypeMap&&(param.dataTypeMap=_this5.dataTypeMap),_this5.ids&&ids.length>0&&(param.ids=ids),taskMap&&(param.taskMap=taskMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),_this5.additionalParamMap&&(param.additionalParamMap=_this5.additionalParamMap),param.isBatchProcessing=isBatchProcessing,param.isWorkflowEntity=!0,myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this5,param)}else request=_this5.$http.post(path,param);request&&request.then((function(e){var t=!0;e&&(t=_this5.dealCompleteTaskParam(e,!1,successOperation,buttonType,_this5.completeTaskParam.taskId,null,isNeedValueMapping)),!0===t&&_this5.$message({showClose:!0,type:"success",message:_this5.$t(successMessageTip)}),resolve(!0)}))}else _this5.$message({showClose:!0,type:"warning",message:_this5.$t("superPageMessage.requestPathEmpty")})}))},retrieve:function(e,t,n,o,i,a,r,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/retrieves"),this.transactTask(e,t,n,f,"superPageMessage.successfulRetrieve",!1,!1,o,i,a,r,s,null,null,null,null,l,u,null,null,c,p,null,d)},drawTask:function(e,t,n,o,i,a,r,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/draw-tasks"),this.transactTask(e,t,n,f,"superPageMessage.successfulDrawTask",!1,!1,o,i,a,r,s,null,null,null,null,l,u,null,null,c,p,null,d)},abandonReceive:function(e,t,n,o,i,a,r,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/abandon-receives"),this.transactTask(e,t,n,f,"superPageMessage.successfulAbandonReceive",!1,!1,o,i,a,r,s,null,null,null,null,l,u,null,null,c,p,null,d)},assign:function(e,t,n,o,i,a,r,s,l,u,c){var p=this;if(l){var d;!1===e.standard&&(d=this.getBaseUrl(e)+"/dsc/workflow-commons/assigns");var f=l.id?l.id:l.ID?l.ID:null;this.transactTask(e,t,n,d,"superPageMessage.successfulAssign",!1,!1,o,i,a,r,s,null,null,null,f,this.logSetting,"assignTask",null,null,u,null,null,c).then((function(e){p.selectAssignUser=!1}))}else this.selectAssignUser=!1},returnToPreviousTask:function(e,t,n,o,i,a,r,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/return-to-previous-tasks"),this.transactTask(e,t,n,p,"superPageMessage.successfulReturnToPreviousTask",!1,!1,o,i,a,r,s,null,null,null,null,this.logSetting,"returnToPreviousTask",null,null,l,u,null,c)},getTaskInformitions:function(e,t,n){var o,i=this;if(!1===e.standard&&(o=this.getBaseUrl(e)+"/dsc/workflow-commons/returnable-task/"+this.completeTaskParam.taskId),o=this.getRealRestApiPath(o,e),o){this.showTaskInformitions=!1;var a={entityName:t,beanName:n,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"};this.$http.post(o,a).then((function(e){i.taskInformitions=e,i.showTaskInformitions=!0})).catch((function(e){i.showTaskInformitions=!1}))}else this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},returnTaskTo:function(e,t,n,o,i,a,r,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/returnTaskTo"),this.transactTask(e,t,n,p,"superPageMessage.successfulReturnTaskTo",o.nodeName,o.nodeId,i,a,r,s,l,null,null,null,null,this.logSetting,"returnTaskTo",null,null,u,null,null,c)},endInstance:function(e,t,n,o,i,a,r,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/end-instance"),this.transactTask(e,t,n,p,"superPageMessage.successfulEndInstance",!1,!1,o,i,a,r,s,null,null,null,null,this.logSetting,"endInstance",null,null,l,u,null,c)},submitForm:function(e,t,n,o,i,a,r,s,l,u,c,p,d,f,m,h,g,b,y,v,_){var w;!1===e.standard&&(w=this.getBaseUrl(e)+p),this.transactTask(e,t,n,w,"superPageMessage.successfulOperation",!1,!1,o,i,a,r,l,s,u,c,null,d,f,m,h,g,b,y,v,_)},addSigner:function(){this.isMulti=!0,this.selectAddSignerUser=!0},doAddSigner:function doAddSigner(selectNodeInfo,myJsContent,system,entityName,beanName,dataId,model,successOperation,isNeedValueMapping){var _this8=this;if(selectNodeInfo){var path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons/add-signers"),path=this.getRealRestApiPath(path,system),!path)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")});var requestParams={entityName:entityName,beanName:beanName,id:dataId,entity:model,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"},request;if(requestParams.completeTaskParam={taskId:this.completeTaskParam.taskId,transactors:selectNodeInfo.userIds.join(",").split(","),systemCode:system.code},myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,requestParams)}else request=this.$http.post(path,requestParams);request&&request.then((function(e){_this8.$message({showClose:!0,type:"success",message:_this8.$t("superPageMessage.successfulOperation")}),e.entity&&(_this8.formData=e.entity,_this8.afterSuccessOperateInForm(successOperation,_this8.formData,isNeedValueMapping)),_this8.callAfterClickButton(_this8.formEvents,_this8.formViewCode+"__addSigner",{params:_this8.additionalParamMap,entity:_this8.formData}),_this8.selectAddSignerUser=!1}))}else this.selectAddSignerUser=!1},createCopyTask:function(){this.isMulti=!0,this.selectCopyUser=!0},doCreateCopyTask:function doCreateCopyTask(selectNodeInfo,myJsContent,system,entityName,beanName){var _this9=this;if(selectNodeInfo){var path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons/copies"),path=this.getRealRestApiPath(path,system),!path)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")});var requestParams={entityName:entityName,beanName:beanName,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"},request;if(requestParams.completeTaskParam={taskId:this.completeTaskParam.taskId,transactors:selectNodeInfo.userIds.join(",").split(","),systemCode:system.code},myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,requestParams)}else request=this.$http.post(path,requestParams);request&&request.then((function(){_this9.$message({showClose:!0,type:"success",message:_this9.$t("superPageMessage.successfulOperation")}),_this9.callAfterClickButton(_this9.formEvents,_this9.formViewCode+"__createCopyTask",{params:_this9.additionalParamMap,entity:_this9.formData}),_this9.selectCopyUser=!1}))}else this.selectCopyUser=!1},removeSigner:function(e,t,n,o,i){var a,r=this,s={};!1===e.standard?(a=this.getBaseUrl(e)+"/dsc/workflow-commons/get-remove-signers",o&&""!==o&&(s.logSettingText=o),s.entityName=t,s.beanName=i,s.systemCode=e.code,s.entity=n,s.additionalParamMap=this.additionalParamMap,s.tableName=this.tableName,s.functionCode=this.permissionPrefix+".xxx"):n.workflowInfo&&(s.entity=n),a=this.getRealRestApiPath(a,e),a?this.$http.post(a,s).then((function(e){r.activeTasks=e,r.showRemoveSigner=!0})):this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},doRemoveSigners:function doRemoveSigners(selectRemoveTasks,myJsContent,system,entityName,beanName){var _this11=this;if(selectRemoveTasks){var path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons/remove-signers"),path=this.getRealRestApiPath(path,system),!path)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")});var taskIds=selectRemoveTasks.map((function(e){return e.id?e.id:e.ID?e.ID:null})),request;if(myJsContent){var param={taskIds:taskIds,entityName:entityName,beanName:beanName,systemCode:system.code,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"},buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else{var requestParams={entityName:entityName,beanName:beanName,ids:taskIds,systemCode:system.code,additionalParamMap:this.additionalParamMap};request=this.$http.post(path,requestParams)}request&&request.then((function(){_this11.$message({showClose:!0,type:"success",message:_this11.$t("superPageMessage.successfulOperation")}),_this11.callAfterClickButton(_this11.formEvents,_this11.formViewCode+"__removeSigner",{params:_this11.additionalParamMap,entity:_this11.formData}),_this11.showRemoveSigner=!1}))}else this.showRemoveSigner=!1},assignTask:function(){this.isMulti=!1,this.selectAssignUser=!0},updateValues:function(e,t){Object(imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_1__["b"])(e,t,this.jumpPageSetting,this.formData,this.tableName);var n=this.jumpPageSetting&&this.jumpPageSetting.updateValueEvent?this.jumpPageSetting.updateValueEvent:null;this.customEvents&&n&&null!==n&&this.customEvents[n]&&this.customEvents[n].call(this,{sourceModel:e,sourceTableName:t,jumpPageSetting:this.jumpPageSetting,entity:this.formData,targetTableName:this.tableName}),this.updateFormData(this.formData)},downloadTemplate:function(e,t,n){var o,i;t.templateFiles&&t.templateFiles.length>0?(o=t.templateFiles[0].templateUUID,i=t.templateFiles[0].templateShowPath):(o=t.templateUUID,i=t.templateShowPath);var a="?1=1";t&&t.functionCode&&(a+="&functionCode="+t.functionCode),n&&(a+="&tableName="+n),o&&i&&"undefined"!==o&&"undefined"!==i&&"null"!==o&&"null"!==i&&(a+="&fileName="+encodeURI(o)+"&showName="+encodeURI(i));var r=this.getBaseUrl(e);window.open(r+"/dsc/commons/download-files"+a)}};__webpack_exports__["a"]=buttonEvents},"8aae":function(e,t,n){n("32a6"),e.exports=n("584a").Object.keys},"8bbf":function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__8bbf__},"8df4":function(e,t,n){"use strict";var o=n("7a77");function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new o(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e,t=new i((function(t){e=t}));return{token:t,cancel:e}},e.exports=i},"8e60":function(e,t,n){e.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8f60":function(e,t,n){"use strict";var o=n("a159"),i=n("aebd"),a=n("45f2"),r={};n("35e8")(r,n("5168")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=o(r,{next:i(1,n)}),a(e,t+" Iterator")}},9003:function(e,t,n){var o=n("6b4c");e.exports=Array.isArray||function(e){return"Array"==o(e)}},9138:function(e,t,n){e.exports=n("35e8")},9243:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var o=n("633f"),i=f(o),a=n("11a6"),r=f(a),s=n("8bbf"),l=f(s),u=n("3c4e"),c=f(u),p=n("949b"),d=f(p);function f(e){return e&&e.__esModule?e:{default:e}}var m=(0,d.default)(l.default),h=r.default,g=!1,b=function(){var e=(0,i.default)(this||l.default).$t;if("function"===typeof e&&l.default.locale)return g||(g=!0,l.default.locale(l.default.config.lang,(0,c.default)(h,l.default.locale(l.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},y=t.t=function(e,t){var n=b.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var o=e.split("."),i=h,a=0,r=o.length;a<r;a++){var s=o[a];if(n=i[s],a===r-1)return m(n,t);if(!n)return"";i=n}return""},v=t.use=function(e){h=e||h},_=t.i18n=function(e){b=e||b};t.default={use:v,t:y,i18n:_}},"949b":function(e,t,n){"use strict";t.__esModule=!0;var o=n("1098"),i=r(o);t.default=function(){function e(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return 1===n.length&&"object"===(0,i.default)(n[0])&&(n=n[0]),n&&n.hasOwnProperty||(n={}),e.replace(s,(function(t,o,i,r){var s=void 0;return"{"===e[r-1]&&"}"===e[r+t.length]?i:(s=(0,a.hasOwn)(n,i)?n[i]:null,null===s||void 0===s?"":s)}))}return e};var a=n("bf32");function r(e){return e&&e.__esModule?e:{default:e}}var s=/(%|)\{([0-9a-zA-Z_]+)\}/g},9598:function(e,t,n){},9696:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c}));var o=n("bc95"),i=n.n(o),a=n("8bbf"),r=n.n(a);function s(e){if(void 0===r.a.prototype.projectModel||"developing.model"!==r.a.prototype.projectModel){var t=l(location.href);if(i.a.setItem("relativeUrl",t),t&&e){var n="",o=e.split("/");if(o.length>=3){var a=o[0]+"//"+o[2];n=e.substring(e.indexOf(a)+a.length)}return t.lastIndexOf("/")===t.length-1&&(t=t.substring(0,t.lastIndexOf("/"))),n?t+n:t}}return e}function l(e){var t=e.split("#");if(t.length>0){var n=t[0],o=n,i=n.split("/");return i.length>=3&&(o=i[0]+"//"+i[2]+"/"),o}}function u(e){return r.a.prototype.projectModel&&"developing.model"===r.a.prototype.projectModel&&r.a.prototype.frontUrl?r.a.prototype.frontUrl:s(e)}function c(e){return r.a.prototype.projectModel&&"developing.model"===r.a.prototype.projectModel&&r.a.prototype.baseURL?r.a.prototype.baseURL:s(e)}},"99d1":function(e,t,n){"use strict";n("854e")},"9aa9":function(e,t){t.f=Object.getOwnPropertySymbols},"9c59":function(e,t,n){"use strict";var o=Object.prototype.hasOwnProperty;function i(e){for(var t,n=/([^=?&]+)=?([^&]*)/g,o={};t=n.exec(e);o[decodeURIComponent(t[1])]=decodeURIComponent(t[2]));return o}function a(e,t){t=t||"";var n=[];for(var i in"string"!==typeof t&&(t="?"),e)o.call(e,i)&&n.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return n.length?t+n.join("&"):""}t.stringify=a,t.parse=i},a159:function(e,t,n){var o=n("e4ae"),i=n("7e90"),a=n("1691"),r=n("5559")("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n("1ec9")("iframe"),o=a.length,i="<",r=">";t.style.display="none",n("32fc").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+r+"document.F=Object"+i+"/script"+r),e.close(),u=e.F;while(o--)delete u[l][a[o]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=o(e),n=new s,s[l]=null,n[r]=e):n=u(),void 0===t?n:i(n,t)}},a21f:function(e,t,n){var o=n("584a"),i=o.JSON||(o.JSON={stringify:JSON.stringify});e.exports=function(e){return i.stringify.apply(i,arguments)}},a78e:function(e,t,n){var o,i;
7
+ function o(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:o});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[o].concat(e.init):o,n.call(this,e)}}function o(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"a",(function(){return D}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},a=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(e){a&&(e._devtoolHook=a,a.emit("vuex:init",e),a.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){a.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){a.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function l(e){return null!==e&&"object"===typeof e}function u(e){return e&&"function"===typeof e.then}function c(e,t){return function(){return e(t)}}var p=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},d={namespaced:{configurable:!0}};d.namespaced.get=function(){return!!this._rawModule.namespaced},p.prototype.addChild=function(e,t){this._children[e]=t},p.prototype.removeChild=function(e){delete this._children[e]},p.prototype.getChild=function(e){return this._children[e]},p.prototype.hasChild=function(e){return e in this._children},p.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},p.prototype.forEachChild=function(e){s(this._children,e)},p.prototype.forEachGetter=function(e){this._rawModule.getters&&s(this._rawModule.getters,e)},p.prototype.forEachAction=function(e){this._rawModule.actions&&s(this._rawModule.actions,e)},p.prototype.forEachMutation=function(e){this._rawModule.mutations&&s(this._rawModule.mutations,e)},Object.defineProperties(p.prototype,d);var f=function(e){this.register([],e,!1)};function m(e,t,n){if(t.update(n),n.modules)for(var o in n.modules){if(!t.getChild(o))return void 0;m(e.concat(o),t.getChild(o),n.modules[o])}}f.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},f.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},f.prototype.update=function(e){m([],this.root,e)},f.prototype.register=function(e,t,n){var o=this;void 0===n&&(n=!0);var i=new p(t,n);if(0===e.length)this.root=i;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],i)}t.modules&&s(t.modules,(function(t,i){o.register(e.concat(i),t,n)}))},f.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],o=t.getChild(n);o&&o.runtime&&t.removeChild(n)},f.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var h;var g=function(e){var t=this;void 0===e&&(e={}),!h&&"undefined"!==typeof window&&window.Vue&&x(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var o=e.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new f(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new h,this._makeLocalGettersCache=Object.create(null);var i=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return l.call(i,e,t,n)},this.strict=o;var u=this._modules.root.state;w(this,u,[],this._modules.root),_(this,u),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:h.config.devtools;c&&r(this)},b={state:{configurable:!0}};function y(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function v(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;w(e,n,[],e._modules.root,!0),_(e,n,t)}function _(e,t,n){var o=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={};s(i,(function(t,n){a[n]=c(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var r=h.config.silent;h.config.silent=!0,e._vm=new h({data:{$$state:t},computed:a}),h.config.silent=r,e.strict&&T(e),o&&(n&&e._withCommit((function(){o._data.$$state=null})),h.nextTick((function(){return o.$destroy()})))}function w(e,t,n,o,i){var a=!n.length,r=e._modules.getNamespace(n);if(o.namespaced&&(e._modulesNamespaceMap[r],e._modulesNamespaceMap[r]=o),!a&&!i){var s=N(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){h.set(s,l,o.state)}))}var u=o.context=C(e,r,n);o.forEachMutation((function(t,n){var o=r+n;S(e,o,t,u)})),o.forEachAction((function(t,n){var o=t.root?n:r+n,i=t.handler||t;O(e,o,i,u)})),o.forEachGetter((function(t,n){var o=r+n;k(e,o,t,u)})),o.forEachChild((function(o,a){w(e,t,n.concat(a),o,i)}))}function C(e,t,n){var o=""===t,i={dispatch:o?e.dispatch:function(n,o,i){var a=E(n,o,i),r=a.payload,s=a.options,l=a.type;return s&&s.root||(l=t+l),e.dispatch(l,r)},commit:o?e.commit:function(n,o,i){var a=E(n,o,i),r=a.payload,s=a.options,l=a.type;s&&s.root||(l=t+l),e.commit(l,r,s)}};return Object.defineProperties(i,{getters:{get:o?function(){return e.getters}:function(){return P(e,t)}},state:{get:function(){return N(e.state,n)}}}),i}function P(e,t){if(!e._makeLocalGettersCache[t]){var n={},o=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,o)===t){var a=i.slice(o);Object.defineProperty(n,a,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function S(e,t,n,o){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,o.state,t)}))}function O(e,t,n,o){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:e.getters,rootState:e.state},t);return u(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function k(e,t,n,o){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(o.state,o.getters,e.state,e.getters)})}function T(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function N(e,t){return t.reduce((function(e,t){return e[t]}),e)}function E(e,t,n){return l(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function x(e){h&&e===h||(h=e,o(h))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},g.prototype.commit=function(e,t,n){var o=this,i=E(e,t,n),a=i.type,r=i.payload,s=(i.options,{type:a,payload:r}),l=this._mutations[a];l&&(this._withCommit((function(){l.forEach((function(e){e(r)}))})),this._subscribers.slice().forEach((function(e){return e(s,o.state)})))},g.prototype.dispatch=function(e,t){var n=this,o=E(e,t),i=o.type,a=o.payload,r={type:i,payload:a},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(r,n.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(e){return e(a)}))):s[0](a);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(r,n.state)}))}catch(u){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(r,n.state,e)}))}catch(u){0}t(e)}))}))}},g.prototype.subscribe=function(e,t){return y(e,this._subscribers,t)},g.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return y(n,this._actionSubscribers,t)},g.prototype.watch=function(e,t,n){var o=this;return this._watcherVM.$watch((function(){return e(o.state,o.getters)}),t,n)},g.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},g.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),w(this,this.state,e,this._modules.get(e),n.preserveState),_(this,this.state)},g.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=N(t.state,e.slice(0,-1));h.delete(n,e[e.length-1])})),v(this)},g.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},g.prototype.hotUpdate=function(e){this._modules.update(e),v(this,!0)},g.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(g.prototype,b);I((function(e,t){var n={};return M(t).forEach((function(t){var o=t.key,i=t.val;n[o]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var o=F(this.$store,"mapState",e);if(!o)return;t=o.context.state,n=o.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[o].vuex=!0})),n})),I((function(e,t){var n={};return M(t).forEach((function(t){var o=t.key,i=t.val;n[o]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var o=this.$store.commit;if(e){var a=F(this.$store,"mapMutations",e);if(!a)return;o=a.context.commit}return"function"===typeof i?i.apply(this,[o].concat(t)):o.apply(this.$store,[i].concat(t))}})),n}));var D=I((function(e,t){var n={};return M(t).forEach((function(t){var o=t.key,i=t.val;i=e+i,n[o]=function(){if(!e||F(this.$store,"mapGetters",e))return this.$store.getters[i]},n[o].vuex=!0})),n}));I((function(e,t){var n={};return M(t).forEach((function(t){var o=t.key,i=t.val;n[o]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var o=this.$store.dispatch;if(e){var a=F(this.$store,"mapActions",e);if(!a)return;o=a.context.dispatch}return"function"===typeof i?i.apply(this,[o].concat(t)):o.apply(this.$store,[i].concat(t))}})),n}));function M(e){return j(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function j(e){return Array.isArray(e)||l(e)}function I(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function F(e,t,n){var o=e._modulesNamespaceMap[n];return o}}).call(this,n("c8ba"))},"30b5":function(e,t,n){"use strict";var o=n("c532");function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(o.isURLSearchParams(t))a=t.toString();else{var r=[];o.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,(function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),r.push(i(t)+"="+i(e))})))})),a=r.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},"30f1":function(e,t,n){"use strict";var o=n("b8e3"),i=n("63b6"),a=n("9138"),r=n("35e8"),s=n("481b"),l=n("8f60"),u=n("45f2"),c=n("53e2"),p=n("5168")("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",m="keys",h="values",g=function(){return this};e.exports=function(e,t,n,b,y,v,_){l(n,t,b);var w,C,P,S=function(e){if(!d&&e in N)return N[e];switch(e){case m:return function(){return new n(this,e)};case h:return function(){return new n(this,e)}}return function(){return new n(this,e)}},O=t+" Iterator",k=y==h,T=!1,N=e.prototype,E=N[p]||N[f]||y&&N[y],x=E||S(y),D=y?k?S("entries"):x:void 0,M="Array"==t&&N.entries||E;if(M&&(P=c(M.call(new e)),P!==Object.prototype&&P.next&&(u(P,O,!0),o||"function"==typeof P[p]||r(P,p,g))),k&&E&&E.name!==h&&(T=!0,x=function(){return E.call(this)}),o&&!_||!d&&!T&&N[p]||r(N,p,x),s[t]=x,s[O]=g,y)if(w={values:k?x:S(h),keys:v?x:S(m),entries:D},_)for(C in w)C in N||a(N,C,w[C]);else i(i.P+i.F*(d||T),t,w);return w}},"32a6":function(e,t,n){var o=n("241e"),i=n("c3a1");n("ce7e")("keys",(function(){return function(e){return i(o(e))}}))},"32fc":function(e,t,n){var o=n("e53d").document;e.exports=o&&o.documentElement},"335c":function(e,t,n){var o=n("6b4c");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},"355d":function(e,t){t.f={}.propertyIsEnumerable},"35e8":function(e,t,n){var o=n("d9f6"),i=n("aebd");e.exports=n("8e60")?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"36c3":function(e,t,n){var o=n("335c"),i=n("25eb");e.exports=function(e){return o(i(e))}},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,o,i){return e.config=t,n&&(e.code=n),e.request=o,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},3934:function(e,t,n){"use strict";var o=n("c532");e.exports=o.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var o=e;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=o.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"3a38":function(e,t){var n=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:n)(e)}},"3c4e":function(e,t,n){"use strict";var o=function(e){return i(e)&&!a(e)};function i(e){return!!e&&"object"===typeof e}function a(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||l(e)}var r="function"===typeof Symbol&&Symbol.for,s=r?Symbol.for("react.element"):60103;function l(e){return e.$$typeof===s}function u(e){return Array.isArray(e)?[]:{}}function c(e,t){var n=t&&!0===t.clone;return n&&o(e)?f(u(e),e,t):e}function p(e,t,n){var i=e.slice();return t.forEach((function(t,a){"undefined"===typeof i[a]?i[a]=c(t,n):o(t)?i[a]=f(e[a],t,n):-1===e.indexOf(t)&&i.push(c(t,n))})),i}function d(e,t,n){var i={};return o(e)&&Object.keys(e).forEach((function(t){i[t]=c(e[t],n)})),Object.keys(t).forEach((function(a){o(t[a])&&e[a]?i[a]=f(e[a],t[a],n):i[a]=c(t[a],n)})),i}function f(e,t,n){var o=Array.isArray(t),i=Array.isArray(e),a=n||{arrayMerge:p},r=o===i;if(r){if(o){var s=a.arrayMerge||p;return s(e,t,n)}return d(e,t,n)}return c(t,n)}f.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return f(e,n,t)}))};var m=f;e.exports=m},"3eb6":function(e,t,n){},"45f2":function(e,t,n){var o=n("d9f6").f,i=n("07e3"),a=n("5168")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&o(e,a,{configurable:!0,value:t})}},"467f":function(e,t,n){"use strict";var o=n("2d83");e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(o("Request failed with status code "+n.status,n.config,null,n.request,n))}},"47ee":function(e,t,n){var o=n("c3a1"),i=n("9aa9"),a=n("355d");e.exports=function(e){var t=o(e),n=i.f;if(n){var r,s=n(e),l=a.f,u=0;while(s.length>u)l.call(e,r=s[u++])&&t.push(r)}return t}},"481b":function(e,t){e.exports={}},"4a7b":function(e,t,n){"use strict";var o=n("c532");e.exports=function(e,t){t=t||{};var n={};return o.forEach(["url","method","params","data"],(function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])})),o.forEach(["headers","auth","proxy"],(function(i){o.isObject(t[i])?n[i]=o.deepMerge(e[i],t[i]):"undefined"!==typeof t[i]?n[i]=t[i]:o.isObject(e[i])?n[i]=o.deepMerge(e[i]):"undefined"!==typeof e[i]&&(n[i]=e[i])})),o.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],(function(o){"undefined"!==typeof t[o]?n[o]=t[o]:"undefined"!==typeof e[o]&&(n[o]=e[o])})),n}},5082:function(e,t){var n=Object.prototype.hasOwnProperty,o={},i={};function a(){var e=0;for(var t in o)e++;return e}var r=e.exports={length:a(),getItem:function(e){return n.call(o,e)?o[e]:null},setItem:function(e,t){e in i||(o[e]=t),r.length=a()},removeItem:function(e){delete o[e],r.length=a()},clear:function(){o={},r.length=0},supported:!0}},"50ed":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},5168:function(e,t,n){var o=n("dbdb")("wks"),i=n("62a0"),a=n("e53d").Symbol,r="function"==typeof a,s=e.exports=function(e){return o[e]||(o[e]=r&&a[e]||(r?a:i)("Symbol."+e))};s.store=o},"51ae":function(module,__webpack_exports__,__webpack_require__){"use strict";var vue__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8bbf"),vue__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__),_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("18ce"),_src_utils_common_util__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("c559"),_eventBus__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("06e7"),axios__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("bc3a"),axios__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_4__),js_cookie__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("a78e"),js_cookie__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(js_cookie__WEBPACK_IMPORTED_MODULE_5__),_common_util__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("8217"),imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("f6cd"),imatrix_ui_src_utils_watermark__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("2105"),imatrix_ui_src_utils_common_util__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("9696"),imatrix_ui_src_utils_auth__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("eb17");function _createForOfIteratorHelper(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}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(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){s=!0,a=e},f:function(){try{r||null==n.return||n.return()}finally{if(s)throw a}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"===typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var Util={isFullPath:function(e){return 0===e.indexOf("http:")||0===e.indexOf("https:")},getRealRestApiPath:function(e,t){var n=e;if(e&&t&&!this.isFullPath(e)){var o=this.getBaseUrl(t);n=!1===t.standard?o+"/"+t.code+e:o+e}return n},getWorkflowId:function(e){var t=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(e,"_formData");if(t){var n=t.workflow_id;return n||(n=t.WORKFLOW_ID),!n&&t.workflowInfo&&(n=t.workflowInfo.workflowId),n}},getBackButton:function(){return{code:"back",label:Object(_src_utils_common_util__WEBPACK_IMPORTED_MODULE_2__["a"])().t("superPage.backButton")}},sortArr:function(e,t,n){return e?(e=e.sort(this.compare(t,n)),e):[]},compare:function(e,t){return"desc"===t?function(t,n){var o=t[e],i=n[e];return i>o?1:i<o?-1:0}:function(t,n){var o=t[e],i=n[e];return i<o?1:i>o?-1:0}},canExecuteWithMore:function(e,t,n,o,i){var a=this;return new Promise((function(r,s){if(void 0===e||""===e||void 0===t||0===t.length)r({canExecute:!0});else{var l={entities:t,sql:n,tableName:o};e&&(l.setting=JSON.stringify(e)),i&&(l.additionalParamMap=i);var u=vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseAPI+"/component/super-pages/can-executes";a.$http.post(u,l).then((function(e){var t=e.canExecute;if(!1===t){var n=e.message;""===n&&(n=a.$t("superPageMessage.canExecuteDefaultMessage")),a.$message({showClose:!0,type:"warning",message:n}),r(e)}else r(e)})).catch((function(e){s(e)}))}}))},canExecute:function(e,t,n,o,i){var a=[];return a.push(t),this.canExecuteWithMore(e,a,n,o,i)},isButtonVisible:function(e,t,n){var o=this;return new Promise((function(i,a){var r=_store__WEBPACK_IMPORTED_MODULE_1__["a"].get("_pageIsDsc");if(e&&e.length>0){var s=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(o.pageCode,"_formData"),l={setting:JSON.stringify(e),entity:s,sql:r,tableName:t};n&&(l.additionalParamMap=n);var u=vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseAPI+"/component/super-pages/button-visibles";o.$http.post(u,l).then((function(e){i(e)})).catch((function(e){a(e)}))}else i(!0)}))},getWorkflowButtonVisible:function(e,t,n){var o=this;return new Promise((function(i,a){var r=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(o.pageCode,"_pageIsDsc");if(e){var s=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(o.pageCode,"_formData"),l={setting:JSON.stringify(e),entity:s,sql:r,tableName:t};n&&(l.additionalParamMap=n);var u=vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseAPI+"/component/super-pages/workflow-button-visibles";o.$http.post(u,l).then((function(e){i(e)})).catch((function(e){a(e)}))}else i(!0)}))},afterSuccessOperateInForm:function(e,t,n){if(console.log("afterSuccessOperateInForm---successOperation=-",e,t,n),Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["f"])(this.pageCode,"_formData",t),e&&""!==e&&null!==e||(e="refresh"),"refresh"===e)this.$refs.superForm&&this.$refs.superForm.refresh(t),this.updateFormData(t);else if("closeWindow"===e||"closeWindowAndRefresh"===e){if(console.log("afterSuccessOperateInForm--successOperation=--",e),void 0!==n&&!0===n&&t&&void 0!==t){var o,i=sessionStorage.getItem(this.pageCode+"-jumpMode");if(i){var a=JSON.parse(i);o=a.rowIndex}this.$emit("update-value",t,this.tableName,o)}this.closePage(this.pageCode,e)}},updateFormData:function(e){this.isShow=!1;var t=this;setTimeout((function(){t.formData=e,t.isShow=!0,t.$refs.superForm&&t.$refs.superForm.refresh(t.formData)}),10)},isArrayFn:function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},getSaveFormRequest:function(e,t,n,o,i,a,r,s,l,u,c,p,d,f,m,h,g,b,y,v,_){var w={entity:a,formViewCode:n,formViewVersion:o,tableName:i,formNoRuleCode:l,isWorkflowEntity:v,functionCode:_};return this.judgeHeavyList&&(w.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),u&&(this.isArrayFn(u)?w.dataConversionRule=u.join(","):"string"===typeof u&&(w.dataConversionRule=u)),c&&(w.autoSetValueData=JSON.stringify(c)),d&&(w.logSettingText=d),w.systemCode||(w.systemCode=e.code),r&&(w.entityName=r),y&&(w.beanName=y),h&&(w.taskMap=h),g&&(w.needDeleteFileUuidS=g),this.dataTypeMap&&(w.dataTypeMap=this.dataTypeMap),f&&(w.dynamicColumnInfo=f),m&&(w.mainDefaultValueColumns=m),b&&(w.additionalParamMap=b),this.getSaveFormRequestByParam(e,t,w,s,p,a)},getSaveFormRequestByParam:function getSaveFormRequestByParam(system,restfulApiPath,param,myJsContent,url,formData){var path=restfulApiPath,request;if(!1===system.standard&&!path){var baseUrl=this.getBaseUrl(system);path=baseUrl+url}if(path=this.getRealRestApiPath(path,system),myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else request=formData&&(formData.id||formData.ID)?this.$http.put(path,param):this.$http.post(path,param);return request},exportFormReport:function exportFormReport(templateUUID,fileName,myJsContent,entityName,system,logSettingText,taskMap,additionalParamMap,isWorkflowForm,beanName,button,tableName){var _this4=this;this.$refs.superForm&&this.$refs.superForm.getViewModels().then((function(viewModels){var param={entity:viewModels,fileName:templateUUID,showName:fileName,entityName:entityName,beanName:beanName,isWorkflowForm:isWorkflowForm,functionCode:button.functionCode,tableName:tableName};logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),taskMap&&(param.taskMap=taskMap),additionalParamMap&&(param.additionalParamMap=additionalParamMap);var beforeClickResult=_this4.callBeforeClickButton(_this4.formEvents,_this4.formViewCode+"__exportForm",{params:_this4.additionalParamMap,exportParam:param});if(beforeClickResult){var request;if(myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this4,param)}else{var baseUrl=_this4.getBaseUrl(system),path=baseUrl+"/dsc/commons/export-reports";axios__WEBPACK_IMPORTED_MODULE_4___default.a.defaults.headers.common.Authorization=Object(imatrix_ui_src_utils_auth__WEBPACK_IMPORTED_MODULE_10__["a"])(),request=axios__WEBPACK_IMPORTED_MODULE_4___default.a.post(path,param,{responseType:"blob"},{headers:{"content-type":"application/x-www-form-urlencoded"}})}request.then((function(e){var t=new Blob([e.data]),n="报告.xlsx";fileName&&(n=fileName);var o=document.createElement("a");o.download=n,o.style.display="none",o.target="_blank",o.href=URL.createObjectURL(t),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o),_this4.callAfterClickButton(_this4.formEvents,_this4.formViewCode+"__exportForm",{params:_this4.additionalParamMap,entity:_this4.formData})}))}}))},upperFirstCase:function(e){return e.toLowerCase().replace(/( |^)[a-z]/g,(function(e){return e.toUpperCase()}))},getBaseUrl:function(e){var t=vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseURL;return e&&(t=Object(imatrix_ui_src_utils_common_util__WEBPACK_IMPORTED_MODULE_9__["a"])(e.backendUrl)),t},getFormatDate:function(e,t){if("yyyy-MM-dd"===t){var n=e.getFullYear(),o=e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,i=e.getDate()<10?"0"+e.getDate():e.getDate();return n+"-"+o+"-"+i}},commonButtonClick:function(e){this.$emit("click",e)},workflowButtonClick:function(e,t,n,o){this.$emit("workflowClick",e,t,n,o)},isViewDetail:function(e){var t=!1,n=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(this.pageCode,"openPageButton");return n||(n=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(this.pageCode,"_sourceButtonCode")),!n||"viewDetail"!==n||e&&"list"===e||(t=!0),t},packageFormEvents:function(e){var t={},n=[],o=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(this.pageCode,"_pageEvents");if(o){n=o.formEvents,e&&n&&Object.keys(n).forEach((function(o){var i=o.substring(0,o.indexOf("__"));if(e===i){var a=o.substring(o.indexOf("__")+"__".length);t[a]=n[o]}}));var i=o.customEvents;i&&(t.customEvents=i)}return t},findOptionsByDynamicDataSource:function(e,t,n,o){var i=this;return new Promise((function(a,r){void 0!==t&&null!==t||(t="");var s={searchText:t};o&&(s.additionalParamMap=o),n&&null!==n&&(s.entity=n),i.$http.post(vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseURL+"/common/dynamic-data-source/"+e,s).then((function(e){var t=[];if(e&&e.options){var n,o=e.options;e.valueAttribute&&(n=e.valueAttribute),n&&"[label]"!==n||(n="_label_"),o.forEach((function(e){var o=e[n],i=e["_label_"];t.push({label:i,value:o})}))}t||(t=[]),a(t)})).catch((function(e){r(e)}))}))},getOptionGroupOptions:function(e){var t=this;return new Promise((function(n,o){t.$http.get(vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseAPI+"/api/options/with-option-groups?optionGroupCode="+e).then((function(e){var t=[];e&&e.forEach((function(e){var n=e.value,o=e.name;t.push({label:o,value:n})})),n(t)}))}))},analysisStandardValues:function(e){var t=this;return new Promise((function(n,o){t.$http.post(vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseAPI+"/component/super-pages/analysisValues",e).then((function(e){n(e)}))}))},jumpToPage:function(e,t,n,o,i,a,r,s){var l=this;Object(imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_7__["a"])(e,t,n,o,i,a,r).then((function(t){if(t){var n=t.jumpMode,o=t;"popup"===n?(o.isRefreshWhenClosePopup=e.isRefreshWhenClosePopup,l.jumpPageSetting=o,l.isShowPageDialog=!0):"refresh"===n&&l.$router.push({path:"/dsc/page",query:o})}}))},closePage:function(e,t){var n=sessionStorage.getItem(e+"-jumpMode");if(sessionStorage.removeItem(e+"-jumpMode"),n){var o=JSON.parse(n),i=o.jumpMode;if("popup"===i){var a=sessionStorage.getItem(e+"_source_page_code");sessionStorage.removeItem(e+"_source_page_code"),a?_eventBus__WEBPACK_IMPORTED_MODULE_3__["a"].$emit(a+"-close-component-page-dialog",o):_eventBus__WEBPACK_IMPORTED_MODULE_3__["a"].$emit(e+"-close-dialog",e,t)}else"openWindow"===i||"newTab"===i?window.parent?window.parent.close():window.close():this.$router.go(-1)}},eventBusOnCloseDialog:function(e,t,n,o,i){if(t.isShowPageDialog=!1,t.jumpPageSetting=null,n&&("create"===n||"update"===n)||o&&"closeWindowAndRefresh"===o){var a=t.$refs.grid;a&&a.refresh()}else if(void 0!==i.isRefreshWhenClosePopup&&!0===i.isRefreshWhenClosePopup){var r=t.$refs.grid;r&&r.refresh()}},getWatermarkLabel:function(e,t){var n="";if(e.label&&""!==e.label){var o,i=/\$\{(.+?)\]}/g,a=e.label.match(i),r=_createForOfIteratorHelper(a);try{for(r.s();!(o=r.n()).done;){var s=o.value,l=s;if(s.indexOf("${writeTitle[")>=0){var u=s.indexOf("${writeTitle[");l=l.substring(u+13),l=l.substring(0,l.indexOf("]")),n+=l}else s.indexOf("${standard[")>=0&&t&&(l=l.substring(l.indexOf("[")+1,l.indexOf("]")),l&&""!==l&&(-1!==l.indexOf("context.currentTime")?l=t.currentTime:-1!==l.indexOf("context.currentTransactorName")?l=t.currentTransactorName:-1!==l.indexOf("context.currentTransactorId")?l=t.currentTransactorId:-1!==l.indexOf("context.currentTransactor")?l=t.currentTransactor:-1!==l.indexOf("context.currentTransactorMainDepartmentId")?l=t.currentTransactorMainDepartmentId:-1!==l.indexOf("context.currentTransactorMainDepartment")?l=t.currentTransactorMainDepartment:-1!==l.indexOf("context.currentTransactorRoleId")?l=t.currentTransactorRoleId:-1!==l.indexOf("context.currentTransactorRole")?l=t.currentTransactorRole:-1!==l.indexOf("context.currentTransactorWorkGroupId")?l=t.currentTransactorWorkGroupId:-1!==l.indexOf("context.currentTransactorWorkGroup")&&(l=t.currentTransactorWorkGroup)),n+=l)}}catch(c){r.e(c)}finally{r.f()}}return n},setWatermark:function(e,t){var n=this;this.getSystemWatermark(e).then((function(e){null!=e&&e.watermarkSetting&&n.showPageWatermarkSetting(JSON.parse(e.watermarkSetting),t)}))},showPageWatermarkSetting:function(e,t){if(e){var n=this.getWatermarkLabel(e,t);Object(imatrix_ui_src_utils_watermark__WEBPACK_IMPORTED_MODULE_8__["a"])(n,e)}},closeFormPageDialog:function(e,t){if(e){var n=e.position;n&&"form"!==n?t.$refs.superForm&&t.$refs.superForm.closeSubTablePageDialog(e.listCode):t.$refs.superForm&&t.$refs.superForm.closePageDialog()}else t.$refs.superForm.closePageDialog()},refreshEmit:function(e){this.$emit("refresh",e)},refreshFrom:function(e){this.$emit("refreshFrom",e)},previewFormReport:function previewFormReport(templateUUID,fileName,myJsContent,entityName,system,logSettingText,taskMap,additionalParamMap,isWorkflowForm,beanName,functionCode,tableName){var _this10=this;this.$refs.superForm&&this.$refs.superForm.getViewModels().then((function(viewModels){var param={entity:viewModels,fileName:templateUUID,showName:fileName,entityName:entityName,beanName:beanName,isWorkflowForm:isWorkflowForm,functionCode:functionCode,tableName:tableName};logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),taskMap&&(param.taskMap=taskMap),additionalParamMap&&(param.additionalParamMap=additionalParamMap);var beforeClickResult=_this10.callBeforeClickButton(_this10.formEvents,_this10.formViewCode+"__exportForm",{params:_this10.additionalParamMap,exportParam:param});if(beforeClickResult){var request;if(myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this10,param)}else{var baseUrl=_this10.getBaseUrl(system),path=baseUrl+"/dsc/commons/create-preview-file";axios__WEBPACK_IMPORTED_MODULE_4___default.a.defaults.headers.common.Authorization=js_cookie__WEBPACK_IMPORTED_MODULE_5___default.a.get("JWT"),request=axios__WEBPACK_IMPORTED_MODULE_4___default.a.post(path,param,{},{headers:{"content-type":"application/x-www-form-urlencoded"}})}request.then((function(e){var t=vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseURL+"/component/export-report/preview";window.open(t+"?showName="+encodeURI(e.data)+"&serverPath="+encodeURI(e.data))}))}}))},reviewButton:function(e){if(this.$refs.superForm){var t=this.$refs.superForm.getFormData();Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["f"])(this.pageCode,"_formData",t)}else e&&Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["f"])(this.pageCode,"_formData",e);this.isShowBuuton=!1;var n=this;setTimeout((function(){n.isShowBuuton=!0}),100)},refreshTab:function(e,t){void 0!==e&&null!==e||(e=Object(_common_util__WEBPACK_IMPORTED_MODULE_6__["d"])(this.pageCode,"_activeTab")),_eventBus__WEBPACK_IMPORTED_MODULE_3__["a"].$emit(this.pageCode+"-refresh-tab",e,t)}};__webpack_exports__["a"]=Util},5270:function(e,t,n){"use strict";var o=n("c532"),i=n("c401"),a=n("2e67"),r=n("2444"),s=n("d925"),l=n("e683");function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){u(e),e.baseURL&&!s(e.url)&&(e.url=l(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||r.adapter;return t(e).then((function(t){return u(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(u(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"53e2":function(e,t,n){var o=n("07e3"),i=n("241e"),a=n("5559")("IE_PROTO"),r=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),o(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?r:null}},5559:function(e,t,n){var o=n("dbdb")("keys"),i=n("62a0");e.exports=function(e){return o[e]||(o[e]=i(e))}},5824:function(e,t,n){"use strict";var o=n("8bbf"),i=n.n(o),a=n("9243"),r=n.n(a),s=n("a925"),l=n("14a4"),u=n.n(l);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=p({imatrixUIPublicModel:{sure:"Sure",cancel:"Cancel",allDepartments:"All Departments",allUsers:"All Users",reset:"Reset",to:"To",edit:"Edit",clear:"Clear",download:"Download",delete:"Delete",preview:"Preview",add:"Add",graphView:"Graphic view",listView:"List View",fieldName:"Field Name",operator:"Operator",value:"Value",andOr:"And/Or",whenTheVariableIsEmpty:"When The Variable Is Empty",perhaps:"Perhaps",also:"Also",greaterThan:"Greater Than",lessThan:"Less Than",beEqualTo:"Be Equal To",notGreaterThan:"Not Greater Than",notLessThan:"Not Less Than",notEqualTo:"Not Equal To",contain:"Contain",notIncluded:"Not Included",laterThan:"Later Than",earlierThan:"Earlier Than",noLaterThan:"No Later Than",noEarlierThan:"No Earlier Than",ignore11:"Ignore (1 = 1)",nonConformity:"Non Conformity (1 < > 1)",switchToNormalQuery:"Switch To Normal Query",switchToAdvancedQuery:"Switch To Advanced Query",isNull:"Is Null",isNotNull:"Is Not Null",previewImage:"Preview image"},imatrixUIMessage:{whetherToConfirmDeletion:"Whether To Confirm Deletion",tips:"Tips",pleaseEnterContent:"Please Enter Content",internalServerError:"Server error, please contact administrator",pleaseSelectDepartment:"Please Select Department",pleaseSelectPersonnel:"Please Select Personnel",pleaseRemoveallpersonnelBeforeSelectingSpecificPersonnel:"Please Remove All Personnel Before Selecting Specific Personnel",queryResultIsEmpty:"Query Result Is Empty",pleaseSelectATeam:"Please Select A Team",pleaseEnterTeamName:"Please Enter Team Name",validationFailed:"Validation Failed",selectionDate:"Selection Date",selectTime:"Select Time",pleaseEnterATimePoint:"Please Enter A Time Point",pleaseSelect:"Please Select",startDate:"Start Date",endDate:"End Date",noExportColumnsConfigured:"No Export Columns Configured",organizationTreeNoResultNotRemove:"No information selected, no need to remove",exceedFileSize:"File size limit {filesize} M exceeded",upload:"Upload",invalideDoubleValue:"{num} is not a legal decimal",noJumpPage:"Jump page not configured",saveSuccessfully:"Savee successfully",pleaseInputSearchCondition:"Please enter the query criteria",fileUpload:"File Upload",selectYear:"Select Year",search:"Search",forbiddenException:"You do not have permission to access this resource",theButtonIsNotBoundToAResource:"The button is not bound to a resource, Bind the resource first"},superGrid:{columnConfig:"Column Config",pleaseSaveOrCancelEditingLine:"Please Save Or Cancel Editing Line {row} Data First",pleaseSaveLine:"Please Save Line {row} Data First",noNeedToSaveRow:"No Need To Save Row {row} Data",pleaseSetURLToSaveRowInformation:'Please set "URL to save row information"',lineSavedSuccessfully:"Line {row} Saved Successfully",theReturnValueOfTheBeforesaveCallbackMethodIsFalse:"The Return Value Of The Beforesave Callback Method Is False",lineNoNeedToUndoEdit:"Line {row} No Need To Undo Edit",lineCancelledSuccessfully:"Line {row} cancelled successfully",label:"Label",isShow:"Is Show",isExportable:"Is Exportable",recordLine:"Record line {row}",fileName:"File Name",deleteSuccessful:"Deleted successfully",index:"No.",searchConditionName:"Search Condition Name",pleaseInputSearchConditionName:"Please enter the name of the query criteria",saveCondition:"Save Condition",saveConditionTitle:"Save Condition",displayOrder:"Display Order",width:"Column Width",default:"Default",custom:"Custom",show:"Show",hidden:"Hidden",export:"Export",unExport:"Not Export",whetherToConfirmReset:"Are you sure you want to reset?",resetSuccessful:"Reset successfully",dragColumnOrderMessage:"Supports dragging to change column order",selectAll:"Select All",viewImage:"View Image",previewTitleWhenNotImg:"Non picture format, preview in other ways",refresh:"Refresh",open:"Open",fold:"Fold"},departmentTree:{},departmentTreeInline:{pleaseEnterDepartmentName:"Please Enter Department Name",name:"Department Name",code:"Department Code",removeDepartment:"Remove Department"},departmentUserTree:{pleaseEnterUserInformation:"Please Enter User Information",selectedPeople:"Selected People",searchFieldUserName:"Name",searchFieldLoginName:"Login Name",searchFieldEmail:"Email",searchFieldTelephone:"Telephone",searchFieldJobNumber:"Job Number",searchFieldHonorificName:"Honorific"},departmentUserTreeInline:{name:"Name",department:"Department",branch:"Branch",removeUser:"Remove User",email:"Email",loginName:"Login Name"},workgroupTree:{allTeamMembers:"All Team Members",name:"Workgroup Name",code:"Workgroup Code",removeWorkgroup:"Remove Workgroup"},workflowButton:{save:"Save",submit:"Submit",approve:"Approve",refuse:"Refuse",agreement:"Agree",oppose:"Opposition",kiken:"Abstention",get_back_button:"Retrieve",copy:"Copy",draw:"Draw",abandon_draw:"Give Up Draw",add_sign:"Additional Signature",remove_sign:"Reduction Of Signature",signoff:"Sign For",assign:"Hand over",assign_task:"Transfer",readed:"Readed",export_report:"Export Report"},workflowHistoryList:{specailText:"specail",index:"Index",taskName:"Task Name",operation:"Operation",opinion:"Opinion",processStart:"Process Start",processEnd:"Process End",process_start:"[{1}] process start",prcoess_end:"[{1}] process End",force_end_process:"{1}forced to end the process, and the task of [{2}] was canceled",history_jump:"Process {3} to [{1}], [{2}] task cancelled",history_back:"{1} returned to task,process returned to [{2}]",history_removesign:"{1} minus [{2}]",history_changetransactor_and_delegate:"{1} changed the handler [{2}] to [{3}], [{4}] delegated the task to [{5}]",history_changetransactor:"{1} changed handler [{2}] to [{3}]",history_addsign:"{1} sign [{2}]",history_addtransactor:"{1} add handler [{2}]",history_removetransactor:"{1} decrease handler [{2}]",history_delegate_and_assign:"{1} assigned tasks to [{2}], [{3}] delegated tasks to [{4}]",history_assign:"{1} assigned task to [{2}]",transfer:"{1} transferred to [{2}]",history_complete_transfer:"{1} execute [{2}] operation and canceled the task of other receivers [{3}]",history_delegate_receive:"{1} retracts the task entrusted to [{2}]",history_delegate:"{1} has delegated task [{2}] to [{3}]",history_quit_transfer:"{1} Resignation, has transferred task [{2}] to [{3}",history_change_job_transfer:"{1} Change job,has transferred task [{2}] to [{3}",commonButtonOperation:"{1} execute [{2}] operation",history_draw_task:"{1}received the task and cancelled the task of the candidate [{2}]",history_abandon_draw:"{1}gives up the task and restores the task of candidate [{2}]",toDoText:"Todo",operator:"Operator",operatorDept:"Operator Dept",operationTime:"Operation Time"},gateway:{timeout:"Interface call timeout",callFailed:"Interface call failed"},superNineGrid:{add:"Create"},fsUpload:{upload:"Upload",download:"Download",delete:"Delete",preview:"Preview",name:"Name",picture:"Picture",operating:"Operating",uploadSucceeded:"Upload succeeded",theNumberOfUploadsExceedsTheLimitTheLimitIs:"The number of uploads exceeds the limit. The limit is"},messageVideo:{attemptingToIdentify:"Attempting to identify",callingRearCamera:"Calling rear camera",identificationFailed:"Identification failed"}},u.a),m=f,h=n("11a6"),g=n.n(h);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=y({imatrixUIPublicModel:{sure:"确定",cancel:"取消",allDepartments:"所有部门",allUsers:"所有用户",reset:"重置",to:"至",edit:"操作",clear:"清空",download:"下载",delete:"删除",preview:"预览",add:"增加",graphView:"图形视图",listView:"列表视图",fieldName:"字段名(*)",operator:"操作符",value:"值(*)",andOr:"并且/或者",whenTheVariableIsEmpty:"变量为空时",perhaps:"或者",also:"并且",greaterThan:"大于",lessThan:"小于",beEqualTo:"等于",notGreaterThan:"不大于",notLessThan:"不小于",notEqualTo:"不等于",contain:"包含",notIncluded:"不包含",laterThan:"晚于",earlierThan:"早于",noLaterThan:"不晚于",noEarlierThan:"不早于",ignore11:"忽略(1=1)",nonConformity:"不符合(1<>1)",switchToNormalQuery:"切换为普通查询",switchToAdvancedQuery:"切换为高级查询",isNull:"等于Null",isNotNull:"不等于Null",previewImage:"预览图片"},imatrixUIMessage:{whetherToConfirmDeletion:"是否确认删除",tips:"提示",pleaseEnterContent:"请输入内容",internalServerError:"服务器出错了,请联系管理员",pleaseSelectDepartment:"请选择部门",pleaseSelectPersonnel:"请选择人员",pleaseRemoveallpersonnelBeforeSelectingSpecificPersonnel:"请先移除所有人员,再选择具体人员",queryResultIsEmpty:"查询结果为空",pleaseSelectATeam:"请选择工作组",pleaseEnterTeamName:"请输入工作组名称",validationFailed:"验证失败",selectionDate:"选择日期",selectTime:"选择时间",pleaseEnterATimePoint:"请输入时间点",pleaseSelect:"请选择",startDate:"开始日期",endDate:"结束日期",noExportColumnsConfigured:"没有配置导出列",organizationTreeNoResultNotRemove:"未选择任何信息,无需移除",exceedFileSize:"超过文件大小限制{fileSize}M",upload:"上传",invalideDoubleValue:"{num} 不是合法的小数",noJumpPage:"未配置跳转页面",saveSuccessfully:"保存成功",pleaseInputSearchCondition:"请输入查询条件",fileUpload:"文件上传",selectYear:"选择年",search:"查询",forbiddenException:"您没有权限访问该资源",theButtonIsNotBoundToAResource:"该按钮未绑定资源,请先绑定资源"},superGrid:{columnConfig:"字段配置",pleaseSaveOrCancelEditingLine:"请先保存或撤销编辑第 {row} 行数据",pleaseSaveLine:"请先保存第 {row} 行数据",noNeedToSaveRow:"无需保存第 {row} 行数据",pleaseSetURLToSaveRowInformation:"请设置“保存行信息的url”",lineSavedSuccessfully:"第 {row} 行保存成功",theReturnValueOfTheBeforesaveCallbackMethodIsFalse:"beforeSave回调方法返回值为false",lineNoNeedToUndoEdit:"第 {row} 行无需撤销编辑",lineCancelledSuccessfully:"第 {row} 行撤销成功",label:"字段名",isShow:"是否显示",isExportable:"是否导出",recordLine:"第 {row} 行记录",fileName:"文件名称",deleteSuccessful:"删除成功",index:"序号",searchConditionName:"查询条件名称",pleaseInputSearchConditionName:"请输入查询条件名称",saveCondition:"保存条件",saveConditionTitle:"保存查询条件",displayOrder:"显示顺序",width:"列宽",default:"默认",custom:"自定义",show:"显示",hidden:"隐藏",export:"导出",unExport:"不导出",whetherToConfirmReset:"是否确认重置?",resetSuccessful:"重置成功",dragColumnOrderMessage:"支持拖动改变列顺序",selectAll:"全选",viewImage:"查看图片",previewTitleWhenNotImg:"非图片格式,使用其它方式预览",refresh:"刷新",open:"展开",fold:"收起"},departmentTree:{},departmentTreeInline:{pleaseEnterDepartmentName:"请输入部门名称",name:"部门名称",code:"部门编码",removeDepartment:"移除部门"},departmentUserTree:{pleaseEnterUserInformation:"请输入用户信息",selectedPeople:"已选人员",searchFieldUserName:"姓名",searchFieldLoginName:"登录名",searchFieldEmail:"邮箱",searchFieldTelephone:"手机号",searchFieldJobNumber:"工号",searchFieldHonorificName:"尊称"},departmentUserTreeInline:{name:"姓名",department:"所属部门",branch:"所属分支",removeUser:"移除用户",email:"邮箱",loginName:"登录名"},workgroupTree:{allTeamMembers:"所有工作组人员",name:"工作组名称",code:"工作组编码",removeWorkgroup:"移除工作组"},workflowButton:{save:"暂存",submit:"提交",approve:"同意",refuse:"不同意",agreement:"赞成",oppose:"反对",kiken:"弃权",get_back_button:"取回",copy:"抄送",draw:"领取",abandon_draw:"放弃领取",add_sign:"加签",remove_sign:"减签",signoff:"签收",assign:"交办",assign_task:"转办",readed:"已阅",export_report:"导出报告"},workflowHistoryList:{specailText:"特",index:"序号",taskName:"环节名称",operation:"流转操作",opinion:"办理意见",processStart:"流程开始",processEnd:"流程结束",process_start:"[{1}]流程开始",prcoess_end:"[{1}]流程结束",force_end_process:"{1}强制结束了该流程,[{2}]的任务被取消",history_jump:"流程{3}到[{1}],[{2}]的任务被取消",history_back:"{1}退回任务,流程退回到[{2}]",history_removesign:"{1}给[{2}]减签",history_changetransactor_and_delegate:"{1}把办理人[{2}]更改成[{3})],{4}把任务委托给了[{5}]",history_changetransactor:"{1}把办理人[{2}]更改成[{3}]",history_addsign:"{1}给[{2}]加签",history_addtransactor:"{1}增加办理人[{2}]",history_removetransactor:"{1}减少办理人[{2}]",history_delegate_and_assign:"{1}把任务指派给了[{2}],[{3}]把任务委托给了[{4}]",history_assign:"{1}把任务指派给了[{2}]",transfer:"{1}移交给[{2}]",history_complete_transfer:"{1}执行了[{2}]操作,取消了其它接收人[{3}]的任务",history_delegate_receive:"{1}收回委托给[{2}]的任务",history_delegate:"{1}已把任务[{2}]委托给[{3}]",history_quit_transfer:"{1}离职,已把任务[{2}]移交给了[{3}]",history_change_job_transfer:"{1}换岗,已把任务[{2}]移交给了[{3}]",commonButtonOperation:"{1}执行了[{2}]操作",history_draw_task:"{1}领取了任务,取消了候选人[{2}]的任务",history_abandon_draw:"{1}放弃领取该任务,还原了候选人[{2}]的任务",toDoText:"待处理",operator:"操作人",operatorDept:"操作人部门",operationTime:"操作时间"},gateway:{timeout:"接口调用超时",callFailed:"接口调用失败"},superNineGrid:{add:"新建"},fsUpload:{upload:"上传",download:"下载",delete:"删除",preview:"预览",name:"名称",picture:"图片",operating:"操作",uploadSucceeded:"上传成功",theNumberOfUploadsExceedsTheLimitTheLimitIs:"上传数量超过限制,限制数量为"},messageVideo:{attemptingToIdentify:"正在尝试识别....",callingRearCamera:"正在调用后置摄像头...",identificationFailed:"识别失败"}},g.a),w=_;i.a.use(s["a"]);var C={en:m,cn:w},P=new s["a"]({locale:"cn",messages:C});r.a.i18n((function(e,t){return P.t(e,t)}));t["a"]=P},"584a":function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"5b4e":function(e,t,n){var o=n("36c3"),i=n("b447"),a=n("0fc9");e.exports=function(e){return function(t,n,r){var s,l=o(t),u=i(l.length),c=a(r,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},"5f7f":function(e,t,n){"use strict";n("3eb6")},"62a0":function(e,t){var n=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},"633f":function(e,t,n){e.exports={default:n("fa99"),__esModule:!0}},"63b6":function(e,t,n){var o=n("e53d"),i=n("584a"),a=n("d864"),r=n("35e8"),s=n("07e3"),l="prototype",u=function(e,t,n){var c,p,d,f=e&u.F,m=e&u.G,h=e&u.S,g=e&u.P,b=e&u.B,y=e&u.W,v=m?i:i[t]||(i[t]={}),_=v[l],w=m?o:h?o[t]:(o[t]||{})[l];for(c in m&&(n=t),n)p=!f&&w&&void 0!==w[c],p&&s(v,c)||(d=p?w[c]:n[c],v[c]=m&&"function"!=typeof w[c]?n[c]:b&&p?a(d,o):y&&w[c]==d?function(e){var t=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,o)}return e.apply(this,arguments)};return t[l]=e[l],t}(d):g&&"function"==typeof d?a(Function.call,d):d,g&&((v.virtual||(v.virtual={}))[c]=d,e&u.R&&_&&!_[c]&&r(_,c,d)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"65f1":function(module,__webpack_exports__,__webpack_require__){"use strict";var _common_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8217"),imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("f6cd"),buttonEvents={clickButton:function clickButton(button,system,listCode,ids,tableName,entityName,myJsContent,entities,deleteLogicSetting,formNoRuleCode,importRuleCode,beanName,isWorkflow,uuid){var _this=this;if("undefined"!==typeof button.isExtension&&!0===button.isExtension){var param={listCode:listCode,ids:ids,tableName:tableName,entityName:entityName,beanName:beanName,entities:entities,listToolbarFormData:this.listToolbarFormData},judgeFlag=this.judgeDataNumber(button,ids,!1),entity,dataId;if(!judgeFlag)return;if(this.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),button.autoSetValueData&&(param.autoSetValueData=JSON.stringify(button.autoSetValueData)),button.logSetting&&(param.logSettingText=button.logSetting),button.taskMap&&(param.taskMap=button.taskMap),param.systemCode||(param.systemCode=system.code),formNoRuleCode&&(param.formNoRuleCode=formNoRuleCode),importRuleCode&&(param.importRuleCode=importRuleCode),this.additionalParamMap&&(param.additionalParamMap=this.additionalParamMap),button.jumpPage)return ids&&ids.length>0&&(dataId=ids[0]),entities&&entities.length>0&&(entity=entities[0]),void this.jumpToPage(button.jumpPage,system,dataId,entity,this.additionalParamMap,ids,button.code,this.pageCode);if(myJsContent&&null!==myJsContent&&""!==myJsContent){var buttonFun=eval("("+myJsContent+")"),request=buttonFun(this,param);request&&request.then((function(e){_this.refreshMyList(button.successOperation,button.isNeedValueMapping,entities),_this.$message({showClose:!0,type:"success",message:_this.$t("superPageMessage.successfulOperation")}),_this.callAfterClickButton(_this.listEvents,_this.listCode+"__"+button.code,{params:_this.additionalParamMap,entity:entities})}))}else if(button&&void 0!==button.isNeedValueMapping&&!0===button.isNeedValueMapping){var successOperation;button.successOperation&&(successOperation=button.successOperation),successOperation||(successOperation="closeWindow"),this.refreshMyList(successOperation,!0,entities)}}else if("refresh"===button.code)this.refreshMyList(button.successOperation,button.isNeedValueMapping,entities);else if("create"===button.code)this.create(button.jumpPage,system,button,entities);else if("update"===button.code){var _judgeFlag=this.judgeDataNumber(button,ids,!0),_dataId,_entity;if(!_judgeFlag)return;ids&&1===ids.length&&(_dataId=ids[0]),entities&&entities.length>0&&(_entity=entities[0]),this.update(button.jumpPage,system,_dataId,button,ids,_entity)}else if("delete"===button.code){if(!ids||0===ids.length)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.pleaseSelectRecord")});this.delete(ids,system,button.restfulApiPath,tableName,entityName,myJsContent,button,deleteLogicSetting,entities,beanName,isWorkflow)}else if("downloadTemplate"===button.code){var templateUUID,templateShowPath;button.templateFiles&&button.templateFiles.length>0?(templateUUID=button.templateFiles[0].templateUUID,templateShowPath=button.templateFiles[0].templateShowPath):(templateUUID=button.templateUUID,templateShowPath=button.templateShowPath),this.downloadTemplate(templateUUID,templateShowPath,tableName,importRuleCode,system,button.logSetting,listCode,entityName,beanName,button)}else if("export"===button.code)this.export(listCode,button.functionCode,uuid);else if("viewDetail"===button.code){var _dataId2;if(ids&&1===ids.length&&(_dataId2=ids[0]),!_dataId2)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.pleaseSelectRecord")});this.viewDetail(button.jumpPage,system,_dataId2,button,null)}else if("submit"===button.code||"agree"===button.code||"disagree"===button.code){if(!ids||0===ids.length)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.pleaseSelectRecord")});this.submitGrid(ids,system,button.restfulApiPath,tableName,entityName,myJsContent,button,formNoRuleCode,button.code,entities&&entities.length>0?entities[0]:null,this.additionalParamMap,entities,beanName,isWorkflow)}},judgeDataNumber:function(e,t,n){if(e.conditionsForExecution&&""!==e.conditionsForExecution){if("one"===e.conditionsForExecution){if(!t||1!==t.length)return this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.thePreconditionOfTheButtonTo",{message:this.$t("superPageMessage.onlyOneRecordCanBeselected")})}),!1}else if("more"===e.conditionsForExecution&&(!t||t.length<=0))return this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.thePreconditionOfTheButtonTo",{message:this.$t("superPageMessage.selectAtLeastOneRecord")})}),!1}else if(void 0!==n&&!0===n&&(!t||1!==t.length))return this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.pleaseSelectRecord")}),!1;return!0},refreshMyList:function(e,t,n){if(e||(e="refresh"),console.log("refreshMyList--"),"refresh"===e)this.$refs.grid.refresh();else if("closeWindow"===e||"closeWindowAndRefresh"===e){if(void 0!==t&&!0===t&&n&&void 0!==n){var o,i=sessionStorage.getItem(this.pageCode+"-jumpMode");if(console.log("---update-value-closePage---jumpInfo=",i),i){var a=JSON.parse(i);o=a.rowIndex}this.$emit("update-value",n,this.tableName,o)}this.closePage(this.pageCode,e)}},create:function(e,t,n,o){console.log("create-------this.pageCode=",this.pageCode),this.jumpToPage(e,t,null,o&&o.length>0?o[0]:null,this.additionalParamMap,null,n.code,this.pageCode)},update:function(e,t,n,o,i,a){this.jumpToPage(e,t,n,a,this.additionalParamMap,i,o.code,this.pageCode)},viewDetail:function(e,t,n,o,i){this.jumpToPage(e,t,n,i,this.additionalParamMap,null,o.code,this.pageCode),Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"openPageButton","viewDetail")},delete:function _delete(ids,system,restfulApiPath,tableName,entityName,myJsContent,button,deleteLogicSetting,entities,beanName,isWorkflowEntity){var _this2=this;this.$confirm(this.$t("superPageMessage.whetherToConfirmDeletion"),this.$t("superPageMessage.tips"),{confirmButtonText:this.$t("superPageMessage.sure"),cancelButtonText:this.$t("superPageMessage.cancel"),type:"warning"}).then((function(){var path=restfulApiPath;if(!1===system.standard&&!path){var baseUrl=_this2.getBaseUrl(system);path=baseUrl+"/dsc/commons/"+tableName}path=_this2.getRealRestApiPath(path,system);var param={ids:ids,functionCode:button.functionCode},request;if(entityName&&(param.entityName=entityName),beanName&&(param.beanName=beanName),deleteLogicSetting&&(param.deleteLogicSetting=JSON.stringify(deleteLogicSetting)),button.logSetting&&(param.logSettingText=button.logSetting),button.isSafeDelete&&(param.isSafeDelete=button.isSafeDelete),button.taskMap&&(param.taskMap=button.taskMap),param.systemCode||(param.systemCode=system.code),param.isWorkflowEntity=isWorkflowEntity,myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this2,param)}else request=_this2.$http.delete(path,{data:param});request&&(button.loading=!0,request.then((function(e){_this2.refreshMyList(button.successOperation),_this2.$message({showClose:!0,type:"success",message:_this2.$t("superPageMessage.successfulDelete")}),_this2.callAfterClickButton(_this2.listEvents,_this2.listCode+"__"+button.code,{params:_this2.additionalParamMap,entity:_this2.selections}),_this2.selections=[],button.loading=!1})).catch((function(e){button.loading=!1})))})).catch((function(){}))},downloadTemplate:function(e,t,n,o,i,a,r,s,l,u){!t&&u.templateI18nLable&&(t=u.templateI18nLable);var c="?1=1";e&&t&&"undefined"!==e&&"undefined"!==t&&"null"!==e&&"null"!==t?c+="&fileName="+encodeURI(e)+"&showName="+encodeURI(t):t&&(c+="&showName="+encodeURI(t)),a&&""!==a&&(c+="&logSettingText="+a),i&&i.code&&(c+="&systemCode="+i.code),o&&(c+="&importCode="+o),r&&(c+="&listCode="+r),s&&(c+="&entityName="+s),l&&(c+="&beanName="+l),u&&u.functionCode&&(c+="&functionCode="+u.functionCode),n&&(c+="&tableName="+n);var p=this.getBaseUrl(i);window.open(p+"/dsc/commons/download-files"+c)},doImportFinally:function doImportFinally(system,restfulApiPath,tableName,entityName,myJsContent,button,listViewImportDuplicate,fileObj,judgeHeavyList,formNoRuleCode,importRuleCode,listCode,beanName){var _this3=this,param=new FormData;param.append("multipartFile",fileObj),tableName&&param.append("tableName",tableName),entityName&&param.append("entityName",entityName),beanName&&param.append("beanName",beanName),listViewImportDuplicate&&param.append("importDuplicateRule",listViewImportDuplicate),judgeHeavyList&&param.append("judgeHeavyList",JSON.stringify(judgeHeavyList)),formNoRuleCode&&param.append("formNoRuleCode",formNoRuleCode),importRuleCode&&param.append("importRuleCode",importRuleCode),listCode&&param.append("listCode",listCode);var isWorkflowEntity=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["d"])(this.pageCode,tableName+"_isProcess");null!==isWorkflowEntity&&void 0!==isWorkflowEntity&&param.append("isWorkflowEntity",isWorkflowEntity),button.functionCode&&param.append("functionCode",button.functionCode),console.log("导入按钮附加参数--this.additionalParamMap---",this.additionalParamMap),this.additionalParamMap&&param.append("additionalParamMap",this.additionalParamMap);var path=restfulApiPath,request;if(!1===system.standard&&!path){var baseUrl=this.getBaseUrl(system);path=baseUrl+"/dsc/commons/import-data"}if(path=this.getRealRestApiPath(path,system),myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else request=this.$http.post(path,param);request&&(button.importing=!0,request.then((function(e){var t=!1;e?(t=!1,_this3.$message({dangerouslyUseHTMLString:!0,showClose:!0,type:"warning",message:e})):(_this3.$message({showClose:!0,type:"success",message:_this3.$t("superPageMessage.successfulImport")}),t=!0),_this3.refreshMyList(button.successOperation),_this3.callAfterClickButton(_this3.listEvents,_this3.listCode+"__"+button.code,{params:_this3.additionalParamMap,result:t}),button.importing=!1})).catch((function(e){button.importing=!1,console.log("error==",e)})))},export:function(e,t,n){var o,i={};this.selections&&this.selections.length>0&&(i.data=this.selections);var a=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["d"])(this.pageCode,"_pageName");a&&(o=a),this.$exportDataNew(i,o,e,t,n),this.callAfterClickButton(this.listEvents,this.listCode+"__export",{params:this.additionalParamMap})},submitGrid:function(e,t,n,o,i,a,r,s,l,u,c,p,d,f){var m=this,h="superPageMessage.whetherToConfirm"+this.upperFirstCase(l);this.$confirm(this.$t(h,{name:r.label}),this.$t("superPageMessage.tips"),{confirmButtonText:this.$t("superPageMessage.sure"),cancelButtonText:this.$t("superPageMessage.cancel"),type:"warning"}).then((function(){var l,u={ids:e,formNoRuleCode:s,tableName:o,functionCode:r.functionCode};m.judgeHeavyList&&(u.judgeHeavyList=JSON.stringify(m.judgeHeavyList)),r.dataConversionRule&&(u.dataConversionRule=r.dataConversionRule.join(",")),r.autoSetValueData&&(u.autoSetValueData=JSON.stringify(r.autoSetValueData)),r.logSetting&&(u.logSettingText=r.logSetting),u.systemCode||(u.systemCode=t.code),r.taskMap&&(u.taskMap=r.taskMap),i&&(u.entityName=i),d&&(u.beanName=d),c&&(u.additionalParamMap=c),u.isWorkflowEntity=f,"submit"===r.code?l="/dsc/commons/batch-submits":"agree"===r.code?l="/dsc/commons/batch-approves":"disagree"===r.code&&(l="/dsc/commons/batch-refuses");var p=m.getSaveFormRequestByParam(t,n,u,a,l);p&&(r.loading=!0,p.then((function(e){m.refreshMyList(r.successOperation),m.$message({showClose:!0,type:"success",message:m.$t("superPageMessage.successfulOperation")}),m.callAfterClickButton(m.listEvents,m.listCode+"__"+r.code,{params:m.additionalParamMap}),r.loading=!1})).catch((function(e){r.loading=!1})))})).catch((function(e){console.log(e)}))},getDataTypeMapRequest:function(e,t){var n=this.getBaseUrl(e);return this.$http.get(n+"/dsc/commons/tables/"+t+"/data-types")},updateValues:function(e,t){console.log("update-value66-",e,t),Object(imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_1__["b"])(e,t,this.jumpPageSetting,this.editRow,this.tableName);var n=this.jumpPageSetting&&this.jumpPageSetting.updateValueEvent?this.jumpPageSetting.updateValueEvent:null;this.customEvents&&n&&null!==n&&this.customEvents[n]&&this.customEvents[n].call(this,{sourceModel:e,sourceTableName:t,jumpPageSetting:this.jumpPageSetting,entity:this.editRow,targetTableName:this.tableName})}};__webpack_exports__["a"]=buttonEvents},6718:function(e,t,n){var o=n("e53d"),i=n("584a"),a=n("b8e3"),r=n("ccb9"),s=n("d9f6").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=a?{}:o.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:r.f(e)})}},"68fb":function(e,t,n){},"69d3":function(e,t,n){n("6718")("asyncIterator")},"6abf":function(e,t,n){var o=n("e6f3"),i=n("1691").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,i)}},"6b4c":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"6c1c":function(e,t,n){n("c367");for(var o=n("e53d"),i=n("35e8"),a=n("481b"),r=n("5168")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=o[u],p=c&&c.prototype;p&&!p[r]&&i(p,r,u),a[u]=a.Array}},"71c1":function(e,t,n){var o=n("3a38"),i=n("25eb");e.exports=function(e){return function(t,n){var a,r,s=String(i(t)),l=o(n),u=s.length;return l<0||l>=u?e?"":void 0:(a=s.charCodeAt(l),a<55296||a>56319||l+1===u||(r=s.charCodeAt(l+1))<56320||r>57343?e?s.charAt(l):a:e?s.slice(l,l+2):r-56320+(a-55296<<10)+65536)}}},"746a":function(e,t,n){"use strict";var o=Object.prototype.hasOwnProperty,i=n("9c59"),a={},r="§";function s(){if(l.supported){var e,t=window.name,n=0;for(e in a=t.charAt(0)===r?i.parse(t.slice(1)):{},a)o.call(a,e)&&n++;l.length=n}}var l=e.exports={length:0,getItem:function(e){return o.call(a,e)?a[e]:null},setItem:function(e,t){a[e]=t,window.name=i.stringify(a,r),l.length++},removeItem:function(e){delete a[e],window.name=i.stringify(a,r),l.length--},clear:function(){a={},window.name="",l.length=0},supported:function(){return"object"===typeof window&&"string"===typeof window.name}()};s()},"765d":function(e,t,n){n("6718")("observable")},"794b":function(e,t,n){e.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"7a77":function(e,t,n){"use strict";function o(e){this.message=e}o.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},o.prototype.__CANCEL__=!0,e.exports=o},"7aac":function(e,t,n){"use strict";var o=n("c532");e.exports=o.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,a,r){var s=[];s.push(e+"="+encodeURIComponent(t)),o.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),o.isString(i)&&s.push("path="+i),o.isString(a)&&s.push("domain="+a),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7e90":function(e,t,n){var o=n("d9f6"),i=n("e4ae"),a=n("c3a1");e.exports=n("8e60")?Object.defineProperties:function(e,t){i(e);var n,r=a(t),s=r.length,l=0;while(s>l)o.f(e,n=r[l++],t[n]);return e}},8034:function(e,t,n){e.exports={default:n("a21f"),__esModule:!0}},8217:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"f",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"e",(function(){return u}));var o=n("18ce");function i(e,t){var n=o["a"].get(e);if(n)return n[t]}function a(e,t,n){var i=o["a"].get(e);i||(i={},o["a"].set(e,i)),i[t]=n}function r(e,t){var n=o["a"].get(e);n&&n[t]&&delete n[t]}function s(e,t,n,o){return{_pageDevMode:e,_sourceButtonCode:n,_pathQuery:o}}function l(e){return e.options&&e.options.colWidth?e.options.colWidth:24}function u(e){for(var t=0;t<e.length;t++)for(var n=e[t],o=0;o<n.colList.length;o++){var i=n.colList[o];if(l(i)<24)return!0}return!1}},8345:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return executeExpression}));var _calculator_factory__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("be23"),_calculator_factory_wf__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("1d68"),_util__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("29b3");function executeExpression(e,t,n,o){var i=Object(_calculator_factory__WEBPACK_IMPORTED_MODULE_0__["a"])(o),a=new i(e,t,n);return a.result}function parseSubTablePermissionCondition(express,dataTypeMap,parentEntity,subEntity,additionalParamMap,task,contextParameterMap){var expressTrueVal="true";if(!express)return!0;if(expressTrueVal.toLowerCase()===express.trim())return!0;var SQUARE_BRACKETS_LEFT="[",SQUARE_BRACKETS_RIGHT="]",AND="&&",OR="||",temp=express,strs=splitExpression(express);console.log("分割后的原子表达式为:",strs);for(var result=!1,i=0;i<strs.length;i++){console.log("开始分析原子表达式:",strs[i]);var atomicExpress=strs[i];if(atomicExpress&&atomicExpress.trim()){var name=atomicExpress.substring(atomicExpress.indexOf(SQUARE_BRACKETS_LEFT)+SQUARE_BRACKETS_LEFT.length,atomicExpress.indexOf(SQUARE_BRACKETS_RIGHT)),dataType="TEXT";null!=dataTypeMap&&null!=dataTypeMap[name]&&(dataType=dataTypeMap[name]),result=parseFieldCondition(atomicExpress,dataType,parentEntity,subEntity,additionalParamMap,task,contextParameterMap),console.log("原子表达式:",atomicExpress,"的分析结果为 ",result),temp=temp.replace(atomicExpress.trim(),result+""),console.log("将原子表达式替换为它的结果后:",temp)}}return temp=temp.replace(/condition.operator.and/g,AND),temp=temp.replace(/condition.operator.or/g,OR),temp.trim().endsWith(OR)&&(temp=temp.substring(0,temp.lastIndexOf(OR))),temp.trim().endsWith(AND)&&(temp=temp.substring(0,temp.lastIndexOf(AND))),console.log("最终该流向的表达式为:",temp),eval("("+temp+")")}function parseFieldCondition(e,t,n,o,i,a,r){if(!e)return!1;var s="[",l="]";e=e.trim();var u=e.substring(e.indexOf(s)+s.length,e.indexOf(l)),c=e.substring(0,e.indexOf(" ")),p=e.substring(e.indexOf(" ")+1),d=p.substring(p.indexOf(" ")+1).trim(),f=Object(_util__WEBPACK_IMPORTED_MODULE_2__["d"])(d,n,i,r,null,o,a);null!=f&&(e=e.replace(d,f.toString()));var m=getValue(o,u);if((void 0===m||null===m||""===m)&&("DATE"===t||"TIME"===t))return!1;console.log("对应值为:",m);var h=Object(_calculator_factory_wf__WEBPACK_IMPORTED_MODULE_1__["a"])(t),g=e.replace(c,m),b=new h(g),y=b.result;return console.log("判断结果为:",y),y}function splitExpression(e){var t="\\*",n="";return e=e.replace(/condition.operator.and/g,t),e=e.replace(/condition.operator.or/g,t),e=e.replace(/\(/g,n),e=e.replace(/\)/g,n),e.split(t)}function getValue(e,t){var n=Object(_util__WEBPACK_IMPORTED_MODULE_2__["c"])(e,t);return void 0===n||null==n?"":n+""}},8436:function(e,t){e.exports=function(){}},"854e":function(e,t,n){},"859e":function(module,__webpack_exports__,__webpack_require__){"use strict";var _common_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8217"),imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("f6cd"),buttonEvents={clickWorkflowExtensionButton:function clickWorkflowExtensionButton(system,tableName,model,definitionId,emailTemplateCode,formViewCode,formViewVersion,myJsContent,formNoRuleCode,successOperation,dataConversionRule,autoSetValueData,button,needDeleteFileUuid,entityName,beanName){var _this=this,param={entity:model,system:system,formViewCode:formViewCode,formViewVersion:formViewVersion,tableName:tableName,emailTemplateCode:emailTemplateCode,definitionId:definitionId,completeTaskParam:{taskId:this.completeTaskParam.taskId},formNoRuleCode:formNoRuleCode,entityName:entityName,beanName:beanName},dataId;if(this.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),dataConversionRule&&(param.dataConversionRule=dataConversionRule.join(",")),autoSetValueData&&(param.autoSetValueData=JSON.stringify(autoSetValueData)),button&&button.taskMap&&(param.taskMap=button.taskMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),button.jumpPage)return model&&(dataId=model.id||model.ID),void this.jumpToPage(button.jumpPage,system,dataId,model,this.additionalParamMap,null,button.code,this.pageCode);if(myJsContent&&null!==myJsContent&&""!==myJsContent){var buttonFun=eval("("+myJsContent+")"),request=buttonFun(this,param);request&&request.then((function(e){var t=!0;e&&(t=_this.dealCompleteTaskParam(e,!1,successOperation,button.code,null,null,button.isNeedValueMapping)),!0===t&&_this.$message({showClose:!0,type:"success",message:_this.$t("superPageMessage.successfulOperation")})}))}else if(button&&void 0!==button.isNeedValueMapping&&!0===button.isNeedValueMapping){var _successOperation;button.successOperation&&(_successOperation=button.successOperation),_successOperation||(_successOperation="closeWindow"),this.afterSuccessOperateInForm(_successOperation,model,!0)}},clickWorflowButton:function(e,t,n,o,i,a,r,s,l,u,c,p,d,f,m,h,g,b,y,v,_,w,C,P){if("startInstance"===e||"update"===e)this.startInstance(t,n,o,i,a,s,l,u,c,p,d,f,h,g,e,v,_,w,C);else if("submitProcess"===e)this.submitProcess(t,n,o,i,a,s,l,u,c,p,d,f,m,h,g,e,v,_,w,C);else if("completeTask"===e)this.complateTask(t,n,o,r,s,l,u,c,d,f,m,h,g,e,v,_,w,C);else if("drawTask"===e)this.drawTask(t,n,o,s,l,u,c,d,g,e,v,_,C);else if("abandonDraw"===e)this.abandonReceive(t,n,o,s,l,u,c,d,g,e,v,_,C);else if("retrieveTask"===e)this.retrieve(t,n,o,s,l,u,c,d,g,e,v,_,C);else if("assignTask"===e)this.assignTask();else if(0===e.indexOf("#_default_#")){if("#_default_#submit"===e||"#_default_#agree"===e||"#_default_#disagree"===e){var S;"#_default_#submit"===e?S="/dsc/workflow-commons/common-submits":"#_default_#agree"===e?S="/dsc/workflow-commons/common-approves":"#_default_#disagree"===e&&(S="/dsc/workflow-commons/common-refuses");var O=e.substring(e.lastIndexOf("#")+1);this.submitForm(t,n,o,s,l,u,c,p,d,f,h,S,g,O,b,y,v,_,w,C,P?P.functionCode:"")}}else"addSigner"===e?this.addSigner():"createCopyTask"===e?this.createCopyTask():"removeSigner"===e&&this.removeSigner(t,u,o,g,C)},startInstance:function startInstance(system,tableName,model,definitionId,emailTemplateCode,formViewCode,formViewVersion,myEntityName,myJsContent,formNoRuleCode,successOperation,dataConversionRule,autoSetValueData,logSettingText,buttonType,isNeedValueMapping,taskMap,needDeleteFileUuid,beanName){var _this2=this,path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons"),path=this.getRealRestApiPath(path,system),path){var param={entity:model,formNoRuleCode:formNoRuleCode},request;if(!1===system.standard&&(param={entity:model,tableName:tableName,emailTemplateCode:emailTemplateCode,definitionId:definitionId,formViewCode:formViewCode,formViewVersion:formViewVersion,formNoRuleCode:formNoRuleCode,functionCode:this.permissionPrefix+".xxx"}),this.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),dataConversionRule&&(param.dataConversionRule=dataConversionRule.join(",")),autoSetValueData&&(param.autoSetValueData=JSON.stringify(autoSetValueData)),myEntityName&&(param.entityName=myEntityName),beanName&&(param.beanName=beanName),logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),this.dataTypeMap&&(param.dataTypeMap=this.dataTypeMap),taskMap&&(param.taskMap=taskMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),this.additionalParamMap&&(param.additionalParamMap=this.additionalParamMap),param.isWorkflowEntity=!0,myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else request=model.id||model.ID?this.$http.put(path,param):this.$http.post(path,param);request&&request.then((function(e){var t=!0;e&&(t=_this2.dealCompleteTaskParam(e,!1,successOperation,buttonType,null,null,isNeedValueMapping)),!0===t&&_this2.$message({showClose:!0,type:"success",message:_this2.$t("superPageMessage.successfulSave")})}))}else this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},submitProcess:function submitProcess(system,tableName,model,definitionId,emailTemplateCode,formViewCode,formViewVersion,myEntityName,myJsContent,formNoRuleCode,successOperation,dataConversionRule,processEndlogicSetting,autoSetValueData,logSettingText,buttonType,isNeedValueMapping,taskMap,needDeleteFileUuid,beanName){var _this3=this,path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons/submit"),path=this.getRealRestApiPath(path,system),path){var param={entity:model,formNoRuleCode:formNoRuleCode},request;if(!1===system.standard&&(param={entity:model,tableName:tableName,emailTemplateCode:emailTemplateCode,definitionId:definitionId,formViewCode:formViewCode,formViewVersion:formViewVersion,formNoRuleCode:formNoRuleCode,functionCode:this.permissionPrefix+".xxx"}),this.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),dataConversionRule&&(param.dataConversionRule=dataConversionRule.join(",")),autoSetValueData&&(param.autoSetValueData=JSON.stringify(autoSetValueData)),myEntityName&&(param.entityName=myEntityName),beanName&&(param.beanName=beanName),processEndlogicSetting&&(param.processEndLogicSetting=JSON.stringify(processEndlogicSetting)),logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),this.dataTypeMap&&(param.dataTypeMap=this.dataTypeMap),taskMap&&(param.taskMap=taskMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),this.additionalParamMap&&(param.additionalParamMap=this.additionalParamMap),myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else request=this.$http.post(path,param);request&&request.then((function(e){var t=!0;e&&(t=_this3.dealCompleteTaskParam(e,!1,successOperation,buttonType,null,null,isNeedValueMapping)),!0===t&&_this3.$message({showClose:!0,type:"success",message:_this3.$t("superPageMessage.successfulSubmit")})}))}else this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},complateTask:function complateTask(system,tableName,model,operationResult,formViewCode,formViewVersion,myEntityName,myJsContent,successOperation,dataConversionRule,processEndlogicSetting,autoSetValueData,logSettingText,buttonType,isNeedValueMapping,taskMap,needDeleteFileUuid,beanName){var _this4=this,path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons/complete-tasks"),path=this.getRealRestApiPath(path,system),path){var param={entity:model,completeTaskParam:{operationResult:operationResult,taskId:this.completeTaskParam.taskId}},request;if(!1===system.standard&&(param={entity:model,tableName:tableName,completeTaskParam:{operationResult:operationResult,taskId:this.completeTaskParam.taskId},formViewCode:formViewCode,formViewVersion:formViewVersion,functionCode:this.permissionPrefix+".xxx"}),this.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),dataConversionRule&&(param.dataConversionRule=dataConversionRule.join(",")),autoSetValueData&&(param.autoSetValueData=JSON.stringify(autoSetValueData)),myEntityName&&(param.entityName=myEntityName),beanName&&(param.beanName=beanName),processEndlogicSetting&&(param.processEndLogicSetting=JSON.stringify(processEndlogicSetting)),logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),this.dataTypeMap&&(param.dataTypeMap=this.dataTypeMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),this.additionalParamMap&&(param.additionalParamMap=this.additionalParamMap),console.log("办理任务",taskMap),taskMap&&(param.taskMap=taskMap),console.log("办理任务param",param),myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else request=this.$http.post(path,param);request&&request.then((function(e){var t=!0;e&&(t=_this4.dealCompleteTaskParam(e,!1,successOperation,buttonType,_this4.completeTaskParam.taskId,operationResult,isNeedValueMapping)),!0===t&&_this4.$message({showClose:!0,type:"success",message:_this4.$t("superPageMessage.successfulCompleteTask")})}))}else this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},dealCompleteTaskParam:function(e,t,n,o,i,a,r){e.entity&&(this.formData=e.entity,this.formNo=e.formNo,Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"_formData",this.formData));var s=e.completeTaskResult;if(s){var l=s.completeTaskTipType;if(l&&"MESSAGE"===l){var u=s.content;return this.$message({showClose:!0,type:"warning",message:u}),!1}}return e.completeTaskParam&&(this.completeTaskParam=e.completeTaskParam,Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"_completeTaskParam",this.completeTaskParam),this.$set(this.formOptions,"fieldPermissions",this.completeTaskParam.fieldPermissions),this.$set(this.formOptions,"actionPermissions",this.completeTaskParam.actionPermissions),this.workflowButtonComponent=this.completeTaskParam.buttonComponent),Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"_currentActivityName",e.taskName),t||(o&&this.callAfterClickButton(this.formEvents,this.formViewCode+"__"+o,{params:this.additionalParamMap,entity:this.formData,taskId:i,operationResult:a}),this.afterSuccessOperateInForm(n,this.formData,r)),this.reviewButton(),!0},transactTask:function transactTask(system,tableName,model,path,successMessageTip,nodeName,nodeId,formViewCode,formViewVersion,myEntityName,myJsContent,successOperation,formNoRuleCode,dataConversionRule,autoSetValueData,assigneeId,logSettingText,buttonType,ids,isBatchProcessing,isNeedValueMapping,taskMap,needDeleteFileUuid,beanName,functionCode){var _this5=this;return new Promise((function(resolve,reject){if(path=_this5.getRealRestApiPath(path,system),path){var param={entity:model,formNoRuleCode:formNoRuleCode},request;if(!1===system.standard&&(param={entity:model,tableName:tableName,completeTaskParam:{taskId:_this5.completeTaskParam.taskId},formViewCode:formViewCode,formViewVersion:formViewVersion}),param.functionCode=functionCode||_this5.permissionPrefix+".xxx",assigneeId&&(param.assigneeId=assigneeId),_this5.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(_this5.judgeHeavyList)),nodeName&&nodeId&&(param.returnToNodeName=nodeName,param.returnToNodeId=nodeId),myEntityName&&(param.entityName=myEntityName),beanName&&(param.beanName=beanName),dataConversionRule&&(param.dataConversionRule=dataConversionRule.join(",")),autoSetValueData&&(param.autoSetValueData=JSON.stringify(autoSetValueData)),logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),_this5.dataTypeMap&&(param.dataTypeMap=_this5.dataTypeMap),_this5.ids&&ids.length>0&&(param.ids=ids),taskMap&&(param.taskMap=taskMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),_this5.additionalParamMap&&(param.additionalParamMap=_this5.additionalParamMap),param.isBatchProcessing=isBatchProcessing,param.isWorkflowEntity=!0,myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this5,param)}else request=_this5.$http.post(path,param);request&&request.then((function(e){var t=!0;e&&(t=_this5.dealCompleteTaskParam(e,!1,successOperation,buttonType,_this5.completeTaskParam.taskId,null,isNeedValueMapping)),!0===t&&_this5.$message({showClose:!0,type:"success",message:_this5.$t(successMessageTip)}),resolve(!0)}))}else _this5.$message({showClose:!0,type:"warning",message:_this5.$t("superPageMessage.requestPathEmpty")})}))},retrieve:function(e,t,n,o,i,a,r,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/retrieves"),this.transactTask(e,t,n,f,"superPageMessage.successfulRetrieve",!1,!1,o,i,a,r,s,null,null,null,null,l,u,null,null,c,p,null,d)},drawTask:function(e,t,n,o,i,a,r,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/draw-tasks"),this.transactTask(e,t,n,f,"superPageMessage.successfulDrawTask",!1,!1,o,i,a,r,s,null,null,null,null,l,u,null,null,c,p,null,d)},abandonReceive:function(e,t,n,o,i,a,r,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/abandon-receives"),this.transactTask(e,t,n,f,"superPageMessage.successfulAbandonReceive",!1,!1,o,i,a,r,s,null,null,null,null,l,u,null,null,c,p,null,d)},assign:function(e,t,n,o,i,a,r,s,l,u,c){var p=this;if(l){var d;!1===e.standard&&(d=this.getBaseUrl(e)+"/dsc/workflow-commons/assigns");var f=l.id?l.id:l.ID?l.ID:null;this.transactTask(e,t,n,d,"superPageMessage.successfulAssign",!1,!1,o,i,a,r,s,null,null,null,f,this.logSetting,"assignTask",null,null,u,null,null,c).then((function(e){p.selectAssignUser=!1}))}else this.selectAssignUser=!1},returnToPreviousTask:function(e,t,n,o,i,a,r,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/return-to-previous-tasks"),this.transactTask(e,t,n,p,"superPageMessage.successfulReturnToPreviousTask",!1,!1,o,i,a,r,s,null,null,null,null,this.logSetting,"returnToPreviousTask",null,null,l,u,null,c)},getTaskInformitions:function(e,t,n){var o,i=this;if(!1===e.standard&&(o=this.getBaseUrl(e)+"/dsc/workflow-commons/returnable-task/"+this.completeTaskParam.taskId),o=this.getRealRestApiPath(o,e),o){this.showTaskInformitions=!1;var a={entityName:t,beanName:n,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"};this.$http.post(o,a).then((function(e){i.taskInformitions=e,i.showTaskInformitions=!0})).catch((function(e){i.showTaskInformitions=!1}))}else this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},returnTaskTo:function(e,t,n,o,i,a,r,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/returnTaskTo"),this.transactTask(e,t,n,p,"superPageMessage.successfulReturnTaskTo",o.nodeName,o.nodeId,i,a,r,s,l,null,null,null,null,this.logSetting,"returnTaskTo",null,null,u,null,null,c)},endInstance:function(e,t,n,o,i,a,r,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/end-instance"),this.transactTask(e,t,n,p,"superPageMessage.successfulEndInstance",!1,!1,o,i,a,r,s,null,null,null,null,this.logSetting,"endInstance",null,null,l,u,null,c)},submitForm:function(e,t,n,o,i,a,r,s,l,u,c,p,d,f,m,h,g,b,y,v,_){var w;!1===e.standard&&(w=this.getBaseUrl(e)+p),this.transactTask(e,t,n,w,"superPageMessage.successfulOperation",!1,!1,o,i,a,r,l,s,u,c,null,d,f,m,h,g,b,y,v,_)},addSigner:function(){this.isMulti=!0,this.selectAddSignerUser=!0},doAddSigner:function doAddSigner(selectNodeInfo,myJsContent,system,entityName,beanName,dataId,model,successOperation,isNeedValueMapping){var _this8=this;if(selectNodeInfo){var path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons/add-signers"),path=this.getRealRestApiPath(path,system),!path)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")});var requestParams={entityName:entityName,beanName:beanName,id:dataId,entity:model,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"},request;if(requestParams.completeTaskParam={taskId:this.completeTaskParam.taskId,transactors:selectNodeInfo.userIds.join(",").split(","),systemCode:system.code},myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,requestParams)}else request=this.$http.post(path,requestParams);request&&request.then((function(e){_this8.$message({showClose:!0,type:"success",message:_this8.$t("superPageMessage.successfulOperation")}),e.entity&&(_this8.formData=e.entity,_this8.afterSuccessOperateInForm(successOperation,_this8.formData,isNeedValueMapping)),_this8.callAfterClickButton(_this8.formEvents,_this8.formViewCode+"__addSigner",{params:_this8.additionalParamMap,entity:_this8.formData}),_this8.selectAddSignerUser=!1}))}else this.selectAddSignerUser=!1},createCopyTask:function(){this.isMulti=!0,this.selectCopyUser=!0},doCreateCopyTask:function doCreateCopyTask(selectNodeInfo,myJsContent,system,entityName,beanName){var _this9=this;if(selectNodeInfo){var path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons/copies"),path=this.getRealRestApiPath(path,system),!path)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")});var requestParams={entityName:entityName,beanName:beanName,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"},request;if(requestParams.completeTaskParam={taskId:this.completeTaskParam.taskId,transactors:selectNodeInfo.userIds.join(",").split(","),systemCode:system.code},myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,requestParams)}else request=this.$http.post(path,requestParams);request&&request.then((function(){_this9.$message({showClose:!0,type:"success",message:_this9.$t("superPageMessage.successfulOperation")}),_this9.callAfterClickButton(_this9.formEvents,_this9.formViewCode+"__createCopyTask",{params:_this9.additionalParamMap,entity:_this9.formData}),_this9.selectCopyUser=!1}))}else this.selectCopyUser=!1},removeSigner:function(e,t,n,o,i){var a,r=this,s={};!1===e.standard?(a=this.getBaseUrl(e)+"/dsc/workflow-commons/get-remove-signers",o&&""!==o&&(s.logSettingText=o),s.entityName=t,s.beanName=i,s.systemCode=e.code,s.entity=n,s.additionalParamMap=this.additionalParamMap,s.tableName=this.tableName,s.functionCode=this.permissionPrefix+".xxx"):n.workflowInfo&&(s.entity=n),a=this.getRealRestApiPath(a,e),a?this.$http.post(a,s).then((function(e){r.activeTasks=e,r.showRemoveSigner=!0})):this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},doRemoveSigners:function doRemoveSigners(selectRemoveTasks,myJsContent,system,entityName,beanName){var _this11=this;if(selectRemoveTasks){var path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons/remove-signers"),path=this.getRealRestApiPath(path,system),!path)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")});var taskIds=selectRemoveTasks.map((function(e){return e.id?e.id:e.ID?e.ID:null})),request;if(myJsContent){var param={taskIds:taskIds,entityName:entityName,beanName:beanName,systemCode:system.code,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"},buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else{var requestParams={entityName:entityName,beanName:beanName,ids:taskIds,systemCode:system.code,additionalParamMap:this.additionalParamMap};request=this.$http.post(path,requestParams)}request&&request.then((function(){_this11.$message({showClose:!0,type:"success",message:_this11.$t("superPageMessage.successfulOperation")}),_this11.callAfterClickButton(_this11.formEvents,_this11.formViewCode+"__removeSigner",{params:_this11.additionalParamMap,entity:_this11.formData}),_this11.showRemoveSigner=!1}))}else this.showRemoveSigner=!1},assignTask:function(){this.isMulti=!1,this.selectAssignUser=!0},updateValues:function(e,t){Object(imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_1__["b"])(e,t,this.jumpPageSetting,this.formData,this.tableName);var n=this.jumpPageSetting&&this.jumpPageSetting.updateValueEvent?this.jumpPageSetting.updateValueEvent:null;this.customEvents&&n&&null!==n&&this.customEvents[n]&&this.customEvents[n].call(this,{sourceModel:e,sourceTableName:t,jumpPageSetting:this.jumpPageSetting,entity:this.formData,targetTableName:this.tableName}),this.updateFormData(this.formData)},downloadTemplate:function(e,t,n){var o,i;t.templateFiles&&t.templateFiles.length>0?(o=t.templateFiles[0].templateUUID,i=t.templateFiles[0].templateShowPath):(o=t.templateUUID,i=t.templateShowPath);var a="?1=1";t&&t.functionCode&&(a+="&functionCode="+t.functionCode),n&&(a+="&tableName="+n),o&&i&&"undefined"!==o&&"undefined"!==i&&"null"!==o&&"null"!==i&&(a+="&fileName="+encodeURI(o)+"&showName="+encodeURI(i));var r=this.getBaseUrl(e);window.open(r+"/dsc/commons/download-files"+a)}};__webpack_exports__["a"]=buttonEvents},"8aae":function(e,t,n){n("32a6"),e.exports=n("584a").Object.keys},"8bbf":function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__8bbf__},"8df4":function(e,t,n){"use strict";var o=n("7a77");function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new o(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e,t=new i((function(t){e=t}));return{token:t,cancel:e}},e.exports=i},"8e60":function(e,t,n){e.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8f60":function(e,t,n){"use strict";var o=n("a159"),i=n("aebd"),a=n("45f2"),r={};n("35e8")(r,n("5168")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=o(r,{next:i(1,n)}),a(e,t+" Iterator")}},9003:function(e,t,n){var o=n("6b4c");e.exports=Array.isArray||function(e){return"Array"==o(e)}},9138:function(e,t,n){e.exports=n("35e8")},9243:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var o=n("633f"),i=f(o),a=n("11a6"),r=f(a),s=n("8bbf"),l=f(s),u=n("3c4e"),c=f(u),p=n("949b"),d=f(p);function f(e){return e&&e.__esModule?e:{default:e}}var m=(0,d.default)(l.default),h=r.default,g=!1,b=function(){var e=(0,i.default)(this||l.default).$t;if("function"===typeof e&&l.default.locale)return g||(g=!0,l.default.locale(l.default.config.lang,(0,c.default)(h,l.default.locale(l.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},y=t.t=function(e,t){var n=b.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var o=e.split("."),i=h,a=0,r=o.length;a<r;a++){var s=o[a];if(n=i[s],a===r-1)return m(n,t);if(!n)return"";i=n}return""},v=t.use=function(e){h=e||h},_=t.i18n=function(e){b=e||b};t.default={use:v,t:y,i18n:_}},"949b":function(e,t,n){"use strict";t.__esModule=!0;var o=n("1098"),i=r(o);t.default=function(){function e(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return 1===n.length&&"object"===(0,i.default)(n[0])&&(n=n[0]),n&&n.hasOwnProperty||(n={}),e.replace(s,(function(t,o,i,r){var s=void 0;return"{"===e[r-1]&&"}"===e[r+t.length]?i:(s=(0,a.hasOwn)(n,i)?n[i]:null,null===s||void 0===s?"":s)}))}return e};var a=n("bf32");function r(e){return e&&e.__esModule?e:{default:e}}var s=/(%|)\{([0-9a-zA-Z_]+)\}/g},9598:function(e,t,n){},9696:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c}));var o=n("bc95"),i=n.n(o),a=n("8bbf"),r=n.n(a);function s(e){if(void 0===r.a.prototype.projectModel||"developing.model"!==r.a.prototype.projectModel){var t=l(location.href);if(i.a.setItem("relativeUrl",t),t&&e){var n="",o=e.split("/");if(o.length>=3){var a=o[0]+"//"+o[2];n=e.substring(e.indexOf(a)+a.length)}return t.lastIndexOf("/")===t.length-1&&(t=t.substring(0,t.lastIndexOf("/"))),n?t+n:t}}return e}function l(e){var t=e.split("#");if(t.length>0){var n=t[0],o=n,i=n.split("/");return i.length>=3&&(o=i[0]+"//"+i[2]+"/"),o}}function u(e){return r.a.prototype.projectModel&&"developing.model"===r.a.prototype.projectModel&&r.a.prototype.frontUrl?r.a.prototype.frontUrl:s(e)}function c(e){return r.a.prototype.projectModel&&"developing.model"===r.a.prototype.projectModel&&r.a.prototype.baseURL?r.a.prototype.baseURL:s(e)}},"99d1":function(e,t,n){"use strict";n("854e")},"9aa9":function(e,t){t.f=Object.getOwnPropertySymbols},"9c59":function(e,t,n){"use strict";var o=Object.prototype.hasOwnProperty;function i(e){for(var t,n=/([^=?&]+)=?([^&]*)/g,o={};t=n.exec(e);o[decodeURIComponent(t[1])]=decodeURIComponent(t[2]));return o}function a(e,t){t=t||"";var n=[];for(var i in"string"!==typeof t&&(t="?"),e)o.call(e,i)&&n.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return n.length?t+n.join("&"):""}t.stringify=a,t.parse=i},a159:function(e,t,n){var o=n("e4ae"),i=n("7e90"),a=n("1691"),r=n("5559")("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n("1ec9")("iframe"),o=a.length,i="<",r=">";t.style.display="none",n("32fc").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+r+"document.F=Object"+i+"/script"+r),e.close(),u=e.F;while(o--)delete u[l][a[o]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=o(e),n=new s,s[l]=null,n[r]=e):n=u(),void 0===t?n:i(n,t)}},a21f:function(e,t,n){var o=n("584a"),i=o.JSON||(o.JSON={stringify:JSON.stringify});e.exports=function(e){return i.stringify.apply(i,arguments)}},a78e:function(e,t,n){var o,i;
8
8
  /*!
9
9
  * JavaScript Cookie v2.2.1
10
10
  * https://github.com/js-cookie/js-cookie
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-pages",
3
- "version": "0.7.61-dw",
3
+ "version": "0.7.62-dw",
4
4
  "description": "页面组件",
5
5
  "main": "lib/super-pages.umd.min.js",
6
6
  "keyword": "super-pages",