eoss-ui 0.5.68 → 0.5.70
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/CHANGELOG.md +929 -0
- package/lib/button-group.js +34 -36
- package/lib/button.js +34 -36
- package/lib/checkbox-group.js +70 -56
- package/lib/data-table-form.js +37 -39
- package/lib/data-table.js +73 -64
- package/lib/date-picker.js +34 -36
- package/lib/dialog.js +49 -51
- package/lib/eoss-ui.common.js +944 -728
- package/lib/flow-group.js +34 -36
- package/lib/flow-list.js +36 -38
- package/lib/flow.js +40 -42
- package/lib/form.js +410 -376
- package/lib/handle-user.js +36 -38
- package/lib/handler.js +34 -36
- package/lib/icon.js +12 -3593
- package/lib/icons.js +1 -1
- package/lib/index.js +1 -1
- package/lib/input-number.js +34 -36
- package/lib/input.js +65 -48
- package/lib/layout.js +2 -2
- package/lib/login.js +131 -114
- package/lib/main.js +80 -50
- package/lib/menu.js +91 -55
- package/lib/nav.js +66 -41
- package/lib/page.js +34 -36
- package/lib/player.js +36 -38
- package/lib/qr-code.js +34 -36
- package/lib/radio-group.js +69 -53
- package/lib/retrial-auth.js +34 -36
- package/lib/select-ganged.js +122 -106
- package/lib/select.js +112 -96
- package/lib/selector-panel.js +90 -76
- package/lib/selector.js +34 -36
- package/lib/sizer.js +36 -38
- package/lib/steps.js +60 -44
- package/lib/switch.js +34 -36
- package/lib/table-form.js +36 -38
- package/lib/tabs.js +34 -36
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/icon.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/theme-chalk/sizer.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/tips.js +59 -42
- package/lib/tree-group.js +34 -36
- package/lib/tree.js +93 -77
- package/lib/upload.js +111 -94
- package/lib/utils/util.js +34 -36
- package/lib/wujie.js +34 -36
- package/lib/wxlogin.js +34 -36
- package/package.json +2 -2
- package/packages/checkbox-group/src/main.vue +7 -1
- package/packages/data-table/src/main.vue +13 -6
- package/packages/dialog/src/main.vue +2 -3
- package/packages/form/src/main.vue +11 -2
- package/packages/icon/src/main.vue +10 -3
- package/packages/icons/src/icon.json +1 -1
- package/packages/input/src/main.vue +8 -1
- package/packages/login/src/main.vue +36 -24
- package/packages/main/src/main.vue +28 -6
- package/packages/menu/src/main.vue +76 -65
- package/packages/nav/src/main.vue +23 -4
- package/packages/radio-group/src/main.vue +7 -1
- package/packages/select/src/main.vue +7 -1
- package/packages/select-ganged/src/main.vue +7 -1
- package/packages/selector-panel/src/main.vue +7 -1
- package/packages/steps/src/main.vue +9 -3
- package/packages/theme-chalk/lib/base.css +1 -1
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/icon.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/menu.css +1 -1
- package/packages/theme-chalk/lib/sizer.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/common/var.scss +2 -0
- package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/src/icon.scss +430 -426
- package/packages/theme-chalk/src/login.scss +2 -3
- package/packages/theme-chalk/src/main.scss +14 -5
- package/packages/theme-chalk/src/menu.scss +1 -1
- package/packages/theme-chalk/src/nav.scss +2 -2
- package/packages/tips/src/main.vue +8 -1
- package/packages/tree/src/main.vue +8 -2
- package/packages/upload/src/main.vue +11 -2
- package/src/index.js +1 -1
- package/src/utils/util.js +34 -34
package/lib/eoss-ui.common.js
CHANGED
|
@@ -91,14 +91,14 @@ module.exports =
|
|
|
91
91
|
|
|
92
92
|
"use strict";
|
|
93
93
|
/* harmony import */ var _config_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
94
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
94
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8);
|
|
95
95
|
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
|
|
96
|
-
/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
96
|
+
/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5);
|
|
97
97
|
/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_2__);
|
|
98
|
-
/* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
98
|
+
/* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9);
|
|
99
99
|
/* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(json_bigint__WEBPACK_IMPORTED_MODULE_3__);
|
|
100
|
-
/* harmony import */ var _webSocket__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
101
|
-
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
100
|
+
/* harmony import */ var _webSocket__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10);
|
|
101
|
+
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6);
|
|
102
102
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_5__);
|
|
103
103
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
104
104
|
|
|
@@ -153,21 +153,17 @@ var JSONbigToString = json_bigint__WEBPACK_IMPORTED_MODULE_3___default()({ store
|
|
|
153
153
|
* @param {Array} [encodes] - 需要对参数值进行encodeURIComponent编码的参数值名称
|
|
154
154
|
**/
|
|
155
155
|
// 请求
|
|
156
|
-
|
|
157
|
-
function getRequestKey(config) {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
if (pendingRequest.has(requestKey)) {
|
|
168
|
-
pendingRequest.delete(requestKey);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
156
|
+
// const pendingRequest = new Map();
|
|
157
|
+
// function getRequestKey(config) {
|
|
158
|
+
// const { method, url, params, data } = config;
|
|
159
|
+
// return [method, url, qs.stringify(params), qs.stringify(data)].join('&');
|
|
160
|
+
// };
|
|
161
|
+
// function delPendingRequest(config) {
|
|
162
|
+
// let requestKey = getRequestKey(config);
|
|
163
|
+
// if (pendingRequest.has(requestKey)) {
|
|
164
|
+
// pendingRequest.delete(requestKey);
|
|
165
|
+
// }
|
|
166
|
+
// }
|
|
171
167
|
var ajax = function ajax(_ref) {
|
|
172
168
|
var headers = _ref.headers,
|
|
173
169
|
method = _ref.method,
|
|
@@ -216,30 +212,32 @@ var ajax = function ajax(_ref) {
|
|
|
216
212
|
http.interceptors.request.use(function (config) {
|
|
217
213
|
config.headers.common = getStorage();
|
|
218
214
|
// 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
|
|
219
|
-
|
|
220
|
-
// 判断请求是否重复
|
|
221
|
-
if (pendingRequest.has(requestKey)) {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
}
|
|
228
|
-
// 把请求信息,添加请求到map当中
|
|
229
|
-
// 生成取消方法
|
|
230
|
-
config.cancelToken =
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
215
|
+
// let requestKey = getRequestKey(config);
|
|
216
|
+
// // 判断请求是否重复
|
|
217
|
+
// if (pendingRequest.has(requestKey)) {
|
|
218
|
+
// // 取消上次请求
|
|
219
|
+
// let cancel = pendingRequest.get(requestKey);
|
|
220
|
+
// cancel();
|
|
221
|
+
// // 删除请求信息
|
|
222
|
+
// pendingRequest.delete(requestKey);
|
|
223
|
+
// }
|
|
224
|
+
// // 把请求信息,添加请求到map当中
|
|
225
|
+
// // 生成取消方法
|
|
226
|
+
// config.cancelToken =
|
|
227
|
+
// config.cancelToken ||
|
|
228
|
+
// new axios.CancelToken(cancel => {
|
|
229
|
+
// // 把取消方法添加到map
|
|
230
|
+
// if (!pendingRequest.has(requestKey)) {
|
|
231
|
+
// pendingRequest.set(requestKey, cancel);
|
|
232
|
+
// }
|
|
233
|
+
// });
|
|
236
234
|
return config;
|
|
237
235
|
}, function (err) {
|
|
238
236
|
return err;
|
|
239
237
|
});
|
|
240
238
|
// 响应拦截
|
|
241
239
|
http.interceptors.response.use(function (response) {
|
|
242
|
-
delPendingRequest(response.config);
|
|
240
|
+
// delPendingRequest(response.config);
|
|
243
241
|
loading && loading.close();
|
|
244
242
|
if (response.headers.authorization && response.headers.authorization !== getStorage('token')) {
|
|
245
243
|
if (localStorage.getItem('storage') === 'localStorage' || localStorage.getItem('token') || localStorage.getItem('Authorization')) {
|
|
@@ -356,9 +354,9 @@ var ajax = function ajax(_ref) {
|
|
|
356
354
|
}
|
|
357
355
|
}, function (error) {
|
|
358
356
|
loading && loading.close();
|
|
359
|
-
if (!
|
|
360
|
-
|
|
361
|
-
}
|
|
357
|
+
// if (!axios.isCancel(error)) {
|
|
358
|
+
// delPendingRequest(error.config || {});
|
|
359
|
+
// }
|
|
362
360
|
if (error && error.response) {
|
|
363
361
|
if (error.response.status) {
|
|
364
362
|
switch (error.response.status) {
|
|
@@ -3490,13 +3488,13 @@ var formContents = '/config/admin/online/onlineForm/render';
|
|
|
3490
3488
|
/* 2 */
|
|
3491
3489
|
/***/ (function(module, exports) {
|
|
3492
3490
|
|
|
3493
|
-
module.exports = require("
|
|
3491
|
+
module.exports = require("throttle-debounce");
|
|
3494
3492
|
|
|
3495
3493
|
/***/ }),
|
|
3496
3494
|
/* 3 */
|
|
3497
3495
|
/***/ (function(module, exports) {
|
|
3498
3496
|
|
|
3499
|
-
module.exports = require("
|
|
3497
|
+
module.exports = require("babel-runtime/regenerator");
|
|
3500
3498
|
|
|
3501
3499
|
/***/ }),
|
|
3502
3500
|
/* 4 */
|
|
@@ -3508,13 +3506,13 @@ module.exports = require("interactjs");
|
|
|
3508
3506
|
/* 5 */
|
|
3509
3507
|
/***/ (function(module, exports) {
|
|
3510
3508
|
|
|
3511
|
-
module.exports = require("
|
|
3509
|
+
module.exports = require("qs");
|
|
3512
3510
|
|
|
3513
3511
|
/***/ }),
|
|
3514
3512
|
/* 6 */
|
|
3515
3513
|
/***/ (function(module, exports) {
|
|
3516
3514
|
|
|
3517
|
-
module.exports = require("
|
|
3515
|
+
module.exports = require("eoss-element");
|
|
3518
3516
|
|
|
3519
3517
|
/***/ }),
|
|
3520
3518
|
/* 7 */
|
|
@@ -3526,16 +3524,22 @@ module.exports = require("video.js");
|
|
|
3526
3524
|
/* 8 */
|
|
3527
3525
|
/***/ (function(module, exports) {
|
|
3528
3526
|
|
|
3529
|
-
module.exports = require("
|
|
3527
|
+
module.exports = require("axios");
|
|
3530
3528
|
|
|
3531
3529
|
/***/ }),
|
|
3532
3530
|
/* 9 */
|
|
3531
|
+
/***/ (function(module, exports) {
|
|
3532
|
+
|
|
3533
|
+
module.exports = require("json-bigint");
|
|
3534
|
+
|
|
3535
|
+
/***/ }),
|
|
3536
|
+
/* 10 */
|
|
3533
3537
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3534
3538
|
|
|
3535
3539
|
"use strict";
|
|
3536
|
-
/* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
3540
|
+
/* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11);
|
|
3537
3541
|
/* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(sockjs_client__WEBPACK_IMPORTED_MODULE_0__);
|
|
3538
|
-
/* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
3542
|
+
/* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12);
|
|
3539
3543
|
/* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(stompjs__WEBPACK_IMPORTED_MODULE_1__);
|
|
3540
3544
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
3541
3545
|
|
|
@@ -3660,29 +3664,23 @@ var WebSocket = function () {
|
|
|
3660
3664
|
|
|
3661
3665
|
/* harmony default export */ __webpack_exports__["a"] = (WebSocket);
|
|
3662
3666
|
|
|
3663
|
-
/***/ }),
|
|
3664
|
-
/* 10 */
|
|
3665
|
-
/***/ (function(module, exports) {
|
|
3666
|
-
|
|
3667
|
-
module.exports = require("sockjs-client");
|
|
3668
|
-
|
|
3669
3667
|
/***/ }),
|
|
3670
3668
|
/* 11 */
|
|
3671
3669
|
/***/ (function(module, exports) {
|
|
3672
3670
|
|
|
3673
|
-
module.exports = require("
|
|
3671
|
+
module.exports = require("sockjs-client");
|
|
3674
3672
|
|
|
3675
3673
|
/***/ }),
|
|
3676
3674
|
/* 12 */
|
|
3677
3675
|
/***/ (function(module, exports) {
|
|
3678
3676
|
|
|
3679
|
-
module.exports = require("
|
|
3677
|
+
module.exports = require("stompjs");
|
|
3680
3678
|
|
|
3681
3679
|
/***/ }),
|
|
3682
3680
|
/* 13 */
|
|
3683
3681
|
/***/ (function(module, exports) {
|
|
3684
3682
|
|
|
3685
|
-
module.exports = require("
|
|
3683
|
+
module.exports = require("vue");
|
|
3686
3684
|
|
|
3687
3685
|
/***/ }),
|
|
3688
3686
|
/* 14 */
|
|
@@ -3694,7 +3692,7 @@ module.exports = require("wujie-vue2");
|
|
|
3694
3692
|
/* 15 */
|
|
3695
3693
|
/***/ (function(module) {
|
|
3696
3694
|
|
|
3697
|
-
module.exports = JSON.parse("[\"zuomian\",\"monitor\",\"maximize\",\"pointer-up\",\"pointer-left\",\"pointer-down\",\"tri-down\",\"retrograde\",\"rainfall\",\"caveat\",\"print\",\"alarm\",\"table\",\"duigouquan\",\"bumen\",\"mm\",\"accelerate\",\"quanping\",\"password\",\"qing\",\"kaifa\",\"daoru\",\"piaochongicon\",\"instructions\",\"notice\",\"wifi\",\"tishicuo\",\"minganciguanli\",\"switch-off\",\"switch-on\",\"narrow\",\"yidongduan\",\"web\",\"upload\",\"message\",\"go-back\",\"close\",\"shujutongji\",\"folder\",\"edit\",\"enter\",\"dian\",\"wendu\",\"shangwu\",\"shenbao\",\"magnifier\",\"project-add\",\"xiexian\",\"caidan\",\"tupian\",\"home\",\"yinyu\",\"wenhao\",\"template\",\"daiban\",\"set\",\"zhengwen\",\"cuowu\",\"chenggong\",\"indent\",\"increase\",\"ziliaoku\",\"tuichu\",\"quit\",\"leaf\",\"refresh\",\"statistic\",\"gengduo\",\"lvyou\",\"mail\",\"user\",\"zhishi\",\"weizhi\",\"jinggao\",\"zuzhijigou\",\"xue\",\"fenxiang\",\"jinrong\",\"shanchu\",\"jianhao\",\"jiahao\",\"yinzhang\",\"renyuanqiehuan\",\"gouxuanzhong1\",\"circle\",\"fuxuankuang1\",\"fangkuang\",\"application\",\"wenjianjia\",\"jiaren\",\"xiugai\",\"duanxinguanli\",\"workbench\",\"rizhi\",\"gongwen\",\"qingshi\",\"shiwu\",\"official\",\"baogao\",\"document\",\"wodeyouxiang\",\"ziliaojiaohuan\",\"denglu\",\"podium\",\"fangkuai\",\"xuewei\",\"duoyun\",\"pm\",\"xiajia\",\"huanbao\",\"dunpai\",\"shu\",\"gongzuozheng\",\"more\",\"fenlei\",\"delete\",\"fengsu\",\"bar\",\"yuanqu\",\"duomeiti\",\"youjian\",\"qiye\",\"zuixinzixun\",\"biaoge\",\"omit\",\"diaotou\",\"jiantou-left\",\"jiantou-right\",\"jiantou-up\",\"roles\",\"jiantou-next\",\"chijiuhuacunchu\",\"zhuanhuan\",\"cloudy\",\"form\",\"wuye\",\"tri-up\",\"pointer-right\",\"bianji\",\"tri-right\",\"tri-left\",\"daimaguanli\",\"jiankong\",\"kaifazhong\",\"fujian\",\"bingtu\",\"zhuzhuangtu\",\"lose\",\"rmb\",\"move\",\"xiazai\",\"yiban\",\"laoshi\",\"clear\",\"jinyong\",\"yunxing\",\"weihu\",\"chakan\",\"pifu\",\"ren\",\"gouwuche\",\"loading2\",\"yulan\",\"ziliao\",\"yidong\",\"fenxiang11\",\"kaoqin\",\"change\",\"shidu\",\"portfolio\",\"info\",\"yanjing\",\"laba\",\"camera\",\"xitongxiaoxi\",\"xitongguanli\",\"webduan\",\"wagnz\",\"group\",\"shengqian\",\"jiantou-prev\",\"attention\",\"look\",\"guanzhu\",\"daikuan\",\"tubiao\",\"duigou\",\"star\",\"dayin\",\"xinzeng\",\"reduce\",\"goup\",\"calendar\",\"tree\",\"yingyong\",\"caution\",\"zhuanfa\",\"add\",\"zongtiqixian\",\"daochu\",\"gongwu\",\"ihouse\",\"chilun\",\"weixiu\",\"chengguo\",\"trophy\",\"duiwu\",\"qiehuanjiaose\",\"door\",\"shebei\",\"fangjian\",\"microscope\",\"huaxue\",\"shiyanshianquan\",\"shiyan\",\"qiyexinxi\",\"yewuxinxi\",\"lab\",\"shiyanguanli\",\"yuqing\",\"big-screen\",\"signal-search\",\"database\",\"star-mark\",\"cng\",\"professor\",\"informatization\",\"code\",\"science\",\"price\",\"xunhuan\",\"savings\",\"administration\",\"aid\",\"biao\",\"line\",\"xietong\",\"jingzheng\",\"enterprise\",\"datatable\",\"toubiao\",\"bingdu\",\"keji2\",\"qiyeku5\",\"touzi5\",\"zijinliu\",\"zhishichanquan3\",\"kejifuwu2\",\"zhishichanquan2\",\"zijinanquan\",\"kejifuwu1\",\"geju\",\"yiqingfangkong\",\"kejifuwu\",\"anquanfangkong\",\"shujufuwu\",\"shujuceng\",\"shujugongxiang\",\"flows\",\"setup\",\"shujulian\",\"caiwujianguan\",\"caiwuliushui\",\"mubiaogeju\",\"juxing\",\"fuwuqi\",\"touzijigou\",\"xiezilou\",\"jianzhu\",\"logo\",\"touzhi\",\"zijin\",\"fintech\",\"touzixiangmu\",\"library\",\"touziguanli\",\"zhongda\",\"ziyuan\",\"shujutai\",\"shujudongtai\",\"bank\",\"shujuzhongxin\",\"zhongyaomubiao\",\"touzishijian\",\"caiwuguanli\",\"mingzhong\",\"touzishenpi\",\"jingzhenggeju\",\"property\",\"keji\",\"qiyeku\",\"zhongyaojihui\",\"touzilicai\",\"zhishichanquan\",\"touzi\",\"tzz\",\"menu\",\"xiangmushu\",\"pdf\",\"jiazai\",\"gongsi\",\"rise\",\"jbxx\",\"zwxx\",\"jypx\",\"jcgl\",\"ndkh\",\"grjl\",\"shgx\",\"gou\",\"shijian\",\"fukuan\",\"guoji\",\"shoukuan\",\"down\",\"gongzuotai\",\"gaigedongtai\",\"xitongshezhi\",\"relation\",\"zuzhirenshi\",\"kaohepingjia\",\"caiwujiandu\",\"sanzhongyida\",\"mima\",\"xianshi\",\"zhanghao\",\"bangongshi\",\"checked\",\"checke\",\"help\",\"kuoda\",\"banli\",\"xiaoxi\",\"shouqicaidan\",\"shouqicaidan-right\",\"smile\",\"tongzhi\",\"guanji\",\"shuaxin\",\"guiji\",\"tianjiawenjianjia\",\"yunxiazai\",\"del\",\"touzifangan\",\"zongheguanli\",\"sanzhongyida_mian\",\"gongwenguanli1\",\"heguiguanli\",\"jingyingfenxi\",\"txl\",\"diannao\",\"renliziyuan\",\"caiwuxitong\",\"shiwuguanli\",\"shouye\",\"bangongyongpin\",\"sidebar\",\"zhidulashi\",\"log\",\"fawenguanli\",\"huiyiguanli\",\"zuzhishishi\",\"gongwenqianshou\",\"jinxiupeixun\",\"gongwenbao\",\"jiaohuan\",\"daibanshixiang\",\"richeng\",\"tongxunlu\",\"yongche\",\"yanzheng\",\"daibanxinxi\",\"shuben\",\"fanfu\",\"guangbo\",\"shuzhuangtu\",\"bengqiye\",\"tongguo\",\"dengdai\",\"cross\",\"daichuli\",\"zhenggai\",\"shouli\",\"shujuhecha\",\"guanli\",\"paper-file\",\"wenjian\",\"dakaiwenjian\",\"yewu\",\"jiance\",\"jiheguanli\",\"jinru\",\"arrow-right\",\"lingdao\",\"rencai\",\"prev\",\"next\",\"jianpan\",\"qrcode\",\"bohui\",\"homepage\",\"download\",\"gantanhao\",\"dingding\",\"weixin\",\"pad\",\"ios\",\"android\",\"txt\",\"doc\",\"audioo\",\"video\",\"zip\",\"shuru\",\"duanxin\",\"saoma\",\"youxiang\",\"word\",\"excel\",\"fileword\",\"picture\",\"ppt\",\"ca\",\"usb-key\"]");
|
|
3695
|
+
module.exports = JSON.parse("[\"zuomian\",\"monitor\",\"maximize\",\"pointer-up\",\"pointer-left\",\"pointer-down\",\"tri-down\",\"retrograde\",\"rainfall\",\"caveat\",\"print\",\"alarm\",\"table\",\"duigouquan\",\"bumen\",\"mm\",\"accelerate\",\"quanping\",\"password\",\"qing\",\"kaifa\",\"daoru\",\"piaochongicon\",\"instructions\",\"notice\",\"wifi\",\"tishicuo\",\"minganciguanli\",\"switch-off\",\"switch-on\",\"narrow\",\"yidongduan\",\"web\",\"upload\",\"message\",\"go-back\",\"close\",\"shujutongji\",\"folder\",\"edit\",\"enter\",\"dian\",\"wendu\",\"shangwu\",\"shenbao\",\"magnifier\",\"project-add\",\"xiexian\",\"caidan\",\"tupian\",\"home\",\"yinyu\",\"wenhao\",\"template\",\"daiban\",\"set\",\"zhengwen\",\"cuowu\",\"chenggong\",\"indent\",\"increase\",\"ziliaoku\",\"tuichu\",\"quit\",\"leaf\",\"refresh\",\"statistic\",\"gengduo\",\"lvyou\",\"mail\",\"user\",\"zhishi\",\"weizhi\",\"jinggao\",\"zuzhijigou\",\"xue\",\"fenxiang\",\"jinrong\",\"shanchu\",\"jianhao\",\"jiahao\",\"yinzhang\",\"renyuanqiehuan\",\"gouxuanzhong1\",\"circle\",\"fuxuankuang1\",\"fangkuang\",\"application\",\"wenjianjia\",\"jiaren\",\"xiugai\",\"duanxinguanli\",\"workbench\",\"rizhi\",\"gongwen\",\"qingshi\",\"shiwu\",\"official\",\"baogao\",\"document\",\"wodeyouxiang\",\"ziliaojiaohuan\",\"denglu\",\"podium\",\"fangkuai\",\"xuewei\",\"duoyun\",\"pm\",\"xiajia\",\"huanbao\",\"dunpai\",\"shu\",\"gongzuozheng\",\"more\",\"fenlei\",\"delete\",\"fengsu\",\"bar\",\"yuanqu\",\"duomeiti\",\"youjian\",\"qiye\",\"zuixinzixun\",\"biaoge\",\"omit\",\"diaotou\",\"jiantou-left\",\"jiantou-right\",\"jiantou-up\",\"roles\",\"jiantou-next\",\"chijiuhuacunchu\",\"zhuanhuan\",\"cloudy\",\"form\",\"wuye\",\"tri-up\",\"pointer-right\",\"bianji\",\"tri-right\",\"tri-left\",\"daimaguanli\",\"jiankong\",\"kaifazhong\",\"fujian\",\"bingtu\",\"zhuzhuangtu\",\"lose\",\"rmb\",\"move\",\"xiazai\",\"yiban\",\"laoshi\",\"clear\",\"jinyong\",\"yunxing\",\"weihu\",\"chakan\",\"pifu\",\"ren\",\"gouwuche\",\"loading2\",\"yulan\",\"ziliao\",\"yidong\",\"fenxiang11\",\"kaoqin\",\"change\",\"shidu\",\"portfolio\",\"info\",\"yanjing\",\"laba\",\"camera\",\"xitongxiaoxi\",\"xitongguanli\",\"webduan\",\"wagnz\",\"group\",\"shengqian\",\"jiantou-prev\",\"attention\",\"look\",\"guanzhu\",\"daikuan\",\"tubiao\",\"duigou\",\"star\",\"dayin\",\"xinzeng\",\"reduce\",\"goup\",\"calendar\",\"tree\",\"yingyong\",\"caution\",\"zhuanfa\",\"add\",\"zongtiqixian\",\"daochu\",\"gongwu\",\"ihouse\",\"chilun\",\"weixiu\",\"chengguo\",\"trophy\",\"duiwu\",\"qiehuanjiaose\",\"door\",\"shebei\",\"fangjian\",\"microscope\",\"huaxue\",\"shiyanshianquan\",\"shiyan\",\"qiyexinxi\",\"yewuxinxi\",\"lab\",\"shiyanguanli\",\"yuqing\",\"big-screen\",\"signal-search\",\"database\",\"star-mark\",\"cng\",\"professor\",\"informatization\",\"code\",\"science\",\"price\",\"xunhuan\",\"savings\",\"administration\",\"aid\",\"biao\",\"line\",\"xietong\",\"jingzheng\",\"enterprise\",\"datatable\",\"toubiao\",\"bingdu\",\"keji2\",\"qiyeku5\",\"touzi5\",\"zijinliu\",\"zhishichanquan3\",\"kejifuwu2\",\"zhishichanquan2\",\"zijinanquan\",\"kejifuwu1\",\"geju\",\"yiqingfangkong\",\"kejifuwu\",\"anquanfangkong\",\"shujufuwu\",\"shujuceng\",\"shujugongxiang\",\"flows\",\"setup\",\"shujulian\",\"caiwujianguan\",\"caiwuliushui\",\"mubiaogeju\",\"juxing\",\"fuwuqi\",\"touzijigou\",\"xiezilou\",\"jianzhu\",\"logo\",\"touzhi\",\"zijin\",\"fintech\",\"touzixiangmu\",\"library\",\"touziguanli\",\"zhongda\",\"ziyuan\",\"shujutai\",\"shujudongtai\",\"bank\",\"shujuzhongxin\",\"zhongyaomubiao\",\"touzishijian\",\"caiwuguanli\",\"mingzhong\",\"touzishenpi\",\"jingzhenggeju\",\"property\",\"keji\",\"qiyeku\",\"zhongyaojihui\",\"touzilicai\",\"zhishichanquan\",\"touzi\",\"tzz\",\"menu\",\"xiangmushu\",\"pdf\",\"jiazai\",\"gongsi\",\"rise\",\"jbxx\",\"zwxx\",\"jypx\",\"jcgl\",\"ndkh\",\"grjl\",\"shgx\",\"gou\",\"shijian\",\"fukuan\",\"guoji\",\"shoukuan\",\"down\",\"gongzuotai\",\"gaigedongtai\",\"xitongshezhi\",\"relation\",\"zuzhirenshi\",\"kaohepingjia\",\"caiwujiandu\",\"sanzhongyida\",\"mima\",\"xianshi\",\"zhanghao\",\"bangongshi\",\"checked\",\"checke\",\"help\",\"kuoda\",\"banli\",\"xiaoxi\",\"shouqicaidan\",\"shouqicaidan-right\",\"smile\",\"tongzhi\",\"guanji\",\"shuaxin\",\"guiji\",\"tianjiawenjianjia\",\"yunxiazai\",\"del\",\"touzifangan\",\"zongheguanli\",\"sanzhongyida_mian\",\"gongwenguanli1\",\"heguiguanli\",\"jingyingfenxi\",\"txl\",\"diannao\",\"renliziyuan\",\"caiwuxitong\",\"shiwuguanli\",\"shouye\",\"bangongyongpin\",\"sidebar\",\"zhidulashi\",\"log\",\"fawenguanli\",\"huiyiguanli\",\"zuzhishishi\",\"gongwenqianshou\",\"jinxiupeixun\",\"gongwenbao\",\"jiaohuan\",\"daibanshixiang\",\"richeng\",\"tongxunlu\",\"yongche\",\"yanzheng\",\"daibanxinxi\",\"shuben\",\"fanfu\",\"guangbo\",\"shuzhuangtu\",\"bengqiye\",\"tongguo\",\"dengdai\",\"cross\",\"daichuli\",\"zhenggai\",\"shouli\",\"shujuhecha\",\"guanli\",\"paper-file\",\"wenjian\",\"dakaiwenjian\",\"yewu\",\"jiance\",\"jiheguanli\",\"jinru\",\"arrow-right\",\"lingdao\",\"rencai\",\"prev\",\"next\",\"jianpan\",\"qrcode\",\"bohui\",\"homepage\",\"download\",\"gantanhao\",\"dingding\",\"weixin\",\"pad\",\"ios\",\"android\",\"txt\",\"doc\",\"audioo\",\"video\",\"zip\",\"shuru\",\"duanxin\",\"saoma\",\"youxiang\",\"word\",\"excel\",\"fileword\",\"picture\",\"ppt\",\"ca\",\"usb-key\",\"wenjianjiadakai\"]");
|
|
3698
3696
|
|
|
3699
3697
|
/***/ }),
|
|
3700
3698
|
/* 16 */
|
|
@@ -5891,8 +5889,8 @@ cascader_src_main.install = function (Vue) {
|
|
|
5891
5889
|
};
|
|
5892
5890
|
|
|
5893
5891
|
/* harmony default export */ var cascader = (cascader_src_main);
|
|
5894
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox-group/src/main.vue?vue&type=template&id=
|
|
5895
|
-
var
|
|
5892
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox-group/src/main.vue?vue&type=template&id=1e0ceb1a&
|
|
5893
|
+
var mainvue_type_template_id_1e0ceb1a_render = function () {
|
|
5896
5894
|
var _vm = this
|
|
5897
5895
|
var _h = _vm.$createElement
|
|
5898
5896
|
var _c = _vm._self._c || _h
|
|
@@ -6024,15 +6022,18 @@ var mainvue_type_template_id_63001e87_render = function () {
|
|
|
6024
6022
|
)
|
|
6025
6023
|
: _vm._e()
|
|
6026
6024
|
}
|
|
6027
|
-
var
|
|
6028
|
-
|
|
6025
|
+
var mainvue_type_template_id_1e0ceb1a_staticRenderFns = []
|
|
6026
|
+
mainvue_type_template_id_1e0ceb1a_render._withStripped = true
|
|
6029
6027
|
|
|
6030
6028
|
|
|
6031
|
-
// CONCATENATED MODULE: ./packages/checkbox-group/src/main.vue?vue&type=template&id=
|
|
6029
|
+
// CONCATENATED MODULE: ./packages/checkbox-group/src/main.vue?vue&type=template&id=1e0ceb1a&
|
|
6032
6030
|
|
|
6033
6031
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
6034
6032
|
var api = __webpack_require__(1);
|
|
6035
6033
|
|
|
6034
|
+
// EXTERNAL MODULE: external "throttle-debounce"
|
|
6035
|
+
var external_throttle_debounce_ = __webpack_require__(2);
|
|
6036
|
+
|
|
6036
6037
|
// CONCATENATED MODULE: ./src/utils/store.js
|
|
6037
6038
|
var store_store = {
|
|
6038
6039
|
state: {},
|
|
@@ -6056,7 +6057,7 @@ var store_store = {
|
|
|
6056
6057
|
window.__store = store_store;
|
|
6057
6058
|
/* harmony default export */ var utils_store = (store_store);
|
|
6058
6059
|
// EXTERNAL MODULE: external "vue"
|
|
6059
|
-
var external_vue_ = __webpack_require__(
|
|
6060
|
+
var external_vue_ = __webpack_require__(13);
|
|
6060
6061
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
6061
6062
|
|
|
6062
6063
|
// CONCATENATED MODULE: ./src/utils/bus.js
|
|
@@ -6126,6 +6127,7 @@ var checkbox_group_src_mainvue_type_script_lang_js_extends = Object.assign || fu
|
|
|
6126
6127
|
|
|
6127
6128
|
|
|
6128
6129
|
|
|
6130
|
+
|
|
6129
6131
|
/* harmony default export */ var checkbox_group_src_mainvue_type_script_lang_js_ = ({
|
|
6130
6132
|
name: 'EsCheckboxGroup',
|
|
6131
6133
|
inheritAttrs: false,
|
|
@@ -6303,14 +6305,21 @@ var checkbox_group_src_mainvue_type_script_lang_js_extends = Object.assign || fu
|
|
|
6303
6305
|
}
|
|
6304
6306
|
}
|
|
6305
6307
|
},
|
|
6308
|
+
beforeCreate: function beforeCreate() {
|
|
6309
|
+
var _this2 = this;
|
|
6310
|
+
|
|
6311
|
+
this.getData = Object(external_throttle_debounce_["debounce"])(300, function (url, sysCode) {
|
|
6312
|
+
_this2.getDatas(url, sysCode);
|
|
6313
|
+
});
|
|
6314
|
+
},
|
|
6306
6315
|
created: function created() {
|
|
6307
6316
|
this.bindEventBus();
|
|
6308
6317
|
},
|
|
6309
6318
|
mounted: function mounted() {},
|
|
6310
6319
|
|
|
6311
6320
|
methods: {
|
|
6312
|
-
|
|
6313
|
-
var
|
|
6321
|
+
getDatas: function getDatas(url, sysCode) {
|
|
6322
|
+
var _this3 = this;
|
|
6314
6323
|
|
|
6315
6324
|
var params = {};
|
|
6316
6325
|
if (this.results.length === 0) {
|
|
@@ -6328,26 +6337,26 @@ var checkbox_group_src_mainvue_type_script_lang_js_extends = Object.assign || fu
|
|
|
6328
6337
|
params: params,
|
|
6329
6338
|
data: params
|
|
6330
6339
|
}).then(function (res) {
|
|
6331
|
-
|
|
6332
|
-
|
|
6340
|
+
_this3.loading = false;
|
|
6341
|
+
_this3.canceled = false;
|
|
6333
6342
|
if (res.rCode === 0) {
|
|
6334
|
-
|
|
6335
|
-
if (sysCode ||
|
|
6336
|
-
bus.$emit(sysCode ||
|
|
6343
|
+
_this3.options = JSON.parse(JSON.stringify(res.results));
|
|
6344
|
+
if (sysCode || _this3.dataKey) {
|
|
6345
|
+
bus.$emit(sysCode || _this3.dataKey, JSON.parse(JSON.stringify(_this3.options)));
|
|
6337
6346
|
utils_store.set(sysCode, JSON.parse(JSON.stringify(res.results)));
|
|
6338
6347
|
}
|
|
6339
6348
|
} else {
|
|
6340
6349
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
6341
|
-
|
|
6350
|
+
_this3.$message.error(msg);
|
|
6342
6351
|
}
|
|
6343
6352
|
}).catch(function (err) {
|
|
6344
|
-
|
|
6353
|
+
_this3.loading = false;
|
|
6345
6354
|
if (err.message) {
|
|
6346
6355
|
if (err.message !== 'canceled') {
|
|
6347
|
-
|
|
6356
|
+
_this3.$message.error(err.message);
|
|
6348
6357
|
}
|
|
6349
6358
|
if (err.message === 'canceled' && sysCode) {
|
|
6350
|
-
|
|
6359
|
+
_this3.canceled = true;
|
|
6351
6360
|
}
|
|
6352
6361
|
}
|
|
6353
6362
|
});
|
|
@@ -6384,8 +6393,8 @@ var checkbox_group_src_mainvue_type_script_lang_js_extends = Object.assign || fu
|
|
|
6384
6393
|
|
|
6385
6394
|
var checkbox_group_src_main_component = normalizeComponent(
|
|
6386
6395
|
packages_checkbox_group_src_mainvue_type_script_lang_js_,
|
|
6387
|
-
|
|
6388
|
-
|
|
6396
|
+
mainvue_type_template_id_1e0ceb1a_render,
|
|
6397
|
+
mainvue_type_template_id_1e0ceb1a_staticRenderFns,
|
|
6389
6398
|
false,
|
|
6390
6399
|
null,
|
|
6391
6400
|
null,
|
|
@@ -6660,8 +6669,8 @@ clients_src_main.install = function (Vue) {
|
|
|
6660
6669
|
};
|
|
6661
6670
|
|
|
6662
6671
|
/* harmony default export */ var clients = (clients_src_main);
|
|
6663
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=
|
|
6664
|
-
var
|
|
6672
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=1e1368ab&
|
|
6673
|
+
var mainvue_type_template_id_1e1368ab_render = function () {
|
|
6665
6674
|
var _vm = this
|
|
6666
6675
|
var _h = _vm.$createElement
|
|
6667
6676
|
var _c = _vm._self._c || _h
|
|
@@ -6790,8 +6799,12 @@ var mainvue_type_template_id_5d38af04_render = function () {
|
|
|
6790
6799
|
? [
|
|
6791
6800
|
item.type === "sort"
|
|
6792
6801
|
? _c("el-table-column", {
|
|
6793
|
-
key: index,
|
|
6794
|
-
attrs: {
|
|
6802
|
+
key: item.key || index,
|
|
6803
|
+
attrs: {
|
|
6804
|
+
width: "32",
|
|
6805
|
+
prop: "id",
|
|
6806
|
+
label: " ",
|
|
6807
|
+
},
|
|
6795
6808
|
scopedSlots: _vm._u([
|
|
6796
6809
|
{
|
|
6797
6810
|
key: "default",
|
|
@@ -6813,7 +6826,7 @@ var mainvue_type_template_id_5d38af04_render = function () {
|
|
|
6813
6826
|
? _c(
|
|
6814
6827
|
"el-table-column",
|
|
6815
6828
|
_vm._b(
|
|
6816
|
-
{ key: index },
|
|
6829
|
+
{ key: item.key || index },
|
|
6817
6830
|
"el-table-column",
|
|
6818
6831
|
_vm.dragSort
|
|
6819
6832
|
? Object.assign({}, item, {
|
|
@@ -6967,14 +6980,11 @@ var mainvue_type_template_id_5d38af04_render = function () {
|
|
|
6967
6980
|
1
|
|
6968
6981
|
)
|
|
6969
6982
|
}
|
|
6970
|
-
var
|
|
6971
|
-
|
|
6972
|
-
|
|
6983
|
+
var mainvue_type_template_id_1e1368ab_staticRenderFns = []
|
|
6984
|
+
mainvue_type_template_id_1e1368ab_render._withStripped = true
|
|
6973
6985
|
|
|
6974
|
-
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=5d38af04&
|
|
6975
6986
|
|
|
6976
|
-
//
|
|
6977
|
-
var external_throttle_debounce_ = __webpack_require__(13);
|
|
6987
|
+
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=1e1368ab&
|
|
6978
6988
|
|
|
6979
6989
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/children.vue?vue&type=template&id=44b7ff61&
|
|
6980
6990
|
var childrenvue_type_template_id_44b7ff61_render = function () {
|
|
@@ -7751,7 +7761,7 @@ columnvue_type_template_id_2dabb50c_render._withStripped = true
|
|
|
7751
7761
|
// CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=2dabb50c&
|
|
7752
7762
|
|
|
7753
7763
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
7754
|
-
var regenerator_ = __webpack_require__(
|
|
7764
|
+
var regenerator_ = __webpack_require__(3);
|
|
7755
7765
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator_);
|
|
7756
7766
|
|
|
7757
7767
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/column.vue?vue&type=script&lang=js&
|
|
@@ -8919,7 +8929,7 @@ var sizer_component = normalizeComponent(
|
|
|
8919
8929
|
|
|
8920
8930
|
/* harmony default export */ var sizer = (sizer_component.exports);
|
|
8921
8931
|
// EXTERNAL MODULE: external "qs"
|
|
8922
|
-
var external_qs_ = __webpack_require__(
|
|
8932
|
+
var external_qs_ = __webpack_require__(5);
|
|
8923
8933
|
var external_qs_default = /*#__PURE__*/__webpack_require__.n(external_qs_);
|
|
8924
8934
|
|
|
8925
8935
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=script&lang=js&
|
|
@@ -9098,6 +9108,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9098
9108
|
//
|
|
9099
9109
|
//
|
|
9100
9110
|
//
|
|
9111
|
+
//
|
|
9112
|
+
//
|
|
9101
9113
|
|
|
9102
9114
|
|
|
9103
9115
|
|
|
@@ -9408,7 +9420,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9408
9420
|
});
|
|
9409
9421
|
if (this.dragSort && !types.includes('sort')) {
|
|
9410
9422
|
thead.push({
|
|
9411
|
-
type: 'sort'
|
|
9423
|
+
type: 'sort',
|
|
9424
|
+
key: 'es-sort'
|
|
9412
9425
|
});
|
|
9413
9426
|
}
|
|
9414
9427
|
if (this.checkbox && !types.includes('selection')) {
|
|
@@ -9418,7 +9431,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9418
9431
|
align: 'center',
|
|
9419
9432
|
fixed: 'left',
|
|
9420
9433
|
selectable: this.selectable,
|
|
9421
|
-
reserveSelection: this.reserveSelection
|
|
9434
|
+
reserveSelection: this.reserveSelection,
|
|
9435
|
+
key: 'es-checkbox'
|
|
9422
9436
|
});
|
|
9423
9437
|
}
|
|
9424
9438
|
if (this.numbers && !types.includes('index')) {
|
|
@@ -9435,7 +9449,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9435
9449
|
align: 'center',
|
|
9436
9450
|
fixed: 'left',
|
|
9437
9451
|
index: index,
|
|
9438
|
-
filterIcon: this.filter ? 'es-icon-biao' : undefined
|
|
9452
|
+
filterIcon: this.filter ? 'es-icon-biao' : undefined,
|
|
9453
|
+
key: 'es-index'
|
|
9439
9454
|
});
|
|
9440
9455
|
}
|
|
9441
9456
|
if (this.theadData.length) {
|
|
@@ -9608,12 +9623,14 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9608
9623
|
this.doLayout();
|
|
9609
9624
|
}
|
|
9610
9625
|
}, _watch),
|
|
9611
|
-
|
|
9626
|
+
beforeCreate: function beforeCreate() {
|
|
9612
9627
|
var _this2 = this;
|
|
9613
9628
|
|
|
9614
9629
|
this.getTableData = Object(external_throttle_debounce_["debounce"])(300, function (res) {
|
|
9615
9630
|
_this2.getTableDatas(res);
|
|
9616
9631
|
});
|
|
9632
|
+
},
|
|
9633
|
+
created: function created() {
|
|
9617
9634
|
if (Array.isArray(this.thead) && this.thead.length) {
|
|
9618
9635
|
this.getOptions(this.thead);
|
|
9619
9636
|
}
|
|
@@ -10385,8 +10402,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
10385
10402
|
|
|
10386
10403
|
var data_table_src_main_component = normalizeComponent(
|
|
10387
10404
|
packages_data_table_src_mainvue_type_script_lang_js_,
|
|
10388
|
-
|
|
10389
|
-
|
|
10405
|
+
mainvue_type_template_id_1e1368ab_render,
|
|
10406
|
+
mainvue_type_template_id_1e1368ab_staticRenderFns,
|
|
10390
10407
|
false,
|
|
10391
10408
|
null,
|
|
10392
10409
|
null,
|
|
@@ -12521,8 +12538,8 @@ date_picker_src_main.install = function (Vue) {
|
|
|
12521
12538
|
};
|
|
12522
12539
|
|
|
12523
12540
|
/* harmony default export */ var date_picker = (date_picker_src_main);
|
|
12524
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=
|
|
12525
|
-
var
|
|
12541
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=55a176e4&
|
|
12542
|
+
var mainvue_type_template_id_55a176e4_render = function () {
|
|
12526
12543
|
var _vm = this
|
|
12527
12544
|
var _h = _vm.$createElement
|
|
12528
12545
|
var _c = _vm._self._c || _h
|
|
@@ -12550,15 +12567,16 @@ var mainvue_type_template_id_39199bdc_render = function () {
|
|
|
12550
12567
|
"update:visible": function ($event) {
|
|
12551
12568
|
_vm.show = $event
|
|
12552
12569
|
},
|
|
12553
|
-
close: _vm.handleClosed,
|
|
12554
|
-
scale: _vm.handleScale,
|
|
12555
12570
|
},
|
|
12556
12571
|
},
|
|
12557
12572
|
"el-dialog",
|
|
12558
12573
|
_vm.$attrs,
|
|
12559
12574
|
false
|
|
12560
12575
|
),
|
|
12561
|
-
_vm.$listeners
|
|
12576
|
+
Object.assign({}, _vm.$listeners, {
|
|
12577
|
+
close: _vm.handleClosed,
|
|
12578
|
+
scale: _vm.handleScale,
|
|
12579
|
+
})
|
|
12562
12580
|
),
|
|
12563
12581
|
[
|
|
12564
12582
|
_vm._t("default"),
|
|
@@ -13031,11 +13049,11 @@ var mainvue_type_template_id_39199bdc_render = function () {
|
|
|
13031
13049
|
2
|
|
13032
13050
|
)
|
|
13033
13051
|
}
|
|
13034
|
-
var
|
|
13035
|
-
|
|
13052
|
+
var mainvue_type_template_id_55a176e4_staticRenderFns = []
|
|
13053
|
+
mainvue_type_template_id_55a176e4_render._withStripped = true
|
|
13036
13054
|
|
|
13037
13055
|
|
|
13038
|
-
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=
|
|
13056
|
+
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=55a176e4&
|
|
13039
13057
|
|
|
13040
13058
|
// EXTERNAL MODULE: external "wujie-vue2"
|
|
13041
13059
|
var external_wujie_vue2_ = __webpack_require__(14);
|
|
@@ -13309,8 +13327,6 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
13309
13327
|
//
|
|
13310
13328
|
//
|
|
13311
13329
|
//
|
|
13312
|
-
//
|
|
13313
|
-
//
|
|
13314
13330
|
|
|
13315
13331
|
|
|
13316
13332
|
|
|
@@ -13555,6 +13571,7 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
13555
13571
|
this.show = false;
|
|
13556
13572
|
this.$emit('close', res, this);
|
|
13557
13573
|
if (this.closeParent && this.esDialog) {
|
|
13574
|
+
console.log(12121);
|
|
13558
13575
|
this.esDialog.handleClosed(res);
|
|
13559
13576
|
}
|
|
13560
13577
|
},
|
|
@@ -13594,8 +13611,8 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
13594
13611
|
|
|
13595
13612
|
var dialog_src_main_component = normalizeComponent(
|
|
13596
13613
|
packages_dialog_src_mainvue_type_script_lang_js_,
|
|
13597
|
-
|
|
13598
|
-
|
|
13614
|
+
mainvue_type_template_id_55a176e4_render,
|
|
13615
|
+
mainvue_type_template_id_55a176e4_staticRenderFns,
|
|
13599
13616
|
false,
|
|
13600
13617
|
null,
|
|
13601
13618
|
null,
|
|
@@ -13861,8 +13878,8 @@ error_page_src_main.install = function (Vue) {
|
|
|
13861
13878
|
};
|
|
13862
13879
|
|
|
13863
13880
|
/* harmony default export */ var error_page = (error_page_src_main);
|
|
13864
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=
|
|
13865
|
-
var
|
|
13881
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=73daac22&
|
|
13882
|
+
var mainvue_type_template_id_73daac22_render = function () {
|
|
13866
13883
|
var _vm = this
|
|
13867
13884
|
var _h = _vm.$createElement
|
|
13868
13885
|
var _c = _vm._self._c || _h
|
|
@@ -25318,11 +25335,11 @@ var mainvue_type_template_id_5a2c9b21_render = function () {
|
|
|
25318
25335
|
)
|
|
25319
25336
|
: _vm._e()
|
|
25320
25337
|
}
|
|
25321
|
-
var
|
|
25322
|
-
|
|
25338
|
+
var mainvue_type_template_id_73daac22_staticRenderFns = []
|
|
25339
|
+
mainvue_type_template_id_73daac22_render._withStripped = true
|
|
25323
25340
|
|
|
25324
25341
|
|
|
25325
|
-
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=
|
|
25342
|
+
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=73daac22&
|
|
25326
25343
|
|
|
25327
25344
|
// CONCATENATED MODULE: ./src/utils/rules.js
|
|
25328
25345
|
// 手机号
|
|
@@ -29358,6 +29375,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
29358
29375
|
|
|
29359
29376
|
|
|
29360
29377
|
|
|
29378
|
+
|
|
29361
29379
|
/* harmony default export */ var form_src_mainvue_type_script_lang_js_ = ({
|
|
29362
29380
|
name: 'EsForm',
|
|
29363
29381
|
inheritAttrs: false,
|
|
@@ -29828,15 +29846,25 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
29828
29846
|
}
|
|
29829
29847
|
}
|
|
29830
29848
|
},
|
|
29849
|
+
beforeCreate: function beforeCreate() {
|
|
29850
|
+
var _this3 = this;
|
|
29851
|
+
|
|
29852
|
+
this.getContent = Object(external_throttle_debounce_["debounce"])(300, function () {
|
|
29853
|
+
_this3.getContents();
|
|
29854
|
+
});
|
|
29855
|
+
this.getValue = Object(external_throttle_debounce_["debounce"])(300, function () {
|
|
29856
|
+
_this3.getValues();
|
|
29857
|
+
});
|
|
29858
|
+
},
|
|
29831
29859
|
created: function created() {
|
|
29832
29860
|
this.dialog = window.$wujie && window.$wujie.props ? window.$wujie.props._dialog : false;
|
|
29833
29861
|
},
|
|
29834
29862
|
mounted: function mounted() {
|
|
29835
|
-
var
|
|
29863
|
+
var _this4 = this;
|
|
29836
29864
|
|
|
29837
29865
|
this.$nextTick(function () {
|
|
29838
|
-
!
|
|
29839
|
-
|
|
29866
|
+
!_this4.height && _this4.getHeight();
|
|
29867
|
+
_this4.$refs.esForm.$el.addEventListener('keyup', _this4.handleEnter);
|
|
29840
29868
|
});
|
|
29841
29869
|
},
|
|
29842
29870
|
|
|
@@ -29859,8 +29887,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
29859
29887
|
}
|
|
29860
29888
|
return this.getParentHeight(dom.parentNode);
|
|
29861
29889
|
},
|
|
29862
|
-
|
|
29863
|
-
var
|
|
29890
|
+
getContents: function getContents() {
|
|
29891
|
+
var _this5 = this;
|
|
29864
29892
|
|
|
29865
29893
|
if (typeof this.contents === 'string' || utils_util["a" /* default */].isObject(this.contents) && Object.prototype.hasOwnProperty.call(this.contents, 'formId')) {
|
|
29866
29894
|
this.loading = true;
|
|
@@ -29870,36 +29898,36 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
29870
29898
|
data: params,
|
|
29871
29899
|
params: params
|
|
29872
29900
|
}).then(function (res) {
|
|
29873
|
-
|
|
29901
|
+
_this5.loading = false;
|
|
29874
29902
|
if (res.rCode === 0) {
|
|
29875
29903
|
var results = JSON.parse(JSON.stringify(res.results));
|
|
29876
29904
|
if (Array.isArray(results)) {
|
|
29877
|
-
|
|
29905
|
+
_this5.resolution(results);
|
|
29878
29906
|
} else {
|
|
29879
|
-
|
|
29907
|
+
_this5.resolution(results.contents || results.content || []);
|
|
29880
29908
|
var data = {};
|
|
29881
|
-
if (
|
|
29882
|
-
data = { id:
|
|
29883
|
-
} else if (
|
|
29884
|
-
if (typeof
|
|
29885
|
-
data = { id:
|
|
29909
|
+
if (_this5.businessId !== undefined) {
|
|
29910
|
+
data = { id: _this5.businessId };
|
|
29911
|
+
} else if (_this5.autoId) {
|
|
29912
|
+
if (typeof _this5.autoId === 'boolean') {
|
|
29913
|
+
data = { id: _this5.uuid };
|
|
29886
29914
|
} else {
|
|
29887
|
-
data[
|
|
29915
|
+
data[_this5.autoId] = _this5.uuid;
|
|
29888
29916
|
}
|
|
29889
29917
|
}
|
|
29890
|
-
|
|
29918
|
+
_this5.values = utils_util["a" /* default */].extend({}, data, results.value || results.data || {});
|
|
29891
29919
|
}
|
|
29892
29920
|
}
|
|
29893
29921
|
}).catch(function (err) {
|
|
29894
|
-
|
|
29922
|
+
_this5.loading = false;
|
|
29895
29923
|
if (err.message && err.message !== 'canceled') {
|
|
29896
|
-
|
|
29924
|
+
_this5.$message.error(err.message);
|
|
29897
29925
|
}
|
|
29898
29926
|
});
|
|
29899
29927
|
}
|
|
29900
29928
|
},
|
|
29901
29929
|
resolution: function resolution(res) {
|
|
29902
|
-
var
|
|
29930
|
+
var _this6 = this;
|
|
29903
29931
|
|
|
29904
29932
|
this.forbid = false;
|
|
29905
29933
|
if (res.length > 0) {
|
|
@@ -29907,11 +29935,11 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
29907
29935
|
var names = [];
|
|
29908
29936
|
res.forEach(function (item, index) {
|
|
29909
29937
|
if (item.type === 'submit' || item.type === 'button') {
|
|
29910
|
-
|
|
29938
|
+
_this6.$set(_this6, 'button', item.contents);
|
|
29911
29939
|
} else {
|
|
29912
29940
|
if (Object.prototype.hasOwnProperty.call(item, 'title') && Object.prototype.hasOwnProperty.call(item, 'contents')) {
|
|
29913
|
-
|
|
29914
|
-
if (
|
|
29941
|
+
_this6.isCollapse = true;
|
|
29942
|
+
if (_this6.accordion) {
|
|
29915
29943
|
if (index === 0) {
|
|
29916
29944
|
names = item.name || String(index);
|
|
29917
29945
|
}
|
|
@@ -29919,7 +29947,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
29919
29947
|
names.push(item.name || String(index));
|
|
29920
29948
|
}
|
|
29921
29949
|
} else {
|
|
29922
|
-
|
|
29950
|
+
_this6.isCollapse = false;
|
|
29923
29951
|
}
|
|
29924
29952
|
contents.push(utils_util["a" /* default */].extend({}, item));
|
|
29925
29953
|
}
|
|
@@ -29933,8 +29961,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
29933
29961
|
}
|
|
29934
29962
|
}
|
|
29935
29963
|
},
|
|
29936
|
-
|
|
29937
|
-
var
|
|
29964
|
+
getValues: function getValues() {
|
|
29965
|
+
var _this7 = this;
|
|
29938
29966
|
|
|
29939
29967
|
if (typeof this.model === 'string') {
|
|
29940
29968
|
this.loading = true;
|
|
@@ -29945,45 +29973,45 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
29945
29973
|
data: param,
|
|
29946
29974
|
params: param
|
|
29947
29975
|
}).then(function (res) {
|
|
29948
|
-
|
|
29976
|
+
_this7.loading = false;
|
|
29949
29977
|
if (res.rCode === 0) {
|
|
29950
|
-
var value = res.results ?
|
|
29978
|
+
var value = res.results ? _this7.parseData ? _this7.parseData(JSON.parse(JSON.stringify(res.results))) : JSON.parse(JSON.stringify(res.results)) : {};
|
|
29951
29979
|
|
|
29952
29980
|
var data = {};
|
|
29953
|
-
if (
|
|
29954
|
-
if (typeof
|
|
29981
|
+
if (_this7.autoId) {
|
|
29982
|
+
if (typeof _this7.autoId === 'boolean') {
|
|
29955
29983
|
if (value.id) {
|
|
29956
|
-
|
|
29984
|
+
_this7.$emit('update:businessId', value.id);
|
|
29957
29985
|
} else {
|
|
29958
|
-
if (
|
|
29959
|
-
data = { id:
|
|
29986
|
+
if (_this7.businessId !== undefined) {
|
|
29987
|
+
data = { id: _this7.businessId };
|
|
29960
29988
|
} else {
|
|
29961
|
-
data = { id:
|
|
29989
|
+
data = { id: _this7.uuid };
|
|
29962
29990
|
}
|
|
29963
|
-
|
|
29991
|
+
_this7.$emit('update:businessId', data.id);
|
|
29964
29992
|
}
|
|
29965
29993
|
} else {
|
|
29966
|
-
if (value[
|
|
29967
|
-
|
|
29994
|
+
if (value[_this7.autoId]) {
|
|
29995
|
+
_this7.$emit('update:businessId', value[_this7.autoId]);
|
|
29968
29996
|
} else {
|
|
29969
|
-
if (
|
|
29970
|
-
data[
|
|
29997
|
+
if (_this7.businessId !== undefined) {
|
|
29998
|
+
data[_this7.autoId] = _this7.businessId;
|
|
29971
29999
|
} else {
|
|
29972
|
-
data[
|
|
30000
|
+
data[_this7.autoId] = _this7.uuid;
|
|
29973
30001
|
}
|
|
29974
|
-
|
|
30002
|
+
_this7.$emit('update:businessId', data[_this7.autoId]);
|
|
29975
30003
|
}
|
|
29976
30004
|
}
|
|
29977
30005
|
}
|
|
29978
|
-
|
|
29979
|
-
|
|
29980
|
-
|
|
29981
|
-
|
|
30006
|
+
_this7.values = utils_util["a" /* default */].extend({}, data, value);
|
|
30007
|
+
_this7.$emit('valueSuccess', _this7.values);
|
|
30008
|
+
_this7.$emit('value-success', _this7.values);
|
|
30009
|
+
_this7.$emit('result', _this7.values);
|
|
29982
30010
|
}
|
|
29983
30011
|
}).catch(function (err) {
|
|
29984
|
-
|
|
30012
|
+
_this7.loading = false;
|
|
29985
30013
|
if (err.message && err.message !== 'canceled') {
|
|
29986
|
-
|
|
30014
|
+
_this7.$message.error(err.message);
|
|
29987
30015
|
}
|
|
29988
30016
|
});
|
|
29989
30017
|
}
|
|
@@ -30022,7 +30050,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30022
30050
|
}
|
|
30023
30051
|
},
|
|
30024
30052
|
handleClick: function handleClick(res, index) {
|
|
30025
|
-
var
|
|
30053
|
+
var _this8 = this;
|
|
30026
30054
|
|
|
30027
30055
|
if (res.event && typeof res.event === 'function') {
|
|
30028
30056
|
if (res.validate) {
|
|
@@ -30033,9 +30061,9 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30033
30061
|
switch (_context.prev = _context.next) {
|
|
30034
30062
|
case 0:
|
|
30035
30063
|
if (valid) {
|
|
30036
|
-
res.event(res,
|
|
30064
|
+
res.event(res, _this8.models, index);
|
|
30037
30065
|
} else {
|
|
30038
|
-
|
|
30066
|
+
_this8.setScroll(valid, triggers, _this8.$refs.scrollbar);
|
|
30039
30067
|
}
|
|
30040
30068
|
|
|
30041
30069
|
case 1:
|
|
@@ -30043,7 +30071,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30043
30071
|
return _context.stop();
|
|
30044
30072
|
}
|
|
30045
30073
|
}
|
|
30046
|
-
}, _callee,
|
|
30074
|
+
}, _callee, _this8);
|
|
30047
30075
|
}));
|
|
30048
30076
|
|
|
30049
30077
|
return function (_x, _x2, _x3) {
|
|
@@ -30057,11 +30085,11 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30057
30085
|
if (this.stepActive < index) {
|
|
30058
30086
|
this.$refs.esForm.validate(function (valid, fields, triggers) {
|
|
30059
30087
|
if (valid) {
|
|
30060
|
-
|
|
30061
|
-
|
|
30062
|
-
|
|
30088
|
+
_this8.stepActive = index;
|
|
30089
|
+
_this8.$emit('stepChange', _this8.stepActive);
|
|
30090
|
+
_this8.$emit('step-change', _this8.stepActive);
|
|
30063
30091
|
} else {
|
|
30064
|
-
|
|
30092
|
+
_this8.setScroll(valid, triggers, _this8.$refs.scrollbar);
|
|
30065
30093
|
}
|
|
30066
30094
|
});
|
|
30067
30095
|
} else {
|
|
@@ -30080,9 +30108,9 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30080
30108
|
switch (_context2.prev = _context2.next) {
|
|
30081
30109
|
case 0:
|
|
30082
30110
|
if (valid) {
|
|
30083
|
-
|
|
30111
|
+
_this8.$emit('submit', _this8.getNewValue(utils_util["a" /* default */].extend({}, _this8._value, _this8.models), res), res);
|
|
30084
30112
|
} else {
|
|
30085
|
-
|
|
30113
|
+
_this8.setScroll(valid, triggers, _this8.$refs.scrollbar);
|
|
30086
30114
|
}
|
|
30087
30115
|
|
|
30088
30116
|
case 1:
|
|
@@ -30090,7 +30118,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30090
30118
|
return _context2.stop();
|
|
30091
30119
|
}
|
|
30092
30120
|
}
|
|
30093
|
-
}, _callee2,
|
|
30121
|
+
}, _callee2, _this8);
|
|
30094
30122
|
}));
|
|
30095
30123
|
|
|
30096
30124
|
return function (_x4, _x5, _x6) {
|
|
@@ -30112,13 +30140,13 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30112
30140
|
} else if (res.event === 'stepNext') {
|
|
30113
30141
|
this.$refs.esForm.validate(function (valid, fields, triggers) {
|
|
30114
30142
|
if (valid) {
|
|
30115
|
-
|
|
30116
|
-
|
|
30117
|
-
|
|
30118
|
-
|
|
30119
|
-
|
|
30143
|
+
_this8.stepActive += 1;
|
|
30144
|
+
_this8.$emit('stepChange', _this8.stepActive);
|
|
30145
|
+
_this8.$emit('step-change', _this8.stepActive);
|
|
30146
|
+
_this8.$emit('stepNext', res, _this8.models, _this8.getNewValue(utils_util["a" /* default */].extend({}, _this8._value, _this8.models), res));
|
|
30147
|
+
_this8.$emit('step-next', res, _this8.models, _this8.getNewValue(utils_util["a" /* default */].extend({}, _this8._value, _this8.models), res));
|
|
30120
30148
|
} else {
|
|
30121
|
-
|
|
30149
|
+
_this8.setScroll(valid, triggers, _this8.$refs.scrollbar);
|
|
30122
30150
|
}
|
|
30123
30151
|
});
|
|
30124
30152
|
} else if (res.verify === false) {
|
|
@@ -30168,7 +30196,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30168
30196
|
},
|
|
30169
30197
|
handleCollapse: function handleCollapse() {},
|
|
30170
30198
|
handleChange: function handleChange(a, b, c) {
|
|
30171
|
-
var
|
|
30199
|
+
var _this9 = this;
|
|
30172
30200
|
|
|
30173
30201
|
if (Object.prototype.hasOwnProperty.call(a, 'idCard')) {
|
|
30174
30202
|
var obj = this.IdCardToInfo(b, a);
|
|
@@ -30178,13 +30206,13 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30178
30206
|
if ((typeof item === 'undefined' ? 'undefined' : src_mainvue_type_script_lang_js_typeof(item)) === 'object') {
|
|
30179
30207
|
for (var i in item) {
|
|
30180
30208
|
if (typeof item[i] === 'string') {
|
|
30181
|
-
|
|
30209
|
+
_this9.$set(_this9.models, i, obj[item[i]]);
|
|
30182
30210
|
} else {
|
|
30183
|
-
|
|
30211
|
+
_this9.$set(_this9.models, i, item[i][obj.sex]);
|
|
30184
30212
|
}
|
|
30185
30213
|
}
|
|
30186
30214
|
} else {
|
|
30187
|
-
|
|
30215
|
+
_this9.$set(_this9.models, item, obj[item]);
|
|
30188
30216
|
}
|
|
30189
30217
|
});
|
|
30190
30218
|
} else {
|
|
@@ -30200,7 +30228,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30200
30228
|
if (Object.prototype.hasOwnProperty.call(a, 'setValues') && (typeof b === 'undefined' ? 'undefined' : src_mainvue_type_script_lang_js_typeof(b)) === 'object') {
|
|
30201
30229
|
if (Array.isArray(a.setValues)) {
|
|
30202
30230
|
a.setValues.forEach(function (item) {
|
|
30203
|
-
|
|
30231
|
+
_this9.$set(_this9.models, item, b[item]);
|
|
30204
30232
|
});
|
|
30205
30233
|
} else {
|
|
30206
30234
|
for (var i in a.setValues) {
|
|
@@ -30240,7 +30268,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30240
30268
|
}
|
|
30241
30269
|
},
|
|
30242
30270
|
validate: function validate(callback) {
|
|
30243
|
-
var
|
|
30271
|
+
var _this10 = this;
|
|
30244
30272
|
|
|
30245
30273
|
var promise = void 0;
|
|
30246
30274
|
if (typeof callback !== 'function' && window.Promise) {
|
|
@@ -30251,7 +30279,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30251
30279
|
});
|
|
30252
30280
|
}
|
|
30253
30281
|
this.$refs.esForm.validate(function (val, fields, triggers) {
|
|
30254
|
-
|
|
30282
|
+
_this10.setScroll(val, triggers, _this10.$refs.scrollbar);
|
|
30255
30283
|
callback(val, fields, triggers);
|
|
30256
30284
|
});
|
|
30257
30285
|
if (promise) {
|
|
@@ -30271,13 +30299,13 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30271
30299
|
return this.$refs.esForm.validateField(props, callback);
|
|
30272
30300
|
},
|
|
30273
30301
|
resetFields: function resetFields() {
|
|
30274
|
-
var
|
|
30302
|
+
var _this11 = this;
|
|
30275
30303
|
|
|
30276
30304
|
for (var i in this.models) {
|
|
30277
30305
|
this.$set(this.models, i, '');
|
|
30278
30306
|
}
|
|
30279
30307
|
this.$nextTick(function () {
|
|
30280
|
-
|
|
30308
|
+
_this11.clearValidate();
|
|
30281
30309
|
});
|
|
30282
30310
|
//this.$refs.esForm.resetFields();
|
|
30283
30311
|
},
|
|
@@ -30287,7 +30315,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30287
30315
|
submitData: function submitData(handle) {
|
|
30288
30316
|
var close = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
30289
30317
|
|
|
30290
|
-
var
|
|
30318
|
+
var _this12 = this;
|
|
30291
30319
|
|
|
30292
30320
|
var type = arguments[2];
|
|
30293
30321
|
var validate = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
|
|
@@ -30299,7 +30327,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30299
30327
|
handle = this.handles || {};
|
|
30300
30328
|
}
|
|
30301
30329
|
return new Promise(function (resolve, reject) {
|
|
30302
|
-
validate ?
|
|
30330
|
+
validate ? _this12.$refs.esForm.validate(function () {
|
|
30303
30331
|
var _ref3 = src_mainvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee3(valid, fields, triggers) {
|
|
30304
30332
|
var models, param, loading;
|
|
30305
30333
|
return regenerator_default.a.wrap(function _callee3$(_context3) {
|
|
@@ -30311,9 +30339,9 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30311
30339
|
break;
|
|
30312
30340
|
}
|
|
30313
30341
|
|
|
30314
|
-
models =
|
|
30342
|
+
models = _this12.getNewValue(utils_util["a" /* default */].extend({}, _this12._value, _this12.models), handle, type);
|
|
30315
30343
|
|
|
30316
|
-
if (!(
|
|
30344
|
+
if (!(_this12.validated && !_this12.validated(models, validate))) {
|
|
30317
30345
|
_context3.next = 4;
|
|
30318
30346
|
break;
|
|
30319
30347
|
}
|
|
@@ -30321,48 +30349,48 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30321
30349
|
return _context3.abrupt('return', reject(err));
|
|
30322
30350
|
|
|
30323
30351
|
case 4:
|
|
30324
|
-
param =
|
|
30352
|
+
param = _this12.param;
|
|
30325
30353
|
|
|
30326
30354
|
if (handle.param) {
|
|
30327
|
-
param = utils_util["a" /* default */].extend({},
|
|
30355
|
+
param = utils_util["a" /* default */].extend({}, _this12.param, handle.param);
|
|
30328
30356
|
}
|
|
30329
30357
|
loading = void 0;
|
|
30330
30358
|
|
|
30331
|
-
if (
|
|
30332
|
-
loading = utils_util["a" /* default */].loading(
|
|
30359
|
+
if (_this12.submitLoading) {
|
|
30360
|
+
loading = utils_util["a" /* default */].loading(_this12.$loading, handle.loadingText ? handle.loadingText + '...' : '提交中...');
|
|
30333
30361
|
}
|
|
30334
30362
|
_context3.next = 10;
|
|
30335
|
-
return utils_util["a" /* default */].ajax(form_src_mainvue_type_script_lang_js_extends({},
|
|
30336
|
-
url: src_mainvue_type_script_lang_js_typeof(
|
|
30337
|
-
format: handle.format ||
|
|
30363
|
+
return utils_util["a" /* default */].ajax(form_src_mainvue_type_script_lang_js_extends({}, _this12.ajaxConfig, {
|
|
30364
|
+
url: src_mainvue_type_script_lang_js_typeof(_this12.action) === 'object' ? _this12.action[_this12.actionType] : _this12.action,
|
|
30365
|
+
format: handle.format || _this12.format,
|
|
30338
30366
|
data: form_src_mainvue_type_script_lang_js_extends({}, models, param),
|
|
30339
|
-
method:
|
|
30367
|
+
method: _this12.method,
|
|
30340
30368
|
loading: loading
|
|
30341
30369
|
})).then(function (res) {
|
|
30342
30370
|
loading && loading.close();
|
|
30343
30371
|
if (res.rCode === 0) {
|
|
30344
|
-
|
|
30345
|
-
|
|
30346
|
-
|
|
30347
|
-
if (
|
|
30348
|
-
|
|
30372
|
+
_this12.showMsg && _this12.$message.success(res.msg || res.message || '成功!');
|
|
30373
|
+
_this12.$emit('success', res, models);
|
|
30374
|
+
_this12.models = {};
|
|
30375
|
+
if (_this12.esTabs) {
|
|
30376
|
+
_this12.esTabs.handleTabState(true);
|
|
30349
30377
|
}
|
|
30350
|
-
if (
|
|
30378
|
+
if (_this12.closeDialog) {
|
|
30351
30379
|
if (window.$wujie && window.$wujie.props && window.$wujie.props._dialog) {
|
|
30352
30380
|
window.$wujie.bus.$emit('dialogClose', handle.reload, window.$wujie.props);
|
|
30353
30381
|
}
|
|
30354
|
-
if (
|
|
30355
|
-
|
|
30382
|
+
if (_this12.esDialog && close) {
|
|
30383
|
+
_this12.esDialog.handleClose(handle.reload);
|
|
30356
30384
|
}
|
|
30357
30385
|
}
|
|
30358
30386
|
resolve();
|
|
30359
30387
|
} else {
|
|
30360
|
-
|
|
30361
|
-
|
|
30388
|
+
_this12.$message.error(res.msg || res.message || '系统错误,请联系管理员!');
|
|
30389
|
+
_this12.$emit('error', res);
|
|
30362
30390
|
}
|
|
30363
30391
|
}).catch(function (err) {
|
|
30364
30392
|
if (err.message && err.message !== 'canceled') {
|
|
30365
|
-
|
|
30393
|
+
_this12.$message.error(err.message);
|
|
30366
30394
|
}
|
|
30367
30395
|
reject(err);
|
|
30368
30396
|
});
|
|
@@ -30372,7 +30400,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30372
30400
|
break;
|
|
30373
30401
|
|
|
30374
30402
|
case 12:
|
|
30375
|
-
|
|
30403
|
+
_this12.setScroll(valid, triggers, _this12.$refs.scrollbar);
|
|
30376
30404
|
console.error(valid);
|
|
30377
30405
|
return _context3.abrupt('return', false);
|
|
30378
30406
|
|
|
@@ -30381,7 +30409,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30381
30409
|
return _context3.stop();
|
|
30382
30410
|
}
|
|
30383
30411
|
}
|
|
30384
|
-
}, _callee3,
|
|
30412
|
+
}, _callee3, _this12);
|
|
30385
30413
|
}));
|
|
30386
30414
|
|
|
30387
30415
|
return function (_x9, _x10, _x11) {
|
|
@@ -30393,9 +30421,9 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30393
30421
|
while (1) {
|
|
30394
30422
|
switch (_context4.prev = _context4.next) {
|
|
30395
30423
|
case 0:
|
|
30396
|
-
models =
|
|
30424
|
+
models = _this12.getNewValue(utils_util["a" /* default */].extend({}, _this12._value, _this12.models), handle, type);
|
|
30397
30425
|
|
|
30398
|
-
if (!(
|
|
30426
|
+
if (!(_this12.validated && !_this12.validated(models, validate))) {
|
|
30399
30427
|
_context4.next = 3;
|
|
30400
30428
|
break;
|
|
30401
30429
|
}
|
|
@@ -30403,48 +30431,48 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30403
30431
|
return _context4.abrupt('return', reject(err));
|
|
30404
30432
|
|
|
30405
30433
|
case 3:
|
|
30406
|
-
param =
|
|
30434
|
+
param = _this12.param;
|
|
30407
30435
|
|
|
30408
30436
|
if (handle.param) {
|
|
30409
|
-
param = utils_util["a" /* default */].extend({},
|
|
30437
|
+
param = utils_util["a" /* default */].extend({}, _this12.param, handle.param);
|
|
30410
30438
|
}
|
|
30411
30439
|
loading = void 0;
|
|
30412
30440
|
|
|
30413
|
-
if (
|
|
30414
|
-
loading = utils_util["a" /* default */].loading(
|
|
30441
|
+
if (_this12.submitLoading) {
|
|
30442
|
+
loading = utils_util["a" /* default */].loading(_this12.$loading, handle.loadingText ? handle.loadingText + '...' : '提交中...');
|
|
30415
30443
|
}
|
|
30416
30444
|
_context4.next = 9;
|
|
30417
|
-
return utils_util["a" /* default */].ajax(form_src_mainvue_type_script_lang_js_extends({},
|
|
30418
|
-
url: src_mainvue_type_script_lang_js_typeof(
|
|
30419
|
-
format: handle.format ||
|
|
30445
|
+
return utils_util["a" /* default */].ajax(form_src_mainvue_type_script_lang_js_extends({}, _this12.ajaxConfig, {
|
|
30446
|
+
url: src_mainvue_type_script_lang_js_typeof(_this12.action) === 'object' ? _this12.action[_this12.actionType] : _this12.action,
|
|
30447
|
+
format: handle.format || _this12.format,
|
|
30420
30448
|
data: form_src_mainvue_type_script_lang_js_extends({}, models, param),
|
|
30421
|
-
method:
|
|
30449
|
+
method: _this12.method,
|
|
30422
30450
|
loading: loading
|
|
30423
30451
|
})).then(function (res) {
|
|
30424
30452
|
loading && loading.close();
|
|
30425
30453
|
if (res.rCode === 0) {
|
|
30426
|
-
|
|
30427
|
-
|
|
30428
|
-
|
|
30429
|
-
if (
|
|
30430
|
-
|
|
30454
|
+
_this12.showMsg && _this12.$message.success(res.msg || res.message || '成功!');
|
|
30455
|
+
_this12.$emit('success', res, models);
|
|
30456
|
+
_this12.models = {};
|
|
30457
|
+
if (_this12.esTabs) {
|
|
30458
|
+
_this12.esTabs.handleTabState(true);
|
|
30431
30459
|
}
|
|
30432
|
-
if (
|
|
30460
|
+
if (_this12.closeDialog) {
|
|
30433
30461
|
if (window.$wujie && window.$wujie.props && window.$wujie.props._dialog) {
|
|
30434
30462
|
window.$wujie.bus.$emit('dialogClose', handle.reload, window.$wujie.props);
|
|
30435
30463
|
}
|
|
30436
|
-
if (
|
|
30437
|
-
|
|
30464
|
+
if (_this12.esDialog && close) {
|
|
30465
|
+
_this12.esDialog.handleClose(handle.reload);
|
|
30438
30466
|
}
|
|
30439
30467
|
}
|
|
30440
30468
|
resolve();
|
|
30441
30469
|
} else {
|
|
30442
|
-
|
|
30443
|
-
|
|
30470
|
+
_this12.$message.error(res.msg || res.message || '系统错误,请联系管理员!');
|
|
30471
|
+
_this12.$emit('error', res);
|
|
30444
30472
|
}
|
|
30445
30473
|
}).catch(function (err) {
|
|
30446
30474
|
if (err.message && err.message !== 'canceled') {
|
|
30447
|
-
|
|
30475
|
+
_this12.$message.error(err.message);
|
|
30448
30476
|
}
|
|
30449
30477
|
reject(err);
|
|
30450
30478
|
});
|
|
@@ -30454,12 +30482,12 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30454
30482
|
return _context4.stop();
|
|
30455
30483
|
}
|
|
30456
30484
|
}
|
|
30457
|
-
}, _callee4,
|
|
30485
|
+
}, _callee4, _this12);
|
|
30458
30486
|
}))();
|
|
30459
30487
|
});
|
|
30460
30488
|
},
|
|
30461
30489
|
getVal: function getVal(value, keys) {
|
|
30462
|
-
var
|
|
30490
|
+
var _this13 = this;
|
|
30463
30491
|
|
|
30464
30492
|
if (typeof keys === 'string') {
|
|
30465
30493
|
if (Array.isArray(value)) {
|
|
@@ -30477,15 +30505,15 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30477
30505
|
return item[keys[i]];
|
|
30478
30506
|
});
|
|
30479
30507
|
return {
|
|
30480
|
-
v:
|
|
30508
|
+
v: _this13.format ? _val.join(',') : _val
|
|
30481
30509
|
};
|
|
30482
30510
|
}
|
|
30483
30511
|
return {
|
|
30484
|
-
v:
|
|
30512
|
+
v: _this13.format && Array.isArray(value[i][keys[i]]) ? value[i][keys[i]].join(',') : value[i][keys[i]]
|
|
30485
30513
|
};
|
|
30486
30514
|
} else {
|
|
30487
30515
|
return {
|
|
30488
|
-
v:
|
|
30516
|
+
v: _this13.getVal(value[i], keys[i])
|
|
30489
30517
|
};
|
|
30490
30518
|
}
|
|
30491
30519
|
};
|
|
@@ -30635,8 +30663,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30635
30663
|
|
|
30636
30664
|
var form_src_main_component = normalizeComponent(
|
|
30637
30665
|
packages_form_src_mainvue_type_script_lang_js_,
|
|
30638
|
-
|
|
30639
|
-
|
|
30666
|
+
mainvue_type_template_id_73daac22_render,
|
|
30667
|
+
mainvue_type_template_id_73daac22_staticRenderFns,
|
|
30640
30668
|
false,
|
|
30641
30669
|
null,
|
|
30642
30670
|
null,
|
|
@@ -45916,8 +45944,8 @@ handler_src_main.install = function (Vue) {
|
|
|
45916
45944
|
};
|
|
45917
45945
|
|
|
45918
45946
|
/* harmony default export */ var packages_handler = (handler_src_main);
|
|
45919
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/main.vue?vue&type=template&id=
|
|
45920
|
-
var
|
|
45947
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/main.vue?vue&type=template&id=509a9002&
|
|
45948
|
+
var mainvue_type_template_id_509a9002_render = function () {
|
|
45921
45949
|
var _vm = this
|
|
45922
45950
|
var _h = _vm.$createElement
|
|
45923
45951
|
var _c = _vm._self._c || _h
|
|
@@ -45932,11 +45960,11 @@ var mainvue_type_template_id_94173c5a_render = function () {
|
|
|
45932
45960
|
)
|
|
45933
45961
|
)
|
|
45934
45962
|
}
|
|
45935
|
-
var
|
|
45936
|
-
|
|
45963
|
+
var mainvue_type_template_id_509a9002_staticRenderFns = []
|
|
45964
|
+
mainvue_type_template_id_509a9002_render._withStripped = true
|
|
45937
45965
|
|
|
45938
45966
|
|
|
45939
|
-
// CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=template&id=
|
|
45967
|
+
// CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=template&id=509a9002&
|
|
45940
45968
|
|
|
45941
45969
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/main.vue?vue&type=script&lang=js&
|
|
45942
45970
|
//
|
|
@@ -45948,7 +45976,6 @@ mainvue_type_template_id_94173c5a_render._withStripped = true
|
|
|
45948
45976
|
//
|
|
45949
45977
|
//
|
|
45950
45978
|
|
|
45951
|
-
|
|
45952
45979
|
/* harmony default export */ var icon_src_mainvue_type_script_lang_js_ = ({
|
|
45953
45980
|
name: 'EsIcon',
|
|
45954
45981
|
inheritAttrs: false,
|
|
@@ -45962,7 +45989,7 @@ mainvue_type_template_id_94173c5a_render._withStripped = true
|
|
|
45962
45989
|
handler: function handler(val) {
|
|
45963
45990
|
if (val) {
|
|
45964
45991
|
if (typeof val == 'string') {
|
|
45965
|
-
if (
|
|
45992
|
+
if (!this.unicode(val)) {
|
|
45966
45993
|
this.code = val;
|
|
45967
45994
|
this.className = 'es-icon';
|
|
45968
45995
|
} else {
|
|
@@ -45986,7 +46013,15 @@ mainvue_type_template_id_94173c5a_render._withStripped = true
|
|
|
45986
46013
|
},
|
|
45987
46014
|
created: function created() {},
|
|
45988
46015
|
|
|
45989
|
-
methods: {
|
|
46016
|
+
methods: {
|
|
46017
|
+
unicode: function unicode(res) {
|
|
46018
|
+
if (!res) {
|
|
46019
|
+
return false;
|
|
46020
|
+
}
|
|
46021
|
+
var reg = new RegExp(/^es-\S+/, 'g');
|
|
46022
|
+
return res.match(reg) ? res.match(reg).length : 0;
|
|
46023
|
+
}
|
|
46024
|
+
}
|
|
45990
46025
|
});
|
|
45991
46026
|
// CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=script&lang=js&
|
|
45992
46027
|
/* harmony default export */ var packages_icon_src_mainvue_type_script_lang_js_ = (icon_src_mainvue_type_script_lang_js_);
|
|
@@ -46000,8 +46035,8 @@ mainvue_type_template_id_94173c5a_render._withStripped = true
|
|
|
46000
46035
|
|
|
46001
46036
|
var icon_src_main_component = normalizeComponent(
|
|
46002
46037
|
packages_icon_src_mainvue_type_script_lang_js_,
|
|
46003
|
-
|
|
46004
|
-
|
|
46038
|
+
mainvue_type_template_id_509a9002_render,
|
|
46039
|
+
mainvue_type_template_id_509a9002_staticRenderFns,
|
|
46005
46040
|
false,
|
|
46006
46041
|
null,
|
|
46007
46042
|
null,
|
|
@@ -46254,6 +46289,7 @@ var input_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
46254
46289
|
|
|
46255
46290
|
|
|
46256
46291
|
|
|
46292
|
+
|
|
46257
46293
|
/* harmony default export */ var input_src_mainvue_type_script_lang_js_ = ({
|
|
46258
46294
|
name: 'EsInput',
|
|
46259
46295
|
componentName: 'EsInput',
|
|
@@ -46372,11 +46408,19 @@ var input_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
46372
46408
|
return undefined;
|
|
46373
46409
|
}
|
|
46374
46410
|
},
|
|
46411
|
+
beforeCreate: function beforeCreate() {
|
|
46412
|
+
var _this2 = this;
|
|
46413
|
+
|
|
46414
|
+
this.getData = Object(external_throttle_debounce_["debounce"])(300, function (query, callback, isChange) {
|
|
46415
|
+
_this2.getDatas(query, callback, isChange);
|
|
46416
|
+
});
|
|
46417
|
+
},
|
|
46418
|
+
created: function created() {},
|
|
46375
46419
|
mounted: function mounted() {},
|
|
46376
46420
|
|
|
46377
46421
|
methods: {
|
|
46378
|
-
|
|
46379
|
-
var
|
|
46422
|
+
getDatas: function getDatas(query, callback, isChange) {
|
|
46423
|
+
var _this3 = this;
|
|
46380
46424
|
|
|
46381
46425
|
if (input_src_mainvue_type_script_lang_js_typeof(this.url) && this.results.length === 0) {
|
|
46382
46426
|
utils_util["a" /* default */].ajax({
|
|
@@ -46386,13 +46430,13 @@ var input_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
46386
46430
|
params: this.param
|
|
46387
46431
|
}).then(function (res) {
|
|
46388
46432
|
if (res.rCode === 0) {
|
|
46389
|
-
|
|
46390
|
-
var results = query ?
|
|
46433
|
+
_this3.results = JSON.parse(JSON.stringify(res.results));
|
|
46434
|
+
var results = query ? _this3.results.filter(_this3.searchFilter(query)) : _this3.results;
|
|
46391
46435
|
callback(results);
|
|
46392
46436
|
}
|
|
46393
46437
|
}).catch(function (err) {
|
|
46394
46438
|
if (err.message && err.message !== 'canceled') {
|
|
46395
|
-
|
|
46439
|
+
_this3.$message.error(err.message);
|
|
46396
46440
|
}
|
|
46397
46441
|
});
|
|
46398
46442
|
} else {
|
|
@@ -46401,13 +46445,13 @@ var input_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
46401
46445
|
}
|
|
46402
46446
|
},
|
|
46403
46447
|
searchFilter: function searchFilter(query, isChange) {
|
|
46404
|
-
var
|
|
46448
|
+
var _this4 = this;
|
|
46405
46449
|
|
|
46406
46450
|
return function (state) {
|
|
46407
46451
|
if (isChange) {
|
|
46408
46452
|
return state.value.indexOf(query) > -1;
|
|
46409
46453
|
} else {
|
|
46410
|
-
if (
|
|
46454
|
+
if (_this4.exclude) {
|
|
46411
46455
|
return state.value !== query;
|
|
46412
46456
|
} else {
|
|
46413
46457
|
return state.value === query;
|
|
@@ -46416,7 +46460,7 @@ var input_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
46416
46460
|
};
|
|
46417
46461
|
},
|
|
46418
46462
|
renderd: function renderd(doms, h, type) {
|
|
46419
|
-
var
|
|
46463
|
+
var _this5 = this;
|
|
46420
46464
|
|
|
46421
46465
|
if (typeof this.$attrs[type] === 'boolean') {
|
|
46422
46466
|
if (this.$attrs.render) {
|
|
@@ -46442,8 +46486,8 @@ var input_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
46442
46486
|
domProps: this.$attrs[type].icon ? { innerHTML: this.$attrs[type].icon } : {},
|
|
46443
46487
|
on: {
|
|
46444
46488
|
click: function click() {
|
|
46445
|
-
|
|
46446
|
-
|
|
46489
|
+
_this5.$attrs[type].click && _this5.$attrs[type].click(_this5, _this5.model, _this5.scope);
|
|
46490
|
+
_this5.$attrs[type].event && _this5.$attrs[type].event(_this5, _this5.model, _this5.scope);
|
|
46447
46491
|
}
|
|
46448
46492
|
}
|
|
46449
46493
|
}, [this.$attrs[type].text]));
|
|
@@ -47382,8 +47426,8 @@ layout_src_main.install = function (Vue) {
|
|
|
47382
47426
|
};
|
|
47383
47427
|
|
|
47384
47428
|
/* harmony default export */ var layout = (layout_src_main);
|
|
47385
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=
|
|
47386
|
-
var
|
|
47429
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=5bc62799&
|
|
47430
|
+
var mainvue_type_template_id_5bc62799_render = function () {
|
|
47387
47431
|
var _vm = this
|
|
47388
47432
|
var _h = _vm.$createElement
|
|
47389
47433
|
var _c = _vm._self._c || _h
|
|
@@ -47475,7 +47519,7 @@ var mainvue_type_template_id_c5d4acd0_render = function () {
|
|
|
47475
47519
|
attrs: { title: _vm.switchs > 2 ? item.name : "" },
|
|
47476
47520
|
on: {
|
|
47477
47521
|
click: function ($event) {
|
|
47478
|
-
_vm.switchLogin(item
|
|
47522
|
+
_vm.switchLogin(item)
|
|
47479
47523
|
},
|
|
47480
47524
|
},
|
|
47481
47525
|
})
|
|
@@ -47499,20 +47543,28 @@ var mainvue_type_template_id_c5d4acd0_render = function () {
|
|
|
47499
47543
|
},
|
|
47500
47544
|
[
|
|
47501
47545
|
!_vm.loginTitleImg
|
|
47502
|
-
?
|
|
47503
|
-
|
|
47504
|
-
|
|
47505
|
-
|
|
47506
|
-
|
|
47507
|
-
|
|
47508
|
-
|
|
47509
|
-
|
|
47510
|
-
|
|
47511
|
-
|
|
47512
|
-
|
|
47513
|
-
|
|
47514
|
-
|
|
47515
|
-
|
|
47546
|
+
? [
|
|
47547
|
+
_vm._t(
|
|
47548
|
+
"login-title",
|
|
47549
|
+
[
|
|
47550
|
+
_c(
|
|
47551
|
+
"div",
|
|
47552
|
+
{ staticClass: "es-login-title" },
|
|
47553
|
+
[
|
|
47554
|
+
_c(
|
|
47555
|
+
"span",
|
|
47556
|
+
{
|
|
47557
|
+
staticClass:
|
|
47558
|
+
"es-login-title-content",
|
|
47559
|
+
},
|
|
47560
|
+
[_vm._v(_vm._s(_vm.title))]
|
|
47561
|
+
),
|
|
47562
|
+
]
|
|
47563
|
+
),
|
|
47564
|
+
],
|
|
47565
|
+
{ type: _vm.active }
|
|
47566
|
+
),
|
|
47567
|
+
]
|
|
47516
47568
|
: _vm._e(),
|
|
47517
47569
|
_c(
|
|
47518
47570
|
"el-form-item",
|
|
@@ -47798,7 +47850,7 @@ var mainvue_type_template_id_c5d4acd0_render = function () {
|
|
|
47798
47850
|
[_vm._v("登录")]
|
|
47799
47851
|
),
|
|
47800
47852
|
],
|
|
47801
|
-
|
|
47853
|
+
2
|
|
47802
47854
|
),
|
|
47803
47855
|
]
|
|
47804
47856
|
: _vm._e(),
|
|
@@ -47810,28 +47862,28 @@ var mainvue_type_template_id_c5d4acd0_render = function () {
|
|
|
47810
47862
|
{ staticClass: "es-login-qrcode" },
|
|
47811
47863
|
[
|
|
47812
47864
|
!_vm.loginTitleImg
|
|
47813
|
-
?
|
|
47814
|
-
|
|
47815
|
-
|
|
47816
|
-
|
|
47817
|
-
|
|
47818
|
-
|
|
47819
|
-
|
|
47820
|
-
|
|
47821
|
-
|
|
47822
|
-
|
|
47823
|
-
|
|
47824
|
-
|
|
47825
|
-
|
|
47826
|
-
|
|
47827
|
-
|
|
47828
|
-
|
|
47829
|
-
|
|
47830
|
-
|
|
47831
|
-
|
|
47832
|
-
|
|
47833
|
-
|
|
47834
|
-
|
|
47865
|
+
? [
|
|
47866
|
+
_vm._t(
|
|
47867
|
+
"login-title",
|
|
47868
|
+
[
|
|
47869
|
+
_c(
|
|
47870
|
+
"div",
|
|
47871
|
+
{ staticClass: "es-login-title" },
|
|
47872
|
+
[
|
|
47873
|
+
_c(
|
|
47874
|
+
"span",
|
|
47875
|
+
{
|
|
47876
|
+
staticClass:
|
|
47877
|
+
"es-login-title-content",
|
|
47878
|
+
},
|
|
47879
|
+
[_vm._v(_vm._s(_vm.title))]
|
|
47880
|
+
),
|
|
47881
|
+
]
|
|
47882
|
+
),
|
|
47883
|
+
],
|
|
47884
|
+
{ type: _vm.active }
|
|
47885
|
+
),
|
|
47886
|
+
]
|
|
47835
47887
|
: _vm._e(),
|
|
47836
47888
|
_c(
|
|
47837
47889
|
"div",
|
|
@@ -47921,7 +47973,7 @@ var mainvue_type_template_id_c5d4acd0_render = function () {
|
|
|
47921
47973
|
)
|
|
47922
47974
|
: _vm._e(),
|
|
47923
47975
|
],
|
|
47924
|
-
|
|
47976
|
+
2
|
|
47925
47977
|
),
|
|
47926
47978
|
]
|
|
47927
47979
|
: _vm._e(),
|
|
@@ -47937,26 +47989,28 @@ var mainvue_type_template_id_c5d4acd0_render = function () {
|
|
|
47937
47989
|
},
|
|
47938
47990
|
[
|
|
47939
47991
|
!_vm.loginTitleImg
|
|
47940
|
-
?
|
|
47941
|
-
|
|
47942
|
-
|
|
47943
|
-
|
|
47944
|
-
|
|
47945
|
-
|
|
47946
|
-
|
|
47947
|
-
|
|
47948
|
-
|
|
47949
|
-
|
|
47950
|
-
|
|
47951
|
-
|
|
47952
|
-
|
|
47953
|
-
|
|
47954
|
-
|
|
47955
|
-
|
|
47956
|
-
|
|
47957
|
-
|
|
47958
|
-
|
|
47959
|
-
|
|
47992
|
+
? [
|
|
47993
|
+
_vm._t(
|
|
47994
|
+
"login-title",
|
|
47995
|
+
[
|
|
47996
|
+
_c(
|
|
47997
|
+
"div",
|
|
47998
|
+
{ staticClass: "es-login-title" },
|
|
47999
|
+
[
|
|
48000
|
+
_c(
|
|
48001
|
+
"span",
|
|
48002
|
+
{
|
|
48003
|
+
staticClass:
|
|
48004
|
+
"es-login-title-content",
|
|
48005
|
+
},
|
|
48006
|
+
[_vm._v(_vm._s(_vm.title))]
|
|
48007
|
+
),
|
|
48008
|
+
]
|
|
48009
|
+
),
|
|
48010
|
+
],
|
|
48011
|
+
{ type: _vm.active }
|
|
48012
|
+
),
|
|
48013
|
+
]
|
|
47960
48014
|
: _vm._e(),
|
|
47961
48015
|
_c(
|
|
47962
48016
|
"el-form-item",
|
|
@@ -48155,7 +48209,7 @@ var mainvue_type_template_id_c5d4acd0_render = function () {
|
|
|
48155
48209
|
[_vm._v("登录")]
|
|
48156
48210
|
),
|
|
48157
48211
|
],
|
|
48158
|
-
|
|
48212
|
+
2
|
|
48159
48213
|
),
|
|
48160
48214
|
]
|
|
48161
48215
|
: _vm._e(),
|
|
@@ -48298,11 +48352,11 @@ var mainvue_type_template_id_c5d4acd0_render = function () {
|
|
|
48298
48352
|
)
|
|
48299
48353
|
: _vm._e()
|
|
48300
48354
|
}
|
|
48301
|
-
var
|
|
48302
|
-
|
|
48355
|
+
var mainvue_type_template_id_5bc62799_staticRenderFns = []
|
|
48356
|
+
mainvue_type_template_id_5bc62799_render._withStripped = true
|
|
48303
48357
|
|
|
48304
48358
|
|
|
48305
|
-
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=
|
|
48359
|
+
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=5bc62799&
|
|
48306
48360
|
|
|
48307
48361
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=28f463b9&
|
|
48308
48362
|
var resetPasswordvue_type_template_id_28f463b9_render = function () {
|
|
@@ -49202,6 +49256,14 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
49202
49256
|
//
|
|
49203
49257
|
//
|
|
49204
49258
|
//
|
|
49259
|
+
//
|
|
49260
|
+
//
|
|
49261
|
+
//
|
|
49262
|
+
//
|
|
49263
|
+
//
|
|
49264
|
+
//
|
|
49265
|
+
//
|
|
49266
|
+
//
|
|
49205
49267
|
|
|
49206
49268
|
|
|
49207
49269
|
|
|
@@ -49224,10 +49286,6 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
49224
49286
|
type: String,
|
|
49225
49287
|
default: 'default'
|
|
49226
49288
|
},
|
|
49227
|
-
title: {
|
|
49228
|
-
type: String,
|
|
49229
|
-
default: '账号登录'
|
|
49230
|
-
},
|
|
49231
49289
|
param: {
|
|
49232
49290
|
type: Object,
|
|
49233
49291
|
default: function _default() {
|
|
@@ -49462,11 +49520,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
49462
49520
|
6: { type: '6', icon: 'es-icon-duanxin', name: '短信登录' },
|
|
49463
49521
|
7: { type: '7', icon: 'es-icon-dingding', name: '钉钉扫码登录' },
|
|
49464
49522
|
9: { type: '9', icon: 'es-icon-weixin', name: '微信扫码登录' },
|
|
49465
|
-
11: {
|
|
49466
|
-
type: '11',
|
|
49467
|
-
icon: 'es-icon-wodeyouxiang',
|
|
49468
|
-
name: '邮箱登录'
|
|
49469
|
-
},
|
|
49523
|
+
11: { type: '11', icon: 'es-icon-wodeyouxiang', name: '邮箱登录' },
|
|
49470
49524
|
12: { type: '12', icon: 'es-icon-jianpan', name: '账号登录' //双因素
|
|
49471
49525
|
} };
|
|
49472
49526
|
},
|
|
@@ -49495,6 +49549,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
49495
49549
|
immediate: true,
|
|
49496
49550
|
handler: function handler(val) {
|
|
49497
49551
|
this.active = val.split(',')[0];
|
|
49552
|
+
this.title = this.iconfonts[this.active].name;
|
|
49498
49553
|
}
|
|
49499
49554
|
},
|
|
49500
49555
|
active: {
|
|
@@ -49545,6 +49600,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
49545
49600
|
},
|
|
49546
49601
|
data: function data() {
|
|
49547
49602
|
return {
|
|
49603
|
+
title: '',
|
|
49548
49604
|
align: this.position,
|
|
49549
49605
|
loginBackgroundImg: this.loginBackground,
|
|
49550
49606
|
loginMainImg: this.loginImage,
|
|
@@ -49606,6 +49662,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
49606
49662
|
document.addEventListener('keyup', this.doLogin);
|
|
49607
49663
|
document.addEventListener('keydown', this.forbiddenTab);
|
|
49608
49664
|
}
|
|
49665
|
+
this.init();
|
|
49609
49666
|
},
|
|
49610
49667
|
mounted: function mounted() {
|
|
49611
49668
|
this.getRemember();
|
|
@@ -49613,6 +49670,10 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
49613
49670
|
},
|
|
49614
49671
|
|
|
49615
49672
|
methods: {
|
|
49673
|
+
init: function init() {
|
|
49674
|
+
var loginBoxAlign = localStorage.getItem('loginBoxAlign');
|
|
49675
|
+
loginBoxAlign && (this.align = loginBoxAlign);
|
|
49676
|
+
},
|
|
49616
49677
|
doWechatLogin: function doWechatLogin(code) {
|
|
49617
49678
|
var _this2 = this;
|
|
49618
49679
|
|
|
@@ -49765,7 +49826,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
49765
49826
|
//this.$refs.login && this.$refs.login.resetFields();
|
|
49766
49827
|
this.$refs.login && this.$refs.login.clearValidate();
|
|
49767
49828
|
if (res != 1) {
|
|
49768
|
-
this.active = res;
|
|
49829
|
+
this.active = res.type;
|
|
49830
|
+
this.title = res.name;
|
|
49769
49831
|
Object.keys(this.defaultModel).length && (this.formData = JSON.parse(JSON.stringify(this.defaultModel)));
|
|
49770
49832
|
}
|
|
49771
49833
|
this.countdown = 0;
|
|
@@ -49864,6 +49926,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
49864
49926
|
this.loginNameImg = res.subsystemExtend.loginBoxName;
|
|
49865
49927
|
}
|
|
49866
49928
|
if (res.subsystemExtend.loginBoxAlign && this.useResults) {
|
|
49929
|
+
localStorage.setItem('loginBoxAlign', res.subsystemExtend.loginBoxAlign);
|
|
49867
49930
|
this.align = res.subsystemExtend.loginBoxAlign;
|
|
49868
49931
|
}
|
|
49869
49932
|
if (res.subsystemExtend.copyrightColor) {
|
|
@@ -50325,8 +50388,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
50325
50388
|
|
|
50326
50389
|
var login_src_main_component = normalizeComponent(
|
|
50327
50390
|
packages_login_src_mainvue_type_script_lang_js_,
|
|
50328
|
-
|
|
50329
|
-
|
|
50391
|
+
mainvue_type_template_id_5bc62799_render,
|
|
50392
|
+
mainvue_type_template_id_5bc62799_staticRenderFns,
|
|
50330
50393
|
false,
|
|
50331
50394
|
null,
|
|
50332
50395
|
null,
|
|
@@ -50343,8 +50406,8 @@ login_src_main.install = function (Vue) {
|
|
|
50343
50406
|
};
|
|
50344
50407
|
|
|
50345
50408
|
/* harmony default export */ var login = (login_src_main);
|
|
50346
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=
|
|
50347
|
-
var
|
|
50409
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=098112dd&
|
|
50410
|
+
var mainvue_type_template_id_098112dd_render = function () {
|
|
50348
50411
|
var _vm = this
|
|
50349
50412
|
var _h = _vm.$createElement
|
|
50350
50413
|
var _c = _vm._self._c || _h
|
|
@@ -50398,6 +50461,8 @@ var mainvue_type_template_id_3910f883_render = function () {
|
|
|
50398
50461
|
attrs: {
|
|
50399
50462
|
mode: "horizontal",
|
|
50400
50463
|
icons: _vm.icons,
|
|
50464
|
+
"menu-icon": _vm.menuIcon,
|
|
50465
|
+
"sub-icon": _vm.subIcon,
|
|
50401
50466
|
popperClass: "el-menu--popup-" + _vm.layout,
|
|
50402
50467
|
data: _vm.navs,
|
|
50403
50468
|
deep: _vm.layout === "topnav",
|
|
@@ -50490,7 +50555,10 @@ var mainvue_type_template_id_3910f883_render = function () {
|
|
|
50490
50555
|
: _vm._e(),
|
|
50491
50556
|
]),
|
|
50492
50557
|
_c("es-handle-user", {
|
|
50493
|
-
attrs: {
|
|
50558
|
+
attrs: {
|
|
50559
|
+
data: { type: "user" },
|
|
50560
|
+
userModel: _vm.userModel,
|
|
50561
|
+
},
|
|
50494
50562
|
on: { click: _vm.handleClick },
|
|
50495
50563
|
}),
|
|
50496
50564
|
],
|
|
@@ -50536,13 +50604,17 @@ var mainvue_type_template_id_3910f883_render = function () {
|
|
|
50536
50604
|
"is-top": _vm.layout == "topside",
|
|
50537
50605
|
data: _vm.menu,
|
|
50538
50606
|
"default-active": _vm.active,
|
|
50539
|
-
width: _vm.
|
|
50607
|
+
width: _vm.navsWidth,
|
|
50608
|
+
"nav-width": _vm.navWidth,
|
|
50540
50609
|
icons: _vm.icons,
|
|
50610
|
+
"menu-icon": _vm.menuIcon,
|
|
50611
|
+
"sub-icon": _vm.subIcon,
|
|
50541
50612
|
biserial: _vm.biserial,
|
|
50542
50613
|
title: _vm.showNavTitle ? _vm.title : false,
|
|
50543
50614
|
showCollapse: _vm.showNavTitle,
|
|
50544
50615
|
"menu-tips": _vm.menuTips,
|
|
50545
50616
|
"is-default": _vm.isDefault,
|
|
50617
|
+
paddingLeft: _vm.navPaddingLeft,
|
|
50546
50618
|
},
|
|
50547
50619
|
on: {
|
|
50548
50620
|
open: function (res) {
|
|
@@ -50573,6 +50645,7 @@ var mainvue_type_template_id_3910f883_render = function () {
|
|
|
50573
50645
|
data: _vm.tabs,
|
|
50574
50646
|
titleIcons: false,
|
|
50575
50647
|
"default-active": _vm.tabsId,
|
|
50648
|
+
"menu-icon": _vm.menuIcon,
|
|
50576
50649
|
"menu-tips": _vm.menuTips,
|
|
50577
50650
|
},
|
|
50578
50651
|
on: {
|
|
@@ -50771,11 +50844,11 @@ var mainvue_type_template_id_3910f883_render = function () {
|
|
|
50771
50844
|
1
|
|
50772
50845
|
)
|
|
50773
50846
|
}
|
|
50774
|
-
var
|
|
50775
|
-
|
|
50847
|
+
var mainvue_type_template_id_098112dd_staticRenderFns = []
|
|
50848
|
+
mainvue_type_template_id_098112dd_render._withStripped = true
|
|
50776
50849
|
|
|
50777
50850
|
|
|
50778
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
50851
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=098112dd&
|
|
50779
50852
|
|
|
50780
50853
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=75d533de&
|
|
50781
50854
|
var userinfovue_type_template_id_75d533de_render = function () {
|
|
@@ -52848,6 +52921,14 @@ var main_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
52848
52921
|
//
|
|
52849
52922
|
//
|
|
52850
52923
|
//
|
|
52924
|
+
//
|
|
52925
|
+
//
|
|
52926
|
+
//
|
|
52927
|
+
//
|
|
52928
|
+
//
|
|
52929
|
+
//
|
|
52930
|
+
//
|
|
52931
|
+
//
|
|
52851
52932
|
|
|
52852
52933
|
|
|
52853
52934
|
|
|
@@ -52880,8 +52961,15 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
52880
52961
|
maxHeight: String,
|
|
52881
52962
|
//菜单导航地址
|
|
52882
52963
|
menuUrl: String,
|
|
52883
|
-
|
|
52964
|
+
//菜单展开关闭图标
|
|
52884
52965
|
icons: Object,
|
|
52966
|
+
//菜单前置默认图标
|
|
52967
|
+
menuIcon: String,
|
|
52968
|
+
//子菜单是否显示前置图标
|
|
52969
|
+
subIcon: {
|
|
52970
|
+
type: Boolean,
|
|
52971
|
+
default: true
|
|
52972
|
+
},
|
|
52885
52973
|
//logo
|
|
52886
52974
|
logo: String,
|
|
52887
52975
|
//菜单显示类型
|
|
@@ -53005,7 +53093,10 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
53005
53093
|
type: [Boolean, String],
|
|
53006
53094
|
default: true
|
|
53007
53095
|
},
|
|
53008
|
-
appCode: String
|
|
53096
|
+
appCode: String,
|
|
53097
|
+
//菜单左边距
|
|
53098
|
+
navPaddingLeft: Number,
|
|
53099
|
+
navWidth: String
|
|
53009
53100
|
},
|
|
53010
53101
|
computed: {
|
|
53011
53102
|
showHeader: function showHeader() {
|
|
@@ -53032,7 +53123,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
53032
53123
|
}
|
|
53033
53124
|
return true;
|
|
53034
53125
|
},
|
|
53035
|
-
|
|
53126
|
+
navsWidth: function navsWidth() {
|
|
53036
53127
|
return this.layout === 'topside' ? '230px' : undefined;
|
|
53037
53128
|
},
|
|
53038
53129
|
showNavTitle: function showNavTitle() {
|
|
@@ -54352,8 +54443,12 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54352
54443
|
}
|
|
54353
54444
|
}
|
|
54354
54445
|
} else {
|
|
54355
|
-
|
|
54356
|
-
|
|
54446
|
+
this.method = 'iframe';
|
|
54447
|
+
this.refresh = false;
|
|
54448
|
+
this.page = utils_util["a" /* default */].handlerUrl(page, param);
|
|
54449
|
+
this.$nextTick(function () {
|
|
54450
|
+
_this10.refresh = true;
|
|
54451
|
+
});
|
|
54357
54452
|
}
|
|
54358
54453
|
}
|
|
54359
54454
|
}
|
|
@@ -54677,8 +54772,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54677
54772
|
|
|
54678
54773
|
var main_src_main_component = normalizeComponent(
|
|
54679
54774
|
packages_main_src_mainvue_type_script_lang_js_,
|
|
54680
|
-
|
|
54681
|
-
|
|
54775
|
+
mainvue_type_template_id_098112dd_render,
|
|
54776
|
+
mainvue_type_template_id_098112dd_staticRenderFns,
|
|
54682
54777
|
false,
|
|
54683
54778
|
null,
|
|
54684
54779
|
null,
|
|
@@ -54698,6 +54793,7 @@ main_src_main.install = function (Vue) {
|
|
|
54698
54793
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/main.vue?vue&type=script&lang=js&
|
|
54699
54794
|
var menu_src_mainvue_type_script_lang_js_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; };
|
|
54700
54795
|
|
|
54796
|
+
|
|
54701
54797
|
/* harmony default export */ var menu_src_mainvue_type_script_lang_js_ = ({
|
|
54702
54798
|
name: 'EsMenu',
|
|
54703
54799
|
inheritAttrs: false,
|
|
@@ -54737,6 +54833,15 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
54737
54833
|
paddingLeft: {
|
|
54738
54834
|
type: Number,
|
|
54739
54835
|
default: 14
|
|
54836
|
+
},
|
|
54837
|
+
menuIcon: {
|
|
54838
|
+
type: String,
|
|
54839
|
+
default: 'es-icon-application'
|
|
54840
|
+
},
|
|
54841
|
+
icons: Object,
|
|
54842
|
+
subIcon: {
|
|
54843
|
+
type: Boolean,
|
|
54844
|
+
default: true
|
|
54740
54845
|
}
|
|
54741
54846
|
},
|
|
54742
54847
|
computed: {
|
|
@@ -54744,37 +54849,18 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
54744
54849
|
return this.height === undefined ? this.maxH : this.height;
|
|
54745
54850
|
},
|
|
54746
54851
|
maxWidth: function maxWidth() {
|
|
54747
|
-
if (this.mode === 'vertical') {
|
|
54748
|
-
return this.width;
|
|
54749
|
-
}
|
|
54750
54852
|
return this.maxW;
|
|
54751
54853
|
}
|
|
54752
54854
|
},
|
|
54753
54855
|
watch: {
|
|
54754
54856
|
data: {
|
|
54755
|
-
immediate: true,
|
|
54756
54857
|
deep: true,
|
|
54757
54858
|
handler: function handler() {
|
|
54758
|
-
|
|
54759
|
-
|
|
54760
|
-
if (this.mode === 'vertical') {
|
|
54761
|
-
this.$nextTick(function () {
|
|
54762
|
-
_this.maxH = _this.$refs.esMenu.$el.getBoundingClientRect().height + 'px';
|
|
54763
|
-
});
|
|
54764
|
-
} else {
|
|
54765
|
-
this.$nextTick(function () {
|
|
54766
|
-
var w = 0;
|
|
54767
|
-
Array.from(_this.$refs.menu.$el.children).forEach(function (item) {
|
|
54768
|
-
w += item.getBoundingClientRect().width;
|
|
54769
|
-
});
|
|
54770
|
-
var styles = window.getComputedStyle(_this.$refs.menu.$el);
|
|
54771
|
-
w += parseFloat(styles.paddingLeft) + parseFloat(styles.paddingRight);
|
|
54772
|
-
if (w > _this.$refs.esMenu.$el.getBoundingClientRect().width) {
|
|
54773
|
-
_this.maxW = w + 'px';
|
|
54774
|
-
}
|
|
54775
|
-
});
|
|
54776
|
-
}
|
|
54859
|
+
this.getMaxWidth();
|
|
54777
54860
|
}
|
|
54861
|
+
},
|
|
54862
|
+
width: function width() {
|
|
54863
|
+
this.getMaxWidth();
|
|
54778
54864
|
}
|
|
54779
54865
|
},
|
|
54780
54866
|
data: function data() {
|
|
@@ -54786,19 +54872,52 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
54786
54872
|
isChange: false
|
|
54787
54873
|
};
|
|
54788
54874
|
},
|
|
54789
|
-
|
|
54875
|
+
beforeCreate: function beforeCreate() {
|
|
54876
|
+
var _this = this;
|
|
54877
|
+
|
|
54878
|
+
this.getMaxWidth = Object(external_throttle_debounce_["debounce"])(300, function () {
|
|
54879
|
+
_this.getWidth();
|
|
54880
|
+
});
|
|
54881
|
+
},
|
|
54882
|
+
created: function created() {},
|
|
54883
|
+
mounted: function mounted() {
|
|
54884
|
+
this.getMaxWidth();
|
|
54885
|
+
},
|
|
54790
54886
|
|
|
54791
54887
|
methods: {
|
|
54792
|
-
|
|
54888
|
+
getWidth: function getWidth() {
|
|
54793
54889
|
var _this2 = this;
|
|
54794
54890
|
|
|
54891
|
+
if (this.mode === 'vertical') {
|
|
54892
|
+
this.$nextTick(function () {
|
|
54893
|
+
_this2.maxH = _this2.$refs.esMenu.$el.getBoundingClientRect().height + 'px';
|
|
54894
|
+
var styles = window.getComputedStyle(_this2.$refs.menu.$el.parentNode);
|
|
54895
|
+
_this2.maxW = _this2.width ? parseInt(_this2.width, 10) - parseInt(styles.marginLeft, 10) - parseInt(styles.marginRight, 10) + 'px' : '';
|
|
54896
|
+
});
|
|
54897
|
+
} else {
|
|
54898
|
+
this.$nextTick(function () {
|
|
54899
|
+
var w = 0;
|
|
54900
|
+
Array.from(_this2.$refs.menu.$el.children).forEach(function (item) {
|
|
54901
|
+
w += item.getBoundingClientRect().width;
|
|
54902
|
+
});
|
|
54903
|
+
var styles = window.getComputedStyle(_this2.$refs.menu.$el);
|
|
54904
|
+
w += parseFloat(styles.paddingLeft) + parseFloat(styles.paddingRight);
|
|
54905
|
+
if (w > _this2.$refs.esMenu.$el.getBoundingClientRect().width) {
|
|
54906
|
+
_this2.maxW = w + 'px';
|
|
54907
|
+
}
|
|
54908
|
+
});
|
|
54909
|
+
}
|
|
54910
|
+
},
|
|
54911
|
+
handleReady: function handleReady() {
|
|
54912
|
+
var _this3 = this;
|
|
54913
|
+
|
|
54795
54914
|
if (this.mode === 'horizontal') {
|
|
54796
54915
|
this.$refs.esMenu.wrap.onmouseover = function (e) {
|
|
54797
|
-
|
|
54916
|
+
_this3.$refs.esMenu.wrap.addEventListener('mousewheel', _this3.handleWheel, { passive: false }) || _this3.$refs.esMenu.wrap.addEventListener('DOMMouseScroll', _this3.handleWheel, false);
|
|
54798
54917
|
e.preventDefault();
|
|
54799
54918
|
};
|
|
54800
54919
|
this.$refs.esMenu.wrap.onmouseout = function (e) {
|
|
54801
|
-
|
|
54920
|
+
_this3.$refs.esMenu.wrap.removeEventListener('mousewheel', _this3.handleWheel, { passive: false }) || _this3.$refs.esMenu.wrap.removeEventListener('DOMMouseScroll', _this3.handleWheel, false);
|
|
54802
54921
|
e.preventDefault();
|
|
54803
54922
|
};
|
|
54804
54923
|
}
|
|
@@ -54856,7 +54975,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
54856
54975
|
}
|
|
54857
54976
|
},
|
|
54858
54977
|
handleSelect: function handleSelect(key, keyPath, item) {
|
|
54859
|
-
var
|
|
54978
|
+
var _this4 = this;
|
|
54860
54979
|
|
|
54861
54980
|
this.isChange = true;
|
|
54862
54981
|
if (this.menuId !== null && keyPath.indexOf(this.menuId) == -1) {
|
|
@@ -54865,7 +54984,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
54865
54984
|
var openedMenus = item.rootMenu.openedMenus;
|
|
54866
54985
|
openedMenus.forEach(function (item) {
|
|
54867
54986
|
if (keyPath.indexOf(item) == -1) {
|
|
54868
|
-
|
|
54987
|
+
_this4.$refs.menu.close(item);
|
|
54869
54988
|
}
|
|
54870
54989
|
});
|
|
54871
54990
|
}
|
|
@@ -54898,18 +55017,24 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
54898
55017
|
mode: this.mode
|
|
54899
55018
|
});
|
|
54900
55019
|
},
|
|
54901
|
-
getSub: function getSub(item, h, popper, fourthTabs) {
|
|
54902
|
-
var
|
|
55020
|
+
getSub: function getSub(item, h, popper, fourthTabs, subIcon) {
|
|
55021
|
+
var _this5 = this;
|
|
54903
55022
|
|
|
54904
55023
|
if (popper) {
|
|
54905
55024
|
popper += this.popperClass !== undefined ? ' ' + this.popperClass : ' es-menu-popper-' + this.mode;
|
|
54906
55025
|
} else {
|
|
54907
55026
|
popper = this.popperClass !== undefined ? this.popperClass : ' es-menu-popper-' + this.mode;
|
|
54908
55027
|
}
|
|
54909
|
-
var title = [
|
|
54910
|
-
|
|
54911
|
-
|
|
54912
|
-
|
|
55028
|
+
var title = [];
|
|
55029
|
+
if (subIcon) {
|
|
55030
|
+
title.push(h('es-icon', {
|
|
55031
|
+
props: {
|
|
55032
|
+
contents: item.icons || this.menuIcon
|
|
55033
|
+
},
|
|
55034
|
+
class: ['es-menu-item-icon']
|
|
55035
|
+
}));
|
|
55036
|
+
}
|
|
55037
|
+
title.push(h('div', {
|
|
54913
55038
|
class: ['es-menu-title-text es-menu-title-' + this.mode]
|
|
54914
55039
|
}, [h('el-badge', {
|
|
54915
55040
|
class: ['es-badge', {
|
|
@@ -54927,14 +55052,14 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
54927
55052
|
max: 99,
|
|
54928
55053
|
hidden: !item.tips
|
|
54929
55054
|
}
|
|
54930
|
-
}, [item.text])])
|
|
55055
|
+
}, [item.text])]));
|
|
54931
55056
|
var doms = [h('template', { slot: 'title' }, this.titleIcons ? title : [title[1]])];
|
|
54932
55057
|
if (this.deep && item.children && item.children.length && (!item.extendData || item.extendData.businessStatus != 0)) {
|
|
54933
55058
|
doms = doms.concat(item.children.map(function (ele, index) {
|
|
54934
55059
|
if (!ele) {
|
|
54935
55060
|
console.error('\u5BF9\u8C61\u5B50\u6570\u636E\u4E2D\u7B2C[' + index + ']\u6761\u6570\u636E\u9519\u8BEF', item);
|
|
54936
55061
|
} else {
|
|
54937
|
-
return
|
|
55062
|
+
return _this5.getSub(ele, h, popper, false, _this5.subIcon);
|
|
54938
55063
|
}
|
|
54939
55064
|
}));
|
|
54940
55065
|
return [h('el-submenu', {
|
|
@@ -54952,7 +55077,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
54952
55077
|
if (!ele) {
|
|
54953
55078
|
console.error('\u5BF9\u8C61\u5B50\u6570\u636E\u4E2D\u7B2C[' + index + ']\u6761\u6570\u636E\u9519\u8BEF', item);
|
|
54954
55079
|
} else {
|
|
54955
|
-
return
|
|
55080
|
+
return _this5.getSub(ele, h, popper, true, _this5.subIcon);
|
|
54956
55081
|
}
|
|
54957
55082
|
}));
|
|
54958
55083
|
return [h('el-submenu', {
|
|
@@ -54980,28 +55105,23 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
54980
55105
|
}
|
|
54981
55106
|
}, this.titleIcons ? title : [title[1]])];
|
|
54982
55107
|
}
|
|
54983
|
-
},
|
|
54984
|
-
unicode: function unicode(res) {
|
|
54985
|
-
if (!res) {
|
|
54986
|
-
return false;
|
|
54987
|
-
}
|
|
54988
|
-
var reg = new RegExp(/^es-\S+/, 'g');
|
|
54989
|
-
return res.match(reg) ? res.match(reg).length : 0;
|
|
54990
55108
|
}
|
|
54991
55109
|
},
|
|
54992
55110
|
render: function render(h) {
|
|
54993
|
-
var
|
|
55111
|
+
var _this6 = this;
|
|
54994
55112
|
|
|
54995
55113
|
var doms = [];
|
|
54996
55114
|
this.data.forEach(function (item) {
|
|
54997
55115
|
if (item.children && item.children.length && (!item.extendData || item.extendData.businessStatus != 0)) {
|
|
54998
|
-
doms = doms.concat(
|
|
55116
|
+
doms = doms.concat(_this6.getSub(item, h, 'es-sub-menu', false, true));
|
|
54999
55117
|
} else {
|
|
55000
|
-
var title = [h('
|
|
55001
|
-
|
|
55002
|
-
|
|
55118
|
+
var title = [h('es-icon', {
|
|
55119
|
+
props: {
|
|
55120
|
+
contents: item.icons || _this6.menuIcon
|
|
55121
|
+
},
|
|
55122
|
+
class: ['es-menu-item-icon']
|
|
55003
55123
|
}), h('div', {
|
|
55004
|
-
class: ['es-menu-title-text es-menu-title-' +
|
|
55124
|
+
class: ['es-menu-title-text es-menu-title-' + _this6.mode]
|
|
55005
55125
|
}, [h('el-badge', {
|
|
55006
55126
|
class: ['es-badge', {
|
|
55007
55127
|
'es-badge-right': item.tips && typeof item.tips !== 'boolean',
|
|
@@ -55017,9 +55137,9 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
55017
55137
|
}
|
|
55018
55138
|
}, [item.text])])];
|
|
55019
55139
|
doms.push(h('el-menu-item', {
|
|
55020
|
-
class: ['es-menu-item-' +
|
|
55140
|
+
class: ['es-menu-item-' + _this6.mode],
|
|
55021
55141
|
props: {
|
|
55022
|
-
paddingLeft:
|
|
55142
|
+
paddingLeft: _this6.paddingLeft,
|
|
55023
55143
|
disabled: item.extendData && item.extendData.businessStatus == 0
|
|
55024
55144
|
},
|
|
55025
55145
|
attrs: {
|
|
@@ -55027,7 +55147,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
55027
55147
|
index: item.id,
|
|
55028
55148
|
key: item.id
|
|
55029
55149
|
}
|
|
55030
|
-
},
|
|
55150
|
+
}, _this6.titleIcons ? title : [title[1]]));
|
|
55031
55151
|
}
|
|
55032
55152
|
});
|
|
55033
55153
|
return h('el-scrollbar', {
|
|
@@ -55045,7 +55165,8 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
55045
55165
|
defaultActive: this.defaultActive,
|
|
55046
55166
|
collapse: this.collapse,
|
|
55047
55167
|
mode: this.mode,
|
|
55048
|
-
uniqueOpened: this.uniqueOpened
|
|
55168
|
+
uniqueOpened: this.uniqueOpened,
|
|
55169
|
+
icons: this.icons
|
|
55049
55170
|
},
|
|
55050
55171
|
style: { width: this.maxWidth },
|
|
55051
55172
|
attrs: menu_src_mainvue_type_script_lang_js_extends({}, this.$attrs),
|
|
@@ -55087,8 +55208,8 @@ menu_src_main.install = function (Vue) {
|
|
|
55087
55208
|
};
|
|
55088
55209
|
|
|
55089
55210
|
/* harmony default export */ var menu = (menu_src_main);
|
|
55090
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=template&id=
|
|
55091
|
-
var
|
|
55211
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=template&id=04099294&
|
|
55212
|
+
var mainvue_type_template_id_04099294_render = function () {
|
|
55092
55213
|
var _vm = this
|
|
55093
55214
|
var _h = _vm.$createElement
|
|
55094
55215
|
var _c = _vm._self._c || _h
|
|
@@ -55117,6 +55238,9 @@ var mainvue_type_template_id_5d7ddb00_render = function () {
|
|
|
55117
55238
|
deep: false,
|
|
55118
55239
|
"default-active": _vm.subActive,
|
|
55119
55240
|
biserial: _vm.biserial,
|
|
55241
|
+
"menu-icons": _vm.menuIcon,
|
|
55242
|
+
icons: _vm.icons,
|
|
55243
|
+
"sub-icon": _vm.subIcon,
|
|
55120
55244
|
},
|
|
55121
55245
|
on: { select: _vm.handleTrigger },
|
|
55122
55246
|
},
|
|
@@ -55142,6 +55266,7 @@ var mainvue_type_template_id_5d7ddb00_render = function () {
|
|
|
55142
55266
|
],
|
|
55143
55267
|
staticClass: "es-nav-main",
|
|
55144
55268
|
style: { width: _vm.biserial ? _vm.width : _vm.boxWidth },
|
|
55269
|
+
attrs: { biserial: _vm.biserial },
|
|
55145
55270
|
},
|
|
55146
55271
|
[
|
|
55147
55272
|
_vm.showTitle
|
|
@@ -55208,6 +55333,10 @@ var mainvue_type_template_id_5d7ddb00_render = function () {
|
|
|
55208
55333
|
width: _vm.isTop ? _vm.boxWidth : _vm.menuWidth,
|
|
55209
55334
|
"is-default": _vm.isDefault,
|
|
55210
55335
|
biserial: _vm.biserial,
|
|
55336
|
+
paddingLeft: _vm.paddingLeft,
|
|
55337
|
+
"menu-icon": _vm.menuIcon,
|
|
55338
|
+
icons: _vm.icons,
|
|
55339
|
+
"sub-icon": _vm.subIcon,
|
|
55211
55340
|
},
|
|
55212
55341
|
on: {
|
|
55213
55342
|
select: _vm.handleSelect,
|
|
@@ -55226,11 +55355,11 @@ var mainvue_type_template_id_5d7ddb00_render = function () {
|
|
|
55226
55355
|
]
|
|
55227
55356
|
)
|
|
55228
55357
|
}
|
|
55229
|
-
var
|
|
55230
|
-
|
|
55358
|
+
var mainvue_type_template_id_04099294_staticRenderFns = []
|
|
55359
|
+
mainvue_type_template_id_04099294_render._withStripped = true
|
|
55231
55360
|
|
|
55232
55361
|
|
|
55233
|
-
// CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=
|
|
55362
|
+
// CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=04099294&
|
|
55234
55363
|
|
|
55235
55364
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=script&lang=js&
|
|
55236
55365
|
//
|
|
@@ -55289,6 +55418,14 @@ mainvue_type_template_id_5d7ddb00_render._withStripped = true
|
|
|
55289
55418
|
//
|
|
55290
55419
|
//
|
|
55291
55420
|
//
|
|
55421
|
+
//
|
|
55422
|
+
//
|
|
55423
|
+
//
|
|
55424
|
+
//
|
|
55425
|
+
//
|
|
55426
|
+
//
|
|
55427
|
+
//
|
|
55428
|
+
//
|
|
55292
55429
|
|
|
55293
55430
|
|
|
55294
55431
|
/* harmony default export */ var nav_src_mainvue_type_script_lang_js_ = ({
|
|
@@ -55308,6 +55445,10 @@ mainvue_type_template_id_5d7ddb00_render._withStripped = true
|
|
|
55308
55445
|
type: String,
|
|
55309
55446
|
default: '200px'
|
|
55310
55447
|
},
|
|
55448
|
+
navWidth: {
|
|
55449
|
+
type: String,
|
|
55450
|
+
default: '70px'
|
|
55451
|
+
},
|
|
55311
55452
|
showCollapse: {
|
|
55312
55453
|
type: Boolean,
|
|
55313
55454
|
default: true
|
|
@@ -55319,7 +55460,14 @@ mainvue_type_template_id_5d7ddb00_render._withStripped = true
|
|
|
55319
55460
|
//是否双列导航
|
|
55320
55461
|
biserial: Boolean,
|
|
55321
55462
|
defaultActive: [String, Array],
|
|
55322
|
-
isDefault: Boolean
|
|
55463
|
+
isDefault: Boolean,
|
|
55464
|
+
paddingLeft: Number,
|
|
55465
|
+
menuIcon: String,
|
|
55466
|
+
icons: Object,
|
|
55467
|
+
subIcon: {
|
|
55468
|
+
type: Boolean,
|
|
55469
|
+
default: true
|
|
55470
|
+
}
|
|
55323
55471
|
},
|
|
55324
55472
|
computed: {
|
|
55325
55473
|
menu: function menu() {
|
|
@@ -55344,10 +55492,10 @@ mainvue_type_template_id_5d7ddb00_render._withStripped = true
|
|
|
55344
55492
|
if (this.isShow) {
|
|
55345
55493
|
return this.width;
|
|
55346
55494
|
} else {
|
|
55347
|
-
return
|
|
55495
|
+
return this.navWidth;
|
|
55348
55496
|
}
|
|
55349
55497
|
}
|
|
55350
|
-
return this.subMenu && this.subMenu.length && this.isShow ? parseInt(this.width, 10) +
|
|
55498
|
+
return this.subMenu && this.subMenu.length && this.isShow ? parseInt(this.width, 10) + parseInt(this.navWidth, 10) + 'px' : this.navWidth;
|
|
55351
55499
|
}
|
|
55352
55500
|
},
|
|
55353
55501
|
watch: {
|
|
@@ -55497,8 +55645,8 @@ mainvue_type_template_id_5d7ddb00_render._withStripped = true
|
|
|
55497
55645
|
|
|
55498
55646
|
var nav_src_main_component = normalizeComponent(
|
|
55499
55647
|
packages_nav_src_mainvue_type_script_lang_js_,
|
|
55500
|
-
|
|
55501
|
-
|
|
55648
|
+
mainvue_type_template_id_04099294_render,
|
|
55649
|
+
mainvue_type_template_id_04099294_staticRenderFns,
|
|
55502
55650
|
false,
|
|
55503
55651
|
null,
|
|
55504
55652
|
null,
|
|
@@ -57096,8 +57244,8 @@ qr_code_src_main.install = function (Vue) {
|
|
|
57096
57244
|
};
|
|
57097
57245
|
|
|
57098
57246
|
/* harmony default export */ var qr_code = (qr_code_src_main);
|
|
57099
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio-group/src/main.vue?vue&type=template&id=
|
|
57100
|
-
var
|
|
57247
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio-group/src/main.vue?vue&type=template&id=91fe7d0a&
|
|
57248
|
+
var mainvue_type_template_id_91fe7d0a_render = function () {
|
|
57101
57249
|
var _vm = this
|
|
57102
57250
|
var _h = _vm.$createElement
|
|
57103
57251
|
var _c = _vm._self._c || _h
|
|
@@ -57226,11 +57374,11 @@ var mainvue_type_template_id_5c6d41f9_render = function () {
|
|
|
57226
57374
|
)
|
|
57227
57375
|
: _vm._e()
|
|
57228
57376
|
}
|
|
57229
|
-
var
|
|
57230
|
-
|
|
57377
|
+
var mainvue_type_template_id_91fe7d0a_staticRenderFns = []
|
|
57378
|
+
mainvue_type_template_id_91fe7d0a_render._withStripped = true
|
|
57231
57379
|
|
|
57232
57380
|
|
|
57233
|
-
// CONCATENATED MODULE: ./packages/radio-group/src/main.vue?vue&type=template&id=
|
|
57381
|
+
// CONCATENATED MODULE: ./packages/radio-group/src/main.vue?vue&type=template&id=91fe7d0a&
|
|
57234
57382
|
|
|
57235
57383
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio-group/src/main.vue?vue&type=script&lang=js&
|
|
57236
57384
|
var radio_group_src_mainvue_type_script_lang_js_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; };
|
|
@@ -57298,6 +57446,7 @@ var radio_group_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "func
|
|
|
57298
57446
|
|
|
57299
57447
|
|
|
57300
57448
|
|
|
57449
|
+
|
|
57301
57450
|
/* harmony default export */ var radio_group_src_mainvue_type_script_lang_js_ = ({
|
|
57302
57451
|
name: 'EsRadioGroup',
|
|
57303
57452
|
inheritAttrs: false,
|
|
@@ -57471,14 +57620,21 @@ var radio_group_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "func
|
|
|
57471
57620
|
}
|
|
57472
57621
|
}
|
|
57473
57622
|
},
|
|
57623
|
+
beforeCreate: function beforeCreate() {
|
|
57624
|
+
var _this2 = this;
|
|
57625
|
+
|
|
57626
|
+
this.getData = Object(external_throttle_debounce_["debounce"])(300, function (url, sysCode) {
|
|
57627
|
+
_this2.getDatas(url, sysCode);
|
|
57628
|
+
});
|
|
57629
|
+
},
|
|
57474
57630
|
created: function created() {
|
|
57475
57631
|
this.bindEventBus();
|
|
57476
57632
|
},
|
|
57477
57633
|
mounted: function mounted() {},
|
|
57478
57634
|
|
|
57479
57635
|
methods: {
|
|
57480
|
-
|
|
57481
|
-
var
|
|
57636
|
+
getDatas: function getDatas(url, sysCode) {
|
|
57637
|
+
var _this3 = this;
|
|
57482
57638
|
|
|
57483
57639
|
var params = {};
|
|
57484
57640
|
if (this.results.length === 0) {
|
|
@@ -57496,23 +57652,23 @@ var radio_group_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "func
|
|
|
57496
57652
|
params: params,
|
|
57497
57653
|
data: params
|
|
57498
57654
|
}).then(function (res) {
|
|
57499
|
-
|
|
57500
|
-
|
|
57655
|
+
_this3.loading = false;
|
|
57656
|
+
_this3.canceled = false;
|
|
57501
57657
|
if (res.rCode === 0) {
|
|
57502
|
-
|
|
57503
|
-
if (sysCode ||
|
|
57504
|
-
bus.$emit(sysCode ||
|
|
57658
|
+
_this3.options = JSON.parse(JSON.stringify(res.results));
|
|
57659
|
+
if (sysCode || _this3.dataKey) {
|
|
57660
|
+
bus.$emit(sysCode || _this3.dataKey, JSON.parse(JSON.stringify(_this3.options)));
|
|
57505
57661
|
utils_store.set(sysCode, JSON.parse(JSON.stringify(res.results)));
|
|
57506
57662
|
}
|
|
57507
57663
|
}
|
|
57508
57664
|
}).catch(function (err) {
|
|
57509
|
-
|
|
57665
|
+
_this3.loading = false;
|
|
57510
57666
|
if (err.message) {
|
|
57511
57667
|
if (err.message !== 'canceled') {
|
|
57512
|
-
|
|
57668
|
+
_this3.$message.error(err.message);
|
|
57513
57669
|
}
|
|
57514
57670
|
if (err.message === 'canceled' && sysCode) {
|
|
57515
|
-
|
|
57671
|
+
_this3.canceled = true;
|
|
57516
57672
|
}
|
|
57517
57673
|
}
|
|
57518
57674
|
});
|
|
@@ -57549,8 +57705,8 @@ var radio_group_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "func
|
|
|
57549
57705
|
|
|
57550
57706
|
var radio_group_src_main_component = normalizeComponent(
|
|
57551
57707
|
packages_radio_group_src_mainvue_type_script_lang_js_,
|
|
57552
|
-
|
|
57553
|
-
|
|
57708
|
+
mainvue_type_template_id_91fe7d0a_render,
|
|
57709
|
+
mainvue_type_template_id_91fe7d0a_staticRenderFns,
|
|
57554
57710
|
false,
|
|
57555
57711
|
null,
|
|
57556
57712
|
null,
|
|
@@ -58041,6 +58197,7 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58041
58197
|
|
|
58042
58198
|
|
|
58043
58199
|
|
|
58200
|
+
|
|
58044
58201
|
/* harmony default export */ var select_src_mainvue_type_script_lang_js_ = ({
|
|
58045
58202
|
name: 'EsSelect',
|
|
58046
58203
|
componentName: 'EsSelect',
|
|
@@ -58266,6 +58423,13 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58266
58423
|
}
|
|
58267
58424
|
}
|
|
58268
58425
|
},
|
|
58426
|
+
beforeCreate: function beforeCreate() {
|
|
58427
|
+
var _this2 = this;
|
|
58428
|
+
|
|
58429
|
+
this.getData = Object(external_throttle_debounce_["debounce"])(300, function (sysCode, param, reload) {
|
|
58430
|
+
_this2.getDatas(sysCode, param, reload);
|
|
58431
|
+
});
|
|
58432
|
+
},
|
|
58269
58433
|
created: function created() {
|
|
58270
58434
|
this.bindEventBus();
|
|
58271
58435
|
},
|
|
@@ -58277,7 +58441,7 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58277
58441
|
|
|
58278
58442
|
methods: {
|
|
58279
58443
|
createOption: function createOption(_ref) {
|
|
58280
|
-
var
|
|
58444
|
+
var _this3 = this;
|
|
58281
58445
|
|
|
58282
58446
|
var filtrate = _ref.filtrate,
|
|
58283
58447
|
data = _ref.data,
|
|
@@ -58288,23 +58452,23 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58288
58452
|
var filte = filtrate && utils_util["a" /* default */].isObject(filtrate) ? filtrate[this.valKey] : filtrate;
|
|
58289
58453
|
var eles = [];
|
|
58290
58454
|
data.forEach(function (item) {
|
|
58291
|
-
if (
|
|
58292
|
-
|
|
58455
|
+
if (_this3.models === undefined && item.selected) {
|
|
58456
|
+
_this3.$emit('input', _this3.valueType === 'object' ? item : item[_this3.valKey]);
|
|
58293
58457
|
}
|
|
58294
58458
|
if ((Object.prototype.hasOwnProperty.call(item, 'children') || Object.prototype.hasOwnProperty.call(item, 'options')) && (item.children || item.options)) {
|
|
58295
58459
|
var children = item.children || item.options;
|
|
58296
58460
|
if (readonly) {
|
|
58297
|
-
eles.push(
|
|
58461
|
+
eles.push(_this3.createOption({ filtrate: filtrate, data: children, readonly: readonly, h: h }));
|
|
58298
58462
|
} else {
|
|
58299
|
-
eles.push(h('el-option-group', { attrs: { label: item[
|
|
58463
|
+
eles.push(h('el-option-group', { attrs: { label: item[_this3.label] || item.label } }, _this3.createOption({ filtrate: filtrate, data: children, readonly: readonly, h: h })));
|
|
58300
58464
|
}
|
|
58301
58465
|
} else {
|
|
58302
58466
|
if (readonly) {
|
|
58303
|
-
if (item[
|
|
58304
|
-
eles.push(item[
|
|
58467
|
+
if (item[_this3.valKey] === filte) {
|
|
58468
|
+
eles.push(item[_this3.label] || item.label);
|
|
58305
58469
|
}
|
|
58306
58470
|
} else {
|
|
58307
|
-
if (filte === null || filte === undefined || filte === '' || filte === item[
|
|
58471
|
+
if (filte === null || filte === undefined || filte === '' || filte === item[_this3.filtrateKey]) {
|
|
58308
58472
|
if (typeof item === 'string') {
|
|
58309
58473
|
eles.push(h('el-option', {
|
|
58310
58474
|
attrs: {
|
|
@@ -58313,7 +58477,7 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58313
58477
|
}
|
|
58314
58478
|
}));
|
|
58315
58479
|
} else {
|
|
58316
|
-
var content = [item[
|
|
58480
|
+
var content = [item[_this3.label] || item.label];
|
|
58317
58481
|
if (item.render) {
|
|
58318
58482
|
content = [item.render(h, item)];
|
|
58319
58483
|
}
|
|
@@ -58325,8 +58489,8 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58325
58489
|
}
|
|
58326
58490
|
eles.push(h('el-option', {
|
|
58327
58491
|
attrs: {
|
|
58328
|
-
label: item[
|
|
58329
|
-
value:
|
|
58492
|
+
label: item[_this3.label] || item.label,
|
|
58493
|
+
value: _this3.isObject ? item : item[_this3.valKey],
|
|
58330
58494
|
disabled: item.disabled
|
|
58331
58495
|
}
|
|
58332
58496
|
}, content));
|
|
@@ -58337,8 +58501,8 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58337
58501
|
});
|
|
58338
58502
|
return eles;
|
|
58339
58503
|
},
|
|
58340
|
-
|
|
58341
|
-
var
|
|
58504
|
+
getDatas: function getDatas(sysCode, param, reload) {
|
|
58505
|
+
var _this4 = this;
|
|
58342
58506
|
|
|
58343
58507
|
if (!reload && (!this.ajax || !this.isNoParamRequest && Object.keys(this.param).length == 0)) {
|
|
58344
58508
|
return false;
|
|
@@ -58359,35 +58523,35 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58359
58523
|
params: params,
|
|
58360
58524
|
data: params
|
|
58361
58525
|
}).then(function (res) {
|
|
58362
|
-
|
|
58363
|
-
|
|
58526
|
+
_this4.loading = false;
|
|
58527
|
+
_this4.canceled = false;
|
|
58364
58528
|
if (res.rCode === 0) {
|
|
58365
|
-
if (
|
|
58366
|
-
|
|
58529
|
+
if (_this4.parseData) {
|
|
58530
|
+
_this4.options = _this4.parseData(JSON.parse(JSON.stringify(res.results)));
|
|
58367
58531
|
} else {
|
|
58368
|
-
|
|
58532
|
+
_this4.options = JSON.parse(JSON.stringify(res.results));
|
|
58369
58533
|
}
|
|
58370
|
-
if (sysCode ||
|
|
58371
|
-
bus.$emit(sysCode ||
|
|
58372
|
-
utils_store.set(sysCode, JSON.parse(JSON.stringify(
|
|
58534
|
+
if (sysCode || _this4.dataKey) {
|
|
58535
|
+
bus.$emit(sysCode || _this4.dataKey, JSON.parse(JSON.stringify(_this4.options)));
|
|
58536
|
+
utils_store.set(sysCode, JSON.parse(JSON.stringify(_this4.options)));
|
|
58373
58537
|
}
|
|
58374
58538
|
} else {
|
|
58375
|
-
|
|
58539
|
+
_this4.$message.error(res.msg);
|
|
58376
58540
|
}
|
|
58377
58541
|
}).catch(function (err) {
|
|
58378
|
-
|
|
58542
|
+
_this4.loading = false;
|
|
58379
58543
|
if (err.message) {
|
|
58380
58544
|
if (err.message !== 'canceled') {
|
|
58381
|
-
|
|
58545
|
+
_this4.$message.error(err.message);
|
|
58382
58546
|
}
|
|
58383
58547
|
if (err.message === 'canceled' && sysCode) {
|
|
58384
|
-
|
|
58548
|
+
_this4.canceled = true;
|
|
58385
58549
|
}
|
|
58386
58550
|
}
|
|
58387
58551
|
});
|
|
58388
58552
|
},
|
|
58389
58553
|
search: function search(query) {
|
|
58390
|
-
var
|
|
58554
|
+
var _this5 = this;
|
|
58391
58555
|
|
|
58392
58556
|
if (query && query !== '') {
|
|
58393
58557
|
if (this.url && this.url !== '') {
|
|
@@ -58401,14 +58565,14 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58401
58565
|
params: params,
|
|
58402
58566
|
data: params
|
|
58403
58567
|
}).then(function (res) {
|
|
58404
|
-
|
|
58568
|
+
_this5.loading = false;
|
|
58405
58569
|
if (res.rCode === 0) {
|
|
58406
|
-
|
|
58570
|
+
_this5.options = JSON.parse(JSON.stringify(res.results));
|
|
58407
58571
|
}
|
|
58408
58572
|
}).catch(function (err) {
|
|
58409
|
-
|
|
58573
|
+
_this5.loading = false;
|
|
58410
58574
|
if (err.message && err.message !== 'canceled') {
|
|
58411
|
-
|
|
58575
|
+
_this5.$message.error(err.message);
|
|
58412
58576
|
}
|
|
58413
58577
|
});
|
|
58414
58578
|
} else {
|
|
@@ -58419,7 +58583,7 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58419
58583
|
}
|
|
58420
58584
|
},
|
|
58421
58585
|
renderd: function renderd(doms, h, type) {
|
|
58422
|
-
var
|
|
58586
|
+
var _this6 = this;
|
|
58423
58587
|
|
|
58424
58588
|
if (typeof this.$attrs[type] === 'boolean') {
|
|
58425
58589
|
if (this.$attrs.render) {
|
|
@@ -58444,8 +58608,8 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58444
58608
|
domProps: this.$attrs[type].icon ? { innerHTML: this.$attrs[type].icon } : {},
|
|
58445
58609
|
on: {
|
|
58446
58610
|
click: function click(e) {
|
|
58447
|
-
|
|
58448
|
-
|
|
58611
|
+
_this6.$attrs[type].click && _this6.$attrs[type].click(_this6, _this6.model);
|
|
58612
|
+
_this6.$attrs[type].event && _this6.$attrs[type].event(_this6, _this6.model);
|
|
58449
58613
|
}
|
|
58450
58614
|
},
|
|
58451
58615
|
ref: 'selectBtn'
|
|
@@ -58499,7 +58663,7 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58499
58663
|
|
|
58500
58664
|
//请求子节点数据
|
|
58501
58665
|
loadsub: function loadsub(data, node) {
|
|
58502
|
-
var
|
|
58666
|
+
var _this7 = this;
|
|
58503
58667
|
|
|
58504
58668
|
if (data.state !== '' && (!data.children || data.children.length === 0)) {
|
|
58505
58669
|
var param = {};
|
|
@@ -58516,13 +58680,13 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58516
58680
|
}
|
|
58517
58681
|
if (this.onLoadsub) {
|
|
58518
58682
|
this.onLoadsub({ data: data, params: params, node: node }).then(function (res) {
|
|
58519
|
-
|
|
58520
|
-
|
|
58521
|
-
if (
|
|
58522
|
-
|
|
58683
|
+
_this7.loading = false;
|
|
58684
|
+
_this7.$set(data, 'children', JSON.parse(JSON.stringify(res)));
|
|
58685
|
+
if (_this7.dataKey && _this7.esForm) {
|
|
58686
|
+
_this7.esForm.setSysCodes(_this7.dataKey, JSON.parse(JSON.stringify(_this7.options)));
|
|
58523
58687
|
}
|
|
58524
58688
|
}).catch(function (e) {
|
|
58525
|
-
|
|
58689
|
+
_this7.loading = false;
|
|
58526
58690
|
});
|
|
58527
58691
|
} else {
|
|
58528
58692
|
utils_util["a" /* default */].ajax({
|
|
@@ -58532,27 +58696,27 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58532
58696
|
params: params
|
|
58533
58697
|
}).then(function (res) {
|
|
58534
58698
|
if (res.rCode === 0) {
|
|
58535
|
-
|
|
58699
|
+
_this7.loading = false;
|
|
58536
58700
|
var results = JSON.parse(JSON.stringify(res.results));
|
|
58537
58701
|
if (Array.isArray(results)) {
|
|
58538
58702
|
if (data.id === results[0].id) {
|
|
58539
|
-
|
|
58703
|
+
_this7.$set(data, 'children', results[0].children);
|
|
58540
58704
|
} else {
|
|
58541
|
-
|
|
58705
|
+
_this7.$set(data, 'children', results);
|
|
58542
58706
|
}
|
|
58543
58707
|
} else if (data.id === results.id) {
|
|
58544
|
-
|
|
58708
|
+
_this7.$set(data, 'children', results.children);
|
|
58545
58709
|
} else {
|
|
58546
58710
|
console.error('tree数据格式错误');
|
|
58547
58711
|
}
|
|
58548
|
-
if (
|
|
58549
|
-
|
|
58712
|
+
if (_this7.dataKey && _this7.esForm) {
|
|
58713
|
+
_this7.esForm.setSysCodes(_this7.dataKey, JSON.parse(JSON.stringify(_this7.options)));
|
|
58550
58714
|
}
|
|
58551
58715
|
}
|
|
58552
58716
|
}).catch(function (err) {
|
|
58553
|
-
|
|
58717
|
+
_this7.loading = false;
|
|
58554
58718
|
if (err.message && err.message !== 'canceled') {
|
|
58555
|
-
|
|
58719
|
+
_this7.$message.error(err.message);
|
|
58556
58720
|
}
|
|
58557
58721
|
});
|
|
58558
58722
|
}
|
|
@@ -58575,7 +58739,7 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58575
58739
|
this.unbindEventBus();
|
|
58576
58740
|
},
|
|
58577
58741
|
render: function render(h) {
|
|
58578
|
-
var
|
|
58742
|
+
var _this8 = this;
|
|
58579
58743
|
|
|
58580
58744
|
if (!this.hide) {
|
|
58581
58745
|
if (this.readonly) {
|
|
@@ -58583,12 +58747,12 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58583
58747
|
if (Array.isArray(this.models)) {
|
|
58584
58748
|
dom = this.models.map(function (item) {
|
|
58585
58749
|
if (utils_util["a" /* default */].isObject(item)) {
|
|
58586
|
-
if (!item[
|
|
58587
|
-
return
|
|
58750
|
+
if (!item[_this8.label] && !item.label) {
|
|
58751
|
+
return _this8.getLabel(value[_this8.valKey], data);
|
|
58588
58752
|
}
|
|
58589
|
-
return item[
|
|
58753
|
+
return item[_this8.label] || item.label;
|
|
58590
58754
|
}
|
|
58591
|
-
return
|
|
58755
|
+
return _this8.getLabel(item, _this8.results);
|
|
58592
58756
|
});
|
|
58593
58757
|
} else if (utils_util["a" /* default */].isObject(this.models)) {
|
|
58594
58758
|
if (!this.models[this.label] && !this.models.label) {
|
|
@@ -58614,10 +58778,10 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
58614
58778
|
doms = this.filtrate.map(function (item) {
|
|
58615
58779
|
return h('el-option-group', {
|
|
58616
58780
|
attrs: {
|
|
58617
|
-
label: item[
|
|
58618
|
-
key: item[
|
|
58781
|
+
label: item[_this8.label] || item.label,
|
|
58782
|
+
key: item[_this8.valKey]
|
|
58619
58783
|
}
|
|
58620
|
-
},
|
|
58784
|
+
}, _this8.createOption({ filtrate: item, data: _this8.results, h: h }));
|
|
58621
58785
|
});
|
|
58622
58786
|
} else {
|
|
58623
58787
|
doms = this.createOption({
|
|
@@ -58729,6 +58893,7 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
58729
58893
|
|
|
58730
58894
|
|
|
58731
58895
|
|
|
58896
|
+
|
|
58732
58897
|
/* harmony default export */ var select_ganged_src_mainvue_type_script_lang_js_ = ({
|
|
58733
58898
|
name: 'EsSelectGanged',
|
|
58734
58899
|
componentName: 'EsSelectGanged',
|
|
@@ -58953,14 +59118,21 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
58953
59118
|
}
|
|
58954
59119
|
}
|
|
58955
59120
|
},
|
|
59121
|
+
beforeCreate: function beforeCreate() {
|
|
59122
|
+
var _this = this;
|
|
59123
|
+
|
|
59124
|
+
this.getData = Object(external_throttle_debounce_["debounce"])(300, function () {
|
|
59125
|
+
_this.getDatas();
|
|
59126
|
+
});
|
|
59127
|
+
},
|
|
58956
59128
|
created: function created() {
|
|
58957
59129
|
this.getData();
|
|
58958
59130
|
},
|
|
58959
59131
|
mounted: function mounted() {},
|
|
58960
59132
|
|
|
58961
59133
|
methods: {
|
|
58962
|
-
|
|
58963
|
-
var
|
|
59134
|
+
getDatas: function getDatas() {
|
|
59135
|
+
var _this2 = this;
|
|
58964
59136
|
|
|
58965
59137
|
if (!this.integrality || !this.url) {
|
|
58966
59138
|
return false;
|
|
@@ -58971,28 +59143,28 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
58971
59143
|
params: this.param,
|
|
58972
59144
|
data: this.param
|
|
58973
59145
|
}).then(function (res) {
|
|
58974
|
-
|
|
59146
|
+
_this2.canceled = false;
|
|
58975
59147
|
if (res.rCode === 0) {
|
|
58976
|
-
|
|
58977
|
-
|
|
58978
|
-
if (sysCode ||
|
|
58979
|
-
|
|
58980
|
-
store.set(sysCode, JSON.parse(JSON.stringify(
|
|
59148
|
+
_this2.lists = res.results;
|
|
59149
|
+
_this2.getChildren(_this2.results, _this2.values);
|
|
59150
|
+
if (sysCode || _this2.dataKey) {
|
|
59151
|
+
_this2.esForm && _this2.esForm.setSysCodes(sysCode || _this2.dataKey, JSON.parse(JSON.stringify(_this2.lists)));
|
|
59152
|
+
store.set(sysCode, JSON.parse(JSON.stringify(_this2.lists)));
|
|
58981
59153
|
}
|
|
58982
59154
|
}
|
|
58983
59155
|
}).catch(function (err) {
|
|
58984
59156
|
if (err.message) {
|
|
58985
59157
|
if (err.message !== 'canceled') {
|
|
58986
|
-
|
|
59158
|
+
_this2.$message.error(err.message);
|
|
58987
59159
|
}
|
|
58988
59160
|
if (err.message === 'canceled' && sysCode) {
|
|
58989
|
-
|
|
59161
|
+
_this2.canceled = true;
|
|
58990
59162
|
}
|
|
58991
59163
|
}
|
|
58992
59164
|
});
|
|
58993
59165
|
},
|
|
58994
59166
|
getChildren: function getChildren(data, values) {
|
|
58995
|
-
var
|
|
59167
|
+
var _this3 = this;
|
|
58996
59168
|
|
|
58997
59169
|
if (!this.gangedNum) {
|
|
58998
59170
|
if (this.ganged && this.value.length < this.getGanged || Array.isArray(this.results[0])) {
|
|
@@ -59026,7 +59198,7 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
59026
59198
|
if (typeof this.queryKey === 'string') {
|
|
59027
59199
|
if (Array.isArray(values[i])) {
|
|
59028
59200
|
params[this.queryKey] = values[i].map(function (item) {
|
|
59029
|
-
return item[
|
|
59201
|
+
return item[_this3.queryKey];
|
|
59030
59202
|
});
|
|
59031
59203
|
} else {
|
|
59032
59204
|
params[this.queryKey] = values[i][this.queryKey];
|
|
@@ -59035,10 +59207,10 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
59035
59207
|
var _loop = function _loop(x) {
|
|
59036
59208
|
if (Array.isArray(values[i])) {
|
|
59037
59209
|
params[x] = values[i].map(function (item) {
|
|
59038
|
-
return item[
|
|
59210
|
+
return item[_this3.queryKey[x]];
|
|
59039
59211
|
});
|
|
59040
59212
|
} else {
|
|
59041
|
-
params[x] = values[i][
|
|
59213
|
+
params[x] = values[i][_this3.queryKey[x]];
|
|
59042
59214
|
}
|
|
59043
59215
|
};
|
|
59044
59216
|
|
|
@@ -59056,7 +59228,7 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
59056
59228
|
}
|
|
59057
59229
|
},
|
|
59058
59230
|
getValue: function getValue() {
|
|
59059
|
-
var
|
|
59231
|
+
var _this4 = this;
|
|
59060
59232
|
|
|
59061
59233
|
if (!this.gangedNum) {
|
|
59062
59234
|
if (this.ganged && this.value.length <= this.getGanged || Array.isArray(this.results[0])) {
|
|
@@ -59085,7 +59257,7 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
59085
59257
|
var _disabled = [];
|
|
59086
59258
|
if (this.multiple) {
|
|
59087
59259
|
this.values = this.value.map(function (item, index) {
|
|
59088
|
-
return
|
|
59260
|
+
return _this4.multiples[index] ? Array.isArray(item) ? item : [item] : item;
|
|
59089
59261
|
});
|
|
59090
59262
|
for (var _i2 = 0; _i2 < this.gangedNum; _i2++) {
|
|
59091
59263
|
_disabled.push(this.values[_i2] && this.values[_i2].length ? false : _i2 > 0);
|
|
@@ -59106,7 +59278,7 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
59106
59278
|
}
|
|
59107
59279
|
},
|
|
59108
59280
|
handeChange: function handeChange(val, key) {
|
|
59109
|
-
var
|
|
59281
|
+
var _this5 = this;
|
|
59110
59282
|
|
|
59111
59283
|
if (!this.gangedNum) {
|
|
59112
59284
|
if (this.ganged && this.value.length < this.getGanged) {
|
|
@@ -59133,13 +59305,13 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
59133
59305
|
if (this.queryKey !== undefined) {
|
|
59134
59306
|
if (typeof this.queryKey === 'string') {
|
|
59135
59307
|
params[this.queryKey] = Array.isArray(val) ? val.map(function (item) {
|
|
59136
|
-
return item[
|
|
59308
|
+
return item[_this5.queryKey];
|
|
59137
59309
|
}) : val[this.queryKey];
|
|
59138
59310
|
} else {
|
|
59139
59311
|
var _loop2 = function _loop2(i) {
|
|
59140
59312
|
params[i] = Array.isArray(val) ? val.map(function (item) {
|
|
59141
|
-
return item[
|
|
59142
|
-
}) : val[
|
|
59313
|
+
return item[_this5.queryKey[i]];
|
|
59314
|
+
}) : val[_this5.queryKey[i]];
|
|
59143
59315
|
};
|
|
59144
59316
|
|
|
59145
59317
|
for (var i in this.queryKey) {
|
|
@@ -59148,7 +59320,7 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
59148
59320
|
}
|
|
59149
59321
|
} else {
|
|
59150
59322
|
params.id = Array.isArray(val) ? val.map(function (item) {
|
|
59151
|
-
return item[
|
|
59323
|
+
return item[_this5.valueKey];
|
|
59152
59324
|
}) : val[this.valueKey];
|
|
59153
59325
|
}
|
|
59154
59326
|
this.$set(this.wheres, key + 1, params);
|
|
@@ -59157,30 +59329,30 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
59157
59329
|
if (key + 1 < this.gangedNum) {}
|
|
59158
59330
|
|
|
59159
59331
|
var _loop3 = function _loop3(i) {
|
|
59160
|
-
if (
|
|
59332
|
+
if (_this5.multiples[i - 1]) {
|
|
59161
59333
|
var newVal = [];
|
|
59162
|
-
|
|
59163
|
-
|
|
59164
|
-
if (element[
|
|
59334
|
+
_this5.values[i - 1].forEach(function (element) {
|
|
59335
|
+
_this5.values[i].forEach(function (itemVal) {
|
|
59336
|
+
if (element[_this5.valueKey] === itemVal[_this5.filtrateKey]) {
|
|
59165
59337
|
newVal.push(itemVal);
|
|
59166
59338
|
}
|
|
59167
59339
|
});
|
|
59168
59340
|
});
|
|
59169
|
-
|
|
59341
|
+
_this5.$set(_this5.values, i, newVal);
|
|
59170
59342
|
}
|
|
59171
|
-
if (
|
|
59172
|
-
|
|
59343
|
+
if (_this5.values[i - 1] && (utils_util["a" /* default */].isObject(_this5.values[i - 1]) || _this5.values[i - 1].length)) {
|
|
59344
|
+
_this5.$set(_this5.disabled, i, false);
|
|
59173
59345
|
} else {
|
|
59174
|
-
|
|
59346
|
+
_this5.$set(_this5.disabled, i, true);
|
|
59175
59347
|
}
|
|
59176
|
-
|
|
59177
|
-
if (!
|
|
59348
|
+
_this5.$set(_this5.filtrates, i, _this5.values[i - 1]);
|
|
59349
|
+
if (!_this5.multiple) {
|
|
59178
59350
|
if (utils_util["a" /* default */].isObject(val) && Object.prototype.hasOwnProperty.call(val, 'multiple')) {
|
|
59179
|
-
|
|
59351
|
+
_this5.$set(_this5.multiples, i, Boolean(val.multiple));
|
|
59180
59352
|
}
|
|
59181
59353
|
}
|
|
59182
|
-
if (!
|
|
59183
|
-
|
|
59354
|
+
if (!_this5.multiples[i - 1] || val.length == 0) {
|
|
59355
|
+
_this5.$set(_this5.values, i, _this5.multiples[i] ? [] : '');
|
|
59184
59356
|
}
|
|
59185
59357
|
};
|
|
59186
59358
|
|
|
@@ -59209,7 +59381,7 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
59209
59381
|
}
|
|
59210
59382
|
},
|
|
59211
59383
|
render: function render(h) {
|
|
59212
|
-
var
|
|
59384
|
+
var _this6 = this;
|
|
59213
59385
|
|
|
59214
59386
|
if (!this.hide) {
|
|
59215
59387
|
if (this.readonly) {
|
|
@@ -59222,26 +59394,26 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
59222
59394
|
if (Array.isArray(item)) {
|
|
59223
59395
|
item.forEach(function (ele) {
|
|
59224
59396
|
var obj = ele;
|
|
59225
|
-
if (!ele[
|
|
59226
|
-
obj =
|
|
59397
|
+
if (!ele[_this6.filtrateKey]) {
|
|
59398
|
+
obj = _this6.getLabel(ele[_this6.valueKey] || ele, index);
|
|
59227
59399
|
}
|
|
59228
|
-
if (path[obj[
|
|
59229
|
-
path[obj[
|
|
59230
|
-
values.push(path[obj[
|
|
59400
|
+
if (path[obj[_this6.filtrateKey]]) {
|
|
59401
|
+
path[obj[_this6.valueKey]] = path[obj[_this6.filtrateKey]] + _this6.separator + (obj[_this6.labelKey] || obj.label);
|
|
59402
|
+
values.push(path[obj[_this6.valueKey]]);
|
|
59231
59403
|
} else {
|
|
59232
|
-
path[obj[
|
|
59404
|
+
path[obj[_this6.valueKey]] = obj[_this6.labelKey] || obj.label;
|
|
59233
59405
|
}
|
|
59234
59406
|
});
|
|
59235
59407
|
} else {
|
|
59236
59408
|
var obj = item;
|
|
59237
|
-
if (!item[
|
|
59238
|
-
obj =
|
|
59409
|
+
if (!item[_this6.filtrateKey]) {
|
|
59410
|
+
obj = _this6.getLabel(item[_this6.valueKey] || item, index);
|
|
59239
59411
|
}
|
|
59240
|
-
if (path[obj[
|
|
59241
|
-
path[obj[
|
|
59242
|
-
values.push(path[obj[
|
|
59412
|
+
if (path[obj[_this6.filtrateKey]]) {
|
|
59413
|
+
path[obj[_this6.valueKey]] = path[obj[_this6.filtrateKey]] + _this6.separator + (obj[_this6.labelKey] || obj.label);
|
|
59414
|
+
values.push(path[obj[_this6.valueKey]]);
|
|
59243
59415
|
} else {
|
|
59244
|
-
path[obj[
|
|
59416
|
+
path[obj[_this6.valueKey]] = obj[_this6.labelKey] || obj.label;
|
|
59245
59417
|
}
|
|
59246
59418
|
}
|
|
59247
59419
|
});
|
|
@@ -59261,10 +59433,10 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
59261
59433
|
value = [this.value.map(function (item, indexs) {
|
|
59262
59434
|
if (Array.isArray(item)) {
|
|
59263
59435
|
return item.map(function (ele, index) {
|
|
59264
|
-
return utils_util["a" /* default */].isObject(ele) ? ele[
|
|
59265
|
-
}).join(
|
|
59436
|
+
return utils_util["a" /* default */].isObject(ele) ? ele[_this6.labelKey] || ele.label || _this6.getLabel(ele[_this6.valueKey] || ele.label, index) : _this6.getLabel(ele, index) || ele;
|
|
59437
|
+
}).join(_this6.symbol);
|
|
59266
59438
|
}
|
|
59267
|
-
return utils_util["a" /* default */].isObject(item) ? item[
|
|
59439
|
+
return utils_util["a" /* default */].isObject(item) ? item[_this6.labelKey] || item.label || _this6.getLabel(item[_this6.valueKey] || item.label, indexs) : _this6.getLabel(item, indexs) || item;
|
|
59268
59440
|
}).join(this.separator)];
|
|
59269
59441
|
}
|
|
59270
59442
|
}
|
|
@@ -59293,31 +59465,31 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
59293
59465
|
|
|
59294
59466
|
var _loop4 = function _loop4(i) {
|
|
59295
59467
|
doms.push(h('es-select', {
|
|
59296
|
-
attrs: select_ganged_src_mainvue_type_script_lang_js_extends({},
|
|
59297
|
-
data:
|
|
59298
|
-
sysCode:
|
|
59299
|
-
url:
|
|
59300
|
-
wait:
|
|
59301
|
-
param: Array.isArray(
|
|
59302
|
-
disabled:
|
|
59303
|
-
multiple:
|
|
59304
|
-
height:
|
|
59305
|
-
value:
|
|
59306
|
-
valueType:
|
|
59307
|
-
valueKey:
|
|
59308
|
-
labelKey:
|
|
59309
|
-
filtrateKey:
|
|
59310
|
-
filtrate:
|
|
59311
|
-
placeholder:
|
|
59312
|
-
parseData:
|
|
59313
|
-
defaultValue: i === 0 ?
|
|
59468
|
+
attrs: select_ganged_src_mainvue_type_script_lang_js_extends({}, _this6.$attrs, {
|
|
59469
|
+
data: _this6.results[i] ? Array.isArray(_this6.results[0]) ? _this6.results[i] : _this6.results : [],
|
|
59470
|
+
sysCode: _this6.integrality ? undefined : _this6.sysCode,
|
|
59471
|
+
url: _this6.integrality ? undefined : _this6.url,
|
|
59472
|
+
wait: _this6.ganged ? i <= _this6.value.length : true,
|
|
59473
|
+
param: Array.isArray(_this6.param) ? select_ganged_src_mainvue_type_script_lang_js_extends({}, _this6.param[i], _this6.wheres[i]) : select_ganged_src_mainvue_type_script_lang_js_extends({}, _this6.param, _this6.wheres[i]),
|
|
59474
|
+
disabled: _this6.disabled[i],
|
|
59475
|
+
multiple: _this6.multiples[i],
|
|
59476
|
+
height: _this6.height,
|
|
59477
|
+
value: _this6.values[i],
|
|
59478
|
+
valueType: _this6.valueType,
|
|
59479
|
+
valueKey: _this6.valueKey,
|
|
59480
|
+
labelKey: _this6.labelKey,
|
|
59481
|
+
filtrateKey: _this6.filtrateKey,
|
|
59482
|
+
filtrate: _this6.url ? _this6.integrality ? _this6.filtrates[i] : undefined : _this6.filtrates[i],
|
|
59483
|
+
placeholder: _this6.placeholder,
|
|
59484
|
+
parseData: _this6.parseData,
|
|
59485
|
+
defaultValue: i === 0 ? _this6.defaultValue : false
|
|
59314
59486
|
}),
|
|
59315
59487
|
on: {
|
|
59316
59488
|
change: function change(val) {
|
|
59317
|
-
|
|
59489
|
+
_this6.handeChange(val, i);
|
|
59318
59490
|
},
|
|
59319
59491
|
resetInputHeight: function resetInputHeight(val) {
|
|
59320
|
-
|
|
59492
|
+
_this6.height = val;
|
|
59321
59493
|
}
|
|
59322
59494
|
}
|
|
59323
59495
|
}));
|
|
@@ -60551,8 +60723,8 @@ selector_src_main.install = function (Vue) {
|
|
|
60551
60723
|
};
|
|
60552
60724
|
|
|
60553
60725
|
/* harmony default export */ var selector = (selector_src_main);
|
|
60554
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=
|
|
60555
|
-
var
|
|
60726
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=45642019&
|
|
60727
|
+
var mainvue_type_template_id_45642019_render = function () {
|
|
60556
60728
|
var _vm = this
|
|
60557
60729
|
var _h = _vm.$createElement
|
|
60558
60730
|
var _c = _vm._self._c || _h
|
|
@@ -60797,11 +60969,11 @@ var mainvue_type_template_id_6d73abc3_render = function () {
|
|
|
60797
60969
|
1
|
|
60798
60970
|
)
|
|
60799
60971
|
}
|
|
60800
|
-
var
|
|
60801
|
-
|
|
60972
|
+
var mainvue_type_template_id_45642019_staticRenderFns = []
|
|
60973
|
+
mainvue_type_template_id_45642019_render._withStripped = true
|
|
60802
60974
|
|
|
60803
60975
|
|
|
60804
|
-
// CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=
|
|
60976
|
+
// CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=45642019&
|
|
60805
60977
|
|
|
60806
60978
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=template&id=24ad732a&
|
|
60807
60979
|
var treevue_type_template_id_24ad732a_render = function () {
|
|
@@ -61531,6 +61703,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
61531
61703
|
|
|
61532
61704
|
|
|
61533
61705
|
|
|
61706
|
+
|
|
61534
61707
|
/* harmony default export */ var selector_panel_src_mainvue_type_script_lang_js_ = ({
|
|
61535
61708
|
name: 'EsSelectorPanel',
|
|
61536
61709
|
inheritAttrs: false,
|
|
@@ -62017,14 +62190,21 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62017
62190
|
this.trees[this.activeName].value = val;
|
|
62018
62191
|
}
|
|
62019
62192
|
},
|
|
62193
|
+
beforeCreate: function beforeCreate() {
|
|
62194
|
+
var _this2 = this;
|
|
62195
|
+
|
|
62196
|
+
this.ajaxActive = Object(external_throttle_debounce_["debounce"])(300, function (active) {
|
|
62197
|
+
_this2.getAjaxActive(active);
|
|
62198
|
+
});
|
|
62199
|
+
},
|
|
62020
62200
|
created: function created() {},
|
|
62021
62201
|
mounted: function mounted() {
|
|
62022
62202
|
this.ajaxActive(this.activeName);
|
|
62023
62203
|
},
|
|
62024
62204
|
|
|
62025
62205
|
methods: {
|
|
62026
|
-
|
|
62027
|
-
var
|
|
62206
|
+
getAjaxActive: function getAjaxActive(active) {
|
|
62207
|
+
var _this3 = this;
|
|
62028
62208
|
|
|
62029
62209
|
if (this.isShowTree) {
|
|
62030
62210
|
if ((!this.trees[active].data || this.trees[active].data && this.trees[active].data.length === 0) && this.newTabs[active].url) {
|
|
@@ -62050,12 +62230,12 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62050
62230
|
data: this.param
|
|
62051
62231
|
}).then(function (res) {
|
|
62052
62232
|
if (res.rCode === 0) {
|
|
62053
|
-
|
|
62054
|
-
|
|
62233
|
+
_this3.selections = JSON.parse(JSON.stringify(res.results));
|
|
62234
|
+
_this3.checkboxs = JSON.parse(JSON.stringify(res.results)) || [];
|
|
62055
62235
|
}
|
|
62056
62236
|
}).catch(function (err) {
|
|
62057
62237
|
if (err.message && err.message !== 'canceled') {
|
|
62058
|
-
|
|
62238
|
+
_this3.$message.error(err.message);
|
|
62059
62239
|
}
|
|
62060
62240
|
});
|
|
62061
62241
|
} else {
|
|
@@ -62065,7 +62245,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62065
62245
|
}
|
|
62066
62246
|
},
|
|
62067
62247
|
getTreeData: function getTreeData(url, params, id) {
|
|
62068
|
-
var
|
|
62248
|
+
var _this4 = this;
|
|
62069
62249
|
|
|
62070
62250
|
var data = utils_util["a" /* default */].extend({}, params, this.param);
|
|
62071
62251
|
if (id !== undefined) {
|
|
@@ -62073,24 +62253,24 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62073
62253
|
}
|
|
62074
62254
|
utils_util["a" /* default */].ajax({ method: this.method, url: url, params: data, data: data }).then(function (res) {
|
|
62075
62255
|
if (res.rCode === 0) {
|
|
62076
|
-
|
|
62256
|
+
_this4.loading = false;
|
|
62077
62257
|
if (!Object.prototype.hasOwnProperty.call(params, 'seachkey')) {
|
|
62078
|
-
|
|
62258
|
+
_this4.$set(_this4.defaults[_this4.activeName], 'data', JSON.parse(JSON.stringify(res.results)));
|
|
62079
62259
|
}
|
|
62080
62260
|
if (res.results.length && res.results[0].name === '无搜索数据') {
|
|
62081
|
-
|
|
62261
|
+
_this4.$set(_this4.trees[_this4.activeName], 'data', null);
|
|
62082
62262
|
} else {
|
|
62083
|
-
|
|
62263
|
+
_this4.$set(_this4.trees[_this4.activeName], 'data', JSON.parse(JSON.stringify(res.results)));
|
|
62084
62264
|
}
|
|
62085
62265
|
}
|
|
62086
62266
|
}).catch(function (err) {
|
|
62087
62267
|
if (err.message && err.message !== 'canceled') {
|
|
62088
|
-
|
|
62268
|
+
_this4.$message.error(err.message);
|
|
62089
62269
|
}
|
|
62090
62270
|
});
|
|
62091
62271
|
},
|
|
62092
62272
|
loadsub: function loadsub(data, node, flag) {
|
|
62093
|
-
var
|
|
62273
|
+
var _this5 = this;
|
|
62094
62274
|
|
|
62095
62275
|
node;
|
|
62096
62276
|
if (flag) {
|
|
@@ -62116,14 +62296,14 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62116
62296
|
}).then(function (res) {
|
|
62117
62297
|
if (res.rCode === 0) {
|
|
62118
62298
|
data.selection = JSON.parse(JSON.stringify(res.results));
|
|
62119
|
-
|
|
62120
|
-
|
|
62121
|
-
|
|
62122
|
-
|
|
62299
|
+
_this5.$set(_this5.trees[_this5.activeName], 'selection', JSON.parse(JSON.stringify(res.results)));
|
|
62300
|
+
_this5.$set(_this5.trees[_this5.activeName], 'nodeData', data);
|
|
62301
|
+
_this5.nodeData = _this5.trees[_this5.activeName].nodeData;
|
|
62302
|
+
_this5.checkboxs = _this5.trees[_this5.activeName].selection;
|
|
62123
62303
|
}
|
|
62124
62304
|
}).catch(function (err) {
|
|
62125
62305
|
if (err.message && err.message !== 'canceled') {
|
|
62126
|
-
|
|
62306
|
+
_this5.$message.error(err.message);
|
|
62127
62307
|
}
|
|
62128
62308
|
});
|
|
62129
62309
|
} else {
|
|
@@ -62146,13 +62326,13 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62146
62326
|
params: _params
|
|
62147
62327
|
}).then(function (res) {
|
|
62148
62328
|
if (res.rCode === 0) {
|
|
62149
|
-
|
|
62150
|
-
|
|
62151
|
-
|
|
62329
|
+
_this5.loading = false;
|
|
62330
|
+
_this5.$set(data, 'children', JSON.parse(JSON.stringify(res.results)));
|
|
62331
|
+
_this5.$set(_this5.defaults[_this5.activeName], 'data', JSON.parse(JSON.stringify(_this5.trees[_this5.activeName].data)));
|
|
62152
62332
|
}
|
|
62153
62333
|
}).catch(function (err) {
|
|
62154
62334
|
if (err.message && err.message !== 'canceled') {
|
|
62155
|
-
|
|
62335
|
+
_this5.$message.error(err.message);
|
|
62156
62336
|
}
|
|
62157
62337
|
});
|
|
62158
62338
|
}
|
|
@@ -62170,7 +62350,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62170
62350
|
}
|
|
62171
62351
|
},
|
|
62172
62352
|
handleCheckAll: function handleCheckAll(res) {
|
|
62173
|
-
var
|
|
62353
|
+
var _this6 = this;
|
|
62174
62354
|
|
|
62175
62355
|
if (this.checkboxs.length > 0) {
|
|
62176
62356
|
var isObject = utils_util["a" /* default */].isObject(this.checkboxs[0]);
|
|
@@ -62188,9 +62368,9 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62188
62368
|
if (this.isShowTree) {
|
|
62189
62369
|
this.nodeData.checkAll = false;
|
|
62190
62370
|
this.checkboxs.forEach(function (element) {
|
|
62191
|
-
for (var i in
|
|
62192
|
-
if (isObject &&
|
|
62193
|
-
|
|
62371
|
+
for (var i in _this6.checkeds) {
|
|
62372
|
+
if (isObject && _this6.checkeds[i][_this6.valueKey] === element[_this6.valueKey] || _this6.checkeds[i] === element) {
|
|
62373
|
+
_this6.checkeds.splice(i, 1);
|
|
62194
62374
|
break;
|
|
62195
62375
|
}
|
|
62196
62376
|
}
|
|
@@ -62209,7 +62389,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62209
62389
|
this.$emit('filtratechage', this.trees, this.activeName);
|
|
62210
62390
|
},
|
|
62211
62391
|
handleChangeSearch: function handleChangeSearch() {
|
|
62212
|
-
var
|
|
62392
|
+
var _this7 = this;
|
|
62213
62393
|
|
|
62214
62394
|
if (this.search === '') {
|
|
62215
62395
|
if (this.isShowTree) {
|
|
@@ -62223,11 +62403,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62223
62403
|
var arry = [];
|
|
62224
62404
|
this.nodeData.selection.forEach(function (item) {
|
|
62225
62405
|
if (utils_util["a" /* default */].isObject(item)) {
|
|
62226
|
-
if (item[
|
|
62406
|
+
if (item[_this7.labelKey].indexOf(_this7.search) > -1) {
|
|
62227
62407
|
arry.push(item);
|
|
62228
62408
|
}
|
|
62229
62409
|
} else {
|
|
62230
|
-
if (item.indexOf(
|
|
62410
|
+
if (item.indexOf(_this7.search) > -1) {
|
|
62231
62411
|
arry.push(item);
|
|
62232
62412
|
}
|
|
62233
62413
|
}
|
|
@@ -62238,11 +62418,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62238
62418
|
var _arry = [];
|
|
62239
62419
|
this.selections.forEach(function (item) {
|
|
62240
62420
|
if (utils_util["a" /* default */].isObject(item)) {
|
|
62241
|
-
if (item[
|
|
62421
|
+
if (item[_this7.labelKey].indexOf(_this7.search) > -1) {
|
|
62242
62422
|
_arry.push(item);
|
|
62243
62423
|
}
|
|
62244
62424
|
} else {
|
|
62245
|
-
if (item.indexOf(
|
|
62425
|
+
if (item.indexOf(_this7.search) > -1) {
|
|
62246
62426
|
_arry.push(item);
|
|
62247
62427
|
}
|
|
62248
62428
|
}
|
|
@@ -62252,7 +62432,7 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62252
62432
|
}
|
|
62253
62433
|
},
|
|
62254
62434
|
handleSearch: function handleSearch() {
|
|
62255
|
-
var
|
|
62435
|
+
var _this8 = this;
|
|
62256
62436
|
|
|
62257
62437
|
if (this.isShowTree) {
|
|
62258
62438
|
if (this.nodeData && this.nodeData.selection) {
|
|
@@ -62260,11 +62440,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62260
62440
|
var arry = [];
|
|
62261
62441
|
this.nodeData.selection.forEach(function (item) {
|
|
62262
62442
|
if (utils_util["a" /* default */].isObject(item)) {
|
|
62263
|
-
if (item[
|
|
62443
|
+
if (item[_this8.labelKey].indexOf(_this8.search) > -1) {
|
|
62264
62444
|
arry.push(item);
|
|
62265
62445
|
}
|
|
62266
62446
|
} else {
|
|
62267
|
-
if (item.indexOf(
|
|
62447
|
+
if (item.indexOf(_this8.search) > -1) {
|
|
62268
62448
|
arry.push(item);
|
|
62269
62449
|
}
|
|
62270
62450
|
}
|
|
@@ -62286,11 +62466,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62286
62466
|
}
|
|
62287
62467
|
}).then(function (res) {
|
|
62288
62468
|
if (res.rCode === 0) {
|
|
62289
|
-
|
|
62469
|
+
_this8.checkboxs = JSON.parse(JSON.stringify(res.results));
|
|
62290
62470
|
}
|
|
62291
62471
|
}).catch(function (err) {
|
|
62292
62472
|
if (err.message && err.message !== 'canceled') {
|
|
62293
|
-
|
|
62473
|
+
_this8.$message.error(err.message);
|
|
62294
62474
|
}
|
|
62295
62475
|
});
|
|
62296
62476
|
}
|
|
@@ -62299,11 +62479,11 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62299
62479
|
var _arry2 = [];
|
|
62300
62480
|
this.selections.forEach(function (item) {
|
|
62301
62481
|
if (utils_util["a" /* default */].isObject(item)) {
|
|
62302
|
-
if (item[
|
|
62482
|
+
if (item[_this8.labelKey].indexOf(_this8.search) > -1) {
|
|
62303
62483
|
_arry2.push(item);
|
|
62304
62484
|
}
|
|
62305
62485
|
} else {
|
|
62306
|
-
if (item.indexOf(
|
|
62486
|
+
if (item.indexOf(_this8.search) > -1) {
|
|
62307
62487
|
_arry2.push(item);
|
|
62308
62488
|
}
|
|
62309
62489
|
}
|
|
@@ -62355,8 +62535,8 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
62355
62535
|
|
|
62356
62536
|
var selector_panel_src_main_component = normalizeComponent(
|
|
62357
62537
|
packages_selector_panel_src_mainvue_type_script_lang_js_,
|
|
62358
|
-
|
|
62359
|
-
|
|
62538
|
+
mainvue_type_template_id_45642019_render,
|
|
62539
|
+
mainvue_type_template_id_45642019_staticRenderFns,
|
|
62360
62540
|
false,
|
|
62361
62541
|
null,
|
|
62362
62542
|
null,
|
|
@@ -62800,8 +62980,8 @@ sizer_src_main.install = function (Vue) {
|
|
|
62800
62980
|
};
|
|
62801
62981
|
|
|
62802
62982
|
/* harmony default export */ var packages_sizer = (sizer_src_main);
|
|
62803
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/steps/src/main.vue?vue&type=template&id=
|
|
62804
|
-
var
|
|
62983
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/steps/src/main.vue?vue&type=template&id=029968af&
|
|
62984
|
+
var mainvue_type_template_id_029968af_render = function () {
|
|
62805
62985
|
var _vm = this
|
|
62806
62986
|
var _h = _vm.$createElement
|
|
62807
62987
|
var _c = _vm._self._c || _h
|
|
@@ -62901,11 +63081,11 @@ var mainvue_type_template_id_6a6ca54d_render = function () {
|
|
|
62901
63081
|
1
|
|
62902
63082
|
)
|
|
62903
63083
|
}
|
|
62904
|
-
var
|
|
62905
|
-
|
|
63084
|
+
var mainvue_type_template_id_029968af_staticRenderFns = []
|
|
63085
|
+
mainvue_type_template_id_029968af_render._withStripped = true
|
|
62906
63086
|
|
|
62907
63087
|
|
|
62908
|
-
// CONCATENATED MODULE: ./packages/steps/src/main.vue?vue&type=template&id=
|
|
63088
|
+
// CONCATENATED MODULE: ./packages/steps/src/main.vue?vue&type=template&id=029968af&
|
|
62909
63089
|
|
|
62910
63090
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/steps/src/main.vue?vue&type=script&lang=js&
|
|
62911
63091
|
var steps_src_mainvue_type_script_lang_js_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; };
|
|
@@ -62978,6 +63158,7 @@ var steps_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
62978
63158
|
//
|
|
62979
63159
|
|
|
62980
63160
|
|
|
63161
|
+
|
|
62981
63162
|
/* harmony default export */ var steps_src_mainvue_type_script_lang_js_ = ({
|
|
62982
63163
|
name: 'EsSteps',
|
|
62983
63164
|
inheritAttrs: false,
|
|
@@ -63042,14 +63223,21 @@ var steps_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
63042
63223
|
}
|
|
63043
63224
|
}
|
|
63044
63225
|
},
|
|
63226
|
+
beforeCreate: function beforeCreate() {
|
|
63227
|
+
var _this = this;
|
|
63228
|
+
|
|
63229
|
+
this.getData = Object(external_throttle_debounce_["debounce"])(300, function () {
|
|
63230
|
+
_this.getDatas();
|
|
63231
|
+
});
|
|
63232
|
+
},
|
|
63045
63233
|
created: function created() {
|
|
63046
63234
|
this.getData();
|
|
63047
63235
|
},
|
|
63048
63236
|
mounted: function mounted() {},
|
|
63049
63237
|
|
|
63050
63238
|
methods: {
|
|
63051
|
-
|
|
63052
|
-
var
|
|
63239
|
+
getDatas: function getDatas() {
|
|
63240
|
+
var _this2 = this;
|
|
63053
63241
|
|
|
63054
63242
|
if (this.url) {
|
|
63055
63243
|
var param = this.param ? this.param : {};
|
|
@@ -63060,15 +63248,15 @@ var steps_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
63060
63248
|
params: param
|
|
63061
63249
|
}).then(function (res) {
|
|
63062
63250
|
if (res.rCode === 0) {
|
|
63063
|
-
if (
|
|
63064
|
-
|
|
63251
|
+
if (_this2.esForm) {
|
|
63252
|
+
_this2.esForm.stepContent = JSON.parse(JSON.stringify(res.results));
|
|
63065
63253
|
} else {
|
|
63066
|
-
|
|
63254
|
+
_this2.list = JSON.parse(JSON.stringify(res.results));
|
|
63067
63255
|
}
|
|
63068
63256
|
}
|
|
63069
63257
|
}).catch(function (err) {
|
|
63070
63258
|
if (err.message && err.message !== 'canceled') {
|
|
63071
|
-
|
|
63259
|
+
_this2.$message.error(err.message);
|
|
63072
63260
|
}
|
|
63073
63261
|
});
|
|
63074
63262
|
}
|
|
@@ -63099,8 +63287,8 @@ var steps_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
63099
63287
|
|
|
63100
63288
|
var steps_src_main_component = normalizeComponent(
|
|
63101
63289
|
packages_steps_src_mainvue_type_script_lang_js_,
|
|
63102
|
-
|
|
63103
|
-
|
|
63290
|
+
mainvue_type_template_id_029968af_render,
|
|
63291
|
+
mainvue_type_template_id_029968af_staticRenderFns,
|
|
63104
63292
|
false,
|
|
63105
63293
|
null,
|
|
63106
63294
|
null,
|
|
@@ -65894,8 +66082,8 @@ tabs_panel_src_main.install = function (Vue) {
|
|
|
65894
66082
|
};
|
|
65895
66083
|
|
|
65896
66084
|
/* harmony default export */ var tabs_panel = (tabs_panel_src_main);
|
|
65897
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tips/src/main.vue?vue&type=template&id=
|
|
65898
|
-
var
|
|
66085
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tips/src/main.vue?vue&type=template&id=dc6e71ee&
|
|
66086
|
+
var mainvue_type_template_id_dc6e71ee_render = function () {
|
|
65899
66087
|
var _vm = this
|
|
65900
66088
|
var _h = _vm.$createElement
|
|
65901
66089
|
var _c = _vm._self._c || _h
|
|
@@ -65933,11 +66121,11 @@ var mainvue_type_template_id_33945f34_render = function () {
|
|
|
65933
66121
|
2
|
|
65934
66122
|
)
|
|
65935
66123
|
}
|
|
65936
|
-
var
|
|
65937
|
-
|
|
66124
|
+
var mainvue_type_template_id_dc6e71ee_staticRenderFns = []
|
|
66125
|
+
mainvue_type_template_id_dc6e71ee_render._withStripped = true
|
|
65938
66126
|
|
|
65939
66127
|
|
|
65940
|
-
// CONCATENATED MODULE: ./packages/tips/src/main.vue?vue&type=template&id=
|
|
66128
|
+
// CONCATENATED MODULE: ./packages/tips/src/main.vue?vue&type=template&id=dc6e71ee&
|
|
65941
66129
|
|
|
65942
66130
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tips/src/main.vue?vue&type=script&lang=js&
|
|
65943
66131
|
//
|
|
@@ -65960,6 +66148,7 @@ mainvue_type_template_id_33945f34_render._withStripped = true
|
|
|
65960
66148
|
|
|
65961
66149
|
|
|
65962
66150
|
|
|
66151
|
+
|
|
65963
66152
|
/* harmony default export */ var tips_src_mainvue_type_script_lang_js_ = ({
|
|
65964
66153
|
name: 'EsTips',
|
|
65965
66154
|
inheritAttrs: false,
|
|
@@ -66045,6 +66234,14 @@ mainvue_type_template_id_33945f34_render._withStripped = true
|
|
|
66045
66234
|
}
|
|
66046
66235
|
}
|
|
66047
66236
|
},
|
|
66237
|
+
beforeCreate: function beforeCreate() {
|
|
66238
|
+
var _this2 = this;
|
|
66239
|
+
|
|
66240
|
+
this.getTips = Object(external_throttle_debounce_["debounce"])(300, function () {
|
|
66241
|
+
_this2.getTipsData();
|
|
66242
|
+
});
|
|
66243
|
+
},
|
|
66244
|
+
created: function created() {},
|
|
66048
66245
|
mounted: function mounted() {
|
|
66049
66246
|
if (this.url && !this.contents && JSON.stringify(this.param) !== '{}') {
|
|
66050
66247
|
this.getTips();
|
|
@@ -66052,8 +66249,8 @@ mainvue_type_template_id_33945f34_render._withStripped = true
|
|
|
66052
66249
|
},
|
|
66053
66250
|
|
|
66054
66251
|
methods: {
|
|
66055
|
-
|
|
66056
|
-
var
|
|
66252
|
+
getTipsData: function getTipsData() {
|
|
66253
|
+
var _this3 = this;
|
|
66057
66254
|
|
|
66058
66255
|
utils_util["a" /* default */].ajax({
|
|
66059
66256
|
url: this.url,
|
|
@@ -66062,11 +66259,11 @@ mainvue_type_template_id_33945f34_render._withStripped = true
|
|
|
66062
66259
|
params: this.params
|
|
66063
66260
|
}).then(function (res) {
|
|
66064
66261
|
if (res.rCode === 0) {
|
|
66065
|
-
|
|
66262
|
+
_this3.reselutContent = res;
|
|
66066
66263
|
}
|
|
66067
66264
|
}).catch(function (err) {
|
|
66068
66265
|
if (err.message && err.message !== 'canceled') {
|
|
66069
|
-
|
|
66266
|
+
_this3.$message.error(err.message);
|
|
66070
66267
|
}
|
|
66071
66268
|
});
|
|
66072
66269
|
},
|
|
@@ -66088,8 +66285,8 @@ mainvue_type_template_id_33945f34_render._withStripped = true
|
|
|
66088
66285
|
|
|
66089
66286
|
var tips_src_main_component = normalizeComponent(
|
|
66090
66287
|
packages_tips_src_mainvue_type_script_lang_js_,
|
|
66091
|
-
|
|
66092
|
-
|
|
66288
|
+
mainvue_type_template_id_dc6e71ee_render,
|
|
66289
|
+
mainvue_type_template_id_dc6e71ee_staticRenderFns,
|
|
66093
66290
|
false,
|
|
66094
66291
|
null,
|
|
66095
66292
|
null,
|
|
@@ -66106,8 +66303,8 @@ tips_src_main.install = function (Vue) {
|
|
|
66106
66303
|
};
|
|
66107
66304
|
|
|
66108
66305
|
/* harmony default export */ var tips = (tips_src_main);
|
|
66109
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=
|
|
66110
|
-
var
|
|
66306
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=343ace9b&
|
|
66307
|
+
var mainvue_type_template_id_343ace9b_render = function () {
|
|
66111
66308
|
var _vm = this
|
|
66112
66309
|
var _h = _vm.$createElement
|
|
66113
66310
|
var _c = _vm._self._c || _h
|
|
@@ -66303,11 +66500,11 @@ var mainvue_type_template_id_9f4d1ddc_render = function () {
|
|
|
66303
66500
|
)
|
|
66304
66501
|
: _vm._e()
|
|
66305
66502
|
}
|
|
66306
|
-
var
|
|
66307
|
-
|
|
66503
|
+
var mainvue_type_template_id_343ace9b_staticRenderFns = []
|
|
66504
|
+
mainvue_type_template_id_343ace9b_render._withStripped = true
|
|
66308
66505
|
|
|
66309
66506
|
|
|
66310
|
-
// CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=
|
|
66507
|
+
// CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=343ace9b&
|
|
66311
66508
|
|
|
66312
66509
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=script&lang=js&
|
|
66313
66510
|
//
|
|
@@ -66401,6 +66598,7 @@ mainvue_type_template_id_9f4d1ddc_render._withStripped = true
|
|
|
66401
66598
|
|
|
66402
66599
|
|
|
66403
66600
|
|
|
66601
|
+
|
|
66404
66602
|
/* harmony default export */ var tree_src_mainvue_type_script_lang_js_ = ({
|
|
66405
66603
|
name: 'EsTree',
|
|
66406
66604
|
inheritAttrs: false,
|
|
@@ -66661,11 +66859,18 @@ mainvue_type_template_id_9f4d1ddc_render._withStripped = true
|
|
|
66661
66859
|
}
|
|
66662
66860
|
}
|
|
66663
66861
|
},
|
|
66862
|
+
beforeCreate: function beforeCreate() {
|
|
66863
|
+
var _this = this;
|
|
66864
|
+
|
|
66865
|
+
this.getTreeData = Object(external_throttle_debounce_["debounce"])(300, function (param) {
|
|
66866
|
+
_this.getTreeDatas(param);
|
|
66867
|
+
});
|
|
66868
|
+
},
|
|
66664
66869
|
created: function created() {
|
|
66665
66870
|
if (Object.prototype.hasOwnProperty.call(this.search, 'value')) {
|
|
66666
66871
|
this.searchValue = this.search.value;
|
|
66667
66872
|
}
|
|
66668
|
-
this.getTreeData();
|
|
66873
|
+
this.getTreeData(param);
|
|
66669
66874
|
},
|
|
66670
66875
|
mounted: function mounted() {},
|
|
66671
66876
|
|
|
@@ -66683,8 +66888,8 @@ mainvue_type_template_id_9f4d1ddc_render._withStripped = true
|
|
|
66683
66888
|
},
|
|
66684
66889
|
|
|
66685
66890
|
//获取树节点
|
|
66686
|
-
|
|
66687
|
-
var
|
|
66891
|
+
getTreeDatas: function getTreeDatas(param) {
|
|
66892
|
+
var _this2 = this;
|
|
66688
66893
|
|
|
66689
66894
|
this.loading = true;
|
|
66690
66895
|
var params = utils_util["a" /* default */].extend({}, this.param, this.where, param);
|
|
@@ -66695,44 +66900,44 @@ mainvue_type_template_id_9f4d1ddc_render._withStripped = true
|
|
|
66695
66900
|
data: params,
|
|
66696
66901
|
params: params
|
|
66697
66902
|
}).then(function (res) {
|
|
66698
|
-
|
|
66903
|
+
_this2.loading = false;
|
|
66699
66904
|
if (res.rCode === 0) {
|
|
66700
|
-
var treeList =
|
|
66701
|
-
|
|
66702
|
-
if (
|
|
66905
|
+
var treeList = _this2.parseData ? _this2.parseData(JSON.parse(JSON.stringify(res.results)), 'results') : JSON.parse(JSON.stringify(res.results));
|
|
66906
|
+
_this2.$emit('results', treeList);
|
|
66907
|
+
if (_this2.currentFirst) {
|
|
66703
66908
|
var currentNode = treeList[0].id;
|
|
66704
|
-
if (!
|
|
66705
|
-
|
|
66706
|
-
|
|
66707
|
-
|
|
66909
|
+
if (!_this2.currentNodeKey && _this2.currentNodeKey != 0) {
|
|
66910
|
+
_this2.$emit('current-first', 'current', treeList[0]);
|
|
66911
|
+
_this2.$nextTick(function () {
|
|
66912
|
+
_this2.$refs.oaTree.setCurrentKey(currentNode);
|
|
66708
66913
|
});
|
|
66709
66914
|
}
|
|
66710
66915
|
}
|
|
66711
|
-
if (
|
|
66916
|
+
if (_this2.checkedFirst) {
|
|
66712
66917
|
var checkedNode = treeList[0].id;
|
|
66713
|
-
if (
|
|
66714
|
-
|
|
66715
|
-
|
|
66918
|
+
if (_this2.defaultCheckedKeys && _this2.defaultCheckedKeys.indexOf(checkedNode) == -1) {
|
|
66919
|
+
_this2.$emit('current-first', 'checked', treeList[0]);
|
|
66920
|
+
_this2.checkedKeys = [checkedNode];
|
|
66716
66921
|
}
|
|
66717
66922
|
}
|
|
66718
|
-
|
|
66923
|
+
_this2.expandedKeys = treeList.filter(function (item) {
|
|
66719
66924
|
if (item.open) {
|
|
66720
66925
|
return item.id;
|
|
66721
66926
|
}
|
|
66722
66927
|
});
|
|
66723
|
-
|
|
66928
|
+
_this2.treeList = treeList;
|
|
66724
66929
|
}
|
|
66725
66930
|
}).catch(function (err) {
|
|
66726
|
-
|
|
66931
|
+
_this2.loading = false;
|
|
66727
66932
|
if (err.message && err.message !== 'canceled') {
|
|
66728
|
-
|
|
66933
|
+
_this2.$message.error(err.message);
|
|
66729
66934
|
}
|
|
66730
66935
|
});
|
|
66731
66936
|
},
|
|
66732
66937
|
|
|
66733
66938
|
//请求子节点数据
|
|
66734
66939
|
loadsub: function loadsub(data, node) {
|
|
66735
|
-
var
|
|
66940
|
+
var _this3 = this;
|
|
66736
66941
|
|
|
66737
66942
|
if (data.state !== '' && (!data.children || data.children.length === 0)) {
|
|
66738
66943
|
var params = utils_util["a" /* default */].extend({}, this.param, this.where, {
|
|
@@ -66746,8 +66951,8 @@ mainvue_type_template_id_9f4d1ddc_render._withStripped = true
|
|
|
66746
66951
|
}
|
|
66747
66952
|
if (this.onLoadsub) {
|
|
66748
66953
|
this.onLoadsub({ data: data, params: params, node: node }).then(function (res) {
|
|
66749
|
-
|
|
66750
|
-
|
|
66954
|
+
_this3.loading = false;
|
|
66955
|
+
_this3.$set(data, 'children', JSON.parse(JSON.stringify(res)));
|
|
66751
66956
|
}).catch(function (e) {});
|
|
66752
66957
|
} else {
|
|
66753
66958
|
utils_util["a" /* default */].ajax({
|
|
@@ -66757,25 +66962,25 @@ mainvue_type_template_id_9f4d1ddc_render._withStripped = true
|
|
|
66757
66962
|
params: params
|
|
66758
66963
|
}).then(function (res) {
|
|
66759
66964
|
if (res.rCode === 0) {
|
|
66760
|
-
|
|
66761
|
-
var results =
|
|
66762
|
-
|
|
66965
|
+
_this3.loading = false;
|
|
66966
|
+
var results = _this3.parseData ? _this3.parseData(JSON.parse(JSON.stringify(res.results)), 'sub-results') : JSON.parse(JSON.stringify(res.results));
|
|
66967
|
+
_this3.$emit('sub-results', results);
|
|
66763
66968
|
if (Array.isArray(results)) {
|
|
66764
66969
|
if (data.id === results[0].id) {
|
|
66765
|
-
|
|
66970
|
+
_this3.$set(data, 'children', results[0].children);
|
|
66766
66971
|
} else {
|
|
66767
|
-
|
|
66972
|
+
_this3.$set(data, 'children', results);
|
|
66768
66973
|
}
|
|
66769
66974
|
} else if (data.id === results.id) {
|
|
66770
|
-
|
|
66975
|
+
_this3.$set(data, 'children', results.children);
|
|
66771
66976
|
} else {
|
|
66772
66977
|
console.error('tree数据格式错误');
|
|
66773
66978
|
}
|
|
66774
66979
|
}
|
|
66775
66980
|
}).catch(function (err) {
|
|
66776
|
-
|
|
66981
|
+
_this3.loading = false;
|
|
66777
66982
|
if (err.message && err.message !== 'canceled') {
|
|
66778
|
-
|
|
66983
|
+
_this3.$message.error(err.message);
|
|
66779
66984
|
}
|
|
66780
66985
|
});
|
|
66781
66986
|
}
|
|
@@ -66803,13 +67008,13 @@ mainvue_type_template_id_9f4d1ddc_render._withStripped = true
|
|
|
66803
67008
|
this.$emit('load', node, resolve);
|
|
66804
67009
|
},
|
|
66805
67010
|
sortTree: function sortTree(arr) {
|
|
66806
|
-
var
|
|
67011
|
+
var _this4 = this;
|
|
66807
67012
|
|
|
66808
67013
|
return arr.sort(function (a, b) {
|
|
66809
|
-
if (
|
|
66810
|
-
return a[
|
|
67014
|
+
if (_this4.order === 'asc' && a[_this4.sort]) {
|
|
67015
|
+
return a[_this4.sort] - b[_this4.sort];
|
|
66811
67016
|
} else {
|
|
66812
|
-
return b[
|
|
67017
|
+
return b[_this4.sort] - a[_this4.sort];
|
|
66813
67018
|
}
|
|
66814
67019
|
});
|
|
66815
67020
|
},
|
|
@@ -66870,7 +67075,7 @@ mainvue_type_template_id_9f4d1ddc_render._withStripped = true
|
|
|
66870
67075
|
}
|
|
66871
67076
|
},
|
|
66872
67077
|
handleCheckChange: function handleCheckChange(data, checked, indeterminate) {
|
|
66873
|
-
var
|
|
67078
|
+
var _this5 = this;
|
|
66874
67079
|
|
|
66875
67080
|
if (this.esPage && this.changeData) {
|
|
66876
67081
|
var checkeds = this.getCheckedNodes();
|
|
@@ -66878,7 +67083,7 @@ mainvue_type_template_id_9f4d1ddc_render._withStripped = true
|
|
|
66878
67083
|
if (utils_util["a" /* default */].isObject(this.changeData)) {
|
|
66879
67084
|
var _loop = function _loop(_i2) {
|
|
66880
67085
|
changeData[_i2] = checkeds.map(function (item) {
|
|
66881
|
-
return item[
|
|
67086
|
+
return item[_this5.changeData[_i2]];
|
|
66882
67087
|
});
|
|
66883
67088
|
};
|
|
66884
67089
|
|
|
@@ -66888,7 +67093,7 @@ mainvue_type_template_id_9f4d1ddc_render._withStripped = true
|
|
|
66888
67093
|
} else if (Array.isArray(this.changeData)) {
|
|
66889
67094
|
this.changeData.forEach(function (item) {
|
|
66890
67095
|
changeData[item] = checkeds.map(function (ele) {
|
|
66891
|
-
return ele[
|
|
67096
|
+
return ele[_this5.changeData[i]];
|
|
66892
67097
|
});
|
|
66893
67098
|
});
|
|
66894
67099
|
} else {
|
|
@@ -66965,12 +67170,12 @@ mainvue_type_template_id_9f4d1ddc_render._withStripped = true
|
|
|
66965
67170
|
return this.$refs.oaTree.insertAfter(data, refNode);
|
|
66966
67171
|
},
|
|
66967
67172
|
getKeys: function getKeys(data, result) {
|
|
66968
|
-
var
|
|
67173
|
+
var _this6 = this;
|
|
66969
67174
|
|
|
66970
67175
|
data.forEach(function (item) {
|
|
66971
67176
|
result.push(item.id);
|
|
66972
67177
|
if (Object.prototype.hasOwnProperty.call(item, 'children') && item.children.length) {
|
|
66973
|
-
|
|
67178
|
+
_this6.getKeys(item.children, result);
|
|
66974
67179
|
}
|
|
66975
67180
|
});
|
|
66976
67181
|
},
|
|
@@ -67000,8 +67205,8 @@ mainvue_type_template_id_9f4d1ddc_render._withStripped = true
|
|
|
67000
67205
|
|
|
67001
67206
|
var tree_src_main_component = normalizeComponent(
|
|
67002
67207
|
packages_tree_src_mainvue_type_script_lang_js_,
|
|
67003
|
-
|
|
67004
|
-
|
|
67208
|
+
mainvue_type_template_id_343ace9b_render,
|
|
67209
|
+
mainvue_type_template_id_343ace9b_staticRenderFns,
|
|
67005
67210
|
false,
|
|
67006
67211
|
null,
|
|
67007
67212
|
null,
|
|
@@ -72537,8 +72742,8 @@ form_src_table.install = function (Vue) {
|
|
|
72537
72742
|
};
|
|
72538
72743
|
|
|
72539
72744
|
/* harmony default export */ var table_form = (form_src_table);
|
|
72540
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=
|
|
72541
|
-
var
|
|
72745
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=7440cc04&
|
|
72746
|
+
var mainvue_type_template_id_7440cc04_render = function () {
|
|
72542
72747
|
var _vm = this
|
|
72543
72748
|
var _h = _vm.$createElement
|
|
72544
72749
|
var _c = _vm._self._c || _h
|
|
@@ -72918,11 +73123,11 @@ var mainvue_type_template_id_33bc9a52_render = function () {
|
|
|
72918
73123
|
)
|
|
72919
73124
|
: _vm._e()
|
|
72920
73125
|
}
|
|
72921
|
-
var
|
|
72922
|
-
|
|
73126
|
+
var mainvue_type_template_id_7440cc04_staticRenderFns = []
|
|
73127
|
+
mainvue_type_template_id_7440cc04_render._withStripped = true
|
|
72923
73128
|
|
|
72924
73129
|
|
|
72925
|
-
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=
|
|
73130
|
+
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=7440cc04&
|
|
72926
73131
|
|
|
72927
73132
|
// CONCATENATED MODULE: ./packages/upload/src/picture.js
|
|
72928
73133
|
/* harmony default export */ var picture = ({
|
|
@@ -73133,6 +73338,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
73133
73338
|
|
|
73134
73339
|
|
|
73135
73340
|
|
|
73341
|
+
|
|
73136
73342
|
/* harmony default export */ var upload_src_mainvue_type_script_lang_js_ = ({
|
|
73137
73343
|
name: 'EsUpload',
|
|
73138
73344
|
components: {
|
|
@@ -73566,14 +73772,24 @@ var mainvue_type_script_lang_js_props;
|
|
|
73566
73772
|
val && this.getHeight();
|
|
73567
73773
|
}
|
|
73568
73774
|
},
|
|
73775
|
+
beforeCreate: function beforeCreate() {
|
|
73776
|
+
var _this = this;
|
|
73777
|
+
|
|
73778
|
+
this.getFiles = Object(external_throttle_debounce_["debounce"])(300, function (params) {
|
|
73779
|
+
_this.getFileLists(params);
|
|
73780
|
+
});
|
|
73781
|
+
this.getAdjunctPropertie = Object(external_throttle_debounce_["debounce"])(300, function () {
|
|
73782
|
+
_this.getAdjunctProperties();
|
|
73783
|
+
});
|
|
73784
|
+
},
|
|
73569
73785
|
created: function created() {
|
|
73570
73786
|
this.getAdjunctPropertie();
|
|
73571
73787
|
},
|
|
73572
73788
|
mounted: function mounted() {
|
|
73573
|
-
var
|
|
73789
|
+
var _this2 = this;
|
|
73574
73790
|
|
|
73575
73791
|
this.$nextTick(function () {
|
|
73576
|
-
|
|
73792
|
+
_this2.getHeight();
|
|
73577
73793
|
});
|
|
73578
73794
|
},
|
|
73579
73795
|
|
|
@@ -73588,8 +73804,8 @@ var mainvue_type_script_lang_js_props;
|
|
|
73588
73804
|
},
|
|
73589
73805
|
|
|
73590
73806
|
//根据code获取附件参数配置
|
|
73591
|
-
|
|
73592
|
-
var
|
|
73807
|
+
getAdjunctProperties: function getAdjunctProperties() {
|
|
73808
|
+
var _this3 = this;
|
|
73593
73809
|
|
|
73594
73810
|
if (this.code !== undefined) {
|
|
73595
73811
|
var config = utils_store.get(this.code);
|
|
@@ -73606,35 +73822,35 @@ var mainvue_type_script_lang_js_props;
|
|
|
73606
73822
|
}).then(function (res) {
|
|
73607
73823
|
if (res.rCode === 0) {
|
|
73608
73824
|
if (res.results) {
|
|
73609
|
-
|
|
73825
|
+
_this3.excludeNames = res.results.excludeName;
|
|
73610
73826
|
if (res.results.fileTypeExtName) {
|
|
73611
73827
|
var fileTypeExtName = res.results.fileTypeExtName.split(';');
|
|
73612
|
-
|
|
73828
|
+
_this3.fileAccept = fileTypeExtName.filter(function (item) {
|
|
73613
73829
|
return item;
|
|
73614
73830
|
}).join(',');
|
|
73615
73831
|
}
|
|
73616
73832
|
if (res.results.kkViewRootPath) {
|
|
73617
|
-
|
|
73833
|
+
_this3.kkfileview = res.results.kkViewRootPath;
|
|
73618
73834
|
}
|
|
73619
|
-
|
|
73620
|
-
|
|
73621
|
-
utils_store.set(
|
|
73622
|
-
accept:
|
|
73623
|
-
size:
|
|
73624
|
-
totalSize:
|
|
73835
|
+
_this3.fileSize = res.results.limitFileSize ? res.results.limitFileSize : 0;
|
|
73836
|
+
_this3.fileTotalSize = res.results.limitTotalSize;
|
|
73837
|
+
utils_store.set(_this3.code, {
|
|
73838
|
+
accept: _this3.fileAccept,
|
|
73839
|
+
size: _this3.fileSize,
|
|
73840
|
+
totalSize: _this3.fileTotalSize
|
|
73625
73841
|
});
|
|
73626
73842
|
}
|
|
73627
73843
|
}
|
|
73628
73844
|
}).catch(function (err) {
|
|
73629
73845
|
if (err.message && err.message !== 'canceled') {
|
|
73630
|
-
|
|
73846
|
+
_this3.$message.error(err.message);
|
|
73631
73847
|
}
|
|
73632
73848
|
});
|
|
73633
73849
|
}
|
|
73634
73850
|
}
|
|
73635
73851
|
},
|
|
73636
|
-
|
|
73637
|
-
var
|
|
73852
|
+
getFileLists: function getFileLists(params) {
|
|
73853
|
+
var _this4 = this;
|
|
73638
73854
|
|
|
73639
73855
|
if (!this.show || this.fileList && Array.isArray(this.fileList) && this.fileList.length || this.requiredOwnId && !Object.prototype.hasOwnProperty.call(params, 'ownId')) {
|
|
73640
73856
|
return false;
|
|
@@ -73647,30 +73863,30 @@ var mainvue_type_script_lang_js_props;
|
|
|
73647
73863
|
format: false
|
|
73648
73864
|
}).then(function (res) {
|
|
73649
73865
|
if (res.rCode === 0) {
|
|
73650
|
-
if (
|
|
73651
|
-
|
|
73866
|
+
if (_this4.portrait === true) {
|
|
73867
|
+
_this4.image = JSON.parse(JSON.stringify(res.results))[0];
|
|
73652
73868
|
} else {
|
|
73653
|
-
|
|
73869
|
+
_this4.lists = JSON.parse(JSON.stringify(res.results));
|
|
73654
73870
|
var filesTotalSize = 0;
|
|
73655
|
-
|
|
73871
|
+
_this4.lists.forEach(function (item) {
|
|
73656
73872
|
if (Object.prototype.hasOwnProperty.call(item, 'fileSize') && item.fileSize) {
|
|
73657
73873
|
filesTotalSize += parseFloat(item.fileSize, 10);
|
|
73658
73874
|
} else {
|
|
73659
73875
|
filesTotalSize += item.size ? Math.round(item.size / 1024 * 10) / 10 : 0;
|
|
73660
73876
|
}
|
|
73661
73877
|
});
|
|
73662
|
-
|
|
73663
|
-
if (
|
|
73664
|
-
|
|
73878
|
+
_this4.filesTotalSize = filesTotalSize;
|
|
73879
|
+
if (_this4.lists.length) {
|
|
73880
|
+
_this4.$emit('input', _this4.lists);
|
|
73665
73881
|
}
|
|
73666
73882
|
}
|
|
73667
73883
|
} else {
|
|
73668
73884
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
73669
|
-
|
|
73885
|
+
_this4.$message.error(msg);
|
|
73670
73886
|
}
|
|
73671
73887
|
}).catch(function (err) {
|
|
73672
73888
|
if (err.message && err.message !== 'canceled') {
|
|
73673
|
-
|
|
73889
|
+
_this4.$message.error(err.message);
|
|
73674
73890
|
}
|
|
73675
73891
|
});
|
|
73676
73892
|
},
|
|
@@ -73690,7 +73906,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
73690
73906
|
utils_util["a" /* default */].win.open(this.kkfileview + '?url=' + url);
|
|
73691
73907
|
},
|
|
73692
73908
|
handlePreview: function handlePreview(res) {
|
|
73693
|
-
var
|
|
73909
|
+
var _this5 = this;
|
|
73694
73910
|
|
|
73695
73911
|
if (this.preview) {
|
|
73696
73912
|
if (this.onPreview) {
|
|
@@ -73718,7 +73934,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
73718
73934
|
this.title = file.originalName;
|
|
73719
73935
|
this.showImg = true;
|
|
73720
73936
|
this.$nextTick(function () {
|
|
73721
|
-
|
|
73937
|
+
_this5.loadImage();
|
|
73722
73938
|
});
|
|
73723
73939
|
} else if (suffix.includes('mp4')) {
|
|
73724
73940
|
this.source = {
|
|
@@ -73743,24 +73959,24 @@ var mainvue_type_script_lang_js_props;
|
|
|
73743
73959
|
this.showImg = false;
|
|
73744
73960
|
},
|
|
73745
73961
|
loadImage: function loadImage() {
|
|
73746
|
-
var
|
|
73962
|
+
var _this6 = this;
|
|
73747
73963
|
|
|
73748
73964
|
this.$refs.showImg && (this.$refs.showImg.onload = function () {
|
|
73749
|
-
|
|
73750
|
-
var w =
|
|
73751
|
-
var h =
|
|
73752
|
-
var pw =
|
|
73753
|
-
var ph =
|
|
73965
|
+
_this6.imgChange = false;
|
|
73966
|
+
var w = _this6.$refs.showImg.naturalWidth;
|
|
73967
|
+
var h = _this6.$refs.showImg.naturalHeight;
|
|
73968
|
+
var pw = _this6.$refs.showImg.parentNode.offsetWidth;
|
|
73969
|
+
var ph = _this6.$refs.showImg.parentNode.offsetHeight;
|
|
73754
73970
|
if (w / h > pw / ph) {
|
|
73755
|
-
|
|
73971
|
+
_this6.styles = { 'max-width': '100%' };
|
|
73756
73972
|
} else {
|
|
73757
|
-
|
|
73973
|
+
_this6.styles = { 'max-height': '100%' };
|
|
73758
73974
|
}
|
|
73759
73975
|
if (w < pw) {
|
|
73760
|
-
|
|
73976
|
+
_this6.styles.width = w + 'px';
|
|
73761
73977
|
}
|
|
73762
73978
|
if (h < ph) {
|
|
73763
|
-
|
|
73979
|
+
_this6.styles.height = h + 'px';
|
|
73764
73980
|
}
|
|
73765
73981
|
});
|
|
73766
73982
|
},
|
|
@@ -73822,7 +74038,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
73822
74038
|
return flag;
|
|
73823
74039
|
},
|
|
73824
74040
|
handleBeforeRemove: function handleBeforeRemove(file, fileList) {
|
|
73825
|
-
var
|
|
74041
|
+
var _this7 = this;
|
|
73826
74042
|
|
|
73827
74043
|
if (file && file.status === 'success') {
|
|
73828
74044
|
return this.$confirm('确定删除文件吗?', '提示', {
|
|
@@ -73830,15 +74046,15 @@ var mainvue_type_script_lang_js_props;
|
|
|
73830
74046
|
cancelButtonText: '取消',
|
|
73831
74047
|
type: 'warning'
|
|
73832
74048
|
}).then(function () {
|
|
73833
|
-
if (
|
|
73834
|
-
return
|
|
74049
|
+
if (_this7.beforeRemove) {
|
|
74050
|
+
return _this7.beforeRemove(file, fileList);
|
|
73835
74051
|
} else if (file.status === 'success') {
|
|
73836
74052
|
var userName = file.userName || file.response && file.response.userName || utils_util["a" /* default */].getStorage('userName');
|
|
73837
74053
|
// eslint-disable-next-line no-undef
|
|
73838
74054
|
return new Promise(function (resolve, reject) {
|
|
73839
|
-
var url = typeof
|
|
74055
|
+
var url = typeof _this7.deleted === 'string' ? _this7.deleted : _this7.remove === 'string' ? _this7.remove : api["g" /* delAdjunct */];
|
|
73840
74056
|
utils_util["a" /* default */].ajax({
|
|
73841
|
-
method:
|
|
74057
|
+
method: _this7.method,
|
|
73842
74058
|
url: url,
|
|
73843
74059
|
data: {
|
|
73844
74060
|
userName: userName,
|
|
@@ -73850,18 +74066,18 @@ var mainvue_type_script_lang_js_props;
|
|
|
73850
74066
|
}
|
|
73851
74067
|
}).then(function (res) {
|
|
73852
74068
|
if (res.rCode === 0) {
|
|
73853
|
-
var se =
|
|
73854
|
-
|
|
73855
|
-
|
|
74069
|
+
var se = _this7.filesTotalSize - Math.round(file.size / 1024 * 10) / 10;
|
|
74070
|
+
_this7.filesTotalSize = se;
|
|
74071
|
+
_this7.$message.success(res.msg);
|
|
73856
74072
|
resolve();
|
|
73857
74073
|
} else {
|
|
73858
74074
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
73859
|
-
|
|
74075
|
+
_this7.$message.error(msg);
|
|
73860
74076
|
reject();
|
|
73861
74077
|
}
|
|
73862
74078
|
}).catch(function (err) {
|
|
73863
74079
|
if (err.message && err.message !== 'canceled') {
|
|
73864
|
-
|
|
74080
|
+
_this7.$message.error(err.message);
|
|
73865
74081
|
}
|
|
73866
74082
|
});
|
|
73867
74083
|
});
|
|
@@ -73899,7 +74115,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
73899
74115
|
a.dispatchEvent(event);
|
|
73900
74116
|
},
|
|
73901
74117
|
handleSort: function handleSort(files) {
|
|
73902
|
-
var
|
|
74118
|
+
var _this8 = this;
|
|
73903
74119
|
|
|
73904
74120
|
if (this.isSort) {
|
|
73905
74121
|
if (this.onSort) {
|
|
@@ -73922,14 +74138,14 @@ var mainvue_type_script_lang_js_props;
|
|
|
73922
74138
|
}
|
|
73923
74139
|
}).then(function (res) {
|
|
73924
74140
|
if (res.rCode === 0) {
|
|
73925
|
-
|
|
74141
|
+
_this8.$message.success(res.msg);
|
|
73926
74142
|
} else {
|
|
73927
74143
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
73928
|
-
|
|
74144
|
+
_this8.$message.error(msg);
|
|
73929
74145
|
}
|
|
73930
74146
|
}).catch(function (err) {
|
|
73931
74147
|
if (err.message && err.message !== 'canceled') {
|
|
73932
|
-
|
|
74148
|
+
_this8.$message.error(err.message);
|
|
73933
74149
|
}
|
|
73934
74150
|
});
|
|
73935
74151
|
}
|
|
@@ -74012,8 +74228,8 @@ var mainvue_type_script_lang_js_props;
|
|
|
74012
74228
|
|
|
74013
74229
|
var upload_src_main_component = normalizeComponent(
|
|
74014
74230
|
packages_upload_src_mainvue_type_script_lang_js_,
|
|
74015
|
-
|
|
74016
|
-
|
|
74231
|
+
mainvue_type_template_id_7440cc04_render,
|
|
74232
|
+
mainvue_type_template_id_7440cc04_staticRenderFns,
|
|
74017
74233
|
false,
|
|
74018
74234
|
null,
|
|
74019
74235
|
null,
|
|
@@ -74490,7 +74706,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
74490
74706
|
}
|
|
74491
74707
|
|
|
74492
74708
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
74493
|
-
version: '0.5.
|
|
74709
|
+
version: '0.5.70',
|
|
74494
74710
|
install: install,
|
|
74495
74711
|
Button: packages_button,
|
|
74496
74712
|
ButtonGroup: button_group,
|