doway-coms 1.1.23 → 1.1.26

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.
@@ -78932,6 +78932,12 @@ __webpack_require__.d(__webpack_exports__, "getFormValidErrors", function() { re
78932
78932
  __webpack_require__.d(__webpack_exports__, "stringUrlQuery", function() { return /* reexport */ common_stringUrlQuery; });
78933
78933
  __webpack_require__.d(__webpack_exports__, "getRouteFullPath", function() { return /* reexport */ getRouteFullPath; });
78934
78934
  __webpack_require__.d(__webpack_exports__, "getGridValidErrors", function() { return /* reexport */ getGridValidErrors; });
78935
+ __webpack_require__.d(__webpack_exports__, "successMsg", function() { return /* reexport */ successMsg; });
78936
+ __webpack_require__.d(__webpack_exports__, "warningMsg", function() { return /* reexport */ warningMsg; });
78937
+ __webpack_require__.d(__webpack_exports__, "errorMsg", function() { return /* reexport */ common_errorMsg; });
78938
+ __webpack_require__.d(__webpack_exports__, "infoMsg", function() { return /* reexport */ infoMsg; });
78939
+ __webpack_require__.d(__webpack_exports__, "closeMsg", function() { return /* reexport */ closeMsg; });
78940
+ __webpack_require__.d(__webpack_exports__, "routeBeforeEach", function() { return /* reexport */ routeBeforeEach; });
78935
78941
  __webpack_require__.d(__webpack_exports__, "timeAgo", function() { return /* reexport */ timeAgo; });
78936
78942
  __webpack_require__.d(__webpack_exports__, "parseTime", function() { return /* reexport */ parseTime; });
78937
78943
  __webpack_require__.d(__webpack_exports__, "formatTime", function() { return /* reexport */ formatTime; });
@@ -107773,6 +107779,41 @@ function replaceParamString(
107773
107779
  async function getGridValidErrors(gridView) {
107774
107780
  const gridErrors = await gridView.fullValidate()
107775
107781
  return gridErrors
107782
+ }
107783
+ function successMsg(msg, desc){
107784
+ notification['success']({ message: msg, description: desc })
107785
+ }
107786
+ function warningMsg(msg, desc){
107787
+ notification['warning']({ message: msg, description: desc })
107788
+ }
107789
+ function common_errorMsg(msg, desc){
107790
+ notification['error']({ message: msg, description: desc })
107791
+ }
107792
+ function infoMsg(dataInfo){
107793
+ notification['info'](dataInfo)
107794
+ }
107795
+ function closeMsg(key){
107796
+ notification.close(key)
107797
+ }
107798
+ function routeBeforeEach(to, from, next){
107799
+ if(to.params.aliveCacheKey){
107800
+ to.meta['aliveCacheKey'] = to.params.aliveCacheKey
107801
+ }
107802
+ if(!to.meta.aliveCacheKey){
107803
+ alert('防呆,子应用没有路由缓存键')
107804
+ }
107805
+ if (to.meta.moduleCode && !store.getters.moduleViewInfo[to.meta.moduleCode]) {
107806
+ store
107807
+ .dispatch('moduleLoadViewInfo', { moduleCode: to.meta.moduleCode })
107808
+ .then(() => {
107809
+ next()
107810
+ })
107811
+ .catch((err) => {
107812
+ console.debug(err)
107813
+ })
107814
+ } else {
107815
+ next()
107816
+ }
107776
107817
  }
107777
107818
  // EXTERNAL MODULE: ./node_modules/_axios@0.18.0@axios/index.js
107778
107819
  var _axios_0_18_0_axios = __webpack_require__("7f43");
@@ -78941,6 +78941,12 @@ __webpack_require__.d(__webpack_exports__, "getFormValidErrors", function() { re
78941
78941
  __webpack_require__.d(__webpack_exports__, "stringUrlQuery", function() { return /* reexport */ common_stringUrlQuery; });
78942
78942
  __webpack_require__.d(__webpack_exports__, "getRouteFullPath", function() { return /* reexport */ getRouteFullPath; });
78943
78943
  __webpack_require__.d(__webpack_exports__, "getGridValidErrors", function() { return /* reexport */ getGridValidErrors; });
78944
+ __webpack_require__.d(__webpack_exports__, "successMsg", function() { return /* reexport */ successMsg; });
78945
+ __webpack_require__.d(__webpack_exports__, "warningMsg", function() { return /* reexport */ warningMsg; });
78946
+ __webpack_require__.d(__webpack_exports__, "errorMsg", function() { return /* reexport */ common_errorMsg; });
78947
+ __webpack_require__.d(__webpack_exports__, "infoMsg", function() { return /* reexport */ infoMsg; });
78948
+ __webpack_require__.d(__webpack_exports__, "closeMsg", function() { return /* reexport */ closeMsg; });
78949
+ __webpack_require__.d(__webpack_exports__, "routeBeforeEach", function() { return /* reexport */ routeBeforeEach; });
78944
78950
  __webpack_require__.d(__webpack_exports__, "timeAgo", function() { return /* reexport */ timeAgo; });
78945
78951
  __webpack_require__.d(__webpack_exports__, "parseTime", function() { return /* reexport */ parseTime; });
78946
78952
  __webpack_require__.d(__webpack_exports__, "formatTime", function() { return /* reexport */ formatTime; });
@@ -107782,6 +107788,41 @@ function replaceParamString(
107782
107788
  async function getGridValidErrors(gridView) {
107783
107789
  const gridErrors = await gridView.fullValidate()
107784
107790
  return gridErrors
107791
+ }
107792
+ function successMsg(msg, desc){
107793
+ notification['success']({ message: msg, description: desc })
107794
+ }
107795
+ function warningMsg(msg, desc){
107796
+ notification['warning']({ message: msg, description: desc })
107797
+ }
107798
+ function common_errorMsg(msg, desc){
107799
+ notification['error']({ message: msg, description: desc })
107800
+ }
107801
+ function infoMsg(dataInfo){
107802
+ notification['info'](dataInfo)
107803
+ }
107804
+ function closeMsg(key){
107805
+ notification.close(key)
107806
+ }
107807
+ function routeBeforeEach(to, from, next){
107808
+ if(to.params.aliveCacheKey){
107809
+ to.meta['aliveCacheKey'] = to.params.aliveCacheKey
107810
+ }
107811
+ if(!to.meta.aliveCacheKey){
107812
+ alert('防呆,子应用没有路由缓存键')
107813
+ }
107814
+ if (to.meta.moduleCode && !store.getters.moduleViewInfo[to.meta.moduleCode]) {
107815
+ store
107816
+ .dispatch('moduleLoadViewInfo', { moduleCode: to.meta.moduleCode })
107817
+ .then(() => {
107818
+ next()
107819
+ })
107820
+ .catch((err) => {
107821
+ console.debug(err)
107822
+ })
107823
+ } else {
107824
+ next()
107825
+ }
107785
107826
  }
107786
107827
  // EXTERNAL MODULE: ./node_modules/_axios@0.18.0@axios/index.js
107787
107828
  var _axios_0_18_0_axios = __webpack_require__("7f43");