eoss-mobiles 0.2.91 → 0.2.93
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/checkbox.js +28 -8
- package/lib/eoss-mobile.common.js +224 -124
- package/lib/flow.js +145 -83
- package/lib/index.js +1 -1
- package/lib/radio.js +11 -2
- package/lib/selector.js +29 -20
- package/package.json +1 -1
- package/packages/checkbox/src/main.vue +22 -0
- package/packages/flow/src/components/Handle.vue +46 -36
- package/packages/flow/src/components/Message.vue +10 -0
- package/packages/flow/src/components/Reject.vue +9 -0
- package/packages/flow/src/components/StartFlow.vue +29 -19
- package/packages/flow/src/components/TaskRead.vue +10 -3
- package/packages/flow/src/components/taskUnionExamine.vue +10 -4
- package/packages/radio/src/main.vue +4 -0
- package/packages/selector/src/selector-field.vue +21 -9
- package/src/index.js +1 -1
package/lib/checkbox.js
CHANGED
|
@@ -2048,7 +2048,7 @@ var http_request = function request(options) {
|
|
|
2048
2048
|
// ESM COMPAT FLAG
|
|
2049
2049
|
__webpack_require__.r(__webpack_exports__);
|
|
2050
2050
|
|
|
2051
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/main.vue?vue&type=template&id=
|
|
2051
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/main.vue?vue&type=template&id=510cbd18&
|
|
2052
2052
|
var render = function () {
|
|
2053
2053
|
var _vm = this
|
|
2054
2054
|
var _h = _vm.$createElement
|
|
@@ -2156,7 +2156,7 @@ var staticRenderFns = []
|
|
|
2156
2156
|
render._withStripped = true
|
|
2157
2157
|
|
|
2158
2158
|
|
|
2159
|
-
// CONCATENATED MODULE: ./packages/checkbox/src/main.vue?vue&type=template&id=
|
|
2159
|
+
// CONCATENATED MODULE: ./packages/checkbox/src/main.vue?vue&type=template&id=510cbd18&
|
|
2160
2160
|
|
|
2161
2161
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
2162
2162
|
var api = __webpack_require__(2);
|
|
@@ -2252,6 +2252,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
2252
2252
|
type: String,
|
|
2253
2253
|
default: 'round'
|
|
2254
2254
|
},
|
|
2255
|
+
disabledValue: {
|
|
2256
|
+
type: String,
|
|
2257
|
+
default: ''
|
|
2258
|
+
},
|
|
2255
2259
|
iconSize: {
|
|
2256
2260
|
type: [String, Number],
|
|
2257
2261
|
default: '20px'
|
|
@@ -2324,6 +2328,21 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
2324
2328
|
this.newData = val;
|
|
2325
2329
|
},
|
|
2326
2330
|
|
|
2331
|
+
deep: true,
|
|
2332
|
+
immediate: true
|
|
2333
|
+
},
|
|
2334
|
+
disabledValue: {
|
|
2335
|
+
handler: function handler(val) {
|
|
2336
|
+
var _this2 = this;
|
|
2337
|
+
|
|
2338
|
+
this.newData.map(function (item) {
|
|
2339
|
+
item.name = _this2.allowHtml ? item[_this2.sysAppCode ? 'shortName' : _this2.labelKey] : item[_this2.sysAppCode ? 'shortName' : _this2.labelKey].replace(/<[^>]+>/g, '');
|
|
2340
|
+
item.value = item[_this2.sysAppCode ? 'cciValue' : _this2.value];
|
|
2341
|
+
|
|
2342
|
+
item.disabled = val.indexOf(item.value) != -1;
|
|
2343
|
+
});
|
|
2344
|
+
},
|
|
2345
|
+
|
|
2327
2346
|
deep: true,
|
|
2328
2347
|
immediate: true
|
|
2329
2348
|
}
|
|
@@ -2348,7 +2367,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
2348
2367
|
this.$refs.checkboxGroup.toggleAll(val);
|
|
2349
2368
|
},
|
|
2350
2369
|
getSysCode: function getSysCode() {
|
|
2351
|
-
var
|
|
2370
|
+
var _this3 = this;
|
|
2352
2371
|
|
|
2353
2372
|
var url = this.url,
|
|
2354
2373
|
method = this.method,
|
|
@@ -2371,15 +2390,16 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
2371
2390
|
|
|
2372
2391
|
if (status == 'success' || rCode === 0 || status === true) {
|
|
2373
2392
|
[].concat(data || results).map(function (item) {
|
|
2374
|
-
item.name =
|
|
2375
|
-
item.value = item[sysAppCode ? 'cciValue' :
|
|
2393
|
+
item.name = _this3.allowHtml ? item[sysAppCode ? 'shortName' : _this3.labelKey] : item[sysAppCode ? 'shortName' : _this3.labelKey].replace(/<[^>]+>/g, '');
|
|
2394
|
+
item.value = item[sysAppCode ? 'cciValue' : _this3.value];
|
|
2395
|
+
item.disabled = _this3.disabledValue.indexOf(item.value) != -1;
|
|
2376
2396
|
});
|
|
2377
|
-
|
|
2397
|
+
_this3.newData = data || results;
|
|
2378
2398
|
} else {
|
|
2379
|
-
|
|
2399
|
+
_this3.$toast(message);
|
|
2380
2400
|
}
|
|
2381
2401
|
}).catch(function (err) {
|
|
2382
|
-
|
|
2402
|
+
_this3.$toast(err.message);
|
|
2383
2403
|
});
|
|
2384
2404
|
}
|
|
2385
2405
|
}
|