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
|
@@ -1916,13 +1916,6 @@ const SubPagination = {
|
|
|
1916
1916
|
/* unused harmony reexport * */
|
|
1917
1917
|
|
|
1918
1918
|
|
|
1919
|
-
/***/ }),
|
|
1920
|
-
|
|
1921
|
-
/***/ "1c3d":
|
|
1922
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1923
|
-
|
|
1924
|
-
// extracted by mini-css-extract-plugin
|
|
1925
|
-
|
|
1926
1919
|
/***/ }),
|
|
1927
1920
|
|
|
1928
1921
|
/***/ "1e27":
|
|
@@ -2404,7 +2397,7 @@ const Formulas = {
|
|
|
2404
2397
|
}
|
|
2405
2398
|
args.forEach(item => {
|
|
2406
2399
|
item = Formulas.parseNumber(item);
|
|
2407
|
-
num
|
|
2400
|
+
num = Formulas.floatAdd(num, item);
|
|
2408
2401
|
});
|
|
2409
2402
|
return num;
|
|
2410
2403
|
},
|
|
@@ -2784,6 +2777,132 @@ const Formulas = {
|
|
|
2784
2777
|
}
|
|
2785
2778
|
return new Date(Date.parse(str.replace(/-/g, '/')));
|
|
2786
2779
|
},
|
|
2780
|
+
//格式化
|
|
2781
|
+
toNonExponential(num) {
|
|
2782
|
+
if (num == null) {
|
|
2783
|
+
return num;
|
|
2784
|
+
}
|
|
2785
|
+
if (typeof num == 'number') {
|
|
2786
|
+
var m = num.toExponential().match(/\d(?:\.(\d*))?e([+-]\d+)/);
|
|
2787
|
+
return num.toFixed(Math.max(0, (m[1] || '').length - m[2]));
|
|
2788
|
+
} else {
|
|
2789
|
+
return num;
|
|
2790
|
+
}
|
|
2791
|
+
},
|
|
2792
|
+
// 加
|
|
2793
|
+
floatAdd(arg1, arg2) {
|
|
2794
|
+
arg1 = Number(arg1) || 0;
|
|
2795
|
+
arg2 = Number(arg2) || 0;
|
|
2796
|
+
arg1 = Formulas.toNonExponential(arg1);
|
|
2797
|
+
arg2 = Formulas.toNonExponential(arg2);
|
|
2798
|
+
var r1, r2, m;
|
|
2799
|
+
try {
|
|
2800
|
+
r1 = arg1.toString().split('.')[1].length;
|
|
2801
|
+
} catch (e) {
|
|
2802
|
+
r1 = 0;
|
|
2803
|
+
}
|
|
2804
|
+
try {
|
|
2805
|
+
r2 = arg2.toString().split('.')[1].length;
|
|
2806
|
+
} catch (e) {
|
|
2807
|
+
r2 = 0;
|
|
2808
|
+
}
|
|
2809
|
+
m = Math.pow(10, Math.max(r1, r2));
|
|
2810
|
+
return (Formulas.floatMultiply(arg1, m) + Formulas.floatMultiply(arg2, m)) / m;
|
|
2811
|
+
},
|
|
2812
|
+
// 减
|
|
2813
|
+
floatSub(arg1, arg2) {
|
|
2814
|
+
arg1 = Number(arg1) || 0;
|
|
2815
|
+
arg2 = Number(arg2) || 0;
|
|
2816
|
+
arg1 = Formulas.toNonExponential(arg1);
|
|
2817
|
+
arg2 = Formulas.toNonExponential(arg2);
|
|
2818
|
+
var r1, r2, m, n;
|
|
2819
|
+
try {
|
|
2820
|
+
r1 = arg1.toString().split('.')[1].length;
|
|
2821
|
+
} catch (e) {
|
|
2822
|
+
r1 = 0;
|
|
2823
|
+
}
|
|
2824
|
+
try {
|
|
2825
|
+
r2 = arg2.toString().split('.')[1].length;
|
|
2826
|
+
} catch (e) {
|
|
2827
|
+
r2 = 0;
|
|
2828
|
+
}
|
|
2829
|
+
m = Math.pow(10, Math.max(r1, r2));
|
|
2830
|
+
// 动态控制精度长度
|
|
2831
|
+
n = r1 >= r2 ? r1 : r2;
|
|
2832
|
+
return ((Formulas.floatMultiply(arg1, m) - Formulas.floatMultiply(arg2, m)) / m).toFixed(n);
|
|
2833
|
+
},
|
|
2834
|
+
//乘
|
|
2835
|
+
floatMultiply(arg1, arg2) {
|
|
2836
|
+
arg1 = Number(arg1);
|
|
2837
|
+
arg2 = Number(arg2);
|
|
2838
|
+
if (!arg1 && arg1 !== 0 || !arg2 && arg2 !== 0) {
|
|
2839
|
+
return null;
|
|
2840
|
+
}
|
|
2841
|
+
arg1 = Formulas.toNonExponential(arg1);
|
|
2842
|
+
arg2 = Formulas.toNonExponential(arg2);
|
|
2843
|
+
var n1, n2;
|
|
2844
|
+
var r1, r2; // 小数位数
|
|
2845
|
+
try {
|
|
2846
|
+
r1 = arg1.toString().split('.')[1].length;
|
|
2847
|
+
} catch (e) {
|
|
2848
|
+
r1 = 0;
|
|
2849
|
+
}
|
|
2850
|
+
try {
|
|
2851
|
+
r2 = arg2.toString().split('.')[1].length;
|
|
2852
|
+
} catch (e) {
|
|
2853
|
+
r2 = 0;
|
|
2854
|
+
}
|
|
2855
|
+
n1 = Number(arg1.toString().replace('.', ''));
|
|
2856
|
+
n2 = Number(arg2.toString().replace('.', ''));
|
|
2857
|
+
return n1 * n2 / Math.pow(10, r1 + r2);
|
|
2858
|
+
},
|
|
2859
|
+
//除
|
|
2860
|
+
floatDivide(arg1, arg2) {
|
|
2861
|
+
arg1 = Number(arg1);
|
|
2862
|
+
arg2 = Number(arg2);
|
|
2863
|
+
if (!arg2) {
|
|
2864
|
+
return null;
|
|
2865
|
+
}
|
|
2866
|
+
if (!arg1 && arg1 !== 0) {
|
|
2867
|
+
return null;
|
|
2868
|
+
} else if (arg1 === 0) {
|
|
2869
|
+
return 0;
|
|
2870
|
+
}
|
|
2871
|
+
arg1 = Formulas.toNonExponential(arg1);
|
|
2872
|
+
arg2 = Formulas.toNonExponential(arg2);
|
|
2873
|
+
var n1, n2;
|
|
2874
|
+
var r1, r2; // 小数位数
|
|
2875
|
+
try {
|
|
2876
|
+
r1 = arg1.toString().split('.')[1].length;
|
|
2877
|
+
} catch (e) {
|
|
2878
|
+
r1 = 0;
|
|
2879
|
+
}
|
|
2880
|
+
try {
|
|
2881
|
+
r2 = arg2.toString().split('.')[1].length;
|
|
2882
|
+
} catch (e) {
|
|
2883
|
+
r2 = 0;
|
|
2884
|
+
}
|
|
2885
|
+
n1 = Number(arg1.toString().replace('.', ''));
|
|
2886
|
+
n2 = Number(arg2.toString().replace('.', ''));
|
|
2887
|
+
return Formulas.floatMultiply(n1 / n2, Math.pow(10, r2 - r1));
|
|
2888
|
+
},
|
|
2889
|
+
//余
|
|
2890
|
+
floatMod(arg1, arg2) {
|
|
2891
|
+
arg1 = Number(arg1);
|
|
2892
|
+
arg2 = Number(arg2);
|
|
2893
|
+
if (!arg2) {
|
|
2894
|
+
return null;
|
|
2895
|
+
}
|
|
2896
|
+
if (!arg1 && arg1 !== 0) {
|
|
2897
|
+
return null;
|
|
2898
|
+
} else if (arg1 === 0) {
|
|
2899
|
+
return 0;
|
|
2900
|
+
}
|
|
2901
|
+
let intNum = arg1 / arg2;
|
|
2902
|
+
intNum = intNum < 0 ? Math.ceil(arg1 / arg2) : Math.floor(arg1 / arg2); // -1.02 取整为 -1; 1.02取整为1
|
|
2903
|
+
let intVal = Formulas.floatMultiply(intNum, arg2);
|
|
2904
|
+
return Formulas.floatSub(arg1, intVal);
|
|
2905
|
+
},
|
|
2787
2906
|
getArrayByPath(obj) {
|
|
2788
2907
|
let array = [];
|
|
2789
2908
|
if (!obj.data) return array;
|
|
@@ -4675,7 +4794,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4675
4794
|
/***/ "9224":
|
|
4676
4795
|
/***/ (function(module) {
|
|
4677
4796
|
|
|
4678
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4797
|
+
module.exports = JSON.parse("{\"a\":\"1.0.48\"}");
|
|
4679
4798
|
|
|
4680
4799
|
/***/ }),
|
|
4681
4800
|
|
|
@@ -6288,17 +6407,6 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6288
6407
|
/* unused harmony reexport * */
|
|
6289
6408
|
|
|
6290
6409
|
|
|
6291
|
-
/***/ }),
|
|
6292
|
-
|
|
6293
|
-
/***/ "b316":
|
|
6294
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6295
|
-
|
|
6296
|
-
"use strict";
|
|
6297
|
-
/* 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");
|
|
6298
|
-
/* 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__);
|
|
6299
|
-
/* unused harmony reexport * */
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
6410
|
/***/ }),
|
|
6303
6411
|
|
|
6304
6412
|
/***/ "b377":
|
|
@@ -6582,6 +6690,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_c5e1__;
|
|
|
6582
6690
|
/* unused harmony reexport * */
|
|
6583
6691
|
|
|
6584
6692
|
|
|
6693
|
+
/***/ }),
|
|
6694
|
+
|
|
6695
|
+
/***/ "c6d3":
|
|
6696
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6697
|
+
|
|
6698
|
+
// extracted by mini-css-extract-plugin
|
|
6699
|
+
|
|
6585
6700
|
/***/ }),
|
|
6586
6701
|
|
|
6587
6702
|
/***/ "c812":
|
|
@@ -6642,6 +6757,17 @@ module.exports = g;
|
|
|
6642
6757
|
/* unused harmony reexport * */
|
|
6643
6758
|
|
|
6644
6759
|
|
|
6760
|
+
/***/ }),
|
|
6761
|
+
|
|
6762
|
+
/***/ "cd9a":
|
|
6763
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6764
|
+
|
|
6765
|
+
"use strict";
|
|
6766
|
+
/* 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");
|
|
6767
|
+
/* 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__);
|
|
6768
|
+
/* unused harmony reexport * */
|
|
6769
|
+
|
|
6770
|
+
|
|
6645
6771
|
/***/ }),
|
|
6646
6772
|
|
|
6647
6773
|
/***/ "cebe":
|
|
@@ -23903,7 +24029,8 @@ var mainvue_type_template_id_327e638e_scoped_true_staticRenderFns = []
|
|
|
23903
24029
|
dialogData: [],
|
|
23904
24030
|
total: 0,
|
|
23905
24031
|
form: {},
|
|
23906
|
-
itemSavestate: {}
|
|
24032
|
+
itemSavestate: {},
|
|
24033
|
+
loadingInstance: null
|
|
23907
24034
|
};
|
|
23908
24035
|
},
|
|
23909
24036
|
methods: {
|
|
@@ -23918,12 +24045,16 @@ var mainvue_type_template_id_327e638e_scoped_true_staticRenderFns = []
|
|
|
23918
24045
|
this.dialogData = data;
|
|
23919
24046
|
}
|
|
23920
24047
|
},
|
|
24048
|
+
closeLoadingInstance() {
|
|
24049
|
+
if (this.loadingInstance) {
|
|
24050
|
+
this.loadingInstance.close();
|
|
24051
|
+
}
|
|
24052
|
+
},
|
|
23921
24053
|
getDialoglistJson(pagination) {
|
|
23922
|
-
let loadingInstance;
|
|
23923
24054
|
if (this.isMobile) {
|
|
23924
24055
|
this.$showLoading();
|
|
23925
24056
|
} else {
|
|
23926
|
-
loadingInstance = external_element_ui_["Loading"].service({
|
|
24057
|
+
this.loadingInstance = external_element_ui_["Loading"].service({
|
|
23927
24058
|
fullscreen: true,
|
|
23928
24059
|
text: '查询中...'
|
|
23929
24060
|
});
|
|
@@ -23936,7 +24067,7 @@ var mainvue_type_template_id_327e638e_scoped_true_staticRenderFns = []
|
|
|
23936
24067
|
if (this.isMobile) {
|
|
23937
24068
|
this.$cancelLoading();
|
|
23938
24069
|
} else {
|
|
23939
|
-
loadingInstance.close();
|
|
24070
|
+
this.loadingInstance.close();
|
|
23940
24071
|
}
|
|
23941
24072
|
const listKey = pagination.listKey ? pagination.listKey : pagination.dsType && pagination.dsType == 'dataSource' ? 'rows' : '';
|
|
23942
24073
|
if (!listKey) {
|
|
@@ -23963,11 +24094,11 @@ var mainvue_type_template_id_327e638e_scoped_true_staticRenderFns = []
|
|
|
23963
24094
|
};
|
|
23964
24095
|
this.setPagination(pageBean);
|
|
23965
24096
|
this.setTodoRows(rows); //列表数据
|
|
23966
|
-
}).catch(
|
|
24097
|
+
}).catch(() => {
|
|
23967
24098
|
if (this.isMobile) {
|
|
23968
24099
|
this.$cancelLoading();
|
|
23969
24100
|
} else {
|
|
23970
|
-
loadingInstance.close();
|
|
24101
|
+
this.loadingInstance.close();
|
|
23971
24102
|
}
|
|
23972
24103
|
});
|
|
23973
24104
|
},
|
|
@@ -24011,18 +24142,18 @@ var mainvue_type_template_id_327e638e_scoped_true_staticRenderFns = []
|
|
|
24011
24142
|
}
|
|
24012
24143
|
}
|
|
24013
24144
|
});
|
|
24014
|
-
// 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=
|
|
24015
|
-
var
|
|
24145
|
+
// 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&
|
|
24146
|
+
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')
|
|
24016
24147
|
? 'yyyy-MM-dd HH:mm:ss'
|
|
24017
|
-
: condition.config.inputFormat,"
|
|
24148
|
+
: condition.config.inputFormat,"value-format":condition.config.inputFormat.includes('mm:ss')
|
|
24018
24149
|
? 'yyyy-MM-dd HH:mm:ss'
|
|
24019
24150
|
: 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')
|
|
24020
24151
|
? 'yyyy-MM-dd HH:mm:ss'
|
|
24021
|
-
: condition.config.inputFormat,"
|
|
24152
|
+
: condition.config.inputFormat,"value-format":condition.config.inputFormat.includes('mm:ss')
|
|
24022
24153
|
? 'yyyy-MM-dd HH:mm:ss'
|
|
24023
24154
|
: 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')
|
|
24024
24155
|
? 'yyyy-MM-dd HH:mm:ss'
|
|
24025
|
-
: condition.config.inputFormat,"
|
|
24156
|
+
: condition.config.inputFormat,"value-format":condition.config.inputFormat.includes('mm:ss')
|
|
24026
24157
|
? 'yyyy-MM-dd HH:mm:ss'
|
|
24027
24158
|
: 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) {
|
|
24028
24159
|
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
@@ -24036,7 +24167,7 @@ var customDialogvue_type_template_id_7e1d5bb0_scoped_true_render = function () {
|
|
|
24036
24167
|
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
24037
24168
|
}}}):_vm._e(),(condition.config.alias == 'dimension')?_c('ht-dimension-selector-input',{attrs:{"append-to-body":""},on:{"change":function (data) {
|
|
24038
24169
|
_vm.queryParams[index][condition.field] = _vm.getSelectId(data)
|
|
24039
|
-
}}}):_vm._e()],1):_vm._e(),(condition.controllerType == '5')?_c('div',{staticClass:"search-item_main"},[_c('ht-custom-dialog',{attrs:{"model-name":condition.config.valueBind,"
|
|
24170
|
+
}}}):_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":{
|
|
24040
24171
|
name: '请选择',
|
|
24041
24172
|
icon: '',
|
|
24042
24173
|
custDialog: {
|
|
@@ -24048,10 +24179,10 @@ var customDialogvue_type_template_id_7e1d5bb0_scoped_true_render = function () {
|
|
|
24048
24179
|
type: 'custDialog',
|
|
24049
24180
|
},
|
|
24050
24181
|
}},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)}
|
|
24051
|
-
var
|
|
24182
|
+
var customDialogvue_type_template_id_2474e48a_scoped_true_staticRenderFns = []
|
|
24052
24183
|
|
|
24053
24184
|
|
|
24054
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
24185
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=2474e48a&scoped=true&
|
|
24055
24186
|
|
|
24056
24187
|
// EXTERNAL MODULE: external "jquery"
|
|
24057
24188
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -25478,6 +25609,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25478
25609
|
const this_ = this;
|
|
25479
25610
|
this_.queryParam = '';
|
|
25480
25611
|
this.setDialogData([]);
|
|
25612
|
+
this.closeLoadingInstance();
|
|
25481
25613
|
this_.customDialogShowList = false;
|
|
25482
25614
|
//判断是否是点击了确认再点击取消的 inputVal没有值则表示直接点击的取消
|
|
25483
25615
|
if (!this_.inputVal) {
|
|
@@ -25884,8 +26016,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25884
26016
|
});
|
|
25885
26017
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25886
26018
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25887
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25888
|
-
var
|
|
26019
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=2474e48a&prod&lang=scss&scoped=true&
|
|
26020
|
+
var customDialogvue_type_style_index_0_id_2474e48a_prod_lang_scss_scoped_true_ = __webpack_require__("cd9a");
|
|
25889
26021
|
|
|
25890
26022
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25891
26023
|
|
|
@@ -25898,11 +26030,11 @@ var customDialogvue_type_style_index_0_id_7e1d5bb0_prod_lang_scss_scoped_true_ =
|
|
|
25898
26030
|
|
|
25899
26031
|
var customDialog_component = normalizeComponent(
|
|
25900
26032
|
src_customDialogvue_type_script_lang_js_,
|
|
25901
|
-
|
|
25902
|
-
|
|
26033
|
+
customDialogvue_type_template_id_2474e48a_scoped_true_render,
|
|
26034
|
+
customDialogvue_type_template_id_2474e48a_scoped_true_staticRenderFns,
|
|
25903
26035
|
false,
|
|
25904
26036
|
null,
|
|
25905
|
-
"
|
|
26037
|
+
"2474e48a",
|
|
25906
26038
|
null
|
|
25907
26039
|
|
|
25908
26040
|
)
|