提交 570c4fe8 编写于 作者: ibizdev's avatar ibizdev

lxm1993 发布系统代码 [TrainSys,网页端]

上级 27adf1fb
......@@ -11,29 +11,29 @@
"lint:style": "stylelint 'src/**/*.scss'"
},
"dependencies": {
"@floating-ui/dom": "^1.0.11",
"@floating-ui/dom": "^1.5.3",
"@ibiz-template/command": "^0.0.1-beta.50",
"@ibiz-template/controller": "0.0.1-beta.132",
"@ibiz-template/core": "0.0.1-beta.132",
"@ibiz-template/model": "0.0.1-beta.132",
"@ibiz-template/runtime": "0.0.1-beta.132",
"@ibiz-template/service": "0.0.1-beta.132",
"@ibiz-template/theme": "0.0.1-beta.132",
"@ibiz-template/vue-util": "0.0.1-beta.132",
"@ibiz-template/controller": "^0.0.1-beta.134",
"@ibiz-template/core": "^0.0.1-beta.134",
"@ibiz-template/model": "^0.0.1-beta.134",
"@ibiz-template/runtime": "^0.0.1-beta.134",
"@ibiz-template/service": "^0.0.1-beta.134",
"@ibiz-template/theme": "^0.0.1-beta.134",
"@ibiz-template/vue-util": "^0.0.1-beta.134",
"@ibiz/dynamic-model-api": "^2.1.28",
"@riophae/vue-treeselect": "^0.4.0",
"dayjs": "^1.11.7",
"echarts": "^5.4.2",
"dayjs": "^1.11.10",
"echarts": "^5.4.3",
"element-ui": "^2.15.13",
"lodash-es": "^4.17.21",
"path-browserify": "^1.0.1",
"pinia": "^2.0.28",
"qs": "^6.11.0",
"pinia": "^2.1.7",
"qs": "^6.11.2",
"qx-util": "^0.4.8",
"ramda": "^0.28.0",
"ramda": "^0.29.1",
"view-design": "^4.7.0",
"vite-plugin-style-import": "1.4.1",
"vue": "^2.7.14",
"vue": "^2.7.15",
"vue-router": "^3.6.5",
"vue-text-format": "^3.1.2"
},
......@@ -43,7 +43,7 @@
"@types/lodash-es": "^4.17.7",
"@types/node": "^18.11.15",
"@types/path-browserify": "^1.0.0",
"@types/qs": "^6.9.7",
"@types/qs": "^6.9.10",
"@types/ramda": "^0.28.20",
"@types/systemjs": "^6.13.0",
"@typescript-eslint/eslint-plugin": "^5.46.1",
......
此差异已折叠。
此差异已折叠。
System.register([],function(C){"use strict";return{execute:function(){function b(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}function c(s){if(typeof s!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(s))}function m(s,e){for(var r="",i=0,t=-1,f=0,n,l=0;l<=s.length;++l){if(l<s.length)n=s.charCodeAt(l);else{if(n===47)break;n=47}if(n===47){if(!(t===l-1||f===1))if(t!==l-1&&f===2){if(r.length<2||i!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var a=r.lastIndexOf("/");if(a!==r.length-1){a===-1?(r="",i=0):(r=r.slice(0,a),i=r.length-1-r.lastIndexOf("/")),t=l,f=0;continue}}else if(r.length===2||r.length===1){r="",i=0,t=l,f=0;continue}}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+s.slice(t+1,l):r=s.slice(t+1,l),i=l-t-1;t=l,f=0}else n===46&&f!==-1?++f:f=-1}return r}function h(s,e){var r=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+i:r+s+i:i}var g={resolve:function(){for(var e="",r=!1,i,t=arguments.length-1;t>=-1&&!r;t--){var f;t>=0?f=arguments[t]:(i===void 0&&(i=process.cwd()),f=i),c(f),f.length!==0&&(e=f+"/"+e,r=f.charCodeAt(0)===47)}return e=m(e,!r),r?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(c(e),e.length===0)return".";var r=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return e=m(e,!r),e.length===0&&!r&&(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return c(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];c(i),i.length>0&&(e===void 0?e=i:e+="/"+i)}return e===void 0?".":g.normalize(e)},relative:function(e,r){if(c(e),c(r),e===r||(e=g.resolve(e),r=g.resolve(r),e===r))return"";for(var i=1;i<e.length&&e.charCodeAt(i)===47;++i);for(var t=e.length,f=t-i,n=1;n<r.length&&r.charCodeAt(n)===47;++n);for(var l=r.length,a=l-n,v=f<a?f:a,u=-1,o=0;o<=v;++o){if(o===v){if(a>v){if(r.charCodeAt(n+o)===47)return r.slice(n+o+1);if(o===0)return r.slice(n+o)}else f>v&&(e.charCodeAt(i+o)===47?u=o:o===0&&(u=0));break}var A=e.charCodeAt(i+o),k=r.charCodeAt(n+o);if(A!==k)break;A===47&&(u=o)}var d="";for(o=i+u+1;o<=t;++o)(o===t||e.charCodeAt(o)===47)&&(d.length===0?d+="..":d+="/..");return d.length>0?d+r.slice(n+u):(n+=u,r.charCodeAt(n)===47&&++n,r.slice(n))},_makeLong:function(e){return e},dirname:function(e){if(c(e),e.length===0)return".";for(var r=e.charCodeAt(0),i=r===47,t=-1,f=!0,n=e.length-1;n>=1;--n)if(r=e.charCodeAt(n),r===47){if(!f){t=n;break}}else f=!1;return t===-1?i?"/":".":i&&t===1?"//":e.slice(0,t)},basename:function(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');c(e);var i=0,t=-1,f=!0,n;if(r!==void 0&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var l=r.length-1,a=-1;for(n=e.length-1;n>=0;--n){var v=e.charCodeAt(n);if(v===47){if(!f){i=n+1;break}}else a===-1&&(f=!1,a=n+1),l>=0&&(v===r.charCodeAt(l)?--l===-1&&(t=n):(l=-1,t=a))}return i===t?t=a:t===-1&&(t=e.length),e.slice(i,t)}else{for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===47){if(!f){i=n+1;break}}else t===-1&&(f=!1,t=n+1);return t===-1?"":e.slice(i,t)}},extname:function(e){c(e);for(var r=-1,i=0,t=-1,f=!0,n=0,l=e.length-1;l>=0;--l){var a=e.charCodeAt(l);if(a===47){if(!f){i=l+1;break}continue}t===-1&&(f=!1,t=l+1),a===46?r===-1?r=l:n!==1&&(n=1):r!==-1&&(n=-1)}return r===-1||t===-1||n===0||n===1&&r===t-1&&r===i+1?"":e.slice(r,t)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return h("/",e)},parse:function(e){c(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return r;var i=e.charCodeAt(0),t=i===47,f;t?(r.root="/",f=1):f=0;for(var n=-1,l=0,a=-1,v=!0,u=e.length-1,o=0;u>=f;--u){if(i=e.charCodeAt(u),i===47){if(!v){l=u+1;break}continue}a===-1&&(v=!1,a=u+1),i===46?n===-1?n=u:o!==1&&(o=1):n!==-1&&(o=-1)}return n===-1||a===-1||o===0||o===1&&n===a-1&&n===l+1?a!==-1&&(l===0&&t?r.base=r.name=e.slice(1,a):r.base=r.name=e.slice(l,a)):(l===0&&t?(r.name=e.slice(1,n),r.base=e.slice(1,a)):(r.name=e.slice(l,n),r.base=e.slice(l,a)),r.ext=e.slice(n,a)),l>0?r.dir=e.slice(0,l-1):t&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};g.posix=g;var y=g,w=C("default",b(y))}}});
/*!
* pinia v2.1.7
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/
System.register(["vue"],(function(t){"use strict";var e,n,i,o,s,r,c,a,u,p,f,h,l,d,y,$;return{setters:[function(t){e=t.hasInjectionContext,n=t.inject,i=t.effectScope,o=t.ref,s=t.markRaw,r=t.getCurrentScope,c=t.onScopeDispose,a=t.watch,u=t.reactive,p=t.isRef,f=t.isReactive,h=t.toRaw,l=t.nextTick,d=t.toRefs,y=t.computed,$=t.toRef}],execute:function(){t({acceptHMRUpdate:function(t,e){return()=>{}},createPinia:function(){const t=i(!0),e=t.run((()=>o({})));let n=[],r=[];const c=s({install(t){_(c),c._a=t,t.provide(j,c),t.config.globalProperties.$pinia=c,r.forEach((t=>n.push(t))),r=[]},use(t){return this._a||v?n.push(t):r.push(t),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return c},defineStore:function(t,i,o){let r,c;const a="function"==typeof i;"string"==typeof t?(r=t,c=a?o:i):(c=t,r=t.id);function u(t,o){const u=e();(t=t||(u?n(j,null):null))&&_(t),(t=b)._s.has(r)||(a?M(r,i,c,t):function(t,e,n,i){const{state:o,actions:r,getters:c}=e,a=n.state.value[t];let u;function p(){a||(n.state.value[t]=o?o():{});const e=d(n.state.value[t]);return x(e,r,Object.keys(c||{}).reduce(((e,i)=>(e[i]=s(y((()=>{_(n);const e=n._s.get(t);return c[i].call(e,e)}))),e)),{}))}u=M(t,p,e,n,i,!0)}(r,c,t));return t._s.get(r)}return u.$id=r,u},mapActions:function(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(...e){return t(this.$pinia)[n](...e)},e)),{}):Object.keys(e).reduce(((n,i)=>(n[i]=function(...n){return t(this.$pinia)[e[i]](...n)},n)),{})},mapState:C,mapStores:function(...t){return t.reduce(((t,e)=>(t[e.$id+E]=function(){return e(this.$pinia)},t)),{})},mapWritableState:function(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]={get(){return t(this.$pinia)[n]},set(e){return t(this.$pinia)[n]=e}},e)),{}):Object.keys(e).reduce(((n,i)=>(n[i]={get(){return t(this.$pinia)[e[i]]},set(n){return t(this.$pinia)[e[i]]=n}},n)),{})},setMapStoreSuffix:function(t){E=t},skipHydrate:function(t){return Object.defineProperty(t,k,{})},storeToRefs:function(t){{t=h(t);const e={};for(const n in t){const i=t[n];(p(i)||f(i))&&(e[n]=$(t,n))}return e}}});var v=!1;let b;const _=t("setActivePinia",(t=>b=t)),j=(t("getActivePinia",(()=>e()&&n(j)||b)),Symbol());function S(t){return t&&"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!=typeof t.toJSON}var g;t("MutationType",g),function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"}(g||t("MutationType",g={}));const O="undefined"!=typeof window;const m=()=>{};function P(t,e,n,i=m){t.push(e);const o=()=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),i())};return!n&&r()&&c(o),o}function A(t,...e){t.slice().forEach((t=>{t(...e)}))}const w=t=>t();function R(t,e){t instanceof Map&&e instanceof Map&&e.forEach(((e,n)=>t.set(n,e))),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n],o=t[n];t[n]=S(o)&&S(i)&&t.hasOwnProperty(n)&&!p(i)&&!f(i)?R(o,i):i}return t}const k=Symbol();const{assign:x}=Object;function M(t,e,n={},s,r,c){let d;const y=x({actions:{}},n),$={deep:!0};let v,b,j,O=[],M=[];const E=s.state.value[t];let C;function I(e){let n;v=b=!1,"function"==typeof e?(e(s.state.value[t]),n={type:g.patchFunction,storeId:t,events:j}):(R(s.state.value[t],e),n={type:g.patchObject,payload:e,storeId:t,events:j});const i=C=Symbol();l().then((()=>{C===i&&(v=!0)})),b=!0,A(O,n,s.state.value[t])}c||E||(s.state.value[t]={}),o({});const T=c?function(){const{state:t}=n,e=t?t():{};this.$patch((t=>{x(t,e)}))}:m;function F(e,n){return function(){_(s);const i=Array.from(arguments),o=[],r=[];let c;A(M,{args:i,name:e,store:W,after:function(t){o.push(t)},onError:function(t){r.push(t)}});try{c=n.apply(this&&this.$id===t?this:W,i)}catch(t){throw A(r,t),t}return c instanceof Promise?c.then((t=>(A(o,t),t))).catch((t=>(A(r,t),Promise.reject(t)))):(A(o,c),c)}}const H={_p:s,$id:t,$onAction:P.bind(null,M),$patch:I,$reset:T,$subscribe(e,n={}){const i=P(O,e,n.detached,(()=>o())),o=d.run((()=>a((()=>s.state.value[t]),(i=>{("sync"===n.flush?b:v)&&e({storeId:t,type:g.direct,events:j},i)}),x({},$,n))));return i},$dispose:function(){d.stop(),O=[],M=[],s._s.delete(t)}},W=u(H);s._s.set(t,W);const D=(s._a&&s._a.runWithContext||w)((()=>s._e.run((()=>(d=i()).run(e)))));for(const e in D){const n=D[e];if(p(n)&&(!p(J=n)||!J.effect)||f(n))c||(!E||S(G=n)&&G.hasOwnProperty(k)||(p(n)?n.value=E[e]:R(n,E[e])),s.state.value[t][e]=n);else if("function"==typeof n){const t=F(e,n);D[e]=t,y.actions[e]=n}}var G,J;return x(W,D),x(h(W),D),Object.defineProperty(W,"$state",{get:()=>s.state.value[t],set:t=>{I((e=>{x(e,t)}))}}),s._p.forEach((t=>{x(W,d.run((()=>t({store:W,app:s._a,pinia:s,options:y}))))})),E&&c&&n.hydrate&&n.hydrate(W.$state,E),v=!0,b=!0,W}let E="Store";function C(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(){return t(this.$pinia)[n]},e)),{}):Object.keys(e).reduce(((n,i)=>(n[i]=function(){const n=t(this.$pinia),o=e[i];return"function"==typeof o?o.call(this,n):n[o]},n)),{})}t("mapGetters",C);t("PiniaVuePlugin",(function(t){t.mixin({beforeCreate(){const t=this.$options;if(t.pinia){const e=t.pinia;if(!this._provided){const t={};Object.defineProperty(this,"_provided",{get:()=>t,set:e=>Object.assign(t,e)})}this._provided[j]=e,this.$pinia||(this.$pinia=e),e._a=this,O&&_(e)}else!this.$pinia&&t.parent&&t.parent.$pinia&&(this.$pinia=t.parent.$pinia)},destroyed(){delete this._pStores}})}))}}}));
System.register([],(function(t){"use strict";return{execute:function(){function n(t){if(t instanceof Array)t&&t.length>0&&t.splice(0,t.length);else if(t instanceof Object&&t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&delete t[n]}t({ascSort:function(t,n){return t.sort((function(t,e){var r=n?t[n]:t,o=n?e[n]:e;return r>o?1:r<o?-1:0}))},clearAll:n,clearCookie:function(t,n){j(t,"",-1,n)},createUUID:function(){return"".concat(g()+g(),"-").concat(g(),"-").concat(g(),"-").concat(g(),"-").concat(g()).concat(g()).concat(g())},descSort:function(t,n){return t.sort((function(t,e){var r=n?t[n]:t,o=n?e[n]:e;return r<o?1:r>o?-1:0}))},formatHttpParams:x,generateOrderValue:function(t){return 100*(t+1)},getCookie:function(t){var n=new RegExp("(^| )".concat(t,"=([^;]*)(;|$)")),e=document.cookie.match(n);if(e&&e.length>1)return unescape(e[2]);return null},getQueryVariable:function(t,n){void 0===n&&(n=location.search);n.startsWith("?")&&(n=n.substring(1));for(var e=n.split("&"),r=0;r<e.length;r++){var o=e[r].split("=");if(o[0]==t)return o[1]}return!1},isArray:h,isAsync:f,isBoolean:function(t){return"boolean"===d(t)},isFunc:s,isMap:y,isNilOrEmpty:function(t){if(w(t)||O(t))return!0;return!1},isNumber:function(t){return"number"===d(t)},isObject:p,isPromise:l,isSet:m,isString:b,isWeakMap:function(t){return"weakmap"===d(t)},notNilEmpty:function(t){if(!w(t)&&!O(t))return!0;return!1},setCookie:j,setUrlQuery:function(t,n){var e=x(n);t=t.endsWith("?")||-1!==t.indexOf("?")&&t.endsWith("&")?"".concat(t).concat(e):-1===t.indexOf("?")||t.endsWith("&")?"".concat(t,"?").concat(e):"".concat(t,"&").concat(e);return t},typeOf:d});var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},e(t,n)};function r(t,n,e,r){return new(e||(e=Promise))((function(o,i){function c(t){try{u(r.next(t))}catch(t){i(t)}}function a(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(c,a)}u((r=r.apply(t,n||[])).next())}))}function o(t,n){var e,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(u){return function(a){if(e)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(c=0)),c;)try{if(e=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,r=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(!(o=c.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){c=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(6===a[0]&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=n.call(t,c)}catch(t){a=[6,t],r=0}finally{e=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}function i(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),c=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)c.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return c}function c(t,n,e){if(e||2===arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return t.concat(r||Array.prototype.slice.call(n))}var a=function(){function t(){this.map=new Map,this.maxListeners=100}return t.prototype.setMaxListeners=function(t){this.maxListeners=t},t.prototype.getSize=function(t){return this.map.has(t)?this.map.get(t).length:0},t.prototype.addListener=function(t,n){if(n instanceof Function){this.map.has(t)||this.map.set(t,[]);var e=this.map.get(t);if(!(e.length<this.maxListeners))throw new Error("事件监听已达最大上限[".concat(this.maxListeners,"],无法新增监听!"));e.push(n)}},t.prototype.removeListener=function(t,n){if(this.map.has(t)){var e=this.map.get(t);if(e.length>0)for(var r=0;r<e.length;r++){if(e[r]===n){e.splice(r,1);break}}}},t.prototype.emit=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];if(this.map.has(t)){var r=this.map.get(t);r.forEach((function(t){t.apply(void 0,c([],i(n),!1))}))}},t.prototype.asyncEmit=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];return r(this,void 0,void 0,(function(){var e,r;return o(this,(function(o){return this.map.has(t)?(e=this.map.get(t),r=e.map((function(t){return t.apply(void 0,c([],i(n),!1))})),[2,Promise.all(r)]):[2,[]]}))}))},t.prototype.reset=function(){this.map.forEach((function(t){n(t)})),this.map.clear()},t}(),u=(t("QXEvent",function(){function t(t){this.e=new a,this.e.setMaxListeners(t||300)}return t.prototype.getSize=function(t){return this.e.getSize(t)},t.prototype.on=function(t,n){this.e.addListener(t,n)},t.prototype.off=function(t,n){this.e.removeListener(t,n)},t.prototype.emit=function(t){for(var n,e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];(n=this.e).emit.apply(n,c([t],i(e),!1))},t.prototype.asyncEmit=function(t){for(var n,e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return(n=this.e).asyncEmit.apply(n,c([t],i(e),!1))},t.prototype.reset=function(){this.e.reset()},t}()),Object.prototype.toString);function s(t){return"function"===d(t)}function f(t){return"[object AsyncFunction]"===u.call(t)}function l(t){return"[object Promise]"===u.call(t)}function p(t){return"object"===d(t)}function h(t){return"array"===d(t)}function y(t){return"map"===d(t)}function m(t){return"set"===d(t)}function b(t){return"string"===d(t)}var v={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object","[object Set]":"set","[object Map]":"map","[object WeakMap]":"weakmap"};function d(t){return v[u.call(t)]}function g(){return(65536*(1+Math.random())|0).toString(16).substring(1)}function j(t,n,e,r,o){void 0===e&&(e=0),void 0===r&&(r=!1),void 0===o&&(o="/");var i="";if(r){if(!/^(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)$/.test(location.hostname)){var c=location.hostname;c.indexOf(".")!==c.lastIndexOf(".")&&(i=";domain=".concat(c.substring(c.indexOf("."),c.length)))}}if(0!==e){var a=24*e*60*60*1e3,u=new Date((new Date).getTime()+a);document.cookie="".concat(t,"=").concat(escape(n),";path=").concat(o,";expires=").concat(u.toUTCString()).concat(i)}else document.cookie="".concat(t,"=").concat(escape(n),";path=").concat(o).concat(i)}function w(t){return null==t}function O(t){if(h(t)||b(t))return 0===t.length;if(p(t)){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))return!1;return!0}return y(t)||m(t)?0===t.size:null==t}function x(t){var n={},e=[];return Object.assign(n,t),Object.keys(n).forEach((function(t){var r=n[t];r instanceof Array||r instanceof Object?e.push("".concat(t,"=").concat(encodeURIComponent(JSON.stringify(r)))):e.push("".concat(t,"=").concat(encodeURIComponent(r)))})),e.join("&")}var S=t("SyncSeriesHook",function(){function t(){this.items=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.items.length},enumerable:!1,configurable:!0}),t.prototype.callSync=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];for(var r,o=t||Object.create({}),a=0;a<this.items.length;a++){var u=this.items[a];if(u.fn&&(r=u.fn.apply(u,c([o],i(n),!1))),null===r){console.warn("因".concat(u.fn?u.fn.name:null,"方法返回值为「null」,钩子中断执行。"),u);break}}return o},t.prototype.tap=function(t){if(t&&s(t)){var n={mode:"sync"};n.fn=t,this.items.push(n)}},t.prototype.removeTap=function(t){if(t)for(var n=0;n<this.items.length;n++){t===this.items[n].fn&&this.items.splice(n,1)}},t.prototype.clear=function(){this.items=[]},t}());t("AsyncSeriesHook",function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}(n,t),n.prototype.call=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];return r(this,void 0,void 0,(function(){var e,r,a,u;return o(this,(function(o){switch(o.label){case 0:e=t||Object.create({}),a=0,o.label=1;case 1:return a<this.items.length?(u=this.items[a]).fn?"promise"!==u.mode?[3,4]:l(r=u.fn.apply(u,c([e],i(n),!1)))?[4,r]:[3,3]:[3,5]:[3,7];case 2:r=o.sent(),o.label=3;case 3:return[3,5];case 4:r=u.fn.apply(u,c([e],i(n),!1)),o.label=5;case 5:if(null===r)return console.warn("因".concat(u.fn?u.fn.name:null,"方法返回值为「null」,钩子中断执行。"),u),[3,7];o.label=6;case 6:return a++,[3,1];case 7:return[2,e]}}))}))},n.prototype.tapPromise=function(t){if(t&&(s(t)||f(t))){var n={mode:"promise"};n.fn=t,this.items.push(n)}},n.prototype.removeTapPromise=function(t){this.removeTap(t)},n}(S))}}}));
{
"imports": {
"axios": "../js/axios/1.1.3/axios.min.js",
"dayjs": "../js/dayjs/1.11.6/dayjs.min.js",
"async-validator": "../js/async-validator/4.2.5/async-validator.min.js",
"pluralize": "../js/pluralize/8.0.0/pluralize.min.js",
"qs": "../js/qs/6.11.0/qs.min.js",
"ramda": "../js/ramda/0.28.0/ramda.min.js",
"vue": "../js/vue/2.7.13/vue.runtime.min.js",
"vue-router": "../js/vue-router/3.6.5/vue-router.min.js",
"view-design": "../js/view-design/4.7.0/iview.min.js",
"lodash-es": "../js/lodash/4.17.21/lodash.min.js",
"qx-util": "../js/qx-util.min.js",
"echarts": "../js/echarts/5.4.2/echarts.min.js",
"axios": "../js/axios/1.6.1/axios.system.min.js",
"dayjs": "../js/dayjs/1.11.10/index.system.min.js",
"loglevel": "../js/loglevel/1.8,1/loglevel.system.min.js",
"async-validator": "../js/async-validator/4.2.5/async-validator.system.min.js",
"pluralize": "../js/pluralize/8.0.0/pluralize.system.min.js",
"qs": "../js/qs/6.11.2/qs.system.min.js",
"ramda": "../js/ramda/0.29.1/ramda.system.min.js",
"vue": "../js/vue/2.7.15/vue.runtime.system.min.js",
"vue-router": "../js/vue-router/3.6.5/vue-router.system.min.js",
"lodash-es": "../js/lodash/4.17.21/lodash.system.min.js",
"echarts": "../js/echarts/5.4.3/echarts.min.js",
"qx-util": "../js/qx-util/0.4.8/qx-util.system.js",
"pinia": "../js/pinia/2.1.7/pinia.system.prod.js",
"path-browserify": "../js/path-browserify/1.0.1/index.system.min.js",
"@floating-ui/dom": "../js/@floating-ui/dom/1.5.3/floating-ui.dom.system.min.js",
"@riophae/vue-treeselect": "../js/@riophae/vue-treeselect/0.4.0/vue-treeselect.umd.min.js",
"@ibiz/dynamic-model-api": "../js/ibiz-dynamic-model-api.system.min.js",
"@ibiz-template/command": "../js/ibiz-template-command.system.min.js",
......@@ -22,4 +25,4 @@
"@ibiz-template/controller": "../js/ibiz-template-controller.system.min.js",
"@ibiz-template/vue-util": "../js/ibiz-template-vue-util.system.min.js"
}
}
}
\ No newline at end of file
......@@ -6,9 +6,11 @@ import {
RemotePluginItem,
} from '@ibiz-template/runtime';
import { IPSAppPFPluginRef, IPSSysPFPlugin } from '@ibiz/dynamic-model-api';
import { join } from 'path-browserify';
import path from 'path-browserify';
import Vue, { VueConstructor, PluginObject } from 'vue';
const { join } = path;
/**
* 插件工具类
*
......
......@@ -10,7 +10,7 @@ export const getView2Value = (route: Route) => {
}
// 清除params2里的srfnav
let _params2 = (params2 as String).replace(
/;srfnav=[^;=]*$|(?<=;)srfnav=[^;=]*;|^srfnav=[^;=]*;|^srfnav=[^;=]*$/g,
/;srfnav=[^;=]*$|(?:;)srfnav=[^;=]*;|^srfnav=[^;=]*;|^srfnav=[^;=]*$/g,
'',
);
_params2 = _params2 || ibiz.env.routePlaceholder;
......
......@@ -19,7 +19,7 @@ export const getView2Value = (route: Route) => {
}
// 清除params2里的srfnav
let _params2 = (params2 as String).replace(
/;srfnav=[^;=]*$|(?<=;)srfnav=[^;=]*;|^srfnav=[^;=]*;|^srfnav=[^;=]*$/g,
/;srfnav=[^;=]*$|(?:;)srfnav=[^;=]*;|^srfnav=[^;=]*;|^srfnav=[^;=]*$/g,
'',
);
_params2 = _params2 || ibiz.env.routePlaceholder;
......
......@@ -17,11 +17,11 @@ export default defineConfig({
},
},
build: {
// sourcemap: true,
rollupOptions: {
external: [
'vue',
'vue-router',
'view-design',
'async-validator',
'dayjs',
'axios',
......@@ -40,6 +40,10 @@ export default defineConfig({
'@ibiz-template/runtime',
'@ibiz-template/controller',
'@ibiz-template/vue-util',
'@floating-ui/dom',
'path-browserify',
'pinia',
'qx-util',
],
},
},
......@@ -65,6 +69,14 @@ export default defineConfig({
target: 'http://172.16.103.134:30060',
changeOrigin: true,
},
'/dbmgmt__dbweb': {
target: 'http://172.16.103.158:30121',
changeOrigin: true,
},
'/cxfhmgmt__cxfhwebapp': {
target: 'http://172.16.103.158:30122',
changeOrigin: true,
},
},
cors: true,
fs: {
......
......@@ -12111,6 +12111,18 @@
"modelref" : true,
"id" : "ViewMsg8"
}
}, {
"name" : "关闭模式-默认删除-上方-错误",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
}
}, {
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
}
}, {
"name" : "关闭模式-本次删除-上方-警告",
"getPSAppViewMsg" : {
......@@ -12144,39 +12156,27 @@
"modelref" : true,
"id" : "ViewMsg11"
}
}, {
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
}
}, {
"name" : "关闭模式-默认删除-上方-错误",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
}
} ]
}, {
"codeName" : "VMGroup5",
"name" : "视图消息关闭模式",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "关闭模式-默认删除",
"name" : "关闭模式-本次删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
"id" : "ViewMsg13"
}
}, {
"name" : "关闭模式-删除",
"name" : "关闭模式-默认删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
"id" : "ViewMsg12"
}
}, {
"name" : "关闭模式-本次删除",
"name" : "关闭模式-删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg13"
"id" : "ViewMsg11"
}
} ]
}, {
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册