eoss-ui 0.4.17 → 0.4.19
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/button-group.js +88 -88
- package/lib/button.js +90 -90
- package/lib/card.js +2 -2
- package/lib/cascader.js +2 -2
- package/lib/checkbox-group.js +89 -89
- package/lib/clients.js +2 -2
- package/lib/data-table-form.js +870 -198
- package/lib/data-table.js +91 -91
- package/lib/date-picker.js +90 -90
- package/lib/dialog.js +144 -105
- package/lib/enterprise.js +2 -2
- package/lib/eoss-ui.common.js +1518 -671
- package/lib/error-page.js +2 -2
- package/lib/flow-group.js +112 -95
- package/lib/flow-list.js +92 -92
- package/lib/flow.js +187 -173
- package/lib/form.js +183 -102
- package/lib/handle-user.js +91 -91
- package/lib/handler.js +91 -91
- package/lib/index.js +1 -1
- package/lib/input-number.js +90 -90
- package/lib/input.js +90 -90
- package/lib/label.js +2 -2
- package/lib/login.js +174 -131
- package/lib/main.js +114 -113
- package/lib/mainComp.js +107 -106
- package/lib/menu.js +2 -2
- package/lib/nav.js +90 -90
- package/lib/notify.js +95 -95
- package/lib/page.js +90 -90
- package/lib/pagination.js +2 -2
- package/lib/player.js +90 -90
- package/lib/qr-code.js +97 -97
- package/lib/radio-group.js +91 -91
- package/lib/select-ganged.js +90 -90
- package/lib/select.js +101 -101
- package/lib/selector-panel.js +115 -108
- package/lib/selector.js +97 -95
- package/lib/sizer.js +92 -92
- package/lib/steps.js +90 -90
- package/lib/switch.js +90 -90
- package/lib/table-form.js +97 -97
- package/lib/tabs-panel.js +2 -2
- package/lib/tabs.js +113 -94
- package/lib/theme-chalk/data-table-form.css +1 -1
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/tree.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/tips.js +91 -91
- package/lib/toolbar.js +2 -2
- package/lib/tree-group.js +105 -95
- package/lib/tree.js +104 -94
- package/lib/upload.js +175 -125
- package/lib/wujie.js +90 -90
- package/lib/wxlogin.js +90 -90
- package/package.json +2 -2
- package/packages/data-table-form/src/checkbox.vue +101 -0
- package/packages/data-table-form/src/radio.vue +65 -0
- package/packages/data-table-form/src/table.vue +34 -6
- package/packages/data-table-form/src/tbody.vue +139 -25
- package/packages/dialog/src/main.vue +35 -4
- package/packages/flow/src/main.vue +103 -87
- package/packages/flow/src/selectUser.vue +13 -12
- package/packages/flow-group/src/main.vue +22 -13
- package/packages/form/src/main.vue +563 -470
- package/packages/login/src/main.vue +79 -34
- package/packages/main/src/main.vue +6 -6
- package/packages/select/src/main.vue +20 -20
- package/packages/selector/src/main.vue +9 -9
- package/packages/selector-panel/src/main.vue +27 -17
- package/packages/tabs/src/main.vue +20 -12
- package/packages/theme-chalk/lib/data-table-form.css +1 -1
- package/packages/theme-chalk/lib/flow.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/tree.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/data-table-form.scss +7 -6
- package/packages/theme-chalk/src/flow.scss +10 -20
- package/packages/theme-chalk/src/index.scss +0 -1
- package/packages/theme-chalk/src/tree.scss +1 -1
- package/packages/theme-chalk/src/upload.scss +10 -3
- package/packages/tree/src/main.vue +20 -13
- package/packages/tree-group/src/main.vue +7 -4
- package/packages/upload/src/main.vue +77 -20
- package/src/index.js +1 -4
- package/lib/ca-login.js +0 -326
- package/lib/theme-chalk/ca-login.css +0 -1
- package/packages/ca-login/index.js +0 -5
- package/packages/ca-login/src/main.vue +0 -62
- package/packages/theme-chalk/lib/ca-login.css +0 -1
- package/packages/theme-chalk/src/ca-login.scss +0 -4
package/lib/data-table-form.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 25);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ([
|
|
@@ -2240,120 +2240,120 @@ var watermark = function watermark(option) {
|
|
|
2240
2240
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2241
2241
|
|
|
2242
2242
|
"use strict";
|
|
2243
|
-
/*
|
|
2244
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2245
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2246
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2247
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2248
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2243
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return doCaLogin; });
|
|
2244
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doUserLogin; });
|
|
2245
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return doQrLogin; });
|
|
2246
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return logout; });
|
|
2247
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return initLogin; });
|
|
2248
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return switchUserTo; });
|
|
2249
2249
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
|
|
2250
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2251
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2250
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getLoginCode; });
|
|
2251
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doCodeLogin; });
|
|
2252
2252
|
/* unused harmony export updateCode */
|
|
2253
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2253
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getModifyPassCode; });
|
|
2254
2254
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return codeModifyPass; });
|
|
2255
2255
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return authCenter; });
|
|
2256
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2257
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2258
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2259
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2260
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2256
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return initModifyPassword; });
|
|
2257
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doWechatQrLogin; });
|
|
2258
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return mainConfig; });
|
|
2259
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return initUserSet; });
|
|
2260
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return updateUserInfo; });
|
|
2261
2261
|
/* unused harmony export getUserImgUrl */
|
|
2262
2262
|
/* unused harmony export getDoorIndex */
|
|
2263
2263
|
/* unused harmony export refreshOnlineUsers */
|
|
2264
2264
|
/* unused harmony export getQuickMenuIds */
|
|
2265
2265
|
/* unused harmony export getApplicationIdArray */
|
|
2266
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2267
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2266
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return getComplexApplications; });
|
|
2267
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return getComplexApplicationsNew; });
|
|
2268
2268
|
/* unused harmony export getUserCustomInfo */
|
|
2269
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2270
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2271
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2272
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2273
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2274
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2275
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2276
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2277
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2278
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2279
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2280
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2281
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2282
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2269
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return updateUserCustomInfo; });
|
|
2270
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return sysMsgPage; });
|
|
2271
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return ignoreSysMsg; });
|
|
2272
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return ignoreAllSysMsg; });
|
|
2273
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return getAdjunctProperties; });
|
|
2274
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return uploads; });
|
|
2275
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return uploadOnlyOne; });
|
|
2276
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return getAdjunctFileInfos; });
|
|
2277
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return uploadSort; });
|
|
2278
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return downloadByAdjunctId; });
|
|
2279
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return uploadDownloads; });
|
|
2280
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return previewAdjunct; });
|
|
2281
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return previewAdjunct2; });
|
|
2282
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return previewAdjunctOffice; });
|
|
2283
2283
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return delAdjunct; });
|
|
2284
2284
|
/* unused harmony export upload_updateClassify */
|
|
2285
2285
|
/* unused harmony export getDeleteAdjunctFileInfos */
|
|
2286
2286
|
/* unused harmony export getPictureBase64 */
|
|
2287
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2288
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2289
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2290
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2291
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2287
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getSelectorOrgTree; });
|
|
2288
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getSelectorOrgDetail; });
|
|
2289
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getOrgMainTree; });
|
|
2290
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getSelectOrgsubids; });
|
|
2291
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return findSysCode; });
|
|
2292
2292
|
/* unused harmony export findUserBaseInfo */
|
|
2293
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2293
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return gethelpdoc; });
|
|
2294
2294
|
/* unused harmony export getCurrentuser */
|
|
2295
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2296
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2297
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2295
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return mainDetail; });
|
|
2296
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return toStartFlow; });
|
|
2297
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return tempSave; });
|
|
2298
2298
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return commonOpion; });
|
|
2299
2299
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
|
|
2300
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2301
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2302
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2300
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return editCommonOpion; });
|
|
2301
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return saveCommonOpinion; });
|
|
2302
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return updateCommonOpinion; });
|
|
2303
2303
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return deleteCommonOpion; });
|
|
2304
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2305
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2306
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2307
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2308
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2309
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2310
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2304
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getProcessDefList; });
|
|
2305
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getNodeInfo; });
|
|
2306
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return findCodeValues; });
|
|
2307
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return findSysCodes; });
|
|
2308
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return getNotificationMsg; });
|
|
2309
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getHandleInfoHtml; });
|
|
2310
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return taskHandleHtml; });
|
|
2311
2311
|
/* unused harmony export getView */
|
|
2312
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2313
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2314
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2315
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2316
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2317
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2318
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2319
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2320
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2321
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2322
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2323
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2324
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2325
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2326
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2327
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2328
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2329
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2330
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2331
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2312
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return register; });
|
|
2313
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return pendedhistoryList; });
|
|
2314
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return toTaskRejectHtml; });
|
|
2315
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return taskRejectHtml; });
|
|
2316
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return toStartTaskRead; });
|
|
2317
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return toStartTaskReadIndex; });
|
|
2318
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return taskReadHtml; });
|
|
2319
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return rejectAndEnd; });
|
|
2320
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return toSendMsg; });
|
|
2321
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return sendMsg; });
|
|
2322
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return endFlowHtml; });
|
|
2323
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return handleInfo; });
|
|
2324
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return loginUserInfo; });
|
|
2325
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return wss; });
|
|
2326
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return topic; });
|
|
2327
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getPresetCustomInfo; });
|
|
2328
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getPresetNodeInfo; });
|
|
2329
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return toTaskTransferIndex; });
|
|
2330
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return taskTransfer; });
|
|
2331
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return toPresetInfoListIndex; });
|
|
2332
2332
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deletePresetInfo; });
|
|
2333
2333
|
/* unused harmony export historyListJson */
|
|
2334
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2335
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2334
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return pendedhistoryListJson; });
|
|
2335
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return pressListJson; });
|
|
2336
2336
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteFlow; });
|
|
2337
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2338
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2339
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2340
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2341
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2342
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2343
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2344
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2345
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2346
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2347
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2348
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2349
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2350
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2351
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2337
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return isCanStartSubFlow; });
|
|
2338
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toTaskUnionExamine; });
|
|
2339
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return taskUnionExamine; });
|
|
2340
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return toTaskTakeAdvice; });
|
|
2341
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return taskTakeAdvice; });
|
|
2342
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return toTaskStartDraft; });
|
|
2343
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return taskStartDraft; });
|
|
2344
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return toTaskReview; });
|
|
2345
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return taskReview; });
|
|
2346
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toTaskUnionSeal; });
|
|
2347
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return taskUnionSeal; });
|
|
2348
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toTwoOfficesDispatch; });
|
|
2349
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return twoOfficesDispatch; });
|
|
2350
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return sendList; });
|
|
2351
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return sendInfo; });
|
|
2352
2352
|
/* unused harmony export sendSave */
|
|
2353
2353
|
/* unused harmony export sendUpdate */
|
|
2354
2354
|
/* unused harmony export sendDelete */
|
|
2355
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2356
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
2355
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return sendBatch; });
|
|
2356
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return formContents; });
|
|
2357
2357
|
// 登录
|
|
2358
2358
|
var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
|
|
2359
2359
|
var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
|
|
@@ -2737,9 +2737,7 @@ window.__store = store;
|
|
|
2737
2737
|
/* 22 */,
|
|
2738
2738
|
/* 23 */,
|
|
2739
2739
|
/* 24 */,
|
|
2740
|
-
/* 25
|
|
2741
|
-
/* 26 */,
|
|
2742
|
-
/* 27 */
|
|
2740
|
+
/* 25 */
|
|
2743
2741
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2744
2742
|
|
|
2745
2743
|
"use strict";
|
|
@@ -2755,8 +2753,8 @@ var api = __webpack_require__(1);
|
|
|
2755
2753
|
// EXTERNAL MODULE: ./src/utils/store.js
|
|
2756
2754
|
var store = __webpack_require__(8);
|
|
2757
2755
|
|
|
2758
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/table.vue?vue&type=template&id=
|
|
2759
|
-
var
|
|
2756
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/table.vue?vue&type=template&id=736ff20c&
|
|
2757
|
+
var tablevue_type_template_id_736ff20c_render = function () {
|
|
2760
2758
|
var _vm = this
|
|
2761
2759
|
var _h = _vm.$createElement
|
|
2762
2760
|
var _c = _vm._self._c || _h
|
|
@@ -2818,7 +2816,48 @@ var tablevue_type_template_id_869a85d8_render = function () {
|
|
|
2818
2816
|
? [
|
|
2819
2817
|
_vm._l(_vm.types, function (item, index) {
|
|
2820
2818
|
return [
|
|
2821
|
-
item.type === "
|
|
2819
|
+
item.type === "selector" && _vm.selectorShow
|
|
2820
|
+
? _c(
|
|
2821
|
+
"es-dialog",
|
|
2822
|
+
{
|
|
2823
|
+
staticClass: "es-selector-dialog",
|
|
2824
|
+
attrs: {
|
|
2825
|
+
title: item.title || "公用选择器",
|
|
2826
|
+
visible: _vm.selectorShow,
|
|
2827
|
+
css: false,
|
|
2828
|
+
"append-to-body": true,
|
|
2829
|
+
"close-on-click-modal": false,
|
|
2830
|
+
},
|
|
2831
|
+
on: {
|
|
2832
|
+
"update:visible": function ($event) {
|
|
2833
|
+
_vm.selectorShow = $event
|
|
2834
|
+
},
|
|
2835
|
+
},
|
|
2836
|
+
},
|
|
2837
|
+
[
|
|
2838
|
+
_c(
|
|
2839
|
+
"es-selector-panel",
|
|
2840
|
+
_vm._b(
|
|
2841
|
+
{
|
|
2842
|
+
attrs: { width: "100%", height: "100%" },
|
|
2843
|
+
on: { confirm: _vm.handleConfirm },
|
|
2844
|
+
model: {
|
|
2845
|
+
value: _vm.selectorValue,
|
|
2846
|
+
callback: function ($$v) {
|
|
2847
|
+
_vm.selectorValue = $$v
|
|
2848
|
+
},
|
|
2849
|
+
expression: "selectorValue",
|
|
2850
|
+
},
|
|
2851
|
+
},
|
|
2852
|
+
"es-selector-panel",
|
|
2853
|
+
_vm.exclAttribute({ data: item, attrs: "type" }),
|
|
2854
|
+
false
|
|
2855
|
+
)
|
|
2856
|
+
),
|
|
2857
|
+
],
|
|
2858
|
+
1
|
|
2859
|
+
)
|
|
2860
|
+
: item.type === "select" && _vm.selectShow
|
|
2822
2861
|
? _c(
|
|
2823
2862
|
"es-select",
|
|
2824
2863
|
_vm._b(
|
|
@@ -2833,7 +2872,7 @@ var tablevue_type_template_id_869a85d8_render = function () {
|
|
|
2833
2872
|
_vm.selectShow = false
|
|
2834
2873
|
},
|
|
2835
2874
|
change: function (value) {
|
|
2836
|
-
_vm.handleChange("
|
|
2875
|
+
_vm.handleChange("select", value)
|
|
2837
2876
|
},
|
|
2838
2877
|
},
|
|
2839
2878
|
model: {
|
|
@@ -2902,10 +2941,10 @@ var tablevue_type_template_id_869a85d8_render = function () {
|
|
|
2902
2941
|
)
|
|
2903
2942
|
}
|
|
2904
2943
|
var staticRenderFns = []
|
|
2905
|
-
|
|
2944
|
+
tablevue_type_template_id_736ff20c_render._withStripped = true
|
|
2906
2945
|
|
|
2907
2946
|
|
|
2908
|
-
// CONCATENATED MODULE: ./packages/data-table-form/src/table.vue?vue&type=template&id=
|
|
2947
|
+
// CONCATENATED MODULE: ./packages/data-table-form/src/table.vue?vue&type=template&id=736ff20c&
|
|
2909
2948
|
|
|
2910
2949
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/colgroup.vue?vue&type=template&id=9b289ebe&
|
|
2911
2950
|
var colgroupvue_type_template_id_9b289ebe_render = function () {
|
|
@@ -3120,8 +3159,8 @@ var thead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
3120
3159
|
)
|
|
3121
3160
|
|
|
3122
3161
|
/* harmony default export */ var thead = (thead_component.exports);
|
|
3123
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/tbody.vue?vue&type=template&id=
|
|
3124
|
-
var
|
|
3162
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/tbody.vue?vue&type=template&id=6ced763c&
|
|
3163
|
+
var tbodyvue_type_template_id_6ced763c_render = function () {
|
|
3125
3164
|
var _vm = this
|
|
3126
3165
|
var _h = _vm.$createElement
|
|
3127
3166
|
var _c = _vm._self._c || _h
|
|
@@ -3174,7 +3213,60 @@ var tbodyvue_type_template_id_465964dd_render = function () {
|
|
|
3174
3213
|
),
|
|
3175
3214
|
]
|
|
3176
3215
|
: [
|
|
3177
|
-
item.type === "
|
|
3216
|
+
item.type === "radio"
|
|
3217
|
+
? _c(
|
|
3218
|
+
"eo-radio",
|
|
3219
|
+
_vm._b(
|
|
3220
|
+
{
|
|
3221
|
+
attrs: {
|
|
3222
|
+
index: indexs,
|
|
3223
|
+
options: _vm.options[item.field || item.prop],
|
|
3224
|
+
},
|
|
3225
|
+
model: {
|
|
3226
|
+
value: items[item.field || item.prop],
|
|
3227
|
+
callback: function ($$v) {
|
|
3228
|
+
_vm.$set(
|
|
3229
|
+
items,
|
|
3230
|
+
item.field || item.prop,
|
|
3231
|
+
$$v
|
|
3232
|
+
)
|
|
3233
|
+
},
|
|
3234
|
+
expression: "items[item.field || item.prop]",
|
|
3235
|
+
},
|
|
3236
|
+
},
|
|
3237
|
+
"eo-radio",
|
|
3238
|
+
item,
|
|
3239
|
+
false
|
|
3240
|
+
)
|
|
3241
|
+
)
|
|
3242
|
+
: _vm._e(),
|
|
3243
|
+
item.type === "checkbox"
|
|
3244
|
+
? _c(
|
|
3245
|
+
"eo-checkbox",
|
|
3246
|
+
_vm._b(
|
|
3247
|
+
{
|
|
3248
|
+
attrs: {
|
|
3249
|
+
index: indexs,
|
|
3250
|
+
options: _vm.options[item.field || item.prop],
|
|
3251
|
+
},
|
|
3252
|
+
model: {
|
|
3253
|
+
value: items[item.field || item.prop],
|
|
3254
|
+
callback: function ($$v) {
|
|
3255
|
+
_vm.$set(
|
|
3256
|
+
items,
|
|
3257
|
+
item.field || item.prop,
|
|
3258
|
+
$$v
|
|
3259
|
+
)
|
|
3260
|
+
},
|
|
3261
|
+
expression: "items[item.field || item.prop]",
|
|
3262
|
+
},
|
|
3263
|
+
},
|
|
3264
|
+
"eo-checkbox",
|
|
3265
|
+
item,
|
|
3266
|
+
false
|
|
3267
|
+
)
|
|
3268
|
+
)
|
|
3269
|
+
: item.type === "textarea"
|
|
3178
3270
|
? _c("textarea", {
|
|
3179
3271
|
directives: [
|
|
3180
3272
|
{
|
|
@@ -3221,76 +3313,240 @@ var tbodyvue_type_template_id_465964dd_render = function () {
|
|
|
3221
3313
|
},
|
|
3222
3314
|
})
|
|
3223
3315
|
: _c("div", { staticClass: "es-input-box" }, [
|
|
3224
|
-
item.type === "select"
|
|
3316
|
+
item.type === "select" || item.type === "selector"
|
|
3225
3317
|
? _c(
|
|
3226
3318
|
"div",
|
|
3227
3319
|
{
|
|
3228
|
-
staticClass: "el-input__inner
|
|
3320
|
+
staticClass: "el-input__inner es-select",
|
|
3321
|
+
class: {
|
|
3322
|
+
"es-select-multiple":
|
|
3323
|
+
item.type === "select"
|
|
3324
|
+
? item.multiple
|
|
3325
|
+
: item.multiple !== false,
|
|
3326
|
+
},
|
|
3327
|
+
on: {
|
|
3328
|
+
click: function (event) {
|
|
3329
|
+
_vm.handeClick({
|
|
3330
|
+
item: item,
|
|
3331
|
+
event: event,
|
|
3332
|
+
data: items,
|
|
3333
|
+
})
|
|
3334
|
+
},
|
|
3335
|
+
},
|
|
3229
3336
|
},
|
|
3230
3337
|
[
|
|
3231
|
-
|
|
3232
|
-
"
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
),
|
|
3236
|
-
]
|
|
3237
|
-
)
|
|
3238
|
-
: _vm._e(),
|
|
3239
|
-
_c("input", {
|
|
3240
|
-
directives: [
|
|
3241
|
-
{
|
|
3242
|
-
name: "model",
|
|
3243
|
-
rawName: "v-model.lazy",
|
|
3244
|
-
value: items[item.field],
|
|
3245
|
-
expression: "items[item.field]",
|
|
3246
|
-
modifiers: { lazy: true },
|
|
3247
|
-
},
|
|
3248
|
-
],
|
|
3249
|
-
staticClass: "el-input__inner",
|
|
3250
|
-
attrs: {
|
|
3251
|
-
readonly: item.type && item.type !== "text",
|
|
3252
|
-
},
|
|
3253
|
-
domProps: { value: items[item.field] },
|
|
3254
|
-
on: {
|
|
3255
|
-
click: function (event) {
|
|
3256
|
-
_vm.handeClick({
|
|
3257
|
-
item: item,
|
|
3258
|
-
event: event,
|
|
3259
|
-
data: items,
|
|
3260
|
-
})
|
|
3261
|
-
},
|
|
3262
|
-
blur: function (event) {
|
|
3263
|
-
_vm.handleBlur({
|
|
3264
|
-
item: item,
|
|
3265
|
-
event: event,
|
|
3266
|
-
data: items,
|
|
3267
|
-
})
|
|
3268
|
-
},
|
|
3269
|
-
focus: function (event) {
|
|
3270
|
-
_vm.handleFocus({
|
|
3271
|
-
item: item,
|
|
3272
|
-
event: event,
|
|
3273
|
-
data: items,
|
|
3274
|
-
})
|
|
3275
|
-
},
|
|
3276
|
-
change: [
|
|
3277
|
-
function ($event) {
|
|
3278
|
-
_vm.$set(
|
|
3279
|
-
items,
|
|
3280
|
-
item.field,
|
|
3281
|
-
$event.target.value
|
|
3338
|
+
(
|
|
3339
|
+
item.type === "select"
|
|
3340
|
+
? item.multiple
|
|
3341
|
+
: item.multiple !== false
|
|
3282
3342
|
)
|
|
3343
|
+
? [
|
|
3344
|
+
item.collapseTags
|
|
3345
|
+
? [
|
|
3346
|
+
_c(
|
|
3347
|
+
"span",
|
|
3348
|
+
{
|
|
3349
|
+
staticClass:
|
|
3350
|
+
"el-tag el-tag--info el-tag--small el-tag--light",
|
|
3351
|
+
},
|
|
3352
|
+
[
|
|
3353
|
+
_c(
|
|
3354
|
+
"span",
|
|
3355
|
+
{
|
|
3356
|
+
staticClass:
|
|
3357
|
+
"el-select__tags-text",
|
|
3358
|
+
},
|
|
3359
|
+
[
|
|
3360
|
+
_vm._v(
|
|
3361
|
+
_vm._s(
|
|
3362
|
+
_vm.showLabel(
|
|
3363
|
+
_vm.getLabels(
|
|
3364
|
+
items,
|
|
3365
|
+
item,
|
|
3366
|
+
true
|
|
3367
|
+
)[0],
|
|
3368
|
+
item.labelKey
|
|
3369
|
+
)
|
|
3370
|
+
)
|
|
3371
|
+
),
|
|
3372
|
+
]
|
|
3373
|
+
),
|
|
3374
|
+
_c("i", {
|
|
3375
|
+
staticClass:
|
|
3376
|
+
"el-tag__close el-icon-close",
|
|
3377
|
+
on: {
|
|
3378
|
+
click: function (
|
|
3379
|
+
$event
|
|
3380
|
+
) {
|
|
3381
|
+
$event.stopPropagation()
|
|
3382
|
+
_vm.handleDelete(
|
|
3383
|
+
items,
|
|
3384
|
+
item,
|
|
3385
|
+
0,
|
|
3386
|
+
_vm.getLabels(
|
|
3387
|
+
items,
|
|
3388
|
+
item,
|
|
3389
|
+
true
|
|
3390
|
+
)[0]
|
|
3391
|
+
)
|
|
3392
|
+
},
|
|
3393
|
+
},
|
|
3394
|
+
}),
|
|
3395
|
+
]
|
|
3396
|
+
),
|
|
3397
|
+
_vm.getLabels(items, item, true)
|
|
3398
|
+
.length > 1
|
|
3399
|
+
? _c(
|
|
3400
|
+
"span",
|
|
3401
|
+
{
|
|
3402
|
+
staticClass:
|
|
3403
|
+
"el-tag el-tag--info el-tag--small el-tag--light",
|
|
3404
|
+
},
|
|
3405
|
+
[
|
|
3406
|
+
_c(
|
|
3407
|
+
"span",
|
|
3408
|
+
{
|
|
3409
|
+
staticClass:
|
|
3410
|
+
"el-select__tags-text",
|
|
3411
|
+
},
|
|
3412
|
+
[
|
|
3413
|
+
_vm._v(
|
|
3414
|
+
"+ " +
|
|
3415
|
+
_vm._s(
|
|
3416
|
+
_vm.getLabels(
|
|
3417
|
+
items,
|
|
3418
|
+
item,
|
|
3419
|
+
true
|
|
3420
|
+
).length - 1
|
|
3421
|
+
)
|
|
3422
|
+
),
|
|
3423
|
+
]
|
|
3424
|
+
),
|
|
3425
|
+
]
|
|
3426
|
+
)
|
|
3427
|
+
: _vm._e(),
|
|
3428
|
+
]
|
|
3429
|
+
: _vm._l(
|
|
3430
|
+
_vm.getLabels(
|
|
3431
|
+
items,
|
|
3432
|
+
item,
|
|
3433
|
+
true
|
|
3434
|
+
),
|
|
3435
|
+
function (ele, x) {
|
|
3436
|
+
return _c(
|
|
3437
|
+
"span",
|
|
3438
|
+
{
|
|
3439
|
+
key: x,
|
|
3440
|
+
staticClass:
|
|
3441
|
+
"el-tag el-tag--info el-tag--small el-tag--light",
|
|
3442
|
+
},
|
|
3443
|
+
[
|
|
3444
|
+
_c(
|
|
3445
|
+
"span",
|
|
3446
|
+
{
|
|
3447
|
+
staticClass:
|
|
3448
|
+
"el-select__tags-text",
|
|
3449
|
+
},
|
|
3450
|
+
[
|
|
3451
|
+
_vm._v(
|
|
3452
|
+
_vm._s(
|
|
3453
|
+
_vm.showLabel(
|
|
3454
|
+
ele,
|
|
3455
|
+
item.labelKey
|
|
3456
|
+
)
|
|
3457
|
+
)
|
|
3458
|
+
),
|
|
3459
|
+
]
|
|
3460
|
+
),
|
|
3461
|
+
_c("i", {
|
|
3462
|
+
staticClass:
|
|
3463
|
+
"el-tag__close el-icon-close",
|
|
3464
|
+
on: {
|
|
3465
|
+
click: function (
|
|
3466
|
+
$event
|
|
3467
|
+
) {
|
|
3468
|
+
$event.stopPropagation()
|
|
3469
|
+
_vm.handleDelete(
|
|
3470
|
+
items,
|
|
3471
|
+
item,
|
|
3472
|
+
x,
|
|
3473
|
+
ele
|
|
3474
|
+
)
|
|
3475
|
+
},
|
|
3476
|
+
},
|
|
3477
|
+
}),
|
|
3478
|
+
]
|
|
3479
|
+
)
|
|
3480
|
+
}
|
|
3481
|
+
),
|
|
3482
|
+
]
|
|
3483
|
+
: [
|
|
3484
|
+
_vm._v(
|
|
3485
|
+
"\n " +
|
|
3486
|
+
_vm._s(
|
|
3487
|
+
_vm.getLabels(items, item)
|
|
3488
|
+
) +
|
|
3489
|
+
"\n "
|
|
3490
|
+
),
|
|
3491
|
+
],
|
|
3492
|
+
],
|
|
3493
|
+
2
|
|
3494
|
+
)
|
|
3495
|
+
: _c("input", {
|
|
3496
|
+
directives: [
|
|
3497
|
+
{
|
|
3498
|
+
name: "model",
|
|
3499
|
+
rawName: "v-model.lazy",
|
|
3500
|
+
value: items[item.field],
|
|
3501
|
+
expression: "items[item.field]",
|
|
3502
|
+
modifiers: { lazy: true },
|
|
3503
|
+
},
|
|
3504
|
+
],
|
|
3505
|
+
staticClass: "el-input__inner",
|
|
3506
|
+
attrs: {
|
|
3507
|
+
readonly: item.type && item.type !== "text",
|
|
3283
3508
|
},
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3509
|
+
domProps: { value: items[item.field] },
|
|
3510
|
+
on: {
|
|
3511
|
+
click: function (event) {
|
|
3512
|
+
_vm.handeClick({
|
|
3513
|
+
item: item,
|
|
3514
|
+
event: event,
|
|
3515
|
+
data: items,
|
|
3516
|
+
})
|
|
3517
|
+
},
|
|
3518
|
+
blur: function (event) {
|
|
3519
|
+
_vm.handleBlur({
|
|
3520
|
+
item: item,
|
|
3521
|
+
event: event,
|
|
3522
|
+
data: items,
|
|
3523
|
+
})
|
|
3524
|
+
},
|
|
3525
|
+
focus: function (event) {
|
|
3526
|
+
_vm.handleFocus({
|
|
3527
|
+
item: item,
|
|
3528
|
+
event: event,
|
|
3529
|
+
data: items,
|
|
3530
|
+
})
|
|
3531
|
+
},
|
|
3532
|
+
change: [
|
|
3533
|
+
function ($event) {
|
|
3534
|
+
_vm.$set(
|
|
3535
|
+
items,
|
|
3536
|
+
item.field,
|
|
3537
|
+
$event.target.value
|
|
3538
|
+
)
|
|
3539
|
+
},
|
|
3540
|
+
function (value) {
|
|
3541
|
+
_vm.handleChange({
|
|
3542
|
+
name: item.field || item.prop,
|
|
3543
|
+
value: value,
|
|
3544
|
+
data: items,
|
|
3545
|
+
})
|
|
3546
|
+
},
|
|
3547
|
+
],
|
|
3290
3548
|
},
|
|
3291
|
-
|
|
3292
|
-
},
|
|
3293
|
-
}),
|
|
3549
|
+
}),
|
|
3294
3550
|
]),
|
|
3295
3551
|
],
|
|
3296
3552
|
],
|
|
@@ -3304,13 +3560,377 @@ var tbodyvue_type_template_id_465964dd_render = function () {
|
|
|
3304
3560
|
0
|
|
3305
3561
|
)
|
|
3306
3562
|
}
|
|
3307
|
-
var
|
|
3308
|
-
|
|
3563
|
+
var tbodyvue_type_template_id_6ced763c_staticRenderFns = []
|
|
3564
|
+
tbodyvue_type_template_id_6ced763c_render._withStripped = true
|
|
3565
|
+
|
|
3566
|
+
|
|
3567
|
+
// CONCATENATED MODULE: ./packages/data-table-form/src/tbody.vue?vue&type=template&id=6ced763c&
|
|
3568
|
+
|
|
3569
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/radio.vue?vue&type=template&id=3c835729&
|
|
3570
|
+
var radiovue_type_template_id_3c835729_render = function () {
|
|
3571
|
+
var _vm = this
|
|
3572
|
+
var _h = _vm.$createElement
|
|
3573
|
+
var _c = _vm._self._c || _h
|
|
3574
|
+
return _c(
|
|
3575
|
+
"div",
|
|
3576
|
+
{ staticClass: "el-radio-group" },
|
|
3577
|
+
_vm._l(_vm.options, function (item, index) {
|
|
3578
|
+
return _c(
|
|
3579
|
+
"label",
|
|
3580
|
+
{
|
|
3581
|
+
key: index,
|
|
3582
|
+
staticClass: "el-radio",
|
|
3583
|
+
on: {
|
|
3584
|
+
change: function ($event) {
|
|
3585
|
+
_vm.handeChange(item)
|
|
3586
|
+
},
|
|
3587
|
+
},
|
|
3588
|
+
},
|
|
3589
|
+
[
|
|
3590
|
+
_c("input", {
|
|
3591
|
+
attrs: { type: "radio", name: _vm._name },
|
|
3592
|
+
domProps: { checked: _vm.isChecked(item) },
|
|
3593
|
+
}),
|
|
3594
|
+
_vm._v(
|
|
3595
|
+
_vm._s(
|
|
3596
|
+
_vm.labelKey ? item[_vm.labelKey] : item.name || item.label
|
|
3597
|
+
) + "\n "
|
|
3598
|
+
),
|
|
3599
|
+
]
|
|
3600
|
+
)
|
|
3601
|
+
}),
|
|
3602
|
+
0
|
|
3603
|
+
)
|
|
3604
|
+
}
|
|
3605
|
+
var radiovue_type_template_id_3c835729_staticRenderFns = []
|
|
3606
|
+
radiovue_type_template_id_3c835729_render._withStripped = true
|
|
3607
|
+
|
|
3309
3608
|
|
|
3609
|
+
// CONCATENATED MODULE: ./packages/data-table-form/src/radio.vue?vue&type=template&id=3c835729&
|
|
3310
3610
|
|
|
3311
|
-
// CONCATENATED MODULE: ./packages/data-table-form/src/
|
|
3611
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/radio.vue?vue&type=script&lang=js&
|
|
3612
|
+
//
|
|
3613
|
+
//
|
|
3614
|
+
//
|
|
3615
|
+
//
|
|
3616
|
+
//
|
|
3617
|
+
//
|
|
3618
|
+
//
|
|
3619
|
+
//
|
|
3620
|
+
//
|
|
3621
|
+
//
|
|
3622
|
+
//
|
|
3623
|
+
//
|
|
3624
|
+
//
|
|
3625
|
+
//
|
|
3626
|
+
|
|
3627
|
+
/* harmony default export */ var radiovue_type_script_lang_js_ = ({
|
|
3628
|
+
name: 'EoRadio',
|
|
3629
|
+
props: {
|
|
3630
|
+
field: {
|
|
3631
|
+
required: true,
|
|
3632
|
+
type: String
|
|
3633
|
+
},
|
|
3634
|
+
prop: String,
|
|
3635
|
+
index: Number,
|
|
3636
|
+
labelKey: String,
|
|
3637
|
+
valueKey: String,
|
|
3638
|
+
data: {
|
|
3639
|
+
type: Object,
|
|
3640
|
+
default: function _default() {
|
|
3641
|
+
return {};
|
|
3642
|
+
}
|
|
3643
|
+
},
|
|
3644
|
+
options: {
|
|
3645
|
+
type: Array,
|
|
3646
|
+
default: function _default() {
|
|
3647
|
+
return [];
|
|
3648
|
+
}
|
|
3649
|
+
},
|
|
3650
|
+
value: {}
|
|
3651
|
+
},
|
|
3652
|
+
data: function data() {
|
|
3653
|
+
return {
|
|
3654
|
+
_value: this.value
|
|
3655
|
+
};
|
|
3656
|
+
},
|
|
3657
|
+
|
|
3658
|
+
computed: {
|
|
3659
|
+
_name: function _name() {
|
|
3660
|
+
if (this.index !== undefined) {
|
|
3661
|
+
return (this.field || this.prop) + '[' + this.index + ']';
|
|
3662
|
+
}
|
|
3663
|
+
return this.field || this.prop;
|
|
3664
|
+
}
|
|
3665
|
+
},
|
|
3666
|
+
methods: {
|
|
3667
|
+
isChecked: function isChecked(res) {
|
|
3668
|
+
return this.valueKey ? this.value == res[this.valueKey] : this.value == res.value;
|
|
3669
|
+
},
|
|
3670
|
+
handeChange: function handeChange(res) {
|
|
3671
|
+
this.$emit('input', this.valueKey ? res[this.valueKey] : res.value);
|
|
3672
|
+
}
|
|
3673
|
+
}
|
|
3674
|
+
});
|
|
3675
|
+
// CONCATENATED MODULE: ./packages/data-table-form/src/radio.vue?vue&type=script&lang=js&
|
|
3676
|
+
/* harmony default export */ var src_radiovue_type_script_lang_js_ = (radiovue_type_script_lang_js_);
|
|
3677
|
+
// CONCATENATED MODULE: ./packages/data-table-form/src/radio.vue
|
|
3678
|
+
|
|
3679
|
+
|
|
3680
|
+
|
|
3681
|
+
|
|
3682
|
+
|
|
3683
|
+
/* normalize component */
|
|
3684
|
+
|
|
3685
|
+
var radio_component = Object(componentNormalizer["a" /* default */])(
|
|
3686
|
+
src_radiovue_type_script_lang_js_,
|
|
3687
|
+
radiovue_type_template_id_3c835729_render,
|
|
3688
|
+
radiovue_type_template_id_3c835729_staticRenderFns,
|
|
3689
|
+
false,
|
|
3690
|
+
null,
|
|
3691
|
+
null,
|
|
3692
|
+
null
|
|
3693
|
+
|
|
3694
|
+
)
|
|
3695
|
+
|
|
3696
|
+
/* harmony default export */ var src_radio = (radio_component.exports);
|
|
3697
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/checkbox.vue?vue&type=template&id=e3c6e616&
|
|
3698
|
+
var checkboxvue_type_template_id_e3c6e616_render = function () {
|
|
3699
|
+
var _vm = this
|
|
3700
|
+
var _h = _vm.$createElement
|
|
3701
|
+
var _c = _vm._self._c || _h
|
|
3702
|
+
return _c(
|
|
3703
|
+
"div",
|
|
3704
|
+
{ staticClass: "el-checkbox-group" },
|
|
3705
|
+
_vm._l(_vm.options, function (item, index) {
|
|
3706
|
+
return _c("label", { key: index, staticClass: "el-checkbox" }, [
|
|
3707
|
+
_c("input", {
|
|
3708
|
+
attrs: { type: "checkbox", name: _vm._name },
|
|
3709
|
+
domProps: { checked: _vm.isChecked(item) },
|
|
3710
|
+
on: {
|
|
3711
|
+
change: function (event) {
|
|
3712
|
+
_vm.handeChange(event, item, index)
|
|
3713
|
+
},
|
|
3714
|
+
},
|
|
3715
|
+
}),
|
|
3716
|
+
_vm._v(
|
|
3717
|
+
_vm._s(_vm.labelKey ? item[_vm.labelKey] : item.name || item.label) +
|
|
3718
|
+
"\n "
|
|
3719
|
+
),
|
|
3720
|
+
])
|
|
3721
|
+
}),
|
|
3722
|
+
0
|
|
3723
|
+
)
|
|
3724
|
+
}
|
|
3725
|
+
var checkboxvue_type_template_id_e3c6e616_staticRenderFns = []
|
|
3726
|
+
checkboxvue_type_template_id_e3c6e616_render._withStripped = true
|
|
3727
|
+
|
|
3728
|
+
|
|
3729
|
+
// CONCATENATED MODULE: ./packages/data-table-form/src/checkbox.vue?vue&type=template&id=e3c6e616&
|
|
3730
|
+
|
|
3731
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/checkbox.vue?vue&type=script&lang=js&
|
|
3732
|
+
//
|
|
3733
|
+
//
|
|
3734
|
+
//
|
|
3735
|
+
//
|
|
3736
|
+
//
|
|
3737
|
+
//
|
|
3738
|
+
//
|
|
3739
|
+
//
|
|
3740
|
+
//
|
|
3741
|
+
//
|
|
3742
|
+
//
|
|
3743
|
+
//
|
|
3744
|
+
//
|
|
3745
|
+
//
|
|
3746
|
+
//
|
|
3747
|
+
//
|
|
3748
|
+
|
|
3749
|
+
/* harmony default export */ var checkboxvue_type_script_lang_js_ = ({
|
|
3750
|
+
name: 'EoCheckbox',
|
|
3751
|
+
props: {
|
|
3752
|
+
field: {
|
|
3753
|
+
required: true,
|
|
3754
|
+
type: String
|
|
3755
|
+
},
|
|
3756
|
+
prop: String,
|
|
3757
|
+
index: Number,
|
|
3758
|
+
labelKey: String,
|
|
3759
|
+
valueKey: String,
|
|
3760
|
+
data: {
|
|
3761
|
+
type: Object,
|
|
3762
|
+
default: function _default() {
|
|
3763
|
+
return {};
|
|
3764
|
+
}
|
|
3765
|
+
},
|
|
3766
|
+
options: {
|
|
3767
|
+
type: Array,
|
|
3768
|
+
default: function _default() {
|
|
3769
|
+
return [];
|
|
3770
|
+
}
|
|
3771
|
+
},
|
|
3772
|
+
decollator: {
|
|
3773
|
+
type: String,
|
|
3774
|
+
default: ','
|
|
3775
|
+
},
|
|
3776
|
+
valueToString: Boolean,
|
|
3777
|
+
value: {}
|
|
3778
|
+
},
|
|
3779
|
+
data: function data() {
|
|
3780
|
+
return {
|
|
3781
|
+
_value: this.value
|
|
3782
|
+
};
|
|
3783
|
+
},
|
|
3312
3784
|
|
|
3785
|
+
computed: {
|
|
3786
|
+
model: {
|
|
3787
|
+
get: function get() {
|
|
3788
|
+
if (Array.isArray(this.value)) {
|
|
3789
|
+
return this.value;
|
|
3790
|
+
}
|
|
3791
|
+
if (typeof this.value === 'string') {
|
|
3792
|
+
return this.value.split(this.decollator);
|
|
3793
|
+
}
|
|
3794
|
+
return [this.value];
|
|
3795
|
+
}
|
|
3796
|
+
// set(val) {
|
|
3797
|
+
// this.$emit(
|
|
3798
|
+
// 'input',
|
|
3799
|
+
// this.valueToString ? val.join(this.decollator) : val
|
|
3800
|
+
// );
|
|
3801
|
+
// return val;
|
|
3802
|
+
// }
|
|
3803
|
+
|
|
3804
|
+
},
|
|
3805
|
+
_name: function _name() {
|
|
3806
|
+
if (this.index !== undefined) {
|
|
3807
|
+
return (this.field || this.prop) + '[' + this.index + ']';
|
|
3808
|
+
}
|
|
3809
|
+
return this.field || this.prop;
|
|
3810
|
+
}
|
|
3811
|
+
},
|
|
3812
|
+
methods: {
|
|
3813
|
+
isChecked: function isChecked(res) {
|
|
3814
|
+
return this.valueKey ? this.model.indexOf(res[this.valueKey]) > -1 : this.model.indexOf(res.value) > -1;
|
|
3815
|
+
},
|
|
3816
|
+
handeChange: function handeChange(event, res, index) {
|
|
3817
|
+
var val = this.model;
|
|
3818
|
+
if (event.target.checked) {
|
|
3819
|
+
if (val.length > index) {
|
|
3820
|
+
val.splice(index, 0, this.valueKey ? res[this.valueKey] : res.value);
|
|
3821
|
+
} else {
|
|
3822
|
+
val.push(this.valueKey ? res[this.valueKey] : res.value);
|
|
3823
|
+
}
|
|
3824
|
+
} else {
|
|
3825
|
+
var i = val.indexOf(this.valueKey ? res[this.valueKey] : res.value);
|
|
3826
|
+
val.splice(i, 1);
|
|
3827
|
+
}
|
|
3828
|
+
this.$emit('input', this.valueToString ? val.join(this.decollator) : val);
|
|
3829
|
+
}
|
|
3830
|
+
}
|
|
3831
|
+
});
|
|
3832
|
+
// CONCATENATED MODULE: ./packages/data-table-form/src/checkbox.vue?vue&type=script&lang=js&
|
|
3833
|
+
/* harmony default export */ var src_checkboxvue_type_script_lang_js_ = (checkboxvue_type_script_lang_js_);
|
|
3834
|
+
// CONCATENATED MODULE: ./packages/data-table-form/src/checkbox.vue
|
|
3835
|
+
|
|
3836
|
+
|
|
3837
|
+
|
|
3838
|
+
|
|
3839
|
+
|
|
3840
|
+
/* normalize component */
|
|
3841
|
+
|
|
3842
|
+
var checkbox_component = Object(componentNormalizer["a" /* default */])(
|
|
3843
|
+
src_checkboxvue_type_script_lang_js_,
|
|
3844
|
+
checkboxvue_type_template_id_e3c6e616_render,
|
|
3845
|
+
checkboxvue_type_template_id_e3c6e616_staticRenderFns,
|
|
3846
|
+
false,
|
|
3847
|
+
null,
|
|
3848
|
+
null,
|
|
3849
|
+
null
|
|
3850
|
+
|
|
3851
|
+
)
|
|
3852
|
+
|
|
3853
|
+
/* harmony default export */ var src_checkbox = (checkbox_component.exports);
|
|
3313
3854
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/tbody.vue?vue&type=script&lang=js&
|
|
3855
|
+
var _components;
|
|
3856
|
+
|
|
3857
|
+
//
|
|
3858
|
+
//
|
|
3859
|
+
//
|
|
3860
|
+
//
|
|
3861
|
+
//
|
|
3862
|
+
//
|
|
3863
|
+
//
|
|
3864
|
+
//
|
|
3865
|
+
//
|
|
3866
|
+
//
|
|
3867
|
+
//
|
|
3868
|
+
//
|
|
3869
|
+
//
|
|
3870
|
+
//
|
|
3871
|
+
//
|
|
3872
|
+
//
|
|
3873
|
+
//
|
|
3874
|
+
//
|
|
3875
|
+
//
|
|
3876
|
+
//
|
|
3877
|
+
//
|
|
3878
|
+
//
|
|
3879
|
+
//
|
|
3880
|
+
//
|
|
3881
|
+
//
|
|
3882
|
+
//
|
|
3883
|
+
//
|
|
3884
|
+
//
|
|
3885
|
+
//
|
|
3886
|
+
//
|
|
3887
|
+
//
|
|
3888
|
+
//
|
|
3889
|
+
//
|
|
3890
|
+
//
|
|
3891
|
+
//
|
|
3892
|
+
//
|
|
3893
|
+
//
|
|
3894
|
+
//
|
|
3895
|
+
//
|
|
3896
|
+
//
|
|
3897
|
+
//
|
|
3898
|
+
//
|
|
3899
|
+
//
|
|
3900
|
+
//
|
|
3901
|
+
//
|
|
3902
|
+
//
|
|
3903
|
+
//
|
|
3904
|
+
//
|
|
3905
|
+
//
|
|
3906
|
+
//
|
|
3907
|
+
//
|
|
3908
|
+
//
|
|
3909
|
+
//
|
|
3910
|
+
//
|
|
3911
|
+
//
|
|
3912
|
+
//
|
|
3913
|
+
//
|
|
3914
|
+
//
|
|
3915
|
+
//
|
|
3916
|
+
//
|
|
3917
|
+
//
|
|
3918
|
+
//
|
|
3919
|
+
//
|
|
3920
|
+
//
|
|
3921
|
+
//
|
|
3922
|
+
//
|
|
3923
|
+
//
|
|
3924
|
+
//
|
|
3925
|
+
//
|
|
3926
|
+
//
|
|
3927
|
+
//
|
|
3928
|
+
//
|
|
3929
|
+
//
|
|
3930
|
+
//
|
|
3931
|
+
//
|
|
3932
|
+
//
|
|
3933
|
+
//
|
|
3314
3934
|
//
|
|
3315
3935
|
//
|
|
3316
3936
|
//
|
|
@@ -3418,29 +4038,29 @@ tbodyvue_type_template_id_465964dd_render._withStripped = true
|
|
|
3418
4038
|
|
|
3419
4039
|
// import rules from 'eoss-ui/src/utils/rules.js';
|
|
3420
4040
|
|
|
4041
|
+
|
|
4042
|
+
|
|
3421
4043
|
/* harmony default export */ var tbodyvue_type_script_lang_js_ = ({
|
|
3422
4044
|
name: 'EoTbody',
|
|
3423
4045
|
inject: ['eoTable'],
|
|
3424
|
-
components: {
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
throw error;
|
|
3438
|
-
}
|
|
4046
|
+
components: (_components = {}, _components[src_radio.name] = src_radio, _components[src_checkbox.name] = src_checkbox, _components.expandDom = {
|
|
4047
|
+
functional: true,
|
|
4048
|
+
props: {
|
|
4049
|
+
item: Object,
|
|
4050
|
+
row: Object,
|
|
4051
|
+
render: [Function, String]
|
|
4052
|
+
},
|
|
4053
|
+
render: function render(h, ctx) {
|
|
4054
|
+
if (typeof ctx.props.render == 'string') {
|
|
4055
|
+
try {
|
|
4056
|
+
return utils_util["a" /* default */].toFunction(ctx.props.render)(h, params);
|
|
4057
|
+
} catch (error) {
|
|
4058
|
+
throw error;
|
|
3439
4059
|
}
|
|
3440
|
-
return ctx.props.render(h, ctx.props.item, ctx.props.row);
|
|
3441
4060
|
}
|
|
4061
|
+
return ctx.props.render(h, ctx.props.item, ctx.props.row);
|
|
3442
4062
|
}
|
|
3443
|
-
},
|
|
4063
|
+
}, _components),
|
|
3444
4064
|
props: {
|
|
3445
4065
|
numbers: Boolean,
|
|
3446
4066
|
readonly: Boolean,
|
|
@@ -3468,7 +4088,7 @@ tbodyvue_type_template_id_465964dd_render._withStripped = true
|
|
|
3468
4088
|
var type = item.type == 'date' || item.type == 'year' || item.type == 'month' || item.type == 'date' || item.type == 'dates' || item.type == 'week' || item.type == 'datetime' || item.type == 'datetimerange' || item.type == 'daterange' || item.type == 'monthrange' || item.type == 'quarter' || item.type == 'halfyear' ? 'date' : item.type;
|
|
3469
4089
|
this.eoTable.changeData(type, data[item.field || item.prop]);
|
|
3470
4090
|
},
|
|
3471
|
-
getLabels: function getLabels(data, col) {
|
|
4091
|
+
getLabels: function getLabels(data, col, multiple) {
|
|
3472
4092
|
var _this = this;
|
|
3473
4093
|
|
|
3474
4094
|
var value = data[col.field || col.prop];
|
|
@@ -3477,14 +4097,20 @@ tbodyvue_type_template_id_465964dd_render._withStripped = true
|
|
|
3477
4097
|
}
|
|
3478
4098
|
var option = this.options[col.field || col.prop];
|
|
3479
4099
|
if (utils_util["a" /* default */].isObject(value)) {
|
|
3480
|
-
|
|
4100
|
+
if (multiple) {
|
|
4101
|
+
return [value];
|
|
4102
|
+
}
|
|
4103
|
+
return value[col.labelKey] || value['name'] || value['label'] || value['showname'];
|
|
3481
4104
|
} else if (Array.isArray(value)) {
|
|
3482
4105
|
var label = value.map(function (item) {
|
|
3483
4106
|
if (utils_util["a" /* default */].isObject(item)) {
|
|
3484
|
-
|
|
4107
|
+
if (multiple) {
|
|
4108
|
+
return item;
|
|
4109
|
+
}
|
|
4110
|
+
return item[col.labelKey] || item.name || item.label || item.showname;
|
|
3485
4111
|
} else {
|
|
3486
4112
|
if (option) {
|
|
3487
|
-
var str = _this.getLabel(item, option, col);
|
|
4113
|
+
var str = _this.getLabel(item, option, col, multiple);
|
|
3488
4114
|
if (str) {
|
|
3489
4115
|
return str;
|
|
3490
4116
|
}
|
|
@@ -3493,26 +4119,44 @@ tbodyvue_type_template_id_465964dd_render._withStripped = true
|
|
|
3493
4119
|
}
|
|
3494
4120
|
}
|
|
3495
4121
|
});
|
|
3496
|
-
return label.join(',');
|
|
4122
|
+
return multiple ? label : label.join(',');
|
|
3497
4123
|
} else {
|
|
3498
4124
|
if (option) {
|
|
3499
|
-
return this.getLabel(value, option, col);
|
|
4125
|
+
return this.getLabel(value, option, col, multiple);
|
|
3500
4126
|
} else {
|
|
4127
|
+
if (multiple) {
|
|
4128
|
+
return [value];
|
|
4129
|
+
}
|
|
3501
4130
|
return value;
|
|
3502
4131
|
}
|
|
3503
4132
|
}
|
|
3504
4133
|
},
|
|
3505
|
-
getLabel: function getLabel(value, option, col) {
|
|
4134
|
+
getLabel: function getLabel(value, option, col, multiple) {
|
|
3506
4135
|
for (var i = 0; i < option.length; i++) {
|
|
3507
4136
|
var item = option[i];
|
|
3508
4137
|
if (value == item) {
|
|
3509
4138
|
return value;
|
|
3510
4139
|
}
|
|
3511
4140
|
if (value == item[col.valueKey] || value == item.value) {
|
|
3512
|
-
|
|
4141
|
+
if (multiple) {
|
|
4142
|
+
return item;
|
|
4143
|
+
}
|
|
4144
|
+
return item[col.labelKey] || item.name || item.label || item.showname;
|
|
3513
4145
|
}
|
|
3514
4146
|
}
|
|
3515
4147
|
return '';
|
|
4148
|
+
},
|
|
4149
|
+
showLabel: function showLabel(res, labelKey) {
|
|
4150
|
+
return typeof res === 'string' ? res : res[labelKey] || res.name || res.label || res.showname;
|
|
4151
|
+
},
|
|
4152
|
+
handleDelete: function handleDelete(data, col, index, res) {
|
|
4153
|
+
var value = data[col.field];
|
|
4154
|
+
value = value.filter(function (item) {
|
|
4155
|
+
var target = utils_util["a" /* default */].isObject(item) ? item[col.labelKey] || item.name || item.label || item.showname : item;
|
|
4156
|
+
var val = utils_util["a" /* default */].isObject(res) ? res[col.labelKey] || res.name || res.label || res.showname : res;
|
|
4157
|
+
return target != val;
|
|
4158
|
+
});
|
|
4159
|
+
data[col.field] = value;
|
|
3516
4160
|
}
|
|
3517
4161
|
}
|
|
3518
4162
|
});
|
|
@@ -3528,8 +4172,8 @@ tbodyvue_type_template_id_465964dd_render._withStripped = true
|
|
|
3528
4172
|
|
|
3529
4173
|
var tbody_component = Object(componentNormalizer["a" /* default */])(
|
|
3530
4174
|
src_tbodyvue_type_script_lang_js_,
|
|
3531
|
-
|
|
3532
|
-
|
|
4175
|
+
tbodyvue_type_template_id_6ced763c_render,
|
|
4176
|
+
tbodyvue_type_template_id_6ced763c_staticRenderFns,
|
|
3533
4177
|
false,
|
|
3534
4178
|
null,
|
|
3535
4179
|
null,
|
|
@@ -3541,7 +4185,7 @@ var tbody_component = Object(componentNormalizer["a" /* default */])(
|
|
|
3541
4185
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/table.vue?vue&type=script&lang=js&
|
|
3542
4186
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
3543
4187
|
|
|
3544
|
-
var
|
|
4188
|
+
var tablevue_type_script_lang_js_components;
|
|
3545
4189
|
|
|
3546
4190
|
//
|
|
3547
4191
|
//
|
|
@@ -3622,6 +4266,23 @@ var _components;
|
|
|
3622
4266
|
//
|
|
3623
4267
|
//
|
|
3624
4268
|
//
|
|
4269
|
+
//
|
|
4270
|
+
//
|
|
4271
|
+
//
|
|
4272
|
+
//
|
|
4273
|
+
//
|
|
4274
|
+
//
|
|
4275
|
+
//
|
|
4276
|
+
//
|
|
4277
|
+
//
|
|
4278
|
+
//
|
|
4279
|
+
//
|
|
4280
|
+
//
|
|
4281
|
+
//
|
|
4282
|
+
//
|
|
4283
|
+
//
|
|
4284
|
+
//
|
|
4285
|
+
//
|
|
3625
4286
|
|
|
3626
4287
|
|
|
3627
4288
|
//import rules from 'eoss-ui/src/utils/rules.js';
|
|
@@ -3631,7 +4292,7 @@ var _components;
|
|
|
3631
4292
|
/* harmony default export */ var tablevue_type_script_lang_js_ = ({
|
|
3632
4293
|
name: 'EoTable',
|
|
3633
4294
|
inheritAttrs: false,
|
|
3634
|
-
components: (
|
|
4295
|
+
components: (tablevue_type_script_lang_js_components = {}, tablevue_type_script_lang_js_components[colgroup.name] = colgroup, tablevue_type_script_lang_js_components[thead.name] = thead, tablevue_type_script_lang_js_components[tbody.name] = tbody, tablevue_type_script_lang_js_components),
|
|
3635
4296
|
provide: function provide() {
|
|
3636
4297
|
return {
|
|
3637
4298
|
eoTable: this
|
|
@@ -3667,7 +4328,9 @@ var _components;
|
|
|
3667
4328
|
field: null,
|
|
3668
4329
|
style: {},
|
|
3669
4330
|
dateValue: '',
|
|
3670
|
-
dateShow: false
|
|
4331
|
+
dateShow: false,
|
|
4332
|
+
selectorShow: false,
|
|
4333
|
+
selectorValue: ''
|
|
3671
4334
|
};
|
|
3672
4335
|
},
|
|
3673
4336
|
|
|
@@ -3708,6 +4371,10 @@ var _components;
|
|
|
3708
4371
|
this.dateValue = value;
|
|
3709
4372
|
this.dateShow = true;
|
|
3710
4373
|
break;
|
|
4374
|
+
case 'selector':
|
|
4375
|
+
this.selectorValue = value;
|
|
4376
|
+
this.selectorShow = true;
|
|
4377
|
+
break;
|
|
3711
4378
|
}
|
|
3712
4379
|
},
|
|
3713
4380
|
setStyle: function setStyle(res, data, field) {
|
|
@@ -3731,6 +4398,11 @@ var _components;
|
|
|
3731
4398
|
break;
|
|
3732
4399
|
}
|
|
3733
4400
|
},
|
|
4401
|
+
handleConfirm: function handleConfirm(res) {
|
|
4402
|
+
this.selectorValue = '';
|
|
4403
|
+
this.selectorShow = false;
|
|
4404
|
+
this.target[this.field] = res;
|
|
4405
|
+
},
|
|
3734
4406
|
sizeChange: function sizeChange() {},
|
|
3735
4407
|
currentChange: function currentChange() {},
|
|
3736
4408
|
preClick: function preClick() {},
|
|
@@ -3749,7 +4421,7 @@ var _components;
|
|
|
3749
4421
|
|
|
3750
4422
|
var table_component = Object(componentNormalizer["a" /* default */])(
|
|
3751
4423
|
src_tablevue_type_script_lang_js_,
|
|
3752
|
-
|
|
4424
|
+
tablevue_type_template_id_736ff20c_render,
|
|
3753
4425
|
staticRenderFns,
|
|
3754
4426
|
false,
|
|
3755
4427
|
null,
|
|
@@ -3873,7 +4545,7 @@ var mainvue_type_script_lang_js_components;
|
|
|
3873
4545
|
if (item.sysCode || item.url) {
|
|
3874
4546
|
var params = utils_util["a" /* default */].extend({}, item.sysCode ? { sysAppCode: item.sysCode } : {}, item.param ? item.param : {});
|
|
3875
4547
|
utils_util["a" /* default */].ajax({
|
|
3876
|
-
url: item.sysCode ? api["
|
|
4548
|
+
url: item.sysCode ? api["s" /* findSysCode */] : item.url,
|
|
3877
4549
|
method: this.method,
|
|
3878
4550
|
params: params,
|
|
3879
4551
|
data: params
|