super-pages 0.7.63-boe01 → 0.7.63-boe02

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 n(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:n});else{var o=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,o.call(this,e)}}function n(){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)}}o.d(t,"a",(function(){return D}));var r="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},i=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){i&&(e._devtoolHook=i,i.emit("vuex:init",e),i.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){i.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){i.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){Object.keys(e).forEach((function(o){return t(e[o],o)}))}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 o=e.state;this.state=("function"===typeof o?o():o)||{}},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,o){if(t.update(o),o.modules)for(var n in o.modules){if(!t.getChild(n))return void 0;m(e.concat(n),t.getChild(n),o.modules[n])}}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,o){return t=t.getChild(o),e+(t.namespaced?o+"/":"")}),"")},f.prototype.update=function(e){m([],this.root,e)},f.prototype.register=function(e,t,o){var n=this;void 0===o&&(o=!0);var r=new p(t,o);if(0===e.length)this.root=r;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],r)}t.modules&&s(t.modules,(function(t,r){n.register(e.concat(r),t,o)}))},f.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),o=e[e.length-1],n=t.getChild(o);n&&n.runtime&&t.removeChild(o)},f.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),o=e[e.length-1];return!!t&&t.hasChild(o)};var h;var g=function(e){var t=this;void 0===e&&(e={}),!h&&"undefined"!==typeof window&&window.Vue&&x(window.Vue);var o=e.plugins;void 0===o&&(o=[]);var n=e.strict;void 0===n&&(n=!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 r=this,i=this,s=i.dispatch,l=i.commit;this.dispatch=function(e,t){return s.call(r,e,t)},this.commit=function(e,t,o){return l.call(r,e,t,o)},this.strict=n;var u=this._modules.root.state;w(this,u,[],this._modules.root),_(this,u),o.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:h.config.devtools;c&&a(this)},b={state:{configurable:!0}};function y(e,t,o){return t.indexOf(e)<0&&(o&&o.prepend?t.unshift(e):t.push(e)),function(){var o=t.indexOf(e);o>-1&&t.splice(o,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 o=e.state;w(e,o,[],e._modules.root,!0),_(e,o,t)}function _(e,t,o){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,i={};s(r,(function(t,o){i[o]=c(t,e),Object.defineProperty(e.getters,o,{get:function(){return e._vm[o]},enumerable:!0})}));var a=h.config.silent;h.config.silent=!0,e._vm=new h({data:{$$state:t},computed:i}),h.config.silent=a,e.strict&&T(e),n&&(o&&e._withCommit((function(){n._data.$$state=null})),h.nextTick((function(){return n.$destroy()})))}function w(e,t,o,n,r){var i=!o.length,a=e._modules.getNamespace(o);if(n.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=n),!i&&!r){var s=E(t,o.slice(0,-1)),l=o[o.length-1];e._withCommit((function(){h.set(s,l,n.state)}))}var u=n.context=C(e,a,o);n.forEachMutation((function(t,o){var n=a+o;S(e,n,t,u)})),n.forEachAction((function(t,o){var n=t.root?o:a+o,r=t.handler||t;O(e,n,r,u)})),n.forEachGetter((function(t,o){var n=a+o;k(e,n,t,u)})),n.forEachChild((function(n,i){w(e,t,o.concat(i),n,r)}))}function C(e,t,o){var n=""===t,r={dispatch:n?e.dispatch:function(o,n,r){var i=N(o,n,r),a=i.payload,s=i.options,l=i.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:n?e.commit:function(o,n,r){var i=N(o,n,r),a=i.payload,s=i.options,l=i.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:n?function(){return e.getters}:function(){return P(e,t)}},state:{get:function(){return E(e.state,o)}}}),r}function P(e,t){if(!e._makeLocalGettersCache[t]){var o={},n=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,n)===t){var i=r.slice(n);Object.defineProperty(o,i,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=o}return e._makeLocalGettersCache[t]}function S(e,t,o,n){var r=e._mutations[t]||(e._mutations[t]=[]);r.push((function(t){o.call(e,n.state,t)}))}function O(e,t,o,n){var r=e._actions[t]||(e._actions[t]=[]);r.push((function(t){var r=o.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return u(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}function k(e,t,o,n){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return o(n.state,n.getters,e.state,e.getters)})}function T(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function E(e,t){return t.reduce((function(e,t){return e[t]}),e)}function N(e,t,o){return l(e)&&e.type&&(o=t,t=e,e=e.type),{type:e,payload:t,options:o}}function x(e){h&&e===h||(h=e,n(h))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},g.prototype.commit=function(e,t,o){var n=this,r=N(e,t,o),i=r.type,a=r.payload,s=(r.options,{type:i,payload:a}),l=this._mutations[i];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,n.state)})))},g.prototype.dispatch=function(e,t){var o=this,n=N(e,t),r=n.type,i=n.payload,a={type:r,payload:i},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,o.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(e){return e(i)}))):s[0](i);return new Promise((function(e,t){l.then((function(t){try{o._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,o.state)}))}catch(u){0}e(t)}),(function(e){try{o._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,o.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 o="function"===typeof e?{before:e}:e;return y(o,this._actionSubscribers,t)},g.prototype.watch=function(e,t,o){var n=this;return this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,o)},g.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},g.prototype.registerModule=function(e,t,o){void 0===o&&(o={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),w(this,this.state,e,this._modules.get(e),o.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 o=E(t.state,e.slice(0,-1));h.delete(o,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 o={};return j(t).forEach((function(t){var n=t.key,r=t.val;o[n]=function(){var t=this.$store.state,o=this.$store.getters;if(e){var n=R(this.$store,"mapState",e);if(!n)return;t=n.context.state,o=n.context.getters}return"function"===typeof r?r.call(this,t,o):t[r]},o[n].vuex=!0})),o})),I((function(e,t){var o={};return j(t).forEach((function(t){var n=t.key,r=t.val;o[n]=function(){var t=[],o=arguments.length;while(o--)t[o]=arguments[o];var n=this.$store.commit;if(e){var i=R(this.$store,"mapMutations",e);if(!i)return;n=i.context.commit}return"function"===typeof r?r.apply(this,[n].concat(t)):n.apply(this.$store,[r].concat(t))}})),o}));var D=I((function(e,t){var o={};return j(t).forEach((function(t){var n=t.key,r=t.val;r=e+r,o[n]=function(){if(!e||R(this.$store,"mapGetters",e))return this.$store.getters[r]},o[n].vuex=!0})),o}));I((function(e,t){var o={};return j(t).forEach((function(t){var n=t.key,r=t.val;o[n]=function(){var t=[],o=arguments.length;while(o--)t[o]=arguments[o];var n=this.$store.dispatch;if(e){var i=R(this.$store,"mapActions",e);if(!i)return;n=i.context.dispatch}return"function"===typeof r?r.apply(this,[n].concat(t)):n.apply(this.$store,[r].concat(t))}})),o}));function j(e){return M(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 M(e){return Array.isArray(e)||l(e)}function I(e){return function(t,o){return"string"!==typeof t?(o=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,o)}}function R(e,t,o){var n=e._modulesNamespaceMap[o];return n}}).call(this,o("c8ba"))},"30b5":function(e,t,o){"use strict";var n=o("c532");function r(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,o){if(!t)return e;var i;if(o)i=o(t);else if(n.isURLSearchParams(t))i=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},"387f":function(e,t,o){"use strict";e.exports=function(e,t,o,n,r){return e.config=t,o&&(e.code=o),e.request=n,e.response=r,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,o){"use strict";var n=o("c532");e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");function r(e){var n=e;return t&&(o.setAttribute("href",n),n=o.href),o.setAttribute("href",n),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}return e=r(window.location.href),function(t){var o=n.isString(t)?r(t):t;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},"3c4e":function(e,t,o){"use strict";var n=function(e){return r(e)&&!i(e)};function r(e){return!!e&&"object"===typeof e}function i(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||l(e)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function l(e){return e.$$typeof===s}function u(e){return Array.isArray(e)?[]:{}}function c(e,t){var o=t&&!0===t.clone;return o&&n(e)?f(u(e),e,t):e}function p(e,t,o){var r=e.slice();return t.forEach((function(t,i){"undefined"===typeof r[i]?r[i]=c(t,o):n(t)?r[i]=f(e[i],t,o):-1===e.indexOf(t)&&r.push(c(t,o))})),r}function d(e,t,o){var r={};return n(e)&&Object.keys(e).forEach((function(t){r[t]=c(e[t],o)})),Object.keys(t).forEach((function(i){n(t[i])&&e[i]?r[i]=f(e[i],t[i],o):r[i]=c(t[i],o)})),r}function f(e,t,o){var n=Array.isArray(t),r=Array.isArray(e),i=o||{arrayMerge:p},a=n===r;if(a){if(n){var s=i.arrayMerge||p;return s(e,t,o)}return d(e,t,o)}return c(t,o)}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,o){return f(e,o,t)}))};var m=f;e.exports=m},"467f":function(e,t,o){"use strict";var n=o("2d83");e.exports=function(e,t,o){var r=o.config.validateStatus;!r||r(o.status)?e(o):t(n("Request failed with status code "+o.status,o.config,null,o.request,o))}},"46b8":function(e,t,o){"use strict";o("69e7")},4897:function(e,t,o){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var n=o("f0d9"),r=p(n),i=o("8bbf"),a=p(i),s=o("3c4e"),l=p(s),u=o("9d7e"),c=p(u);function p(e){return e&&e.__esModule?e:{default:e}}var d=(0,c.default)(a.default),f=r.default,m=!1,h=function(){var e=Object.getPrototypeOf(this||a.default).$t;if("function"===typeof e&&a.default.locale)return m||(m=!0,a.default.locale(a.default.config.lang,(0,l.default)(f,a.default.locale(a.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},g=t.t=function(e,t){var o=h.apply(this,arguments);if(null!==o&&void 0!==o)return o;for(var n=e.split("."),r=f,i=0,a=n.length;i<a;i++){var s=n[i];if(o=r[s],i===a-1)return d(o,t);if(!o)return"";r=o}return""},b=t.use=function(e){f=e||f},y=t.i18n=function(e){h=e||h};t.default={use:b,t:g,i18n:y}},"4a7b":function(e,t,o){"use strict";var n=o("c532");e.exports=function(e,t){t=t||{};var o={};return n.forEach(["url","method","params","data"],(function(e){"undefined"!==typeof t[e]&&(o[e]=t[e])})),n.forEach(["headers","auth","proxy"],(function(r){n.isObject(t[r])?o[r]=n.deepMerge(e[r],t[r]):"undefined"!==typeof t[r]?o[r]=t[r]:n.isObject(e[r])?o[r]=n.deepMerge(e[r]):"undefined"!==typeof e[r]&&(o[r]=e[r])})),n.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],(function(n){"undefined"!==typeof t[n]?o[n]=t[n]:"undefined"!==typeof e[n]&&(o[n]=e[n])})),o}},5082:function(e,t){var o=Object.prototype.hasOwnProperty,n={},r={};function i(){var e=0;for(var t in n)e++;return e}var a=e.exports={length:i(),getItem:function(e){return o.call(n,e)?n[e]:null},setItem:function(e,t){e in r||(n[e]=t),a.length=i()},removeItem:function(e){delete n[e],a.length=i()},clear:function(){n={},a.length=0},supported:!0}},"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__),_src_utils_common_util__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("c559"),_eventBus__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("06e7"),axios__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("bc3a"),axios__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_3__),js_cookie__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("a78e"),js_cookie__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(js_cookie__WEBPACK_IMPORTED_MODULE_4__),_common_util__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("8217"),imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("f6cd"),imatrix_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("29b3"),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 _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _createForOfIteratorHelper(e,t){var o="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!o){if(Array.isArray(e)||(o=_unsupportedIterableToArray(e))||t&&e&&"number"===typeof e.length){o&&(e=o);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}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 i,a=!0,s=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==o.return||o.return()}finally{if(s)throw i}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"===typeof e)return _arrayLikeToArray(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function _regeneratorRuntime(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var e={},t=Object.prototype,o=t.hasOwnProperty,n=Object.defineProperty||function(e,t,o){e[t]=o.value},r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function l(e,t,o){return Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(E){l=function(e,t,o){return e[t]=o}}function u(e,t,o,r){var i=t&&t.prototype instanceof d?t:d,a=Object.create(i.prototype),s=new O(r||[]);return n(a,"_invoke",{value:w(e,o,s)}),a}function c(e,t,o){try{return{type:"normal",arg:e.call(t,o)}}catch(E){return{type:"throw",arg:E}}}e.wrap=u;var p={};function d(){}function f(){}function m(){}var h={};l(h,i,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(k([])));b&&b!==t&&o.call(b,i)&&(h=b);var y=m.prototype=d.prototype=Object.create(h);function v(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function r(n,i,a,s){var l=c(e[n],e,i);if("throw"!==l.type){var u=l.arg,p=u.value;return p&&"object"==_typeof(p)&&o.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(p).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;n(this,"_invoke",{value:function(e,o){function n(){return new t((function(t,n){r(e,o,t,n)}))}return i=i?i.then(n,n):n()}})}function w(e,t,o){var n="suspendedStart";return function(r,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===r)throw i;return T()}for(o.method=r,o.arg=i;;){var a=o.delegate;if(a){var s=C(a,o);if(s){if(s===p)continue;return s}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===n)throw n="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);n="executing";var l=c(e,t,o);if("normal"===l.type){if(n=o.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:o.done}}"throw"===l.type&&(n="completed",o.method="throw",o.arg=l.arg)}}}function C(e,t){var o=t.method,n=e.iterator[o];if(void 0===n)return t.delegate=null,"throw"===o&&e.iterator.return&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==o&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+o+"' method")),p;var r=c(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,p;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function k(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:T}}function T(){return{value:void 0,done:!0}}return f.prototype=m,n(y,"constructor",{value:m,configurable:!0}),n(m,"constructor",{value:f,configurable:!0}),f.displayName=l(m,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,l(e,s,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},v(_.prototype),l(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,o,n,r,i){void 0===i&&(i=Promise);var a=new _(u(t,o,n,r),i);return e.isGeneratorFunction(o)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},v(y),l(y,s,"Generator"),l(y,i,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),o=[];for(var n in t)o.push(n);return o.reverse(),function e(){for(;o.length;){var n=o.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=k,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(o,n){return a.type="throw",a.arg=e,t.next=o,n&&(t.method="next",t.arg=void 0),!!n}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),S(o),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc===e){var n=o.completion;if("throw"===n.type){var r=n.arg;S(o)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:k(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=void 0),p}},e}function asyncGeneratorStep(e,t,o,n,r,i,a){try{var s=e[i](a),l=s.value}catch(u){return void o(u)}s.done?t(l):Promise.resolve(l).then(n,r)}function _asyncToGenerator(e){return function(){var t=this,o=arguments;return new Promise((function(n,r){var i=e.apply(t,o);function a(e){asyncGeneratorStep(i,n,r,a,s,"next",e)}function s(e){asyncGeneratorStep(i,n,r,a,s,"throw",e)}a(void 0)}))}}var Util={isFullPath:function(e){return 0===e.indexOf("http:")||0===e.indexOf("https:")},getRealRestApiPath:function(e,t){var o=e;if(e&&t&&!this.isFullPath(e)){var n=this.getBaseUrl(t);o=!1===t.standard?n+"/"+t.code+e:n+e}return o},getWorkflowId:function(e){var t=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(e,"_formData");if(t){var o=t.workflow_id;return o||(o=t.WORKFLOW_ID),!o&&t.workflowInfo&&(o=t.workflowInfo.workflowId),o}},getBackButton:function(){return{code:"back",label:Object(_src_utils_common_util__WEBPACK_IMPORTED_MODULE_1__["a"])().t("superPage.backButton")}},sortArr:function(e,t,o){return e?(e=e.sort(this.compare(t,o)),e):[]},compare:function(e,t){return"desc"===t?function(t,o){var n=t[e],r=o[e];return r>n?1:r<n?-1:0}:function(t,o){var n=t[e],r=o[e];return r<n?1:r>n?-1:0}},canExecuteWithMore:function(e,t,o,n,r){var i=this;return new Promise((function(a,s){if(void 0===e||""===e||void 0===t||0===t.length)a({canExecute:!0});else{for(var l,u,c=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(i.pageCode,"_contextParameter"),p=!0,d=0;d<t.length;d++)for(var f=t[d],m=0;m<e.length;m++){var h=e[m],g=h.toolTips,b=h.conditionList,y=Object(imatrix_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_7__["a"])(b,f,r,c,o,n,null);if(!y){p=!1,l=g,u=f;break}}p?a({canExecute:!0}):(l&&i.$message({showClose:!0,type:"warning",message:l}),a({canExecute:!1,message:l,failEntity:u}))}}))},canExecute:function(e,t,o,n,r){var i=[];return i.push(t),this.canExecuteWithMore(e,i,o,n,r)},isButtonVisible:function(e,t,o){var n=this;return new Promise((function(r,i){var a=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_pageIsDsc");if(e&&e.length>0){var s=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_formData"),l=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_contextParameter"),u=Object(imatrix_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_7__["a"])(e,s,o,l,a,t,null);r(u)}else r(!0)}))},getWorkflowButtonVisible:function(e,t,o){var n=this;return new Promise((function(r,i){var a=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_pageIsDsc");if(e&&e.length>0){for(var s=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_formData"),l=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_contextParameter"),u={},c=0;c<e.length;c++){var p=e[c],d=p.event;if(d){var f=p.isVisible,m=!0;if(void 0!==f&&null!==f&&f+""==="false"&&(m=!1),!0===m){var h=p.buttonDisplayConditionsList;if(void 0===h||null===h)continue;var g=h;m=Object(imatrix_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_7__["a"])(g,s,o,l,a,t,null)}u[d]=m}}Object.keys(u).length>0?r(u):r(!0)}else r(!0)}))},afterSuccessOperateInForm:function(e,t,o,n){if(console.log("afterSuccessOperateInForm---successOperation=-",e,t,o),Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["g"])(this.pageCode,"_formData",t),e&&""!==e&&null!==e||(e="refresh"),"noOperation"===e)this.$refs.superForm&&this.$refs.superForm.refresh(t);else if("refresh"===e)t&&(t.id||t.ID)&&(this.dataId=null==t.ID?t.id:t.ID,this.$route.query._t_&&sessionStorage.setItem(this.$route.query._t_+"_id",this.dataId),n?this.initWorkflowFormData():this.getDscFormData());else if("closeWindow"===e||"closeWindowAndRefresh"===e){if(console.log("afterSuccessOperateInForm--successOperation=--",e),void 0!==o&&!0===o&&t&&void 0!==t){var r,i=sessionStorage.getItem(this.pageCode+"-jumpMode");if(i){var a=JSON.parse(i);r=a.rowIndex}this.$emit("update-value",t,this.tableName,r)}this.closePage(this.pageCode,e,t)}},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,o,n,r,i,a,s,l,u,c,p,d,f,m,h,g,b,y,v,_,w){var C={entity:i,formViewCode:o,formViewVersion:n,tableName:r,formNoRuleCode:l,isWorkflowEntity:v,functionCode:_};return this.judgeHeavyList&&(C.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),u&&(this.isArrayFn(u)?C.dataConversionRule=u.join(","):"string"===typeof u&&(C.dataConversionRule=u)),c&&(C.autoSetValueData=JSON.stringify(c)),d&&(C.logSettingText=d),C.systemCode||(C.systemCode=e.code),a&&(C.entityName=a),y&&(C.beanName=y),h&&(C.taskMap=h),g&&(C.needDeleteFileUuidS=g),this.dataTypeMap&&(C.dataTypeMap=this.dataTypeMap),f&&(C.dynamicColumnInfo=f),m&&(C.mainDefaultValueColumns=m),b&&(C.additionalParamMap=b),void 0!==w&&(C.unControlVersion=w),this.getSaveFormRequestByParam(e,t,C,s,p,i)},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.getModels(!1).then(function(){var _ref=_asyncToGenerator(_regeneratorRuntime().mark((function _callee(viewModels){var param,beforeClickResult,request,buttonFun,baseUrl,path;return _regeneratorRuntime().wrap((function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:if(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),beforeClickResult=_this4.callBeforeClickButton(_this4.formEvents,_this4.formViewCode+"__exportForm",{params:_this4.additionalParamMap,exportParam:param}),!Object(imatrix_ui_src_utils_common_util__WEBPACK_IMPORTED_MODULE_9__["c"])(beforeClickResult)){_context.next=9;break}return _context.next=9,beforeClickResult.then((function(e){console.log("点击前事件返回结果--Promise--resolve---",e),beforeClickResult=e}));case 9:if(beforeClickResult){_context.next=11;break}return _context.abrupt("return");case 11:"exportPDF"===button.code?_this4.exportFormPdf(fileName,myJsContent,system,param):(myJsContent?(buttonFun=eval("("+myJsContent+")"),request=buttonFun(_this4,param)):(baseUrl=_this4.getBaseUrl(system),path=baseUrl+"/dsc/commons/export-reports",axios__WEBPACK_IMPORTED_MODULE_3___default.a.defaults.headers.common.Authorization=Object(imatrix_ui_src_utils_auth__WEBPACK_IMPORTED_MODULE_10__["a"])(),request=axios__WEBPACK_IMPORTED_MODULE_3___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]),o="报告.xlsx";fileName&&(o=fileName);var n=document.createElement("a");n.download=o,n.style.display="none",n.target="_blank",n.href=URL.createObjectURL(t),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n),_this4.callAfterClickButton(_this4.formEvents,_this4.formViewCode+"__exportForm",{params:_this4.additionalParamMap,entity:_this4.formData})})));case 12:case"end":return _context.stop()}}),_callee)})));return function(e){return _ref.apply(this,arguments)}}())},exportFormPdf:function exportFormPdf(fileName,myJsContent,system,param){var _this5=this,request;if(myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else{var baseUrl=this.getBaseUrl(system),path=baseUrl+"/dsc/commons/export-pdf";axios__WEBPACK_IMPORTED_MODULE_3___default.a.defaults.headers.common.Authorization=Object(imatrix_ui_src_utils_auth__WEBPACK_IMPORTED_MODULE_10__["a"])(),request=axios__WEBPACK_IMPORTED_MODULE_3___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]),o=document.createElement("a");o.download=fileName.substring(0,fileName.lastIndexOf("."))+".pdf",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),_this5.callAfterClickButton(_this5.formEvents,_this5.formViewCode+"__exportForm",{params:_this5.additionalParamMap,entity:_this5.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 o=e.getFullYear(),n=e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,r=e.getDate()<10?"0"+e.getDate():e.getDate();return o+"-"+n+"-"+r}},commonButtonClick:function(e){this.$emit("click",e)},workflowButtonClick:function(e,t,o,n,r,i){this.$emit("workflowClick",e,t,o,n,r,i)},isViewDetail:function(e){var t=!1,o=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(this.pageCode,"openPageButton");return o||(o=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(this.pageCode,"_sourceButtonCode")),!o||"viewDetail"!==o||e&&"list"===e||(t=!0),t},packageFormEvents:function(e){var t={},o=[],n=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(this.pageCode,"_pageEvents");if(n){o=n.formEvents,e&&o&&Object.keys(o).forEach((function(n){var r=n.substring(0,n.indexOf("__"));if(e===r){var i=n.substring(n.indexOf("__")+"__".length);t[i]=o[n]}}));var r=n.customEvents;r&&(t.customEvents=r)}return t},findOptionsByDynamicDataSource:function(e,t,o,n){var r=this;return new Promise((function(i,a){void 0!==t&&null!==t||(t="");var s={searchText:t};n&&(s.additionalParamMap=n),o&&null!==o&&(s.entity=o),r.findDynamicDataSourceByCode(e,s).then((function(e){i(e)})).catch((function(e){a(e)}))}))},findDynamicDataSourceByCode:function(e,t){var o=this;return new Promise((function(n,r){o.$http.post(vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseURL+"/common/dynamic-data-source/"+e,t).then((function(i){i.backendUrl?o.$http.post(i.backendUrl+"/common/dynamic-data-source/"+e,t,{headers:{targetSystemCode:i.systemCode}}).then((function(e){n(e)})).catch((function(e){r(e)})):n(i)}))}))},getOptionGroupOptions:function(e){var t=this;return new Promise((function(o,n){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 o=e.value,n=e.name,r=e.selected;t.push({label:n,value:o,selected:r})})),o(t)}))}))},analysisStandardValues:function(e){var t=this;return new Promise((function(o,n){t.$http.post(vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseAPI+"/component/super-pages/analysisValues",e).then((function(e){o(e)}))}))},jumpToPage:function(e,t,o,n,r,i,a,s){var l=this;Object(imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_6__["a"])(e,t,o,n,r,i,a).then((function(t){if(t){var o=t.jumpMode,n=t;"popup"===o?(n.isRefreshWhenClosePopup=e.isRefreshWhenClosePopup,l.jumpPageSetting=n,l.isShowPageDialog=!0):"refresh"===o&&l.$router.push({path:"/dsc/page",query:n})}}))},closePage:function(e,t,o){var n=sessionStorage.getItem(e+"-jumpMode");if(sessionStorage.removeItem(e+"-jumpMode"),n){var r=JSON.parse(n),i=r.jumpMode;if(r.successOperation=t,"popup"===i){var a=sessionStorage.getItem(e+"_source_page_code");sessionStorage.removeItem(e+"_source_page_code");var s=o;!o&&this.pageType&&"form"===this.pageType&&(s=this.getFormData()),a?(console.log("-----close-component-page-dialog=",r,s,this.pageCode),_eventBus__WEBPACK_IMPORTED_MODULE_2__["a"].$emit(a+"-close-component-page-dialog",r,s,this.pageCode)):(console.log("-----close-dialog=",e,t,s,this.pageCode,this.pageType),_eventBus__WEBPACK_IMPORTED_MODULE_2__["a"].$emit(e+"-close-dialog",e,t,s,this.pageCode))}else"openWindow"===i||"newTab"===i?window.parent?window.parent.close():window.close():this.$router.go(-1)}},closeInPage:function(e){var t,o;e&&e.entity&&(t=e.entity),e&&e.pageCode&&(o=e.pageCode),this.closeInPageEvent(t,o,null,this)},closeInPageEvent:function(e,t,o,n){if(n.jumpPageSetting){var r,i=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_pageEvents");if(i)n.pageType&&"form"===n.pageType&&(r=n.getFormData()),n.callFormItemEvent(i,n.jumpPageSetting.closeEvent,r,{popEntity:e,popPageCode:t,pageCode:n.pageCode});var a=!1;n.pageType&&"list"===n.pageType&&(a=!0),n.eventBusOnCloseDialog(t,n,n.jumpPageSetting.buttonCode,o,n.jumpPageSetting,a)}else n.isShowPageDialog=!1,n.jumpPageSetting=null},eventBusOnCloseDialog:function(e,t,o,n,r,i){if(t.isShowPageDialog=!1,t.jumpPageSetting=null,void 0!==i&&null!==i&&!0===i){var a=t.$refs.grid;a&&a.refresh()}else if(o&&("create"===o||"update"===o)||n&&"closeWindowAndRefresh"===n){var s=t.$refs.grid;s&&s.refresh()}else if(void 0!==r.isRefreshWhenClosePopup&&!0===r.isRefreshWhenClosePopup){var l=t.$refs.grid;l&&l.refresh()}},getWatermarkLabel:function(e,t){var o="";if(e.label&&""!==e.label){var n,r=/\$\{(.+?)\]}/g,i=e.label.match(r),a=_createForOfIteratorHelper(i);try{for(a.s();!(n=a.n()).done;){var s=n.value,l=s;if(s.indexOf("${writeTitle[")>=0){var u=s.indexOf("${writeTitle[");l=l.substring(u+13),l=l.substring(0,l.indexOf("]")),o+=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)),o+=l)}}catch(c){a.e(c)}finally{a.f()}}return o},setWatermark:function(e,t){var o=this;this.getSystemWatermark(e).then((function(e){null!=e&&e.watermarkSetting&&o.showPageWatermarkSetting(JSON.parse(e.watermarkSetting),t)}))},showPageWatermarkSetting:function(e,t){if(e){var o=this.getWatermarkLabel(e,t);Object(imatrix_ui_src_utils_watermark__WEBPACK_IMPORTED_MODULE_8__["a"])(o,e)}},closeFormPageDialog:function(e,t,o,n){if(e){var r=e.position;r&&"form"!==r?t.$refs.superForm&&t.$refs.superForm.closeSubTablePageDialog(e.listCode,o,n):t.$refs.superForm&&t.$refs.superForm.closePageDialog({entity:o,pageCode:n})}else t.$refs.superForm.closePageDialog({entity:o,pageCode:n})},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 _this12=this;this.$refs.superForm&&this.$refs.superForm.getViewModels().then(function(){var _ref2=_asyncToGenerator(_regeneratorRuntime().mark((function _callee2(viewModels){var param,beforeClickResult,request,buttonFun,baseUrl,path;return _regeneratorRuntime().wrap((function _callee2$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:if(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),beforeClickResult=_this12.callBeforeClickButton(_this12.formEvents,_this12.formViewCode+"__exportForm",{params:_this12.additionalParamMap,exportParam:param}),!Object(imatrix_ui_src_utils_common_util__WEBPACK_IMPORTED_MODULE_9__["c"])(beforeClickResult)){_context2.next=9;break}return _context2.next=9,beforeClickResult.then((function(e){console.log("点击前事件返回结果--Promise--resolve---",e),beforeClickResult=e}));case 9:if(beforeClickResult){_context2.next=11;break}return _context2.abrupt("return");case 11:myJsContent?(buttonFun=eval("("+myJsContent+")"),request=buttonFun(_this12,param)):(baseUrl=_this12.getBaseUrl(system),path=baseUrl+"/dsc/commons/create-preview-file",axios__WEBPACK_IMPORTED_MODULE_3___default.a.defaults.headers.common.Authorization=js_cookie__WEBPACK_IMPORTED_MODULE_4___default.a.get("JWT"),request=axios__WEBPACK_IMPORTED_MODULE_3___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))}));case 13:case"end":return _context2.stop()}}),_callee2)})));return function(e){return _ref2.apply(this,arguments)}}())},reviewButton:function(e){if(this.$refs.superForm){var t=this.$refs.superForm.getFormData();Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["g"])(this.pageCode,"_formData",t)}else e&&Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["g"])(this.pageCode,"_formData",e);this.isShowBuuton=!1;var o=this;setTimeout((function(){o.isShowBuuton=!0}),100)},refreshTab:function(e,t){void 0!==e&&null!==e||(e=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(this.pageCode,"_activeTab")),_eventBus__WEBPACK_IMPORTED_MODULE_2__["a"].$emit(this.pageCode+"-refresh-tab",e,t)},getPageParam:function(e,t){var o=this;this.$emit("getPageParam",e,(function(n){t(o[e])}))}};__webpack_exports__["a"]=Util},5270:function(e,t,o){"use strict";var n=o("c532"),r=o("c401"),i=o("2e67"),a=o("2444"),s=o("d925"),l=o("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=r(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||a.adapter;return t(e).then((function(t){return u(e),t.data=r(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=r(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},5824:function(e,t,o){"use strict";var n=o("8bbf"),r=o.n(n),i=o("4897"),a=o.n(i),s=o("a925"),l=o("b2d6"),u=o.n(l);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){f(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function f(e,t,o){return t=m(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function m(e){var t=h(e,"string");return"symbol"===c(t)?t:String(t)}function h(e,t){if("object"!==c(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var g=d({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",fullScreen:"Full Screen"},imatrixUIMessage:{whetherToConfirmDeletion:"Whether To Confirm Deletion",tips:"Tips",pleaseEnterContent:"Please Enter Content",internalServerError:"Server error",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",asyncExport:"Asynchronous export, please wait for message notification!",NoContent:"No Content"},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}",pageRecordLine:"Record in row {row} of page {pageNum}",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",selectedDept:"Selected Departments",namePath:"Name Path"},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",superiorDeptNameFullPath:"Department full path"},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",draw_dept_task:"Draw Department",abandon_draw_dept_task:"Give Up Draw Department"},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}]",create_copy_task:"{1} The task was copied to [{2}",toDoText:"Todo",operator:"Operator",operatorDept:"Operator Dept",operationTime:"Operation Time",history_draw_dept_task:"{1} Received tasks from department [{2}]",history_abandon_draw_dept_task:"{1} Abandon the task of receiving department [{2}]"},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"},IntervalSelection:{year:"year",quarter:"quarter",auxiliary:"auxiliary word for ordinal numbers",week:"week"}},u.a),b=g,y=o("f0d9"),v=o.n(y);function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){P(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function P(e,t,o){return t=S(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function S(e){var t=O(e,"string");return"symbol"===_(t)?t:String(t)}function O(e,t){if("object"!==_(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!==_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var k=C({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:"预览图片",fullScreen:"全屏"},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:"该按钮未绑定资源,请先绑定资源",asyncExport:"正在异步导出,请等待消息通知!",NoContent:"暂无内容"},superGrid:{columnConfig:"字段配置",pleaseSaveOrCancelEditingLine:"请先保存或撤销编辑第 {row} 行数据",pleaseSaveLine:"请先保存第 {row} 行数据",noNeedToSaveRow:"无需保存第 {row} 行数据",pleaseSetURLToSaveRowInformation:"请设置“保存行信息的url”",lineSavedSuccessfully:"第 {row} 行保存成功",theReturnValueOfTheBeforesaveCallbackMethodIsFalse:"beforeSave回调方法返回值为false",lineNoNeedToUndoEdit:"第 {row} 行无需撤销编辑",lineCancelledSuccessfully:"第 {row} 行撤销成功",label:"字段名",isShow:"是否显示",isExportable:"是否导出",recordLine:"第 {row} 行记录",pageRecordLine:"第 {pageNum} 页第 {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:"移除部门",selectedDept:"已选部门",namePath:"名称路径"},departmentUserTree:{pleaseEnterUserInformation:"请输入用户信息",selectedPeople:"已选人员",searchFieldUserName:"姓名",searchFieldLoginName:"登录名",searchFieldEmail:"邮箱",searchFieldTelephone:"手机号",searchFieldJobNumber:"工号",searchFieldHonorificName:"尊称"},departmentUserTreeInline:{name:"姓名",department:"所属部门",branch:"所属分支",removeUser:"移除用户",email:"邮箱",loginName:"登录名",superiorDeptNameFullPath:"组织全路径"},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:"导出报告",draw_dept_task:"部门领取",abandon_draw_dept_task:"放弃部门领取"},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}]的任务",create_copy_task:"{1}把任务抄送给了[{2}]",toDoText:"待处理",operator:"操作人",operatorDept:"操作人部门",operationTime:"操作时间",history_draw_dept_task:"{1}领取了部门[{2}]的任务",history_abandon_draw_dept_task:"{1}放弃领取部门[{2}]的任务"},gateway:{timeout:"接口调用超时",callFailed:"接口调用失败"},superNineGrid:{add:"新建"},fsUpload:{upload:"上传",download:"下载",delete:"删除",preview:"预览",name:"名称",picture:"图片",operating:"操作",uploadSucceeded:"上传成功",theNumberOfUploadsExceedsTheLimitTheLimitIs:"上传数量超过限制,限制数量为"},messageVideo:{attemptingToIdentify:"正在尝试识别....",callingRearCamera:"正在调用后置摄像头...",identificationFailed:"识别失败"},IntervalSelection:{year:"年",quarter:"季度",auxiliary:"第",week:"周"}},v.a),T=k;r.a.use(s["a"]);var E={en:b,cn:T},N=new s["a"]({locale:"cn",messages:E});a.a.i18n((function(e,t){return N.t(e,t)}));t["a"]=N},"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&&Object.keys(button.jumpPage).length>0)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{var _successOperation;button.successOperation&&(_successOperation=button.successOperation),_successOperation||(_successOperation="closeWindow"),this.refreshMyList(_successOperation,!1,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;if(button.templateFiles&&button.templateFiles.length>0){var templateFilesResult=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(button.templateFiles);templateUUID=templateFilesResult[0].templateUUID,templateShowPath=templateFilesResult[0].templateShowPath}else templateUUID=button.templateUUID,templateShowPath=button.templateShowPath;this.downloadTemplate(templateUUID,templateShowPath,tableName,importRuleCode,system,button.logSetting,listCode,entityName,beanName,button)}else if("export"===button.code){var isAsync=!1;isAsync=!!button.hasOwnProperty("isAsync")&&button.isAsync,this.export(listCode,button.functionCode,uuid,isAsync,this.pageCode)}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,o){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!==o&&!0===o&&(!t||1!==t.length))return this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.pleaseSelectRecord")}),!1;return!0},refreshMyList:function(e,t,o){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&&o&&void 0!==o){var n,r=sessionStorage.getItem(this.pageCode+"-jumpMode");if(console.log("---update-value-closePage---jumpInfo=",r),r){var i=JSON.parse(r);n=i.rowIndex}this.$emit("update-value",o,this.tableName,n)}this.closePage(this.pageCode,e)}},create:function(e,t,o,n){console.log("create-------this.pageCode=",this.pageCode),this.jumpToPage(e,t,null,n&&n.length>0?n[0]:null,this.additionalParamMap,null,o.code,this.pageCode)},update:function(e,t,o,n,r,i){this.jumpToPage(e,t,o,i,this.additionalParamMap,r,n.code,this.pageCode)},viewDetail:function(e,t,o,n,r){this.jumpToPage(e,t,o,r,this.additionalParamMap,null,n.code,this.pageCode),Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["g"])(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});if(request){button.loading=!0;try{request.then((function(e){_this2.$refs.grid.isDeleteChange(!0),_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(e){button.loading=!1}finally{button.loading=!1}}})).catch((function(){}))},downloadTemplate:function(e,t,o,n,r,i,a,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)),i&&""!==i&&(c+="&logSettingText="+i),r&&r.code&&(c+="&systemCode="+r.code),n&&(c+="&importCode="+n),a&&(c+="&listCode="+a),s&&(c+="&entityName="+s),l&&(c+="&beanName="+l),u&&u.functionCode&&(c+="&functionCode="+u.functionCode),o&&(c+="&tableName="+o);var p=this.getBaseUrl(r);window.open(p+"/dsc/commons/download-files"+c)},doImportFinally:function doImportFinally(system,restfulApiPath,tableName,entityName,myJsContent,button,listViewImportDuplicate,fileObj,judgeHeavyList,formNoRuleCode,importRuleCode,listCode,beanName,pageCode){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 isAsync=!1;isAsync=!!button.hasOwnProperty("isAsync")&&button.isAsync,param.append("isAsync",isAsync),param.append("pageCode",pageCode);var isWorkflowEntity=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["d"])(this.pageCode,tableName+"_isProcess");if(null!==isWorkflowEntity&&void 0!==isWorkflowEntity&&param.append("isWorkflowEntity",isWorkflowEntity),button.functionCode&&param.append("functionCode",button.functionCode),this.additionalParamMap){if(void 0!==this.listToolbarFormData&&this.listToolbarFormData!=={}&&null!==this.listToolbarFormData)for(var key in this.listToolbarFormData)this.additionalParamMap[key]=this.listToolbarFormData[key];param.append("additionalParamMapStr",JSON.stringify(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){if(isAsync)_this3.$message({showClose:!0,type:"success",message:_this3.$t("superPageMessage.asyncImport")});else{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,o,n,r){var i,a={};this.selections&&this.selections.length>0&&(a.data=this.selections);var s=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["d"])(this.pageCode,"_pageNameI18n");s||(s=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["d"])(this.pageCode,"_pageName")),s||(s=this.pageCode),i=s,this.$exportDataNew(a,i,e,t,o,null,n,r),this.callAfterClickButton(this.listEvents,this.listCode+"__export",{params:this.additionalParamMap})},submitGrid:function(e,t,o,n,r,i,a,s,l,u,c,p,d,f){var m=this,h="superPageMessage.whetherToConfirm"+this.upperFirstCase(l);this.$confirm(this.$t(h,{name:a.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:n,functionCode:a.functionCode};m.judgeHeavyList&&(u.judgeHeavyList=JSON.stringify(m.judgeHeavyList)),a.dataConversionRule&&(u.dataConversionRule=a.dataConversionRule.join(",")),a.autoSetValueData&&(u.autoSetValueData=JSON.stringify(a.autoSetValueData)),a.logSetting&&(u.logSettingText=a.logSetting),u.systemCode||(u.systemCode=t.code),a.taskMap&&(u.taskMap=a.taskMap),r&&(u.entityName=r),d&&(u.beanName=d),c&&(u.additionalParamMap=c),u.isWorkflowEntity=f,"submit"===a.code?l="/dsc/commons/batch-submits":"agree"===a.code?l="/dsc/commons/batch-approves":"disagree"===a.code&&(l="/dsc/commons/batch-refuses");var p=m.getSaveFormRequestByParam(t,o,u,i,l);p&&(a.loading=!0,p.then((function(e){m.refreshMyList(a.successOperation),m.$message({showClose:!0,type:"success",message:m.$t("superPageMessage.successfulOperation")}),m.callAfterClickButton(m.listEvents,m.listCode+"__"+a.code,{params:m.additionalParamMap}),a.loading=!1})).catch((function(e){m.refreshMyList(a.successOperation),a.loading=!1})))})).catch((function(e){console.log(e)}))},getDataTypeMapRequest:function(e,t){var o=this.getBaseUrl(e);return this.$http.get(o+"/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 o=this.jumpPageSetting&&this.jumpPageSetting.updateValueEvent?this.jumpPageSetting.updateValueEvent:null;this.customEvents&&o&&null!==o&&this.customEvents[o]&&this.customEvents[o].call(this,{sourceModel:e,sourceTableName:t,jumpPageSetting:this.jumpPageSetting,entity:this.editRow,targetTableName:this.tableName})}};__webpack_exports__["a"]=buttonEvents},"69e7":function(e,t,o){},"746a":function(e,t,o){"use strict";var n=Object.prototype.hasOwnProperty,r=o("9c59"),i={},a="§";function s(){if(l.supported){var e,t=window.name,o=0;for(e in i=t.charAt(0)===a?r.parse(t.slice(1)):{},i)n.call(i,e)&&o++;l.length=o}}var l=e.exports={length:0,getItem:function(e){return n.call(i,e)?i[e]:null},setItem:function(e,t){i[e]=t,window.name=r.stringify(i,a),l.length++},removeItem:function(e){delete i[e],window.name=r.stringify(i,a),l.length--},clear:function(){i={},window.name="",l.length=0},supported:function(){return"object"===typeof window&&"string"===typeof window.name}()};s()},"7a77":function(e,t,o){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},"7aac":function(e,t,o){"use strict";var n=o("c532");e.exports=n.isStandardBrowserEnv()?function(){return{write:function(e,t,o,r,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(o)&&s.push("expires="+new Date(o).toGMTString()),n.isString(r)&&s.push("path="+r),n.isString(i)&&s.push("domain="+i),!0===a&&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(){}}}()},"7f74":function(e,t,o){},8122:function(e,t,o){"use strict";t.__esModule=!0,t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=u,t.hasOwn=c,t.toObject=d,t.getPropByPath=f,t.rafThrottle=y,t.objToArray=v;var r=o("8bbf"),i=s(r),a=o("a742");function s(e){return e&&e.__esModule?e:{default:e}}var l=Object.prototype.hasOwnProperty;function u(){}function c(e,t){return l.call(e,t)}function p(e,t){for(var o in t)e[o]=t[o];return e}function d(e){for(var t={},o=0;o<e.length;o++)e[o]&&p(t,e[o]);return t}t.getValueByPath=function(e,t){t=t||"";for(var o=t.split("."),n=e,r=null,i=0,a=o.length;i<a;i++){var s=o[i];if(!n)break;if(i===a-1){r=n[s];break}n=n[s]}return r};function f(e,t,o){var n=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var r=t.split("."),i=0,a=r.length;i<a-1;++i){if(!n&&!o)break;var s=r[i];if(!(s in n)){if(o)throw new Error("please transfer a valid prop path to form item!");break}n=n[s]}return{o:n,k:r[i],v:n?n[r[i]]:null}}t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var o=0;o!==e.length;++o)if(e[o]!==t[o])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var m=t.arrayFindIndex=function(e,t){for(var o=0;o!==e.length;++o)if(t(e[o]))return o;return-1},h=(t.arrayFind=function(e,t){var o=m(e,t);return-1!==o?e[o]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!i.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!i.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!i.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":n(e)))return e;var t=["transform","transition","animation"],o=["ms-","webkit-"];return t.forEach((function(t){var n=e[t];t&&n&&o.forEach((function(o){e[o+t]=n}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var o=(0,a.isObject)(e),n=(0,a.isObject)(t);return o&&n?JSON.stringify(e)===JSON.stringify(t):!o&&!n&&String(e)===String(t)}),g=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var o=0;o<e.length;o++)if(!h(e[o],t[o]))return!1;return!0},b=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?g(e,t):h(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"===typeof e)return!1;if("number"===typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});function y(e){var t=!1;return function(){for(var o=this,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];t||(t=!0,window.requestAnimationFrame((function(n){e.apply(o,r),t=!1})))}}function v(e){return Array.isArray(e)?e:b(e)?[]:[e]}},8217:function(e,t,o){"use strict";o.d(t,"d",(function(){return i})),o.d(t,"g",(function(){return a})),o.d(t,"a",(function(){return s})),o.d(t,"c",(function(){return l})),o.d(t,"b",(function(){return u})),o.d(t,"e",(function(){return c})),o.d(t,"f",(function(){return p}));var n=o("18ce"),r=o("c559");function i(e,t){var o=n["a"].get(e);if(o)return o[t]}function a(e,t,o){var r=n["a"].get(e);r||(r={},n["a"].set(e,r)),r[t]=o}function s(e,t){var o=n["a"].get(e);o&&o[t]&&delete o[t]}function l(e,t,o,n){return{_pageDevMode:e,_sourceButtonCode:o,_pathQuery:n}}function u(e){return e.options&&e.options.colWidth?e.options.colWidth:24}function c(e){for(var t=0;t<e.length;t++)for(var o=e[t],n=0;n<o.colList.length;n++){var r=o.colList[n];if(u(r)<24)return!0}return!1}function p(e){if(!e)return e;var t=Object(r["b"])();if(Array.isArray(e)){var o=[],n=[],i="~-~-";return e.forEach((function(e){var r=e.templateShowPath;if(r.indexOf(i)>0){var a=r.substring(0,r.indexOf(i)),s=r.substring(r.indexOf(i)+i.length,r.lastIndexOf(i)),l=r.substring(r.lastIndexOf(i)+i.length);t===s&&n.indexOf(a)<0&&(o.push({templateUUID:e.templateUUID,templateShowPath:l}),n.push(a))}else o.push(e)})),o}}},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,o,n){var r=Object(_calculator_factory__WEBPACK_IMPORTED_MODULE_0__["a"])(n),i=new r(e,t,o);return i.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,o,n,r,i,a){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,o,r,a,null,n,i);null!=f&&(e=e.replace(d,f.toString()));var m=getValue(n,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="\\*",o="";return e=e.replace(/condition.operator.and/g,t),e=e.replace(/condition.operator.or/g,t),e=e.replace(/\(/g,o),e=e.replace(/\)/g,o),e.split(t)}function getValue(e,t){var o=Object(_util__WEBPACK_IMPORTED_MODULE_2__["c"])(e,t);return void 0===o||null==o?"":o+""}},"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,opinion:this.completeTaskParam.opinion},formNoRuleCode:formNoRuleCode,entityName:entityName,beanName:beanName,isWorkflowEntity:!0},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+")");button&&button.successOperation&&"noOperation"===button.successOperation&&(param.unControlVersion=!0);var 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,!0)}},clickWorflowButton:function(e,t,o,n,r,i,a,s,l,u,c,p,d,f,m,h,g,b,y,v,_,w,C,P){if("startInstance"===e||"update"===e)this.startInstance(t,o,n,r,i,s,l,u,c,p,d,f,h,g,e,v,_,w,C);else if("submitProcess"===e)this.submitProcess(t,o,n,r,i,s,l,u,c,p,d,f,m,h,g,e,v,_,w,C);else if("completeTask"===e)this.complateTask(t,o,n,a,s,l,u,c,d,f,m,h,g,e,v,_,w,C);else if("drawTask"===e)this.drawTask(t,o,n,s,l,u,c,d,g,e,v,_,C);else if("abandonDraw"===e)this.abandonReceive(t,o,n,s,l,u,c,d,g,e,v,_,C);else if("retrieveTask"===e)this.retrieve(t,o,n,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,o,n,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,n,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),successOperation&&"noOperation"===successOperation&&(param.unControlVersion=!0),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),param.isWorkflowEntity=!0,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,opinion:this.completeTaskParam.opinion}},request;if(!1===system.standard&&(param={entity:model,tableName:tableName,completeTaskParam:{operationResult:operationResult,taskId:this.completeTaskParam.taskId,opinion:this.completeTaskParam.opinion},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),param.isWorkflowEntity=!0,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,o,n,r,i,a){if(e){e.entity&&(this.formData=e.entity,this.formNo=e.formNo,Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["g"])(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}}e.completeTaskParam&&(this.completeTaskParam=e.completeTaskParam,Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["g"])(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__["g"])(this.pageCode,"_currentActivityName",e.taskName)}return t||(n&&this.callAfterClickButton(this.formEvents,this.formViewCode+"__"+n,{params:this.additionalParamMap,entity:this.formData,taskId:r,operationResult:i}),this.afterSuccessOperateInForm(o,this.formData,a,!0)),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,opinion:_this5.completeTaskParam.opinion},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&&_this5.ids.length>0&&(param.ids=_this5.ids),taskMap&&(param.taskMap=taskMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),_this5.additionalParamMap&&(param.additionalParamMap=_this5.additionalParamMap),param.isBatchProcessing=isBatchProcessing,param.isWorkflowEntity=!0,console.log(JSON.stringify(param),"completeTaskParam--------"),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,o,n,r,i,a,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/retrieves"),this.transactTask(e,t,o,f,"superPageMessage.successfulRetrieve",!1,!1,n,r,i,a,s,null,null,null,null,l,u,null,null,c,p,null,d)},drawTask:function(e,t,o,n,r,i,a,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/draw-tasks"),this.transactTask(e,t,o,f,"superPageMessage.successfulDrawTask",!1,!1,n,r,i,a,s,null,null,null,null,l,u,null,null,c,p,null,d)},abandonReceive:function(e,t,o,n,r,i,a,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/abandon-receives"),this.transactTask(e,t,o,f,"superPageMessage.successfulAbandonReceive",!1,!1,n,r,i,a,s,null,null,null,null,l,u,null,null,c,p,null,d)},assign:function(e,t,o,n,r,i,a,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,o,d,"superPageMessage.successfulAssign",!1,!1,n,r,i,a,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,o,n,r,i,a,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/return-to-previous-tasks"),this.transactTask(e,t,o,p,"superPageMessage.successfulReturnToPreviousTask",!1,!1,n,r,i,a,s,null,null,null,null,this.logSetting,"returnToPreviousTask",null,null,l,u,null,c)},getTaskInformitions:function(e,t,o){var n,r=this;if(!1===e.standard&&(n=this.getBaseUrl(e)+"/dsc/workflow-commons/returnable-task/"+this.completeTaskParam.taskId),n=this.getRealRestApiPath(n,e),n){this.showTaskInformitions=!1;var i={entityName:t,beanName:o,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"};this.$http.post(n,i).then((function(e){r.taskInformitions=e,r.showTaskInformitions=!0})).catch((function(e){r.showTaskInformitions=!1}))}else this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},customReturnTaskTo:function(e,t){this.returnTaskTo(this.system,this.tableName,e,t,this.formViewCode,this.formViewVersion,this.entityName,this.myJsContent,this.successOperation,this.isNeedValueMapping,this.beanName)},returnTaskTo:function(e,t,o,n,r,i,a,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/returnTaskTo"),this.transactTask(e,t,o,p,"superPageMessage.successfulReturnTaskTo",n.nodeName,n.nodeId,r,i,a,s,l,null,null,null,null,this.logSetting,"returnTaskTo",null,null,u,null,null,c)},endInstance:function(e,t,o,n,r,i,a,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/end-instance"),this.transactTask(e,t,o,p,"superPageMessage.successfulEndInstance",!1,!1,n,r,i,a,s,null,null,null,null,this.logSetting,"endInstance",null,null,l,u,null,c)},submitForm:function(e,t,o,n,r,i,a,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,o,w,"superPageMessage.successfulOperation",!1,!1,n,r,i,a,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",isWorkflowEntity:!0},request;if(requestParams.completeTaskParam={taskId:this.completeTaskParam.taskId,transactors:selectNodeInfo.loginNames.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,!0)),_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",isWorkflowEntity:!0},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,o,n,r){var i,a=this,s={};!1===e.standard?(i=this.getBaseUrl(e)+"/dsc/workflow-commons/get-remove-signers",n&&""!==n&&(s.logSettingText=n),s.entityName=t,s.beanName=r,s.systemCode=e.code,s.entity=o,s.additionalParamMap=this.additionalParamMap,s.tableName=this.tableName,s.functionCode=this.permissionPrefix+".xxx",s.additionalParamMap||(s.additionalParamMap={}),!s.additionalParamMap["taskId"]&&this.completeTaskParam&&this.completeTaskParam.taskId&&(s.additionalParamMap={taskId:this.completeTaskParam.taskId})):o.workflowInfo&&(s.entity=o),s.isWorkflowEntity=!0,i=this.getRealRestApiPath(i,e),i?this.$http.post(i,s).then((function(e){a.activeTasks=e,a.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,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"};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 o=this.jumpPageSetting&&this.jumpPageSetting.updateValueEvent?this.jumpPageSetting.updateValueEvent:null;this.customEvents&&o&&null!==o&&this.customEvents[o]&&this.customEvents[o].call(this,{sourceModel:e,sourceTableName:t,jumpPageSetting:this.jumpPageSetting,entity:this.formData,targetTableName:this.tableName}),this.updateFormData(this.formData)},downloadTemplate:function(e,t,o){var n,r;if(t.templateFiles&&t.templateFiles.length>0){var i=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(t.templateFiles);n=i[0].templateUUID,r=i[0].templateShowPath}else n=t.templateUUID,r=t.templateShowPath;var a="?1=1";t&&t.functionCode&&(a+="&functionCode="+t.functionCode),o&&(a+="&tableName="+o),n&&r&&"undefined"!==n&&"undefined"!==r&&"null"!==n&&"null"!==r&&(a+="&fileName="+encodeURI(n)+"&showName="+encodeURI(r));var s=this.getBaseUrl(e);window.open(s+"/dsc/commons/download-files"+a)}};__webpack_exports__["a"]=buttonEvents},"8bbf":function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__8bbf__},"8df4":function(e,t,o){"use strict";var n=o("7a77");function r(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var o=this;e((function(e){o.reason||(o.reason=new n(e),t(o.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e,t=new r((function(t){e=t}));return{token:t,cancel:e}},e.exports=r},"8e5d":function(e,t,o){},9696:function(e,t,o){"use strict";o.d(t,"b",(function(){return u})),o.d(t,"a",(function(){return c})),o.d(t,"c",(function(){return p}));var n=o("bc95"),r=o.n(n),i=o("8bbf"),a=o.n(i);function s(e){if(void 0===a.a.prototype.projectModel||"developing.model"!==a.a.prototype.projectModel){var t=l(location.href);if(r.a.setItem("relativeUrl",t),t&&e){var o="",n=e.split("/");if(n.length>=3){var i=n[0]+"//"+n[2];o=e.substring(e.indexOf(i)+i.length)}return t.lastIndexOf("/")===t.length-1&&(t=t.substring(0,t.lastIndexOf("/"))),o?t+o:t}}return e}function l(e){var t=e.split("#");if(t.length>0){var o=t[0],n=o,r=o.split("/");return r.length>=3&&(n=r[0]+"//"+r[2]+"/"),n}}function u(e){return a.a.prototype.projectModel&&"developing.model"===a.a.prototype.projectModel&&a.a.prototype.frontUrl?a.a.prototype.frontUrl:s(e)}function c(e){return a.a.prototype.projectModel&&"developing.model"===a.a.prototype.projectModel&&a.a.prototype.baseURL?a.a.prototype.baseURL:s(e)}function p(e){return e&&"[object Promise]"===Object.prototype.toString.call(e)}},"9c59":function(e,t,o){"use strict";var n=Object.prototype.hasOwnProperty;function r(e){for(var t,o=/([^=?&]+)=?([^&]*)/g,n={};t=o.exec(e);n[decodeURIComponent(t[1])]=decodeURIComponent(t[2]));return n}function i(e,t){t=t||"";var o=[];for(var r in"string"!==typeof t&&(t="?"),e)n.call(e,r)&&o.push(encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return o.length?t+o.join("&"):""}t.stringify=i,t.parse=r},"9d7e":function(e,t,o){"use strict";t.__esModule=!0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){function t(e){for(var t=arguments.length,o=Array(t>1?t-1:0),a=1;a<t;a++)o[a-1]=arguments[a];return 1===o.length&&"object"===n(o[0])&&(o=o[0]),o&&o.hasOwnProperty||(o={}),e.replace(i,(function(t,n,i,a){var s=void 0;return"{"===e[a-1]&&"}"===e[a+t.length]?i:(s=(0,r.hasOwn)(o,i)?o[i]:null,null===s||void 0===s?"":s)}))}return t};var r=o("8122"),i=/(%|)\{([0-9a-zA-Z_]+)\}/g},a615:function(e,t,o){},a742:function(e,t,o){"use strict";t.__esModule=!0,t.isDefined=t.isUndefined=t.isFunction=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isString=s,t.isObject=l,t.isHtmlElement=u;var r=o("8bbf"),i=a(r);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return"[object String]"===Object.prototype.toString.call(e)}function l(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e){return e&&e.nodeType===Node.ELEMENT_NODE}var c=function(e){var t={};return e&&"[object Function]"===t.toString.call(e)};"object"===("undefined"===typeof Int8Array?"undefined":n(Int8Array))||!i.default.prototype.$isServer&&"function"===typeof document.childNodes||(t.isFunction=c=function(e){return"function"===typeof e||!1}),t.isFunction=c;t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return void 0!==e&&null!==e}},a78e:function(e,t,o){var n,r;
7
+ function n(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:n});else{var o=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,o.call(this,e)}}function n(){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)}}o.d(t,"a",(function(){return D}));var r="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},i=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){i&&(e._devtoolHook=i,i.emit("vuex:init",e),i.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){i.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){i.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){Object.keys(e).forEach((function(o){return t(e[o],o)}))}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 o=e.state;this.state=("function"===typeof o?o():o)||{}},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,o){if(t.update(o),o.modules)for(var n in o.modules){if(!t.getChild(n))return void 0;m(e.concat(n),t.getChild(n),o.modules[n])}}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,o){return t=t.getChild(o),e+(t.namespaced?o+"/":"")}),"")},f.prototype.update=function(e){m([],this.root,e)},f.prototype.register=function(e,t,o){var n=this;void 0===o&&(o=!0);var r=new p(t,o);if(0===e.length)this.root=r;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],r)}t.modules&&s(t.modules,(function(t,r){n.register(e.concat(r),t,o)}))},f.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),o=e[e.length-1],n=t.getChild(o);n&&n.runtime&&t.removeChild(o)},f.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),o=e[e.length-1];return!!t&&t.hasChild(o)};var h;var g=function(e){var t=this;void 0===e&&(e={}),!h&&"undefined"!==typeof window&&window.Vue&&x(window.Vue);var o=e.plugins;void 0===o&&(o=[]);var n=e.strict;void 0===n&&(n=!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 r=this,i=this,s=i.dispatch,l=i.commit;this.dispatch=function(e,t){return s.call(r,e,t)},this.commit=function(e,t,o){return l.call(r,e,t,o)},this.strict=n;var u=this._modules.root.state;w(this,u,[],this._modules.root),_(this,u),o.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:h.config.devtools;c&&a(this)},b={state:{configurable:!0}};function y(e,t,o){return t.indexOf(e)<0&&(o&&o.prepend?t.unshift(e):t.push(e)),function(){var o=t.indexOf(e);o>-1&&t.splice(o,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 o=e.state;w(e,o,[],e._modules.root,!0),_(e,o,t)}function _(e,t,o){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,i={};s(r,(function(t,o){i[o]=c(t,e),Object.defineProperty(e.getters,o,{get:function(){return e._vm[o]},enumerable:!0})}));var a=h.config.silent;h.config.silent=!0,e._vm=new h({data:{$$state:t},computed:i}),h.config.silent=a,e.strict&&T(e),n&&(o&&e._withCommit((function(){n._data.$$state=null})),h.nextTick((function(){return n.$destroy()})))}function w(e,t,o,n,r){var i=!o.length,a=e._modules.getNamespace(o);if(n.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=n),!i&&!r){var s=E(t,o.slice(0,-1)),l=o[o.length-1];e._withCommit((function(){h.set(s,l,n.state)}))}var u=n.context=C(e,a,o);n.forEachMutation((function(t,o){var n=a+o;S(e,n,t,u)})),n.forEachAction((function(t,o){var n=t.root?o:a+o,r=t.handler||t;O(e,n,r,u)})),n.forEachGetter((function(t,o){var n=a+o;k(e,n,t,u)})),n.forEachChild((function(n,i){w(e,t,o.concat(i),n,r)}))}function C(e,t,o){var n=""===t,r={dispatch:n?e.dispatch:function(o,n,r){var i=N(o,n,r),a=i.payload,s=i.options,l=i.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:n?e.commit:function(o,n,r){var i=N(o,n,r),a=i.payload,s=i.options,l=i.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:n?function(){return e.getters}:function(){return P(e,t)}},state:{get:function(){return E(e.state,o)}}}),r}function P(e,t){if(!e._makeLocalGettersCache[t]){var o={},n=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,n)===t){var i=r.slice(n);Object.defineProperty(o,i,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=o}return e._makeLocalGettersCache[t]}function S(e,t,o,n){var r=e._mutations[t]||(e._mutations[t]=[]);r.push((function(t){o.call(e,n.state,t)}))}function O(e,t,o,n){var r=e._actions[t]||(e._actions[t]=[]);r.push((function(t){var r=o.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return u(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}function k(e,t,o,n){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return o(n.state,n.getters,e.state,e.getters)})}function T(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function E(e,t){return t.reduce((function(e,t){return e[t]}),e)}function N(e,t,o){return l(e)&&e.type&&(o=t,t=e,e=e.type),{type:e,payload:t,options:o}}function x(e){h&&e===h||(h=e,n(h))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},g.prototype.commit=function(e,t,o){var n=this,r=N(e,t,o),i=r.type,a=r.payload,s=(r.options,{type:i,payload:a}),l=this._mutations[i];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,n.state)})))},g.prototype.dispatch=function(e,t){var o=this,n=N(e,t),r=n.type,i=n.payload,a={type:r,payload:i},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,o.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(e){return e(i)}))):s[0](i);return new Promise((function(e,t){l.then((function(t){try{o._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,o.state)}))}catch(u){0}e(t)}),(function(e){try{o._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,o.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 o="function"===typeof e?{before:e}:e;return y(o,this._actionSubscribers,t)},g.prototype.watch=function(e,t,o){var n=this;return this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,o)},g.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},g.prototype.registerModule=function(e,t,o){void 0===o&&(o={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),w(this,this.state,e,this._modules.get(e),o.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 o=E(t.state,e.slice(0,-1));h.delete(o,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 o={};return j(t).forEach((function(t){var n=t.key,r=t.val;o[n]=function(){var t=this.$store.state,o=this.$store.getters;if(e){var n=R(this.$store,"mapState",e);if(!n)return;t=n.context.state,o=n.context.getters}return"function"===typeof r?r.call(this,t,o):t[r]},o[n].vuex=!0})),o})),I((function(e,t){var o={};return j(t).forEach((function(t){var n=t.key,r=t.val;o[n]=function(){var t=[],o=arguments.length;while(o--)t[o]=arguments[o];var n=this.$store.commit;if(e){var i=R(this.$store,"mapMutations",e);if(!i)return;n=i.context.commit}return"function"===typeof r?r.apply(this,[n].concat(t)):n.apply(this.$store,[r].concat(t))}})),o}));var D=I((function(e,t){var o={};return j(t).forEach((function(t){var n=t.key,r=t.val;r=e+r,o[n]=function(){if(!e||R(this.$store,"mapGetters",e))return this.$store.getters[r]},o[n].vuex=!0})),o}));I((function(e,t){var o={};return j(t).forEach((function(t){var n=t.key,r=t.val;o[n]=function(){var t=[],o=arguments.length;while(o--)t[o]=arguments[o];var n=this.$store.dispatch;if(e){var i=R(this.$store,"mapActions",e);if(!i)return;n=i.context.dispatch}return"function"===typeof r?r.apply(this,[n].concat(t)):n.apply(this.$store,[r].concat(t))}})),o}));function j(e){return M(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 M(e){return Array.isArray(e)||l(e)}function I(e){return function(t,o){return"string"!==typeof t?(o=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,o)}}function R(e,t,o){var n=e._modulesNamespaceMap[o];return n}}).call(this,o("c8ba"))},"30b5":function(e,t,o){"use strict";var n=o("c532");function r(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,o){if(!t)return e;var i;if(o)i=o(t);else if(n.isURLSearchParams(t))i=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},"387f":function(e,t,o){"use strict";e.exports=function(e,t,o,n,r){return e.config=t,o&&(e.code=o),e.request=n,e.response=r,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,o){"use strict";var n=o("c532");e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");function r(e){var n=e;return t&&(o.setAttribute("href",n),n=o.href),o.setAttribute("href",n),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}return e=r(window.location.href),function(t){var o=n.isString(t)?r(t):t;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},"3c4e":function(e,t,o){"use strict";var n=function(e){return r(e)&&!i(e)};function r(e){return!!e&&"object"===typeof e}function i(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||l(e)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function l(e){return e.$$typeof===s}function u(e){return Array.isArray(e)?[]:{}}function c(e,t){var o=t&&!0===t.clone;return o&&n(e)?f(u(e),e,t):e}function p(e,t,o){var r=e.slice();return t.forEach((function(t,i){"undefined"===typeof r[i]?r[i]=c(t,o):n(t)?r[i]=f(e[i],t,o):-1===e.indexOf(t)&&r.push(c(t,o))})),r}function d(e,t,o){var r={};return n(e)&&Object.keys(e).forEach((function(t){r[t]=c(e[t],o)})),Object.keys(t).forEach((function(i){n(t[i])&&e[i]?r[i]=f(e[i],t[i],o):r[i]=c(t[i],o)})),r}function f(e,t,o){var n=Array.isArray(t),r=Array.isArray(e),i=o||{arrayMerge:p},a=n===r;if(a){if(n){var s=i.arrayMerge||p;return s(e,t,o)}return d(e,t,o)}return c(t,o)}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,o){return f(e,o,t)}))};var m=f;e.exports=m},"467f":function(e,t,o){"use strict";var n=o("2d83");e.exports=function(e,t,o){var r=o.config.validateStatus;!r||r(o.status)?e(o):t(n("Request failed with status code "+o.status,o.config,null,o.request,o))}},"46b8":function(e,t,o){"use strict";o("69e7")},4897:function(e,t,o){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var n=o("f0d9"),r=p(n),i=o("8bbf"),a=p(i),s=o("3c4e"),l=p(s),u=o("9d7e"),c=p(u);function p(e){return e&&e.__esModule?e:{default:e}}var d=(0,c.default)(a.default),f=r.default,m=!1,h=function(){var e=Object.getPrototypeOf(this||a.default).$t;if("function"===typeof e&&a.default.locale)return m||(m=!0,a.default.locale(a.default.config.lang,(0,l.default)(f,a.default.locale(a.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},g=t.t=function(e,t){var o=h.apply(this,arguments);if(null!==o&&void 0!==o)return o;for(var n=e.split("."),r=f,i=0,a=n.length;i<a;i++){var s=n[i];if(o=r[s],i===a-1)return d(o,t);if(!o)return"";r=o}return""},b=t.use=function(e){f=e||f},y=t.i18n=function(e){h=e||h};t.default={use:b,t:g,i18n:y}},"4a7b":function(e,t,o){"use strict";var n=o("c532");e.exports=function(e,t){t=t||{};var o={};return n.forEach(["url","method","params","data"],(function(e){"undefined"!==typeof t[e]&&(o[e]=t[e])})),n.forEach(["headers","auth","proxy"],(function(r){n.isObject(t[r])?o[r]=n.deepMerge(e[r],t[r]):"undefined"!==typeof t[r]?o[r]=t[r]:n.isObject(e[r])?o[r]=n.deepMerge(e[r]):"undefined"!==typeof e[r]&&(o[r]=e[r])})),n.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],(function(n){"undefined"!==typeof t[n]?o[n]=t[n]:"undefined"!==typeof e[n]&&(o[n]=e[n])})),o}},5082:function(e,t){var o=Object.prototype.hasOwnProperty,n={},r={};function i(){var e=0;for(var t in n)e++;return e}var a=e.exports={length:i(),getItem:function(e){return o.call(n,e)?n[e]:null},setItem:function(e,t){e in r||(n[e]=t),a.length=i()},removeItem:function(e){delete n[e],a.length=i()},clear:function(){n={},a.length=0},supported:!0}},"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__),_src_utils_common_util__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("c559"),_eventBus__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("06e7"),axios__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("bc3a"),axios__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_3__),js_cookie__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("a78e"),js_cookie__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(js_cookie__WEBPACK_IMPORTED_MODULE_4__),_common_util__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("8217"),imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("f6cd"),imatrix_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("29b3"),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 _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _createForOfIteratorHelper(e,t){var o="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!o){if(Array.isArray(e)||(o=_unsupportedIterableToArray(e))||t&&e&&"number"===typeof e.length){o&&(e=o);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}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 i,a=!0,s=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==o.return||o.return()}finally{if(s)throw i}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"===typeof e)return _arrayLikeToArray(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function _regeneratorRuntime(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var e={},t=Object.prototype,o=t.hasOwnProperty,n=Object.defineProperty||function(e,t,o){e[t]=o.value},r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function l(e,t,o){return Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(E){l=function(e,t,o){return e[t]=o}}function u(e,t,o,r){var i=t&&t.prototype instanceof d?t:d,a=Object.create(i.prototype),s=new O(r||[]);return n(a,"_invoke",{value:w(e,o,s)}),a}function c(e,t,o){try{return{type:"normal",arg:e.call(t,o)}}catch(E){return{type:"throw",arg:E}}}e.wrap=u;var p={};function d(){}function f(){}function m(){}var h={};l(h,i,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(k([])));b&&b!==t&&o.call(b,i)&&(h=b);var y=m.prototype=d.prototype=Object.create(h);function v(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function r(n,i,a,s){var l=c(e[n],e,i);if("throw"!==l.type){var u=l.arg,p=u.value;return p&&"object"==_typeof(p)&&o.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(p).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;n(this,"_invoke",{value:function(e,o){function n(){return new t((function(t,n){r(e,o,t,n)}))}return i=i?i.then(n,n):n()}})}function w(e,t,o){var n="suspendedStart";return function(r,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===r)throw i;return T()}for(o.method=r,o.arg=i;;){var a=o.delegate;if(a){var s=C(a,o);if(s){if(s===p)continue;return s}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===n)throw n="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);n="executing";var l=c(e,t,o);if("normal"===l.type){if(n=o.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:o.done}}"throw"===l.type&&(n="completed",o.method="throw",o.arg=l.arg)}}}function C(e,t){var o=t.method,n=e.iterator[o];if(void 0===n)return t.delegate=null,"throw"===o&&e.iterator.return&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==o&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+o+"' method")),p;var r=c(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,p;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function k(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:T}}function T(){return{value:void 0,done:!0}}return f.prototype=m,n(y,"constructor",{value:m,configurable:!0}),n(m,"constructor",{value:f,configurable:!0}),f.displayName=l(m,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,l(e,s,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},v(_.prototype),l(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,o,n,r,i){void 0===i&&(i=Promise);var a=new _(u(t,o,n,r),i);return e.isGeneratorFunction(o)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},v(y),l(y,s,"Generator"),l(y,i,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),o=[];for(var n in t)o.push(n);return o.reverse(),function e(){for(;o.length;){var n=o.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=k,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(o,n){return a.type="throw",a.arg=e,t.next=o,n&&(t.method="next",t.arg=void 0),!!n}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),S(o),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc===e){var n=o.completion;if("throw"===n.type){var r=n.arg;S(o)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:k(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=void 0),p}},e}function asyncGeneratorStep(e,t,o,n,r,i,a){try{var s=e[i](a),l=s.value}catch(u){return void o(u)}s.done?t(l):Promise.resolve(l).then(n,r)}function _asyncToGenerator(e){return function(){var t=this,o=arguments;return new Promise((function(n,r){var i=e.apply(t,o);function a(e){asyncGeneratorStep(i,n,r,a,s,"next",e)}function s(e){asyncGeneratorStep(i,n,r,a,s,"throw",e)}a(void 0)}))}}var Util={isFullPath:function(e){return 0===e.indexOf("http:")||0===e.indexOf("https:")},getRealRestApiPath:function(e,t){var o=e;if(e&&t&&!this.isFullPath(e)){var n=this.getBaseUrl(t);o=!1===t.standard?n+"/"+t.code+e:n+e}return o},getWorkflowId:function(e){var t=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(e,"_formData");if(t){var o=t.workflow_id;return o||(o=t.WORKFLOW_ID),!o&&t.workflowInfo&&(o=t.workflowInfo.workflowId),o}},getBackButton:function(){return{code:"back",label:Object(_src_utils_common_util__WEBPACK_IMPORTED_MODULE_1__["a"])().t("superPage.backButton")}},sortArr:function(e,t,o){return e?(e=e.sort(this.compare(t,o)),e):[]},compare:function(e,t){return"desc"===t?function(t,o){var n=t[e],r=o[e];return r>n?1:r<n?-1:0}:function(t,o){var n=t[e],r=o[e];return r<n?1:r>n?-1:0}},canExecuteWithMore:function(e,t,o,n,r){var i=this;return new Promise((function(a,s){if(void 0===e||""===e||void 0===t||0===t.length)a({canExecute:!0});else{for(var l,u,c=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(i.pageCode,"_contextParameter"),p=!0,d=0;d<t.length;d++)for(var f=t[d],m=0;m<e.length;m++){var h=e[m],g=h.toolTips,b=h.conditionList,y=Object(imatrix_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_7__["a"])(b,f,r,c,o,n,null);if(!y){p=!1,l=g,u=f;break}}p?a({canExecute:!0}):(l&&i.$message({showClose:!0,type:"warning",message:l}),a({canExecute:!1,message:l,failEntity:u}))}}))},canExecute:function(e,t,o,n,r){var i=[];return i.push(t),this.canExecuteWithMore(e,i,o,n,r)},isButtonVisible:function(e,t,o){var n=this;return new Promise((function(r,i){var a=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_pageIsDsc");if(e&&e.length>0){var s=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_formData"),l=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_contextParameter"),u=Object(imatrix_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_7__["a"])(e,s,o,l,a,t,null);r(u)}else r(!0)}))},getWorkflowButtonVisible:function(e,t,o){var n=this;return new Promise((function(r,i){var a=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_pageIsDsc");if(e&&e.length>0){for(var s=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_formData"),l=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_contextParameter"),u={},c=0;c<e.length;c++){var p=e[c],d=p.event;if(d){var f=p.isVisible,m=!0;if(void 0!==f&&null!==f&&f+""==="false"&&(m=!1),!0===m){var h=p.buttonDisplayConditionsList;if(void 0===h||null===h)continue;var g=h;m=Object(imatrix_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_7__["a"])(g,s,o,l,a,t,null)}u[d]=m}}Object.keys(u).length>0?r(u):r(!0)}else r(!0)}))},afterSuccessOperateInForm:function(e,t,o,n){if(console.log("afterSuccessOperateInForm---successOperation=-",e,t,o),Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["g"])(this.pageCode,"_formData",t),e&&""!==e&&null!==e||(e="refresh"),"noOperation"===e)this.$refs.superForm&&this.$refs.superForm.refresh(t);else if("refresh"===e)t&&(t.id||t.ID)&&(this.dataId=null==t.ID?t.id:t.ID,this.$route.query._t_&&sessionStorage.setItem(this.$route.query._t_+"_id",this.dataId),n?this.initWorkflowFormData():this.getDscFormData());else if("closeWindow"===e||"closeWindowAndRefresh"===e){if(console.log("afterSuccessOperateInForm--successOperation=--",e),void 0!==o&&!0===o&&t&&void 0!==t){var r,i=sessionStorage.getItem(this.pageCode+"-jumpMode");if(i){var a=JSON.parse(i);r=a.rowIndex}this.$emit("update-value",t,this.tableName,r)}this.closePage(this.pageCode,e,t)}},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,o,n,r,i,a,s,l,u,c,p,d,f,m,h,g,b,y,v,_,w){var C={entity:i,formViewCode:o,formViewVersion:n,tableName:r,formNoRuleCode:l,isWorkflowEntity:v,functionCode:_};return this.judgeHeavyList&&(C.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),u&&(this.isArrayFn(u)?C.dataConversionRule=u.join(","):"string"===typeof u&&(C.dataConversionRule=u)),c&&(C.autoSetValueData=JSON.stringify(c)),d&&(C.logSettingText=d),C.systemCode||(C.systemCode=e.code),a&&(C.entityName=a),y&&(C.beanName=y),h&&(C.taskMap=h),g&&(C.needDeleteFileUuidS=g),this.dataTypeMap&&(C.dataTypeMap=this.dataTypeMap),f&&(C.dynamicColumnInfo=f),m&&(C.mainDefaultValueColumns=m),b&&(C.additionalParamMap=b),void 0!==w&&(C.unControlVersion=w),this.getSaveFormRequestByParam(e,t,C,s,p,i)},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.getModels(!1).then(function(){var _ref=_asyncToGenerator(_regeneratorRuntime().mark((function _callee(viewModels){var param,beforeClickResult,request,buttonFun,baseUrl,path;return _regeneratorRuntime().wrap((function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:if(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),beforeClickResult=_this4.callBeforeClickButton(_this4.formEvents,_this4.formViewCode+"__exportForm",{params:_this4.additionalParamMap,exportParam:param}),!Object(imatrix_ui_src_utils_common_util__WEBPACK_IMPORTED_MODULE_9__["c"])(beforeClickResult)){_context.next=9;break}return _context.next=9,beforeClickResult.then((function(e){console.log("点击前事件返回结果--Promise--resolve---",e),beforeClickResult=e}));case 9:if(beforeClickResult){_context.next=11;break}return _context.abrupt("return");case 11:"exportPDF"===button.code?_this4.exportFormPdf(fileName,myJsContent,system,param):(myJsContent?(buttonFun=eval("("+myJsContent+")"),request=buttonFun(_this4,param)):(baseUrl=_this4.getBaseUrl(system),path=baseUrl+"/dsc/commons/export-reports",axios__WEBPACK_IMPORTED_MODULE_3___default.a.defaults.headers.common.Authorization=Object(imatrix_ui_src_utils_auth__WEBPACK_IMPORTED_MODULE_10__["a"])(),request=axios__WEBPACK_IMPORTED_MODULE_3___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]),o="报告.xlsx";fileName&&(o=fileName);var n=document.createElement("a");n.download=o,n.style.display="none",n.target="_blank",n.href=URL.createObjectURL(t),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n),_this4.callAfterClickButton(_this4.formEvents,_this4.formViewCode+"__exportForm",{params:_this4.additionalParamMap,entity:_this4.formData})})));case 12:case"end":return _context.stop()}}),_callee)})));return function(e){return _ref.apply(this,arguments)}}())},exportFormPdf:function exportFormPdf(fileName,myJsContent,system,param){var _this5=this,request;if(myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else{var baseUrl=this.getBaseUrl(system),path=baseUrl+"/dsc/commons/export-pdf";axios__WEBPACK_IMPORTED_MODULE_3___default.a.defaults.headers.common.Authorization=Object(imatrix_ui_src_utils_auth__WEBPACK_IMPORTED_MODULE_10__["a"])(),request=axios__WEBPACK_IMPORTED_MODULE_3___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]),o=document.createElement("a");o.download=fileName.substring(0,fileName.lastIndexOf("."))+".pdf",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),_this5.callAfterClickButton(_this5.formEvents,_this5.formViewCode+"__exportForm",{params:_this5.additionalParamMap,entity:_this5.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 o=e.getFullYear(),n=e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,r=e.getDate()<10?"0"+e.getDate():e.getDate();return o+"-"+n+"-"+r}},commonButtonClick:function(e){this.$emit("click",e)},workflowButtonClick:function(e,t,o,n,r,i){this.$emit("workflowClick",e,t,o,n,r,i)},isViewDetail:function(e){var t=!1,o=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(this.pageCode,"openPageButton");return o||(o=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(this.pageCode,"_sourceButtonCode")),!o||"viewDetail"!==o||e&&"list"===e||(t=!0),t},packageFormEvents:function(e){var t={},o=[],n=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(this.pageCode,"_pageEvents");if(n){o=n.formEvents,e&&o&&Object.keys(o).forEach((function(n){var r=n.substring(0,n.indexOf("__"));if(e===r){var i=n.substring(n.indexOf("__")+"__".length);t[i]=o[n]}}));var r=n.customEvents;r&&(t.customEvents=r)}return t},findOptionsByDynamicDataSource:function(e,t,o,n){var r=this;return new Promise((function(i,a){void 0!==t&&null!==t||(t="");var s={searchText:t};n&&(s.additionalParamMap=n),o&&null!==o&&(s.entity=o),r.findDynamicDataSourceByCode(e,s).then((function(e){i(e)})).catch((function(e){a(e)}))}))},findDynamicDataSourceByCode:function(e,t){var o=this;return new Promise((function(n,r){o.$http.post(vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseURL+"/common/dynamic-data-source/"+e,t).then((function(i){i.backendUrl?o.$http.post(i.backendUrl+"/common/dynamic-data-source/"+e,t,{headers:{targetSystemCode:i.systemCode}}).then((function(e){n(e)})).catch((function(e){r(e)})):n(i)}))}))},getOptionGroupOptions:function(e){var t=this;return new Promise((function(o,n){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 o=e.value,n=e.name,r=e.selected;t.push({label:n,value:o,selected:r})})),o(t)}))}))},analysisStandardValues:function(e){var t=this;return new Promise((function(o,n){t.$http.post(vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseAPI+"/component/super-pages/analysisValues",e).then((function(e){o(e)}))}))},jumpToPage:function(e,t,o,n,r,i,a,s){var l=this;Object(imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_6__["a"])(e,t,o,n,r,i,a).then((function(t){if(t){var o=t.jumpMode,n=t;"popup"===o?(n.isRefreshWhenClosePopup=e.isRefreshWhenClosePopup,l.jumpPageSetting=n,l.isShowPageDialog=!0):"refresh"===o&&l.$router.push({path:"/dsc/page",query:n})}}))},closePage:function(e,t,o){var n=sessionStorage.getItem(e+"-jumpMode");if(sessionStorage.removeItem(e+"-jumpMode"),n){var r=JSON.parse(n),i=r.jumpMode;if(r.successOperation=t,"popup"===i){var a=sessionStorage.getItem(e+"_source_page_code");sessionStorage.removeItem(e+"_source_page_code");var s=o;!o&&this.pageType&&"form"===this.pageType&&(s=this.getFormData()),a?(console.log("-----close-component-page-dialog=",r,s,this.pageCode),_eventBus__WEBPACK_IMPORTED_MODULE_2__["a"].$emit(a+"-close-component-page-dialog",r,s,this.pageCode)):(console.log("-----close-dialog=",e,t,s,this.pageCode,this.pageType),_eventBus__WEBPACK_IMPORTED_MODULE_2__["a"].$emit(e+"-close-dialog",e,t,s,this.pageCode))}else"openWindow"===i||"newTab"===i?window.parent?window.parent.close():window.close():this.$router.go(-1)}},closeInPage:function(e){var t,o;e&&e.entity&&(t=e.entity),e&&e.pageCode&&(o=e.pageCode),this.closeInPageEvent(t,o,null,this)},closeInPageEvent:function(e,t,o,n){if(n.jumpPageSetting){var r,i=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_pageEvents");if(i)n.pageType&&"form"===n.pageType&&(r=n.getFormData()),n.callFormItemEvent(i,n.jumpPageSetting.closeEvent,r,{popEntity:e,popPageCode:t,pageCode:n.pageCode});var a=!1;n.pageType&&"list"===n.pageType&&(a=!0),n.eventBusOnCloseDialog(t,n,n.jumpPageSetting.buttonCode,o,n.jumpPageSetting,a)}else n.isShowPageDialog=!1,n.jumpPageSetting=null},eventBusOnCloseDialog:function(e,t,o,n,r,i){if(t.isShowPageDialog=!1,t.jumpPageSetting=null,void 0!==i&&null!==i&&!0===i){var a=t.$refs.grid;a&&a.refresh()}else if(o&&("create"===o||"update"===o)||n&&"closeWindowAndRefresh"===n){var s=t.$refs.grid;s&&s.refresh()}else if(void 0!==r.isRefreshWhenClosePopup&&!0===r.isRefreshWhenClosePopup){var l=t.$refs.grid;l&&l.refresh()}},getWatermarkLabel:function(e,t){var o="";if(e.label&&""!==e.label){var n,r=/\$\{(.+?)\]}/g,i=e.label.match(r),a=_createForOfIteratorHelper(i);try{for(a.s();!(n=a.n()).done;){var s=n.value,l=s;if(s.indexOf("${writeTitle[")>=0){var u=s.indexOf("${writeTitle[");l=l.substring(u+13),l=l.substring(0,l.indexOf("]")),o+=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)),o+=l)}}catch(c){a.e(c)}finally{a.f()}}return o},setWatermark:function(e,t){var o=this;this.getSystemWatermark(e).then((function(e){null!=e&&e.watermarkSetting&&o.showPageWatermarkSetting(JSON.parse(e.watermarkSetting),t)}))},showPageWatermarkSetting:function(e,t){if(e){var o=this.getWatermarkLabel(e,t);Object(imatrix_ui_src_utils_watermark__WEBPACK_IMPORTED_MODULE_8__["a"])(o,e)}},closeFormPageDialog:function(e,t,o,n){if(e){var r=e.position;r&&"form"!==r?t.$refs.superForm&&t.$refs.superForm.closeSubTablePageDialog(e.listCode,o,n):t.$refs.superForm&&t.$refs.superForm.closePageDialog({entity:o,pageCode:n})}else t.$refs.superForm.closePageDialog({entity:o,pageCode:n})},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 _this12=this;this.$refs.superForm&&this.$refs.superForm.getViewModels().then(function(){var _ref2=_asyncToGenerator(_regeneratorRuntime().mark((function _callee2(viewModels){var param,beforeClickResult,request,buttonFun,baseUrl,path;return _regeneratorRuntime().wrap((function _callee2$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:if(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),beforeClickResult=_this12.callBeforeClickButton(_this12.formEvents,_this12.formViewCode+"__exportForm",{params:_this12.additionalParamMap,exportParam:param}),!Object(imatrix_ui_src_utils_common_util__WEBPACK_IMPORTED_MODULE_9__["c"])(beforeClickResult)){_context2.next=9;break}return _context2.next=9,beforeClickResult.then((function(e){console.log("点击前事件返回结果--Promise--resolve---",e),beforeClickResult=e}));case 9:if(beforeClickResult){_context2.next=11;break}return _context2.abrupt("return");case 11:myJsContent?(buttonFun=eval("("+myJsContent+")"),request=buttonFun(_this12,param)):(baseUrl=_this12.getBaseUrl(system),path=baseUrl+"/dsc/commons/create-preview-file",axios__WEBPACK_IMPORTED_MODULE_3___default.a.defaults.headers.common.Authorization=js_cookie__WEBPACK_IMPORTED_MODULE_4___default.a.get("JWT"),request=axios__WEBPACK_IMPORTED_MODULE_3___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))}));case 13:case"end":return _context2.stop()}}),_callee2)})));return function(e){return _ref2.apply(this,arguments)}}())},reviewButton:function(e){if(this.$refs.superForm){var t=this.$refs.superForm.getFormData();Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["g"])(this.pageCode,"_formData",t)}else e&&Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["g"])(this.pageCode,"_formData",e);this.isShowBuuton=!1;var o=this;setTimeout((function(){o.isShowBuuton=!0}),100)},refreshTab:function(e,t){void 0!==e&&null!==e||(e=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(this.pageCode,"_activeTab")),_eventBus__WEBPACK_IMPORTED_MODULE_2__["a"].$emit(this.pageCode+"-refresh-tab",e,t)},getPageParam:function(e,t){var o=this;this.$emit("getPageParam",e,(function(n){t(o[e])}))}};__webpack_exports__["a"]=Util},5270:function(e,t,o){"use strict";var n=o("c532"),r=o("c401"),i=o("2e67"),a=o("2444"),s=o("d925"),l=o("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=r(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||a.adapter;return t(e).then((function(t){return u(e),t.data=r(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=r(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},5824:function(e,t,o){"use strict";var n=o("8bbf"),r=o.n(n),i=o("4897"),a=o.n(i),s=o("a925"),l=o("b2d6"),u=o.n(l);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){f(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function f(e,t,o){return t=m(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function m(e){var t=h(e,"string");return"symbol"===c(t)?t:String(t)}function h(e,t){if("object"!==c(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var g=d({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",fullScreen:"Full Screen"},imatrixUIMessage:{whetherToConfirmDeletion:"Whether To Confirm Deletion",tips:"Tips",pleaseEnterContent:"Please Enter Content",internalServerError:"Server error",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",asyncExport:"Asynchronous export, please wait for message notification!",NoContent:"No Content"},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}",pageRecordLine:"Record in row {row} of page {pageNum}",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",selectedDept:"Selected Departments",namePath:"Name Path"},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",superiorDeptNameFullPath:"Department full path"},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",draw_dept_task:"Draw Department",abandon_draw_dept_task:"Give Up Draw Department"},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}]",create_copy_task:"{1} The task was copied to [{2}",toDoText:"Todo",operator:"Operator",operatorDept:"Operator Dept",operationTime:"Operation Time",history_draw_dept_task:"{1} Received tasks from department [{2}]",history_abandon_draw_dept_task:"{1} Abandon the task of receiving department [{2}]"},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"},IntervalSelection:{year:"year",quarter:"quarter",auxiliary:"auxiliary word for ordinal numbers",week:"week"}},u.a),b=g,y=o("f0d9"),v=o.n(y);function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){P(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function P(e,t,o){return t=S(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function S(e){var t=O(e,"string");return"symbol"===_(t)?t:String(t)}function O(e,t){if("object"!==_(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!==_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var k=C({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:"预览图片",fullScreen:"全屏"},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:"该按钮未绑定资源,请先绑定资源",asyncExport:"正在异步导出,请等待消息通知!",NoContent:"暂无内容"},superGrid:{columnConfig:"字段配置",pleaseSaveOrCancelEditingLine:"请先保存或撤销编辑第 {row} 行数据",pleaseSaveLine:"请先保存第 {row} 行数据",noNeedToSaveRow:"无需保存第 {row} 行数据",pleaseSetURLToSaveRowInformation:"请设置“保存行信息的url”",lineSavedSuccessfully:"第 {row} 行保存成功",theReturnValueOfTheBeforesaveCallbackMethodIsFalse:"beforeSave回调方法返回值为false",lineNoNeedToUndoEdit:"第 {row} 行无需撤销编辑",lineCancelledSuccessfully:"第 {row} 行撤销成功",label:"字段名",isShow:"是否显示",isExportable:"是否导出",recordLine:"第 {row} 行记录",pageRecordLine:"第 {pageNum} 页第 {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:"移除部门",selectedDept:"已选部门",namePath:"名称路径"},departmentUserTree:{pleaseEnterUserInformation:"请输入用户信息",selectedPeople:"已选人员",searchFieldUserName:"姓名",searchFieldLoginName:"登录名",searchFieldEmail:"邮箱",searchFieldTelephone:"手机号",searchFieldJobNumber:"工号",searchFieldHonorificName:"尊称"},departmentUserTreeInline:{name:"姓名",department:"所属部门",branch:"所属分支",removeUser:"移除用户",email:"邮箱",loginName:"登录名",superiorDeptNameFullPath:"组织全路径"},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:"导出报告",draw_dept_task:"部门领取",abandon_draw_dept_task:"放弃部门领取"},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}]的任务",create_copy_task:"{1}把任务抄送给了[{2}]",toDoText:"待处理",operator:"操作人",operatorDept:"操作人部门",operationTime:"操作时间",history_draw_dept_task:"{1}领取了部门[{2}]的任务",history_abandon_draw_dept_task:"{1}放弃领取部门[{2}]的任务"},gateway:{timeout:"接口调用超时",callFailed:"接口调用失败"},superNineGrid:{add:"新建"},fsUpload:{upload:"上传",download:"下载",delete:"删除",preview:"预览",name:"名称",picture:"图片",operating:"操作",uploadSucceeded:"上传成功",theNumberOfUploadsExceedsTheLimitTheLimitIs:"上传数量超过限制,限制数量为"},messageVideo:{attemptingToIdentify:"正在尝试识别....",callingRearCamera:"正在调用后置摄像头...",identificationFailed:"识别失败"},IntervalSelection:{year:"年",quarter:"季度",auxiliary:"第",week:"周"}},v.a),T=k;r.a.use(s["a"]);var E={en:b,cn:T},N=new s["a"]({locale:"cn",messages:E});a.a.i18n((function(e,t){return N.t(e,t)}));t["a"]=N},"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&&Object.keys(button.jumpPage).length>0)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{var _successOperation;button.successOperation&&(_successOperation=button.successOperation),_successOperation||(_successOperation="closeWindow"),this.refreshMyList(_successOperation,!1,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;if(button.templateFiles&&button.templateFiles.length>0){var templateFilesResult=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(button.templateFiles);templateUUID=templateFilesResult[0].templateUUID,templateShowPath=templateFilesResult[0].templateShowPath}else templateUUID=button.templateUUID,templateShowPath=button.templateShowPath;this.downloadTemplate(templateUUID,templateShowPath,tableName,importRuleCode,system,button.logSetting,listCode,entityName,beanName,button)}else if("export"===button.code){var isAsync=!1;isAsync=!!button.hasOwnProperty("isAsync")&&button.isAsync,this.export(listCode,button.functionCode,uuid,isAsync,this.pageCode)}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,o){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!==o&&!0===o&&(!t||1!==t.length))return this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.pleaseSelectRecord")}),!1;return!0},refreshMyList:function(e,t,o){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&&o&&void 0!==o){var n,r=sessionStorage.getItem(this.pageCode+"-jumpMode");if(console.log("---update-value-closePage---jumpInfo=",r),r){var i=JSON.parse(r);n=i.rowIndex}this.$emit("update-value",o,this.tableName,n)}this.closePage(this.pageCode,e)}},create:function(e,t,o,n){console.log("create-------this.pageCode=",this.pageCode),this.jumpToPage(e,t,null,n&&n.length>0?n[0]:null,this.additionalParamMap,null,o.code,this.pageCode)},update:function(e,t,o,n,r,i){this.jumpToPage(e,t,o,i,this.additionalParamMap,r,n.code,this.pageCode)},viewDetail:function(e,t,o,n,r){this.jumpToPage(e,t,o,r,this.additionalParamMap,null,n.code,this.pageCode),Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["g"])(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});if(request){button.loading=!0;try{request.then((function(e){_this2.$refs.grid.isDeleteChange(!0),_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(e){button.loading=!1}finally{button.loading=!1}}})).catch((function(){}))},downloadTemplate:function(e,t,o,n,r,i,a,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)),i&&""!==i&&(c+="&logSettingText="+i),r&&r.code&&(c+="&systemCode="+r.code),n&&(c+="&importCode="+n),a&&(c+="&listCode="+a),s&&(c+="&entityName="+s),l&&(c+="&beanName="+l),u&&u.functionCode&&(c+="&functionCode="+u.functionCode),o&&(c+="&tableName="+o);var p=this.getBaseUrl(r);window.open(p+"/dsc/commons/download-files"+c)},doImportFinally:function doImportFinally(system,restfulApiPath,tableName,entityName,myJsContent,button,listViewImportDuplicate,fileObj,judgeHeavyList,formNoRuleCode,importRuleCode,listCode,beanName,pageCode){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 isAsync=!1;isAsync=!!button.hasOwnProperty("isAsync")&&button.isAsync,param.append("isAsync",isAsync),param.append("pageCode",pageCode);var isWorkflowEntity=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["d"])(this.pageCode,tableName+"_isProcess");if(null!==isWorkflowEntity&&void 0!==isWorkflowEntity&&param.append("isWorkflowEntity",isWorkflowEntity),button.functionCode&&param.append("functionCode",button.functionCode),this.additionalParamMap){if(void 0!==this.listToolbarFormData&&this.listToolbarFormData!=={}&&null!==this.listToolbarFormData)for(var key in this.listToolbarFormData)this.additionalParamMap[key]=this.listToolbarFormData[key];param.append("additionalParamMapStr",JSON.stringify(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){if(isAsync)_this3.$message({showClose:!0,type:"success",message:_this3.$t("superPageMessage.asyncImport")});else{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,o,n,r){var i,a={};this.selections&&this.selections.length>0&&(a.data=this.selections);var s=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["d"])(this.pageCode,"_pageNameI18n");s||(s=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["d"])(this.pageCode,"_pageName")),s||(s=this.pageCode),i=s,this.$exportDataNew(a,i,e,t,o,null,n,r),this.callAfterClickButton(this.listEvents,this.listCode+"__export",{params:this.additionalParamMap})},submitGrid:function(e,t,o,n,r,i,a,s,l,u,c,p,d,f){var m=this,h="superPageMessage.whetherToConfirm"+this.upperFirstCase(l);this.$confirm(this.$t(h,{name:a.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:n,functionCode:a.functionCode};m.judgeHeavyList&&(u.judgeHeavyList=JSON.stringify(m.judgeHeavyList)),a.dataConversionRule&&(u.dataConversionRule=a.dataConversionRule.join(",")),a.autoSetValueData&&(u.autoSetValueData=JSON.stringify(a.autoSetValueData)),a.logSetting&&(u.logSettingText=a.logSetting),u.systemCode||(u.systemCode=t.code),a.taskMap&&(u.taskMap=a.taskMap),r&&(u.entityName=r),d&&(u.beanName=d),c&&(u.additionalParamMap=c),u.isWorkflowEntity=f,"submit"===a.code?l="/dsc/commons/batch-submits":"agree"===a.code?l="/dsc/commons/batch-approves":"disagree"===a.code&&(l="/dsc/commons/batch-refuses");var p=m.getSaveFormRequestByParam(t,o,u,i,l);p&&(a.loading=!0,p.then((function(e){m.refreshMyList(a.successOperation),m.$message({showClose:!0,type:"success",message:m.$t("superPageMessage.successfulOperation")}),m.callAfterClickButton(m.listEvents,m.listCode+"__"+a.code,{params:m.additionalParamMap}),a.loading=!1})).catch((function(e){m.refreshMyList(a.successOperation),a.loading=!1})))})).catch((function(e){console.log(e)}))},getDataTypeMapRequest:function(e,t){var o=this.getBaseUrl(e);return this.$http.get(o+"/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 o=this.jumpPageSetting&&this.jumpPageSetting.updateValueEvent?this.jumpPageSetting.updateValueEvent:null;this.customEvents&&o&&null!==o&&this.customEvents[o]&&this.customEvents[o].call(this,{sourceModel:e,sourceTableName:t,jumpPageSetting:this.jumpPageSetting,entity:this.editRow,targetTableName:this.tableName})}};__webpack_exports__["a"]=buttonEvents},"69e7":function(e,t,o){},"746a":function(e,t,o){"use strict";var n=Object.prototype.hasOwnProperty,r=o("9c59"),i={},a="§";function s(){if(l.supported){var e,t=window.name,o=0;for(e in i=t.charAt(0)===a?r.parse(t.slice(1)):{},i)n.call(i,e)&&o++;l.length=o}}var l=e.exports={length:0,getItem:function(e){return n.call(i,e)?i[e]:null},setItem:function(e,t){i[e]=t,window.name=r.stringify(i,a),l.length++},removeItem:function(e){delete i[e],window.name=r.stringify(i,a),l.length--},clear:function(){i={},window.name="",l.length=0},supported:function(){return"object"===typeof window&&"string"===typeof window.name}()};s()},"7a77":function(e,t,o){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},"7aac":function(e,t,o){"use strict";var n=o("c532");e.exports=n.isStandardBrowserEnv()?function(){return{write:function(e,t,o,r,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(o)&&s.push("expires="+new Date(o).toGMTString()),n.isString(r)&&s.push("path="+r),n.isString(i)&&s.push("domain="+i),!0===a&&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(){}}}()},"7f74":function(e,t,o){},8122:function(e,t,o){"use strict";t.__esModule=!0,t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=u,t.hasOwn=c,t.toObject=d,t.getPropByPath=f,t.rafThrottle=y,t.objToArray=v;var r=o("8bbf"),i=s(r),a=o("a742");function s(e){return e&&e.__esModule?e:{default:e}}var l=Object.prototype.hasOwnProperty;function u(){}function c(e,t){return l.call(e,t)}function p(e,t){for(var o in t)e[o]=t[o];return e}function d(e){for(var t={},o=0;o<e.length;o++)e[o]&&p(t,e[o]);return t}t.getValueByPath=function(e,t){t=t||"";for(var o=t.split("."),n=e,r=null,i=0,a=o.length;i<a;i++){var s=o[i];if(!n)break;if(i===a-1){r=n[s];break}n=n[s]}return r};function f(e,t,o){var n=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var r=t.split("."),i=0,a=r.length;i<a-1;++i){if(!n&&!o)break;var s=r[i];if(!(s in n)){if(o)throw new Error("please transfer a valid prop path to form item!");break}n=n[s]}return{o:n,k:r[i],v:n?n[r[i]]:null}}t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var o=0;o!==e.length;++o)if(e[o]!==t[o])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var m=t.arrayFindIndex=function(e,t){for(var o=0;o!==e.length;++o)if(t(e[o]))return o;return-1},h=(t.arrayFind=function(e,t){var o=m(e,t);return-1!==o?e[o]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!i.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!i.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!i.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":n(e)))return e;var t=["transform","transition","animation"],o=["ms-","webkit-"];return t.forEach((function(t){var n=e[t];t&&n&&o.forEach((function(o){e[o+t]=n}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var o=(0,a.isObject)(e),n=(0,a.isObject)(t);return o&&n?JSON.stringify(e)===JSON.stringify(t):!o&&!n&&String(e)===String(t)}),g=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var o=0;o<e.length;o++)if(!h(e[o],t[o]))return!1;return!0},b=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?g(e,t):h(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"===typeof e)return!1;if("number"===typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});function y(e){var t=!1;return function(){for(var o=this,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];t||(t=!0,window.requestAnimationFrame((function(n){e.apply(o,r),t=!1})))}}function v(e){return Array.isArray(e)?e:b(e)?[]:[e]}},8217:function(e,t,o){"use strict";o.d(t,"d",(function(){return i})),o.d(t,"g",(function(){return a})),o.d(t,"a",(function(){return s})),o.d(t,"c",(function(){return l})),o.d(t,"b",(function(){return u})),o.d(t,"e",(function(){return c})),o.d(t,"f",(function(){return p}));var n=o("18ce"),r=o("c559");function i(e,t){var o=n["a"].get(e);if(o)return o[t]}function a(e,t,o){var r=n["a"].get(e);r||(r={},n["a"].set(e,r)),r[t]=o}function s(e,t){var o=n["a"].get(e);o&&o[t]&&delete o[t]}function l(e,t,o,n){return{_pageDevMode:e,_sourceButtonCode:o,_pathQuery:n}}function u(e){return e.options&&e.options.colWidth?e.options.colWidth:24}function c(e){for(var t=0;t<e.length;t++)for(var o=e[t],n=0;n<o.colList.length;n++){var r=o.colList[n];if(u(r)<24)return!0}return!1}function p(e){if(!e)return e;var t=Object(r["b"])();if(Array.isArray(e)){var o=[],n=[],i="~-~-";return e.forEach((function(e){var r=e.templateShowPath;if(r.indexOf(i)>0){var a=r.substring(0,r.indexOf(i)),s=r.substring(r.indexOf(i)+i.length,r.lastIndexOf(i)),l=r.substring(r.lastIndexOf(i)+i.length);t===s&&n.indexOf(a)<0&&(o.push({templateUUID:e.templateUUID,templateShowPath:l}),n.push(a))}else o.push(e)})),o}}},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,o,n){var r=Object(_calculator_factory__WEBPACK_IMPORTED_MODULE_0__["a"])(n),i=new r(e,t,o);return i.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,o,n,r,i,a){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,o,r,a,null,n,i);null!=f&&(e=e.replace(d,f.toString()));var m=getValue(n,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="\\*",o="";return e=e.replace(/condition.operator.and/g,t),e=e.replace(/condition.operator.or/g,t),e=e.replace(/\(/g,o),e=e.replace(/\)/g,o),e.split(t)}function getValue(e,t){var o=Object(_util__WEBPACK_IMPORTED_MODULE_2__["c"])(e,t);return void 0===o||null==o?"":o+""}},"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,opinion:this.completeTaskParam.opinion},formNoRuleCode:formNoRuleCode,entityName:entityName,beanName:beanName,isWorkflowEntity:!0},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+")");button&&button.successOperation&&"noOperation"===button.successOperation&&(param.unControlVersion=!0);var 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,!0)}},clickWorflowButton:function(e,t,o,n,r,i,a,s,l,u,c,p,d,f,m,h,g,b,y,v,_,w,C,P){if("startInstance"===e||"update"===e)this.startInstance(t,o,n,r,i,s,l,u,c,p,d,f,h,g,e,v,_,w,C);else if("submitProcess"===e)this.submitProcess(t,o,n,r,i,s,l,u,c,p,d,f,m,h,g,e,v,_,w,C);else if("completeTask"===e)this.complateTask(t,o,n,a,s,l,u,c,d,f,m,h,g,e,v,_,w,C);else if("drawTask"===e)this.drawTask(t,o,n,s,l,u,c,d,g,e,v,_,C);else if("abandonDraw"===e)this.abandonReceive(t,o,n,s,l,u,c,d,g,e,v,_,C);else if("retrieveTask"===e)this.retrieve(t,o,n,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,o,n,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,n,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),successOperation&&"noOperation"===successOperation&&(param.unControlVersion=!0),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),param.isWorkflowEntity=!0,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,opinion:this.completeTaskParam.opinion}},request;if(!1===system.standard&&(param={entity:model,tableName:tableName,completeTaskParam:{operationResult:operationResult,taskId:this.completeTaskParam.taskId,opinion:this.completeTaskParam.opinion},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),param.isWorkflowEntity=!0,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,o,n,r,i,a){if(e){e.entity&&(this.formData=e.entity,this.formNo=e.formNo,Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["g"])(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}}e.completeTaskParam&&(this.completeTaskParam=e.completeTaskParam,Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["g"])(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__["g"])(this.pageCode,"_currentActivityName",e.taskName)}return t||(n&&this.callAfterClickButton(this.formEvents,this.formViewCode+"__"+n,{params:this.additionalParamMap,entity:this.formData,taskId:r,operationResult:i}),this.afterSuccessOperateInForm(o,this.formData,a,!0)),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,opinion:_this5.completeTaskParam.opinion},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&&_this5.ids.length>0&&(param.ids=_this5.ids),taskMap&&(param.taskMap=taskMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),_this5.additionalParamMap&&(param.additionalParamMap=_this5.additionalParamMap),param.isBatchProcessing=isBatchProcessing,param.isWorkflowEntity=!0,console.log(JSON.stringify(param),"completeTaskParam--------"),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,o,n,r,i,a,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/retrieves"),this.transactTask(e,t,o,f,"superPageMessage.successfulRetrieve",!1,!1,n,r,i,a,s,null,null,null,null,l,u,null,null,c,p,null,d)},drawTask:function(e,t,o,n,r,i,a,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/draw-tasks"),this.transactTask(e,t,o,f,"superPageMessage.successfulDrawTask",!1,!1,n,r,i,a,s,null,null,null,null,l,u,null,null,c,p,null,d)},abandonReceive:function(e,t,o,n,r,i,a,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/abandon-receives"),this.transactTask(e,t,o,f,"superPageMessage.successfulAbandonReceive",!1,!1,n,r,i,a,s,null,null,null,null,l,u,null,null,c,p,null,d)},assign:function(e,t,o,n,r,i,a,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,o,d,"superPageMessage.successfulAssign",!1,!1,n,r,i,a,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,o,n,r,i,a,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/return-to-previous-tasks"),this.transactTask(e,t,o,p,"superPageMessage.successfulReturnToPreviousTask",!1,!1,n,r,i,a,s,null,null,null,null,this.logSetting,"returnToPreviousTask",null,null,l,u,null,c)},getTaskInformitions:function(e,t,o){var n,r=this;if(!1===e.standard&&(n=this.getBaseUrl(e)+"/dsc/workflow-commons/returnable-task/"+this.completeTaskParam.taskId),n=this.getRealRestApiPath(n,e),n){this.showTaskInformitions=!1;var i={entityName:t,beanName:o,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"};this.$http.post(n,i).then((function(e){r.taskInformitions=e,r.showTaskInformitions=!0})).catch((function(e){r.showTaskInformitions=!1}))}else this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},customReturnTaskTo:function(e,t){this.returnTaskTo(this.system,this.tableName,e,t,this.formViewCode,this.formViewVersion,this.entityName,this.myJsContent,this.successOperation,this.isNeedValueMapping,this.beanName)},returnTaskTo:function(e,t,o,n,r,i,a,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/returnTaskTo"),this.transactTask(e,t,o,p,"superPageMessage.successfulReturnTaskTo",n.nodeName,n.nodeId,r,i,a,s,l,null,null,null,null,this.logSetting,"returnTaskTo",null,null,u,null,null,c)},endInstance:function(e,t,o,n,r,i,a,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/end-instance"),this.transactTask(e,t,o,p,"superPageMessage.successfulEndInstance",!1,!1,n,r,i,a,s,null,null,null,null,this.logSetting,"endInstance",null,null,l,u,null,c)},submitForm:function(e,t,o,n,r,i,a,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,o,w,"superPageMessage.successfulOperation",!1,!1,n,r,i,a,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",isWorkflowEntity:!0},request;if(requestParams.completeTaskParam={taskId:this.completeTaskParam.taskId,transactors:selectNodeInfo.loginNames.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,!0)),_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",isWorkflowEntity:!0},request;if(requestParams.completeTaskParam={taskId:this.completeTaskParam.taskId,transactors:selectNodeInfo.loginNames,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,o,n,r){var i,a=this,s={};!1===e.standard?(i=this.getBaseUrl(e)+"/dsc/workflow-commons/get-remove-signers",n&&""!==n&&(s.logSettingText=n),s.entityName=t,s.beanName=r,s.systemCode=e.code,s.entity=o,s.additionalParamMap=this.additionalParamMap,s.tableName=this.tableName,s.functionCode=this.permissionPrefix+".xxx",s.additionalParamMap||(s.additionalParamMap={}),!s.additionalParamMap["taskId"]&&this.completeTaskParam&&this.completeTaskParam.taskId&&(s.additionalParamMap={taskId:this.completeTaskParam.taskId})):o.workflowInfo&&(s.entity=o),s.isWorkflowEntity=!0,i=this.getRealRestApiPath(i,e),i?this.$http.post(i,s).then((function(e){a.activeTasks=e,a.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,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"};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 o=this.jumpPageSetting&&this.jumpPageSetting.updateValueEvent?this.jumpPageSetting.updateValueEvent:null;this.customEvents&&o&&null!==o&&this.customEvents[o]&&this.customEvents[o].call(this,{sourceModel:e,sourceTableName:t,jumpPageSetting:this.jumpPageSetting,entity:this.formData,targetTableName:this.tableName}),this.updateFormData(this.formData)},downloadTemplate:function(e,t,o){var n,r;if(t.templateFiles&&t.templateFiles.length>0){var i=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(t.templateFiles);n=i[0].templateUUID,r=i[0].templateShowPath}else n=t.templateUUID,r=t.templateShowPath;var a="?1=1";t&&t.functionCode&&(a+="&functionCode="+t.functionCode),o&&(a+="&tableName="+o),n&&r&&"undefined"!==n&&"undefined"!==r&&"null"!==n&&"null"!==r&&(a+="&fileName="+encodeURI(n)+"&showName="+encodeURI(r));var s=this.getBaseUrl(e);window.open(s+"/dsc/commons/download-files"+a)}};__webpack_exports__["a"]=buttonEvents},"8bbf":function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__8bbf__},"8df4":function(e,t,o){"use strict";var n=o("7a77");function r(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var o=this;e((function(e){o.reason||(o.reason=new n(e),t(o.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e,t=new r((function(t){e=t}));return{token:t,cancel:e}},e.exports=r},"8e5d":function(e,t,o){},9696:function(e,t,o){"use strict";o.d(t,"b",(function(){return u})),o.d(t,"a",(function(){return c})),o.d(t,"c",(function(){return p}));var n=o("bc95"),r=o.n(n),i=o("8bbf"),a=o.n(i);function s(e){if(void 0===a.a.prototype.projectModel||"developing.model"!==a.a.prototype.projectModel){var t=l(location.href);if(r.a.setItem("relativeUrl",t),t&&e){var o="",n=e.split("/");if(n.length>=3){var i=n[0]+"//"+n[2];o=e.substring(e.indexOf(i)+i.length)}return t.lastIndexOf("/")===t.length-1&&(t=t.substring(0,t.lastIndexOf("/"))),o?t+o:t}}return e}function l(e){var t=e.split("#");if(t.length>0){var o=t[0],n=o,r=o.split("/");return r.length>=3&&(n=r[0]+"//"+r[2]+"/"),n}}function u(e){return a.a.prototype.projectModel&&"developing.model"===a.a.prototype.projectModel&&a.a.prototype.frontUrl?a.a.prototype.frontUrl:s(e)}function c(e){return a.a.prototype.projectModel&&"developing.model"===a.a.prototype.projectModel&&a.a.prototype.baseURL?a.a.prototype.baseURL:s(e)}function p(e){return e&&"[object Promise]"===Object.prototype.toString.call(e)}},"9c59":function(e,t,o){"use strict";var n=Object.prototype.hasOwnProperty;function r(e){for(var t,o=/([^=?&]+)=?([^&]*)/g,n={};t=o.exec(e);n[decodeURIComponent(t[1])]=decodeURIComponent(t[2]));return n}function i(e,t){t=t||"";var o=[];for(var r in"string"!==typeof t&&(t="?"),e)n.call(e,r)&&o.push(encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return o.length?t+o.join("&"):""}t.stringify=i,t.parse=r},"9d7e":function(e,t,o){"use strict";t.__esModule=!0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){function t(e){for(var t=arguments.length,o=Array(t>1?t-1:0),a=1;a<t;a++)o[a-1]=arguments[a];return 1===o.length&&"object"===n(o[0])&&(o=o[0]),o&&o.hasOwnProperty||(o={}),e.replace(i,(function(t,n,i,a){var s=void 0;return"{"===e[a-1]&&"}"===e[a+t.length]?i:(s=(0,r.hasOwn)(o,i)?o[i]:null,null===s||void 0===s?"":s)}))}return t};var r=o("8122"),i=/(%|)\{([0-9a-zA-Z_]+)\}/g},a615:function(e,t,o){},a742:function(e,t,o){"use strict";t.__esModule=!0,t.isDefined=t.isUndefined=t.isFunction=void 0;var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isString=s,t.isObject=l,t.isHtmlElement=u;var r=o("8bbf"),i=a(r);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return"[object String]"===Object.prototype.toString.call(e)}function l(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e){return e&&e.nodeType===Node.ELEMENT_NODE}var c=function(e){var t={};return e&&"[object Function]"===t.toString.call(e)};"object"===("undefined"===typeof Int8Array?"undefined":n(Int8Array))||!i.default.prototype.$isServer&&"function"===typeof document.childNodes||(t.isFunction=c=function(e){return"function"===typeof e||!1}),t.isFunction=c;t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return void 0!==e&&null!==e}},a78e:function(e,t,o){var n,r;
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.63-boe01",
3
+ "version": "0.7.63-boe02",
4
4
  "description": "页面组件",
5
5
  "main": "lib/super-pages.umd.min.js",
6
6
  "keyword": "super-pages",