sd-data-grid 1.4.3 → 1.4.4
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/dist/sd-data-grid.js +18 -6
- package/dist/sd-data-grid.js.map +1 -1
- package/package.json +2 -2
package/dist/sd-data-grid.js
CHANGED
|
@@ -29638,7 +29638,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
|
29638
29638
|
"use strict";
|
|
29639
29639
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_data_grid_vxe_vue__ = __webpack_require__(85);
|
|
29640
29640
|
/* unused harmony namespace reexport */
|
|
29641
|
-
/* harmony import */ var
|
|
29641
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_e0a8de96_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_data_grid_vxe_vue__ = __webpack_require__(391);
|
|
29642
29642
|
function injectStyle (ssrContext) {
|
|
29643
29643
|
__webpack_require__(198)
|
|
29644
29644
|
}
|
|
@@ -29653,12 +29653,12 @@ var __vue_template_functional__ = false
|
|
|
29653
29653
|
/* styles */
|
|
29654
29654
|
var __vue_styles__ = injectStyle
|
|
29655
29655
|
/* scopeId */
|
|
29656
|
-
var __vue_scopeId__ = "data-v-
|
|
29656
|
+
var __vue_scopeId__ = "data-v-e0a8de96"
|
|
29657
29657
|
/* moduleIdentifier (server only) */
|
|
29658
29658
|
var __vue_module_identifier__ = null
|
|
29659
29659
|
var Component = normalizeComponent(
|
|
29660
29660
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_data_grid_vxe_vue__["a" /* default */],
|
|
29661
|
-
|
|
29661
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_e0a8de96_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_data_grid_vxe_vue__["a" /* default */],
|
|
29662
29662
|
__vue_template_functional__,
|
|
29663
29663
|
__vue_styles__,
|
|
29664
29664
|
__vue_scopeId__,
|
|
@@ -29679,7 +29679,7 @@ var content = __webpack_require__(199);
|
|
|
29679
29679
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
29680
29680
|
if(content.locals) module.exports = content.locals;
|
|
29681
29681
|
// add the styles to the DOM
|
|
29682
|
-
var update = __webpack_require__(34)("
|
|
29682
|
+
var update = __webpack_require__(34)("043b3084", content, true);
|
|
29683
29683
|
|
|
29684
29684
|
/***/ }),
|
|
29685
29685
|
/* 199 */
|
|
@@ -29690,7 +29690,7 @@ exports = module.exports = __webpack_require__(33)(false);
|
|
|
29690
29690
|
|
|
29691
29691
|
|
|
29692
29692
|
// module
|
|
29693
|
-
exports.push([module.i, ".list[data-v-51533d72]{list-style:none;border-left:1px solid #cee0f0;border-right:1px solid #cee0f0}.ele1[data-v-51533d72],.list .list-item[data-v-51533d72]{text-align:center;width:60px}.ele2[data-v-51533d72],.list .list-item[data-v-51533d72]{text-align:left;flex:1}.ele3[data-v-51533d72],.list .list-item[data-v-51533d72]{text-align:center;width:80px}.list .list-item[data-v-51533d72]{width:100%;display:flex;flex-direction:row;padding:0 8px;cursor:move;height:40px;line-height:40px;border-bottom:1px solid #cee0f0;font-size:16px}.list .list-item[data-v-51533d72]:first-child{border-top:1px solid #cee0f0}.list .list-item[data-v-51533d72]:hover{background:#f0f5ff}[data-v-51533d72].ivu-checkbox-wrapper{font-size:16px}[data-v-51533d72].ivu-checkbox-checked .ivu-checkbox-inner{background-color:#2b5fd9;border-color:#2b5fd9}.list/deep/.ivu-checkbox-disabled .ivu-checkbox-inner[data-v-51533d72]{background-color:#b4bccc;border-color:#b4bccc;color:#fff}[data-v-51533d72].ivu-checkbox-checked:focus{box-shadow:none}[data-v-51533d72].ivu-checkbox-disabled.ivu-checkbox-checked .ivu-checkbox-inner:after{border-color:#fff}.user-selector-modal .flow-modal-title[data-v-51533d72]{height:40px;background:#2b5fda;width:100%;text-indent:1em;color:#fff;line-height:40px}[data-v-51533d72].user-selector-modal .ivu-modal-body::-webkit-scrollbar{width:10px;height:10px}[data-v-51533d72].user-selector-modal .ivu-modal-body::-webkit-scrollbar-thumb{border-radius:10px;background:#d3daeb}[data-v-51533d72].user-selector-modal .ivu-modal-body::-webkit-scrollbar-track{border-radius:10px;background:#ededed}[data-v-51533d72].user-selector-modal .ivu-modal-body::-webkit-scrollbar-thumb:hover{background-color:#b6c0d9;cursor:pointer}[data-v-51533d72].user-selector-modal .ivu-modal-body::-webkit-scrollbar-button{height:2px;width:2px}[data-v-51533d72].user-selector-modal .ivu-modal-body{height:600px;max-height:600px;overflow-y:auto;padding:16px!important}[data-v-51533d72].user-selector-modal .ivu-modal-header{padding:0!important}[data-v-51533d72].user-selector-modal .ivu-modal-footer{height:50px;line-height:50px;background:#f7faff;padding:0 18px}.footer-container[data-v-51533d72]{text-align:center}.cancle-button[data-v-51533d72]{background:#fff;border:1px solid #2b5fda;color:#2b5fda}.set-button[data-v-51533d72]{background:#f06060}.submit-button[data-v-51533d72]{background:#2b5fda}.DataGrid-BOX[data-v-51533d72]{padding:0}.DataGrid-BOX .formbox[data-v-51533d72]{background:#f7f9fc;padding:20px 20px 10px;margin-bottom:10px;border:1px solid #cee0f0}.ivu-btn-primary[data-v-51533d72]{background:#2b5fd9}.ivu-btn-info[data-v-51533d72]{background:#316cf5}.DataGrid-BOX .formbox-simple[data-v-51533d72]{background:#f7f9fc;padding:20px 20px 10px;margin-bottom:10px;overflow:hidden;border:1px solid #cee0f0}.DataGrid-BOX .formbox-simple .searchBox[data-v-51533d72],.DataGrid-BOX .formbox .searchBox[data-v-51533d72]{display:flex;flex-wrap:wrap}.style2>div[data-v-51533d72]{width:50%}.style3>div[data-v-51533d72]{width:33.3%}.style4>div[data-v-51533d72]{width:25%}.style5>div[data-v-51533d72]{width:20%}.DataGrid-BOX/deep/.ivu-form-item[data-v-51533d72]{margin-bottom:10px!important}.DataGrid-BOX/deep/.ivu-form .ivu-form-item-label[data-v-51533d72]{width:60px;font-size:16px;padding:8px 2px 10px 0;color:#1a2133}.DataGrid-BOX/deep/.formbox-simple.ivu-form .ivu-form-item-label[data-v-51533d72]{padding-top:10px}.DataGrid-BOX .titleNav .navleft/deep/.ivu-btn[data-v-51533d72]{margin-right:10px;font-size:15px;line-height:30px}.DataGrid-BOX .button[data-v-51533d72]{margin:10px;border-radius:4px}.DataGrid-BOX .btn[data-v-51533d72]{color:#2b5fd9;border:1px solid #2b5fd9;background:#fff;width:56px;line-height:30px}.DataGrid-BOX .btn1[data-v-51533d72]{background:#2b5fd9;color:#fff;width:56px;line-height:30px}.DataGrid-BOX .btn2[data-v-51533d72]{background:#17b0fc;color:#fff}.DataGrid-BOX .navleft>span[data-v-51533d72]{display:inline-block;padding:0 12px;color:#fff;background:#c0c4cc;height:30px;line-height:30px;margin:10px 10px 10px 0;border-radius:2px;cursor:pointer}.DataGrid-BOX .titleNav[data-v-51533d72]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:-10px;line-height:50px;min-height:2px;justify-content:space-between}.DataGrid-BOX .nohale>div[data-v-51533d72]{width:100%}.DataGrid-BOX .navleft .La[data-v-51533d72]{background:#3179f5}.DataGrid-BOX .navleft .Lv[data-v-51533d72]{background:#11c28a}.DataGrid-BOX .navleft .Hong[data-v-51533d72]{background:#f06060}.DataGrid-BOX .titleNav>div.navright[data-v-51533d72]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.DataGrid-BOX .navright span[data-v-51533d72]{display:inline-block;height:24px;line-height:16px;margin:8px;border-radius:2px;padding:0 3px;cursor:pointer;position:relative}.DataGrid-BOX .navright span[data-v-51533d72]:hover{background:#eff6ff}.DataGrid-BOX .navright .active[data-v-51533d72]{border-bottom:3px solid #3179f5;color:#2372fa}.DataGrid-BOX .navright .active-a[data-v-51533d72]{margin-right:40px;position:relative}.DataGrid-BOX .i-data[data-v-51533d72]{position:absolute;display:inline-block;background:#e5efff;font-style:normal;color:#666;padding:0 10px;height:20px;line-height:20px;top:6px;border-radius:50px;right:-35px}.DataGrid-BOX .common_optation .input[data-v-51533d72],.DataGrid-BOX .common_optation .select[data-v-51533d72]{max-width:300px}.DataGrid-BOX .page-btn[data-v-51533d72],.DataGrid-BOX .page-Data[data-v-51533d72],.DataGrid-BOX .page-set[data-v-51533d72]{display:inline-block;height:24px;line-height:24px;vertical-align:top;margin:10px 0 10px 10px;font-size:15px}.DataGrid-BOX .page-Data i[data-v-51533d72]{font-style:normal;color:#2b5fd9;margin:0 5px;font-weight:700}.DataGrid-BOX .page-btn[data-v-51533d72]{cursor:pointer;position:relative;padding-left:20px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAOtJREFUOE9jZACDBibtuMiHDIwMMhA+keA/w5Ori5bLMzA0/GNkYPjPpB1/6y+RWrEqu7pQjZlRO+7mY5Jdgm7cf4YnjNrxN/9T4hqYXrhBVxaoEWWeTsItrOrgBvFyMTEcn6aC1zDdxFsM/3G4H8Vr6rJsDGubFbAaZp5xh+Hrj384LcIII28LXobODEkUDf7VDxjuPv2F17VYA7syWpQh2lUQrLF0+nOG7Sc/g9nYwhEWZjhjDaYJV+CiO48kg4aJi0DpamePIoNV1l2iEioVswi1Mi1VihFFNWZGSgq2/wwMT68tXC4HKtgAxxpwt8uJc1IAAAAASUVORK5CYII=\") no-repeat 0}.DataGrid-BOX .custom[data-v-51533d72]{cursor:pointer;position:relative;padding-left:20px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAATVJREFUOE9jZACDBibtuMiHDIwMMhA+keA/w5Ori5bLMzA0/GNkYPjPpB1/6y+RWrEqu7pQjZlRO+7mY5Jdgm7cf4YnjNrxN/9js8ZOn5uhMFSEIbDmIVh6foUMw6Kd7xn2n/+K1VVYDTo7S4WBnY0Jq4afv/4xGKfdwZDDatCVBWp4g0wn4RadDCoIFWFI8BBkYGFmBNv46/d/BoeCuwz//zMwHJyozMDGChH/8/c/w4Id7xkmrH4DdxmK19C9hO4FfPKD3CCQhx0MuBmmFEiD/Q4Km9jWR2D24mo5BkZIEDFkT3jKcPACanoa5NEPi0trHS6GmSWQgqB46jMGQV5mhpo4cTA/recJw7Er37AkSCIzLTMTA8PffzgSPCjTUqUYUVSDJmEyC7b/DAxPry1cLgcq2AD6t5K3B+tq3QAAAABJRU5ErkJggg==\") no-repeat 0}.DataGrid-BOX .sx[data-v-51533d72]{font-size:24px;color:blue;position:absolute;margin-top:2px;left:-5px}.DataGrid-BOX .ulnavlist[data-v-51533d72]{list-style:none;border:1px solid #0394f9;position:absolute;left:-78px;width:150px;bottom:100%;background:#fff;z-index:1000;height:310px;overflow-y:hidden;-webkit-box-shadow:0 0 5px 0 #bebef3;box-shadow:0 0 5px 0 #bebef3}.DataGrid-BOX .ulnavlist li[data-v-51533d72]{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.DataGrid-BOX .navlist[data-v-51533d72]{position:relative;padding:0 10px;font-size:15px}.DataGrid-BOX .After[data-v-51533d72]:after{content:\"\";width:2px;height:24px;background:#d5d5d6;position:absolute;top:16px;left:0}.DataGrid-BOX .iconlist[data-v-51533d72]{font-style:normal;display:inline-block;width:18px;height:18px;border:1px solid #2b5fd9;border-radius:4px;margin:8px;vertical-align:middle}.DataGrid-BOX li.active .iconlist[data-v-51533d72]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABeklEQVQ4ja3U3ytDcRjH8fc5+RXapoxFSrKIe60lSpILUpPQLswF90palJEa7l240FZSygUlN0YUpUm51OQfIIn9yOWmZ2abOrNs53P5/Z7n1fN8zzlfpXPqEcAKbAD9gIH/JQKcA27gqQRoA4KA6Z/QT6QBB9AH2FTAWwSWHTG8ampMvTKgFnBmf6Va1RFLpiDQNVjD7XYrC5Pm4sGpwRrmJ8xUVag4eoz5wfJShZaGMk3M2W9ifjzT1d7Ze37Q527i2NvM+qwFNWt3tNeI21mHoqSwwDtbh29/g/KwtfG7u2G7gdVpS3JtpNuAx1Wfxg4uw2zuv2pOIb9eInthyG7AO2NBTRUHHz7paq9Md3t0HWbZ90IiocVpjHxyE2HFnymwdWQw2fP4c2OaoOTwKsza7u/C07soizvPxOO5MUlJrg05J0VRmBur5eI+luwsH4bWGRYbNXWf6ZWYgHI56pWAgEvAhw6iGEsChuTrkJcLRAuApEZqbUDoC8xYY482/HjCAAAAAElFTkSuQmCC) no-repeat;background-size:100% 100%}.DataGrid-BOX .Total[data-v-51533d72]{display:inline-block;height:24px;line-height:24px;vertical-align:top;margin:10px 0;padding:0 15px;border-radius:2px;cursor:pointer;font-size:15px}[data-v-51533d72].ivu-table-row-highlight td,[data-v-51533d72].ivu-table-row-hover td,[data-v-51533d72].ivu-table-row:hover td{background-color:#dae5ff!important}.ivu-table-stripe .ivu-table-body tr:nth-child(2n) td[data-v-51533d72],.ivu-table-stripe .ivu-table-fixed-body tr:nth-child(2n) td[data-v-51533d72]{background:#f7f9fc!important}.DataGrid-BOX/deep/.ivu-table-border tr td[data-v-51533d72]{font-family:Microsoft YaHei;font-weight:400;font-size:16px;color:#475066}.DataGrid-BOX/deep/.ivu-table-wrapper[data-v-51533d72]{overflow:initial}.DataGrid-BOX/deep/.ivu-table-filter i[data-v-51533d72]:hover,[data-v-51533d72].ivu-table-sort i.on{color:#2b5fd9}.DataGrid-BOX .page_box[data-v-51533d72]{border:1px solid #ddd;border-top:none;padding:0 20px;height:42px}.DataGrid-BOX/deep/.ivu-table th[data-v-51533d72]{background:#dee9fc;font-family:Microsoft YaHei;font-weight:700;font-size:16px;color:#1f2533}.DataGrid-BOX/deep/.ivu-table[data-v-51533d72]{font-size:16px;color:#2b3646}.DataGrid-BOX/deep/.ivu-table-border td[data-v-51533d72],.DataGrid-BOX/deep/.ivu-table-border th[data-v-51533d72]{border-right:1px solid #f5f7fa}.DataGrid-BOX/deep/.ivu-table td[data-v-51533d72],.DataGrid-BOX/deep/.ivu-table th[data-v-51533d72]{height:40px}.DataGrid-BOX .steylehang .btnBox .button[data-v-51533d72]{margin:1px 0 0 20px;font-size:16px;padding:0 12px}.DataGrid-BOX .head-btn[data-v-51533d72]{font-size:15px}.DataGrid-BOX/deep/.ivu-table td a[data-v-51533d72]{color:#2c2cf9;text-decoration:none;border-bottom:1px solid;cursor:pointer}.DataGrid-BOX/deep/.ivu-page-item[data-v-51533d72]{font-size:15px}.DataGrid-BOX/deep/.ivu-page-item-active[data-v-51533d72]{background-color:#2b5fd9!important}.DataGrid-BOX/deep/.ivu-page-options-elevator input[data-v-51533d72]{font-size:15px}.DataGrid-BOX/deep/.ivu-page-item-active:hover>a[data-v-51533d72],.DataGrid-BOX/deep/.ivu-page-item-active>a[data-v-51533d72]{color:#fff!important}.DataGrid-BOX/deep/.ivu-input[data-v-51533d72]{font-size:15px;border-color:#cee0f0}.DataGrid-BOX/deep/.el-input--small .el-input__inner[data-v-51533d72]:focus,.DataGrid-BOX/deep/.ivu-input[data-v-51533d72]:focus{border-color:#2b5fd9;box-shadow:inset 0 0 0 1000px #fff!important}.DataGrid-BOX/deep/.el-input__inner[data-v-51533d72]{border-color:#cee0f0}.DataGrid-BOX/deep/.ivu-select-item[data-v-51533d72],.DataGrid-BOX/deep/.ivu-select-placeholder[data-v-51533d72],.DataGrid-BOX/deep/.ivu-select-selected-value[data-v-51533d72]{font-size:15px!important}.DataGrid-BOX/deep/.ivu-page-options-elevator[data-v-51533d72]{font-size:15px}.DataGrid-BOX/deep/.el-date-table[data-v-51533d72],.DataGrid-BOX/deep/.el-input[data-v-51533d72]{font-size:15px!important}.DataGrid-BOX/deep/.ivu-table-overflowX[data-v-51533d72]::-webkit-scrollbar,.DataGrid-BOX/deep/.ivu-table-overflowY[data-v-51533d72]::-webkit-scrollbar{width:10px;height:10px}.DataGrid-BOX/deep/.ivu-table-overflowX[data-v-51533d72]::-webkit-scrollbar-thumb,.DataGrid-BOX/deep/.ivu-table-overflowY[data-v-51533d72]::-webkit-scrollbar-thumb{border-radius:10px;background:#d3daeb}.DataGrid-BOX/deep/.ivu-table-overflowX[data-v-51533d72]::-webkit-scrollbar-track,.DataGrid-BOX/deep/.ivu-table-overflowY[data-v-51533d72]::-webkit-scrollbar-track{border-radius:10px;background:#ededed}.DataGrid-BOX/deep/.ivu-table-overflowY::-webkit-scrollbar-thumb:hover .DataGrid-BOX/deep/.ivu-table-overflowX[data-v-51533d72]::-webkit-scrollbar-thumb:hover{background-color:#b6c0d9;cursor:pointer}.DataGrid-BOX/deep/.ivu-table-overflowY::-webkit-scrollbar-button .DataGrid-BOX/deep/.ivu-table-overflowX[data-v-51533d72]::-webkit-scrollbar-button{height:2px;width:2px}.DataGrid-BOX/deep/.ivu-table-cell[data-v-51533d72]{padding-left:8px;padding-right:8px}.ivu-btn-info.disabled[data-v-51533d72],.ivu-btn-info[disabled][data-v-51533d72],.ivu-btn-primary.disabled[data-v-51533d72],.ivu-btn-primary[disabled][data-v-51533d72]{color:#c5c8ce;background-color:#f7f7f7!important;border-color:#dcdee2}.DataGrid-BOX .btnBox[data-v-51533d72],.timeTextzhi[data-v-51533d72]{display:flex;justify-content:center}.timeTextzhi[data-v-51533d72]{align-items:center}.data-grid-bsp[data-v-51533d72]{display:flex;justify-content:space-between;flex-wrap:wrap;padding:0 10%;width:120px}.data-grid-bsp/deep/.ivu-btn[data-v-51533d72],.data-grid-bsp/deep/div[data-v-51533d72]{width:100%!important;margin-bottom:5px}.saveBtn-dlsx[data-v-51533d72]{width:55px;font-size:14px;line-height:33px;margin-bottom:5px}.saveBtn-dlsx/deep/span[data-v-51533d72]{margin-left:-4px!important}.search-content-select[data-v-51533d72]{display:flex;align-items:center;justify-content:space-between}.search-content-select-main[data-v-51533d72]{display:flex;align-items:center;flex-wrap:wrap}.searchBox.style4[data-v-51533d72]{display:flex;flex-wrap:wrap}.select-content[data-v-51533d72]{background:linear-gradient(90deg,#115fc6,#56bbff);color:#fff;padding:6px 10px;margin-right:10px;margin-bottom:10px;border-radius:6px;cursor:pointer;height:42px}.select-content i[data-v-51533d72]{font-style:normal}.select-content/deep/.sp-base[data-v-51533d72],.select-content/deep/.sp-selected-tag[data-v-51533d72]{background:transparent!important;border:none!important;color:#fff!important}.select-content/deep/.sp-button[data-v-51533d72]{display:none!important}.textOverflowBsp[data-v-51533d72]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oper-container[data-v-51533d72]{gap:4px}.oper-container[data-v-51533d72],[data-v-51533d72].vxe-table .col--last/deep/.vxe-cell--wrapper{display:flex;justify-content:center;align-items:center}[data-v-51533d72].vxe-cell{height:auto!important;padding:0!important;min-height:40px}[data-v-51533d72].vxe-table{font-size:14px}[data-v-51533d72].vxe-table .vxe-header--column{background:#dee9fc}[data-v-51533d72].vxe-table .vxe-header--column .vxe-cell--title{font-family:Microsoft YaHei;font-weight:700!important;font-size:14px;color:#2b3346;text-align:center}[data-v-51533d72].vxe-table .vxe-body--row:hover{background-color:#dae5ff!important}[data-v-51533d72].vxe-table .vxe-body--column{min-height:40px;padding:0 8px;font-family:Microsoft YaHei;font-weight:400;font-size:14px;color:#2b3346}[data-v-51533d72].vxe-table .vxe-loading{background-color:rgba(0,0,0,.5);z-index:999}[data-v-51533d72].vxe-table .vxe-loading .vxe-loading--spinner{border-width:4px;border-color:#2b5fd9 #2b5fd9 #2b5fd9 transparent;width:50px;height:50px;animation:vxe-loading--spin 1s linear infinite}[data-v-51533d72].vxe-table .vxe-loading .vxe-loading--text{color:#2b5fd9;font-size:16px;font-weight:700;margin-top:15px;text-shadow:0 0 5px #fff}[data-v-51533d72].vxe-table .vxe-loading .vxe-loading--text:after{content:\"\\52A0\\8F7D\\4E2D\\FF0C\\8BF7\\7A0D\\5019...\"}.vxe-table/deep/.vxe-cell--wrapper[data-v-51533d72]{font-family:Microsoft YaHei;font-weight:400;font-size:14px;color:#2b3346}", ""]);
|
|
29693
|
+
exports.push([module.i, ".list[data-v-e0a8de96]{list-style:none;border-left:1px solid #cee0f0;border-right:1px solid #cee0f0}.ele1[data-v-e0a8de96],.list .list-item[data-v-e0a8de96]{text-align:center;width:60px}.ele2[data-v-e0a8de96],.list .list-item[data-v-e0a8de96]{text-align:left;flex:1}.ele3[data-v-e0a8de96],.list .list-item[data-v-e0a8de96]{text-align:center;width:80px}.list .list-item[data-v-e0a8de96]{width:100%;display:flex;flex-direction:row;padding:0 8px;cursor:move;height:40px;line-height:40px;border-bottom:1px solid #cee0f0;font-size:16px}.list .list-item[data-v-e0a8de96]:first-child{border-top:1px solid #cee0f0}.list .list-item[data-v-e0a8de96]:hover{background:#f0f5ff}[data-v-e0a8de96].ivu-checkbox-wrapper{font-size:16px}[data-v-e0a8de96].ivu-checkbox-checked .ivu-checkbox-inner{background-color:#2b5fd9;border-color:#2b5fd9}.list/deep/.ivu-checkbox-disabled .ivu-checkbox-inner[data-v-e0a8de96]{background-color:#b4bccc;border-color:#b4bccc;color:#fff}[data-v-e0a8de96].ivu-checkbox-checked:focus{box-shadow:none}[data-v-e0a8de96].ivu-checkbox-disabled.ivu-checkbox-checked .ivu-checkbox-inner:after{border-color:#fff}.user-selector-modal .flow-modal-title[data-v-e0a8de96]{height:40px;background:#2b5fda;width:100%;text-indent:1em;color:#fff;line-height:40px}[data-v-e0a8de96].user-selector-modal .ivu-modal-body::-webkit-scrollbar{width:10px;height:10px}[data-v-e0a8de96].user-selector-modal .ivu-modal-body::-webkit-scrollbar-thumb{border-radius:10px;background:#d3daeb}[data-v-e0a8de96].user-selector-modal .ivu-modal-body::-webkit-scrollbar-track{border-radius:10px;background:#ededed}[data-v-e0a8de96].user-selector-modal .ivu-modal-body::-webkit-scrollbar-thumb:hover{background-color:#b6c0d9;cursor:pointer}[data-v-e0a8de96].user-selector-modal .ivu-modal-body::-webkit-scrollbar-button{height:2px;width:2px}[data-v-e0a8de96].user-selector-modal .ivu-modal-body{height:600px;max-height:600px;overflow-y:auto;padding:16px!important}[data-v-e0a8de96].user-selector-modal .ivu-modal-header{padding:0!important}[data-v-e0a8de96].user-selector-modal .ivu-modal-footer{height:50px;line-height:50px;background:#f7faff;padding:0 18px}.footer-container[data-v-e0a8de96]{text-align:center}.cancle-button[data-v-e0a8de96]{background:#fff;border:1px solid #2b5fda;color:#2b5fda}.set-button[data-v-e0a8de96]{background:#f06060}.submit-button[data-v-e0a8de96]{background:#2b5fda}.DataGrid-BOX[data-v-e0a8de96]{padding:0}.DataGrid-BOX .formbox[data-v-e0a8de96]{background:#f7f9fc;padding:20px 20px 10px;margin-bottom:10px;border:1px solid #cee0f0}.ivu-btn-primary[data-v-e0a8de96]{background:#2b5fd9}.ivu-btn-info[data-v-e0a8de96]{background:#316cf5}.DataGrid-BOX .formbox-simple[data-v-e0a8de96]{background:#f7f9fc;padding:20px 20px 10px;margin-bottom:10px;overflow:hidden;border:1px solid #cee0f0}.DataGrid-BOX .formbox-simple .searchBox[data-v-e0a8de96],.DataGrid-BOX .formbox .searchBox[data-v-e0a8de96]{display:flex;flex-wrap:wrap}.style2>div[data-v-e0a8de96]{width:50%}.style3>div[data-v-e0a8de96]{width:33.3%}.style4>div[data-v-e0a8de96]{width:25%}.style5>div[data-v-e0a8de96]{width:20%}.DataGrid-BOX/deep/.ivu-form-item[data-v-e0a8de96]{margin-bottom:10px!important}.DataGrid-BOX/deep/.ivu-form .ivu-form-item-label[data-v-e0a8de96]{width:60px;font-size:16px;padding:8px 2px 10px 0;color:#1a2133}.DataGrid-BOX/deep/.formbox-simple.ivu-form .ivu-form-item-label[data-v-e0a8de96]{padding-top:10px}.DataGrid-BOX .titleNav .navleft/deep/.ivu-btn[data-v-e0a8de96]{margin-right:10px;font-size:15px;line-height:30px}.DataGrid-BOX .button[data-v-e0a8de96]{margin:10px;border-radius:4px}.DataGrid-BOX .btn[data-v-e0a8de96]{color:#2b5fd9;border:1px solid #2b5fd9;background:#fff;width:56px;line-height:30px}.DataGrid-BOX .btn1[data-v-e0a8de96]{background:#2b5fd9;color:#fff;width:56px;line-height:30px}.DataGrid-BOX .btn2[data-v-e0a8de96]{background:#17b0fc;color:#fff}.DataGrid-BOX .navleft>span[data-v-e0a8de96]{display:inline-block;padding:0 12px;color:#fff;background:#c0c4cc;height:30px;line-height:30px;margin:10px 10px 10px 0;border-radius:2px;cursor:pointer}.DataGrid-BOX .titleNav[data-v-e0a8de96]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:-10px;line-height:50px;min-height:2px;justify-content:space-between}.DataGrid-BOX .nohale>div[data-v-e0a8de96]{width:100%}.DataGrid-BOX .navleft .La[data-v-e0a8de96]{background:#3179f5}.DataGrid-BOX .navleft .Lv[data-v-e0a8de96]{background:#11c28a}.DataGrid-BOX .navleft .Hong[data-v-e0a8de96]{background:#f06060}.DataGrid-BOX .titleNav>div.navright[data-v-e0a8de96]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.DataGrid-BOX .navright span[data-v-e0a8de96]{display:inline-block;height:24px;line-height:16px;margin:8px;border-radius:2px;padding:0 3px;cursor:pointer;position:relative}.DataGrid-BOX .navright span[data-v-e0a8de96]:hover{background:#eff6ff}.DataGrid-BOX .navright .active[data-v-e0a8de96]{border-bottom:3px solid #3179f5;color:#2372fa}.DataGrid-BOX .navright .active-a[data-v-e0a8de96]{margin-right:40px;position:relative}.DataGrid-BOX .i-data[data-v-e0a8de96]{position:absolute;display:inline-block;background:#e5efff;font-style:normal;color:#666;padding:0 10px;height:20px;line-height:20px;top:6px;border-radius:50px;right:-35px}.DataGrid-BOX .common_optation .input[data-v-e0a8de96],.DataGrid-BOX .common_optation .select[data-v-e0a8de96]{max-width:300px}.DataGrid-BOX .page-btn[data-v-e0a8de96],.DataGrid-BOX .page-Data[data-v-e0a8de96],.DataGrid-BOX .page-set[data-v-e0a8de96]{display:inline-block;height:24px;line-height:24px;vertical-align:top;margin:10px 0 10px 10px;font-size:15px}.DataGrid-BOX .page-Data i[data-v-e0a8de96]{font-style:normal;color:#2b5fd9;margin:0 5px;font-weight:700}.DataGrid-BOX .page-btn[data-v-e0a8de96]{cursor:pointer;position:relative;padding-left:20px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAOtJREFUOE9jZACDBibtuMiHDIwMMhA+keA/w5Ori5bLMzA0/GNkYPjPpB1/6y+RWrEqu7pQjZlRO+7mY5Jdgm7cf4YnjNrxN/9T4hqYXrhBVxaoEWWeTsItrOrgBvFyMTEcn6aC1zDdxFsM/3G4H8Vr6rJsDGubFbAaZp5xh+Hrj384LcIII28LXobODEkUDf7VDxjuPv2F17VYA7syWpQh2lUQrLF0+nOG7Sc/g9nYwhEWZjhjDaYJV+CiO48kg4aJi0DpamePIoNV1l2iEioVswi1Mi1VihFFNWZGSgq2/wwMT68tXC4HKtgAxxpwt8uJc1IAAAAASUVORK5CYII=\") no-repeat 0}.DataGrid-BOX .custom[data-v-e0a8de96]{cursor:pointer;position:relative;padding-left:20px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAATVJREFUOE9jZACDBibtuMiHDIwMMhA+keA/w5Ori5bLMzA0/GNkYPjPpB1/6y+RWrEqu7pQjZlRO+7mY5Jdgm7cf4YnjNrxN/9js8ZOn5uhMFSEIbDmIVh6foUMw6Kd7xn2n/+K1VVYDTo7S4WBnY0Jq4afv/4xGKfdwZDDatCVBWp4g0wn4RadDCoIFWFI8BBkYGFmBNv46/d/BoeCuwz//zMwHJyozMDGChH/8/c/w4Id7xkmrH4DdxmK19C9hO4FfPKD3CCQhx0MuBmmFEiD/Q4Km9jWR2D24mo5BkZIEDFkT3jKcPACanoa5NEPi0trHS6GmSWQgqB46jMGQV5mhpo4cTA/recJw7Er37AkSCIzLTMTA8PffzgSPCjTUqUYUVSDJmEyC7b/DAxPry1cLgcq2AD6t5K3B+tq3QAAAABJRU5ErkJggg==\") no-repeat 0}.DataGrid-BOX .sx[data-v-e0a8de96]{font-size:24px;color:blue;position:absolute;margin-top:2px;left:-5px}.DataGrid-BOX .ulnavlist[data-v-e0a8de96]{list-style:none;border:1px solid #0394f9;position:absolute;left:-78px;width:150px;bottom:100%;background:#fff;z-index:1000;height:310px;overflow-y:hidden;-webkit-box-shadow:0 0 5px 0 #bebef3;box-shadow:0 0 5px 0 #bebef3}.DataGrid-BOX .ulnavlist li[data-v-e0a8de96]{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.DataGrid-BOX .navlist[data-v-e0a8de96]{position:relative;padding:0 10px;font-size:15px}.DataGrid-BOX .After[data-v-e0a8de96]:after{content:\"\";width:2px;height:24px;background:#d5d5d6;position:absolute;top:16px;left:0}.DataGrid-BOX .iconlist[data-v-e0a8de96]{font-style:normal;display:inline-block;width:18px;height:18px;border:1px solid #2b5fd9;border-radius:4px;margin:8px;vertical-align:middle}.DataGrid-BOX li.active .iconlist[data-v-e0a8de96]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABeklEQVQ4ja3U3ytDcRjH8fc5+RXapoxFSrKIe60lSpILUpPQLswF90palJEa7l240FZSygUlN0YUpUm51OQfIIn9yOWmZ2abOrNs53P5/Z7n1fN8zzlfpXPqEcAKbAD9gIH/JQKcA27gqQRoA4KA6Z/QT6QBB9AH2FTAWwSWHTG8ampMvTKgFnBmf6Va1RFLpiDQNVjD7XYrC5Pm4sGpwRrmJ8xUVag4eoz5wfJShZaGMk3M2W9ifjzT1d7Ze37Q527i2NvM+qwFNWt3tNeI21mHoqSwwDtbh29/g/KwtfG7u2G7gdVpS3JtpNuAx1Wfxg4uw2zuv2pOIb9eInthyG7AO2NBTRUHHz7paq9Md3t0HWbZ90IiocVpjHxyE2HFnymwdWQw2fP4c2OaoOTwKsza7u/C07soizvPxOO5MUlJrg05J0VRmBur5eI+luwsH4bWGRYbNXWf6ZWYgHI56pWAgEvAhw6iGEsChuTrkJcLRAuApEZqbUDoC8xYY482/HjCAAAAAElFTkSuQmCC) no-repeat;background-size:100% 100%}.DataGrid-BOX .Total[data-v-e0a8de96]{display:inline-block;height:24px;line-height:24px;vertical-align:top;margin:10px 0;padding:0 15px;border-radius:2px;cursor:pointer;font-size:15px}[data-v-e0a8de96].ivu-table-row-highlight td,[data-v-e0a8de96].ivu-table-row-hover td,[data-v-e0a8de96].ivu-table-row:hover td{background-color:#dae5ff!important}.ivu-table-stripe .ivu-table-body tr:nth-child(2n) td[data-v-e0a8de96],.ivu-table-stripe .ivu-table-fixed-body tr:nth-child(2n) td[data-v-e0a8de96]{background:#f7f9fc!important}.DataGrid-BOX/deep/.ivu-table-border tr td[data-v-e0a8de96]{font-family:Microsoft YaHei;font-weight:400;font-size:16px;color:#475066}.DataGrid-BOX/deep/.ivu-table-wrapper[data-v-e0a8de96]{overflow:initial}.DataGrid-BOX/deep/.ivu-table-filter i[data-v-e0a8de96]:hover,[data-v-e0a8de96].ivu-table-sort i.on{color:#2b5fd9}.DataGrid-BOX .page_box[data-v-e0a8de96]{border:1px solid #ddd;border-top:none;padding:0 20px;height:42px}.DataGrid-BOX/deep/.ivu-table th[data-v-e0a8de96]{background:#dee9fc;font-family:Microsoft YaHei;font-weight:700;font-size:16px;color:#1f2533}.DataGrid-BOX/deep/.ivu-table[data-v-e0a8de96]{font-size:16px;color:#2b3646}.DataGrid-BOX/deep/.ivu-table-border td[data-v-e0a8de96],.DataGrid-BOX/deep/.ivu-table-border th[data-v-e0a8de96]{border-right:1px solid #f5f7fa}.DataGrid-BOX/deep/.ivu-table td[data-v-e0a8de96],.DataGrid-BOX/deep/.ivu-table th[data-v-e0a8de96]{height:40px}.DataGrid-BOX .steylehang .btnBox .button[data-v-e0a8de96]{margin:1px 0 0 20px;font-size:16px;padding:0 12px}.DataGrid-BOX .head-btn[data-v-e0a8de96]{font-size:15px}.DataGrid-BOX/deep/.ivu-table td a[data-v-e0a8de96]{color:#2c2cf9;text-decoration:none;border-bottom:1px solid;cursor:pointer}.DataGrid-BOX/deep/.ivu-page-item[data-v-e0a8de96]{font-size:15px}.DataGrid-BOX/deep/.ivu-page-item-active[data-v-e0a8de96]{background-color:#2b5fd9!important}.DataGrid-BOX/deep/.ivu-page-options-elevator input[data-v-e0a8de96]{font-size:15px}.DataGrid-BOX/deep/.ivu-page-item-active:hover>a[data-v-e0a8de96],.DataGrid-BOX/deep/.ivu-page-item-active>a[data-v-e0a8de96]{color:#fff!important}.DataGrid-BOX/deep/.ivu-input[data-v-e0a8de96]{font-size:15px;border-color:#cee0f0}.DataGrid-BOX/deep/.el-input--small .el-input__inner[data-v-e0a8de96]:focus,.DataGrid-BOX/deep/.ivu-input[data-v-e0a8de96]:focus{border-color:#2b5fd9;box-shadow:inset 0 0 0 1000px #fff!important}.DataGrid-BOX/deep/.el-input__inner[data-v-e0a8de96]{border-color:#cee0f0}.DataGrid-BOX/deep/.ivu-select-item[data-v-e0a8de96],.DataGrid-BOX/deep/.ivu-select-placeholder[data-v-e0a8de96],.DataGrid-BOX/deep/.ivu-select-selected-value[data-v-e0a8de96]{font-size:15px!important}.DataGrid-BOX/deep/.ivu-page-options-elevator[data-v-e0a8de96]{font-size:15px}.DataGrid-BOX/deep/.el-date-table[data-v-e0a8de96],.DataGrid-BOX/deep/.el-input[data-v-e0a8de96]{font-size:15px!important}.DataGrid-BOX/deep/.ivu-table-overflowX[data-v-e0a8de96]::-webkit-scrollbar,.DataGrid-BOX/deep/.ivu-table-overflowY[data-v-e0a8de96]::-webkit-scrollbar{width:10px;height:10px}.DataGrid-BOX/deep/.ivu-table-overflowX[data-v-e0a8de96]::-webkit-scrollbar-thumb,.DataGrid-BOX/deep/.ivu-table-overflowY[data-v-e0a8de96]::-webkit-scrollbar-thumb{border-radius:10px;background:#d3daeb}.DataGrid-BOX/deep/.ivu-table-overflowX[data-v-e0a8de96]::-webkit-scrollbar-track,.DataGrid-BOX/deep/.ivu-table-overflowY[data-v-e0a8de96]::-webkit-scrollbar-track{border-radius:10px;background:#ededed}.DataGrid-BOX/deep/.ivu-table-overflowY::-webkit-scrollbar-thumb:hover .DataGrid-BOX/deep/.ivu-table-overflowX[data-v-e0a8de96]::-webkit-scrollbar-thumb:hover{background-color:#b6c0d9;cursor:pointer}.DataGrid-BOX/deep/.ivu-table-overflowY::-webkit-scrollbar-button .DataGrid-BOX/deep/.ivu-table-overflowX[data-v-e0a8de96]::-webkit-scrollbar-button{height:2px;width:2px}.DataGrid-BOX/deep/.ivu-table-cell[data-v-e0a8de96]{padding-left:8px;padding-right:8px}.ivu-btn-info.disabled[data-v-e0a8de96],.ivu-btn-info[disabled][data-v-e0a8de96],.ivu-btn-primary.disabled[data-v-e0a8de96],.ivu-btn-primary[disabled][data-v-e0a8de96]{color:#c5c8ce;background-color:#f7f7f7!important;border-color:#dcdee2}.DataGrid-BOX .btnBox[data-v-e0a8de96],.timeTextzhi[data-v-e0a8de96]{display:flex;justify-content:center}.timeTextzhi[data-v-e0a8de96]{align-items:center}.data-grid-bsp[data-v-e0a8de96]{display:flex;justify-content:space-between;flex-wrap:wrap;padding:0 10%;width:120px}.data-grid-bsp/deep/.ivu-btn[data-v-e0a8de96],.data-grid-bsp/deep/div[data-v-e0a8de96]{width:100%!important;margin-bottom:5px}.saveBtn-dlsx[data-v-e0a8de96]{width:55px;font-size:14px;line-height:33px;margin-bottom:5px}.saveBtn-dlsx/deep/span[data-v-e0a8de96]{margin-left:-4px!important}.search-content-select[data-v-e0a8de96]{display:flex;align-items:center;justify-content:space-between}.search-content-select-main[data-v-e0a8de96]{display:flex;align-items:center;flex-wrap:wrap}.searchBox.style4[data-v-e0a8de96]{display:flex;flex-wrap:wrap}.select-content[data-v-e0a8de96]{background:linear-gradient(90deg,#115fc6,#56bbff);color:#fff;padding:6px 10px;margin-right:10px;margin-bottom:10px;border-radius:6px;cursor:pointer;height:42px}.select-content i[data-v-e0a8de96]{font-style:normal}.select-content/deep/.sp-base[data-v-e0a8de96],.select-content/deep/.sp-selected-tag[data-v-e0a8de96]{background:transparent!important;border:none!important;color:#fff!important}.select-content/deep/.sp-button[data-v-e0a8de96]{display:none!important}.textOverflowBsp[data-v-e0a8de96]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oper-container[data-v-e0a8de96]{gap:4px}.oper-container[data-v-e0a8de96],[data-v-e0a8de96].vxe-table .col--last/deep/.vxe-cell--wrapper{display:flex;justify-content:center;align-items:center}[data-v-e0a8de96].vxe-cell{height:auto!important;padding:0!important;min-height:40px}[data-v-e0a8de96].vxe-table{font-size:14px}[data-v-e0a8de96].vxe-table .vxe-header--column{background:#dee8ff}[data-v-e0a8de96].vxe-table .vxe-header--column .vxe-cell--title{font-family:Microsoft YaHei;font-weight:700;font-size:14px;color:#2b3346;text-align:center}[data-v-e0a8de96].vxe-table .vxe-body--row:hover{background-color:#f3f6fd!important}[data-v-e0a8de96].vxe-table .vxe-body--column{min-height:40px;padding:0 8px}[data-v-e0a8de96].vxe-table .vxe-loading{background-color:rgba(0,0,0,.5);z-index:999}[data-v-e0a8de96].vxe-table .vxe-loading .vxe-loading--spinner{border-width:4px;border-color:#2b5fd9 #2b5fd9 #2b5fd9 transparent;width:50px;height:50px;animation:vxe-loading--spin 1s linear infinite}[data-v-e0a8de96].vxe-table .vxe-loading .vxe-loading--text{color:#2b5fd9;font-size:16px;font-weight:700;margin-top:15px;text-shadow:0 0 5px #fff}[data-v-e0a8de96].vxe-table .vxe-loading .vxe-loading--text:after{content:\"\\52A0\\8F7D\\4E2D\\FF0C\\8BF7\\7A0D\\5019...\"}.vxe-table/deep/.vxe-cell--wrapper[data-v-e0a8de96]{font-family:Microsoft YaHei;font-weight:400;font-size:14px;color:#2b3346}", ""]);
|
|
29694
29694
|
|
|
29695
29695
|
// exports
|
|
29696
29696
|
|
|
@@ -77880,7 +77880,19 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
|
77880
77880
|
/* 390 */
|
|
77881
77881
|
/***/ (function(module, exports, __webpack_require__) {
|
|
77882
77882
|
|
|
77883
|
-
!function(e,t){ true?module.exports=t():"function"==typeof define&&define.amd?define("sd-custom-dialog",[],t):"object"==typeof exports?exports["sd-custom-dialog"]=t():e["sd-custom-dialog"]=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(a){if(o[a])return o[a].exports;var i=o[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var o={};return t.m=e,t.c=o,t.d=function(e,o,a){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=2)}([function(e,t,o){"use strict";t.a={props:{dialogMark:String,params:{type:Object,default:function(){return{}}}},data:function(){return{modal:!1,component:null,mark:this.dialogMark,style:"",conditionField:[],fixedQueryFields:[],displayField:[],sortField:[],returnField:[],pageSearch:!0,searchShow:!1,tableData:[],tableColumns:[],batch_select:[],pageNo:1,pageSize:10,pageSizeOpts:[10,20,50,100],totalNum:0,orderKey:[],orderType:[],loading:!1,showCheckbox:!1,dialogTitle:"",isSingle:"1",curIdx:"",modalWidth:520,modalHeight:400}},methods:{query_data:function(e){var t=this;this.loading=!0,e&&(this.pageNo=e),this.batch_select=[],this.curIdx=-1;var o={mark:this.mark,pageNo:this.pageNo,pageSize:this.pageSize},a=this.build_query_condis();a.length>0&&(o.condis=JSON.stringify(a)),o.sortName=this.orderKey.join(","),o.sortType=this.orderType.join(","),this.$store.dispatch("postRequest",{url:this.$path.com_fm_dialog_query_url,params:o}).then(function(e){e.success&&(t.tableData=e.rows,t.totalNum=e.total),t.loading=!1})},build_query_condis:function(){var e=[],t=this.conditionField.concat();return this.fixedQueryFields.length>0&&(t=t.concat(this.fixedQueryFields)),t.forEach(function(t){if("between"===t.condition){if(t.start){var o={name:t.field,op:">=",value:t.start,controlType:t.controlType};e.push(o)}if(t.end){var a=t.end;16===a.length&&"04"===t.controlType?a+=":59":14===a.length&&"04"===t.controlType&&(a+=":59:59");var i={name:t.field,op:"<=",value:a,controlType:t.controlType};e.push(i)}}else if(t.searchValue){var n={name:t.field,op:t.condition,value:t.searchValue,controlType:t.controlType};e.push(n)}}),e},errorMsg:function(e){this.$Modal.error({title:"温馨提示",content:e})},on_batch_select:function(e){this.batch_select=e},array_index:function(e,t){for(var o=0,a=e.length;o<a;o++)if(e[o]===t)return o;return-1}}}},function(e,t,o){"use strict";var a=o(5),i=(o.n(a),o(12));t.a={mixins:[i.a],data:function(){return{sty:"width:300px",wid:0}},methods:{confirm:function(){var e=this;if(0==this.batch_select.length)return this.$Notice.warning({title:"温馨提示",desc:"请选择数据"}),!1;var t=[];this.batch_select.forEach(function(o,a){var i={};e.returnField.forEach(function(e){i[e.field.toLowerCase()]=o[e.field.toLowerCase()]}),t.push(i)}),this.$emit("on_select",t)},cancel:function(){this.modal=!1,this.$emit("on_cancel")}}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o(3);o.d(t,"sDialog",function(){return a.a});var i={install:function(e){e.component("s-dialog",a.a)}};t.default=i},function(e,t,o){"use strict";var a=o(1),i=o(16),n=o(4),r=n(a.a,i.a,!1,null,null,null);t.a=r.exports},function(e,t){e.exports=function(e,t,o,a,i,n){var r,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(r=e,s=e.default);var c="function"==typeof s?s.options:s;t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),o&&(c.functional=!0),i&&(c._scopeId=i);var d;if(n?(d=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(n)},c._ssrRegister=d):a&&(d=a),d){var u=c.functional,p=u?c.render:c.beforeCreate;u?(c._injectStyles=d,c.render=function(e,t){return d.call(t),p(e,t)}):c.beforeCreate=p?[].concat(p,d):[d]}return{esModule:r,exports:s,options:c}}},function(e,t,o){var a=o(6);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);o(10)("175aebfb",a,!0,{})},function(e,t,o){var a=o(7);t=e.exports=o(8)(!1),t.push([e.i,".custom_box{padding:5px;overflow-y:auto}.custom_box .ivu-modal-content .ivu-modal-body{padding:0}.custom_box .formbox{background:rgba(247,249,252,.9);padding:8px 0 0;margin-bottom:10px;border:1px solid #cee0f0}.custom_box .ivu-table td,.custom_box .ivu-table th{height:36px}.custom_box .searchBox{display:flex;flex-wrap:wrap}.custom_box .ivu-form-item{margin-bottom:0;height:42px}.custom_box .ivu-form .ivu-form-item-label{width:60px;padding-right:2px}.custom_box .btnBox{text-align:center}.custom_box .button{margin:10px;border-radius:2px}.custom_box .btn{color:#17b0fc;border:1px solid #17b0fc;background:#fff;width:80px}.custom_box .btn1{background:#3179f5;color:#fff;width:80px}.custom_box .btn2{background:#17b0fc;color:#fff}.custom_box .navleft>span{display:inline-block;padding:0 12px;color:#fff;background:#c0c4cc;height:30px;line-height:30px;margin:10px 10px 10px 0;border-radius:2px;cursor:pointer}.custom_box .titleNav{display:-webkit-box;display:-ms-flexbox;display:flex}.titleNav>div{width:50%}.custom_box .navleft .La{background:#3179f5}.custom_box .navleft .Lv{background:#11c28a}.custom_box .navleft .Hong{background:#f06060}.custom_box .titleNav>div.navright{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.custom_box .navright span{display:inline-block;height:30px;line-height:30px;margin:10px 5px;border-radius:2px;padding:0 3px;cursor:pointer;position:relative}.custom_box .navright span:hover{background:#eff6ff}.custom_box .navright .active{border-bottom:2px solid #3179f5;color:#2372fa}.custom_box .navright .active-a{margin-right:40px;position:relative}.custom_box .i-data{position:absolute;display:inline-block;background:#e5efff;font-style:normal;color:#666;padding:0 10px;height:20px;line-height:20px;top:6px;border-radius:50px;right:-35px}.custom_box .common_optation .input,.custom_box .common_optation .select{max-width:300px}.custom_box .page-btn,.custom_box .page-Data{display:inline-block;height:24px;line-height:24px;vertical-align:top;margin:10px 0}.custom_box .page-Data i{font-style:normal;color:#3179f5;margin:0 5px;font-weight:700}.custom_box .page-btn{cursor:pointer;position:relative;padding-left:20px;background:url("+a(o(9))+')no-repeat 0}.custom_box .sx{font-size:24px;color:blue;position:absolute;margin-top:2px;left:-5px}.custom_box .Iconclass{position:relative;top:2px}.custom_box .ulnavlist{list-style:none;border:1px solid #0394f9;position:absolute;left:-78px;width:150px;bottom:100%;background:#fff;z-index:1;-webkit-box-shadow:0 0 5px 0 #bebef3;box-shadow:0 0 5px 0 #bebef3}.custom_box .navlist{position:relative;padding:0 10px}.custom_box .After:after{content:"";width:2px;height:24px;background:#d5d5d6;position:absolute;top:16px;left:0}.custom_box .Total{display:inline-block;height:24px;line-height:24px;vertical-align:top;margin:10px 0;padding:0 15px;border-radius:2px;cursor:pointer}.ivu-table-filter i:hover{color:#0394f9}.page_box{border:1px solid #ddd;border-top:none;padding:0 20px;height:42px}.custom_box .ivu-poptip-content{border:1px solid #2d8cf0}.custom_box .ivu-table th{background:#DEE9FCFF}.custom_box .ivu-table-border th,.ivu-table-border td{border-right:1px solid #f5f4f4}.custom_box .steylehang .btnBox .button{margin:0 10px}',""])},function(e,t){e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t){function o(e,t){var o=e[1]||"",i=e[3];if(!i)return o;if(t&&"function"==typeof btoa){var n=a(i);return[o].concat(i.sources.map(function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"})).concat([n]).join("\n")}return[o].join("\n")}function a(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var a=o(t,e);return t[2]?"@media "+t[2]+"{"+a+"}":a}).join("")},t.i=function(e,o){"string"==typeof e&&(e=[[null,e,""]]);for(var a={},i=0;i<this.length;i++){var n=this[i][0];"number"==typeof n&&(a[n]=!0)}for(i=0;i<e.length;i++){var r=e[i];"number"==typeof r[0]&&a[r[0]]||(o&&!r[2]?r[2]=o:o&&(r[2]="("+r[2]+") and ("+o+")"),t.push(r))}},t}},function(e,t,o){e.exports=o.p+"dlsj.png?726e5b40e372886f86993a1d0e307d01"},function(e,t,o){function a(e){for(var t=0;t<e.length;t++){var o=e[t],a=d[o.id];if(a){a.refs++;for(var i=0;i<a.parts.length;i++)a.parts[i](o.parts[i]);for(;i<o.parts.length;i++)a.parts.push(n(o.parts[i]));a.parts.length>o.parts.length&&(a.parts.length=o.parts.length)}else{for(var r=[],i=0;i<o.parts.length;i++)r.push(n(o.parts[i]));d[o.id]={id:o.id,refs:1,parts:r}}}}function i(){var e=document.createElement("style");return e.type="text/css",u.appendChild(e),e}function n(e){var t,o,a=document.querySelector("style["+b+'~="'+e.id+'"]');if(a){if(h)return m;a.parentNode.removeChild(a)}if(_){var n=f++;a=p||(p=i()),t=r.bind(null,a,n,!1),o=r.bind(null,a,n,!0)}else a=i(),t=s.bind(null,a),o=function(){a.parentNode.removeChild(a)};return t(e),function(a){if(a){if(a.css===e.css&&a.media===e.media&&a.sourceMap===e.sourceMap)return;t(e=a)}else o()}}function r(e,t,o,a){var i=o?"":a.css;if(e.styleSheet)e.styleSheet.cssText=x(t,i);else{var n=document.createTextNode(i),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(n,r[t]):e.appendChild(n)}}function s(e,t){var o=t.css,a=t.media,i=t.sourceMap;if(a&&e.setAttribute("media",a),g.ssrId&&e.setAttribute(b,t.id),i&&(o+="\n/*# sourceURL="+i.sources[0]+" */",o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=o(11),d={},u=l&&(document.head||document.getElementsByTagName("head")[0]),p=null,f=0,h=!1,m=function(){},g=null,b="data-vue-ssr-id",_="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,o,i){h=o,g=i||{};var n=c(e,t);return a(n),function(t){for(var o=[],i=0;i<n.length;i++){var r=n[i],s=d[r.id];s.refs--,o.push(s)}t?(n=c(e,t),a(n)):n=[];for(var i=0;i<o.length;i++){var s=o[i];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete d[s.id]}}}};var x=function(){var e=[];return function(t,o){return e[t]=o,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t){for(var o=[],a={},i=0;i<t.length;i++){var n=t[i],r=n[0],s=n[1],l=n[2],c=n[3],d={id:e+":"+i,css:s,media:l,sourceMap:c};a[r]?a[r].parts.push(d):o.push(a[r]={id:r,parts:[d]})}return o}},function(e,t,o){"use strict";var a=o(13),i=o(14),n=o(15);t.a={mixins:[a.a,i.a,n.a],mounted:function(){this.init_dialog_config()},methods:{init_dialog_config:function(){var e=this,t={mark:this.mark};this.$store.dispatch("postRequest",{url:this.$path.com_fm_dialog_mark_url,params:t}).then(function(t){if(t.success){var o=t.data;e.dialogTitle=o.name,e.modalWidth=Number(o.width),e.modalHeight=Number(o.height),e.isSingle=o.isSingle,e.displayField=JSON.parse(o.displayField);var a=JSON.parse(o.sortField);if(e.displayField.length<1)return void e.errorMsg("未配置展示字段");e.build_show_field(a);var i=JSON.parse(o.conditionField);i.length>0&&e.build_query_fields(i),e.build_sort_field(e.sortField),void 0!==o.pageSize&&""!==o.pageSize||(e.pageSearch=!1),e.bulid_page({},o.pageSize),e.modal=!0,e.query_data(1),e.returnField=JSON.parse(o.returnField)}else e.modal=!1,e.$Modal.error({title:"温馨提示",content:t.msg})})},build_sort_field:function(e){var t=this;e.forEach(function(e){t.orderKey.push(e.field),e.comment?t.orderType.push("asc"):t.orderType.push("desc")})}}}},function(e,t,o){"use strict";var a=o(0);t.a={mixins:[a.a],methods:{build_show_field:function(e){var t=this,o={};e&&e.length>0&&e.forEach(function(e){t.orderKey.push(e.field.toLowerCase());var a=e.comment?"asc":"desc";t.orderType.push(a),o[e.field.toLowerCase()]=a});var a=[];"0"===this.isSingle?(t.showCheckbox=!0,a.push(t.checkbox_column())):a.push(t.radio_column()),a.push(t.index_column()),t.displayField.forEach(function(e,t){var i={};i.title=e.comment,i.show=!0,i.align=e.align,i.width=e.width,i.tooltip=!0,i.key=e.field.toLowerCase(),e.dicName&&""!==e.dicName&&(i.key=e.field.toLowerCase()+"Name"),o[e.field.toLowerCase()]&&(i.sortable="custom",i.sortType=o[e.field.toLowerCase()]),a.push(i)}),t.tableColumns=a},on_sort_change:function(e){var t=(e.column,e.key),o=e.order;t.indexOf("Name")>-1&&(t=t.substring(0,t.indexOf("Name")));var a=this.array_index(this.orderKey,t);a>-1&&(this.orderType.splice(a,1,o),this.query_data())},index_column:function(){return{title:"序号",type:"index",width:65,align:"center"}},checkbox_column:function(){return{type:"selection",width:48,align:"center"}},radio_column:function(){var e=this;return{title:" ",align:"center",width:48,render:function(t,o){var a=!1;return o.index===e.curIdx&&(a=!0),t("div",[t("Radio",{props:{value:a}})])}}}}}},function(e,t,o){"use strict";var a=o(0);t.a={mixins:[a.a],methods:{build_query_fields:function(e){for(var t=[],o=[],a=0,i=e.length;a<i;a++){var n=e[a];if(n.defaultValue&&(n.searchValue=n.defaultValue),"1"===n.defaultType)t.push(n);else if("2"===n.defaultType)o.push(n);else{var r=n.field.toLowerCase(),s=this.params[r];s&&(n.searchValue=s,o.push(n))}}t.length>0&&(this.searchShow=!0,this.conditionField=t),this.fixedQueryFields=o},on_row_click:function(e,t){"0"===this.isSingle?this.$refs.table.toggleSelect(t):(this.curIdx=t,this.batch_select=[],this.batch_select.push(e))},reset_query_condis:function(){var e=this;this.queryFields.forEach(function(t){t.forEach(function(t){e.$set(t,"searchValue",t.defaultValue),e.$set(t,"start",t.startDefault),e.$set(t,"end",t.endDefault)})}),this.query_data(1)}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";var __WEBPACK_IMPORTED_MODULE_0__data__=__webpack_require__(0);__webpack_exports__.a={mixins:[__WEBPACK_IMPORTED_MODULE_0__data__.a],methods:{bulid_page:function bulid_page(pageSizeOptions,pageSize){try{var option=eval("("+pageSizeOptions+")");pageSize&&(this.pageSize=parseInt(pageSize)),option.length>0&&(this.pageSizeOpts=option)}catch(e){}},change_page:function(e){this.query_data(e)},change_size:function(e){this.pageSize=e,this.query_data()}}}},function(e,t,o){"use strict";var a=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("Modal",{attrs:{"mask-closable":!1,"class-name":"custom_box",width:e.modalWidth,title:e.dialogTitle},on:{"on-cancel":e.cancel},model:{value:e.modal,callback:function(t){e.modal=t},expression:"modal"}},[o("div",{staticClass:"custom_box"},[e.searchShow?o("Form",{staticClass:"formbox",attrs:{"label-width":80}},[o("div",{staticClass:"searchBox steylehang"},[e._l(e.conditionField,function(t,a){return[o("FormItem",{key:a,attrs:{label:t.comment+":"}},["02"===t.controlType?[o("s-dicgrid",{ref:"dicGrid",refInFor:!0,style:t.controlStyle?t.controlStyle:"width:220px",attrs:{dicName:t.dicName},model:{value:t.searchValue,callback:function(o){e.$set(t,"searchValue",o)},expression:"condi.searchValue"}})]:"03"===t.controlType&&"between"===t.condition?[o("el-date-picker",{style:t.controlStyle,attrs:{format:t.dateFormat,"value-format":"yyyy-MM-dd",size:"small",type:"date",placeholder:"开始日期"},model:{value:t.start,callback:function(o){e.$set(t,"start",o)},expression:"condi.start"}}),e._v("\n\t\t\t\t\t\t\t\t至\n\t\t\t\t\t\t\t\t"),o("el-date-picker",{style:t.controlStyle,attrs:{format:t.dateFormat,"value-format":"yyyy-MM-dd",size:"small",type:"date",placeholder:"结束日期"},model:{value:t.end,callback:function(o){e.$set(t,"end",o)},expression:"condi.end"}})]:"03"===t.controlType?[o("el-date-picker",{style:t.dateFormat,attrs:{format:t.format,"value-format":"yyyy-MM-dd",size:"small",type:"date",placeholder:"选择日期"},model:{value:t.searchValue,callback:function(o){e.$set(t,"searchValue",o)},expression:"condi.searchValue"}})]:"04"===t.controlType&&"between"===t.condition?[o("el-date-picker",{style:t.controlStyle,attrs:{format:t.dateFormat,"value-format":t.dateFormat,size:"small",type:"datetime",placeholder:"开始日期"},model:{value:t.start,callback:function(o){e.$set(t,"start",o)},expression:"condi.start"}}),e._v("\n\t\t\t\t\t\t\t\t至\n\t\t\t\t\t\t\t\t"),o("el-date-picker",{style:t.controlStyle,attrs:{format:t.dateFormat,"value-format":t.dateFormat,size:"small",type:"datetime",placeholder:"结束日期"},model:{value:t.end,callback:function(o){e.$set(t,"end",o)},expression:"condi.end"}})]:"04"===t.controlType?[o("el-date-picker",{style:t.dateFormat,attrs:{format:t.format,"value-format":t.dateFormat,size:"small",type:"datetime",placeholder:"选择日期"},model:{value:t.searchValue,callback:function(o){e.$set(t,"searchValue",o)},expression:"condi.searchValue"}})]:[o("Input",{style:t.controlStyle,attrs:{placeholder:""},on:{"on-enter":function(t){return e.query_data(1)}},model:{value:t.searchValue,callback:function(o){e.$set(t,"searchValue",o)},expression:"condi.searchValue"}})]],2)]}),e._v(" "),o("div",{staticClass:"btnBox"},[o("Button",{staticClass:"button btn1",attrs:{type:"primary"},on:{click:function(t){return e.query_data(1)}}},[e._v("查询")])],1)],2)]):e._e(),e._v(" "),o("div",{staticStyle:{width:"100%"}},[o("Table",{ref:"table",attrs:{loading:e.loading,"tooltip-theme":"light",height:e.modalHeight,columns:e.tableColumns,data:e.tableData,stripe:"",border:""},on:{"on-selection-change":e.on_batch_select,"on-sort-change":e.on_sort_change,"on-row-click":e.on_row_click}})],1),e._v(" "),[o("div",{staticClass:"page_box"},[e.showCheckbox?o("span",{staticClass:"page-Data"},[e._v("共选中"),o("i",[e._v(e._s(e.batch_select.length))]),e._v("条数据")]):e._e(),e._v(" "),o("div",{staticStyle:{float:"right"}},[e.pageSearch?o("Page",{staticStyle:{display:"inline-block",margin:"10px 0"},attrs:{total:e.totalNum,current:e.pageNo,"page-size":e.pageSize,"page-size-opts":e.pageSizeOpts,size:"small","show-elevator":"","show-sizer":""},on:{"on-change":e.change_page,"on-page-size-change":e.change_size}}):e._e(),e._v(" "),o("span",{staticClass:"Total"},[e._v("共 "+e._s(e.totalNum)+" 条 ")])],1)])]],2),e._v(" "),o("div",{attrs:{slot:"footer"},slot:"footer"},[o("Button",{staticStyle:{margin:"0 15px"},attrs:{type:"error"},on:{click:e.cancel}},[e._v("取 消")]),e._v(" "),o("Button",{attrs:{type:"primary"},on:{click:e.confirm}},[e._v("确 认")])],1)])],1)},i=[],n={render:a,staticRenderFns:i};t.a=n}])});
|
|
77883
|
+
!function(e,t){ true?module.exports=t():"function"==typeof define&&define.amd?define("sd-custom-dialog",[],t):"object"==typeof exports?exports["sd-custom-dialog"]=t():e["sd-custom-dialog"]=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=4)}([function(e,t,r){"use strict";var n=r(14),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.a={props:{value:{type:String,default:""},dialogMark:String,params:{type:Object,default:function(){return{}}},return:{type:String,default:""},readonly:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},button:{type:String,default:"选择"},bindEvent:{type:Boolean,default:!0},isMulti:{type:Boolean,default:!1}},data:function(){return{txt:this.value,isBuild:!1,openStatus:!1,component:null,mark:this.dialogMark,isPage:"0",style:"",conditionField:[],fixedQueryFields:[],displayField:[],sortField:[],returnField:[],pageSearch:!0,searchShow:!1,tableData:[],tableColumns:[],batch_select:[],pageNo:1,pageSize:10,pageSizeOpts:[10,20,50],totalNum:0,orderKey:[],orderType:[],loading:!1,showCheckbox:!1,dialogTitle:"",isSingle:"1",showType:"0",curIdx:"",modalWidth:520,modalHeight:400,searchValue:"",treeData:[],originTreeData:[],selectedNode:{},currentNodeId:""}},methods:{template:function(e,t){return n.a.config({sTag:"{{",eTag:"}}",escape:!0}),Object(n.a)(e,t)},query_data:function(e){var t=this;this.loading=!0,e&&(this.pageNo=e),this.batch_select=[],this.curIdx=-1;var r={mark:this.mark,pageNo:this.pageNo,pageSize:this.pageSize};"0"===this.isPage&&(r.pageSize=-1);var n=this.build_query_condis();n.length>0&&(r.condis=JSON.stringify(n)),r.sortName=this.orderKey.join(","),r.sortType=this.orderType.join(","),Object.assign(r,this.$route.query,this.params),this.$store.dispatch("postRequest",{url:"/bsp-com/com/fm/dialog/getQueryPageData",params:r}).then(function(e){if(e.success)if("0"===t.showType)t.tableData=e.rows,t.totalNum=e.total;else{var r=t.transData(e.rows);t.treeData=r,t.originTreeData=r}t.loading=!1})},searchTree:function(){this.treeData=this.originTreeData,this.searchValue&&(this.treeData=this.rebuildData(this.searchValue,this.treeData),this.expandTree(this.treeData))},expandTree:function(e){var t=this;e.forEach(function(e){e.expand=!0,e.children&&e.children.length>0&&t.expandTree(e.children)})},rebuildData:function(e,t){var r=this,n=[];return t.forEach(function(t){if(t.title.indexOf(e)>-1&&(!t.children||0==t.children.length))n.push(t);else if(t.children&&t.children.length>0){var i=r.rebuildData(e,t.children),a=o({},t,{children:i});i&&i.length>0&&n.push(a)}}),n},transData:function(e){for(var t=[],r={},n=this.displayField[0].id.toLowerCase(),o=this.displayField[0].parentId.toLowerCase(),i=0,a=0,s=e.length,c=this.displayField[0].showNameCol.toLowerCase();i<s;i++){var l=e[i];l.expanded=!0,l.title=e[i][c],r[e[i][n]]=l}for(;a<s;a++){var d=e[a],u=r[d[o]];u?(!u.children&&(u.children=[]),u.children.push(d)):t.push(d)}return t},selectTreeNode:function(e){var t=e[0];t?this.selectedNode=t:t=this.selectedNode;for(var r=this.treeData,n=0;n<r.length;n++){var o=r[n],i=o.children.filter(function(e,t){return 1==e.checked});if(!t.parentId&&t.id==o.id){var a=JSON.parse(JSON.stringify(o));if(a.checked){var s=[];a.indeterminate=!1;for(var c=0;c<a.children.length;c++){var l=a.children[c];l.checked=!1,s.push(l)}a.children=s}else if(t.indeterminate){a.indeterminate=!1;for(var d=[],u=0;u<a.children.length;u++){var p=a.children[u];p.checked=!0,d.push(p)}a.children=d}a.checked=!a.checked,this.treeData.splice(n,1,a);break}if(t.parentId==o.id)for(var f=0;f<o.children.length;f++){var h=o.children[f];if(t.id==h.id){var g=h;return g.checked=!h.checked,o.children.splice(f,1,g),void(o.indeterminate&&1==i.length&&i[0].id==t.id?(o.indeterminate=!1,this.treeData.splice(n,1,o)):i.length==o.children.length&&o.checked&&(o.checked=!1,o.indeterminate=!0,this.treeData.splice(n,1,o)))}}}},clickTreeNode:function(e){var t=e[0];t?this.selectedNode=t:t=this.selectedNode;var r=this.treeData;this.selectTreeNode1(t,r)},selectTreeNode1:function(e,t){for(var r=0;r<t.length;r++){var n=t[r];if(n.id===e.id){var o=JSON.parse(JSON.stringify(n));return o.checked=!o.checked,void t.splice(r,1,o)}var i=n.children;void 0!==i&&i.length>0&&this.selectTreeNode1(e,i)}},build_query_condis:function(){var e=[],t=this.conditionField.concat();return this.fixedQueryFields.length>0&&(t=t.concat(this.fixedQueryFields)),t.forEach(function(t){if("between"===t.condition){if(t.start){var r={name:t.field,op:">=",value:t.start,controlType:t.controlType};e.push(r)}if(t.end){var n=t.end;16===n.length&&"04"===t.controlType?n+=":59":14===n.length&&"04"===t.controlType&&(n+=":59:59");var o={name:t.field,op:"<=",value:n,controlType:t.controlType};e.push(o)}}else if(t.searchValue&&""!==t.searchValue.trim()){var i={name:t.field,op:t.condition,value:t.searchValue.trim(),controlType:t.controlType};e.push(i)}}),e},createTree:function(e,t){var r=this.displayField[0].id,n=this.displayField[0].parentId,o=this.displayField[0].showNameCol,i=this,a=[];return e.forEach(function(s){var c=null,l=s[r],d=s[n],u=s[o];if(""!==t||void 0!==d&&""!==d?t==d&&(c=s):c=s,null!=c){var p={};p.data=c,p.id=l,p.parentId=d,p.title=u,p.children=i.createTree(e,l),p.expand=!0,a.push(p)}}),a},renderContent:function(e,t){var r=(t.root,t.node),n=t.data,o=this.displayField[0].id.toLowerCase();n.expanded&&(r.expanded=!0);var i="ios-paper-outline";n.children&&n.children.length>0&&(i="ios-folder-outline");var a=[];if(1==this.isSingle){var s=!1;n[o]===this.currentNodeId&&(s=!0),a.push(e("Radio",{props:{value:s,size:"large"}}))}return a.push(e("Icon",{props:{type:i,color:"#6e95f1"},style:{marginRight:"4px"}})),a.push(e("span",{style:{fontSize:"16px"},attrs:{title:n.title}},n.title)),e("span",a)},filterNode:function(e,t){return!e||-1!==t.title.indexOf(e)},checkChange:function(e,t){if(1==this.isSingle){this.$refs.dialogTree.setCheckedNodes([e]);var r=this.displayField[0].id.toLowerCase();this.currentNodeId=e[r]}},searchField:function(){var e=this.searchValue;this.$refs.dialogTree.filter(e),e||this.setAllExpand(this.originTreeData[0].id,!1)},setAllExpand:function(e,t){var r=this.$refs.dialogTree.store.nodesMap;for(var n in r)r[n].expanded=e===n||t},errorMsg:function(e){this.$Modal.error({title:"温馨提示",content:e})},warnMsg:function(e){this.$Modal.warning({title:"温馨提示",content:e})},on_batch_select:function(e){this.batch_select=e},array_index:function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}}}},function(e,t,r){"use strict";/*!
|
|
77884
|
+
* @jsmini/type 0.9.2 (https://github.com/jsmini/type)
|
|
77885
|
+
* API https://github.com/jsmini/type/blob/master/doc/api.md
|
|
77886
|
+
* Copyright 2017-2019 jsmini. All Rights Reserved
|
|
77887
|
+
* Licensed under MIT (https://github.com/jsmini/type/blob/master/LICENSE)
|
|
77888
|
+
*/
|
|
77889
|
+
function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t=!!t,null===e)return"null";var r=n(e);if(t&&"number"===r&&isNaN(e))return"nan";if("object"!==r)return r;var o,a;try{o=i.call(e).slice(8,-1),a=o.toLowerCase()}catch(e){return"object"}if("object"!==a){if(t){if("number"===a&&isNaN(e))return"NaN";if("number"===a||"boolean"===a||"string"===a)return o}return a}if(e.constructor==Object)return a;try{if(null===Object.getPrototypeOf(e)||null===e.__proto__)return"object"}catch(e){}try{var s=e.constructor.name;if("string"==typeof s)return s}catch(e){}return"unknown"}r.d(t,"a",function(){return o});var i=Object.prototype.toString},function(e,t,r){"use strict";/*!
|
|
77890
|
+
* @jsmini/extend 0.3.3 (https://github.com/jsmini/extend)
|
|
77891
|
+
* API https://github.com/jsmini/extend/blob/master/doc/api.md
|
|
77892
|
+
* Copyright 2017-2019 jsmini. All Rights Reserved
|
|
77893
|
+
* Licensed under MIT (https://github.com/jsmini/extend/blob/master/LICENSE)
|
|
77894
|
+
*/
|
|
77895
|
+
function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function o(){return s.apply(void 0,arguments)}function i(e){if(!Object(a.c)(e)&&!Object(a.a)(e))throw new TypeError("extend target param must is object");for(var t=0;t<(arguments.length<=1?0:arguments.length-1);t++){var r=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];for(var o in r){var s=e[o],c=r[o];if(e!==c&&n(r,o)){var l=void 0;if(c&&(Object(a.c)(c)||(l=Object(a.a)(c)))){var d=void 0;d=l?s&&Object(a.a)(s)?s:[]:s&&Object(a.c)(s)?s:{},e[o]=i(d,c)}else void 0!==c&&(e[o]=c)}}}return e}r.d(t,"a",function(){return o}),r.d(t,"b",function(){return i});var a=r(15),s=Object(a.b)(Object.assign)?Object.assign:function(e){if(!Object(a.c)(e))throw new TypeError("assign first param must is object");for(var t=0;t<(arguments.length<=1?0:arguments.length-1);t++){var r=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];if(Object(a.c)(r))for(var o in r)n(r,o)&&(e[o]=r[o])}return e}},function(e,t,r){"use strict";var n=r(12);t.a={mixins:[n.a],watch:{value:function(e){this.txt=e},txt:function(e){this.$emit("input",e)},dialogMark:function(){this.isBuild=!1}},mounted:function(){this.bindEvent&&this.$slots.func&&(this.reference=this.$slots.func[0].elm,this.reference.addEventListener("click",this.openCustomDialog))},methods:{confirm:function(){var e=this,t=[];if(t="0"===this.showType?this.batch_select:this.$refs.dialogTree.getCheckedNodes(),0==t.length)return this.warnMsg("请选择数据"),!1;var r=[];t.forEach(function(t,n){var o={};e.returnField.forEach(function(e){o[e.field.toLowerCase()]=t[e.field.toLowerCase()]}),r.push(o)}),this.on_select(r),this.openStatus=!1,this.$emit("on-select",r)},on_select:function(e){var t=this;if(e&&this.return){var r={};Object.keys(e[0]).forEach(function(e){r[e]=[]}),e.forEach(function(e){for(var t in e)r[t].push(e[t])});var n=this.return.split("|");n&&n.length>0&&n.forEach(function(e){var n=e.split(":");if(n&&n.length>=2){var o=r[n[1].toLowerCase()],i="";o&&(i=o.join(",")),t.$emit("update:"+n[0],i)}})}},cancel:function(){this.openStatus=!1,this.$emit("on-cancel")},focus:function(){this.$refs.input.focus()},clearData:function(){var e=this;if(this.$emit("input",""),this.return){var t=this.return.split("|");t&&t.length>0&&t.forEach(function(t){var r=t.split(":");r&&r.length>=2&&e.$emit("update:"+r[0],"")}),"1"===this.showType?this.$refs.dialogTree.setCheckedKeys([]):(this.curIdx=-1,this.batch_select=[])}this.$emit("on-clear")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5);r.d(t,"sDialog",function(){return n.a});var o={install:function(e){e.component("s-dialog",n.a)}};t.default=o},function(e,t,r){"use strict";function n(e){r(6)}var o=r(3),i=r(20),a=r(11),s=n,c=a(o.a,i.a,!1,s,"data-v-1045f482",null);t.a=c.exports},function(e,t,r){var n=r(7);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);r(9)("83b8e50c",n,!0,{})},function(e,t,r){t=e.exports=r(8)(!1),t.push([e.i,".bsp_custom_box[data-v-1045f482]{padding:10px;overflow-y:auto}[data-v-1045f482] .bsp_custom_box *{font-size:15px!important}[data-v-1045f482] .bsp_custom_box .ivu-modal-content .ivu-modal-body,[data-v-1045f482] .bsp_custom_box .ivu-modal-header{padding:0}[data-v-1045f482] .bsp_custom_box .ivu-icon-ios-close{font-size:32px!important;line-height:40px}.bsp_custom_box .formbox[data-v-1045f482]{background:rgba(247,249,252,.9);padding:8px 0 0;margin-bottom:10px;border:1px solid #cee0f0}[data-v-1045f482] .bsp_custom_box .ivu-table td,[data-v-1045f482] .bsp_custom_box .ivu-table th{height:36px}.bsp_custom_box .bsp_searchBox[data-v-1045f482]{display:flex;flex-wrap:wrap}[data-v-1045f482] .bsp_custom_box .ivu-form-item{margin-bottom:0;height:42px}[data-v-1045f482] .bsp_custom_box .ivu-form .ivu-form-item-label{font-size:16px;padding-right:2px}.bsp_custom_box .bsp_custom_btnBox[data-v-1045f482]{text-align:center}.bsp_custom_box .bsp_custom_button[data-v-1045f482]{margin:10px;border-radius:2px}.bsp_custom_box .bsp_custom_btn1[data-v-1045f482]{background:#3179f5;color:#fff;width:65px}.bsp_custom_box .i-data[data-v-1045f482]{position:absolute;display:inline-block;background:#e5efff;font-style:normal;color:#666;padding:0 10px;height:20px;line-height:20px;top:6px;border-radius:50px;right:-35px}.bsp_custom_box .page-btn[data-v-1045f482],.bsp_custom_box .page-Data[data-v-1045f482]{display:inline-block;height:24px;line-height:24px;vertical-align:top;margin:10px 0;font-size:16px}.bsp_custom_box .page-Data i[data-v-1045f482]{font-style:normal;color:#3179f5;margin:0 5px;font-weight:700;font-size:16px}.bsp_custom_box .bsp_custom_Total[data-v-1045f482]{display:inline-block;height:24px;line-height:24px;vertical-align:top;margin:10px 0;padding:0 15px;border-radius:2px;cursor:pointer;font-size:16px}.bsp_custom_box .page_box[data-v-1045f482]{border:1px solid #ddd;border-top:none;padding:0 20px;height:42px}[data-v-1045f482] .bsp_custom_box .ivu-poptip-content{border:1px solid #2d8cf0}[data-v-1045f482] .bsp_custom_box .ivu-table th{background:#dee9fc}.ivu-table-border td[data-v-1045f482],[data-v-1045f482] .bsp_custom_box .ivu-table-border th{border-right:1px solid #f5f4f4}[data-v-1045f482] .bsp_custom_box .steylehang .bsp_custom_btnBox .bsp_custom_button{margin:0 10px}.ivu-table-wrapper>.ivu-spin-fix[data-v-1045f482]{background-color:hsla(0,0%,100%,.6)}.bsp_custom_box .flow-modal-title[data-v-1045f482]{height:40px;background:#2b5fda;width:100%;text-indent:1em;color:#fff;line-height:40px}[data-v-1045f482] .bsp_custom-input .ivu-input-search{font-size:15px;padding:0!important;width:70px;max-width:70px}[data-v-1045f482] .bsp_custom-input .ivu-input-icon{right:66px;font-size:20px}[data-v-1045f482] .bsp_custom-input .ivu-input{font-size:16px}.bsp_custom-org-tree[data-v-1045f482]{margin:10px;border:1px solid #cee0f0;overflow:hidden}.bsp_custom-org-tree .org-search-box[data-v-1045f482]{background:#f2f6fc;padding:5px 25px}.bsp_custom-org-tree[data-v-1045f482] .ivu-input{height:30px;border-color:#cee0f0;font-size:15px!important}.bsp_custom-org-tree[data-v-1045f482] .ivu-input:focus{border-color:#337bf5;box-shadow:inset 0 0 0 1000px #fff!important}.bsp_custom-org-tree .content-box[data-v-1045f482]{height:458px;padding:5px 15px}.bsp_custom-org-tree[data-v-1045f482] .ivu-tree ul li{margin:2px 0}.bsp_custom-org-tree[data-v-1045f482] .ivu-radio-wrapper{margin-right:4px}.bsp_custom-org-tree[data-v-1045f482] .ivu-radio-inner{border-color:#cee0f0}.bsp_custom-org-tree[data-v-1045f482] .ivu-radio-checked .ivu-radio-inner{border-color:#2b5fda}.bsp_custom-org-tree[data-v-1045f482] .ivu-radio-checked .ivu-radio-inner:after{background-color:#2b5fda}.bsp_custom-org-tree[data-v-1045f482] .ivu-tree .ivu-checkbox-wrapper{margin-right:0}.bsp_custom-org-tree[data-v-1045f482] .ivu-checkbox-checked .ivu-checkbox-inner{border-color:#2d8cf0;background-color:#2d8cf0}.bsp-base-form .ivu-radio-inner[data-v-1045f482],.bsp_custom-org-tree[data-v-1045f482] .ivu-checkbox-inner{border-color:#cee0f0;height:16px;width:16px}.bsp_custom-org-tree[data-v-1045f482] .ivu-icon-ios-arrow-forward{cursor:pointer;color:#c0c4cc;font-weight:100;font-size:19px!important}.bsp_custom-org-tree[data-v-1045f482] .el-tree .ivu-icon,.bsp_custom-org-tree[data-v-1045f482] .ivu-tree .ivu-icon-ios-folder-outline,[data-v-1045f482] .ivu-tree .ivu-icon-ios-home-outline{font-size:20px!important;font-weight:700}.bsp_custom-org-tree[data-v-1045f482] .el-tree .el-checkbox__inner{height:16px;width:16px;border:1px solid #cee0f0}.bsp_custom-org-tree[data-v-1045f482] .el-tree .el-checkbox__inner:after{height:8px;left:5px;border:2px solid #fff;border-left:0;border-top:0}.bsp_custom-org-tree[data-v-1045f482] .el-checkbox__input.is-checked .el-checkbox__inner{border-color:#2b5fda;background-color:#2b5fda}.bsp_custom-org-tree[data-v-1045f482] .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:#f0f5ff}.bsp_custom-org-tree .bsp-scroll[data-v-1045f482]{overflow:overlay}.bsp-scroll[data-v-1045f482]::-webkit-scrollbar{width:10px;height:10px}.bsp-scroll[data-v-1045f482]::-webkit-scrollbar-thumb{border-radius:3px;background:#b7c7dd}.bsp-scroll[data-v-1045f482]::-webkit-scrollbar-track{border-radius:3px;background:#ededed}",""])},function(e,t){function r(e,t){var r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=n(o);return[r].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).join("\n")}return[r].join("\n")}function n(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=r(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(n[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),t.push(a))}},t}},function(e,t,r){function n(e){for(var t=0;t<e.length;t++){var r=e[t],n=d[r.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](r.parts[o]);for(;o<r.parts.length;o++)n.parts.push(i(r.parts[o]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{for(var a=[],o=0;o<r.parts.length;o++)a.push(i(r.parts[o]));d[r.id]={id:r.id,refs:1,parts:a}}}}function o(){var e=document.createElement("style");return e.type="text/css",u.appendChild(e),e}function i(e){var t,r,n=document.querySelector("style["+_+'~="'+e.id+'"]');if(n){if(h)return g;n.parentNode.removeChild(n)}if(b){var i=f++;n=p||(p=o()),t=a.bind(null,n,i,!1),r=a.bind(null,n,i,!0)}else n=o(),t=s.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}function a(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=m(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function s(e,t){var r=t.css,n=t.media,o=t.sourceMap;if(n&&e.setAttribute("media",n),v.ssrId&&e.setAttribute(_,t.id),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var l=r(10),d={},u=c&&(document.head||document.getElementsByTagName("head")[0]),p=null,f=0,h=!1,g=function(){},v=null,_="data-vue-ssr-id",b="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,r,o){h=r,v=o||{};var i=l(e,t);return n(i),function(t){for(var r=[],o=0;o<i.length;o++){var a=i[o],s=d[a.id];s.refs--,r.push(s)}t?(i=l(e,t),n(i)):i=[];for(var o=0;o<r.length;o++){var s=r[o];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete d[s.id]}}}};var m=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t){for(var r=[],n={},o=0;o<t.length;o++){var i=t[o],a=i[0],s=i[1],c=i[2],l=i[3],d={id:e+":"+o,css:s,media:c,sourceMap:l};n[a]?n[a].parts.push(d):r.push(n[a]={id:a,parts:[d]})}return r}},function(e,t){e.exports=function(e,t,r,n,o,i){var a,s=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(a=e,s=e.default);var l="function"==typeof s?s.options:s;t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId=o);var d;if(i?(d=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=d):n&&(d=n),d){var u=l.functional,p=u?l.render:l.beforeCreate;u?(l._injectStyles=d,l.render=function(e,t){return d.call(t),p(e,t)}):l.beforeCreate=p?[].concat(p,d):[d]}return{esModule:a,exports:s,options:l}}},function(e,t,r){"use strict";var n=r(13),o=r(18),i=r(19);t.a={mixins:[n.a,o.a,i.a],methods:{openCustomDialog:function(){if(this.isBuild)return void(this.openStatus=!0);this.init_dialog_config()},init_dialog_config:function(){var e=this,t={mark:this.mark};this.$store.dispatch("postRequest",{url:"/bsp-com/com/fm/dialog/getDialogByMark",params:t}).then(function(t){if(t.success){var r=t.data;e.isPage=r.isPage,e.dialogTitle=r.name;try{e.pageSize=Number(r.pageSize),e.pageSizeOpts.indexOf(e.pageSize)<0&&(e.pageSizeOpts.push(e.pageSize),e.pageSizeOpts.sort(function(e,t){return e-t}))}catch(e){}e.modalWidth=Number(r.width),e.modalHeight=Number(r.height),e.isSingle=r.isSingle,e.displayField=JSON.parse(r.displayField),e.showType=r.showType;var n=JSON.parse(r.sortField);if(e.displayField.length<1)return void e.errorMsg("未配置展示字段");"0"===r.showType&&e.build_show_field(n);var o=JSON.parse(r.conditionField);o.length>0&&e.build_query_fields(o),e.build_sort_field(n),void 0!==r.pageSize&&""!==r.pageSize||(e.pageSearch=!1),e.bulid_page({},r.pageSize),e.openStatus=!0,e.isBuild=!0,e.query_data(1),e.returnField=JSON.parse(r.returnField)}else e.modal=!1,e.$Modal.error({title:"温馨提示",content:t.msg})})},build_sort_field:function(e){var t=this;e.forEach(function(e){t.orderKey.push(e.field),e.comment?t.orderType.push("asc"):t.orderType.push("desc")})}}}},function(e,t,r){"use strict";var n=r(0);t.a={mixins:[n.a],methods:{build_show_field:function(e){var t=this,r={};e&&e.length>0&&e.forEach(function(e){t.orderKey.push(e.field.toLowerCase());var n=e.comment?"asc":"desc";t.orderType.push(n),r[e.field.toLowerCase()]=n});var n=[];"0"===this.isSingle||this.isMulti?(t.showCheckbox=!0,n.push(t.checkbox_column())):n.push(t.radio_column()),n.push(t.index_column()),t.displayField.forEach(function(e,t){var o={};o.title=e.comment,o.show=!0,o.align=e.align,o.width=e.width,o.tooltip=!0,o.key=e.field.toLowerCase(),e.dicName&&""!==e.dicName&&(o.key=e.field.toLowerCase()+"Name"),r[e.field.toLowerCase()]&&(o.sortable="custom",o.sortType=r[e.field.toLowerCase()]),n.push(o)}),t.tableColumns=n},on_sort_change:function(e){var t=(e.column,e.key),r=e.order;t.indexOf("Name")>-1&&(t=t.substring(0,t.indexOf("Name")));var n=this.array_index(this.orderKey,t);n>-1&&(this.orderType.splice(n,1,r),this.query_data())},index_column:function(){return{title:"序号",type:"index",width:70,align:"center"}},checkbox_column:function(){return{type:"selection",width:60,align:"center"}},radio_column:function(){var e=this;return{title:" ",align:"center",width:50,render:function(t,r){var n=!1;return r.index===e.curIdx&&(n=!0),t("div",[t("Radio",{props:{value:n}})])}}}}}},function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return c.a.apply(null,[{}].concat(e))}function o(e,t){void 0===t&&(t=h);var r=Object(l.a)(e,t),n='\n var html = (function (__data__, __modifierMap__) {\n var __str__ = "", __code__ = "";\n for(var key in __data__) {\n __str__+=("var " + key + "=__data__[\'" + key + "\'];");\n }\n eval(__str__);\n\n'+r+"\n ;return __code__;\n }(__data__, __modifierMap__));\n return html;\n";n=n.replace(/[\r]/g," ");try{var o=new Function("__data__","__modifierMap__",n);return o.toString=function(){return r},o}catch(e){throw e.temp="function anonymous(__data__, __modifierMap__) {"+n+"}",e}}function i(e,t){function r(r){r=n(g,r);try{var o=i(r,v);return o=t.compress?p(o):o}catch(t){return t.name="RenderError",t.tpl=e,t.render=i.toString(),f(t)()}}void 0===t&&(t=h),t=n(h,t);try{var i=o(e,t)}catch(t){return t.name="CompileError",t.tpl=e,t.render=t.temp,delete t.temp,f(t)}return r.toString=function(){return i.toString()},r}function a(e,t){if("string"!=typeof e)return"";var r=i(e);return"object"!==Object(s.a)(t)?r:r(t)}var s=r(1),c=r(2),l=r(16),d=r(17),u=d.a.encodeHTML,p=d.a.compress,f=d.a.handelError,h=d.a.o,g=d.a.functionMap,v=d.a.modifierMap;a.config=function(e){return d.a.config(e)},a.registerFunction=function(e,t){return d.a.registerFunction(e,t)},a.unregisterFunction=function(e){return d.a.unregisterFunction(e)},a.registerModifier=function(e,t){return d.a.registerModifier(e,t)},a.unregisterModifier=function(e){return d.a.unregisterModifier(e)},a.encodeHTML=u,a.compress=p,a.handelError=f,a.functionMap=g,a.modifierMap=v,a.__encodeHTML=u,a.__compress=p,a.__handelError=f,a.__compile=i,t.a=a},function(e,t,r){"use strict";function n(e){return"object"===Object(i.a)(e)}function o(e){return"function"===Object(i.a)(e)}r.d(t,"c",function(){return n}),r.d(t,"b",function(){return o}),r.d(t,"a",function(){return a});var i=r(1),a=o(Array.isArray)?Array.isArray:function(e){return"array"===Object(i.a)(e)}},function(e,t,r){"use strict";function n(e){e=String(e).replace(/('|")/g,"\\$1");for(var t=e.split(/\r\n|\n/),r="",n=0;n<t.length;n++)r+=';__code__ += ("'+t[n]+(n===t.length-1?'")\n':'\\n")\n');return r}function o(e,t){void 0===t&&(t=!0),e=String(e),t=!!t;var r,n,o=/^(?:=|(:.*?)=)(.*)$/;return(n=o.exec(e))?(r=n[2],';__code__ += __modifierMap__["'+(n[1]?n[1].slice(1):t?"h":"")+'"](typeof ('+r+') !== "undefined" ? ('+r+') : "")\n'):";"+e+"\n"}function i(e,t){void 0===t&&(t=s);var r=Object(a.b)({},s,t),i=r.sTag,c=r.eTag,l=r.escape;e=String(e);for(var d="",u=e.split(i),p=0,f=u.length;p<f;p++){var h=u[p].split(c);1===h.length?d+=n(h[0]):(d+=o(h[0],l),h[1]&&(d+=n(h[1])))}return d}r.d(t,"a",function(){return i});var a=r(2),s={sTag:"<%",eTag:"%>",escape:!0}},function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return l.a.apply(null,[{}].concat(e))}function o(e){return e}function i(e){return String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\\/g,"\").replace(/"/g,""").replace(/'/g,"'")}function a(e,t){"undefined"!=typeof console&&console[e]&&console[e](t)}function s(){}var c=r(1),l=r(2),d={sTag:"<%",eTag:"%>",compress:!1,escape:!0,error:function(){}},u={},p={"":function(e){return o(e)},h:function(e){return i(e)},u:function(e){return encodeURI(e)}};s.config=function(e){return"object"===Object(c.a)(e)&&(d=Object(l.a)(d,e)),n(d)},s.compress=function(e){return String(e).replace(/\s+/g," ").replace(/<!--[\w\W]*?-->/g,"")},s.handelError=function(e){function t(){return"template.js error"}var r="template.js error\n\n";for(var n in e)r+="<"+n+">\n"+e[n]+"\n\n";return r+="<message>\n"+e.message+"\n\n",a("error",r),d.error(e),t.toString=function(){return'__code__ = "template.js error"'},t},s.registerFunction=function(e,t){return"string"!=typeof e?n(u):"function"!==Object(c.a)(t)?u[e]:u[e]=t},s.unregisterFunction=function(e){return"string"==typeof e&&(delete u[e],!0)},s.registerModifier=function(e,t){return"string"!=typeof e?n(p):"function"!==Object(c.a)(t)?p[e]:p[e]=t},s.unregisterModifier=function(e){return"string"==typeof e&&(delete p[e],!0)},s.encodeHTML=i,s.functionMap=u,s.modifierMap=p,s.o=d,t.a=s},function(e,t,r){"use strict";var n=r(0);t.a={mixins:[n.a],methods:{build_query_fields:function(e){for(var t=[],r=[],n=0,o=e.length;n<o;n++){var i=e[n];if(i.defaultValue){var a=Object.assign({},this.params,this.$route.query),s=this.template(i.defaultValue.trim(),{user:this.$store.getters.sessionUser,req:a});i.searchValue=s}var c=i.field.toLowerCase(),l=this.params[c];l&&(i.searchValue=l),"1"===i.defaultType?t.push(i):"2"===i.defaultType?r.push(i):l&&(i.searchValue=l,r.push(i))}t.length>0&&(this.searchShow=!0,this.conditionField=t),this.fixedQueryFields=r},on_row_click:function(e,t){"0"===this.isSingle||this.isMulti?this.$refs.table.toggleSelect(t):(this.curIdx=t,this.batch_select=[],this.batch_select.push(e))},reset_query_condis:function(){var e=this;this.queryFields.forEach(function(t){t.forEach(function(t){e.$set(t,"searchValue",t.defaultValue),e.$set(t,"start",t.startDefault),e.$set(t,"end",t.endDefault)})}),this.query_data(1)}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";var __WEBPACK_IMPORTED_MODULE_0__data__=__webpack_require__(0);__webpack_exports__.a={mixins:[__WEBPACK_IMPORTED_MODULE_0__data__.a],methods:{bulid_page:function bulid_page(pageSizeOptions,pageSize){try{var option=eval("("+pageSizeOptions+")");pageSize&&(this.pageSize=parseInt(pageSize)),option.length>0&&(this.pageSizeOpts=option)}catch(e){}},change_page:function(e){this.query_data(e)},change_size:function(e){this.pageSize=e,this.query_data()}}}},function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[e.$slots.func?e._t("func"):r("Input",{ref:"input",staticClass:"bsp_custom-input",attrs:{disabled:e.disabled,clearable:"",readonly:e.readonly,search:"","enter-button":e.button,placeholder:""},on:{"on-clear":e.clearData,"on-search":e.openCustomDialog},model:{value:e.txt,callback:function(t){e.txt=t},expression:"txt"}}),e._v(" "),r("Modal",{attrs:{"mask-closable":!1,closable:!1,"class-name":"bsp_custom_box",width:e.modalWidth},model:{value:e.openStatus,callback:function(t){e.openStatus=t},expression:"openStatus"}},[r("div",{staticClass:"flow-modal-title",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px !important"}},[e._v(e._s(e.dialogTitle))]),e._v(" "),r("span",{staticStyle:{position:"absolute",right:"6px","font-size":"32px",cursor:"pointer"},on:{click:e.cancel}},[r("i",{staticClass:"ivu-icon ivu-icon-ios-close"})])]),e._v(" "),"0"===e.showType?r("div",{staticClass:"bsp_custom_box"},[e.searchShow?r("Form",{staticClass:"formbox",attrs:{"label-width":100}},[r("div",{staticClass:"bsp_searchBox steylehang"},[e._l(e.conditionField,function(t,n){return[r("FormItem",{key:n,attrs:{label:t.comment+":"}},["02"===t.controlType?[r("s-dicgrid",{ref:"dicGrid",refInFor:!0,style:t.controlStyle?t.controlStyle:"width:220px",attrs:{dicName:t.dicName},model:{value:t.searchValue,callback:function(r){e.$set(t,"searchValue",r)},expression:"condi.searchValue"}})]:"03"===t.controlType&&"between"===t.condition?[r("el-date-picker",{style:t.controlStyle,attrs:{format:t.dateFormat,"value-format":"yyyy-MM-dd",size:"small",type:"date",placeholder:"开始日期"},model:{value:t.start,callback:function(r){e.$set(t,"start",r)},expression:"condi.start"}}),e._v("\n\t\t\t\t\t\t\t\t\t至\n\t\t\t\t\t\t\t\t\t"),r("el-date-picker",{style:t.controlStyle,attrs:{format:t.dateFormat,"value-format":"yyyy-MM-dd",size:"small",type:"date",placeholder:"结束日期"},model:{value:t.end,callback:function(r){e.$set(t,"end",r)},expression:"condi.end"}})]:"03"===t.controlType?[r("el-date-picker",{style:t.dateFormat,attrs:{format:t.format,"value-format":"yyyy-MM-dd",size:"small",type:"date",placeholder:"选择日期"},model:{value:t.searchValue,callback:function(r){e.$set(t,"searchValue",r)},expression:"condi.searchValue"}})]:"04"===t.controlType&&"between"===t.condition?[r("el-date-picker",{style:t.controlStyle,attrs:{format:t.dateFormat,"value-format":t.dateFormat,size:"small",type:"datetime",placeholder:"开始日期"},model:{value:t.start,callback:function(r){e.$set(t,"start",r)},expression:"condi.start"}}),e._v("\n\t\t\t\t\t\t\t\t\t至\n\t\t\t\t\t\t\t\t\t"),r("el-date-picker",{style:t.controlStyle,attrs:{format:t.dateFormat,"value-format":t.dateFormat,size:"small",type:"datetime",placeholder:"结束日期"},model:{value:t.end,callback:function(r){e.$set(t,"end",r)},expression:"condi.end"}})]:"04"===t.controlType?[r("el-date-picker",{style:t.dateFormat,attrs:{format:t.format,"value-format":t.dateFormat,size:"small",type:"datetime",placeholder:"选择日期"},model:{value:t.searchValue,callback:function(r){e.$set(t,"searchValue",r)},expression:"condi.searchValue"}})]:[r("Input",{style:t.controlStyle,attrs:{placeholder:""},on:{"on-enter":function(t){return e.query_data(1)}},model:{value:t.searchValue,callback:function(r){e.$set(t,"searchValue",r)},expression:"condi.searchValue"}})]],2)]}),e._v(" "),r("div",{staticClass:"bsp_custom_btnBox"},[r("Button",{staticClass:"bsp_custom_button bsp_custom_btn1",attrs:{type:"primary"},on:{click:function(t){return e.query_data(1)}}},[e._v("查 询")])],1)],2)]):e._e(),e._v(" "),r("div",{staticStyle:{width:"100%"}},[r("Table",{ref:"table",attrs:{loading:e.loading,"tooltip-theme":"light",height:e.modalHeight,width:e.modalWidth-20,columns:e.tableColumns,data:e.tableData,stripe:"",border:""},on:{"on-selection-change":e.on_batch_select,"on-sort-change":e.on_sort_change,"on-row-click":e.on_row_click}})],1),e._v(" "),"1"===e.isPage?[r("div",{staticClass:"page_box"},[e.showCheckbox?r("span",{staticClass:"page-Data"},[e._v("共选中"),r("i",[e._v(e._s(e.batch_select.length))]),e._v("条数据")]):e._e(),e._v(" "),r("div",{staticStyle:{float:"right"}},[r("Page",{staticStyle:{display:"inline-block",margin:"10px 0"},attrs:{total:e.totalNum,current:e.pageNo,"page-size":e.pageSize,"page-size-opts":e.pageSizeOpts,size:"small","show-elevator":"","show-sizer":""},on:{"on-change":e.change_page,"on-page-size-change":e.change_size}}),e._v(" "),r("span",{staticClass:"bsp_custom_Total"},[e._v("共 "+e._s(e.totalNum)+" 条 ")])],1)])]:e._e()],2):e._e(),e._v(" "),"1"===e.showType?r("div",{staticClass:"bsp_custom-org-tree",style:{width:e.modalWidth-20+"px"}},[r("div",{staticClass:"org-search-box"},[r("Input",{staticStyle:{width:"80%"},attrs:{suffix:"ios-search",placeholder:"搜索"},on:{"on-change":e.searchField},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}})],1),e._v(" "),r("div",{staticClass:"content-box bsp-scroll",staticStyle:{padding:"10px 5px 15px 0px"}},[r("el-tree",{ref:"dialogTree",attrs:{data:e.treeData,"node-key":e.displayField[0].id.toLowerCase(),"expand-on-click-node":!1,"show-checkbox":!("1"===e.isSingle),"check-strictly":!0,"highlight-current":!0,accordion:!1,"check-on-click-node":!0,"filter-node-method":e.filterNode,indent:26,"render-content":e.renderContent,"icon-class":"el-icon-arrow-right"},on:{check:e.checkChange}})],1),e._v(" "),e.loading?r("Spin",{attrs:{size:"large",fix:""}}):e._e()],1):e._e(),e._v(" "),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("Button",{staticStyle:{margin:"0 15px"},attrs:{type:"error"},on:{click:e.cancel}},[e._v("取 消")]),e._v(" "),r("Button",{attrs:{type:"primary"},on:{click:e.confirm}},[e._v("确 认")])],1)])],2)},o=[],i={render:n,staticRenderFns:o};t.a=i}])});
|
|
77884
77896
|
//# sourceMappingURL=sd-custom-dialog.js.map
|
|
77885
77897
|
|
|
77886
77898
|
/***/ }),
|