three-trees-ui 1.0.46 → 1.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/three-trees-ui.common.js +171 -39
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +171 -39
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.js +17 -8
- package/packages/CustomDialog/src/customDialog.vue +8 -7
- package/src/directive/formulas.js +132 -1
|
@@ -1907,13 +1907,6 @@ const SubPagination = {
|
|
|
1907
1907
|
/* unused harmony reexport * */
|
|
1908
1908
|
|
|
1909
1909
|
|
|
1910
|
-
/***/ }),
|
|
1911
|
-
|
|
1912
|
-
/***/ "1c3d":
|
|
1913
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1914
|
-
|
|
1915
|
-
// extracted by mini-css-extract-plugin
|
|
1916
|
-
|
|
1917
1910
|
/***/ }),
|
|
1918
1911
|
|
|
1919
1912
|
/***/ "1e27":
|
|
@@ -2395,7 +2388,7 @@ const Formulas = {
|
|
|
2395
2388
|
}
|
|
2396
2389
|
args.forEach(item => {
|
|
2397
2390
|
item = Formulas.parseNumber(item);
|
|
2398
|
-
num
|
|
2391
|
+
num = Formulas.floatAdd(num, item);
|
|
2399
2392
|
});
|
|
2400
2393
|
return num;
|
|
2401
2394
|
},
|
|
@@ -2775,6 +2768,132 @@ const Formulas = {
|
|
|
2775
2768
|
}
|
|
2776
2769
|
return new Date(Date.parse(str.replace(/-/g, '/')));
|
|
2777
2770
|
},
|
|
2771
|
+
//格式化
|
|
2772
|
+
toNonExponential(num) {
|
|
2773
|
+
if (num == null) {
|
|
2774
|
+
return num;
|
|
2775
|
+
}
|
|
2776
|
+
if (typeof num == 'number') {
|
|
2777
|
+
var m = num.toExponential().match(/\d(?:\.(\d*))?e([+-]\d+)/);
|
|
2778
|
+
return num.toFixed(Math.max(0, (m[1] || '').length - m[2]));
|
|
2779
|
+
} else {
|
|
2780
|
+
return num;
|
|
2781
|
+
}
|
|
2782
|
+
},
|
|
2783
|
+
// 加
|
|
2784
|
+
floatAdd(arg1, arg2) {
|
|
2785
|
+
arg1 = Number(arg1) || 0;
|
|
2786
|
+
arg2 = Number(arg2) || 0;
|
|
2787
|
+
arg1 = Formulas.toNonExponential(arg1);
|
|
2788
|
+
arg2 = Formulas.toNonExponential(arg2);
|
|
2789
|
+
var r1, r2, m;
|
|
2790
|
+
try {
|
|
2791
|
+
r1 = arg1.toString().split('.')[1].length;
|
|
2792
|
+
} catch (e) {
|
|
2793
|
+
r1 = 0;
|
|
2794
|
+
}
|
|
2795
|
+
try {
|
|
2796
|
+
r2 = arg2.toString().split('.')[1].length;
|
|
2797
|
+
} catch (e) {
|
|
2798
|
+
r2 = 0;
|
|
2799
|
+
}
|
|
2800
|
+
m = Math.pow(10, Math.max(r1, r2));
|
|
2801
|
+
return (Formulas.floatMultiply(arg1, m) + Formulas.floatMultiply(arg2, m)) / m;
|
|
2802
|
+
},
|
|
2803
|
+
// 减
|
|
2804
|
+
floatSub(arg1, arg2) {
|
|
2805
|
+
arg1 = Number(arg1) || 0;
|
|
2806
|
+
arg2 = Number(arg2) || 0;
|
|
2807
|
+
arg1 = Formulas.toNonExponential(arg1);
|
|
2808
|
+
arg2 = Formulas.toNonExponential(arg2);
|
|
2809
|
+
var r1, r2, m, n;
|
|
2810
|
+
try {
|
|
2811
|
+
r1 = arg1.toString().split('.')[1].length;
|
|
2812
|
+
} catch (e) {
|
|
2813
|
+
r1 = 0;
|
|
2814
|
+
}
|
|
2815
|
+
try {
|
|
2816
|
+
r2 = arg2.toString().split('.')[1].length;
|
|
2817
|
+
} catch (e) {
|
|
2818
|
+
r2 = 0;
|
|
2819
|
+
}
|
|
2820
|
+
m = Math.pow(10, Math.max(r1, r2));
|
|
2821
|
+
// 动态控制精度长度
|
|
2822
|
+
n = r1 >= r2 ? r1 : r2;
|
|
2823
|
+
return ((Formulas.floatMultiply(arg1, m) - Formulas.floatMultiply(arg2, m)) / m).toFixed(n);
|
|
2824
|
+
},
|
|
2825
|
+
//乘
|
|
2826
|
+
floatMultiply(arg1, arg2) {
|
|
2827
|
+
arg1 = Number(arg1);
|
|
2828
|
+
arg2 = Number(arg2);
|
|
2829
|
+
if (!arg1 && arg1 !== 0 || !arg2 && arg2 !== 0) {
|
|
2830
|
+
return null;
|
|
2831
|
+
}
|
|
2832
|
+
arg1 = Formulas.toNonExponential(arg1);
|
|
2833
|
+
arg2 = Formulas.toNonExponential(arg2);
|
|
2834
|
+
var n1, n2;
|
|
2835
|
+
var r1, r2; // 小数位数
|
|
2836
|
+
try {
|
|
2837
|
+
r1 = arg1.toString().split('.')[1].length;
|
|
2838
|
+
} catch (e) {
|
|
2839
|
+
r1 = 0;
|
|
2840
|
+
}
|
|
2841
|
+
try {
|
|
2842
|
+
r2 = arg2.toString().split('.')[1].length;
|
|
2843
|
+
} catch (e) {
|
|
2844
|
+
r2 = 0;
|
|
2845
|
+
}
|
|
2846
|
+
n1 = Number(arg1.toString().replace('.', ''));
|
|
2847
|
+
n2 = Number(arg2.toString().replace('.', ''));
|
|
2848
|
+
return n1 * n2 / Math.pow(10, r1 + r2);
|
|
2849
|
+
},
|
|
2850
|
+
//除
|
|
2851
|
+
floatDivide(arg1, arg2) {
|
|
2852
|
+
arg1 = Number(arg1);
|
|
2853
|
+
arg2 = Number(arg2);
|
|
2854
|
+
if (!arg2) {
|
|
2855
|
+
return null;
|
|
2856
|
+
}
|
|
2857
|
+
if (!arg1 && arg1 !== 0) {
|
|
2858
|
+
return null;
|
|
2859
|
+
} else if (arg1 === 0) {
|
|
2860
|
+
return 0;
|
|
2861
|
+
}
|
|
2862
|
+
arg1 = Formulas.toNonExponential(arg1);
|
|
2863
|
+
arg2 = Formulas.toNonExponential(arg2);
|
|
2864
|
+
var n1, n2;
|
|
2865
|
+
var r1, r2; // 小数位数
|
|
2866
|
+
try {
|
|
2867
|
+
r1 = arg1.toString().split('.')[1].length;
|
|
2868
|
+
} catch (e) {
|
|
2869
|
+
r1 = 0;
|
|
2870
|
+
}
|
|
2871
|
+
try {
|
|
2872
|
+
r2 = arg2.toString().split('.')[1].length;
|
|
2873
|
+
} catch (e) {
|
|
2874
|
+
r2 = 0;
|
|
2875
|
+
}
|
|
2876
|
+
n1 = Number(arg1.toString().replace('.', ''));
|
|
2877
|
+
n2 = Number(arg2.toString().replace('.', ''));
|
|
2878
|
+
return Formulas.floatMultiply(n1 / n2, Math.pow(10, r2 - r1));
|
|
2879
|
+
},
|
|
2880
|
+
//余
|
|
2881
|
+
floatMod(arg1, arg2) {
|
|
2882
|
+
arg1 = Number(arg1);
|
|
2883
|
+
arg2 = Number(arg2);
|
|
2884
|
+
if (!arg2) {
|
|
2885
|
+
return null;
|
|
2886
|
+
}
|
|
2887
|
+
if (!arg1 && arg1 !== 0) {
|
|
2888
|
+
return null;
|
|
2889
|
+
} else if (arg1 === 0) {
|
|
2890
|
+
return 0;
|
|
2891
|
+
}
|
|
2892
|
+
let intNum = arg1 / arg2;
|
|
2893
|
+
intNum = intNum < 0 ? Math.ceil(arg1 / arg2) : Math.floor(arg1 / arg2); // -1.02 取整为 -1; 1.02取整为1
|
|
2894
|
+
let intVal = Formulas.floatMultiply(intNum, arg2);
|
|
2895
|
+
return Formulas.floatSub(arg1, intVal);
|
|
2896
|
+
},
|
|
2778
2897
|
getArrayByPath(obj) {
|
|
2779
2898
|
let array = [];
|
|
2780
2899
|
if (!obj.data) return array;
|
|
@@ -4666,7 +4785,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4666
4785
|
/***/ "9224":
|
|
4667
4786
|
/***/ (function(module) {
|
|
4668
4787
|
|
|
4669
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4788
|
+
module.exports = JSON.parse("{\"a\":\"1.0.48\"}");
|
|
4670
4789
|
|
|
4671
4790
|
/***/ }),
|
|
4672
4791
|
|
|
@@ -6279,17 +6398,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6279
6398
|
/* unused harmony reexport * */
|
|
6280
6399
|
|
|
6281
6400
|
|
|
6282
|
-
/***/ }),
|
|
6283
|
-
|
|
6284
|
-
/***/ "b316":
|
|
6285
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6286
|
-
|
|
6287
|
-
"use strict";
|
|
6288
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_7e1d5bb0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1c3d");
|
|
6289
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_7e1d5bb0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_7e1d5bb0_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6290
|
-
/* unused harmony reexport * */
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
6401
|
/***/ }),
|
|
6294
6402
|
|
|
6295
6403
|
/***/ "b377":
|
|
@@ -6573,6 +6681,13 @@ module.exports = require("jquery");
|
|
|
6573
6681
|
/* unused harmony reexport * */
|
|
6574
6682
|
|
|
6575
6683
|
|
|
6684
|
+
/***/ }),
|
|
6685
|
+
|
|
6686
|
+
/***/ "c6d3":
|
|
6687
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6688
|
+
|
|
6689
|
+
// extracted by mini-css-extract-plugin
|
|
6690
|
+
|
|
6576
6691
|
/***/ }),
|
|
6577
6692
|
|
|
6578
6693
|
/***/ "c812":
|
|
@@ -6633,6 +6748,17 @@ module.exports = g;
|
|
|
6633
6748
|
/* unused harmony reexport * */
|
|
6634
6749
|
|
|
6635
6750
|
|
|
6751
|
+
/***/ }),
|
|
6752
|
+
|
|
6753
|
+
/***/ "cd9a":
|
|
6754
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6755
|
+
|
|
6756
|
+
"use strict";
|
|
6757
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_2474e48a_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c6d3");
|
|
6758
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_2474e48a_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_customDialog_vue_vue_type_style_index_0_id_2474e48a_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6759
|
+
/* unused harmony reexport * */
|
|
6760
|
+
|
|
6761
|
+
|
|
6636
6762
|
/***/ }),
|
|
6637
6763
|
|
|
6638
6764
|
/***/ "cebe":
|
|
@@ -23894,7 +24020,8 @@ var mainvue_type_template_id_327e638e_scoped_true_staticRenderFns = []
|
|
|
23894
24020
|
dialogData: [],
|
|
23895
24021
|
total: 0,
|
|
23896
24022
|
form: {},
|
|
23897
|
-
itemSavestate: {}
|
|
24023
|
+
itemSavestate: {},
|
|
24024
|
+
loadingInstance: null
|
|
23898
24025
|
};
|
|
23899
24026
|
},
|
|
23900
24027
|
methods: {
|
|
@@ -23909,12 +24036,16 @@ var mainvue_type_template_id_327e638e_scoped_true_staticRenderFns = []
|
|
|
23909
24036
|
this.dialogData = data;
|
|
23910
24037
|
}
|
|
23911
24038
|
},
|
|
24039
|
+
closeLoadingInstance() {
|
|
24040
|
+
if (this.loadingInstance) {
|
|
24041
|
+
this.loadingInstance.close();
|
|
24042
|
+
}
|
|
24043
|
+
},
|
|
23912
24044
|
getDialoglistJson(pagination) {
|
|
23913
|
-
let loadingInstance;
|
|
23914
24045
|
if (this.isMobile) {
|
|
23915
24046
|
this.$showLoading();
|
|
23916
24047
|
} else {
|
|
23917
|
-
loadingInstance = external_element_ui_["Loading"].service({
|
|
24048
|
+
this.loadingInstance = external_element_ui_["Loading"].service({
|
|
23918
24049
|
fullscreen: true,
|
|
23919
24050
|
text: '查询中...'
|
|
23920
24051
|
});
|
|
@@ -23927,7 +24058,7 @@ var mainvue_type_template_id_327e638e_scoped_true_staticRenderFns = []
|
|
|
23927
24058
|
if (this.isMobile) {
|
|
23928
24059
|
this.$cancelLoading();
|
|
23929
24060
|
} else {
|
|
23930
|
-
loadingInstance.close();
|
|
24061
|
+
this.loadingInstance.close();
|
|
23931
24062
|
}
|
|
23932
24063
|
const listKey = pagination.listKey ? pagination.listKey : pagination.dsType && pagination.dsType == 'dataSource' ? 'rows' : '';
|
|
23933
24064
|
if (!listKey) {
|
|
@@ -23954,11 +24085,11 @@ var mainvue_type_template_id_327e638e_scoped_true_staticRenderFns = []
|
|
|
23954
24085
|
};
|
|
23955
24086
|
this.setPagination(pageBean);
|
|
23956
24087
|
this.setTodoRows(rows); //列表数据
|
|
23957
|
-
}).catch(
|
|
24088
|
+
}).catch(() => {
|
|
23958
24089
|
if (this.isMobile) {
|
|
23959
24090
|
this.$cancelLoading();
|
|
23960
24091
|
} else {
|
|
23961
|
-
loadingInstance.close();
|
|
24092
|
+
this.loadingInstance.close();
|
|
23962
24093
|
}
|
|
23963
24094
|
});
|
|
23964
24095
|
},
|
|
@@ -24002,18 +24133,18 @@ var mainvue_type_template_id_327e638e_scoped_true_staticRenderFns = []
|
|
|
24002
24133
|
}
|
|
24003
24134
|
}
|
|
24004
24135
|
});
|
|
24005
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6b82e520-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
24006
|
-
var
|
|
24136
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6b82e520-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=2474e48a&scoped=true&
|
|
24137
|
+
var customDialogvue_type_template_id_2474e48a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{"visible":_vm.customDialogShowList,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancel,"append-to-body":"","top":"6vh","width":"75%"},on:{"update:visible":function($event){_vm.customDialogShowList=$event},"opened":_vm.afterOpen}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[(_vm.customDialog.style == 2)?_c('el-aside',{directives:[{name:"show",rawName:"v-show",value:(_vm.treeShow),expression:"treeShow"}],staticStyle:{"width":"23%"}},[_c('el-card',[_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(_vm.leftTreeTitle))])]),_c('el-tree',{ref:"combinationTree",attrs:{"data":_vm.combinationTreeData,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","check-on-click-node":true,"lazy":"","load":_vm.loadTree},on:{"node-click":_vm.combiTreeClick}})],1)],1):_vm._e(),(_vm.customDialog.style == 2)?_c('el-divider',{attrs:{"direction":"vertical"}}):_vm._e(),_c('el-container',[(_vm.querysShow)?_c('el-header',{staticClass:"middle-header"},[_vm._l((_vm.conditionBind),function(condition,index){return _c('div',{key:index,staticClass:"search-item"},[_c('p',{attrs:{"title":condition.comment}},[_vm._v(_vm._s(condition.comment)+":")]),(condition.controllerType == '1')?_c('div',{staticClass:"search-item_main"},[_c('el-input',{attrs:{"size":"small","clearable":"","placeholder":_vm.placeholders[index],"prefix-icon":"el-icon-search"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.searchEnterFun($event)}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '2')?_c('div',{staticClass:"search-item_main"},_vm._l((condition.config.options),function(itemR,$index1){return _c('el-radio',{key:$index1,attrs:{"label":itemR.key},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}},[_vm._v("\n "+_vm._s(itemR.value)+"\n ")])}),1):_vm._e(),(condition.controllerType == '3')?_c('div',{staticClass:"search-item_main"},[(condition.config.choiceType == 'static')?_c('ht-select',{attrs:{"placeholder":_vm.quickSearch,"multiple":condition.config.multiple,"options":condition.config.options},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}}):_c('ht-dictionary',{attrs:{"dickey":condition.config.dic,"filterable":condition.config.filterable},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '4')?_c('div',{staticClass:"search-item_main"},[_c('eip-tag',{attrs:{"tag-key":condition.config.tag,"placeholder":_vm.quickSearch,"filterable":condition.config.filterable,"expand":condition.config.expand},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '6')?_c('div',{staticClass:"search-item_main"},[(condition.condition == 'BETWEEN')?_c('div',{staticClass:"search-item_date"},[_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
|
|
24007
24138
|
? 'yyyy-MM-dd HH:mm:ss'
|
|
24008
|
-
: condition.config.inputFormat,"
|
|
24139
|
+
: condition.config.inputFormat,"value-format":condition.config.inputFormat.includes('mm:ss')
|
|
24009
24140
|
? 'yyyy-MM-dd HH:mm:ss'
|
|
24010
24141
|
: condition.config.inputFormat},model:{value:(_vm.queryParams[index].startDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "startDate", $$v)},expression:"queryParams[index].startDate"}}),_vm._v("\n 至\n "),_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
|
|
24011
24142
|
? 'yyyy-MM-dd HH:mm:ss'
|
|
24012
|
-
: condition.config.inputFormat,"
|
|
24143
|
+
: condition.config.inputFormat,"value-format":condition.config.inputFormat.includes('mm:ss')
|
|
24013
24144
|
? 'yyyy-MM-dd HH:mm:ss'
|
|
24014
24145
|
: condition.config.inputFormat},model:{value:(_vm.queryParams[index].endDate),callback:function ($$v) {_vm.$set(_vm.queryParams[index], "endDate", $$v)},expression:"queryParams[index].endDate"}})],1):_c('ht-date',{attrs:{"format":condition.config.inputFormat.includes('mm:ss')
|
|
24015
24146
|
? 'yyyy-MM-dd HH:mm:ss'
|
|
24016
|
-
: condition.config.inputFormat,"
|
|
24147
|
+
: condition.config.inputFormat,"value-format":condition.config.inputFormat.includes('mm:ss')
|
|
24017
24148
|
? 'yyyy-MM-dd HH:mm:ss'
|
|
24018
24149
|
: condition.config.inputFormat},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e(),(condition.controllerType == '7')?_c('div',{staticClass:"search-item_main"},[(condition.config.alias == 'user')?_c('ht-user-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
24019
24150
|
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
@@ -24027,7 +24158,7 @@ var customDialogvue_type_template_id_7e1d5bb0_scoped_true_render = function () {
|
|
|
24027
24158
|
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
24028
24159
|
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
24029
24160
|
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
24030
|
-
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',{staticClass:"search-item_main"},[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.valueBind,"
|
|
24161
|
+
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',{staticClass:"search-item_main"},[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.valueBind,"dialog-type":"search","custdialog":{
|
|
24031
24162
|
name: '请选择',
|
|
24032
24163
|
icon: '',
|
|
24033
24164
|
custDialog: {
|
|
@@ -24039,10 +24170,10 @@ var customDialogvue_type_template_id_7e1d5bb0_scoped_true_render = function () {
|
|
|
24039
24170
|
type: 'custDialog',
|
|
24040
24171
|
},
|
|
24041
24172
|
}},model:{value:(_vm.queryParams[index][condition.field]),callback:function ($$v) {_vm.$set(_vm.queryParams[index], condition.field, $$v)},expression:"queryParams[index][condition.field]"}})],1):_vm._e()])}),(_vm.conditionBind && _vm.conditionBind.length > 0)?_c('div',{staticClass:"btn-wrap"},[_c('el-button',{staticStyle:{"margin-left":"20px"},attrs:{"size":"small","type":"primary","icon":"el-icon-search"},on:{"click":function($event){return _vm.search(true)}}},[_vm._v("\n 查询\n ")]),_c('el-button',{attrs:{"size":"small","icon":"el-icon-refresh"},on:{"click":_vm.reset}},[_vm._v("\n 重置\n ")])],1):_vm._e()],2):_vm._e(),_c('el-main',{ref:"customTableRef",staticClass:"custom-dialog_main"},[_c('el-table',{ref:"orgTable",staticClass:"org-table",staticStyle:{"width":"100%"},attrs:{"data":_vm.dialogData,"stripe":"","border":"","size":"medium","height":_vm.tableHeight},on:{"row-click":_vm.orgRowClick,"selection-change":_vm.orgTableSelection,"select":_vm.onTableSelect,"select-all":_vm.selectAll}},[(_vm.customDialog.selectNum != 1)?_c('el-table-column',{attrs:{"type":"selection","align":"center","width":"55"}}):_vm._e(),(_vm.customDialog.selectNum === 1)?_c('el-table-column',{attrs:{"align":"center","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-radio',{staticClass:"textRadio",attrs:{"label":scope.$index},on:{"selection-change":_vm.orgTableSelection},model:{value:(_vm.tableRadioVal),callback:function ($$v) {_vm.tableRadioVal=$$v},expression:"tableRadioVal"}},[_vm._v("\n \n ")])]}}],null,false,918943478)}):_vm._e(),_c('el-table-column',{attrs:{"type":"index","width":"50","align":"center","label":"序号"}}),_vm._l((_vm.sortDisplayfield),function(field){return _c('el-table-column',{key:field.field,attrs:{"prop":field.field,"label":field.comment,"width":field.width || ''}})})],2)],1),_c('el-footer',[(_vm.customDialog.needPage)?_c('el-row',{staticStyle:{"padding-top":"15px","justify-content":"space-between"},attrs:{"type":"flex","justify":"end"}},[(_vm.customDialog.style == 2)?_c('el-button',{attrs:{"icon":_vm.toggleBtn,"size":"mini","type":"default"},on:{"click":_vm.toggleTree}}):_vm._e(),_c('el-pagination',{attrs:{"small":"","current-page":_vm.pagination.page,"page-sizes":[10, 20, 50, 100],"page-size":_vm.pagination.pageSize,"layout":"total, sizes, prev, pager, next, jumper","total":_vm.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()],1)],1)],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancel}},[_vm._v("取 消")])],1)],1),_c('el-dialog',{attrs:{"title":"动态传入参数查询","width":"500px","visible":_vm.dialogVisible,"before-close":_vm.handleClose,"close-on-click-modal":false,"top":"6vh"},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('table',{staticClass:"form-table",staticStyle:{"margin-left":"20px","width":"90%"},attrs:{"cellspacing":"0","cellpadding":"0","border":"0"}},_vm._l((_vm.conditionfieldTree),function(item,$index){return _c('tbody',{key:$index},[(item.defaultType == '4')?_c('tr',[_c('th',{attrs:{"width":"130px"}},[_vm._v(_vm._s(item.comment)+":")]),_c('td',[(item.type != 'date')?_c('ht-input',{staticStyle:{"width":"100%"},attrs:{"type":"text","placeholder":'请输入' + item.comment,"autocomplete":"off"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e(),(item.type == 'date')?_c('ht-date',{staticStyle:{"width":"100%"},attrs:{"placeholder":'请输入' + item.comment,"format":"yyyy-MM-dd"},model:{value:(item.paramVal),callback:function ($$v) {_vm.$set(item, "paramVal", $$v)},expression:"item.paramVal"}}):_vm._e()],1)]):_vm._e()])}),0),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.handleClose}},[_vm._v("取 消")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.customDialogShowTree,"title":_vm.customDialog.name,"close-on-click-modal":false,"before-close":_vm.dialogCancelTree,"append-to-body":"","top":"6vh","width":"500px"},on:{"update:visible":function($event){_vm.customDialogShowTree=$event}}},[_c('el-container',{staticStyle:{"overflow":"auto"},style:(_vm.style)},[_c('el-tree',{ref:"tree",staticStyle:{"width":"100%"},attrs:{"data":_vm.props1,"props":_vm.defaultProps,"node-key":_vm.nodeKey,"highlight-current":"","show-checkbox":_vm.customDialog.selectNum === -1,"check-on-click-node":true,"check-strictly":false,"lazy":"","load":_vm.loadTree,"default-expanded-keys":_vm.defaultExpandedKeys},on:{"node-click":_vm.treeClick,"check-change":_vm.getChecked}})],1),_c('span',{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.dialogTreeConfirm}},[_vm._v("\n 确认\n ")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.dialogCancelTree}},[_vm._v("取 消")])],1)],1)],1)}
|
|
24042
|
-
var
|
|
24173
|
+
var customDialogvue_type_template_id_2474e48a_scoped_true_staticRenderFns = []
|
|
24043
24174
|
|
|
24044
24175
|
|
|
24045
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
24176
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=2474e48a&scoped=true&
|
|
24046
24177
|
|
|
24047
24178
|
// EXTERNAL MODULE: external "jquery"
|
|
24048
24179
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -25469,6 +25600,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25469
25600
|
const this_ = this;
|
|
25470
25601
|
this_.queryParam = '';
|
|
25471
25602
|
this.setDialogData([]);
|
|
25603
|
+
this.closeLoadingInstance();
|
|
25472
25604
|
this_.customDialogShowList = false;
|
|
25473
25605
|
//判断是否是点击了确认再点击取消的 inputVal没有值则表示直接点击的取消
|
|
25474
25606
|
if (!this_.inputVal) {
|
|
@@ -25875,8 +26007,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25875
26007
|
});
|
|
25876
26008
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25877
26009
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25878
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25879
|
-
var
|
|
26010
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=2474e48a&prod&lang=scss&scoped=true&
|
|
26011
|
+
var customDialogvue_type_style_index_0_id_2474e48a_prod_lang_scss_scoped_true_ = __webpack_require__("cd9a");
|
|
25880
26012
|
|
|
25881
26013
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25882
26014
|
|
|
@@ -25889,11 +26021,11 @@ var customDialogvue_type_style_index_0_id_7e1d5bb0_prod_lang_scss_scoped_true_ =
|
|
|
25889
26021
|
|
|
25890
26022
|
var customDialog_component = normalizeComponent(
|
|
25891
26023
|
src_customDialogvue_type_script_lang_js_,
|
|
25892
|
-
|
|
25893
|
-
|
|
26024
|
+
customDialogvue_type_template_id_2474e48a_scoped_true_render,
|
|
26025
|
+
customDialogvue_type_template_id_2474e48a_scoped_true_staticRenderFns,
|
|
25894
26026
|
false,
|
|
25895
26027
|
null,
|
|
25896
|
-
"
|
|
26028
|
+
"2474e48a",
|
|
25897
26029
|
null
|
|
25898
26030
|
|
|
25899
26031
|
)
|