super-pages 0.7.53 → 0.7.54
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 x}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},a=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(e){a&&(e._devtoolHook=a,a.emit("vuex:init",e),a.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){a.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){a.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){Object.keys(e).forEach((function(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 i=new p(t,o);if(0===e.length)this.root=i;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],i)}t.modules&&s(t.modules,(function(t,i){n.register(e.concat(i),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&&D(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 i=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,o){return l.call(i,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&&r(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 i=e._wrappedGetters,a={};s(i,(function(t,o){a[o]=c(t,e),Object.defineProperty(e.getters,o,{get:function(){return e._vm[o]},enumerable:!0})}));var r=h.config.silent;h.config.silent=!0,e._vm=new h({data:{$$state:t},computed:a}),h.config.silent=r,e.strict&&T(e),n&&(o&&e._withCommit((function(){n._data.$$state=null})),h.nextTick((function(){return n.$destroy()})))}function w(e,t,o,n,i){var a=!o.length,r=e._modules.getNamespace(o);if(n.namespaced&&(e._modulesNamespaceMap[r],e._modulesNamespaceMap[r]=n),!a&&!i){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,r,o);n.forEachMutation((function(t,o){var n=r+o;S(e,n,t,u)})),n.forEachAction((function(t,o){var n=t.root?o:r+o,i=t.handler||t;O(e,n,i,u)})),n.forEachGetter((function(t,o){var n=r+o;k(e,n,t,u)})),n.forEachChild((function(n,a){w(e,t,o.concat(a),n,i)}))}function C(e,t,o){var n=""===t,i={dispatch:n?e.dispatch:function(o,n,i){var a=N(o,n,i),r=a.payload,s=a.options,l=a.type;return s&&s.root||(l=t+l),e.dispatch(l,r)},commit:n?e.commit:function(o,n,i){var a=N(o,n,i),r=a.payload,s=a.options,l=a.type;s&&s.root||(l=t+l),e.commit(l,r,s)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return P(e,t)}},state:{get:function(){return E(e.state,o)}}}),i}function P(e,t){if(!e._makeLocalGettersCache[t]){var o={},n=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,n)===t){var a=i.slice(n);Object.defineProperty(o,a,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=o}return e._makeLocalGettersCache[t]}function S(e,t,o,n){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){o.call(e,n.state,t)}))}function O(e,t,o,n){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=o.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return u(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function k(e,t,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 D(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,i=N(e,t,o),a=i.type,r=i.payload,s=(i.options,{type:a,payload:r}),l=this._mutations[a];l&&(this._withCommit((function(){l.forEach((function(e){e(r)}))})),this._subscribers.slice().forEach((function(e){return e(s,n.state)})))},g.prototype.dispatch=function(e,t){var o=this,n=N(e,t),i=n.type,a=n.payload,r={type:i,payload:a},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(r,o.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(e){return e(a)}))):s[0](a);return new Promise((function(e,t){l.then((function(t){try{o._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(r,o.state)}))}catch(u){0}e(t)}),(function(e){try{o._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(r,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 M(t).forEach((function(t){var n=t.key,i=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 i?i.call(this,t,o):t[i]},o[n].vuex=!0})),o})),I((function(e,t){var o={};return M(t).forEach((function(t){var n=t.key,i=t.val;o[n]=function(){var t=[],o=arguments.length;while(o--)t[o]=arguments[o];var n=this.$store.commit;if(e){var a=R(this.$store,"mapMutations",e);if(!a)return;n=a.context.commit}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),o}));var x=I((function(e,t){var o={};return M(t).forEach((function(t){var n=t.key,i=t.val;i=e+i,o[n]=function(){if(!e||R(this.$store,"mapGetters",e))return this.$store.getters[i]},o[n].vuex=!0})),o}));I((function(e,t){var o={};return M(t).forEach((function(t){var n=t.key,i=t.val;o[n]=function(){var t=[],o=arguments.length;while(o--)t[o]=arguments[o];var n=this.$store.dispatch;if(e){var a=R(this.$store,"mapActions",e);if(!a)return;n=a.context.dispatch}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),o}));function M(e){return j(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function j(e){return Array.isArray(e)||l(e)}function I(e){return function(t,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 i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,o){if(!t)return e;var a;if(o)a=o(t);else if(n.isURLSearchParams(t))a=t.toString();else{var r=[];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)),r.push(i(t)+"="+i(e))})))})),a=r.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},"387f":function(e,t,o){"use strict";e.exports=function(e,t,o,n,i){return e.config=t,o&&(e.code=o),e.request=n,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},3934:function(e,t,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 i(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=i(window.location.href),function(t){var o=n.isString(t)?i(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 i(e)&&!a(e)};function i(e){return!!e&&"object"===typeof e}function a(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||l(e)}var r="function"===typeof Symbol&&Symbol.for,s=r?Symbol.for("react.element"):60103;function l(e){return e.$$typeof===s}function u(e){return Array.isArray(e)?[]:{}}function c(e,t){var o=t&&!0===t.clone;return o&&n(e)?f(u(e),e,t):e}function p(e,t,o){var i=e.slice();return t.forEach((function(t,a){"undefined"===typeof i[a]?i[a]=c(t,o):n(t)?i[a]=f(e[a],t,o):-1===e.indexOf(t)&&i.push(c(t,o))})),i}function d(e,t,o){var i={};return n(e)&&Object.keys(e).forEach((function(t){i[t]=c(e[t],o)})),Object.keys(t).forEach((function(a){n(t[a])&&e[a]?i[a]=f(e[a],t[a],o):i[a]=c(t[a],o)})),i}function f(e,t,o){var n=Array.isArray(t),i=Array.isArray(e),a=o||{arrayMerge:p},r=n===i;if(r){if(n){var s=a.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},"3eb6":function(e,t,o){},"467f":function(e,t,o){"use strict";var n=o("2d83");e.exports=function(e,t,o){var i=o.config.validateStatus;!i||i(o.status)?e(o):t(n("Request failed with status code "+o.status,o.config,null,o.request,o))}},4897:function(e,t,o){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var n=o("f0d9"),i=p(n),a=o("8bbf"),r=p(a),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)(r.default),f=i.default,m=!1,h=function(){var e=Object.getPrototypeOf(this||r.default).$t;if("function"===typeof e&&r.default.locale)return m||(m=!0,r.default.locale(r.default.config.lang,(0,l.default)(f,r.default.locale(r.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("."),i=f,a=0,r=n.length;a<r;a++){var s=n[a];if(o=i[s],a===r-1)return d(o,t);if(!o)return"";i=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(i){n.isObject(t[i])?o[i]=n.deepMerge(e[i],t[i]):"undefined"!==typeof t[i]?o[i]=t[i]:n.isObject(e[i])?o[i]=n.deepMerge(e[i]):"undefined"!==typeof e[i]&&(o[i]=e[i])})),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={},i={};function a(){var e=0;for(var t in n)e++;return e}var r=e.exports={length:a(),getItem:function(e){return o.call(n,e)?n[e]:null},setItem:function(e,t){e in i||(n[e]=t),r.length=a()},removeItem:function(e){delete n[e],r.length=a()},clear:function(){n={},r.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 _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,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,s=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return r=e.done,e},e:function(e){s=!0,a=e},f:function(){try{r||null==o.return||o.return()}finally{if(s)throw a}}}}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}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],i=o[e];return i>n?1:i<n?-1:0}:function(t,o){var n=t[e],i=o[e];return i<n?1:i>n?-1:0}},canExecuteWithMore:function(e,t,o,n,i){var a=this;return new Promise((function(r,s){if(void 0===e||""===e||void 0===t||0===t.length)r({canExecute:!0});else{for(var l,u,c=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(a.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,i,c,o,n,null);if(!y){p=!1,l=g,u=f;break}}r(p?{canExecute:!0}:{canExecute:!1,message:l,failEntity:u})}}))},canExecute:function(e,t,o,n,i){var a=[];return a.push(t),this.canExecuteWithMore(e,a,o,n,i)},isButtonVisible:function(e,t,o){var n=this;return new Promise((function(i,a){var r=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,r,t,null);i(u)}else i(!0)}))},getWorkflowButtonVisible:function(e,t,o){var n=this;return new Promise((function(i,a){var r=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,r,t,null)}u.put(d,m)}}Object.keys(u).length>0?i(u):i(!0)}else i(!0)}))},afterSuccessOperateInForm:function(e,t,o,n){if(console.log("afterSuccessOperateInForm---successOperation=-",e,t,o),Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["f"])(this.pageCode,"_formData",t),e&&""!==e&&null!==e||(e="refresh"),this.$refs.superForm&&this.$refs.superForm.refresh(t),"refresh"===e)this.updateFormData(t),t&&(t.id||t.ID)&&(this.dataId=null==t.ID?t.id:t.ID,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 i,a=sessionStorage.getItem(this.pageCode+"-jumpMode");if(a){var r=JSON.parse(a);i=r.rowIndex}this.$emit("update-value",t,this.tableName,i)}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,i,a,r,s,l,u,c,p,d,f,m,h,g,b,y,v,_,w){var C={entity:a,formViewCode:o,formViewVersion:n,tableName:i,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),r&&(C.entityName=r),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,a)},getSaveFormRequestByParam:function getSaveFormRequestByParam(system,restfulApiPath,param,myJsContent,url,formData){var path=restfulApiPath,request;if(!1===system.standard&&!path){var baseUrl=this.getBaseUrl(system);path=baseUrl+url}if(path=this.getRealRestApiPath(path,system),myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else request=formData&&(formData.id||formData.ID)?this.$http.put(path,param):this.$http.post(path,param);return request},exportFormReport:function exportFormReport(templateUUID,fileName,myJsContent,entityName,system,logSettingText,taskMap,additionalParamMap,isWorkflowForm,beanName,button,tableName){var _this4=this;this.$refs.superForm&&this.$refs.superForm.getViewModels().then((function(viewModels){var param={entity:viewModels,fileName:templateUUID,showName:fileName,entityName:entityName,beanName:beanName,isWorkflowForm:isWorkflowForm,functionCode:button.functionCode,tableName:tableName};logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),taskMap&&(param.taskMap=taskMap),additionalParamMap&&(param.additionalParamMap=additionalParamMap);var beforeClickResult=_this4.callBeforeClickButton(_this4.formEvents,_this4.formViewCode+"__exportForm",{params:_this4.additionalParamMap,exportParam:param});if(beforeClickResult){var request;if(myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this4,param)}else{var baseUrl=_this4.getBaseUrl(system),path=baseUrl+"/dsc/commons/export-reports";axios__WEBPACK_IMPORTED_MODULE_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})}))}}))},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,i=e.getDate()<10?"0"+e.getDate():e.getDate();return o+"-"+n+"-"+i}},commonButtonClick:function(e){this.$emit("click",e)},workflowButtonClick:function(e,t,o,n){this.$emit("workflowClick",e,t,o,n)},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 i=n.substring(0,n.indexOf("__"));if(e===i){var a=n.substring(n.indexOf("__")+"__".length);t[a]=o[n]}}));var i=n.customEvents;i&&(t.customEvents=i)}return t},findOptionsByDynamicDataSource:function(e,t,o,n){var i=this;return new Promise((function(a,r){void 0!==t&&null!==t||(t="");var s={searchText:t};n&&(s.additionalParamMap=n),o&&null!==o&&(s.entity=o),i.$http.post(vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseURL+"/common/dynamic-data-source/"+e,s).then((function(e){var t=[];if(e&&e.options){var o,n=e.options;e.valueAttribute&&(o=e.valueAttribute),o&&"[label]"!==o||(o="_label_"),n.forEach((function(e){var n=e[o],i=e["_label_"];t.push({label:i,value:n})}))}t||(t=[]),a(t)})).catch((function(e){r(e)}))}))},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;t.push({label:n,value:o})})),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,i,a,r,s){var l=this;Object(imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_6__["a"])(e,t,o,n,i,a,r).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 i=JSON.parse(n),a=i.jumpMode;if("popup"===a){var r=sessionStorage.getItem(e+"_source_page_code");sessionStorage.removeItem(e+"_source_page_code");var s=o;!o&&this.pageType&&"form"===this.pageType&&(s=this.getFormData()),r?(console.log("-----close-component-page-dialog=",i,s,this.pageCode),_eventBus__WEBPACK_IMPORTED_MODULE_2__["a"].$emit(r+"-close-component-page-dialog",i,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"===a||"newTab"===a?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 i,a=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_pageEvents");if(a)n.pageType&&"form"===n.pageType&&(i=n.getFormData()),n.callFormItemEvent(a,n.jumpPageSetting.closeEvent,i,{popEntity:e,popPageCode:t,pageCode:n.pageCode});var r=!1;n.pageType&&"list"===n.pageType&&(r=!0),n.eventBusOnCloseDialog(t,n,n.jumpPageSetting.buttonCode,o,n.jumpPageSetting,r)}else n.isShowPageDialog=!1,n.jumpPageSetting=null},eventBusOnCloseDialog:function(e,t,o,n,i,a){if(t.isShowPageDialog=!1,t.jumpPageSetting=null,void 0!==a&&null!==a&&!0===a){var r=t.$refs.grid;r&&r.refresh()}else if(o&&("create"===o||"update"===o)||n&&"closeWindowAndRefresh"===n){var s=t.$refs.grid;s&&s.refresh()}else if(void 0!==i.isRefreshWhenClosePopup&&!0===i.isRefreshWhenClosePopup){var l=t.$refs.grid;l&&l.refresh()}},getWatermarkLabel:function(e,t){var o="";if(e.label&&""!==e.label){var n,i=/\$\{(.+?)\]}/g,a=e.label.match(i),r=_createForOfIteratorHelper(a);try{for(r.s();!(n=r.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){r.e(c)}finally{r.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 i=e.position;i&&"form"!==i?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 _this10=this;this.$refs.superForm&&this.$refs.superForm.getViewModels().then((function(viewModels){var param={entity:viewModels,fileName:templateUUID,showName:fileName,entityName:entityName,beanName:beanName,isWorkflowForm:isWorkflowForm,functionCode:functionCode,tableName:tableName};logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),taskMap&&(param.taskMap=taskMap),additionalParamMap&&(param.additionalParamMap=additionalParamMap);var beforeClickResult=_this10.callBeforeClickButton(_this10.formEvents,_this10.formViewCode+"__exportForm",{params:_this10.additionalParamMap,exportParam:param});if(beforeClickResult){var request;if(myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this10,param)}else{var baseUrl=_this10.getBaseUrl(system),path=baseUrl+"/dsc/commons/create-preview-file";axios__WEBPACK_IMPORTED_MODULE_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))}))}}))},reviewButton:function(e){if(this.$refs.superForm){var t=this.$refs.superForm.getFormData();Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["f"])(this.pageCode,"_formData",t)}else e&&Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["f"])(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)}};__webpack_exports__["a"]=Util},5270:function(e,t,o){"use strict";var n=o("c532"),i=o("c401"),a=o("2e67"),r=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=i(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||r.adapter;return t(e).then((function(t){return u(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(u(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},5824:function(e,t,o){"use strict";var n=o("8bbf"),i=o.n(n),a=o("4897"),r=o.n(a),s=o("a925"),l=o("b2d6"),u=o.n(l);function c(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 p(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){d(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function d(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var f=p({imatrixUIPublicModel:{sure:"Sure",cancel:"Cancel",allDepartments:"All Departments",allUsers:"All Users",reset:"Reset",to:"To",edit:"Edit",clear:"Clear",download:"Download",delete:"Delete",preview:"Preview",add:"Add",graphView:"Graphic view",listView:"List View",fieldName:"Field Name",operator:"Operator",value:"Value",andOr:"And/Or",whenTheVariableIsEmpty:"When The Variable Is Empty",perhaps:"Perhaps",also:"Also",greaterThan:"Greater Than",lessThan:"Less Than",beEqualTo:"Be Equal To",notGreaterThan:"Not Greater Than",notLessThan:"Not Less Than",notEqualTo:"Not Equal To",contain:"Contain",notIncluded:"Not Included",laterThan:"Later Than",earlierThan:"Earlier Than",noLaterThan:"No Later Than",noEarlierThan:"No Earlier Than",ignore11:"Ignore (1 = 1)",nonConformity:"Non Conformity (1 < > 1)",switchToNormalQuery:"Switch To Normal Query",switchToAdvancedQuery:"Switch To Advanced Query",isNull:"Is Null",isNotNull:"Is Not Null",previewImage:"Preview image",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"},superGrid:{columnConfig:"Column Config",pleaseSaveOrCancelEditingLine:"Please Save Or Cancel Editing Line {row} Data First",pleaseSaveLine:"Please Save Line {row} Data First",noNeedToSaveRow:"No Need To Save Row {row} Data",pleaseSetURLToSaveRowInformation:'Please set "URL to save row information"',lineSavedSuccessfully:"Line {row} Saved Successfully",theReturnValueOfTheBeforesaveCallbackMethodIsFalse:"The Return Value Of The Beforesave Callback Method Is False",lineNoNeedToUndoEdit:"Line {row} No Need To Undo Edit",lineCancelledSuccessfully:"Line {row} cancelled successfully",label:"Label",isShow:"Is Show",isExportable:"Is Exportable",recordLine:"Record line {row}",fileName:"File Name",deleteSuccessful:"Deleted successfully",index:"No.",searchConditionName:"Search Condition Name",pleaseInputSearchConditionName:"Please enter the name of the query criteria",saveCondition:"Save Condition",saveConditionTitle:"Save Condition",displayOrder:"Display Order",width:"Column Width",default:"Default",custom:"Custom",show:"Show",hidden:"Hidden",export:"Export",unExport:"Not Export",whetherToConfirmReset:"Are you sure you want to reset?",resetSuccessful:"Reset successfully",dragColumnOrderMessage:"Supports dragging to change column order",selectAll:"Select All",viewImage:"View Image",previewTitleWhenNotImg:"Non picture format, preview in other ways",refresh:"Refresh",open:"Open",fold:"Fold"},departmentTree:{},departmentTreeInline:{pleaseEnterDepartmentName:"Please Enter Department Name",name:"Department Name",code:"Department Code",removeDepartment:"Remove Department",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"},workgroupTree:{allTeamMembers:"All Team Members",name:"Workgroup Name",code:"Workgroup Code",removeWorkgroup:"Remove Workgroup"},workflowButton:{save:"Save",submit:"Submit",approve:"Approve",refuse:"Refuse",agreement:"Agree",oppose:"Opposition",kiken:"Abstention",get_back_button:"Retrieve",copy:"Copy",draw:"Draw",abandon_draw:"Give Up Draw",add_sign:"Additional Signature",remove_sign:"Reduction Of Signature",signoff:"Sign For",assign:"Hand over",assign_task:"Transfer",readed:"Readed",export_report:"Export Report"},workflowHistoryList:{specailText:"specail",index:"Index",taskName:"Task Name",operation:"Operation",opinion:"Opinion",processStart:"Process Start",processEnd:"Process End",process_start:"[{1}] process start",prcoess_end:"[{1}] process End",force_end_process:"{1}forced to end the process, and the task of [{2}] was canceled",history_jump:"Process {3} to [{1}], [{2}] task cancelled",history_back:"{1} returned to task,process returned to [{2}]",history_removesign:"{1} minus [{2}]",history_changetransactor_and_delegate:"{1} changed the handler [{2}] to [{3}], [{4}] delegated the task to [{5}]",history_changetransactor:"{1} changed handler [{2}] to [{3}]",history_addsign:"{1} sign [{2}]",history_addtransactor:"{1} add handler [{2}]",history_removetransactor:"{1} decrease handler [{2}]",history_delegate_and_assign:"{1} assigned tasks to [{2}], [{3}] delegated tasks to [{4}]",history_assign:"{1} assigned task to [{2}]",transfer:"{1} transferred to [{2}]",history_complete_transfer:"{1} execute [{2}] operation and canceled the task of other receivers [{3}]",history_delegate_receive:"{1} retracts the task entrusted to [{2}]",history_delegate:"{1} has delegated task [{2}] to [{3}]",history_quit_transfer:"{1} Resignation, has transferred task [{2}] to [{3}",history_change_job_transfer:"{1} Change job,has transferred task [{2}] to [{3}",commonButtonOperation:"{1} execute [{2}] operation",history_draw_task:"{1}received the task and cancelled the task of the candidate [{2}]",history_abandon_draw:"{1}gives up the task and restores the task of candidate [{2}]",toDoText:"Todo",operator:"Operator",operatorDept:"Operator Dept",operationTime:"Operation Time"},gateway:{timeout:"Interface call timeout",callFailed:"Interface call failed"},superNineGrid:{add:"Create"},fsUpload:{upload:"Upload",download:"Download",delete:"Delete",preview:"Preview",name:"Name",picture:"Picture",operating:"Operating",uploadSucceeded:"Upload succeeded",theNumberOfUploadsExceedsTheLimitTheLimitIs:"The number of uploads exceeds the limit. The limit is"},messageVideo:{attemptingToIdentify:"Attempting to identify",callingRearCamera:"Calling rear camera",identificationFailed:"Identification failed"}},u.a),m=f,h=o("f0d9"),g=o.n(h);function b(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 y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){v(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function v(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var _=y({imatrixUIPublicModel:{sure:"确定",cancel:"取消",allDepartments:"所有部门",allUsers:"所有用户",reset:"重置",to:"至",edit:"操作",clear:"清空",download:"下载",delete:"删除",preview:"预览",add:"增加",graphView:"图形视图",listView:"列表视图",fieldName:"字段名(*)",operator:"操作符",value:"值(*)",andOr:"并且/或者",whenTheVariableIsEmpty:"变量为空时",perhaps:"或者",also:"并且",greaterThan:"大于",lessThan:"小于",beEqualTo:"等于",notGreaterThan:"不大于",notLessThan:"不小于",notEqualTo:"不等于",contain:"包含",notIncluded:"不包含",laterThan:"晚于",earlierThan:"早于",noLaterThan:"不晚于",noEarlierThan:"不早于",ignore11:"忽略(1=1)",nonConformity:"不符合(1<>1)",switchToNormalQuery:"切换为普通查询",switchToAdvancedQuery:"切换为高级查询",isNull:"等于Null",isNotNull:"不等于Null",previewImage:"预览图片",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:"该按钮未绑定资源,请先绑定资源"},superGrid:{columnConfig:"字段配置",pleaseSaveOrCancelEditingLine:"请先保存或撤销编辑第 {row} 行数据",pleaseSaveLine:"请先保存第 {row} 行数据",noNeedToSaveRow:"无需保存第 {row} 行数据",pleaseSetURLToSaveRowInformation:"请设置“保存行信息的url”",lineSavedSuccessfully:"第 {row} 行保存成功",theReturnValueOfTheBeforesaveCallbackMethodIsFalse:"beforeSave回调方法返回值为false",lineNoNeedToUndoEdit:"第 {row} 行无需撤销编辑",lineCancelledSuccessfully:"第 {row} 行撤销成功",label:"字段名",isShow:"是否显示",isExportable:"是否导出",recordLine:"第 {row} 行记录",fileName:"文件名称",deleteSuccessful:"删除成功",index:"序号",searchConditionName:"查询条件名称",pleaseInputSearchConditionName:"请输入查询条件名称",saveCondition:"保存条件",saveConditionTitle:"保存查询条件",displayOrder:"显示顺序",width:"列宽",default:"默认",custom:"自定义",show:"显示",hidden:"隐藏",export:"导出",unExport:"不导出",whetherToConfirmReset:"是否确认重置?",resetSuccessful:"重置成功",dragColumnOrderMessage:"支持拖动改变列顺序",selectAll:"全选",viewImage:"查看图片",previewTitleWhenNotImg:"非图片格式,使用其它方式预览",refresh:"刷新",open:"展开",fold:"收起"},departmentTree:{},departmentTreeInline:{pleaseEnterDepartmentName:"请输入部门名称",name:"部门名称",code:"部门编码",removeDepartment:"移除部门",selectedDept:"已选部门",namePath:"名称路径"},departmentUserTree:{pleaseEnterUserInformation:"请输入用户信息",selectedPeople:"已选人员",searchFieldUserName:"姓名",searchFieldLoginName:"登录名",searchFieldEmail:"邮箱",searchFieldTelephone:"手机号",searchFieldJobNumber:"工号",searchFieldHonorificName:"尊称"},departmentUserTreeInline:{name:"姓名",department:"所属部门",branch:"所属分支",removeUser:"移除用户",email:"邮箱",loginName:"登录名"},workgroupTree:{allTeamMembers:"所有工作组人员",name:"工作组名称",code:"工作组编码",removeWorkgroup:"移除工作组"},workflowButton:{save:"暂存",submit:"提交",approve:"同意",refuse:"不同意",agreement:"赞成",oppose:"反对",kiken:"弃权",get_back_button:"取回",copy:"抄送",draw:"领取",abandon_draw:"放弃领取",add_sign:"加签",remove_sign:"减签",signoff:"签收",assign:"交办",assign_task:"转办",readed:"已阅",export_report:"导出报告"},workflowHistoryList:{specailText:"特",index:"序号",taskName:"环节名称",operation:"流转操作",opinion:"办理意见",processStart:"流程开始",processEnd:"流程结束",process_start:"[{1}]流程开始",prcoess_end:"[{1}]流程结束",force_end_process:"{1}强制结束了该流程,[{2}]的任务被取消",history_jump:"流程{3}到[{1}],[{2}]的任务被取消",history_back:"{1}退回任务,流程退回到[{2}]",history_removesign:"{1}给[{2}]减签",history_changetransactor_and_delegate:"{1}把办理人[{2}]更改成[{3})],{4}把任务委托给了[{5}]",history_changetransactor:"{1}把办理人[{2}]更改成[{3}]",history_addsign:"{1}给[{2}]加签",history_addtransactor:"{1}增加办理人[{2}]",history_removetransactor:"{1}减少办理人[{2}]",history_delegate_and_assign:"{1}把任务指派给了[{2}],[{3}]把任务委托给了[{4}]",history_assign:"{1}把任务指派给了[{2}]",transfer:"{1}移交给[{2}]",history_complete_transfer:"{1}执行了[{2}]操作,取消了其它接收人[{3}]的任务",history_delegate_receive:"{1}收回委托给[{2}]的任务",history_delegate:"{1}已把任务[{2}]委托给[{3}]",history_quit_transfer:"{1}离职,已把任务[{2}]移交给了[{3}]",history_change_job_transfer:"{1}换岗,已把任务[{2}]移交给了[{3}]",commonButtonOperation:"{1}执行了[{2}]操作",history_draw_task:"{1}领取了任务,取消了候选人[{2}]的任务",history_abandon_draw:"{1}放弃领取该任务,还原了候选人[{2}]的任务",toDoText:"待处理",operator:"操作人",operatorDept:"操作人部门",operationTime:"操作时间"},gateway:{timeout:"接口调用超时",callFailed:"接口调用失败"},superNineGrid:{add:"新建"},fsUpload:{upload:"上传",download:"下载",delete:"删除",preview:"预览",name:"名称",picture:"图片",operating:"操作",uploadSucceeded:"上传成功",theNumberOfUploadsExceedsTheLimitTheLimitIs:"上传数量超过限制,限制数量为"},messageVideo:{attemptingToIdentify:"正在尝试识别....",callingRearCamera:"正在调用后置摄像头...",identificationFailed:"识别失败"}},g.a),w=_;i.a.use(s["a"]);var C={en:m,cn:w},P=new s["a"]({locale:"cn",messages:C});r.a.i18n((function(e,t){return P.t(e,t)}));t["a"]=P},"5f7f":function(e,t,o){"use strict";o("3eb6")},"65f1":function(module,__webpack_exports__,__webpack_require__){"use strict";var _common_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8217"),imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("f6cd"),buttonEvents={clickButton:function clickButton(button,system,listCode,ids,tableName,entityName,myJsContent,entities,deleteLogicSetting,formNoRuleCode,importRuleCode,beanName,isWorkflow,uuid){var _this=this;if("undefined"!==typeof button.isExtension&&!0===button.isExtension){var param={listCode:listCode,ids:ids,tableName:tableName,entityName:entityName,beanName:beanName,entities:entities,listToolbarFormData:this.listToolbarFormData},judgeFlag=this.judgeDataNumber(button,ids,!1),entity,dataId;if(!judgeFlag)return;if(this.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),button.autoSetValueData&&(param.autoSetValueData=JSON.stringify(button.autoSetValueData)),button.logSetting&&(param.logSettingText=button.logSetting),button.taskMap&&(param.taskMap=button.taskMap),param.systemCode||(param.systemCode=system.code),formNoRuleCode&&(param.formNoRuleCode=formNoRuleCode),importRuleCode&&(param.importRuleCode=importRuleCode),this.additionalParamMap&&(param.additionalParamMap=this.additionalParamMap),button.jumpPage)return ids&&ids.length>0&&(dataId=ids[0]),entities&&entities.length>0&&(entity=entities[0]),void this.jumpToPage(button.jumpPage,system,dataId,entity,this.additionalParamMap,ids,button.code,this.pageCode);if(myJsContent&&null!==myJsContent&&""!==myJsContent){var buttonFun=eval("("+myJsContent+")"),request=buttonFun(this,param);request&&request.then((function(e){_this.refreshMyList(button.successOperation,button.isNeedValueMapping,entities),_this.$message({showClose:!0,type:"success",message:_this.$t("superPageMessage.successfulOperation")}),_this.callAfterClickButton(_this.listEvents,_this.listCode+"__"+button.code,{params:_this.additionalParamMap,entity:entities})}))}else if(button&&void 0!==button.isNeedValueMapping&&!0===button.isNeedValueMapping){var successOperation;button.successOperation&&(successOperation=button.successOperation),successOperation||(successOperation="closeWindow"),this.refreshMyList(successOperation,!0,entities)}else{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;button.templateFiles&&button.templateFiles.length>0?(templateUUID=button.templateFiles[0].templateUUID,templateShowPath=button.templateFiles[0].templateShowPath):(templateUUID=button.templateUUID,templateShowPath=button.templateShowPath),this.downloadTemplate(templateUUID,templateShowPath,tableName,importRuleCode,system,button.logSetting,listCode,entityName,beanName,button)}else if("export"===button.code)this.export(listCode,button.functionCode,uuid);else if("viewDetail"===button.code){var _dataId2;if(ids&&1===ids.length&&(_dataId2=ids[0]),!_dataId2)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.pleaseSelectRecord")});this.viewDetail(button.jumpPage,system,_dataId2,button,null)}else if("submit"===button.code||"agree"===button.code||"disagree"===button.code){if(!ids||0===ids.length)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.pleaseSelectRecord")});this.submitGrid(ids,system,button.restfulApiPath,tableName,entityName,myJsContent,button,formNoRuleCode,button.code,entities&&entities.length>0?entities[0]:null,this.additionalParamMap,entities,beanName,isWorkflow)}},judgeDataNumber:function(e,t,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,i=sessionStorage.getItem(this.pageCode+"-jumpMode");if(console.log("---update-value-closePage---jumpInfo=",i),i){var a=JSON.parse(i);n=a.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,i,a){this.jumpToPage(e,t,o,a,this.additionalParamMap,i,n.code,this.pageCode)},viewDetail:function(e,t,o,n,i){this.jumpToPage(e,t,o,i,this.additionalParamMap,null,n.code,this.pageCode),Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"openPageButton","viewDetail")},delete:function _delete(ids,system,restfulApiPath,tableName,entityName,myJsContent,button,deleteLogicSetting,entities,beanName,isWorkflowEntity){var _this2=this;this.$confirm(this.$t("superPageMessage.whetherToConfirmDeletion"),this.$t("superPageMessage.tips"),{confirmButtonText:this.$t("superPageMessage.sure"),cancelButtonText:this.$t("superPageMessage.cancel"),type:"warning"}).then((function(){var path=restfulApiPath;if(!1===system.standard&&!path){var baseUrl=_this2.getBaseUrl(system);path=baseUrl+"/dsc/commons/"+tableName}path=_this2.getRealRestApiPath(path,system);var param={ids:ids,functionCode:button.functionCode},request;if(entityName&&(param.entityName=entityName),beanName&&(param.beanName=beanName),deleteLogicSetting&&(param.deleteLogicSetting=JSON.stringify(deleteLogicSetting)),button.logSetting&&(param.logSettingText=button.logSetting),button.isSafeDelete&&(param.isSafeDelete=button.isSafeDelete),button.taskMap&&(param.taskMap=button.taskMap),param.systemCode||(param.systemCode=system.code),param.isWorkflowEntity=isWorkflowEntity,myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this2,param)}else request=_this2.$http.delete(path,{data:param});request&&(button.loading=!0,request.then((function(e){_this2.refreshMyList(button.successOperation),_this2.$message({showClose:!0,type:"success",message:_this2.$t("superPageMessage.successfulDelete")}),_this2.callAfterClickButton(_this2.listEvents,_this2.listCode+"__"+button.code,{params:_this2.additionalParamMap,entity:_this2.selections}),_this2.selections=[],button.loading=!1})).catch((function(e){button.loading=!1})))})).catch((function(){}))},downloadTemplate:function(e,t,o,n,i,a,r,s,l,u){!t&&u.templateI18nLable&&(t=u.templateI18nLable);var c="?1=1";e&&t&&"undefined"!==e&&"undefined"!==t&&"null"!==e&&"null"!==t?c+="&fileName="+encodeURI(e)+"&showName="+encodeURI(t):t&&(c+="&showName="+encodeURI(t)),a&&""!==a&&(c+="&logSettingText="+a),i&&i.code&&(c+="&systemCode="+i.code),n&&(c+="&importCode="+n),r&&(c+="&listCode="+r),s&&(c+="&entityName="+s),l&&(c+="&beanName="+l),u&&u.functionCode&&(c+="&functionCode="+u.functionCode),o&&(c+="&tableName="+o);var p=this.getBaseUrl(i);window.open(p+"/dsc/commons/download-files"+c)},doImportFinally:function doImportFinally(system,restfulApiPath,tableName,entityName,myJsContent,button,listViewImportDuplicate,fileObj,judgeHeavyList,formNoRuleCode,importRuleCode,listCode,beanName){var _this3=this,param=new FormData;param.append("multipartFile",fileObj),tableName&¶m.append("tableName",tableName),entityName&¶m.append("entityName",entityName),beanName&¶m.append("beanName",beanName),listViewImportDuplicate&¶m.append("importDuplicateRule",listViewImportDuplicate),judgeHeavyList&¶m.append("judgeHeavyList",JSON.stringify(judgeHeavyList)),formNoRuleCode&¶m.append("formNoRuleCode",formNoRuleCode),importRuleCode&¶m.append("importRuleCode",importRuleCode),listCode&¶m.append("listCode",listCode);var isWorkflowEntity=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["d"])(this.pageCode,tableName+"_isProcess");null!==isWorkflowEntity&&void 0!==isWorkflowEntity&¶m.append("isWorkflowEntity",isWorkflowEntity),button.functionCode&¶m.append("functionCode",button.functionCode),this.additionalParamMap&¶m.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){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){var n,i={};this.selections&&this.selections.length>0&&(i.data=this.selections);var a=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["d"])(this.pageCode,"_pageName");a&&(n=a),this.$exportDataNew(i,n,e,t,o),this.callAfterClickButton(this.listEvents,this.listCode+"__export",{params:this.additionalParamMap})},submitGrid:function(e,t,o,n,i,a,r,s,l,u,c,p,d,f){var m=this,h="superPageMessage.whetherToConfirm"+this.upperFirstCase(l);this.$confirm(this.$t(h,{name:r.label}),this.$t("superPageMessage.tips"),{confirmButtonText:this.$t("superPageMessage.sure"),cancelButtonText:this.$t("superPageMessage.cancel"),type:"warning"}).then((function(){var l,u={ids:e,formNoRuleCode:s,tableName:n,functionCode:r.functionCode};m.judgeHeavyList&&(u.judgeHeavyList=JSON.stringify(m.judgeHeavyList)),r.dataConversionRule&&(u.dataConversionRule=r.dataConversionRule.join(",")),r.autoSetValueData&&(u.autoSetValueData=JSON.stringify(r.autoSetValueData)),r.logSetting&&(u.logSettingText=r.logSetting),u.systemCode||(u.systemCode=t.code),r.taskMap&&(u.taskMap=r.taskMap),i&&(u.entityName=i),d&&(u.beanName=d),c&&(u.additionalParamMap=c),u.isWorkflowEntity=f,"submit"===r.code?l="/dsc/commons/batch-submits":"agree"===r.code?l="/dsc/commons/batch-approves":"disagree"===r.code&&(l="/dsc/commons/batch-refuses");var p=m.getSaveFormRequestByParam(t,o,u,a,l);p&&(r.loading=!0,p.then((function(e){m.refreshMyList(r.successOperation),m.$message({showClose:!0,type:"success",message:m.$t("superPageMessage.successfulOperation")}),m.callAfterClickButton(m.listEvents,m.listCode+"__"+r.code,{params:m.additionalParamMap}),r.loading=!1})).catch((function(e){r.loading=!1})))})).catch((function(e){console.log(e)}))},getDataTypeMapRequest:function(e,t){var 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},"68fb":function(e,t,o){},"71b1":function(e,t,o){},"746a":function(e,t,o){"use strict";var n=Object.prototype.hasOwnProperty,i=o("9c59"),a={},r="§";function s(){if(l.supported){var e,t=window.name,o=0;for(e in a=t.charAt(0)===r?i.parse(t.slice(1)):{},a)n.call(a,e)&&o++;l.length=o}}var l=e.exports={length:0,getItem:function(e){return n.call(a,e)?a[e]:null},setItem:function(e,t){a[e]=t,window.name=i.stringify(a,r),l.length++},removeItem:function(e){delete a[e],window.name=i.stringify(a,r),l.length--},clear:function(){a={},window.name="",l.length=0},supported:function(){return"object"===typeof window&&"string"===typeof window.name}()};s()},"755a":function(e,t,o){"use strict";o("71b1")},"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,i,a,r){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(o)&&s.push("expires="+new Date(o).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(a)&&s.push("domain="+a),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},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 i=o("8bbf"),a=s(i),r=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,i=null,a=0,r=o.length;a<r;a++){var s=o[a];if(!n)break;if(a===r-1){i=n[s];break}n=n[s]}return i};function f(e,t,o){var n=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var i=t.split("."),a=0,r=i.length;a<r-1;++a){if(!n&&!o)break;var s=i[a];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:i[a],v:n?n[i[a]]: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!a.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!a.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!a.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,r.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var o=(0,r.isObject)(e),n=(0,r.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,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];t||(t=!0,window.requestAnimationFrame((function(n){e.apply(o,i),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,"f",(function(){return a})),o.d(t,"a",(function(){return r})),o.d(t,"c",(function(){return s})),o.d(t,"b",(function(){return l})),o.d(t,"e",(function(){return u}));var n=o("18ce");function i(e,t){var o=n["a"].get(e);if(o)return o[t]}function a(e,t,o){var i=n["a"].get(e);i||(i={},n["a"].set(e,i)),i[t]=o}function r(e,t){var o=n["a"].get(e);o&&o[t]&&delete o[t]}function s(e,t,o,n){return{_pageDevMode:e,_sourceButtonCode:o,_pathQuery:n}}function l(e){return e.options&&e.options.colWidth?e.options.colWidth:24}function u(e){for(var t=0;t<e.length;t++)for(var o=e[t],n=0;n<o.colList.length;n++){var i=o.colList[n];if(l(i)<24)return!0}return!1}},8345:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return executeExpression}));var _calculator_factory__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("be23"),_calculator_factory_wf__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("1d68"),_util__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("29b3");function executeExpression(e,t,o,n){var i=Object(_calculator_factory__WEBPACK_IMPORTED_MODULE_0__["a"])(n),a=new i(e,t,o);return a.result}function parseSubTablePermissionCondition(express,dataTypeMap,parentEntity,subEntity,additionalParamMap,task,contextParameterMap){var expressTrueVal="true";if(!express)return!0;if(expressTrueVal.toLowerCase()===express.trim())return!0;var SQUARE_BRACKETS_LEFT="[",SQUARE_BRACKETS_RIGHT="]",AND="&&",OR="||",temp=express,strs=splitExpression(express);console.log("分割后的原子表达式为:",strs);for(var result=!1,i=0;i<strs.length;i++){console.log("开始分析原子表达式:",strs[i]);var atomicExpress=strs[i];if(atomicExpress&&atomicExpress.trim()){var name=atomicExpress.substring(atomicExpress.indexOf(SQUARE_BRACKETS_LEFT)+SQUARE_BRACKETS_LEFT.length,atomicExpress.indexOf(SQUARE_BRACKETS_RIGHT)),dataType="TEXT";null!=dataTypeMap&&null!=dataTypeMap[name]&&(dataType=dataTypeMap[name]),result=parseFieldCondition(atomicExpress,dataType,parentEntity,subEntity,additionalParamMap,task,contextParameterMap),console.log("原子表达式:",atomicExpress,"的分析结果为 ",result),temp=temp.replace(atomicExpress.trim(),result+""),console.log("将原子表达式替换为它的结果后:",temp)}}return temp=temp.replace(/condition.operator.and/g,AND),temp=temp.replace(/condition.operator.or/g,OR),temp.trim().endsWith(OR)&&(temp=temp.substring(0,temp.lastIndexOf(OR))),temp.trim().endsWith(AND)&&(temp=temp.substring(0,temp.lastIndexOf(AND))),console.log("最终该流向的表达式为:",temp),eval("("+temp+")")}function parseFieldCondition(e,t,o,n,i,a,r){if(!e)return!1;var s="[",l="]";e=e.trim();var u=e.substring(e.indexOf(s)+s.length,e.indexOf(l)),c=e.substring(0,e.indexOf(" ")),p=e.substring(e.indexOf(" ")+1),d=p.substring(p.indexOf(" ")+1).trim(),f=Object(_util__WEBPACK_IMPORTED_MODULE_2__["d"])(d,o,i,r,null,n,a);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+""}},"854e":function(e,t,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},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,i,a,r,s,l,u,c,p,d,f,m,h,g,b,y,v,_,w,C,P){if("startInstance"===e||"update"===e)this.startInstance(t,o,n,i,a,s,l,u,c,p,d,f,h,g,e,v,_,w,C);else if("submitProcess"===e)this.submitProcess(t,o,n,i,a,s,l,u,c,p,d,f,m,h,g,e,v,_,w,C);else if("completeTask"===e)this.complateTask(t,o,n,r,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),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}},request;if(!1===system.standard&&(param={entity:model,tableName:tableName,completeTaskParam:{operationResult:operationResult,taskId:this.completeTaskParam.taskId},formViewCode:formViewCode,formViewVersion:formViewVersion,functionCode:this.permissionPrefix+".xxx"}),this.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),dataConversionRule&&(param.dataConversionRule=dataConversionRule.join(",")),autoSetValueData&&(param.autoSetValueData=JSON.stringify(autoSetValueData)),myEntityName&&(param.entityName=myEntityName),beanName&&(param.beanName=beanName),processEndlogicSetting&&(param.processEndLogicSetting=JSON.stringify(processEndlogicSetting)),logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),this.dataTypeMap&&(param.dataTypeMap=this.dataTypeMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),this.additionalParamMap&&(param.additionalParamMap=this.additionalParamMap),console.log("办理任务",taskMap),taskMap&&(param.taskMap=taskMap),console.log("办理任务param",param),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,i,a,r){if(e){e.entity&&(this.formData=e.entity,this.formNo=e.formNo,Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"_formData",this.formData));var s=e.completeTaskResult;if(s){var l=s.completeTaskTipType;if(l&&"MESSAGE"===l){var u=s.content;return this.$message({showClose:!0,type:"warning",message:u}),!1}}e.completeTaskParam&&(this.completeTaskParam=e.completeTaskParam,Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"_completeTaskParam",this.completeTaskParam),this.$set(this.formOptions,"fieldPermissions",this.completeTaskParam.fieldPermissions),this.$set(this.formOptions,"actionPermissions",this.completeTaskParam.actionPermissions),this.workflowButtonComponent=this.completeTaskParam.buttonComponent),Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"_currentActivityName",e.taskName)}return t||(n&&this.callAfterClickButton(this.formEvents,this.formViewCode+"__"+n,{params:this.additionalParamMap,entity:this.formData,taskId:i,operationResult:a}),this.afterSuccessOperateInForm(o,this.formData,r,!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},formViewCode:formViewCode,formViewVersion:formViewVersion}),param.functionCode=functionCode||_this5.permissionPrefix+".xxx",assigneeId&&(param.assigneeId=assigneeId),_this5.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(_this5.judgeHeavyList)),nodeName&&nodeId&&(param.returnToNodeName=nodeName,param.returnToNodeId=nodeId),myEntityName&&(param.entityName=myEntityName),beanName&&(param.beanName=beanName),dataConversionRule&&(param.dataConversionRule=dataConversionRule.join(",")),autoSetValueData&&(param.autoSetValueData=JSON.stringify(autoSetValueData)),logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),_this5.dataTypeMap&&(param.dataTypeMap=_this5.dataTypeMap),_this5.ids&&ids.length>0&&(param.ids=ids),taskMap&&(param.taskMap=taskMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),_this5.additionalParamMap&&(param.additionalParamMap=_this5.additionalParamMap),param.isBatchProcessing=isBatchProcessing,param.isWorkflowEntity=!0,myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this5,param)}else request=_this5.$http.post(path,param);request&&request.then((function(e){var t=!0;e&&(t=_this5.dealCompleteTaskParam(e,!1,successOperation,buttonType,_this5.completeTaskParam.taskId,null,isNeedValueMapping)),!0===t&&_this5.$message({showClose:!0,type:"success",message:_this5.$t(successMessageTip)}),resolve(!0)}))}else _this5.$message({showClose:!0,type:"warning",message:_this5.$t("superPageMessage.requestPathEmpty")})}))},retrieve:function(e,t,o,n,i,a,r,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/retrieves"),this.transactTask(e,t,o,f,"superPageMessage.successfulRetrieve",!1,!1,n,i,a,r,s,null,null,null,null,l,u,null,null,c,p,null,d)},drawTask:function(e,t,o,n,i,a,r,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/draw-tasks"),this.transactTask(e,t,o,f,"superPageMessage.successfulDrawTask",!1,!1,n,i,a,r,s,null,null,null,null,l,u,null,null,c,p,null,d)},abandonReceive:function(e,t,o,n,i,a,r,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/abandon-receives"),this.transactTask(e,t,o,f,"superPageMessage.successfulAbandonReceive",!1,!1,n,i,a,r,s,null,null,null,null,l,u,null,null,c,p,null,d)},assign:function(e,t,o,n,i,a,r,s,l,u,c){var p=this;if(l){var d;!1===e.standard&&(d=this.getBaseUrl(e)+"/dsc/workflow-commons/assigns");var f=l.id?l.id:l.ID?l.ID:null;this.transactTask(e,t,o,d,"superPageMessage.successfulAssign",!1,!1,n,i,a,r,s,null,null,null,f,this.logSetting,"assignTask",null,null,u,null,null,c).then((function(e){p.selectAssignUser=!1}))}else this.selectAssignUser=!1},returnToPreviousTask:function(e,t,o,n,i,a,r,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/return-to-previous-tasks"),this.transactTask(e,t,o,p,"superPageMessage.successfulReturnToPreviousTask",!1,!1,n,i,a,r,s,null,null,null,null,this.logSetting,"returnToPreviousTask",null,null,l,u,null,c)},getTaskInformitions:function(e,t,o){var n,i=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 a={entityName:t,beanName:o,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"};this.$http.post(n,a).then((function(e){i.taskInformitions=e,i.showTaskInformitions=!0})).catch((function(e){i.showTaskInformitions=!1}))}else this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},returnTaskTo:function(e,t,o,n,i,a,r,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,i,a,r,s,l,null,null,null,null,this.logSetting,"returnTaskTo",null,null,u,null,null,c)},endInstance:function(e,t,o,n,i,a,r,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/end-instance"),this.transactTask(e,t,o,p,"superPageMessage.successfulEndInstance",!1,!1,n,i,a,r,s,null,null,null,null,this.logSetting,"endInstance",null,null,l,u,null,c)},submitForm:function(e,t,o,n,i,a,r,s,l,u,c,p,d,f,m,h,g,b,y,v,_){var w;!1===e.standard&&(w=this.getBaseUrl(e)+p),this.transactTask(e,t,o,w,"superPageMessage.successfulOperation",!1,!1,n,i,a,r,l,s,u,c,null,d,f,m,h,g,b,y,v,_)},addSigner:function(){this.isMulti=!0,this.selectAddSignerUser=!0},doAddSigner:function doAddSigner(selectNodeInfo,myJsContent,system,entityName,beanName,dataId,model,successOperation,isNeedValueMapping){var _this8=this;if(selectNodeInfo){var path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons/add-signers"),path=this.getRealRestApiPath(path,system),!path)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")});var requestParams={entityName:entityName,beanName:beanName,id:dataId,entity:model,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx",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(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,i){var a,r=this,s={};!1===e.standard?(a=this.getBaseUrl(e)+"/dsc/workflow-commons/get-remove-signers",n&&""!==n&&(s.logSettingText=n),s.entityName=t,s.beanName=i,s.systemCode=e.code,s.entity=o,s.additionalParamMap=this.additionalParamMap,s.tableName=this.tableName,s.functionCode=this.permissionPrefix+".xxx"):o.workflowInfo&&(s.entity=o),s.isWorkflowEntity=!0,a=this.getRealRestApiPath(a,e),a?this.$http.post(a,s).then((function(e){r.activeTasks=e,r.showRemoveSigner=!0})):this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},doRemoveSigners:function doRemoveSigners(selectRemoveTasks,myJsContent,system,entityName,beanName){var _this11=this;if(selectRemoveTasks){var path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons/remove-signers"),path=this.getRealRestApiPath(path,system),!path)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")});var taskIds=selectRemoveTasks.map((function(e){return e.id?e.id:e.ID?e.ID:null})),request;if(myJsContent){var param={taskIds:taskIds,entityName:entityName,beanName:beanName,systemCode:system.code,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"},buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else{var requestParams={entityName:entityName,beanName:beanName,ids:taskIds,systemCode:system.code,additionalParamMap:this.additionalParamMap};request=this.$http.post(path,requestParams)}request&&request.then((function(){_this11.$message({showClose:!0,type:"success",message:_this11.$t("superPageMessage.successfulOperation")}),_this11.callAfterClickButton(_this11.formEvents,_this11.formViewCode+"__removeSigner",{params:_this11.additionalParamMap,entity:_this11.formData}),_this11.showRemoveSigner=!1}))}else this.showRemoveSigner=!1},assignTask:function(){this.isMulti=!1,this.selectAssignUser=!0},updateValues:function(e,t){Object(imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_1__["b"])(e,t,this.jumpPageSetting,this.formData,this.tableName);var 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,i;t.templateFiles&&t.templateFiles.length>0?(n=t.templateFiles[0].templateUUID,i=t.templateFiles[0].templateShowPath):(n=t.templateUUID,i=t.templateShowPath);var a="?1=1";t&&t.functionCode&&(a+="&functionCode="+t.functionCode),o&&(a+="&tableName="+o),n&&i&&"undefined"!==n&&"undefined"!==i&&"null"!==n&&"null"!==i&&(a+="&fileName="+encodeURI(n)+"&showName="+encodeURI(i));var r=this.getBaseUrl(e);window.open(r+"/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 i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var o=this;e((function(e){o.reason||(o.reason=new n(e),t(o.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e,t=new i((function(t){e=t}));return{token:t,cancel:e}},e.exports=i},9598: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}));var n=o("bc95"),i=o.n(n),a=o("8bbf"),r=o.n(a);function s(e){if(void 0===r.a.prototype.projectModel||"developing.model"!==r.a.prototype.projectModel){var t=l(location.href);if(i.a.setItem("relativeUrl",t),t&&e){var o="",n=e.split("/");if(n.length>=3){var a=n[0]+"//"+n[2];o=e.substring(e.indexOf(a)+a.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,i=o.split("/");return i.length>=3&&(n=i[0]+"//"+i[2]+"/"),n}}function u(e){return r.a.prototype.projectModel&&"developing.model"===r.a.prototype.projectModel&&r.a.prototype.frontUrl?r.a.prototype.frontUrl:s(e)}function c(e){return r.a.prototype.projectModel&&"developing.model"===r.a.prototype.projectModel&&r.a.prototype.baseURL?r.a.prototype.baseURL:s(e)}},"99d1":function(e,t,o){"use strict";o("854e")},"9c59":function(e,t,o){"use strict";var n=Object.prototype.hasOwnProperty;function i(e){for(var t,o=/([^=?&]+)=?([^&]*)/g,n={};t=o.exec(e);n[decodeURIComponent(t[1])]=decodeURIComponent(t[2]));return n}function a(e,t){t=t||"";var o=[];for(var i in"string"!==typeof t&&(t="?"),e)n.call(e,i)&&o.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return o.length?t+o.join("&"):""}t.stringify=a,t.parse=i},"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),r=1;r<t;r++)o[r-1]=arguments[r];return 1===o.length&&"object"===n(o[0])&&(o=o[0]),o&&o.hasOwnProperty||(o={}),e.replace(a,(function(t,n,a,r){var s=void 0;return"{"===e[r-1]&&"}"===e[r+t.length]?a:(s=(0,i.hasOwn)(o,a)?o[a]:null,null===s||void 0===s?"":s)}))}return t};var i=o("8122"),a=/(%|)\{([0-9a-zA-Z_]+)\}/g},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 i=o("8bbf"),a=r(i);function r(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))||!a.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,i;
|
|
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 x}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},a=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(e){a&&(e._devtoolHook=a,a.emit("vuex:init",e),a.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){a.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){a.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){Object.keys(e).forEach((function(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 i=new p(t,o);if(0===e.length)this.root=i;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],i)}t.modules&&s(t.modules,(function(t,i){n.register(e.concat(i),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&&D(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 i=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,o){return l.call(i,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&&r(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 i=e._wrappedGetters,a={};s(i,(function(t,o){a[o]=c(t,e),Object.defineProperty(e.getters,o,{get:function(){return e._vm[o]},enumerable:!0})}));var r=h.config.silent;h.config.silent=!0,e._vm=new h({data:{$$state:t},computed:a}),h.config.silent=r,e.strict&&T(e),n&&(o&&e._withCommit((function(){n._data.$$state=null})),h.nextTick((function(){return n.$destroy()})))}function w(e,t,o,n,i){var a=!o.length,r=e._modules.getNamespace(o);if(n.namespaced&&(e._modulesNamespaceMap[r],e._modulesNamespaceMap[r]=n),!a&&!i){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,r,o);n.forEachMutation((function(t,o){var n=r+o;S(e,n,t,u)})),n.forEachAction((function(t,o){var n=t.root?o:r+o,i=t.handler||t;O(e,n,i,u)})),n.forEachGetter((function(t,o){var n=r+o;k(e,n,t,u)})),n.forEachChild((function(n,a){w(e,t,o.concat(a),n,i)}))}function C(e,t,o){var n=""===t,i={dispatch:n?e.dispatch:function(o,n,i){var a=N(o,n,i),r=a.payload,s=a.options,l=a.type;return s&&s.root||(l=t+l),e.dispatch(l,r)},commit:n?e.commit:function(o,n,i){var a=N(o,n,i),r=a.payload,s=a.options,l=a.type;s&&s.root||(l=t+l),e.commit(l,r,s)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return P(e,t)}},state:{get:function(){return E(e.state,o)}}}),i}function P(e,t){if(!e._makeLocalGettersCache[t]){var o={},n=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,n)===t){var a=i.slice(n);Object.defineProperty(o,a,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=o}return e._makeLocalGettersCache[t]}function S(e,t,o,n){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){o.call(e,n.state,t)}))}function O(e,t,o,n){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=o.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return u(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function k(e,t,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 D(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,i=N(e,t,o),a=i.type,r=i.payload,s=(i.options,{type:a,payload:r}),l=this._mutations[a];l&&(this._withCommit((function(){l.forEach((function(e){e(r)}))})),this._subscribers.slice().forEach((function(e){return e(s,n.state)})))},g.prototype.dispatch=function(e,t){var o=this,n=N(e,t),i=n.type,a=n.payload,r={type:i,payload:a},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(r,o.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(e){return e(a)}))):s[0](a);return new Promise((function(e,t){l.then((function(t){try{o._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(r,o.state)}))}catch(u){0}e(t)}),(function(e){try{o._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(r,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 M(t).forEach((function(t){var n=t.key,i=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 i?i.call(this,t,o):t[i]},o[n].vuex=!0})),o})),I((function(e,t){var o={};return M(t).forEach((function(t){var n=t.key,i=t.val;o[n]=function(){var t=[],o=arguments.length;while(o--)t[o]=arguments[o];var n=this.$store.commit;if(e){var a=R(this.$store,"mapMutations",e);if(!a)return;n=a.context.commit}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),o}));var x=I((function(e,t){var o={};return M(t).forEach((function(t){var n=t.key,i=t.val;i=e+i,o[n]=function(){if(!e||R(this.$store,"mapGetters",e))return this.$store.getters[i]},o[n].vuex=!0})),o}));I((function(e,t){var o={};return M(t).forEach((function(t){var n=t.key,i=t.val;o[n]=function(){var t=[],o=arguments.length;while(o--)t[o]=arguments[o];var n=this.$store.dispatch;if(e){var a=R(this.$store,"mapActions",e);if(!a)return;n=a.context.dispatch}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),o}));function M(e){return j(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function j(e){return Array.isArray(e)||l(e)}function I(e){return function(t,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 i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,o){if(!t)return e;var a;if(o)a=o(t);else if(n.isURLSearchParams(t))a=t.toString();else{var r=[];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)),r.push(i(t)+"="+i(e))})))})),a=r.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},"387f":function(e,t,o){"use strict";e.exports=function(e,t,o,n,i){return e.config=t,o&&(e.code=o),e.request=n,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},3934:function(e,t,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 i(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=i(window.location.href),function(t){var o=n.isString(t)?i(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 i(e)&&!a(e)};function i(e){return!!e&&"object"===typeof e}function a(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||l(e)}var r="function"===typeof Symbol&&Symbol.for,s=r?Symbol.for("react.element"):60103;function l(e){return e.$$typeof===s}function u(e){return Array.isArray(e)?[]:{}}function c(e,t){var o=t&&!0===t.clone;return o&&n(e)?f(u(e),e,t):e}function p(e,t,o){var i=e.slice();return t.forEach((function(t,a){"undefined"===typeof i[a]?i[a]=c(t,o):n(t)?i[a]=f(e[a],t,o):-1===e.indexOf(t)&&i.push(c(t,o))})),i}function d(e,t,o){var i={};return n(e)&&Object.keys(e).forEach((function(t){i[t]=c(e[t],o)})),Object.keys(t).forEach((function(a){n(t[a])&&e[a]?i[a]=f(e[a],t[a],o):i[a]=c(t[a],o)})),i}function f(e,t,o){var n=Array.isArray(t),i=Array.isArray(e),a=o||{arrayMerge:p},r=n===i;if(r){if(n){var s=a.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},"3eb6":function(e,t,o){},"467f":function(e,t,o){"use strict";var n=o("2d83");e.exports=function(e,t,o){var i=o.config.validateStatus;!i||i(o.status)?e(o):t(n("Request failed with status code "+o.status,o.config,null,o.request,o))}},4897:function(e,t,o){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var n=o("f0d9"),i=p(n),a=o("8bbf"),r=p(a),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)(r.default),f=i.default,m=!1,h=function(){var e=Object.getPrototypeOf(this||r.default).$t;if("function"===typeof e&&r.default.locale)return m||(m=!0,r.default.locale(r.default.config.lang,(0,l.default)(f,r.default.locale(r.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("."),i=f,a=0,r=n.length;a<r;a++){var s=n[a];if(o=i[s],a===r-1)return d(o,t);if(!o)return"";i=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(i){n.isObject(t[i])?o[i]=n.deepMerge(e[i],t[i]):"undefined"!==typeof t[i]?o[i]=t[i]:n.isObject(e[i])?o[i]=n.deepMerge(e[i]):"undefined"!==typeof e[i]&&(o[i]=e[i])})),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={},i={};function a(){var e=0;for(var t in n)e++;return e}var r=e.exports={length:a(),getItem:function(e){return o.call(n,e)?n[e]:null},setItem:function(e,t){e in i||(n[e]=t),r.length=a()},removeItem:function(e){delete n[e],r.length=a()},clear:function(){n={},r.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 _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,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,s=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return r=e.done,e},e:function(e){s=!0,a=e},f:function(){try{r||null==o.return||o.return()}finally{if(s)throw a}}}}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}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],i=o[e];return i>n?1:i<n?-1:0}:function(t,o){var n=t[e],i=o[e];return i<n?1:i>n?-1:0}},canExecuteWithMore:function(e,t,o,n,i){var a=this;return new Promise((function(r,s){if(void 0===e||""===e||void 0===t||0===t.length)r({canExecute:!0});else{for(var l,u,c=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(a.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,i,c,o,n,null);if(!y){p=!1,l=g,u=f;break}}r(p?{canExecute:!0}:{canExecute:!1,message:l,failEntity:u})}}))},canExecute:function(e,t,o,n,i){var a=[];return a.push(t),this.canExecuteWithMore(e,a,o,n,i)},isButtonVisible:function(e,t,o){var n=this;return new Promise((function(i,a){var r=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,r,t,null);i(u)}else i(!0)}))},getWorkflowButtonVisible:function(e,t,o){var n=this;return new Promise((function(i,a){var r=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,r,t,null)}u[d]=m}}Object.keys(u).length>0?i(u):i(!0)}else i(!0)}))},afterSuccessOperateInForm:function(e,t,o,n){if(console.log("afterSuccessOperateInForm---successOperation=-",e,t,o),Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["f"])(this.pageCode,"_formData",t),e&&""!==e&&null!==e||(e="refresh"),this.$refs.superForm&&this.$refs.superForm.refresh(t),"refresh"===e)this.updateFormData(t),t&&(t.id||t.ID)&&(this.dataId=null==t.ID?t.id:t.ID,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 i,a=sessionStorage.getItem(this.pageCode+"-jumpMode");if(a){var r=JSON.parse(a);i=r.rowIndex}this.$emit("update-value",t,this.tableName,i)}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,i,a,r,s,l,u,c,p,d,f,m,h,g,b,y,v,_,w){var C={entity:a,formViewCode:o,formViewVersion:n,tableName:i,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),r&&(C.entityName=r),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,a)},getSaveFormRequestByParam:function getSaveFormRequestByParam(system,restfulApiPath,param,myJsContent,url,formData){var path=restfulApiPath,request;if(!1===system.standard&&!path){var baseUrl=this.getBaseUrl(system);path=baseUrl+url}if(path=this.getRealRestApiPath(path,system),myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else request=formData&&(formData.id||formData.ID)?this.$http.put(path,param):this.$http.post(path,param);return request},exportFormReport:function exportFormReport(templateUUID,fileName,myJsContent,entityName,system,logSettingText,taskMap,additionalParamMap,isWorkflowForm,beanName,button,tableName){var _this4=this;this.$refs.superForm&&this.$refs.superForm.getViewModels().then((function(viewModels){var param={entity:viewModels,fileName:templateUUID,showName:fileName,entityName:entityName,beanName:beanName,isWorkflowForm:isWorkflowForm,functionCode:button.functionCode,tableName:tableName};logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),taskMap&&(param.taskMap=taskMap),additionalParamMap&&(param.additionalParamMap=additionalParamMap);var beforeClickResult=_this4.callBeforeClickButton(_this4.formEvents,_this4.formViewCode+"__exportForm",{params:_this4.additionalParamMap,exportParam:param});if(beforeClickResult){var request;if(myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this4,param)}else{var baseUrl=_this4.getBaseUrl(system),path=baseUrl+"/dsc/commons/export-reports";axios__WEBPACK_IMPORTED_MODULE_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})}))}}))},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,i=e.getDate()<10?"0"+e.getDate():e.getDate();return o+"-"+n+"-"+i}},commonButtonClick:function(e){this.$emit("click",e)},workflowButtonClick:function(e,t,o,n){this.$emit("workflowClick",e,t,o,n)},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 i=n.substring(0,n.indexOf("__"));if(e===i){var a=n.substring(n.indexOf("__")+"__".length);t[a]=o[n]}}));var i=n.customEvents;i&&(t.customEvents=i)}return t},findOptionsByDynamicDataSource:function(e,t,o,n){var i=this;return new Promise((function(a,r){void 0!==t&&null!==t||(t="");var s={searchText:t};n&&(s.additionalParamMap=n),o&&null!==o&&(s.entity=o),i.$http.post(vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.baseURL+"/common/dynamic-data-source/"+e,s).then((function(e){var t=[];if(e&&e.options){var o,n=e.options;e.valueAttribute&&(o=e.valueAttribute),o&&"[label]"!==o||(o="_label_"),n.forEach((function(e){var n=e[o],i=e["_label_"];t.push({label:i,value:n})}))}t||(t=[]),a(t)})).catch((function(e){r(e)}))}))},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;t.push({label:n,value:o})})),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,i,a,r,s){var l=this;Object(imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_6__["a"])(e,t,o,n,i,a,r).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 i=JSON.parse(n),a=i.jumpMode;if("popup"===a){var r=sessionStorage.getItem(e+"_source_page_code");sessionStorage.removeItem(e+"_source_page_code");var s=o;!o&&this.pageType&&"form"===this.pageType&&(s=this.getFormData()),r?(console.log("-----close-component-page-dialog=",i,s,this.pageCode),_eventBus__WEBPACK_IMPORTED_MODULE_2__["a"].$emit(r+"-close-component-page-dialog",i,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"===a||"newTab"===a?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 i,a=Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["d"])(n.pageCode,"_pageEvents");if(a)n.pageType&&"form"===n.pageType&&(i=n.getFormData()),n.callFormItemEvent(a,n.jumpPageSetting.closeEvent,i,{popEntity:e,popPageCode:t,pageCode:n.pageCode});var r=!1;n.pageType&&"list"===n.pageType&&(r=!0),n.eventBusOnCloseDialog(t,n,n.jumpPageSetting.buttonCode,o,n.jumpPageSetting,r)}else n.isShowPageDialog=!1,n.jumpPageSetting=null},eventBusOnCloseDialog:function(e,t,o,n,i,a){if(t.isShowPageDialog=!1,t.jumpPageSetting=null,void 0!==a&&null!==a&&!0===a){var r=t.$refs.grid;r&&r.refresh()}else if(o&&("create"===o||"update"===o)||n&&"closeWindowAndRefresh"===n){var s=t.$refs.grid;s&&s.refresh()}else if(void 0!==i.isRefreshWhenClosePopup&&!0===i.isRefreshWhenClosePopup){var l=t.$refs.grid;l&&l.refresh()}},getWatermarkLabel:function(e,t){var o="";if(e.label&&""!==e.label){var n,i=/\$\{(.+?)\]}/g,a=e.label.match(i),r=_createForOfIteratorHelper(a);try{for(r.s();!(n=r.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){r.e(c)}finally{r.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 i=e.position;i&&"form"!==i?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 _this10=this;this.$refs.superForm&&this.$refs.superForm.getViewModels().then((function(viewModels){var param={entity:viewModels,fileName:templateUUID,showName:fileName,entityName:entityName,beanName:beanName,isWorkflowForm:isWorkflowForm,functionCode:functionCode,tableName:tableName};logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),taskMap&&(param.taskMap=taskMap),additionalParamMap&&(param.additionalParamMap=additionalParamMap);var beforeClickResult=_this10.callBeforeClickButton(_this10.formEvents,_this10.formViewCode+"__exportForm",{params:_this10.additionalParamMap,exportParam:param});if(beforeClickResult){var request;if(myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this10,param)}else{var baseUrl=_this10.getBaseUrl(system),path=baseUrl+"/dsc/commons/create-preview-file";axios__WEBPACK_IMPORTED_MODULE_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))}))}}))},reviewButton:function(e){if(this.$refs.superForm){var t=this.$refs.superForm.getFormData();Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["f"])(this.pageCode,"_formData",t)}else e&&Object(_common_util__WEBPACK_IMPORTED_MODULE_5__["f"])(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)}};__webpack_exports__["a"]=Util},5270:function(e,t,o){"use strict";var n=o("c532"),i=o("c401"),a=o("2e67"),r=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=i(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||r.adapter;return t(e).then((function(t){return u(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(u(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},5824:function(e,t,o){"use strict";var n=o("8bbf"),i=o.n(n),a=o("4897"),r=o.n(a),s=o("a925"),l=o("b2d6"),u=o.n(l);function c(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 p(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){d(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function d(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var f=p({imatrixUIPublicModel:{sure:"Sure",cancel:"Cancel",allDepartments:"All Departments",allUsers:"All Users",reset:"Reset",to:"To",edit:"Edit",clear:"Clear",download:"Download",delete:"Delete",preview:"Preview",add:"Add",graphView:"Graphic view",listView:"List View",fieldName:"Field Name",operator:"Operator",value:"Value",andOr:"And/Or",whenTheVariableIsEmpty:"When The Variable Is Empty",perhaps:"Perhaps",also:"Also",greaterThan:"Greater Than",lessThan:"Less Than",beEqualTo:"Be Equal To",notGreaterThan:"Not Greater Than",notLessThan:"Not Less Than",notEqualTo:"Not Equal To",contain:"Contain",notIncluded:"Not Included",laterThan:"Later Than",earlierThan:"Earlier Than",noLaterThan:"No Later Than",noEarlierThan:"No Earlier Than",ignore11:"Ignore (1 = 1)",nonConformity:"Non Conformity (1 < > 1)",switchToNormalQuery:"Switch To Normal Query",switchToAdvancedQuery:"Switch To Advanced Query",isNull:"Is Null",isNotNull:"Is Not Null",previewImage:"Preview image",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"},superGrid:{columnConfig:"Column Config",pleaseSaveOrCancelEditingLine:"Please Save Or Cancel Editing Line {row} Data First",pleaseSaveLine:"Please Save Line {row} Data First",noNeedToSaveRow:"No Need To Save Row {row} Data",pleaseSetURLToSaveRowInformation:'Please set "URL to save row information"',lineSavedSuccessfully:"Line {row} Saved Successfully",theReturnValueOfTheBeforesaveCallbackMethodIsFalse:"The Return Value Of The Beforesave Callback Method Is False",lineNoNeedToUndoEdit:"Line {row} No Need To Undo Edit",lineCancelledSuccessfully:"Line {row} cancelled successfully",label:"Label",isShow:"Is Show",isExportable:"Is Exportable",recordLine:"Record line {row}",fileName:"File Name",deleteSuccessful:"Deleted successfully",index:"No.",searchConditionName:"Search Condition Name",pleaseInputSearchConditionName:"Please enter the name of the query criteria",saveCondition:"Save Condition",saveConditionTitle:"Save Condition",displayOrder:"Display Order",width:"Column Width",default:"Default",custom:"Custom",show:"Show",hidden:"Hidden",export:"Export",unExport:"Not Export",whetherToConfirmReset:"Are you sure you want to reset?",resetSuccessful:"Reset successfully",dragColumnOrderMessage:"Supports dragging to change column order",selectAll:"Select All",viewImage:"View Image",previewTitleWhenNotImg:"Non picture format, preview in other ways",refresh:"Refresh",open:"Open",fold:"Fold"},departmentTree:{},departmentTreeInline:{pleaseEnterDepartmentName:"Please Enter Department Name",name:"Department Name",code:"Department Code",removeDepartment:"Remove Department",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"},workgroupTree:{allTeamMembers:"All Team Members",name:"Workgroup Name",code:"Workgroup Code",removeWorkgroup:"Remove Workgroup"},workflowButton:{save:"Save",submit:"Submit",approve:"Approve",refuse:"Refuse",agreement:"Agree",oppose:"Opposition",kiken:"Abstention",get_back_button:"Retrieve",copy:"Copy",draw:"Draw",abandon_draw:"Give Up Draw",add_sign:"Additional Signature",remove_sign:"Reduction Of Signature",signoff:"Sign For",assign:"Hand over",assign_task:"Transfer",readed:"Readed",export_report:"Export Report"},workflowHistoryList:{specailText:"specail",index:"Index",taskName:"Task Name",operation:"Operation",opinion:"Opinion",processStart:"Process Start",processEnd:"Process End",process_start:"[{1}] process start",prcoess_end:"[{1}] process End",force_end_process:"{1}forced to end the process, and the task of [{2}] was canceled",history_jump:"Process {3} to [{1}], [{2}] task cancelled",history_back:"{1} returned to task,process returned to [{2}]",history_removesign:"{1} minus [{2}]",history_changetransactor_and_delegate:"{1} changed the handler [{2}] to [{3}], [{4}] delegated the task to [{5}]",history_changetransactor:"{1} changed handler [{2}] to [{3}]",history_addsign:"{1} sign [{2}]",history_addtransactor:"{1} add handler [{2}]",history_removetransactor:"{1} decrease handler [{2}]",history_delegate_and_assign:"{1} assigned tasks to [{2}], [{3}] delegated tasks to [{4}]",history_assign:"{1} assigned task to [{2}]",transfer:"{1} transferred to [{2}]",history_complete_transfer:"{1} execute [{2}] operation and canceled the task of other receivers [{3}]",history_delegate_receive:"{1} retracts the task entrusted to [{2}]",history_delegate:"{1} has delegated task [{2}] to [{3}]",history_quit_transfer:"{1} Resignation, has transferred task [{2}] to [{3}",history_change_job_transfer:"{1} Change job,has transferred task [{2}] to [{3}",commonButtonOperation:"{1} execute [{2}] operation",history_draw_task:"{1}received the task and cancelled the task of the candidate [{2}]",history_abandon_draw:"{1}gives up the task and restores the task of candidate [{2}]",toDoText:"Todo",operator:"Operator",operatorDept:"Operator Dept",operationTime:"Operation Time"},gateway:{timeout:"Interface call timeout",callFailed:"Interface call failed"},superNineGrid:{add:"Create"},fsUpload:{upload:"Upload",download:"Download",delete:"Delete",preview:"Preview",name:"Name",picture:"Picture",operating:"Operating",uploadSucceeded:"Upload succeeded",theNumberOfUploadsExceedsTheLimitTheLimitIs:"The number of uploads exceeds the limit. The limit is"},messageVideo:{attemptingToIdentify:"Attempting to identify",callingRearCamera:"Calling rear camera",identificationFailed:"Identification failed"}},u.a),m=f,h=o("f0d9"),g=o.n(h);function b(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 y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){v(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function v(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var _=y({imatrixUIPublicModel:{sure:"确定",cancel:"取消",allDepartments:"所有部门",allUsers:"所有用户",reset:"重置",to:"至",edit:"操作",clear:"清空",download:"下载",delete:"删除",preview:"预览",add:"增加",graphView:"图形视图",listView:"列表视图",fieldName:"字段名(*)",operator:"操作符",value:"值(*)",andOr:"并且/或者",whenTheVariableIsEmpty:"变量为空时",perhaps:"或者",also:"并且",greaterThan:"大于",lessThan:"小于",beEqualTo:"等于",notGreaterThan:"不大于",notLessThan:"不小于",notEqualTo:"不等于",contain:"包含",notIncluded:"不包含",laterThan:"晚于",earlierThan:"早于",noLaterThan:"不晚于",noEarlierThan:"不早于",ignore11:"忽略(1=1)",nonConformity:"不符合(1<>1)",switchToNormalQuery:"切换为普通查询",switchToAdvancedQuery:"切换为高级查询",isNull:"等于Null",isNotNull:"不等于Null",previewImage:"预览图片",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:"该按钮未绑定资源,请先绑定资源"},superGrid:{columnConfig:"字段配置",pleaseSaveOrCancelEditingLine:"请先保存或撤销编辑第 {row} 行数据",pleaseSaveLine:"请先保存第 {row} 行数据",noNeedToSaveRow:"无需保存第 {row} 行数据",pleaseSetURLToSaveRowInformation:"请设置“保存行信息的url”",lineSavedSuccessfully:"第 {row} 行保存成功",theReturnValueOfTheBeforesaveCallbackMethodIsFalse:"beforeSave回调方法返回值为false",lineNoNeedToUndoEdit:"第 {row} 行无需撤销编辑",lineCancelledSuccessfully:"第 {row} 行撤销成功",label:"字段名",isShow:"是否显示",isExportable:"是否导出",recordLine:"第 {row} 行记录",fileName:"文件名称",deleteSuccessful:"删除成功",index:"序号",searchConditionName:"查询条件名称",pleaseInputSearchConditionName:"请输入查询条件名称",saveCondition:"保存条件",saveConditionTitle:"保存查询条件",displayOrder:"显示顺序",width:"列宽",default:"默认",custom:"自定义",show:"显示",hidden:"隐藏",export:"导出",unExport:"不导出",whetherToConfirmReset:"是否确认重置?",resetSuccessful:"重置成功",dragColumnOrderMessage:"支持拖动改变列顺序",selectAll:"全选",viewImage:"查看图片",previewTitleWhenNotImg:"非图片格式,使用其它方式预览",refresh:"刷新",open:"展开",fold:"收起"},departmentTree:{},departmentTreeInline:{pleaseEnterDepartmentName:"请输入部门名称",name:"部门名称",code:"部门编码",removeDepartment:"移除部门",selectedDept:"已选部门",namePath:"名称路径"},departmentUserTree:{pleaseEnterUserInformation:"请输入用户信息",selectedPeople:"已选人员",searchFieldUserName:"姓名",searchFieldLoginName:"登录名",searchFieldEmail:"邮箱",searchFieldTelephone:"手机号",searchFieldJobNumber:"工号",searchFieldHonorificName:"尊称"},departmentUserTreeInline:{name:"姓名",department:"所属部门",branch:"所属分支",removeUser:"移除用户",email:"邮箱",loginName:"登录名"},workgroupTree:{allTeamMembers:"所有工作组人员",name:"工作组名称",code:"工作组编码",removeWorkgroup:"移除工作组"},workflowButton:{save:"暂存",submit:"提交",approve:"同意",refuse:"不同意",agreement:"赞成",oppose:"反对",kiken:"弃权",get_back_button:"取回",copy:"抄送",draw:"领取",abandon_draw:"放弃领取",add_sign:"加签",remove_sign:"减签",signoff:"签收",assign:"交办",assign_task:"转办",readed:"已阅",export_report:"导出报告"},workflowHistoryList:{specailText:"特",index:"序号",taskName:"环节名称",operation:"流转操作",opinion:"办理意见",processStart:"流程开始",processEnd:"流程结束",process_start:"[{1}]流程开始",prcoess_end:"[{1}]流程结束",force_end_process:"{1}强制结束了该流程,[{2}]的任务被取消",history_jump:"流程{3}到[{1}],[{2}]的任务被取消",history_back:"{1}退回任务,流程退回到[{2}]",history_removesign:"{1}给[{2}]减签",history_changetransactor_and_delegate:"{1}把办理人[{2}]更改成[{3})],{4}把任务委托给了[{5}]",history_changetransactor:"{1}把办理人[{2}]更改成[{3}]",history_addsign:"{1}给[{2}]加签",history_addtransactor:"{1}增加办理人[{2}]",history_removetransactor:"{1}减少办理人[{2}]",history_delegate_and_assign:"{1}把任务指派给了[{2}],[{3}]把任务委托给了[{4}]",history_assign:"{1}把任务指派给了[{2}]",transfer:"{1}移交给[{2}]",history_complete_transfer:"{1}执行了[{2}]操作,取消了其它接收人[{3}]的任务",history_delegate_receive:"{1}收回委托给[{2}]的任务",history_delegate:"{1}已把任务[{2}]委托给[{3}]",history_quit_transfer:"{1}离职,已把任务[{2}]移交给了[{3}]",history_change_job_transfer:"{1}换岗,已把任务[{2}]移交给了[{3}]",commonButtonOperation:"{1}执行了[{2}]操作",history_draw_task:"{1}领取了任务,取消了候选人[{2}]的任务",history_abandon_draw:"{1}放弃领取该任务,还原了候选人[{2}]的任务",toDoText:"待处理",operator:"操作人",operatorDept:"操作人部门",operationTime:"操作时间"},gateway:{timeout:"接口调用超时",callFailed:"接口调用失败"},superNineGrid:{add:"新建"},fsUpload:{upload:"上传",download:"下载",delete:"删除",preview:"预览",name:"名称",picture:"图片",operating:"操作",uploadSucceeded:"上传成功",theNumberOfUploadsExceedsTheLimitTheLimitIs:"上传数量超过限制,限制数量为"},messageVideo:{attemptingToIdentify:"正在尝试识别....",callingRearCamera:"正在调用后置摄像头...",identificationFailed:"识别失败"}},g.a),w=_;i.a.use(s["a"]);var C={en:m,cn:w},P=new s["a"]({locale:"cn",messages:C});r.a.i18n((function(e,t){return P.t(e,t)}));t["a"]=P},"5f7f":function(e,t,o){"use strict";o("3eb6")},"65f1":function(module,__webpack_exports__,__webpack_require__){"use strict";var _common_util__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8217"),imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("f6cd"),buttonEvents={clickButton:function clickButton(button,system,listCode,ids,tableName,entityName,myJsContent,entities,deleteLogicSetting,formNoRuleCode,importRuleCode,beanName,isWorkflow,uuid){var _this=this;if("undefined"!==typeof button.isExtension&&!0===button.isExtension){var param={listCode:listCode,ids:ids,tableName:tableName,entityName:entityName,beanName:beanName,entities:entities,listToolbarFormData:this.listToolbarFormData},judgeFlag=this.judgeDataNumber(button,ids,!1),entity,dataId;if(!judgeFlag)return;if(this.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),button.autoSetValueData&&(param.autoSetValueData=JSON.stringify(button.autoSetValueData)),button.logSetting&&(param.logSettingText=button.logSetting),button.taskMap&&(param.taskMap=button.taskMap),param.systemCode||(param.systemCode=system.code),formNoRuleCode&&(param.formNoRuleCode=formNoRuleCode),importRuleCode&&(param.importRuleCode=importRuleCode),this.additionalParamMap&&(param.additionalParamMap=this.additionalParamMap),button.jumpPage)return ids&&ids.length>0&&(dataId=ids[0]),entities&&entities.length>0&&(entity=entities[0]),void this.jumpToPage(button.jumpPage,system,dataId,entity,this.additionalParamMap,ids,button.code,this.pageCode);if(myJsContent&&null!==myJsContent&&""!==myJsContent){var buttonFun=eval("("+myJsContent+")"),request=buttonFun(this,param);request&&request.then((function(e){_this.refreshMyList(button.successOperation,button.isNeedValueMapping,entities),_this.$message({showClose:!0,type:"success",message:_this.$t("superPageMessage.successfulOperation")}),_this.callAfterClickButton(_this.listEvents,_this.listCode+"__"+button.code,{params:_this.additionalParamMap,entity:entities})}))}else if(button&&void 0!==button.isNeedValueMapping&&!0===button.isNeedValueMapping){var successOperation;button.successOperation&&(successOperation=button.successOperation),successOperation||(successOperation="closeWindow"),this.refreshMyList(successOperation,!0,entities)}else{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;button.templateFiles&&button.templateFiles.length>0?(templateUUID=button.templateFiles[0].templateUUID,templateShowPath=button.templateFiles[0].templateShowPath):(templateUUID=button.templateUUID,templateShowPath=button.templateShowPath),this.downloadTemplate(templateUUID,templateShowPath,tableName,importRuleCode,system,button.logSetting,listCode,entityName,beanName,button)}else if("export"===button.code)this.export(listCode,button.functionCode,uuid);else if("viewDetail"===button.code){var _dataId2;if(ids&&1===ids.length&&(_dataId2=ids[0]),!_dataId2)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.pleaseSelectRecord")});this.viewDetail(button.jumpPage,system,_dataId2,button,null)}else if("submit"===button.code||"agree"===button.code||"disagree"===button.code){if(!ids||0===ids.length)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.pleaseSelectRecord")});this.submitGrid(ids,system,button.restfulApiPath,tableName,entityName,myJsContent,button,formNoRuleCode,button.code,entities&&entities.length>0?entities[0]:null,this.additionalParamMap,entities,beanName,isWorkflow)}},judgeDataNumber:function(e,t,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,i=sessionStorage.getItem(this.pageCode+"-jumpMode");if(console.log("---update-value-closePage---jumpInfo=",i),i){var a=JSON.parse(i);n=a.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,i,a){this.jumpToPage(e,t,o,a,this.additionalParamMap,i,n.code,this.pageCode)},viewDetail:function(e,t,o,n,i){this.jumpToPage(e,t,o,i,this.additionalParamMap,null,n.code,this.pageCode),Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"openPageButton","viewDetail")},delete:function _delete(ids,system,restfulApiPath,tableName,entityName,myJsContent,button,deleteLogicSetting,entities,beanName,isWorkflowEntity){var _this2=this;this.$confirm(this.$t("superPageMessage.whetherToConfirmDeletion"),this.$t("superPageMessage.tips"),{confirmButtonText:this.$t("superPageMessage.sure"),cancelButtonText:this.$t("superPageMessage.cancel"),type:"warning"}).then((function(){var path=restfulApiPath;if(!1===system.standard&&!path){var baseUrl=_this2.getBaseUrl(system);path=baseUrl+"/dsc/commons/"+tableName}path=_this2.getRealRestApiPath(path,system);var param={ids:ids,functionCode:button.functionCode},request;if(entityName&&(param.entityName=entityName),beanName&&(param.beanName=beanName),deleteLogicSetting&&(param.deleteLogicSetting=JSON.stringify(deleteLogicSetting)),button.logSetting&&(param.logSettingText=button.logSetting),button.isSafeDelete&&(param.isSafeDelete=button.isSafeDelete),button.taskMap&&(param.taskMap=button.taskMap),param.systemCode||(param.systemCode=system.code),param.isWorkflowEntity=isWorkflowEntity,myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this2,param)}else request=_this2.$http.delete(path,{data:param});request&&(button.loading=!0,request.then((function(e){_this2.refreshMyList(button.successOperation),_this2.$message({showClose:!0,type:"success",message:_this2.$t("superPageMessage.successfulDelete")}),_this2.callAfterClickButton(_this2.listEvents,_this2.listCode+"__"+button.code,{params:_this2.additionalParamMap,entity:_this2.selections}),_this2.selections=[],button.loading=!1})).catch((function(e){button.loading=!1})))})).catch((function(){}))},downloadTemplate:function(e,t,o,n,i,a,r,s,l,u){!t&&u.templateI18nLable&&(t=u.templateI18nLable);var c="?1=1";e&&t&&"undefined"!==e&&"undefined"!==t&&"null"!==e&&"null"!==t?c+="&fileName="+encodeURI(e)+"&showName="+encodeURI(t):t&&(c+="&showName="+encodeURI(t)),a&&""!==a&&(c+="&logSettingText="+a),i&&i.code&&(c+="&systemCode="+i.code),n&&(c+="&importCode="+n),r&&(c+="&listCode="+r),s&&(c+="&entityName="+s),l&&(c+="&beanName="+l),u&&u.functionCode&&(c+="&functionCode="+u.functionCode),o&&(c+="&tableName="+o);var p=this.getBaseUrl(i);window.open(p+"/dsc/commons/download-files"+c)},doImportFinally:function doImportFinally(system,restfulApiPath,tableName,entityName,myJsContent,button,listViewImportDuplicate,fileObj,judgeHeavyList,formNoRuleCode,importRuleCode,listCode,beanName){var _this3=this,param=new FormData;param.append("multipartFile",fileObj),tableName&¶m.append("tableName",tableName),entityName&¶m.append("entityName",entityName),beanName&¶m.append("beanName",beanName),listViewImportDuplicate&¶m.append("importDuplicateRule",listViewImportDuplicate),judgeHeavyList&¶m.append("judgeHeavyList",JSON.stringify(judgeHeavyList)),formNoRuleCode&¶m.append("formNoRuleCode",formNoRuleCode),importRuleCode&¶m.append("importRuleCode",importRuleCode),listCode&¶m.append("listCode",listCode);var isWorkflowEntity=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["d"])(this.pageCode,tableName+"_isProcess");null!==isWorkflowEntity&&void 0!==isWorkflowEntity&¶m.append("isWorkflowEntity",isWorkflowEntity),button.functionCode&¶m.append("functionCode",button.functionCode),this.additionalParamMap&¶m.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){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){var n,i={};this.selections&&this.selections.length>0&&(i.data=this.selections);var a=Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["d"])(this.pageCode,"_pageName");a&&(n=a),this.$exportDataNew(i,n,e,t,o),this.callAfterClickButton(this.listEvents,this.listCode+"__export",{params:this.additionalParamMap})},submitGrid:function(e,t,o,n,i,a,r,s,l,u,c,p,d,f){var m=this,h="superPageMessage.whetherToConfirm"+this.upperFirstCase(l);this.$confirm(this.$t(h,{name:r.label}),this.$t("superPageMessage.tips"),{confirmButtonText:this.$t("superPageMessage.sure"),cancelButtonText:this.$t("superPageMessage.cancel"),type:"warning"}).then((function(){var l,u={ids:e,formNoRuleCode:s,tableName:n,functionCode:r.functionCode};m.judgeHeavyList&&(u.judgeHeavyList=JSON.stringify(m.judgeHeavyList)),r.dataConversionRule&&(u.dataConversionRule=r.dataConversionRule.join(",")),r.autoSetValueData&&(u.autoSetValueData=JSON.stringify(r.autoSetValueData)),r.logSetting&&(u.logSettingText=r.logSetting),u.systemCode||(u.systemCode=t.code),r.taskMap&&(u.taskMap=r.taskMap),i&&(u.entityName=i),d&&(u.beanName=d),c&&(u.additionalParamMap=c),u.isWorkflowEntity=f,"submit"===r.code?l="/dsc/commons/batch-submits":"agree"===r.code?l="/dsc/commons/batch-approves":"disagree"===r.code&&(l="/dsc/commons/batch-refuses");var p=m.getSaveFormRequestByParam(t,o,u,a,l);p&&(r.loading=!0,p.then((function(e){m.refreshMyList(r.successOperation),m.$message({showClose:!0,type:"success",message:m.$t("superPageMessage.successfulOperation")}),m.callAfterClickButton(m.listEvents,m.listCode+"__"+r.code,{params:m.additionalParamMap}),r.loading=!1})).catch((function(e){r.loading=!1})))})).catch((function(e){console.log(e)}))},getDataTypeMapRequest:function(e,t){var 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},"68fb":function(e,t,o){},"71b1":function(e,t,o){},"746a":function(e,t,o){"use strict";var n=Object.prototype.hasOwnProperty,i=o("9c59"),a={},r="§";function s(){if(l.supported){var e,t=window.name,o=0;for(e in a=t.charAt(0)===r?i.parse(t.slice(1)):{},a)n.call(a,e)&&o++;l.length=o}}var l=e.exports={length:0,getItem:function(e){return n.call(a,e)?a[e]:null},setItem:function(e,t){a[e]=t,window.name=i.stringify(a,r),l.length++},removeItem:function(e){delete a[e],window.name=i.stringify(a,r),l.length--},clear:function(){a={},window.name="",l.length=0},supported:function(){return"object"===typeof window&&"string"===typeof window.name}()};s()},"755a":function(e,t,o){"use strict";o("71b1")},"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,i,a,r){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(o)&&s.push("expires="+new Date(o).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(a)&&s.push("domain="+a),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},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 i=o("8bbf"),a=s(i),r=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,i=null,a=0,r=o.length;a<r;a++){var s=o[a];if(!n)break;if(a===r-1){i=n[s];break}n=n[s]}return i};function f(e,t,o){var n=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var i=t.split("."),a=0,r=i.length;a<r-1;++a){if(!n&&!o)break;var s=i[a];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:i[a],v:n?n[i[a]]: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!a.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!a.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!a.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,r.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var o=(0,r.isObject)(e),n=(0,r.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,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];t||(t=!0,window.requestAnimationFrame((function(n){e.apply(o,i),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,"f",(function(){return a})),o.d(t,"a",(function(){return r})),o.d(t,"c",(function(){return s})),o.d(t,"b",(function(){return l})),o.d(t,"e",(function(){return u}));var n=o("18ce");function i(e,t){var o=n["a"].get(e);if(o)return o[t]}function a(e,t,o){var i=n["a"].get(e);i||(i={},n["a"].set(e,i)),i[t]=o}function r(e,t){var o=n["a"].get(e);o&&o[t]&&delete o[t]}function s(e,t,o,n){return{_pageDevMode:e,_sourceButtonCode:o,_pathQuery:n}}function l(e){return e.options&&e.options.colWidth?e.options.colWidth:24}function u(e){for(var t=0;t<e.length;t++)for(var o=e[t],n=0;n<o.colList.length;n++){var i=o.colList[n];if(l(i)<24)return!0}return!1}},8345:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return executeExpression}));var _calculator_factory__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("be23"),_calculator_factory_wf__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("1d68"),_util__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("29b3");function executeExpression(e,t,o,n){var i=Object(_calculator_factory__WEBPACK_IMPORTED_MODULE_0__["a"])(n),a=new i(e,t,o);return a.result}function parseSubTablePermissionCondition(express,dataTypeMap,parentEntity,subEntity,additionalParamMap,task,contextParameterMap){var expressTrueVal="true";if(!express)return!0;if(expressTrueVal.toLowerCase()===express.trim())return!0;var SQUARE_BRACKETS_LEFT="[",SQUARE_BRACKETS_RIGHT="]",AND="&&",OR="||",temp=express,strs=splitExpression(express);console.log("分割后的原子表达式为:",strs);for(var result=!1,i=0;i<strs.length;i++){console.log("开始分析原子表达式:",strs[i]);var atomicExpress=strs[i];if(atomicExpress&&atomicExpress.trim()){var name=atomicExpress.substring(atomicExpress.indexOf(SQUARE_BRACKETS_LEFT)+SQUARE_BRACKETS_LEFT.length,atomicExpress.indexOf(SQUARE_BRACKETS_RIGHT)),dataType="TEXT";null!=dataTypeMap&&null!=dataTypeMap[name]&&(dataType=dataTypeMap[name]),result=parseFieldCondition(atomicExpress,dataType,parentEntity,subEntity,additionalParamMap,task,contextParameterMap),console.log("原子表达式:",atomicExpress,"的分析结果为 ",result),temp=temp.replace(atomicExpress.trim(),result+""),console.log("将原子表达式替换为它的结果后:",temp)}}return temp=temp.replace(/condition.operator.and/g,AND),temp=temp.replace(/condition.operator.or/g,OR),temp.trim().endsWith(OR)&&(temp=temp.substring(0,temp.lastIndexOf(OR))),temp.trim().endsWith(AND)&&(temp=temp.substring(0,temp.lastIndexOf(AND))),console.log("最终该流向的表达式为:",temp),eval("("+temp+")")}function parseFieldCondition(e,t,o,n,i,a,r){if(!e)return!1;var s="[",l="]";e=e.trim();var u=e.substring(e.indexOf(s)+s.length,e.indexOf(l)),c=e.substring(0,e.indexOf(" ")),p=e.substring(e.indexOf(" ")+1),d=p.substring(p.indexOf(" ")+1).trim(),f=Object(_util__WEBPACK_IMPORTED_MODULE_2__["d"])(d,o,i,r,null,n,a);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+""}},"854e":function(e,t,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},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,i,a,r,s,l,u,c,p,d,f,m,h,g,b,y,v,_,w,C,P){if("startInstance"===e||"update"===e)this.startInstance(t,o,n,i,a,s,l,u,c,p,d,f,h,g,e,v,_,w,C);else if("submitProcess"===e)this.submitProcess(t,o,n,i,a,s,l,u,c,p,d,f,m,h,g,e,v,_,w,C);else if("completeTask"===e)this.complateTask(t,o,n,r,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}},request;if(!1===system.standard&&(param={entity:model,tableName:tableName,completeTaskParam:{operationResult:operationResult,taskId:this.completeTaskParam.taskId},formViewCode:formViewCode,formViewVersion:formViewVersion,functionCode:this.permissionPrefix+".xxx"}),this.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(this.judgeHeavyList)),dataConversionRule&&(param.dataConversionRule=dataConversionRule.join(",")),autoSetValueData&&(param.autoSetValueData=JSON.stringify(autoSetValueData)),myEntityName&&(param.entityName=myEntityName),beanName&&(param.beanName=beanName),processEndlogicSetting&&(param.processEndLogicSetting=JSON.stringify(processEndlogicSetting)),logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),this.dataTypeMap&&(param.dataTypeMap=this.dataTypeMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),this.additionalParamMap&&(param.additionalParamMap=this.additionalParamMap),console.log("办理任务",taskMap),taskMap&&(param.taskMap=taskMap),console.log("办理任务param",param),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,i,a,r){if(e){e.entity&&(this.formData=e.entity,this.formNo=e.formNo,Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"_formData",this.formData));var s=e.completeTaskResult;if(s){var l=s.completeTaskTipType;if(l&&"MESSAGE"===l){var u=s.content;return this.$message({showClose:!0,type:"warning",message:u}),!1}}e.completeTaskParam&&(this.completeTaskParam=e.completeTaskParam,Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"_completeTaskParam",this.completeTaskParam),this.$set(this.formOptions,"fieldPermissions",this.completeTaskParam.fieldPermissions),this.$set(this.formOptions,"actionPermissions",this.completeTaskParam.actionPermissions),this.workflowButtonComponent=this.completeTaskParam.buttonComponent),Object(_common_util__WEBPACK_IMPORTED_MODULE_0__["f"])(this.pageCode,"_currentActivityName",e.taskName)}return t||(n&&this.callAfterClickButton(this.formEvents,this.formViewCode+"__"+n,{params:this.additionalParamMap,entity:this.formData,taskId:i,operationResult:a}),this.afterSuccessOperateInForm(o,this.formData,r,!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},formViewCode:formViewCode,formViewVersion:formViewVersion}),param.functionCode=functionCode||_this5.permissionPrefix+".xxx",assigneeId&&(param.assigneeId=assigneeId),_this5.judgeHeavyList&&(param.judgeHeavyList=JSON.stringify(_this5.judgeHeavyList)),nodeName&&nodeId&&(param.returnToNodeName=nodeName,param.returnToNodeId=nodeId),myEntityName&&(param.entityName=myEntityName),beanName&&(param.beanName=beanName),dataConversionRule&&(param.dataConversionRule=dataConversionRule.join(",")),autoSetValueData&&(param.autoSetValueData=JSON.stringify(autoSetValueData)),logSettingText&&(param.logSettingText=logSettingText),param.systemCode||(param.systemCode=system.code),_this5.dataTypeMap&&(param.dataTypeMap=_this5.dataTypeMap),_this5.ids&&ids.length>0&&(param.ids=ids),taskMap&&(param.taskMap=taskMap),needDeleteFileUuid&&(param.needDeleteFileUuid=needDeleteFileUuid),_this5.additionalParamMap&&(param.additionalParamMap=_this5.additionalParamMap),param.isBatchProcessing=isBatchProcessing,param.isWorkflowEntity=!0,myJsContent){var buttonFun=eval("("+myJsContent+")");request=buttonFun(_this5,param)}else request=_this5.$http.post(path,param);request&&request.then((function(e){var t=!0;e&&(t=_this5.dealCompleteTaskParam(e,!1,successOperation,buttonType,_this5.completeTaskParam.taskId,null,isNeedValueMapping)),!0===t&&_this5.$message({showClose:!0,type:"success",message:_this5.$t(successMessageTip)}),resolve(!0)}))}else _this5.$message({showClose:!0,type:"warning",message:_this5.$t("superPageMessage.requestPathEmpty")})}))},retrieve:function(e,t,o,n,i,a,r,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/retrieves"),this.transactTask(e,t,o,f,"superPageMessage.successfulRetrieve",!1,!1,n,i,a,r,s,null,null,null,null,l,u,null,null,c,p,null,d)},drawTask:function(e,t,o,n,i,a,r,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/draw-tasks"),this.transactTask(e,t,o,f,"superPageMessage.successfulDrawTask",!1,!1,n,i,a,r,s,null,null,null,null,l,u,null,null,c,p,null,d)},abandonReceive:function(e,t,o,n,i,a,r,s,l,u,c,p,d){var f;!1===e.standard&&(f=this.getBaseUrl(e)+"/dsc/workflow-commons/abandon-receives"),this.transactTask(e,t,o,f,"superPageMessage.successfulAbandonReceive",!1,!1,n,i,a,r,s,null,null,null,null,l,u,null,null,c,p,null,d)},assign:function(e,t,o,n,i,a,r,s,l,u,c){var p=this;if(l){var d;!1===e.standard&&(d=this.getBaseUrl(e)+"/dsc/workflow-commons/assigns");var f=l.id?l.id:l.ID?l.ID:null;this.transactTask(e,t,o,d,"superPageMessage.successfulAssign",!1,!1,n,i,a,r,s,null,null,null,f,this.logSetting,"assignTask",null,null,u,null,null,c).then((function(e){p.selectAssignUser=!1}))}else this.selectAssignUser=!1},returnToPreviousTask:function(e,t,o,n,i,a,r,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/return-to-previous-tasks"),this.transactTask(e,t,o,p,"superPageMessage.successfulReturnToPreviousTask",!1,!1,n,i,a,r,s,null,null,null,null,this.logSetting,"returnToPreviousTask",null,null,l,u,null,c)},getTaskInformitions:function(e,t,o){var n,i=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 a={entityName:t,beanName:o,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"};this.$http.post(n,a).then((function(e){i.taskInformitions=e,i.showTaskInformitions=!0})).catch((function(e){i.showTaskInformitions=!1}))}else this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},returnTaskTo:function(e,t,o,n,i,a,r,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,i,a,r,s,l,null,null,null,null,this.logSetting,"returnTaskTo",null,null,u,null,null,c)},endInstance:function(e,t,o,n,i,a,r,s,l,u,c){var p;!1===e.standard&&(p=this.getBaseUrl(e)+"/dsc/workflow-commons/end-instance"),this.transactTask(e,t,o,p,"superPageMessage.successfulEndInstance",!1,!1,n,i,a,r,s,null,null,null,null,this.logSetting,"endInstance",null,null,l,u,null,c)},submitForm:function(e,t,o,n,i,a,r,s,l,u,c,p,d,f,m,h,g,b,y,v,_){var w;!1===e.standard&&(w=this.getBaseUrl(e)+p),this.transactTask(e,t,o,w,"superPageMessage.successfulOperation",!1,!1,n,i,a,r,l,s,u,c,null,d,f,m,h,g,b,y,v,_)},addSigner:function(){this.isMulti=!0,this.selectAddSignerUser=!0},doAddSigner:function doAddSigner(selectNodeInfo,myJsContent,system,entityName,beanName,dataId,model,successOperation,isNeedValueMapping){var _this8=this;if(selectNodeInfo){var path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons/add-signers"),path=this.getRealRestApiPath(path,system),!path)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")});var requestParams={entityName:entityName,beanName:beanName,id:dataId,entity:model,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx",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(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,i){var a,r=this,s={};!1===e.standard?(a=this.getBaseUrl(e)+"/dsc/workflow-commons/get-remove-signers",n&&""!==n&&(s.logSettingText=n),s.entityName=t,s.beanName=i,s.systemCode=e.code,s.entity=o,s.additionalParamMap=this.additionalParamMap,s.tableName=this.tableName,s.functionCode=this.permissionPrefix+".xxx"):o.workflowInfo&&(s.entity=o),s.isWorkflowEntity=!0,a=this.getRealRestApiPath(a,e),a?this.$http.post(a,s).then((function(e){r.activeTasks=e,r.showRemoveSigner=!0})):this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")})},doRemoveSigners:function doRemoveSigners(selectRemoveTasks,myJsContent,system,entityName,beanName){var _this11=this;if(selectRemoveTasks){var path;if(!1===system.standard&&(path=this.getBaseUrl(system)+"/dsc/workflow-commons/remove-signers"),path=this.getRealRestApiPath(path,system),!path)return void this.$message({showClose:!0,type:"warning",message:this.$t("superPageMessage.requestPathEmpty")});var taskIds=selectRemoveTasks.map((function(e){return e.id?e.id:e.ID?e.ID:null})),request;if(myJsContent){var param={taskIds:taskIds,entityName:entityName,beanName:beanName,systemCode:system.code,additionalParamMap:this.additionalParamMap,tableName:this.tableName,functionCode:this.permissionPrefix+".xxx"},buttonFun=eval("("+myJsContent+")");request=buttonFun(this,param)}else{var requestParams={entityName:entityName,beanName:beanName,ids:taskIds,systemCode:system.code,additionalParamMap:this.additionalParamMap};request=this.$http.post(path,requestParams)}request&&request.then((function(){_this11.$message({showClose:!0,type:"success",message:_this11.$t("superPageMessage.successfulOperation")}),_this11.callAfterClickButton(_this11.formEvents,_this11.formViewCode+"__removeSigner",{params:_this11.additionalParamMap,entity:_this11.formData}),_this11.showRemoveSigner=!1}))}else this.showRemoveSigner=!1},assignTask:function(){this.isMulti=!1,this.selectAssignUser=!0},updateValues:function(e,t){Object(imatrix_ui_src_utils_jump_page_utils__WEBPACK_IMPORTED_MODULE_1__["b"])(e,t,this.jumpPageSetting,this.formData,this.tableName);var 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,i;t.templateFiles&&t.templateFiles.length>0?(n=t.templateFiles[0].templateUUID,i=t.templateFiles[0].templateShowPath):(n=t.templateUUID,i=t.templateShowPath);var a="?1=1";t&&t.functionCode&&(a+="&functionCode="+t.functionCode),o&&(a+="&tableName="+o),n&&i&&"undefined"!==n&&"undefined"!==i&&"null"!==n&&"null"!==i&&(a+="&fileName="+encodeURI(n)+"&showName="+encodeURI(i));var r=this.getBaseUrl(e);window.open(r+"/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 i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var o=this;e((function(e){o.reason||(o.reason=new n(e),t(o.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e,t=new i((function(t){e=t}));return{token:t,cancel:e}},e.exports=i},9598: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}));var n=o("bc95"),i=o.n(n),a=o("8bbf"),r=o.n(a);function s(e){if(void 0===r.a.prototype.projectModel||"developing.model"!==r.a.prototype.projectModel){var t=l(location.href);if(i.a.setItem("relativeUrl",t),t&&e){var o="",n=e.split("/");if(n.length>=3){var a=n[0]+"//"+n[2];o=e.substring(e.indexOf(a)+a.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,i=o.split("/");return i.length>=3&&(n=i[0]+"//"+i[2]+"/"),n}}function u(e){return r.a.prototype.projectModel&&"developing.model"===r.a.prototype.projectModel&&r.a.prototype.frontUrl?r.a.prototype.frontUrl:s(e)}function c(e){return r.a.prototype.projectModel&&"developing.model"===r.a.prototype.projectModel&&r.a.prototype.baseURL?r.a.prototype.baseURL:s(e)}},"99d1":function(e,t,o){"use strict";o("854e")},"9c59":function(e,t,o){"use strict";var n=Object.prototype.hasOwnProperty;function i(e){for(var t,o=/([^=?&]+)=?([^&]*)/g,n={};t=o.exec(e);n[decodeURIComponent(t[1])]=decodeURIComponent(t[2]));return n}function a(e,t){t=t||"";var o=[];for(var i in"string"!==typeof t&&(t="?"),e)n.call(e,i)&&o.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return o.length?t+o.join("&"):""}t.stringify=a,t.parse=i},"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),r=1;r<t;r++)o[r-1]=arguments[r];return 1===o.length&&"object"===n(o[0])&&(o=o[0]),o&&o.hasOwnProperty||(o={}),e.replace(a,(function(t,n,a,r){var s=void 0;return"{"===e[r-1]&&"}"===e[r+t.length]?a:(s=(0,i.hasOwn)(o,a)?o[a]:null,null===s||void 0===s?"":s)}))}return t};var i=o("8122"),a=/(%|)\{([0-9a-zA-Z_]+)\}/g},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 i=o("8bbf"),a=r(i);function r(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))||!a.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,i;
|
|
8
8
|
/*!
|
|
9
9
|
* JavaScript Cookie v2.2.1
|
|
10
10
|
* https://github.com/js-cookie/js-cookie
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-pages",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.54",
|
|
4
4
|
"description": "页面组件",
|
|
5
5
|
"main": "lib/super-pages.umd.min.js",
|
|
6
6
|
"keyword": "super-pages",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"eslint": "5.16.0",
|
|
28
28
|
"eslint-plugin-vue": "5.2.2",
|
|
29
29
|
"font-awesome": "^4.7.0",
|
|
30
|
-
"imatrix-ui": "2.8.
|
|
30
|
+
"imatrix-ui": "2.8.8",
|
|
31
31
|
"node-sass": "4.12.0",
|
|
32
32
|
"normalize.css": "^8.0.1",
|
|
33
33
|
"nprogress": "^0.2.0",
|