gcs-ui-lib 1.1.473 → 1.1.474
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.
package/lib/gcs-ui-lib.common.js
CHANGED
|
@@ -40473,10 +40473,9 @@ const validateQuota = config => {
|
|
|
40473
40473
|
errors,
|
|
40474
40474
|
success
|
|
40475
40475
|
} = data;
|
|
40476
|
-
debugger;
|
|
40477
40476
|
if (result && result !== validateMap.SUCCESS || errors.length) {
|
|
40478
40477
|
confirmDom.dialogVisible = true;
|
|
40479
|
-
confirmDom.result = result || success.length ? 'CONFIRM' : '';
|
|
40478
|
+
confirmDom.result = result || (success.length ? 'CONFIRM' : 'FAILURE');
|
|
40480
40479
|
confirmDom.tableData = errorDataList || errors;
|
|
40481
40480
|
} else {
|
|
40482
40481
|
resolve(success);
|
package/lib/gcs-ui-lib.umd.js
CHANGED
|
@@ -40482,10 +40482,9 @@ const validateQuota = config => {
|
|
|
40482
40482
|
errors,
|
|
40483
40483
|
success
|
|
40484
40484
|
} = data;
|
|
40485
|
-
debugger;
|
|
40486
40485
|
if (result && result !== validateMap.SUCCESS || errors.length) {
|
|
40487
40486
|
confirmDom.dialogVisible = true;
|
|
40488
|
-
confirmDom.result = result || success.length ? 'CONFIRM' : '';
|
|
40487
|
+
confirmDom.result = result || (success.length ? 'CONFIRM' : 'FAILURE');
|
|
40489
40488
|
confirmDom.tableData = errorDataList || errors;
|
|
40490
40489
|
} else {
|
|
40491
40490
|
resolve(success);
|
|
@@ -67,7 +67,7 @@ var t=e.defineLocale("uz",{months:"январ_феврал_март_апрел_
|
|
|
67
67
|
* (c) 2021 Evan You
|
|
68
68
|
* @license MIT
|
|
69
69
|
*/
|
|
70
|
-
function a(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:a});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[a].concat(e.init):a,n.call(this,e)}}function a(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"Store",(function(){return v})),n.d(t,"createLogger",(function(){return B})),n.d(t,"createNamespacedHelpers",(function(){return R})),n.d(t,"install",(function(){return A})),n.d(t,"mapActions",(function(){return P})),n.d(t,"mapGetters",(function(){return Y})),n.d(t,"mapMutations",(function(){return F})),n.d(t,"mapState",(function(){return E}));var r="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},i=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(e){i&&(e._devtoolHook=i,i.emit("vuex:init",e),i.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){i.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){i.emit("vuex:action",e,t)}),{prepend:!0}))}function o(e,t){return e.filter(t)[0]}function l(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=o(t,(function(t){return t.original===e}));if(n)return n.copy;var a=Array.isArray(e)?[]:{};return t.push({original:e,copy:a}),Object.keys(e).forEach((function(n){a[n]=l(e[n],t)})),a}function c(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function u(e){return null!==e&&"object"===typeof e}function d(e){return e&&"function"===typeof e.then}function f(e,t){return function(){return e(t)}}var h=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(e,t){this._children[e]=t},h.prototype.removeChild=function(e){delete this._children[e]},h.prototype.getChild=function(e){return this._children[e]},h.prototype.hasChild=function(e){return e in this._children},h.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)},h.prototype.forEachChild=function(e){c(this._children,e)},h.prototype.forEachGetter=function(e){this._rawModule.getters&&c(this._rawModule.getters,e)},h.prototype.forEachAction=function(e){this._rawModule.actions&&c(this._rawModule.actions,e)},h.prototype.forEachMutation=function(e){this._rawModule.mutations&&c(this._rawModule.mutations,e)},Object.defineProperties(h.prototype,p);var m=function(e){this.register([],e,!1)};function _(e,t,n){if(t.update(n),n.modules)for(var a in n.modules){if(!t.getChild(a))return void 0;_(e.concat(a),t.getChild(a),n.modules[a])}}m.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},m.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},m.prototype.update=function(e){_([],this.root,e)},m.prototype.register=function(e,t,n){var a=this;void 0===n&&(n=!0);var r=new h(t,n);if(0===e.length)this.root=r;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],r)}t.modules&&c(t.modules,(function(t,r){a.register(e.concat(r),t,n)}))},m.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],a=t.getChild(n);a&&a.runtime&&t.removeChild(n)},m.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var g;var v=function(e){var t=this;void 0===e&&(e={}),!g&&"undefined"!==typeof window&&window.Vue&&A(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var a=e.strict;void 0===a&&(a=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var r=this,i=this,o=i.dispatch,l=i.commit;this.dispatch=function(e,t){return o.call(r,e,t)},this.commit=function(e,t,n){return l.call(r,e,t,n)},this.strict=a;var c=this._modules.root.state;T(this,c,[],this._modules.root),k(this,c),n.forEach((function(e){return e(t)}));var u=void 0!==e.devtools?e.devtools:g.config.devtools;u&&s(this)},b={state:{configurable:!0}};function y(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function w(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;T(e,n,[],e._modules.root,!0),k(e,n,t)}function k(e,t,n){var a=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,i={};c(r,(function(t,n){i[n]=f(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var s=g.config.silent;g.config.silent=!0,e._vm=new g({data:{$$state:t},computed:i}),g.config.silent=s,e.strict&&C(e),a&&(n&&e._withCommit((function(){a._data.$$state=null})),g.nextTick((function(){return a.$destroy()})))}function T(e,t,n,a,r){var i=!n.length,s=e._modules.getNamespace(n);if(a.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=a),!i&&!r){var o=N(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){g.set(o,l,a.state)}))}var c=a.context=M(e,s,n);a.forEachMutation((function(t,n){var a=s+n;D(e,a,t,c)})),a.forEachAction((function(t,n){var a=t.root?n:s+n,r=t.handler||t;L(e,a,r,c)})),a.forEachGetter((function(t,n){var a=s+n;x(e,a,t,c)})),a.forEachChild((function(a,i){T(e,t,n.concat(i),a,r)}))}function M(e,t,n){var a=""===t,r={dispatch:a?e.dispatch:function(n,a,r){var i=O(n,a,r),s=i.payload,o=i.options,l=i.type;return o&&o.root||(l=t+l),e.dispatch(l,s)},commit:a?e.commit:function(n,a,r){var i=O(n,a,r),s=i.payload,o=i.options,l=i.type;o&&o.root||(l=t+l),e.commit(l,s,o)}};return Object.defineProperties(r,{getters:{get:a?function(){return e.getters}:function(){return S(e,t)}},state:{get:function(){return N(e.state,n)}}}),r}function S(e,t){if(!e._makeLocalGettersCache[t]){var n={},a=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,a)===t){var i=r.slice(a);Object.defineProperty(n,i,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function D(e,t,n,a){var r=e._mutations[t]||(e._mutations[t]=[]);r.push((function(t){n.call(e,a.state,t)}))}function L(e,t,n,a){var r=e._actions[t]||(e._actions[t]=[]);r.push((function(t){var r=n.call(e,{dispatch:a.dispatch,commit:a.commit,getters:a.getters,state:a.state,rootGetters:e.getters,rootState:e.state},t);return d(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}function x(e,t,n,a){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(a.state,a.getters,e.state,e.getters)})}function C(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function N(e,t){return t.reduce((function(e,t){return e[t]}),e)}function O(e,t,n){return u(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function A(e){g&&e===g||(g=e,a(g))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},v.prototype.commit=function(e,t,n){var a=this,r=O(e,t,n),i=r.type,s=r.payload,o=(r.options,{type:i,payload:s}),l=this._mutations[i];l&&(this._withCommit((function(){l.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(o,a.state)})))},v.prototype.dispatch=function(e,t){var n=this,a=O(e,t),r=a.type,i=a.payload,s={type:r,payload:i},o=this._actions[r];if(o){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,n.state)}))}catch(c){0}var l=o.length>1?Promise.all(o.map((function(e){return e(i)}))):o[0](i);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,n.state)}))}catch(c){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,n.state,e)}))}catch(c){0}t(e)}))}))}},v.prototype.subscribe=function(e,t){return y(e,this._subscribers,t)},v.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return y(n,this._actionSubscribers,t)},v.prototype.watch=function(e,t,n){var a=this;return this._watcherVM.$watch((function(){return e(a.state,a.getters)}),t,n)},v.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},v.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),T(this,this.state,e,this._modules.get(e),n.preserveState),k(this,this.state)},v.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=N(t.state,e.slice(0,-1));g.delete(n,e[e.length-1])})),w(this)},v.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},v.prototype.hotUpdate=function(e){this._modules.update(e),w(this,!0)},v.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(v.prototype,b);var E=$((function(e,t){var n={};return I(t).forEach((function(t){var a=t.key,r=t.val;n[a]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var a=H(this.$store,"mapState",e);if(!a)return;t=a.context.state,n=a.context.getters}return"function"===typeof r?r.call(this,t,n):t[r]},n[a].vuex=!0})),n})),F=$((function(e,t){var n={};return I(t).forEach((function(t){var a=t.key,r=t.val;n[a]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var a=this.$store.commit;if(e){var i=H(this.$store,"mapMutations",e);if(!i)return;a=i.context.commit}return"function"===typeof r?r.apply(this,[a].concat(t)):a.apply(this.$store,[r].concat(t))}})),n})),Y=$((function(e,t){var n={};return I(t).forEach((function(t){var a=t.key,r=t.val;r=e+r,n[a]=function(){if(!e||H(this.$store,"mapGetters",e))return this.$store.getters[r]},n[a].vuex=!0})),n})),P=$((function(e,t){var n={};return I(t).forEach((function(t){var a=t.key,r=t.val;n[a]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var a=this.$store.dispatch;if(e){var i=H(this.$store,"mapActions",e);if(!i)return;a=i.context.dispatch}return"function"===typeof r?r.apply(this,[a].concat(t)):a.apply(this.$store,[r].concat(t))}})),n})),R=function(e){return{mapState:E.bind(null,e),mapGetters:Y.bind(null,e),mapMutations:F.bind(null,e),mapActions:P.bind(null,e)}};function I(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)||u(e)}function $(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function H(e,t,n){var a=e._modulesNamespaceMap[n];return a}function B(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var a=e.transformer;void 0===a&&(a=function(e){return e});var r=e.mutationTransformer;void 0===r&&(r=function(e){return e});var i=e.actionFilter;void 0===i&&(i=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var o=e.logMutations;void 0===o&&(o=!0);var c=e.logActions;void 0===c&&(c=!0);var u=e.logger;return void 0===u&&(u=console),function(e){var d=l(e.state);"undefined"!==typeof u&&(o&&e.subscribe((function(e,i){var s=l(i);if(n(e,d,s)){var o=z(),c=r(e),f="mutation "+e.type+o;U(u,f,t),u.log("%c prev state","color: #9E9E9E; font-weight: bold",a(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",a(s)),W(u)}d=s})),c&&e.subscribeAction((function(e,n){if(i(e,n)){var a=z(),r=s(e),o="action "+e.type+a;U(u,o,t),u.log("%c action","color: #03A9F4; font-weight: bold",r),W(u)}})))}}function U(e,t,n){var a=n?e.groupCollapsed:e.group;try{a.call(e,t)}catch(r){e.log(t)}}function W(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function z(){var e=new Date;return" @ "+G(e.getHours(),2)+":"+G(e.getMinutes(),2)+":"+G(e.getSeconds(),2)+"."+G(e.getMilliseconds(),3)}function V(e,t){return new Array(t+1).join(e)}function G(e,t){return V("0",t-e.toString().length)+e}var K={Store:v,install:A,version:"3.6.2",mapState:E,mapMutations:F,mapGetters:Y,mapActions:P,createNamespacedHelpers:R,createLogger:B};t["default"]=K}.call(this,n("c8ba"))},"2f7b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeResizeListener=t.addResizeListener=void 0;var a=i(n("6dd8")),r=n("9619");function i(e){return e&&e.__esModule?e:{default:e}}const s="undefined"===typeof window,o=function(e){for(let t of e){const e=t.target.__resizeListeners__||[];e.length&&e.forEach(e=>{e()})}},l=function(e,t){s||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new a.default((0,r.debounce)(16,o)),e.__ro__.observe(e)),e.__resizeListeners__.push(t))};t.addResizeListener=l;const c=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())};t.removeResizeListener=c},"301f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-input",{directives:[{name:"title",rawName:"v-title"}],key:e.items.prop,staticClass:"input-w",attrs:{clearable:"","show-overflow-tooltip":!0,maxlength:e.$attrs.maxlength?e.$attrs.maxlength:64,placeholder:e._f("$l")(e.$attrs.placeholder?e.$attrs.placeholder:"请输入")},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}})},t.staticRenderFns=[]},"30b5":function(e,t,n){"use strict";var a=n("c532");function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(a.isURLSearchParams(t))i=t.toString();else{var s=[];a.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(a.isArray(e)?t+="[]":e=[e],a.forEach(e,(function(e){a.isDate(e)?e=e.toISOString():a.isObject(e)&&(e=JSON.stringify(e)),s.push(r(t)+"="+r(e))})))})),i=s.join("&")}if(i){var o=e.indexOf("#");-1!==o&&(e=e.slice(0,o)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},3131:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cacheAdapterEnhancer=o;a(n("4328"));function a(e){return e&&e.__esModule?e:{default:e}}const r={data:{},set(e,t,n){this.data[e]={maxAge:n||0,value:t,now:Date.now()}},get(e){const t=this.data[e];if(!t)return null;const n=Date.now()-t.now>t.maxAge;return n&&this.delete(e),n?null:t.value},delete(e){return delete this.data[e]},clear(){this.data={}}};function i(e){const{method:t,url:n,params:a,data:r}=e;return[t,n,JSON.stringify(a),JSON.stringify(r)].join("&")}function s(e){return!!(e.set&&e.get&&e.delete&&e.clear&&"function"===typeof e.get&&"function"===typeof e.set&&"function"===typeof e.delete&&"function"===typeof e.clear)}function o(e,t){const{maxAge:n,enabledByDefault:a=!0,cacheFlag:o="cache",defaultCache:l=r}=t;return t=>{const{url:r,method:c,params:u,forceUpdate:d}=t;let f=void 0!==t[o]&&null!==t[o]?t[o]:a;if(f){const a=s(f)?f:l;let r=i(t),o=a.get(r);return!o||d?(o=(async()=>{try{return await e(t)}catch(n){throw a.delete(r),n}})(),a.set(r,o,n),o):o}return e(t)}}},3181:function(e,t,n){"use strict";n.r(t);var a=n("1435"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},"31f1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-select",e._g(e._b({staticClass:"input-w",attrs:{placeholder:e._f("$l")("请选择"),multiple:e.items.multiple||!1,filterable:"","collapse-tags":"",clearable:""},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}},"el-select",e.$attrs,!1),e.$listeners),e._l(e._options,(function(n){return t("el-option",{key:n.label,attrs:{label:e._f("$l")(n.label),value:n.label}})})),1)},t.staticRenderFns=[]},"320c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={name:"urlLinkInput",props:{value:{type:String,default:""},readOnly:{type:Boolean,default:!0},type:{type:String,default:""},canEditTypes:{type:Array,default:()=>[]}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}},mounted(){},methods:{openNewPage(){console.log("跳转到",this._value),this._value&&window.open(this._value)}}}},3211:function(e,t,n){"use strict";n.r(t);var a=n("0f69"),r=n("4397");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var s=n("2877"),o=Object(s["a"])(r["default"],a["render"],a["staticRenderFns"],!1,null,null,null);t["default"]=o.exports},3235:function(e,t,n){"use strict";n.r(t);var a=n("a5f3"),r=n("6615");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var s=n("2877"),o=Object(s["a"])(r["default"],a["render"],a["staticRenderFns"],!1,null,null,null);t["default"]=o.exports},"32db":function(e,t,n){"use strict";var a=n("8377");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},"330c":function(e,t,n){"use strict";n.r(t);var a=n("20bc"),r=n("7108");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var s=n("2877"),o=Object(s["a"])(r["default"],a["render"],a["staticRenderFns"],!1,null,null,null);t["default"]=o.exports},3391:function(e,t,n){"use strict";n.r(t);var a=n("e4aa"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},"33f3":function(e,t,n){"use strict";var a=n("00ce"),r=n("3bbf"),i=n("2714"),s=n("f213"),o=n("0d25"),l=a("%WeakMap%",!0),c=r("WeakMap.prototype.get",!0),u=r("WeakMap.prototype.set",!0),d=r("WeakMap.prototype.has",!0),f=r("WeakMap.prototype.delete",!0);e.exports=l?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new o("Side channel does not contain "+i(e))},delete:function(n){if(l&&n&&("object"===typeof n||"function"===typeof n)){if(e)return f(e,n)}else if(s&&t)return t["delete"](n);return!1},get:function(n){return l&&n&&("object"===typeof n||"function"===typeof n)&&e?c(e,n):t&&t.get(n)},has:function(n){return l&&n&&("object"===typeof n||"function"===typeof n)&&e?d(e,n):!!t&&t.has(n)},set:function(n,a){l&&n&&("object"===typeof n||"function"===typeof n)?(e||(e=new l),u(e,n,a)):s&&(t||(t=s()),t.set(n,a))}};return n}:s},3414:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateQuota=t.default=void 0;var a=s(n("8bbf")),r=n("2d0e"),i=s(n("a2ca"));function s(e){return e&&e.__esModule?e:{default:e}}const o=a.default.extend(i.default),l={FAILURE:"FAILURE",CONFIRM:"CONFIRM",SUCCESS:"SUCCESS"},c=e=>new Promise(async(t,n)=>{try{const a=new o({el:document.createElement("div")}),{url:i,payload:s}=e,{data:c={result:l.SUCCESS,errorDataList:[],errors:[],success:[]}}=await r.axios.post(i,s),{result:u,errorDataList:d,errors:f,success:h}=c;u&&u!==l.SUCCESS||f.length?(a.dialogVisible=!0,a.result=u||h.length?"CONFIRM":"",a.tableData=d||f):t(h),document.body.appendChild(a.$el),a.config=e,a.handleContinue=function(){t(h),a.dialogVisible=!1},a.handleCancel=function(){n("cancel"),a.dialogVisible=!1}}catch(a){n(a)}});t.validateQuota=c,i.default.install=function(e){e.prototype.$validateQuota=c,e.component(i.default.name,i.default)};t.default=i.default},"34a5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={name:"SwitchItem",props:{value:{type:[String,Number],default:1}},computed:{_value:{get(){return this.$emit("update:label",1==this.value?this.$l("是"):this.$l("否")),this.value},set(e){this.$emit("update:label",1==e?this.$l("是"):this.$l("否")),this.$emit("input",e)}}}}},3654:function(e,t,n){"use strict";var a=n("59ec");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},3667:function(e,t,n){"use strict";var a=n("7f01");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},3751:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=t.isDefined=void 0,t.isHtmlElement=o,t.isObject=s,t.isString=i,t.isUndefined=void 0;var a=r(n("8bbf"));function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return"[object String]"===Object.prototype.toString.call(e)}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function o(e){return e&&e.nodeType===Node.ELEMENT_NODE}let l=e=>{var t={};return e&&"[object Function]"===t.toString.call(e)};t.isFunction=l,"object"===typeof Int8Array||!a.default.prototype.$isServer&&"function"===typeof document.childNodes||(t.isFunction=l=function(e){return"function"===typeof e||!1});const c=e=>void 0===e;t.isUndefined=c;const u=e=>void 0!==e&&null!==e;t.isDefined=u},"37dd":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("N20InputSearch",e._b({directives:[{name:"title",rawName:"v-title"}],key:e.items.prop,staticClass:"input-w",attrs:{clearable:"",select:JSON.parse(e.items.api.reqKeys).isSelect,"show-overflow-tooltip":!0,maxlength:e.$attrs.maxlength?e.$attrs.maxlength:64,placeholder:e._f("$l")(e.$attrs.placeholder?e.$attrs.placeholder:JSON.parse(e.items.api.reqKeys).isSelect?"请选择":"请输入"),"default-first-option":"","suffix-icon":"el-icon-zoom-in"},on:{search:e.showDialog,change:e.changeFn,blur:e.changValue,clear:e.clearFn},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}},"N20InputSearch",e.$attrs,!1),e._l(e.curOptions,(function(n){return t("el-option",{directives:[{name:"title",rawName:"v-title",value:n.label,expression:"item.label"}],key:n.label+n.value+e.items.prop,staticClass:"text-ellipsis",style:{"max-width":e.$attrs["show-overflow-tooltip"]?"224px":"none"},attrs:{"show-overflow-tooltip":!0,label:e._f("$l")(n.label),value:n.value}},[e._v(" "+e._s(e._f("$l")(e.labelKey?n._label:n.label))+" ")])})),1),e.visible?t(JSON.parse(e.items.api.reqKeys).dialogName,{tag:"component",attrs:{visible:e.visible,formData:e.formData,fieldsItem:e.items},on:{"update:visible":function(t){e.visible=t},change:e.changeData}}):e._e()],1)},t.staticRenderFns=[]},"37fd":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=f(n("f6f4")),r=f(n("e5ad")),i=f(n("2d4c")),s=f(n("b775")),o=n("2934"),l=f(n("108b")),c=f(n("a555")),u=f(n("02c2")),d=f(n("55d7"));function f(e){return e&&e.__esModule?e:{default:e}}t.default={name:"SelectTreeUnitForm",components:{Tree:i.default,ElSelect:r.default},mixins:[a.default],inject:{elForm:{default:""},elFormItem:{default:""}},props:{showAllCheck:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},selectFirst:{type:Boolean,default:!1},url:{type:String,default:"/api/nstc-gtcp/1.0/fundTree"},listUrl:{type:String,default:"/api/nstc-gtcp/1.0/fundTree/list"},isUnitDataScope:{type:String,default:"0"},seachObj:{type:Object,default:()=>({})},multiple:{type:Boolean,default:!1},defaultSelectAll:{type:Boolean,default:!1},defaultSelect:{type:Array,default:()=>[]},upDateValue:{type:Array,default:()=>[]},searchUnitNo:{type:String,default:""},moduleNo:{type:String,default:"bill-group"},relaNo:{type:String,default:""},value:{type:[String,Number,Array],default:()=>[]},collapseTags:{type:Boolean,default:!0},nodeKey:{type:String,default:"id"},placeholder:{type:String,default:"请选择"},defineProps:{type:Object,default:()=>({label:"unitName",value:"unitNo",children:"children",isLeaf:"isLeaf"})}},data(){return{mounseInTree:!1,mounseInList:!1,loading:!1,isList:!1,isLazy:!0,data:[],show:!1,list:[],expandedKeys:[],wCdList:[],checkD:!1,queryType:"0",hasQueryAll:!1,selectData:[],selectDataCache:[],valueShow:[],searchKey:"",timer:null,onlyUnit:!1,defaultExpandedKeys:[],page:{current:1,size:-1},treeSelectImg:l.default,treeUnSelectImg:c.default,listSelectImg:u.default,listUnSelectImg:d.default}},computed:{vTitle(){let e=this.valueShow.length;return this.multiple?e?this.valueShow.slice(0,15):"":e?this.valueShow:""},tagDisabled(){return this.disabled||(this.elForm||{}).disabled},valueC:{get(){return this.value},set(e){this.$emit("input",e),this.$emit("dataChange",this.selectData)}}},async mounted(){if(this.url){if(this.defaultSelectAll)return this.checkD=!0,await this.getCommonConfig(),this.isList&&await this.initList(),this.handleCheckBox(!0),"end";this.defaultSelect&&Array.isArray(this.defaultSelect)&&this.defaultSelect.length>0&&(this.selectData=[...this.defaultSelect],this.valueShow=this.defaultSelect.map(e=>e.unitName)),await this.getCommonConfig(),this.isList?this.initList():this.init()}else this.$message.error("请传入单位树请求地址!")},watch:{value:{handler(e){e||this.clearFn()}}},methods:{changeType(e){"tree"==e&&this.isList?(this.data=[],this.init(e),this.isList=!1):"list"!=e||this.isList||(this.data=[],this.initList(e),this.isList=!0)},async getCommonConfig(e){let t=await(0,o.getCommonConfig)();t&&t.length>0&&t.forEach(e=>{e.configGroupName.includes("单位树")&&e.configs&&e.configs.length>0&&e.configs.forEach(e=>{e.configGroupName.includes("单位树")&&("1"==e.configValue?this.isList=!0:this.isList=!1)})})},selecetClick(e){this.$refs.tree.showDropMenu=null},init(e){if(this.$refs.tree.store.lazy=!0,this.searchUnitNo)return this.getUnitTree("6"),"end";new Promise(e=>{this.getTreeData("1",{resolve:e})}).then(()=>{let t=[],n=[];if(this.flatData(this.data,n),this.selectData.forEach((e,a)=>{n.forEach(n=>{n.unitNo==e.unitNo&&(t.push(n),this.selectData[a]=n)})}),t=t.filter(e=>!e.disabled),this.selectFirst&&!e&&t.length<1){let e=null,n=[];this.flatData(this.data,n);for(let t=0;t<n.length;t++)if(!n[t].disabled){e=n[t];break}e&&t.push(e)}if(this.$refs.tree.setCheckedNodes(t),this.selectData=t,!e){this.valueShow=this.selectData.map(e=>e.unitName);let e=this.selectData.map(e=>e.unitNo);this.$emit("input",this.multiple?e:e[0]),this.$emit("dataChange",this.selectData)}}).finally(()=>{this.$emit("loaded")})},getTreeData(e,t){this.loading=!0;let n="?moduleNo="+this.moduleNo+"&isUnitDataScope="+this.isUnitDataScope;if(e&&(n+="&queryType="+e),t&&["2","3","4","6"].includes(e)&&(n+="&unitNo="+t.unitNo,!t.unitNo))return"end";for(let r in this.seachObj)n+=`&${r}=${this.seachObj[r]}`;["1","6"].includes(e)&&this.searchKey&&(n+="&unitNameOrNoLike="+this.searchKey);const a={relaNo:this.relaNo};(0,s.default)({url:this.url+n,method:"GET",cache:!0,headers:a}).then(n=>{let a=n.fundTreeVoList;if(this.loading=!1,a&&a.length>0&&a.forEach(e=>{e.isLeaf=!Boolean(e.hasChild)}),["0","1","6"].includes(e))if(this.data=a,["1","6"].includes(e)&&(this.$refs.tree.$refs.tree.store.lazy=!1,this.hasQueryAll=!0,this.$nextTick(()=>{this.selectData.length>0&&(this.selectData=this.selectData.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(this.selectData))})),t.expandFlag)t.resolve(n.firstAuthUnit);else if(n.onlyUnit){this.onlyUnit=!0,this.data=[n.onlyUnit],this.selectData=[n.onlyUnit],this.$refs.tree.setCheckedNodes(this.selectData);let e=this.selectData.map(e=>e.unitNo);this.valueShow=this.selectData.map(e=>e.unitName),this.$emit("input",this.multiple?e:e[0]),this.$emit("dataChange",this.selectData)}else t.resolve(a);if("2"==e&&t){if(!t.type||"direct"!=t.type)return t.resolve(a),this.selectData.forEach((e,t)=>{a.forEach(n=>{e.unitNo==n.unitNo&&(this.selectData[t]=n)})}),void this.$nextTick(()=>{this.selectData.length>0&&(this.selectData=this.selectData.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(this.selectData))});t.resolve(a)}("4"==e&&t||"3"==e&&t)&&t.resolve(a)})},debounce(e,t){let n=this;clearTimeout(n.timer),n.timer=setTimeout(()=>{e.apply(n)},t)},searchTree(e){this.isList?(e||(this.selectData=[]),this.checkD=!1,this.$refs.tree.setCheckedNodes([]),this.getListData("search")):(this.checkD=!1,e||(this.selectData=[]),this.$refs.tree.setCheckedNodes([]),new Promise(e=>{this.searchUnitNo?this.getTreeData("6",{unitNo:this.searchUnitNo,resolve:e,expandFlag:!0}):this.getTreeData("1",{resolve:e,expandFlag:!0})}).then(e=>{e&&(this.defaultExpandedKeys=[e.id])}))},outClick(){},clearFn(){this.checkD=!1,this.selectData=[],this.valueShow=[],this.$refs.tree.setCheckedNodes([]),this.$emit("input",this.multiple?[]:""),this.$emit("dataChange",this.selectData,"clear")},loadNode(e,t){this.getTreeData("2",{unitNo:e.data.unitNo,resolve:t})},check(e,{checkedKeys:t}){if(t.includes(e.id)){this.selectData.push(e);let t={},n=[];this.selectData.forEach(e=>{t[e.unitNo+""]||(t[e.unitNo+""]=!0,n.push(e))}),this.selectData=n}else{let t=this.selectData.filter(t=>t.unitNo!=e.unitNo);this.selectData=t}},showOpt(e){this.$refs.tree.showDropMenu=null,e?this.selectDataCache=JSON.parse(JSON.stringify(this.selectData)):(this.selectDataCache=[],this.searchKey&&(this.searchKey="",this.searchTree("cache")))},getUnitTree(e){new Promise(e=>{this.getTreeData("6",{unitNo:this.searchUnitNo,resolve:e})}).then(()=>{})},handleCheckBox(e){if(e)if(this.hasQueryAll){let e=[];this.flatData(this.data,e),e=e.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(e),this.selectData=e,this.valueShow=e.map(e=>e.unitName),this.$emit("dataChange",this.selectData)}else{if(this.isList)return;new Promise(e=>{this.getTreeData("1",{resolve:e})}).then(()=>{this.$nextTick(()=>{let e=[];this.flatData(this.data,e),e=e.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(e),this.selectData=e,this.valueShow=e.map(e=>e.unitName),this.$emit("dataChange",this.selectData)})})}else this.$refs.tree.setCheckedNodes([]),this.selectData=[]},checkedBro(e){this.$refs.selectTreeUnit.handleClose(!1),new Promise(t=>{this.getTreeData("4",{unitNo:e.unitNo,resolve:t})}).then(e=>{this.selectData=this.selectData.concat(e);let t={},n=[];this.selectData.forEach(e=>{t[e.unitNo+""]||(t[e.unitNo+""]=!0,n.push(e))}),this.selectData=n,this.selectData=this.selectData.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(this.selectData);this.$refs.tree.getCheckedKeys()})},checkedChild(e){this.$refs.selectTreeUnit.handleClose(!1),"cancel"===e.type?new Promise(t=>{this.getTreeData("3",{unitNo:e.data.unitNo,resolve:t})}).then(e=>{if(!e||e.length<1)return"end";let t=[];this.flatData(e,t);let n=t.map(e=>e.id);this.selectData=this.selectData.filter(e=>!n.includes(e.id)),this.$refs.tree.setCheckedNodes(this.selectData)}):"all"==e.type?new Promise(t=>{this.getTreeData("3",{unitNo:e.data.unitNo,resolve:t})}).then(e=>{if(!e||e.length<1)return"end";let t=[];this.flatData(e,t),this.selectData=this.selectData.concat(t);let n={},a=[];this.selectData.forEach(e=>{n[e.unitNo+""]||(n[e.unitNo+""]=!0,a.push(e))}),this.selectData=a,this.selectData=this.selectData.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(this.selectData)}):new Promise(t=>{this.getTreeData("2",{unitNo:e.data.unitNo,resolve:t,type:"direct"})}).then(e=>{if(!e||e.length<1)return"end";let t=[];this.flatData(e,t),this.selectData=this.selectData.concat(t);let n={},a=[];this.selectData.forEach(e=>{n[e.unitNo+""]||(n[e.unitNo+""]=!0,a.push(e))}),this.selectData=a,this.selectData=this.selectData.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(this.selectData)})},confirm(){if(this.selectData.length<1)return void this.$message.warning(this.$t("common_a_0005"));this.selectData=this.selectData.filter(e=>!e.disabled),this.valueShow=this.selectData.map(e=>e.unitName);let e=this.selectData.map(e=>e.unitNo);this.$emit("input",this.multiple?e:e[0]),this.$emit("dataChange",this.selectData,"confirm"),this.$refs.selectTreeUnit.blur()},cancel(){this.selectData=JSON.parse(JSON.stringify(this.selectDataCache)),this.selectData=this.selectData.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(this.selectData),this.$refs.selectTreeUnit.blur()},flatData(e,t){e&&e.forEach(e=>{t.push(e),e&&e.children&&Array.isArray(e.children)&&e.children.length>0&&this.flatData(e.children,t)})},nodeClick(e){this.$refs.tree.showDropMenu=null,this.multiple||e.disabled||(this.selectData=[e],this.valueShow=e.unitName,this.$emit("input",e.unitNo),this.$emit("dataChange",this.selectData,"click"),this.$refs.selectTreeUnit.blur())},upDateShowValue(e){let t=JSON.stringify(this.selectData)===JSON.stringify(this.upDateValue);if(this.upDateValue&&Array.isArray(this.upDateValue)&&!t){this.selectData=[...this.upDateValue];let e=this.upDateValue.map(e=>e.unitNo);this.valueShow=this.upDateValue.map(e=>e.unitName),this.$emit("input",this.multiple?e:e[0]),this.$emit("dataChange",this.selectData)}e&&(this.isList?(this.$refs.tree.setCheckedNodes([]),this.$refs.tree.setCheckedNodes(this.selectData)):new Promise(e=>{this.getTreeData("1",{resolve:e})}).then(()=>{let e=[];const t=[];this.flatData(this.data,t),this.selectData.forEach((n,a)=>{t.forEach(t=>{t.unitNo==n.unitNo&&(e.push(t),this.selectData[a]=t)})}),e=e.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(e)}))},async initList(){await this.getListData()},async getListData(e){this.loading=!0,this.$refs.tree.store.lazy=!1;let t={current:this.page.current,size:this.page.size,...this.seachObj,data:{...this.seachObj,moduleNo:this.moduleNo,isUnitDataScope:this.isUnitDataScope,unitNameOrNoLike:this.searchKey}};const n={relaNo:this.relaNo};let a=await(0,s.default)({url:this.listUrl,method:"POST",data:t,headers:n,cache:!0});if(this.loading=!1,a.records&&a.records.length>0?(a.records.forEach(e=>{e.children=null}),this.data=a.records):this.data=[],this.defaultSelectAll&&!this.selectData.length){let t=JSON.parse(JSON.stringify(this.data));return this.selectData=t.filter(e=>!e.disabled),void this.setCheck(e)}this.setId(),this.selectFirst&&!e&&this.selectData.length<1&&this.data.length>0&&(this.selectData=[this.data[0]]),this.setCheck(e)},setId(){this.selectData.forEach((e,t)=>{this.data.forEach(n=>{n.unitNo==e.unitNo&&(this.selectData[t]=n)})})},setCheck(e){this.valueShow=this.selectData.map(e=>e.unitName);let t=this.selectData.map(e=>e.unitNo);e||(this.$emit("input",this.multiple?t:t[0]),this.$emit("dataChange",this.selectData)),this.$nextTick(()=>{this.$refs.tree.setCheckedNodes(this.selectData)}),this.$emit("loaded")}}}},"387e":function(e,t,n){"use strict";var a=n("7f64");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,a,r){return e.config=t,n&&(e.code=n),e.request=a,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},3880:function(e,t,n){"use strict";n.r(t);var a=n("d077"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},3883:function(e,t,n){"use strict";var a=n("d9b1");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},3886:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
70
|
+
function a(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:a});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[a].concat(e.init):a,n.call(this,e)}}function a(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"Store",(function(){return v})),n.d(t,"createLogger",(function(){return B})),n.d(t,"createNamespacedHelpers",(function(){return R})),n.d(t,"install",(function(){return A})),n.d(t,"mapActions",(function(){return P})),n.d(t,"mapGetters",(function(){return Y})),n.d(t,"mapMutations",(function(){return F})),n.d(t,"mapState",(function(){return E}));var r="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},i=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(e){i&&(e._devtoolHook=i,i.emit("vuex:init",e),i.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){i.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){i.emit("vuex:action",e,t)}),{prepend:!0}))}function o(e,t){return e.filter(t)[0]}function l(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=o(t,(function(t){return t.original===e}));if(n)return n.copy;var a=Array.isArray(e)?[]:{};return t.push({original:e,copy:a}),Object.keys(e).forEach((function(n){a[n]=l(e[n],t)})),a}function c(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function u(e){return null!==e&&"object"===typeof e}function d(e){return e&&"function"===typeof e.then}function f(e,t){return function(){return e(t)}}var h=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(e,t){this._children[e]=t},h.prototype.removeChild=function(e){delete this._children[e]},h.prototype.getChild=function(e){return this._children[e]},h.prototype.hasChild=function(e){return e in this._children},h.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)},h.prototype.forEachChild=function(e){c(this._children,e)},h.prototype.forEachGetter=function(e){this._rawModule.getters&&c(this._rawModule.getters,e)},h.prototype.forEachAction=function(e){this._rawModule.actions&&c(this._rawModule.actions,e)},h.prototype.forEachMutation=function(e){this._rawModule.mutations&&c(this._rawModule.mutations,e)},Object.defineProperties(h.prototype,p);var m=function(e){this.register([],e,!1)};function _(e,t,n){if(t.update(n),n.modules)for(var a in n.modules){if(!t.getChild(a))return void 0;_(e.concat(a),t.getChild(a),n.modules[a])}}m.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},m.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},m.prototype.update=function(e){_([],this.root,e)},m.prototype.register=function(e,t,n){var a=this;void 0===n&&(n=!0);var r=new h(t,n);if(0===e.length)this.root=r;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],r)}t.modules&&c(t.modules,(function(t,r){a.register(e.concat(r),t,n)}))},m.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],a=t.getChild(n);a&&a.runtime&&t.removeChild(n)},m.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var g;var v=function(e){var t=this;void 0===e&&(e={}),!g&&"undefined"!==typeof window&&window.Vue&&A(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var a=e.strict;void 0===a&&(a=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var r=this,i=this,o=i.dispatch,l=i.commit;this.dispatch=function(e,t){return o.call(r,e,t)},this.commit=function(e,t,n){return l.call(r,e,t,n)},this.strict=a;var c=this._modules.root.state;T(this,c,[],this._modules.root),k(this,c),n.forEach((function(e){return e(t)}));var u=void 0!==e.devtools?e.devtools:g.config.devtools;u&&s(this)},b={state:{configurable:!0}};function y(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function w(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;T(e,n,[],e._modules.root,!0),k(e,n,t)}function k(e,t,n){var a=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,i={};c(r,(function(t,n){i[n]=f(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var s=g.config.silent;g.config.silent=!0,e._vm=new g({data:{$$state:t},computed:i}),g.config.silent=s,e.strict&&C(e),a&&(n&&e._withCommit((function(){a._data.$$state=null})),g.nextTick((function(){return a.$destroy()})))}function T(e,t,n,a,r){var i=!n.length,s=e._modules.getNamespace(n);if(a.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=a),!i&&!r){var o=N(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){g.set(o,l,a.state)}))}var c=a.context=M(e,s,n);a.forEachMutation((function(t,n){var a=s+n;D(e,a,t,c)})),a.forEachAction((function(t,n){var a=t.root?n:s+n,r=t.handler||t;L(e,a,r,c)})),a.forEachGetter((function(t,n){var a=s+n;x(e,a,t,c)})),a.forEachChild((function(a,i){T(e,t,n.concat(i),a,r)}))}function M(e,t,n){var a=""===t,r={dispatch:a?e.dispatch:function(n,a,r){var i=O(n,a,r),s=i.payload,o=i.options,l=i.type;return o&&o.root||(l=t+l),e.dispatch(l,s)},commit:a?e.commit:function(n,a,r){var i=O(n,a,r),s=i.payload,o=i.options,l=i.type;o&&o.root||(l=t+l),e.commit(l,s,o)}};return Object.defineProperties(r,{getters:{get:a?function(){return e.getters}:function(){return S(e,t)}},state:{get:function(){return N(e.state,n)}}}),r}function S(e,t){if(!e._makeLocalGettersCache[t]){var n={},a=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,a)===t){var i=r.slice(a);Object.defineProperty(n,i,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function D(e,t,n,a){var r=e._mutations[t]||(e._mutations[t]=[]);r.push((function(t){n.call(e,a.state,t)}))}function L(e,t,n,a){var r=e._actions[t]||(e._actions[t]=[]);r.push((function(t){var r=n.call(e,{dispatch:a.dispatch,commit:a.commit,getters:a.getters,state:a.state,rootGetters:e.getters,rootState:e.state},t);return d(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}function x(e,t,n,a){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(a.state,a.getters,e.state,e.getters)})}function C(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function N(e,t){return t.reduce((function(e,t){return e[t]}),e)}function O(e,t,n){return u(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function A(e){g&&e===g||(g=e,a(g))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},v.prototype.commit=function(e,t,n){var a=this,r=O(e,t,n),i=r.type,s=r.payload,o=(r.options,{type:i,payload:s}),l=this._mutations[i];l&&(this._withCommit((function(){l.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(o,a.state)})))},v.prototype.dispatch=function(e,t){var n=this,a=O(e,t),r=a.type,i=a.payload,s={type:r,payload:i},o=this._actions[r];if(o){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,n.state)}))}catch(c){0}var l=o.length>1?Promise.all(o.map((function(e){return e(i)}))):o[0](i);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,n.state)}))}catch(c){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,n.state,e)}))}catch(c){0}t(e)}))}))}},v.prototype.subscribe=function(e,t){return y(e,this._subscribers,t)},v.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return y(n,this._actionSubscribers,t)},v.prototype.watch=function(e,t,n){var a=this;return this._watcherVM.$watch((function(){return e(a.state,a.getters)}),t,n)},v.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},v.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),T(this,this.state,e,this._modules.get(e),n.preserveState),k(this,this.state)},v.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=N(t.state,e.slice(0,-1));g.delete(n,e[e.length-1])})),w(this)},v.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},v.prototype.hotUpdate=function(e){this._modules.update(e),w(this,!0)},v.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(v.prototype,b);var E=$((function(e,t){var n={};return I(t).forEach((function(t){var a=t.key,r=t.val;n[a]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var a=H(this.$store,"mapState",e);if(!a)return;t=a.context.state,n=a.context.getters}return"function"===typeof r?r.call(this,t,n):t[r]},n[a].vuex=!0})),n})),F=$((function(e,t){var n={};return I(t).forEach((function(t){var a=t.key,r=t.val;n[a]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var a=this.$store.commit;if(e){var i=H(this.$store,"mapMutations",e);if(!i)return;a=i.context.commit}return"function"===typeof r?r.apply(this,[a].concat(t)):a.apply(this.$store,[r].concat(t))}})),n})),Y=$((function(e,t){var n={};return I(t).forEach((function(t){var a=t.key,r=t.val;r=e+r,n[a]=function(){if(!e||H(this.$store,"mapGetters",e))return this.$store.getters[r]},n[a].vuex=!0})),n})),P=$((function(e,t){var n={};return I(t).forEach((function(t){var a=t.key,r=t.val;n[a]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var a=this.$store.dispatch;if(e){var i=H(this.$store,"mapActions",e);if(!i)return;a=i.context.dispatch}return"function"===typeof r?r.apply(this,[a].concat(t)):a.apply(this.$store,[r].concat(t))}})),n})),R=function(e){return{mapState:E.bind(null,e),mapGetters:Y.bind(null,e),mapMutations:F.bind(null,e),mapActions:P.bind(null,e)}};function I(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)||u(e)}function $(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function H(e,t,n){var a=e._modulesNamespaceMap[n];return a}function B(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var a=e.transformer;void 0===a&&(a=function(e){return e});var r=e.mutationTransformer;void 0===r&&(r=function(e){return e});var i=e.actionFilter;void 0===i&&(i=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var o=e.logMutations;void 0===o&&(o=!0);var c=e.logActions;void 0===c&&(c=!0);var u=e.logger;return void 0===u&&(u=console),function(e){var d=l(e.state);"undefined"!==typeof u&&(o&&e.subscribe((function(e,i){var s=l(i);if(n(e,d,s)){var o=z(),c=r(e),f="mutation "+e.type+o;U(u,f,t),u.log("%c prev state","color: #9E9E9E; font-weight: bold",a(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",a(s)),W(u)}d=s})),c&&e.subscribeAction((function(e,n){if(i(e,n)){var a=z(),r=s(e),o="action "+e.type+a;U(u,o,t),u.log("%c action","color: #03A9F4; font-weight: bold",r),W(u)}})))}}function U(e,t,n){var a=n?e.groupCollapsed:e.group;try{a.call(e,t)}catch(r){e.log(t)}}function W(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function z(){var e=new Date;return" @ "+G(e.getHours(),2)+":"+G(e.getMinutes(),2)+":"+G(e.getSeconds(),2)+"."+G(e.getMilliseconds(),3)}function V(e,t){return new Array(t+1).join(e)}function G(e,t){return V("0",t-e.toString().length)+e}var K={Store:v,install:A,version:"3.6.2",mapState:E,mapMutations:F,mapGetters:Y,mapActions:P,createNamespacedHelpers:R,createLogger:B};t["default"]=K}.call(this,n("c8ba"))},"2f7b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeResizeListener=t.addResizeListener=void 0;var a=i(n("6dd8")),r=n("9619");function i(e){return e&&e.__esModule?e:{default:e}}const s="undefined"===typeof window,o=function(e){for(let t of e){const e=t.target.__resizeListeners__||[];e.length&&e.forEach(e=>{e()})}},l=function(e,t){s||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new a.default((0,r.debounce)(16,o)),e.__ro__.observe(e)),e.__resizeListeners__.push(t))};t.addResizeListener=l;const c=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())};t.removeResizeListener=c},"301f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-input",{directives:[{name:"title",rawName:"v-title"}],key:e.items.prop,staticClass:"input-w",attrs:{clearable:"","show-overflow-tooltip":!0,maxlength:e.$attrs.maxlength?e.$attrs.maxlength:64,placeholder:e._f("$l")(e.$attrs.placeholder?e.$attrs.placeholder:"请输入")},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}})},t.staticRenderFns=[]},"30b5":function(e,t,n){"use strict";var a=n("c532");function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(a.isURLSearchParams(t))i=t.toString();else{var s=[];a.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(a.isArray(e)?t+="[]":e=[e],a.forEach(e,(function(e){a.isDate(e)?e=e.toISOString():a.isObject(e)&&(e=JSON.stringify(e)),s.push(r(t)+"="+r(e))})))})),i=s.join("&")}if(i){var o=e.indexOf("#");-1!==o&&(e=e.slice(0,o)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},3131:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cacheAdapterEnhancer=o;a(n("4328"));function a(e){return e&&e.__esModule?e:{default:e}}const r={data:{},set(e,t,n){this.data[e]={maxAge:n||0,value:t,now:Date.now()}},get(e){const t=this.data[e];if(!t)return null;const n=Date.now()-t.now>t.maxAge;return n&&this.delete(e),n?null:t.value},delete(e){return delete this.data[e]},clear(){this.data={}}};function i(e){const{method:t,url:n,params:a,data:r}=e;return[t,n,JSON.stringify(a),JSON.stringify(r)].join("&")}function s(e){return!!(e.set&&e.get&&e.delete&&e.clear&&"function"===typeof e.get&&"function"===typeof e.set&&"function"===typeof e.delete&&"function"===typeof e.clear)}function o(e,t){const{maxAge:n,enabledByDefault:a=!0,cacheFlag:o="cache",defaultCache:l=r}=t;return t=>{const{url:r,method:c,params:u,forceUpdate:d}=t;let f=void 0!==t[o]&&null!==t[o]?t[o]:a;if(f){const a=s(f)?f:l;let r=i(t),o=a.get(r);return!o||d?(o=(async()=>{try{return await e(t)}catch(n){throw a.delete(r),n}})(),a.set(r,o,n),o):o}return e(t)}}},3181:function(e,t,n){"use strict";n.r(t);var a=n("1435"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},"31f1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-select",e._g(e._b({staticClass:"input-w",attrs:{placeholder:e._f("$l")("请选择"),multiple:e.items.multiple||!1,filterable:"","collapse-tags":"",clearable:""},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}},"el-select",e.$attrs,!1),e.$listeners),e._l(e._options,(function(n){return t("el-option",{key:n.label,attrs:{label:e._f("$l")(n.label),value:n.label}})})),1)},t.staticRenderFns=[]},"320c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={name:"urlLinkInput",props:{value:{type:String,default:""},readOnly:{type:Boolean,default:!0},type:{type:String,default:""},canEditTypes:{type:Array,default:()=>[]}},data(){return{}},computed:{_value:{get(){return this.value},set(e){this.$emit("input",e)}}},mounted(){},methods:{openNewPage(){console.log("跳转到",this._value),this._value&&window.open(this._value)}}}},3211:function(e,t,n){"use strict";n.r(t);var a=n("0f69"),r=n("4397");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var s=n("2877"),o=Object(s["a"])(r["default"],a["render"],a["staticRenderFns"],!1,null,null,null);t["default"]=o.exports},3235:function(e,t,n){"use strict";n.r(t);var a=n("a5f3"),r=n("6615");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var s=n("2877"),o=Object(s["a"])(r["default"],a["render"],a["staticRenderFns"],!1,null,null,null);t["default"]=o.exports},"32db":function(e,t,n){"use strict";var a=n("8377");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},"330c":function(e,t,n){"use strict";n.r(t);var a=n("20bc"),r=n("7108");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var s=n("2877"),o=Object(s["a"])(r["default"],a["render"],a["staticRenderFns"],!1,null,null,null);t["default"]=o.exports},3391:function(e,t,n){"use strict";n.r(t);var a=n("e4aa"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},"33f3":function(e,t,n){"use strict";var a=n("00ce"),r=n("3bbf"),i=n("2714"),s=n("f213"),o=n("0d25"),l=a("%WeakMap%",!0),c=r("WeakMap.prototype.get",!0),u=r("WeakMap.prototype.set",!0),d=r("WeakMap.prototype.has",!0),f=r("WeakMap.prototype.delete",!0);e.exports=l?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new o("Side channel does not contain "+i(e))},delete:function(n){if(l&&n&&("object"===typeof n||"function"===typeof n)){if(e)return f(e,n)}else if(s&&t)return t["delete"](n);return!1},get:function(n){return l&&n&&("object"===typeof n||"function"===typeof n)&&e?c(e,n):t&&t.get(n)},has:function(n){return l&&n&&("object"===typeof n||"function"===typeof n)&&e?d(e,n):!!t&&t.has(n)},set:function(n,a){l&&n&&("object"===typeof n||"function"===typeof n)?(e||(e=new l),u(e,n,a)):s&&(t||(t=s()),t.set(n,a))}};return n}:s},3414:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateQuota=t.default=void 0;var a=s(n("8bbf")),r=n("2d0e"),i=s(n("a2ca"));function s(e){return e&&e.__esModule?e:{default:e}}const o=a.default.extend(i.default),l={FAILURE:"FAILURE",CONFIRM:"CONFIRM",SUCCESS:"SUCCESS"},c=e=>new Promise(async(t,n)=>{try{const a=new o({el:document.createElement("div")}),{url:i,payload:s}=e,{data:c={result:l.SUCCESS,errorDataList:[],errors:[],success:[]}}=await r.axios.post(i,s),{result:u,errorDataList:d,errors:f,success:h}=c;u&&u!==l.SUCCESS||f.length?(a.dialogVisible=!0,a.result=u||(h.length?"CONFIRM":"FAILURE"),a.tableData=d||f):t(h),document.body.appendChild(a.$el),a.config=e,a.handleContinue=function(){t(h),a.dialogVisible=!1},a.handleCancel=function(){n("cancel"),a.dialogVisible=!1}}catch(a){n(a)}});t.validateQuota=c,i.default.install=function(e){e.prototype.$validateQuota=c,e.component(i.default.name,i.default)};t.default=i.default},"34a5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={name:"SwitchItem",props:{value:{type:[String,Number],default:1}},computed:{_value:{get(){return this.$emit("update:label",1==this.value?this.$l("是"):this.$l("否")),this.value},set(e){this.$emit("update:label",1==e?this.$l("是"):this.$l("否")),this.$emit("input",e)}}}}},3654:function(e,t,n){"use strict";var a=n("59ec");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},3667:function(e,t,n){"use strict";var a=n("7f01");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},3751:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=t.isDefined=void 0,t.isHtmlElement=o,t.isObject=s,t.isString=i,t.isUndefined=void 0;var a=r(n("8bbf"));function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return"[object String]"===Object.prototype.toString.call(e)}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function o(e){return e&&e.nodeType===Node.ELEMENT_NODE}let l=e=>{var t={};return e&&"[object Function]"===t.toString.call(e)};t.isFunction=l,"object"===typeof Int8Array||!a.default.prototype.$isServer&&"function"===typeof document.childNodes||(t.isFunction=l=function(e){return"function"===typeof e||!1});const c=e=>void 0===e;t.isUndefined=c;const u=e=>void 0!==e&&null!==e;t.isDefined=u},"37dd":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("N20InputSearch",e._b({directives:[{name:"title",rawName:"v-title"}],key:e.items.prop,staticClass:"input-w",attrs:{clearable:"",select:JSON.parse(e.items.api.reqKeys).isSelect,"show-overflow-tooltip":!0,maxlength:e.$attrs.maxlength?e.$attrs.maxlength:64,placeholder:e._f("$l")(e.$attrs.placeholder?e.$attrs.placeholder:JSON.parse(e.items.api.reqKeys).isSelect?"请选择":"请输入"),"default-first-option":"","suffix-icon":"el-icon-zoom-in"},on:{search:e.showDialog,change:e.changeFn,blur:e.changValue,clear:e.clearFn},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}},"N20InputSearch",e.$attrs,!1),e._l(e.curOptions,(function(n){return t("el-option",{directives:[{name:"title",rawName:"v-title",value:n.label,expression:"item.label"}],key:n.label+n.value+e.items.prop,staticClass:"text-ellipsis",style:{"max-width":e.$attrs["show-overflow-tooltip"]?"224px":"none"},attrs:{"show-overflow-tooltip":!0,label:e._f("$l")(n.label),value:n.value}},[e._v(" "+e._s(e._f("$l")(e.labelKey?n._label:n.label))+" ")])})),1),e.visible?t(JSON.parse(e.items.api.reqKeys).dialogName,{tag:"component",attrs:{visible:e.visible,formData:e.formData,fieldsItem:e.items},on:{"update:visible":function(t){e.visible=t},change:e.changeData}}):e._e()],1)},t.staticRenderFns=[]},"37fd":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=f(n("f6f4")),r=f(n("e5ad")),i=f(n("2d4c")),s=f(n("b775")),o=n("2934"),l=f(n("108b")),c=f(n("a555")),u=f(n("02c2")),d=f(n("55d7"));function f(e){return e&&e.__esModule?e:{default:e}}t.default={name:"SelectTreeUnitForm",components:{Tree:i.default,ElSelect:r.default},mixins:[a.default],inject:{elForm:{default:""},elFormItem:{default:""}},props:{showAllCheck:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},selectFirst:{type:Boolean,default:!1},url:{type:String,default:"/api/nstc-gtcp/1.0/fundTree"},listUrl:{type:String,default:"/api/nstc-gtcp/1.0/fundTree/list"},isUnitDataScope:{type:String,default:"0"},seachObj:{type:Object,default:()=>({})},multiple:{type:Boolean,default:!1},defaultSelectAll:{type:Boolean,default:!1},defaultSelect:{type:Array,default:()=>[]},upDateValue:{type:Array,default:()=>[]},searchUnitNo:{type:String,default:""},moduleNo:{type:String,default:"bill-group"},relaNo:{type:String,default:""},value:{type:[String,Number,Array],default:()=>[]},collapseTags:{type:Boolean,default:!0},nodeKey:{type:String,default:"id"},placeholder:{type:String,default:"请选择"},defineProps:{type:Object,default:()=>({label:"unitName",value:"unitNo",children:"children",isLeaf:"isLeaf"})}},data(){return{mounseInTree:!1,mounseInList:!1,loading:!1,isList:!1,isLazy:!0,data:[],show:!1,list:[],expandedKeys:[],wCdList:[],checkD:!1,queryType:"0",hasQueryAll:!1,selectData:[],selectDataCache:[],valueShow:[],searchKey:"",timer:null,onlyUnit:!1,defaultExpandedKeys:[],page:{current:1,size:-1},treeSelectImg:l.default,treeUnSelectImg:c.default,listSelectImg:u.default,listUnSelectImg:d.default}},computed:{vTitle(){let e=this.valueShow.length;return this.multiple?e?this.valueShow.slice(0,15):"":e?this.valueShow:""},tagDisabled(){return this.disabled||(this.elForm||{}).disabled},valueC:{get(){return this.value},set(e){this.$emit("input",e),this.$emit("dataChange",this.selectData)}}},async mounted(){if(this.url){if(this.defaultSelectAll)return this.checkD=!0,await this.getCommonConfig(),this.isList&&await this.initList(),this.handleCheckBox(!0),"end";this.defaultSelect&&Array.isArray(this.defaultSelect)&&this.defaultSelect.length>0&&(this.selectData=[...this.defaultSelect],this.valueShow=this.defaultSelect.map(e=>e.unitName)),await this.getCommonConfig(),this.isList?this.initList():this.init()}else this.$message.error("请传入单位树请求地址!")},watch:{value:{handler(e){e||this.clearFn()}}},methods:{changeType(e){"tree"==e&&this.isList?(this.data=[],this.init(e),this.isList=!1):"list"!=e||this.isList||(this.data=[],this.initList(e),this.isList=!0)},async getCommonConfig(e){let t=await(0,o.getCommonConfig)();t&&t.length>0&&t.forEach(e=>{e.configGroupName.includes("单位树")&&e.configs&&e.configs.length>0&&e.configs.forEach(e=>{e.configGroupName.includes("单位树")&&("1"==e.configValue?this.isList=!0:this.isList=!1)})})},selecetClick(e){this.$refs.tree.showDropMenu=null},init(e){if(this.$refs.tree.store.lazy=!0,this.searchUnitNo)return this.getUnitTree("6"),"end";new Promise(e=>{this.getTreeData("1",{resolve:e})}).then(()=>{let t=[],n=[];if(this.flatData(this.data,n),this.selectData.forEach((e,a)=>{n.forEach(n=>{n.unitNo==e.unitNo&&(t.push(n),this.selectData[a]=n)})}),t=t.filter(e=>!e.disabled),this.selectFirst&&!e&&t.length<1){let e=null,n=[];this.flatData(this.data,n);for(let t=0;t<n.length;t++)if(!n[t].disabled){e=n[t];break}e&&t.push(e)}if(this.$refs.tree.setCheckedNodes(t),this.selectData=t,!e){this.valueShow=this.selectData.map(e=>e.unitName);let e=this.selectData.map(e=>e.unitNo);this.$emit("input",this.multiple?e:e[0]),this.$emit("dataChange",this.selectData)}}).finally(()=>{this.$emit("loaded")})},getTreeData(e,t){this.loading=!0;let n="?moduleNo="+this.moduleNo+"&isUnitDataScope="+this.isUnitDataScope;if(e&&(n+="&queryType="+e),t&&["2","3","4","6"].includes(e)&&(n+="&unitNo="+t.unitNo,!t.unitNo))return"end";for(let r in this.seachObj)n+=`&${r}=${this.seachObj[r]}`;["1","6"].includes(e)&&this.searchKey&&(n+="&unitNameOrNoLike="+this.searchKey);const a={relaNo:this.relaNo};(0,s.default)({url:this.url+n,method:"GET",cache:!0,headers:a}).then(n=>{let a=n.fundTreeVoList;if(this.loading=!1,a&&a.length>0&&a.forEach(e=>{e.isLeaf=!Boolean(e.hasChild)}),["0","1","6"].includes(e))if(this.data=a,["1","6"].includes(e)&&(this.$refs.tree.$refs.tree.store.lazy=!1,this.hasQueryAll=!0,this.$nextTick(()=>{this.selectData.length>0&&(this.selectData=this.selectData.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(this.selectData))})),t.expandFlag)t.resolve(n.firstAuthUnit);else if(n.onlyUnit){this.onlyUnit=!0,this.data=[n.onlyUnit],this.selectData=[n.onlyUnit],this.$refs.tree.setCheckedNodes(this.selectData);let e=this.selectData.map(e=>e.unitNo);this.valueShow=this.selectData.map(e=>e.unitName),this.$emit("input",this.multiple?e:e[0]),this.$emit("dataChange",this.selectData)}else t.resolve(a);if("2"==e&&t){if(!t.type||"direct"!=t.type)return t.resolve(a),this.selectData.forEach((e,t)=>{a.forEach(n=>{e.unitNo==n.unitNo&&(this.selectData[t]=n)})}),void this.$nextTick(()=>{this.selectData.length>0&&(this.selectData=this.selectData.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(this.selectData))});t.resolve(a)}("4"==e&&t||"3"==e&&t)&&t.resolve(a)})},debounce(e,t){let n=this;clearTimeout(n.timer),n.timer=setTimeout(()=>{e.apply(n)},t)},searchTree(e){this.isList?(e||(this.selectData=[]),this.checkD=!1,this.$refs.tree.setCheckedNodes([]),this.getListData("search")):(this.checkD=!1,e||(this.selectData=[]),this.$refs.tree.setCheckedNodes([]),new Promise(e=>{this.searchUnitNo?this.getTreeData("6",{unitNo:this.searchUnitNo,resolve:e,expandFlag:!0}):this.getTreeData("1",{resolve:e,expandFlag:!0})}).then(e=>{e&&(this.defaultExpandedKeys=[e.id])}))},outClick(){},clearFn(){this.checkD=!1,this.selectData=[],this.valueShow=[],this.$refs.tree.setCheckedNodes([]),this.$emit("input",this.multiple?[]:""),this.$emit("dataChange",this.selectData,"clear")},loadNode(e,t){this.getTreeData("2",{unitNo:e.data.unitNo,resolve:t})},check(e,{checkedKeys:t}){if(t.includes(e.id)){this.selectData.push(e);let t={},n=[];this.selectData.forEach(e=>{t[e.unitNo+""]||(t[e.unitNo+""]=!0,n.push(e))}),this.selectData=n}else{let t=this.selectData.filter(t=>t.unitNo!=e.unitNo);this.selectData=t}},showOpt(e){this.$refs.tree.showDropMenu=null,e?this.selectDataCache=JSON.parse(JSON.stringify(this.selectData)):(this.selectDataCache=[],this.searchKey&&(this.searchKey="",this.searchTree("cache")))},getUnitTree(e){new Promise(e=>{this.getTreeData("6",{unitNo:this.searchUnitNo,resolve:e})}).then(()=>{})},handleCheckBox(e){if(e)if(this.hasQueryAll){let e=[];this.flatData(this.data,e),e=e.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(e),this.selectData=e,this.valueShow=e.map(e=>e.unitName),this.$emit("dataChange",this.selectData)}else{if(this.isList)return;new Promise(e=>{this.getTreeData("1",{resolve:e})}).then(()=>{this.$nextTick(()=>{let e=[];this.flatData(this.data,e),e=e.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(e),this.selectData=e,this.valueShow=e.map(e=>e.unitName),this.$emit("dataChange",this.selectData)})})}else this.$refs.tree.setCheckedNodes([]),this.selectData=[]},checkedBro(e){this.$refs.selectTreeUnit.handleClose(!1),new Promise(t=>{this.getTreeData("4",{unitNo:e.unitNo,resolve:t})}).then(e=>{this.selectData=this.selectData.concat(e);let t={},n=[];this.selectData.forEach(e=>{t[e.unitNo+""]||(t[e.unitNo+""]=!0,n.push(e))}),this.selectData=n,this.selectData=this.selectData.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(this.selectData);this.$refs.tree.getCheckedKeys()})},checkedChild(e){this.$refs.selectTreeUnit.handleClose(!1),"cancel"===e.type?new Promise(t=>{this.getTreeData("3",{unitNo:e.data.unitNo,resolve:t})}).then(e=>{if(!e||e.length<1)return"end";let t=[];this.flatData(e,t);let n=t.map(e=>e.id);this.selectData=this.selectData.filter(e=>!n.includes(e.id)),this.$refs.tree.setCheckedNodes(this.selectData)}):"all"==e.type?new Promise(t=>{this.getTreeData("3",{unitNo:e.data.unitNo,resolve:t})}).then(e=>{if(!e||e.length<1)return"end";let t=[];this.flatData(e,t),this.selectData=this.selectData.concat(t);let n={},a=[];this.selectData.forEach(e=>{n[e.unitNo+""]||(n[e.unitNo+""]=!0,a.push(e))}),this.selectData=a,this.selectData=this.selectData.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(this.selectData)}):new Promise(t=>{this.getTreeData("2",{unitNo:e.data.unitNo,resolve:t,type:"direct"})}).then(e=>{if(!e||e.length<1)return"end";let t=[];this.flatData(e,t),this.selectData=this.selectData.concat(t);let n={},a=[];this.selectData.forEach(e=>{n[e.unitNo+""]||(n[e.unitNo+""]=!0,a.push(e))}),this.selectData=a,this.selectData=this.selectData.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(this.selectData)})},confirm(){if(this.selectData.length<1)return void this.$message.warning(this.$t("common_a_0005"));this.selectData=this.selectData.filter(e=>!e.disabled),this.valueShow=this.selectData.map(e=>e.unitName);let e=this.selectData.map(e=>e.unitNo);this.$emit("input",this.multiple?e:e[0]),this.$emit("dataChange",this.selectData,"confirm"),this.$refs.selectTreeUnit.blur()},cancel(){this.selectData=JSON.parse(JSON.stringify(this.selectDataCache)),this.selectData=this.selectData.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(this.selectData),this.$refs.selectTreeUnit.blur()},flatData(e,t){e&&e.forEach(e=>{t.push(e),e&&e.children&&Array.isArray(e.children)&&e.children.length>0&&this.flatData(e.children,t)})},nodeClick(e){this.$refs.tree.showDropMenu=null,this.multiple||e.disabled||(this.selectData=[e],this.valueShow=e.unitName,this.$emit("input",e.unitNo),this.$emit("dataChange",this.selectData,"click"),this.$refs.selectTreeUnit.blur())},upDateShowValue(e){let t=JSON.stringify(this.selectData)===JSON.stringify(this.upDateValue);if(this.upDateValue&&Array.isArray(this.upDateValue)&&!t){this.selectData=[...this.upDateValue];let e=this.upDateValue.map(e=>e.unitNo);this.valueShow=this.upDateValue.map(e=>e.unitName),this.$emit("input",this.multiple?e:e[0]),this.$emit("dataChange",this.selectData)}e&&(this.isList?(this.$refs.tree.setCheckedNodes([]),this.$refs.tree.setCheckedNodes(this.selectData)):new Promise(e=>{this.getTreeData("1",{resolve:e})}).then(()=>{let e=[];const t=[];this.flatData(this.data,t),this.selectData.forEach((n,a)=>{t.forEach(t=>{t.unitNo==n.unitNo&&(e.push(t),this.selectData[a]=t)})}),e=e.filter(e=>!e.disabled),this.$refs.tree.setCheckedNodes(e)}))},async initList(){await this.getListData()},async getListData(e){this.loading=!0,this.$refs.tree.store.lazy=!1;let t={current:this.page.current,size:this.page.size,...this.seachObj,data:{...this.seachObj,moduleNo:this.moduleNo,isUnitDataScope:this.isUnitDataScope,unitNameOrNoLike:this.searchKey}};const n={relaNo:this.relaNo};let a=await(0,s.default)({url:this.listUrl,method:"POST",data:t,headers:n,cache:!0});if(this.loading=!1,a.records&&a.records.length>0?(a.records.forEach(e=>{e.children=null}),this.data=a.records):this.data=[],this.defaultSelectAll&&!this.selectData.length){let t=JSON.parse(JSON.stringify(this.data));return this.selectData=t.filter(e=>!e.disabled),void this.setCheck(e)}this.setId(),this.selectFirst&&!e&&this.selectData.length<1&&this.data.length>0&&(this.selectData=[this.data[0]]),this.setCheck(e)},setId(){this.selectData.forEach((e,t)=>{this.data.forEach(n=>{n.unitNo==e.unitNo&&(this.selectData[t]=n)})})},setCheck(e){this.valueShow=this.selectData.map(e=>e.unitName);let t=this.selectData.map(e=>e.unitNo);e||(this.$emit("input",this.multiple?t:t[0]),this.$emit("dataChange",this.selectData)),this.$nextTick(()=>{this.$refs.tree.setCheckedNodes(this.selectData)}),this.$emit("loaded")}}}},"387e":function(e,t,n){"use strict";var a=n("7f64");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,a,r){return e.config=t,n&&(e.code=n),e.request=a,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},3880:function(e,t,n){"use strict";n.r(t);var a=n("d077"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},3883:function(e,t,n){"use strict";var a=n("d9b1");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},3886:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
71
71
|
//! moment.js locale configuration
|
|
72
72
|
var t=e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t}))},3934:function(e,t,n){"use strict";var a=n("c532");e.exports=a.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var a=e;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=a.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},3997:function(e,t,n){e.exports=n.p+"img/folder.8e019792.svg"},"39a6":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
73
73
|
//! moment.js locale configuration
|
package/package.json
CHANGED
|
@@ -20,10 +20,9 @@ export const validateQuota = (config) => {
|
|
|
20
20
|
const {url, payload} = config
|
|
21
21
|
const {data = {result: validateMap.SUCCESS, errorDataList: [], errors: [], success: [] }} = await axios.post(url, payload)
|
|
22
22
|
const {result, errorDataList, errors, success} = data
|
|
23
|
-
debugger
|
|
24
23
|
if ((result && result !== validateMap.SUCCESS)|| errors.length) {
|
|
25
24
|
confirmDom.dialogVisible = true
|
|
26
|
-
confirmDom.result = result || success.length ? 'CONFIRM' : ''
|
|
25
|
+
confirmDom.result = result || (success.length ? 'CONFIRM' : 'FAILURE')
|
|
27
26
|
confirmDom.tableData = errorDataList || errors
|
|
28
27
|
} else {
|
|
29
28
|
resolve(success)
|
|
@@ -165,96 +165,8 @@ export default {
|
|
|
165
165
|
this.$validateQuota({
|
|
166
166
|
title: this.$l('额度管理'),
|
|
167
167
|
columns: quotaValidateColumns,
|
|
168
|
-
url: '/api/nstc-gdt/1.0/
|
|
169
|
-
payload: {
|
|
170
|
-
"basic001": {
|
|
171
|
-
"applyAmountList": [{
|
|
172
|
-
"bussVariety": "GDT_17",
|
|
173
|
-
"bussClass": "CLMS02",
|
|
174
|
-
"branchBankNo": "001121013007",
|
|
175
|
-
"unitNo": "1011001006",
|
|
176
|
-
"zulinfangshi": "直租租赁",
|
|
177
|
-
"currencyNo": "CNY",
|
|
178
|
-
"amount": 1000000,
|
|
179
|
-
"preStartDate": "2025-10-14",
|
|
180
|
-
"termDay": "1",
|
|
181
|
-
"preEndDate": "2025-11-14",
|
|
182
|
-
"beizhu": "",
|
|
183
|
-
"bussVariety--label": "融资租赁",
|
|
184
|
-
"bussClass--label": "间接融资",
|
|
185
|
-
"bankName": "中国人民银行",
|
|
186
|
-
"bankNo": "16",
|
|
187
|
-
"branchBankNo--label": "中国人民银行石家庄中心支行营业部",
|
|
188
|
-
"unitNo--label": "九恒星成都信息技术有限公司",
|
|
189
|
-
"zulinfangshi--label": "直租租赁",
|
|
190
|
-
"currencyNo--label": "人民币",
|
|
191
|
-
"preStartDate--label": "2025-10-14",
|
|
192
|
-
"termDay-tmp": ["1", 2],
|
|
193
|
-
"preEndDate--label": "2025-11-14",
|
|
194
|
-
"amount--label": 1000000,
|
|
195
|
-
"termDayUnit": 2
|
|
196
|
-
}],
|
|
197
|
-
"gdtApplyScope": {
|
|
198
|
-
"bussVariety": "GDT_17",
|
|
199
|
-
"bussClass": "CLMS02",
|
|
200
|
-
"branchBankNo": "001121013007",
|
|
201
|
-
"unitNo": "1011001006",
|
|
202
|
-
"zulinfangshi": "直租租赁",
|
|
203
|
-
"currencyNo": "CNY",
|
|
204
|
-
"amount": 1000000,
|
|
205
|
-
"preStartDate": "2025-10-14",
|
|
206
|
-
"termDay": "1",
|
|
207
|
-
"preEndDate": "2025-11-14",
|
|
208
|
-
"beizhu": "",
|
|
209
|
-
"bussVariety--label": "融资租赁",
|
|
210
|
-
"bussClass--label": "间接融资",
|
|
211
|
-
"bankName": "中国人民银行",
|
|
212
|
-
"bankNo": "16",
|
|
213
|
-
"branchBankNo--label": "中国人民银行石家庄中心支行营业部",
|
|
214
|
-
"unitNo--label": "九恒星成都信息技术有限公司",
|
|
215
|
-
"zulinfangshi--label": "直租租赁",
|
|
216
|
-
"currencyNo--label": "人民币",
|
|
217
|
-
"preStartDate--label": "2025-10-14",
|
|
218
|
-
"termDay-tmp": ["1", 2],
|
|
219
|
-
"preEndDate--label": "2025-11-14",
|
|
220
|
-
"amount--label": 1000000,
|
|
221
|
-
"termDayUnit": 2
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
"biaodiwu": [{
|
|
225
|
-
"biaodiwu01": "手机",
|
|
226
|
-
"biaodiwu02": 1,
|
|
227
|
-
"biaodiwu03": 1000000,
|
|
228
|
-
"biaodiwu11": 100,
|
|
229
|
-
"biaodiwu05": 0,
|
|
230
|
-
"biaodiwu06": 1000000,
|
|
231
|
-
"biaodiwu07": "",
|
|
232
|
-
"_id": 1760424426204,
|
|
233
|
-
"biaodiwu01--label": "手机",
|
|
234
|
-
"biaodiwu02--label": 1,
|
|
235
|
-
"biaodiwu03--label": "1000000.00",
|
|
236
|
-
"biaodiwu11--label": 100,
|
|
237
|
-
"biaodiwu05--label": "留购",
|
|
238
|
-
"biaodiwu06--label": "1000000.00",
|
|
239
|
-
"biaodiwu07--label": null,
|
|
240
|
-
"_id--label": 1760424426204,
|
|
241
|
-
"pageType": "P_GDT001",
|
|
242
|
-
"jsonId": "a74096d3-d60b-437b-aedd-936be61decd9"
|
|
243
|
-
}],
|
|
244
|
-
"credit001": [],
|
|
245
|
-
"costEstimation": {
|
|
246
|
-
"payInterestType": 0,
|
|
247
|
-
"payInterestType--beforeLabel": "收款法付息",
|
|
248
|
-
"preAmount": 0,
|
|
249
|
-
"comprehensiveCost": "0.00",
|
|
250
|
-
"discountInterest": 0
|
|
251
|
-
},
|
|
252
|
-
"attach": [],
|
|
253
|
-
"eamsFileScopes": [],
|
|
254
|
-
"isSecuritiesName": 0,
|
|
255
|
-
"groupCustom": "{\"bussClassName\":\"间接融资\",\"bussName\":\"融资租赁\",\"bussId\":\"17\",\"groups\":[{\"groupName\":\"基本信息\",\"groupNo\":\"basic001\",\"groupStyle\":0,\"groupType\":1,\"fields\":[{\"mold\":\"select\",\"fieldId\":\"bussVariety\",\"name\":\"业务品种\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1,\"options\":[],\"url\":\"/api/nstc-gdt/1.0/common/drop/\",\"urlKey\":\"gdtBuss\",\"showLabel\":\"融资租赁\",\"showValue\":\"GDT_17\"},{\"mold\":\"select\",\"fieldId\":\"bussClass\",\"name\":\"业务分类\",\"systemField\":0,\"display\":0,\"required\":0,\"edit\":0,\"modify\":0,\"options\":[],\"url\":\"/api/nstc-gdt/1.0/common/drop/\",\"urlKey\":\"BussClassEnum\",\"showLabel\":\"间接融资\",\"showValue\":\"CLMS02\"},{\"mold\":\"selectBySearch\",\"fieldId\":\"branchBankNo\",\"name\":\"出租人\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1,\"url\":\"/api/nstc-gdt/1.0/common/drop/\",\"urlKey\":\"branchBankDropDown\",\"searchUrl\":\"/api/nstc-mdm/1.0/branchBank\",\"searchField\":\"branchBankName\",\"searchValueField\":\"cnapsNo\",\"showLabel\":\"中国人民银行石家庄中心支行营业部\",\"showValue\":\"001121013007\"},{\"mold\":\"treeBySearch\",\"fieldId\":\"unitNo\",\"name\":\"承租人\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1,\"commonId\":\"common_1202\",\"showLabel\":\"九恒星成都信息技术有限公司\",\"showValue\":\"1011001006\"},{\"mold\":\"select\",\"fieldId\":\"zulinfangshi\",\"name\":\"租赁方式\",\"systemField\":1,\"display\":1,\"required\":1,\"edit\":1,\"modify\":0,\"options\":[],\"url\":\"/api/nstc-gdt/1.0/common/drop/\",\"urlKey\":\"leaseWayDown\",\"showLabel\":\"直租租赁\",\"showValue\":\"直租租赁\"},{\"mold\":\"select\",\"fieldId\":\"currencyNo\",\"name\":\"币种\",\"systemField\":1,\"display\":1,\"required\":1,\"edit\":1,\"modify\":0,\"options\":[],\"url\":\"/api/nstc-gdt/1.0/common/drop/\",\"urlKey\":\"currencyDropDown\",\"showLabel\":\"人民币\",\"showValue\":\"CNY\"},{\"mold\":\"money\",\"fieldId\":\"amount\",\"name\":\"融资金额\",\"systemField\":1,\"display\":1,\"required\":1,\"edit\":0,\"modify\":0,\"calculation\":\"sum(formData.biaodiwu.biaodiwu03)\",\"showLabel\":1000000,\"showValue\":1000000},{\"mold\":\"datepicker\",\"fieldId\":\"preStartDate\",\"name\":\"预计开始日\",\"systemField\":1,\"display\":1,\"required\":1,\"edit\":1,\"modify\":0,\"showLabel\":\"2025-10-14\",\"showValue\":\"2025-10-14\"},{\"mold\":\"limitSelectGroup\",\"fieldId\":\"termDay\",\"name\":\"期限\",\"systemField\":1,\"display\":1,\"required\":1,\"edit\":1,\"modify\":0,\"default\":[\"\",1],\"options\":[{\"label\":\"common.gbebit_w_c_0116\",\"value\":3},{\"label\":\"common.gbebit_w_c_0117\",\"value\":2},{\"label\":\"common.gbebit_w_c_0118\",\"value\":1}],\"showLabel\":[\"1\",\"月\"],\"showValue\":[\"1\",2]},{\"mold\":\"datepicker\",\"fieldId\":\"preEndDate\",\"name\":\"预计到期日\",\"systemField\":1,\"display\":1,\"required\":0,\"edit\":1,\"modify\":0,\"calculation\":\"formData.basic001.preStartDate+formData.basic001.termDay\",\"showLabel\":\"2025-11-14\",\"showValue\":\"2025-11-14\"},{\"mold\":\"textarea\",\"fieldId\":\"beizhu\",\"name\":\"备注\",\"systemField\":1,\"display\":1,\"required\":0,\"edit\":1,\"modify\":0,\"showLabel\":\"\",\"showValue\":\"\"},{\"mold\":\"input\",\"fieldId\":\"jsonId\",\"name\":\"变更对比的id\",\"systemField\":0,\"display\":0,\"required\":1,\"edit\":1,\"modify\":1,\"showLabel\":\"8bdb3996-30aa-43b6-ad27-5b4f5913b951\",\"jsonId\":\"ab07d85d-c6e2-45f3-a4c9-1f8b96d9b80d\"}]},{\"groupName\":\"标的物信息\",\"groupNo\":\"biaodiwu\",\"groupStyle\":1,\"groupType\":0,\"fields\":[{\"mold\":\"input\",\"fieldId\":\"biaodiwu01\",\"name\":\"标的物名称\",\"systemField\":1,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"numberInput\",\"fieldId\":\"biaodiwu02\",\"name\":\"数量\",\"systemField\":1,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"money\",\"fieldId\":\"biaodiwu03\",\"name\":\"融资金额\",\"systemField\":1,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"scaleRate\",\"fieldId\":\"biaodiwu11\",\"name\":\"占比(%)\",\"systemField\":1,\"display\":1,\"required\":1,\"edit\":0,\"modify\":1,\"calculation\":\"(formData.biaodiwu.biaodiwu03/formData.basic001.amount)%\"},{\"mold\":\"select\",\"fieldId\":\"biaodiwu05\",\"name\":\"到期选择\",\"systemField\":1,\"display\":1,\"required\":0,\"edit\":1,\"modify\":1,\"options\":[],\"url\":\"/api/nstc-gdt/1.0/common/drop/\",\"urlKey\":\"expireChooseEnum\"},{\"mold\":\"money\",\"fieldId\":\"biaodiwu06\",\"name\":\"留购价\",\"systemField\":1,\"display\":1,\"required\":0,\"edit\":1,\"modify\":1},{\"mold\":\"input\",\"fieldId\":\"biaodiwu07\",\"name\":\"备注\",\"systemField\":1,\"display\":1,\"required\":0,\"edit\":1,\"modify\":1}],\"showLabel\":[{\"biaodiwu01\":\"手机\",\"biaodiwu02\":1,\"biaodiwu03\":1000000,\"biaodiwu11\":100,\"biaodiwu05\":0,\"biaodiwu06\":1000000,\"biaodiwu07\":\"\",\"_id\":1760424426204,\"biaodiwu01--label\":\"手机\",\"biaodiwu02--label\":1,\"biaodiwu03--label\":\"1000000.00\",\"biaodiwu11--label\":100,\"biaodiwu05--label\":\"留购\",\"biaodiwu06--label\":\"1000000.00\",\"biaodiwu07--label\":null,\"_id--label\":1760424426204,\"pageType\":\"P_GDT001\",\"jsonId\":\"a74096d3-d60b-437b-aedd-936be61decd9\"}]},{\"groupName\":\"授信信息\",\"groupNo\":\"credit001\",\"groupStyle\":1,\"groupType\":2,\"fields\":[{\"mold\":\"input\",\"fieldId\":\"currencyNo\",\"name\":\"币种\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"datepicker\",\"fieldId\":\"startDate\",\"name\":\"开始日\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"datepicker\",\"fieldId\":\"endDate\",\"name\":\"到期日\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"input\",\"fieldId\":\"bankNo\",\"name\":\"机构\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"input\",\"fieldId\":\"varietyNo\",\"name\":\"授信品种\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"money\",\"fieldId\":\"creditAmount\",\"name\":\"品种金额\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"money\",\"fieldId\":\"creditBalance\",\"name\":\"品种余额\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"money\",\"fieldId\":\"gdtAmount\",\"name\":\"占用额度(业务币种)\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"money\",\"fieldId\":\"useAmount\",\"name\":\"占用额度(折)\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"input\",\"fieldId\":\"creditContractNo\",\"name\":\"合同编号\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1}],\"showLabel\":[]},{\"groupName\":\"成本测算信息\",\"groupNo\":\"costEstimation\",\"groupStyle\":0,\"groupType\":2,\"fields\":[{\"mold\":\"select\",\"fieldId\":\"payInterestType\",\"name\":\"付息方式\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1,\"options\":[],\"url\":\"/api/nstc-gdt/1.0/common/drop/\",\"urlKey\":\"interestPaymentMethodDown\"},{\"mold\":\"rate\",\"fieldId\":\"quotedInterestRate\",\"name\":\"报价利率\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"scaleRate\",\"fieldId\":\"compensationBalanceRatio\",\"name\":\"补偿性余额比例(%)\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"numberInput\",\"fieldId\":\"payInterestNum\",\"name\":\"年付息次数\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"money\",\"fieldId\":\"approximateCost\",\"name\":\"预计费用\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"money\",\"fieldId\":\"discountInterest\",\"name\":\"贴现利息\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1},{\"mold\":\"scaleRate\",\"fieldId\":\"comprehensiveCost\",\"name\":\"融资成本(%)\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1}],\"showLabel\":{\"payInterestType\":0,\"payInterestType--beforeLabel\":\"收款法付息\",\"preAmount\":0,\"comprehensiveCost\":\"0.00\",\"discountInterest\":0,\"payInterestType--label\":\"收款法付息\",\"preAmount--label\":0,\"comprehensiveCost--label\":\"0.00\",\"discountInterest--label\":0,\"jsonId\":\"936c3d3f-f6a4-4cf4-9d1f-61d05f78095a\",\"pageType\":\"P_GDT001\"}},{\"groupName\":\"附件信息\",\"groupNo\":\"attach\",\"groupStyle\":1,\"groupType\":2,\"fields\":[{\"mold\":\"input\",\"fieldId\":\"attachName\",\"name\":\"附件名称\",\"systemField\":0,\"display\":1,\"required\":1,\"edit\":1,\"modify\":1}],\"showLabel\":[]}]}",
|
|
256
|
-
"operate": "submit"
|
|
257
|
-
}
|
|
168
|
+
url: '/api/nstc-gdt/quota/1.0/contract/update',
|
|
169
|
+
payload: {"businessNo":"RZDR20251017000004","businessNumber":"RZDR20251017000004","unitName":"九恒星成都信息技术有限公司","currency":"人民币","remark":"","totalQuota":600,"startDate":"2025-11-01","businessType":"融资租赁","id":2597}
|
|
258
170
|
}).then(res => {
|
|
259
171
|
console.log(res)
|
|
260
172
|
}).catch(err => {
|