doway-coms 1.1.40 → 1.1.42
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/doway-coms.common.js +8 -4
- package/lib/doway-coms.umd.js +8 -4
- package/lib/doway-coms.umd.min.js +12 -12
- package/package.json +1 -1
package/lib/doway-coms.common.js
CHANGED
|
@@ -79232,7 +79232,7 @@ __webpack_require__.d(__webpack_exports__, "setFrameToolBtnState", function() {
|
|
|
79232
79232
|
__webpack_require__.d(__webpack_exports__, "showErrors", function() { return /* reexport */ showErrors; });
|
|
79233
79233
|
__webpack_require__.d(__webpack_exports__, "getUuid", function() { return /* reexport */ common_getUuid; });
|
|
79234
79234
|
__webpack_require__.d(__webpack_exports__, "getFormValidErrors", function() { return /* reexport */ getFormValidErrors; });
|
|
79235
|
-
__webpack_require__.d(__webpack_exports__, "stringUrlQuery", function() { return /* reexport */
|
|
79235
|
+
__webpack_require__.d(__webpack_exports__, "stringUrlQuery", function() { return /* reexport */ stringUrlQuery; });
|
|
79236
79236
|
__webpack_require__.d(__webpack_exports__, "getRouteFullPath", function() { return /* reexport */ getRouteFullPath; });
|
|
79237
79237
|
__webpack_require__.d(__webpack_exports__, "getGridValidErrors", function() { return /* reexport */ getGridValidErrors; });
|
|
79238
79238
|
__webpack_require__.d(__webpack_exports__, "routeBeforeEach", function() { return /* reexport */ routeBeforeEach; });
|
|
@@ -104043,6 +104043,9 @@ function gridDefaultValueDisplay(rowInfo,colInfo){
|
|
|
104043
104043
|
let colControlType = colInfo.params.controlType
|
|
104044
104044
|
let displayValue = rowInfo[colInfo.field]
|
|
104045
104045
|
switch(colControlType){
|
|
104046
|
+
case controlType.checkbox:
|
|
104047
|
+
displayValue = displayValue===true?'是':'否'
|
|
104048
|
+
break
|
|
104046
104049
|
case controlType.select:
|
|
104047
104050
|
const item = colInfo.params.dataSource.find(
|
|
104048
104051
|
item => item.value === displayValue
|
|
@@ -107998,6 +108001,7 @@ var vuex_esm = __webpack_require__("7736");
|
|
|
107998
108001
|
|
|
107999
108002
|
|
|
108000
108003
|
|
|
108004
|
+
|
|
108001
108005
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(vuex_esm["a" /* default */])
|
|
108002
108006
|
|
|
108003
108007
|
/* harmony default export */ var utils_store = (new vuex_esm["a" /* default */].Store({
|
|
@@ -108051,7 +108055,7 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(vuex_esm["a" /* defau
|
|
|
108051
108055
|
) {
|
|
108052
108056
|
keepAliveComp.cache[newRoutePath] = keepAliveComp.cache[cacheKey]
|
|
108053
108057
|
keepAliveComp.keyToCache = newRoutePath
|
|
108054
|
-
|
|
108058
|
+
_xe_utils_3_5_4_xe_utils_default.a.remove(keepAliveComp.keys, loopKey => loopKey === cacheKey)
|
|
108055
108059
|
delete keepAliveComp.cache[cacheKey]
|
|
108056
108060
|
keepAliveComp.keys.push(newRoutePath)
|
|
108057
108061
|
break
|
|
@@ -108330,7 +108334,7 @@ function replaceParamString(
|
|
|
108330
108334
|
}
|
|
108331
108335
|
return formErrors
|
|
108332
108336
|
}
|
|
108333
|
-
function
|
|
108337
|
+
function stringUrlQuery(obj) {
|
|
108334
108338
|
let strUrlQuery = ''
|
|
108335
108339
|
for (let prop in obj) {
|
|
108336
108340
|
strUrlQuery = strUrlQuery + prop + '=' + obj[prop] + '&'
|
|
@@ -108341,7 +108345,7 @@ function replaceParamString(
|
|
|
108341
108345
|
return strUrlQuery
|
|
108342
108346
|
}
|
|
108343
108347
|
function getRouteFullPath(route) {
|
|
108344
|
-
let fullPath = route.path + '?' +
|
|
108348
|
+
let fullPath = route.path + '?' + stringUrlQuery(route.query)
|
|
108345
108349
|
return fullPath
|
|
108346
108350
|
}
|
|
108347
108351
|
async function getGridValidErrors(gridView) {
|
package/lib/doway-coms.umd.js
CHANGED
|
@@ -79241,7 +79241,7 @@ __webpack_require__.d(__webpack_exports__, "setFrameToolBtnState", function() {
|
|
|
79241
79241
|
__webpack_require__.d(__webpack_exports__, "showErrors", function() { return /* reexport */ showErrors; });
|
|
79242
79242
|
__webpack_require__.d(__webpack_exports__, "getUuid", function() { return /* reexport */ common_getUuid; });
|
|
79243
79243
|
__webpack_require__.d(__webpack_exports__, "getFormValidErrors", function() { return /* reexport */ getFormValidErrors; });
|
|
79244
|
-
__webpack_require__.d(__webpack_exports__, "stringUrlQuery", function() { return /* reexport */
|
|
79244
|
+
__webpack_require__.d(__webpack_exports__, "stringUrlQuery", function() { return /* reexport */ stringUrlQuery; });
|
|
79245
79245
|
__webpack_require__.d(__webpack_exports__, "getRouteFullPath", function() { return /* reexport */ getRouteFullPath; });
|
|
79246
79246
|
__webpack_require__.d(__webpack_exports__, "getGridValidErrors", function() { return /* reexport */ getGridValidErrors; });
|
|
79247
79247
|
__webpack_require__.d(__webpack_exports__, "routeBeforeEach", function() { return /* reexport */ routeBeforeEach; });
|
|
@@ -104052,6 +104052,9 @@ function gridDefaultValueDisplay(rowInfo,colInfo){
|
|
|
104052
104052
|
let colControlType = colInfo.params.controlType
|
|
104053
104053
|
let displayValue = rowInfo[colInfo.field]
|
|
104054
104054
|
switch(colControlType){
|
|
104055
|
+
case controlType.checkbox:
|
|
104056
|
+
displayValue = displayValue===true?'是':'否'
|
|
104057
|
+
break
|
|
104055
104058
|
case controlType.select:
|
|
104056
104059
|
const item = colInfo.params.dataSource.find(
|
|
104057
104060
|
item => item.value === displayValue
|
|
@@ -108007,6 +108010,7 @@ var vuex_esm = __webpack_require__("7736");
|
|
|
108007
108010
|
|
|
108008
108011
|
|
|
108009
108012
|
|
|
108013
|
+
|
|
108010
108014
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(vuex_esm["a" /* default */])
|
|
108011
108015
|
|
|
108012
108016
|
/* harmony default export */ var utils_store = (new vuex_esm["a" /* default */].Store({
|
|
@@ -108060,7 +108064,7 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(vuex_esm["a" /* defau
|
|
|
108060
108064
|
) {
|
|
108061
108065
|
keepAliveComp.cache[newRoutePath] = keepAliveComp.cache[cacheKey]
|
|
108062
108066
|
keepAliveComp.keyToCache = newRoutePath
|
|
108063
|
-
|
|
108067
|
+
_xe_utils_3_5_4_xe_utils_default.a.remove(keepAliveComp.keys, loopKey => loopKey === cacheKey)
|
|
108064
108068
|
delete keepAliveComp.cache[cacheKey]
|
|
108065
108069
|
keepAliveComp.keys.push(newRoutePath)
|
|
108066
108070
|
break
|
|
@@ -108339,7 +108343,7 @@ function replaceParamString(
|
|
|
108339
108343
|
}
|
|
108340
108344
|
return formErrors
|
|
108341
108345
|
}
|
|
108342
|
-
function
|
|
108346
|
+
function stringUrlQuery(obj) {
|
|
108343
108347
|
let strUrlQuery = ''
|
|
108344
108348
|
for (let prop in obj) {
|
|
108345
108349
|
strUrlQuery = strUrlQuery + prop + '=' + obj[prop] + '&'
|
|
@@ -108350,7 +108354,7 @@ function replaceParamString(
|
|
|
108350
108354
|
return strUrlQuery
|
|
108351
108355
|
}
|
|
108352
108356
|
function getRouteFullPath(route) {
|
|
108353
|
-
let fullPath = route.path + '?' +
|
|
108357
|
+
let fullPath = route.path + '?' + stringUrlQuery(route.query)
|
|
108354
108358
|
return fullPath
|
|
108355
108359
|
}
|
|
108356
108360
|
async function getGridValidErrors(gridView) {
|