three-trees-ui 1.0.33 → 1.0.34
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 +64 -59
- package/lib/three-trees-ui.css +1 -1
- package/lib/three-trees-ui.umd.js +64 -59
- package/lib/three-trees-ui.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/CustomDialog/src/customDialog.vue +10 -3
- package/packages/CustomDialog/src/main.vue +2 -1
|
@@ -2132,17 +2132,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__289a__;
|
|
|
2132
2132
|
|
|
2133
2133
|
// extracted by mini-css-extract-plugin
|
|
2134
2134
|
|
|
2135
|
-
/***/ }),
|
|
2136
|
-
|
|
2137
|
-
/***/ "3515":
|
|
2138
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2139
|
-
|
|
2140
|
-
"use strict";
|
|
2141
|
-
/* 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_180e1e6b_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4c92");
|
|
2142
|
-
/* 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_180e1e6b_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_180e1e6b_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2143
|
-
/* unused harmony reexport * */
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
2135
|
/***/ }),
|
|
2147
2136
|
|
|
2148
2137
|
/***/ "3588":
|
|
@@ -2941,13 +2930,6 @@ Formulas.install = Vue => {
|
|
|
2941
2930
|
|
|
2942
2931
|
/***/ }),
|
|
2943
2932
|
|
|
2944
|
-
/***/ "4c92":
|
|
2945
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2946
|
-
|
|
2947
|
-
// extracted by mini-css-extract-plugin
|
|
2948
|
-
|
|
2949
|
-
/***/ }),
|
|
2950
|
-
|
|
2951
2933
|
/***/ "4ff9":
|
|
2952
2934
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2953
2935
|
|
|
@@ -4251,6 +4233,17 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt
|
|
|
4251
4233
|
/* unused harmony reexport * */
|
|
4252
4234
|
|
|
4253
4235
|
|
|
4236
|
+
/***/ }),
|
|
4237
|
+
|
|
4238
|
+
/***/ "7e8d":
|
|
4239
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4240
|
+
|
|
4241
|
+
"use strict";
|
|
4242
|
+
/* 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_main_vue_vue_type_style_index_0_id_327e638e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c1d6");
|
|
4243
|
+
/* 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_main_vue_vue_type_style_index_0_id_327e638e_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_main_vue_vue_type_style_index_0_id_327e638e_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4244
|
+
/* unused harmony reexport * */
|
|
4245
|
+
|
|
4246
|
+
|
|
4254
4247
|
/***/ }),
|
|
4255
4248
|
|
|
4256
4249
|
/***/ "7f93":
|
|
@@ -4686,7 +4679,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
4686
4679
|
/***/ "9224":
|
|
4687
4680
|
/***/ (function(module) {
|
|
4688
4681
|
|
|
4689
|
-
module.exports = JSON.parse("{\"a\":\"1.0.
|
|
4682
|
+
module.exports = JSON.parse("{\"a\":\"1.0.34\"}");
|
|
4690
4683
|
|
|
4691
4684
|
/***/ }),
|
|
4692
4685
|
|
|
@@ -4742,6 +4735,13 @@ module.exports = require("vee-validate");
|
|
|
4742
4735
|
/* unused harmony reexport * */
|
|
4743
4736
|
|
|
4744
4737
|
|
|
4738
|
+
/***/ }),
|
|
4739
|
+
|
|
4740
|
+
/***/ "9d08":
|
|
4741
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4742
|
+
|
|
4743
|
+
// extracted by mini-css-extract-plugin
|
|
4744
|
+
|
|
4745
4745
|
/***/ }),
|
|
4746
4746
|
|
|
4747
4747
|
/***/ "9deb":
|
|
@@ -6458,6 +6458,13 @@ module.exports = {"primary_color":"#409eff","success_color":"#67c23a","info_colo
|
|
|
6458
6458
|
|
|
6459
6459
|
/***/ }),
|
|
6460
6460
|
|
|
6461
|
+
/***/ "c1d6":
|
|
6462
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6463
|
+
|
|
6464
|
+
// extracted by mini-css-extract-plugin
|
|
6465
|
+
|
|
6466
|
+
/***/ }),
|
|
6467
|
+
|
|
6461
6468
|
/***/ "c32d":
|
|
6462
6469
|
/***/ (function(module, exports) {
|
|
6463
6470
|
|
|
@@ -6584,6 +6591,17 @@ module.exports = g;
|
|
|
6584
6591
|
/* unused harmony reexport * */
|
|
6585
6592
|
|
|
6586
6593
|
|
|
6594
|
+
/***/ }),
|
|
6595
|
+
|
|
6596
|
+
/***/ "cd1b":
|
|
6597
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6598
|
+
|
|
6599
|
+
"use strict";
|
|
6600
|
+
/* 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_671bf605_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9d08");
|
|
6601
|
+
/* 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_671bf605_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_671bf605_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6602
|
+
/* unused harmony reexport * */
|
|
6603
|
+
|
|
6604
|
+
|
|
6587
6605
|
/***/ }),
|
|
6588
6606
|
|
|
6589
6607
|
/***/ "cd87":
|
|
@@ -7350,13 +7368,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_f230__;
|
|
|
7350
7368
|
/* unused harmony reexport * */
|
|
7351
7369
|
|
|
7352
7370
|
|
|
7353
|
-
/***/ }),
|
|
7354
|
-
|
|
7355
|
-
/***/ "f3a2":
|
|
7356
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
7357
|
-
|
|
7358
|
-
// extracted by mini-css-extract-plugin
|
|
7359
|
-
|
|
7360
7371
|
/***/ }),
|
|
7361
7372
|
|
|
7362
7373
|
/***/ "f43e":
|
|
@@ -23834,8 +23845,8 @@ Dialog_src_main.install = function (Vue) {
|
|
|
23834
23845
|
Vue.component(Dialog_src_main.name, Dialog_src_main);
|
|
23835
23846
|
};
|
|
23836
23847
|
/* harmony default export */ var Dialog = (Dialog_src_main);
|
|
23837
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ad7f362a-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/main.vue?vue&type=template&id=
|
|
23838
|
-
var
|
|
23848
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ad7f362a-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/main.vue?vue&type=template&id=327e638e&scoped=true&
|
|
23849
|
+
var mainvue_type_template_id_327e638e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inputs ht-custom-dialog"},[_c('el-tooltip',{attrs:{"placement":_vm.tooltipplacement || _vm.defualtTooltipplacement,"disabled":_vm.inputWriteable && _vm.errors && !_vm.errors.has('custom-form.' + _vm.inputName)}},[(_vm.errors && _vm.errors.first)?_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v("\n "+_vm._s(_vm.errors.first('custom-form.' + _vm.inputName))+"\n ")]):_vm._e(),(_vm.inputWriteable)?_c('div',{staticClass:"el-select",class:{ 'has-value': _vm.value },staticStyle:{"width":"100%"}},[_c('div',{ref:"tagSpans",staticClass:"el-select__tags",style:({ width: 'calc(100% - 10px - ' + _vm.inputSuffixWidth + 'px)' }),on:{"click":_vm.showEditInput}},[_c('span',{staticClass:"tag-wrap"},_vm._l((_vm.inputVal),function(item,index){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small no-background",on:{"click":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")]),_c('i',{staticClass:"el-tag__close el-icon-close",on:{"click":function($event){$event.stopPropagation();return _vm.removeSelectOrg(index)}}})])}),0)]),_c('div',{staticClass:"el-input el-input--suffix"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.inputVal),expression:"inputVal"},{name:"validate",rawName:"v-validate",value:(_vm.inputValidate),expression:"inputValidate"}],staticClass:"el-input__inner",style:({ height: _vm.inputSuffixHeight + 'px' }),attrs:{"type":"text","readonly":"readonly","name":_vm.inputName,"autocomplete":"off","placeholder":_vm.placeholder},domProps:{"value":(_vm.inputVal)},on:{"click":_vm.showEditInput,"input":function($event){if($event.target.composing){ return; }_vm.inputVal=$event.target.value}}}),(_vm.isAllowCustom && _vm.isEditInputShow)?_c('el-input',{ref:"editInputRef",staticClass:"edit-input",style:({
|
|
23839
23850
|
right: _vm.inputSuffixWidth - 1 + 'px',
|
|
23840
23851
|
width: 'auto!important',
|
|
23841
23852
|
height: _vm.inputSuffixHeight - 4 + 'px',
|
|
@@ -23845,10 +23856,10 @@ var mainvue_type_template_id_4ad38513_scoped_true_render = function () {var _vm=
|
|
|
23845
23856
|
fontSize: '17px',
|
|
23846
23857
|
lineHeight: _vm.inputSuffixHeight + 'px',
|
|
23847
23858
|
})}),_vm._v("\n "+_vm._s(_vm.custdialog.name)+"\n ")])],1)])],1)]):_vm._e()]),(!_vm.inputWriteable)?_c('span',{staticClass:"dialog-readonly"},_vm._l((_vm.inputVal),function(item){return _c('span',{key:item.value,staticClass:"el-tag el-tag--info el-tag--small no-background",staticStyle:{"margin-right":"8px"},on:{"click":function($event){$event.stopPropagation();return _vm.jumpUrl(item)}}},[_c('span',{staticClass:"el-select__tags-text",class:{ 'src-color': _vm.isSrcColor }},[_vm._v("\n "+_vm._s(item.value)+"\n ")])])}),0):_vm._e(),(_vm.isMobile)?_c('custom-mobile-dialog',{ref:"customMobileDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"dialog-config":_vm.dialogConfig,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput}}):_c('custom-dialog',{ref:"customDialogRef",attrs:{"model-name":_vm.modelName,"custdialog":_vm.custdialog,"sub-index":_vm.subIndex,"sun-index":_vm.sunIndex,"sub-path":_vm.subPath,"current-sub-data":_vm.currentSubData,"is-read-only":!_vm.inputWriteable,"dialog-config":_vm.dialogConfig,"dialog-type":_vm.dialogType},on:{"calacInputSuffixHeight":_vm.calacInputSuffixHeight,"updateInput":_vm.updateInput},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('span',{staticStyle:{"display":"none"}},[_vm._t("labeldesc",[_vm._v(_vm._s(_vm.inputName))])],2),_c('ht-field-tail',{attrs:{"field-name":_vm.inputName,"input-value":_vm.value}}),(_vm.isDialogFormShow)?_c('el-dialog',{attrs:{"title":"表单详情","visible":_vm.isDialogFormShow,"width":"100%","custom-class":"custom-dialog-form","fullscreen":"","append-to-body":""},on:{"update:visible":function($event){_vm.isDialogFormShow=$event}}},[_c('div',{staticClass:"iframe-box"},[_c('iframe',{staticStyle:{"height":"100%"},attrs:{"src":_vm.mobileSrc,"width":"100%","frameborder":"0"}})]),_c('div',{staticClass:"custom-dialog-form_footer"},[_c('el-button',{attrs:{"size":"smal"},on:{"click":function($event){_vm.isDialogFormShow = false}}},[_vm._v("\n 关闭\n ")])],1)]):_vm._e()],1)}
|
|
23848
|
-
var
|
|
23859
|
+
var mainvue_type_template_id_327e638e_scoped_true_staticRenderFns = []
|
|
23849
23860
|
|
|
23850
23861
|
|
|
23851
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=
|
|
23862
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=template&id=327e638e&scoped=true&
|
|
23852
23863
|
|
|
23853
23864
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.js
|
|
23854
23865
|
|
|
@@ -23970,8 +23981,8 @@ var mainvue_type_template_id_4ad38513_scoped_true_staticRenderFns = []
|
|
|
23970
23981
|
}
|
|
23971
23982
|
}
|
|
23972
23983
|
});
|
|
23973
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ad7f362a-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=
|
|
23974
|
-
var
|
|
23984
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ad7f362a-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=671bf605&scoped=true&
|
|
23985
|
+
var customDialogvue_type_template_id_671bf605_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')
|
|
23975
23986
|
? 'yyyy-MM-dd HH:mm:ss'
|
|
23976
23987
|
: condition.config.inputFormat,"valueFormat":condition.config.inputFormat.includes('mm:ss')
|
|
23977
23988
|
? 'yyyy-MM-dd HH:mm:ss'
|
|
@@ -24007,10 +24018,10 @@ var customDialogvue_type_template_id_180e1e6b_scoped_true_render = function () {
|
|
|
24007
24018
|
type: 'custDialog',
|
|
24008
24019
|
},
|
|
24009
24020
|
}},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)}
|
|
24010
|
-
var
|
|
24021
|
+
var customDialogvue_type_template_id_671bf605_scoped_true_staticRenderFns = []
|
|
24011
24022
|
|
|
24012
24023
|
|
|
24013
|
-
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=
|
|
24024
|
+
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=template&id=671bf605&scoped=true&
|
|
24014
24025
|
|
|
24015
24026
|
// EXTERNAL MODULE: external "jquery"
|
|
24016
24027
|
var external_jquery_ = __webpack_require__("c5e1");
|
|
@@ -24561,7 +24572,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24561
24572
|
// 传过来的固定值
|
|
24562
24573
|
executeScriptResult: null,
|
|
24563
24574
|
customDialogParams: {},
|
|
24564
|
-
treeDialogConfig: null
|
|
24575
|
+
treeDialogConfig: null,
|
|
24576
|
+
isPreview: false
|
|
24565
24577
|
};
|
|
24566
24578
|
},
|
|
24567
24579
|
computed: {
|
|
@@ -24633,6 +24645,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
24633
24645
|
},
|
|
24634
24646
|
showDialog() {
|
|
24635
24647
|
let isMounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
24648
|
+
let isPreview = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
24649
|
+
this.isPreview = isPreview;
|
|
24636
24650
|
this.fixedParams = {};
|
|
24637
24651
|
// 如果已存在配置信息就不去请求配置信息 直接初始化数据
|
|
24638
24652
|
if (this.dialogConfig) {
|
|
@@ -25076,8 +25090,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25076
25090
|
let flag = false;
|
|
25077
25091
|
if (this.queryParams.length != 0 && this.queryParams[0] != '') {
|
|
25078
25092
|
this.conditionBind.forEach((item, index) => {
|
|
25079
|
-
if (item.isRequire == 1 && !this.queryParams[index][item.field]) {
|
|
25080
|
-
this.$message.error(`${item.comment}必填`);
|
|
25093
|
+
if (item.isRequire == 1 && !this.queryParams[index][item.field] && !this.isPreview) {
|
|
25094
|
+
!flag && this.$message.error(`${item.comment}必填`);
|
|
25081
25095
|
flag = true;
|
|
25082
25096
|
return;
|
|
25083
25097
|
}
|
|
@@ -25105,6 +25119,7 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25105
25119
|
}
|
|
25106
25120
|
});
|
|
25107
25121
|
}
|
|
25122
|
+
this.isPreview = false;
|
|
25108
25123
|
if (flag) {
|
|
25109
25124
|
return;
|
|
25110
25125
|
}
|
|
@@ -25838,8 +25853,8 @@ var external_jquery_default = /*#__PURE__*/__webpack_require__.n(external_jquery
|
|
|
25838
25853
|
});
|
|
25839
25854
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=script&lang=js&
|
|
25840
25855
|
/* harmony default export */ var src_customDialogvue_type_script_lang_js_ = (customDialogvue_type_script_lang_js_);
|
|
25841
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=
|
|
25842
|
-
var
|
|
25856
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/customDialog.vue?vue&type=style&index=0&id=671bf605&prod&lang=scss&scoped=true&
|
|
25857
|
+
var customDialogvue_type_style_index_0_id_671bf605_prod_lang_scss_scoped_true_ = __webpack_require__("cd1b");
|
|
25843
25858
|
|
|
25844
25859
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/customDialog.vue
|
|
25845
25860
|
|
|
@@ -25852,11 +25867,11 @@ var customDialogvue_type_style_index_0_id_180e1e6b_prod_lang_scss_scoped_true_ =
|
|
|
25852
25867
|
|
|
25853
25868
|
var customDialog_component = normalizeComponent(
|
|
25854
25869
|
src_customDialogvue_type_script_lang_js_,
|
|
25855
|
-
|
|
25856
|
-
|
|
25870
|
+
customDialogvue_type_template_id_671bf605_scoped_true_render,
|
|
25871
|
+
customDialogvue_type_template_id_671bf605_scoped_true_staticRenderFns,
|
|
25857
25872
|
false,
|
|
25858
25873
|
null,
|
|
25859
|
-
"
|
|
25874
|
+
"671bf605",
|
|
25860
25875
|
null
|
|
25861
25876
|
|
|
25862
25877
|
)
|
|
@@ -27947,7 +27962,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27947
27962
|
if (this.isMobile) {
|
|
27948
27963
|
this.$refs.customMobileDialogRef.showDialog();
|
|
27949
27964
|
} else {
|
|
27950
|
-
|
|
27965
|
+
// 第二个参数是为了处理点击预览按钮时,不立即触发必传验证提示
|
|
27966
|
+
this.$refs.customDialogRef.showDialog(false, true);
|
|
27951
27967
|
}
|
|
27952
27968
|
},
|
|
27953
27969
|
removeSelectOrg(item) {
|
|
@@ -27999,8 +28015,8 @@ var customMobileDialog_component = normalizeComponent(
|
|
|
27999
28015
|
});
|
|
28000
28016
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue?vue&type=script&lang=js&
|
|
28001
28017
|
/* harmony default export */ var packages_CustomDialog_src_mainvue_type_script_lang_js_ = (CustomDialog_src_mainvue_type_script_lang_js_);
|
|
28002
|
-
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=
|
|
28003
|
-
var
|
|
28018
|
+
// EXTERNAL MODULE: ./packages/CustomDialog/src/main.vue?vue&type=style&index=0&id=327e638e&prod&lang=scss&scoped=true&
|
|
28019
|
+
var mainvue_type_style_index_0_id_327e638e_prod_lang_scss_scoped_true_ = __webpack_require__("7e8d");
|
|
28004
28020
|
|
|
28005
28021
|
// CONCATENATED MODULE: ./packages/CustomDialog/src/main.vue
|
|
28006
28022
|
|
|
@@ -28013,11 +28029,11 @@ var mainvue_type_style_index_0_id_4ad38513_prod_lang_scss_scoped_true_ = __webpa
|
|
|
28013
28029
|
|
|
28014
28030
|
var CustomDialog_src_main_component = normalizeComponent(
|
|
28015
28031
|
packages_CustomDialog_src_mainvue_type_script_lang_js_,
|
|
28016
|
-
|
|
28017
|
-
|
|
28032
|
+
mainvue_type_template_id_327e638e_scoped_true_render,
|
|
28033
|
+
mainvue_type_template_id_327e638e_scoped_true_staticRenderFns,
|
|
28018
28034
|
false,
|
|
28019
28035
|
null,
|
|
28020
|
-
"
|
|
28036
|
+
"327e638e",
|
|
28021
28037
|
null
|
|
28022
28038
|
|
|
28023
28039
|
)
|
|
@@ -50109,17 +50125,6 @@ const i18n = function (fn) {
|
|
|
50109
50125
|
|
|
50110
50126
|
// extracted by mini-css-extract-plugin
|
|
50111
50127
|
|
|
50112
|
-
/***/ }),
|
|
50113
|
-
|
|
50114
|
-
/***/ "fed0":
|
|
50115
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
50116
|
-
|
|
50117
|
-
"use strict";
|
|
50118
|
-
/* 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_main_vue_vue_type_style_index_0_id_4ad38513_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f3a2");
|
|
50119
|
-
/* 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_main_vue_vue_type_style_index_0_id_4ad38513_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_main_vue_vue_type_style_index_0_id_4ad38513_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
50120
|
-
/* unused harmony reexport * */
|
|
50121
|
-
|
|
50122
|
-
|
|
50123
50128
|
/***/ }),
|
|
50124
50129
|
|
|
50125
50130
|
/***/ "ffc4":
|