hoeditor-web 2.0.73 → 2.0.76
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/hoeditor.common.js +143 -91
- package/lib/hoeditor.css +4 -4
- package/lib/hoeditor.umd.js +143 -91
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.common.js
CHANGED
|
@@ -13484,7 +13484,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
13484
13484
|
|
|
13485
13485
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_77__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
13486
13486
|
|
|
13487
|
-
if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview) {
|
|
13487
|
+
if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview && oper !== "update") {
|
|
13488
13488
|
hoEditorFactory.undoService.begin();
|
|
13489
13489
|
hoEditorFactory.undoService.add(new _undoRedo_NodeStyleUndoUnit__WEBPACK_IMPORTED_MODULE_34__/* .NodeStyleUndoUnit */ .o(this._hoEditorFactoryID, aRange.startPath, aRange.endPath, new _undoRedo_NodeStyleUndoUnit__WEBPACK_IMPORTED_MODULE_34__/* .Operate */ .p("reviewDelete", "string")));
|
|
13490
13490
|
hoEditorFactory.undoService.commit();
|
|
@@ -16814,10 +16814,10 @@ var DocController = /*#__PURE__*/function () {
|
|
|
16814
16814
|
var startPath = domRange.startPath;
|
|
16815
16815
|
var parentNode = hoEditorFactory.docTree.getParentNode(startPath); // if (type == 1 && imgSrc != "" && imgWidth > 0 && parentNode instanceof CellNode) {
|
|
16816
16816
|
// const cellWidth = parentNode.drawCell.dWidth;
|
|
16817
|
-
// const cellHeight = parentNode.
|
|
16817
|
+
// //const cellHeight = parentNode.drawCell.dHeight;
|
|
16818
16818
|
// if (cellWidth < imgWidth) {
|
|
16819
|
-
// imgHeight = ((cellWidth - 10) / imgWidth) * cellHeight;
|
|
16820
|
-
// imgWidth =
|
|
16819
|
+
// //imgHeight = ((cellWidth - 10) / imgWidth) * cellHeight;
|
|
16820
|
+
// imgWidth = cellWidth;
|
|
16821
16821
|
// }
|
|
16822
16822
|
// }
|
|
16823
16823
|
|
|
@@ -28614,8 +28614,8 @@ var SubDocManger = __webpack_require__(24113);
|
|
|
28614
28614
|
/*
|
|
28615
28615
|
* @Author: your name
|
|
28616
28616
|
* @Date: 2020-11-11 11:04:19
|
|
28617
|
-
* @LastEditTime:
|
|
28618
|
-
* @LastEditors:
|
|
28617
|
+
* @LastEditTime: 2022-07-26 10:41:01
|
|
28618
|
+
* @LastEditors: liyanan 2441631434@qq.com
|
|
28619
28619
|
* @Description: In User Settings Edit
|
|
28620
28620
|
* @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawImageNode.ts
|
|
28621
28621
|
*/
|
|
@@ -28672,6 +28672,9 @@ var DrawImageNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
28672
28672
|
this._bitMap.y = this._imageY;
|
|
28673
28673
|
this._bitMap.x = 0;
|
|
28674
28674
|
this._bitMap.name = this.node.id;
|
|
28675
|
+
|
|
28676
|
+
this._bitMap.setBounds(0, 0, drawNode.dWidth, drawNode.dHeight);
|
|
28677
|
+
|
|
28675
28678
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(drawNode.node.hoEditorFactoryID);
|
|
28676
28679
|
hoEditorFactory.loadImageCount++;
|
|
28677
28680
|
|
|
@@ -51468,17 +51471,19 @@ var DrawRect = /*#__PURE__*/function (_DrawContainer) {
|
|
|
51468
51471
|
/* harmony export */ "V": function() { return /* binding */ DrawSignNode; }
|
|
51469
51472
|
/* harmony export */ });
|
|
51470
51473
|
/* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(35671);
|
|
51471
|
-
/* harmony import */ var
|
|
51474
|
+
/* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(22342);
|
|
51472
51475
|
/* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(99640);
|
|
51473
51476
|
/* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28214);
|
|
51474
51477
|
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74916);
|
|
51475
51478
|
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
51476
51479
|
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23123);
|
|
51477
51480
|
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
51478
|
-
/* harmony import */ var
|
|
51479
|
-
/* harmony import */ var
|
|
51480
|
-
/* harmony import */ var
|
|
51481
|
-
/* harmony import */ var
|
|
51481
|
+
/* harmony import */ var _editor_dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(15798);
|
|
51482
|
+
/* harmony import */ var _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(34450);
|
|
51483
|
+
/* harmony import */ var _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24113);
|
|
51484
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(41005);
|
|
51485
|
+
/* harmony import */ var _DrawCombineNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(72392);
|
|
51486
|
+
|
|
51482
51487
|
|
|
51483
51488
|
|
|
51484
51489
|
|
|
@@ -51492,7 +51497,7 @@ var DrawRect = /*#__PURE__*/function (_DrawContainer) {
|
|
|
51492
51497
|
/*
|
|
51493
51498
|
* @Author: your name
|
|
51494
51499
|
* @Date: 2021-09-01 16:51:49
|
|
51495
|
-
* @LastEditTime: 2022-07-
|
|
51500
|
+
* @LastEditTime: 2022-07-26 12:00:22
|
|
51496
51501
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
51497
51502
|
* @Description: In User Settings Edit
|
|
51498
51503
|
* @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawSignNode.ts
|
|
@@ -51527,7 +51532,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51527
51532
|
_this._attribute = attribute;
|
|
51528
51533
|
_this._abi02 = customProperty && customProperty.abi02 ? customProperty.abi02 : ""; //this._textStyle = cbStyle.;
|
|
51529
51534
|
|
|
51530
|
-
_this.dHeight =
|
|
51535
|
+
_this.dHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoeditfactoryID).signHeight; //this.dHeight = 40;
|
|
51531
51536
|
|
|
51532
51537
|
_this._textStyle = cbStyle.getStyleKey();
|
|
51533
51538
|
|
|
@@ -51535,7 +51540,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51535
51540
|
var signArr = imgSrc.split('\n');
|
|
51536
51541
|
|
|
51537
51542
|
if (signArr.length > 1) {
|
|
51538
|
-
_this.dHeight =
|
|
51543
|
+
_this.dHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoeditfactoryID).signHeight * signArr.length; // const textStyle = new TextStyle(hoeditfactoryID);
|
|
51539
51544
|
// let curHeight = cbStyle.getFontHeightByFontSize(cbStyle.size) * signArr.length;
|
|
51540
51545
|
// if (curHeight > this.dHeight) {
|
|
51541
51546
|
// let fontSize = cbStyle.size;
|
|
@@ -51613,7 +51618,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51613
51618
|
return _this;
|
|
51614
51619
|
}
|
|
51615
51620
|
|
|
51616
|
-
(0,
|
|
51621
|
+
(0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(DrawSignNode, [{
|
|
51617
51622
|
key: "type",
|
|
51618
51623
|
get: function get() {
|
|
51619
51624
|
return this._type;
|
|
@@ -51710,7 +51715,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51710
51715
|
|
|
51711
51716
|
this.clear();
|
|
51712
51717
|
var drawNode = this;
|
|
51713
|
-
var hoEditorFactory =
|
|
51718
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(drawNode.node.hoEditorFactoryID);
|
|
51714
51719
|
|
|
51715
51720
|
var drawSign = function drawSign() {
|
|
51716
51721
|
if (_this2.type === 1 || _this2.type === 3) {
|
|
@@ -51718,7 +51723,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51718
51723
|
node.type = 3;
|
|
51719
51724
|
|
|
51720
51725
|
if (_this2.imgSrc == '' && _this2.fingerPrintSrc) {
|
|
51721
|
-
var fingerscale = drawNode.fingerPosition ==
|
|
51726
|
+
var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
|
|
51722
51727
|
var fingerWidth = 256;
|
|
51723
51728
|
_this2._dWidth = fingerWidth * fingerscale;
|
|
51724
51729
|
node.imgWidth = _this2._dWidth;
|
|
@@ -51782,7 +51787,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51782
51787
|
var hitHeight = image.naturalHeight !== 0 ? image.naturalHeight : image.height;
|
|
51783
51788
|
var scale = hoEditorFactory.signHeight / hitHeight < 0.4 ? 0.4 : hoEditorFactory.signHeight / hitHeight > 0.7 ? 1 : hoEditorFactory.signHeight / hitHeight;
|
|
51784
51789
|
|
|
51785
|
-
if (drawNode.fingerPosition ==
|
|
51790
|
+
if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center && hoEditorFactory.signHeight / hitHeight < 0.2) {
|
|
51786
51791
|
scale = hoEditorFactory.signHeight * 1.5 / hitHeight;
|
|
51787
51792
|
}
|
|
51788
51793
|
|
|
@@ -51792,24 +51797,24 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51792
51797
|
_fingerImage.onload = function () {
|
|
51793
51798
|
var fingerWidth = 256;
|
|
51794
51799
|
var fingerHeight = _fingerImage.naturalHeight !== 0 ? _fingerImage.naturalHeight : _fingerImage.height;
|
|
51795
|
-
var fingerscale = drawNode.fingerPosition ==
|
|
51800
|
+
var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
|
|
51796
51801
|
_fingerBitmap.scaleX = fingerscale;
|
|
51797
51802
|
_fingerBitmap.scaleY = fingerscale;
|
|
51798
51803
|
_fingerBitmap.y = -fingerHeight * fingerscale;
|
|
51799
51804
|
bitmap.y = -hitHeight * scale;
|
|
51800
51805
|
|
|
51801
|
-
if (drawNode.fingerPosition ==
|
|
51806
|
+
if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.left */ .d.left) {
|
|
51802
51807
|
bitmap.x = fingerWidth * fingerscale + 5;
|
|
51803
51808
|
_fingerBitmap.x = 0;
|
|
51804
51809
|
_this2._dWidth = hitWidth * scale + 5 + fingerWidth * fingerscale;
|
|
51805
51810
|
node.imgHeight = Math.floor(Math.max(fingerHeight * fingerscale, hitHeight * scale));
|
|
51806
51811
|
_this2._dHeight = node.imgHeight;
|
|
51807
|
-
} else if (drawNode.fingerPosition ==
|
|
51812
|
+
} else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center) {
|
|
51808
51813
|
_fingerBitmap.x = (hitWidth * scale - fingerWidth * fingerscale) / 2;
|
|
51809
51814
|
_fingerBitmap.y = -(fingerHeight * fingerscale + currentLineHeight) / 2;
|
|
51810
51815
|
bitmap.y = -(hitHeight * scale + currentLineHeight) / 2;
|
|
51811
51816
|
node.imgHeight = hoEditorFactory.signHeight;
|
|
51812
|
-
} else if (drawNode.fingerPosition ==
|
|
51817
|
+
} else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.right */ .d.right) {
|
|
51813
51818
|
_fingerBitmap.x = hitWidth * scale + 5;
|
|
51814
51819
|
_this2._dWidth = hitWidth * scale + 5 + fingerWidth * fingerscale;
|
|
51815
51820
|
node.imgHeight = Math.floor(Math.max(fingerHeight * fingerscale, hitHeight * scale));
|
|
@@ -51818,7 +51823,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51818
51823
|
|
|
51819
51824
|
node.imgWidth = _this2._dWidth;
|
|
51820
51825
|
|
|
51821
|
-
if (drawNode.fingerPosition ==
|
|
51826
|
+
if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center) {
|
|
51822
51827
|
_this2._dWidth = 0;
|
|
51823
51828
|
_this2._dHeight = 0;
|
|
51824
51829
|
}
|
|
@@ -51852,10 +51857,10 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51852
51857
|
if (dArea) {
|
|
51853
51858
|
var atype = hoEditorFactory.subDocManger.getHeaderFooterType(drawNode.node.getNodePath());
|
|
51854
51859
|
|
|
51855
|
-
if (atype ===
|
|
51860
|
+
if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_7__/* .HeaderFooterType.hftHead */ .pi.hftHead && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawHeader) {
|
|
51856
51861
|
hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
|
|
51857
51862
|
} else {
|
|
51858
|
-
if (atype ===
|
|
51863
|
+
if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_7__/* .HeaderFooterType.hftFoot */ .pi.hftFoot && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawFooter) {
|
|
51859
51864
|
hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
|
|
51860
51865
|
}
|
|
51861
51866
|
} // hoEditorFactory.drawTree.updateDrawTreeFirstLine();
|
|
@@ -51914,7 +51919,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51914
51919
|
_this3.addChildAt(bitmap, 0);
|
|
51915
51920
|
}
|
|
51916
51921
|
|
|
51917
|
-
var hoEditorFactory =
|
|
51922
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(drawNode.node.hoEditorFactoryID);
|
|
51918
51923
|
hoEditorFactory.loadImageCount++;
|
|
51919
51924
|
|
|
51920
51925
|
image.onload = function () {
|
|
@@ -51932,6 +51937,15 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51932
51937
|
|
|
51933
51938
|
var width = hitWidth * hoEditorFactory.signHeight / image.naturalHeight; //+ this._drawText.getMeasuredWidth();
|
|
51934
51939
|
|
|
51940
|
+
if (node.parentNode instanceof _editor_dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_5__/* .CellNode */ .D) {
|
|
51941
|
+
var cellWidth = node.parentNode.drawCell.dWidth;
|
|
51942
|
+
|
|
51943
|
+
if (width > cellWidth - 5) {
|
|
51944
|
+
drawNode.dHeight = (cellWidth - 5) * hoEditorFactory.signHeight / width;
|
|
51945
|
+
width = cellWidth - 5;
|
|
51946
|
+
}
|
|
51947
|
+
}
|
|
51948
|
+
|
|
51935
51949
|
drawNode.dWidth = width;
|
|
51936
51950
|
|
|
51937
51951
|
if (drawNode.attribute === 2 && drawNode.abi02 !== "") {
|
|
@@ -51943,9 +51957,9 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51943
51957
|
}
|
|
51944
51958
|
|
|
51945
51959
|
if (drawNode.attribute === 2 && drawNode.abi02 !== "") {
|
|
51946
|
-
bitmap.setTransform(drawNode._drawAbi02.getMeasuredWidth(), -
|
|
51960
|
+
bitmap.setTransform(drawNode._drawAbi02.getMeasuredWidth(), -drawNode.dHeight + 2, width / hitWidth, drawNode.dHeight / hitHeight);
|
|
51947
51961
|
} else {
|
|
51948
|
-
bitmap.setTransform(0, -
|
|
51962
|
+
bitmap.setTransform(0, -drawNode.dHeight, width / hitWidth, drawNode.dHeight / hitHeight);
|
|
51949
51963
|
}
|
|
51950
51964
|
|
|
51951
51965
|
var hitArea = new createjs.Shape();
|
|
@@ -51970,10 +51984,10 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51970
51984
|
if (dArea) {
|
|
51971
51985
|
var atype = hoEditorFactory.subDocManger.getHeaderFooterType(_this3.node.getNodePath());
|
|
51972
51986
|
|
|
51973
|
-
if (atype ===
|
|
51987
|
+
if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_7__/* .HeaderFooterType.hftHead */ .pi.hftHead && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawHeader) {
|
|
51974
51988
|
hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
|
|
51975
51989
|
} else {
|
|
51976
|
-
if (atype ===
|
|
51990
|
+
if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_7__/* .HeaderFooterType.hftFoot */ .pi.hftFoot && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawFooter) {
|
|
51977
51991
|
hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
|
|
51978
51992
|
}
|
|
51979
51993
|
}
|
|
@@ -52112,7 +52126,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
52112
52126
|
}]);
|
|
52113
52127
|
|
|
52114
52128
|
return DrawSignNode;
|
|
52115
|
-
}(
|
|
52129
|
+
}(_DrawCombineNode__WEBPACK_IMPORTED_MODULE_9__/* .DrawCombineNode */ .o);
|
|
52116
52130
|
|
|
52117
52131
|
/***/ }),
|
|
52118
52132
|
|
|
@@ -202308,11 +202322,11 @@ var HoToPage_component = normalizeComponent(
|
|
|
202308
202322
|
/* harmony default export */ var backToPage = (HoToPage);
|
|
202309
202323
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
202310
202324
|
var util = __webpack_require__(33913);
|
|
202311
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
202312
|
-
var
|
|
202325
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=f3c168f0&scoped=true&
|
|
202326
|
+
var PoperSelectvue_type_template_id_f3c168f0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
202313
202327
|
var item = ref.item;
|
|
202314
|
-
return [(item.title)?_c('p',{staticClass:"poper-select-title"},[_vm._v(_vm._s(item.text))]):_vm._e(),(!item.title)?_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")]):_vm._e()]}}],null,false,4143456003)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{key:index + Math.random(),staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id + Math.random(),attrs:{"label":item.id},nativeOn:{"click":function($event){return _vm.selectItemsChange(item)}}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px","z-index":"111","background":"#fff"}},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id + Math.random(),staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_vm._e(),(_vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[(!_vm.mutexSelect)?_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.allSelect}},[_vm._v("全选")]):_vm._e(),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()])}
|
|
202315
|
-
var
|
|
202328
|
+
return [(item.title)?_c('p',{staticClass:"poper-select-title"},[_vm._v(_vm._s(item.text))]):_vm._e(),(!item.title)?_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")]):_vm._e()]}}],null,false,4143456003)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{key:index + Math.random(),staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id + Math.random(),attrs:{"label":item.id},nativeOn:{"~click":function($event){return _vm.selectItemsChange(item)}}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px","z-index":"111","background":"#fff"}},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id + Math.random(),staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_vm._e(),(_vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[(!_vm.mutexSelect)?_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.allSelect}},[_vm._v("全选")]):_vm._e(),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()])}
|
|
202329
|
+
var PoperSelectvue_type_template_id_f3c168f0_scoped_true_staticRenderFns = []
|
|
202316
202330
|
|
|
202317
202331
|
|
|
202318
202332
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
@@ -205550,10 +205564,10 @@ PoperSelectModal = __decorate([vue_class_component_esm({
|
|
|
205550
205564
|
/* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectModal);
|
|
205551
205565
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
|
|
205552
205566
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
|
|
205553
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
205567
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=f3c168f0&lang=scss&scoped=true&
|
|
205554
205568
|
// extracted by mini-css-extract-plugin
|
|
205555
205569
|
|
|
205556
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
205570
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=f3c168f0&lang=scss&scoped=true&
|
|
205557
205571
|
|
|
205558
205572
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
|
|
205559
205573
|
|
|
@@ -205566,11 +205580,11 @@ PoperSelectModal = __decorate([vue_class_component_esm({
|
|
|
205566
205580
|
|
|
205567
205581
|
var PoperSelect_component = normalizeComponent(
|
|
205568
205582
|
poperSelect_PoperSelectvue_type_script_lang_ts_,
|
|
205569
|
-
|
|
205570
|
-
|
|
205583
|
+
PoperSelectvue_type_template_id_f3c168f0_scoped_true_render,
|
|
205584
|
+
PoperSelectvue_type_template_id_f3c168f0_scoped_true_staticRenderFns,
|
|
205571
205585
|
false,
|
|
205572
205586
|
null,
|
|
205573
|
-
"
|
|
205587
|
+
"f3c168f0",
|
|
205574
205588
|
null
|
|
205575
205589
|
|
|
205576
205590
|
)
|
|
@@ -207523,7 +207537,7 @@ var SignNode = __webpack_require__(34450);
|
|
|
207523
207537
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
207524
207538
|
var ParagraphNode = __webpack_require__(14208);
|
|
207525
207539
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
207526
|
-
/* harmony default export */ var version = ('2.0.
|
|
207540
|
+
/* harmony default export */ var version = ('2.0.76');
|
|
207527
207541
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=3fa4e4d3&scoped=true&
|
|
207528
207542
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShow),expression:"isShow"},{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperTextNode",staticClass:"poper-text-modal animation-in",style:(_vm.posStyle),on:{"mouseenter":_vm.mouseEnter,"mouseleave":_vm.mouseLeave}},_vm._l((_vm.poperText),function(text){return _c('div',{key:text + Math.random(0, 1),staticClass:"poper-text"},[_vm._v(" "+_vm._s(text)+" ")])}),0)}
|
|
207529
207543
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
|
|
@@ -221463,7 +221477,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
221463
221477
|
getAllNodes(node.childNodes);
|
|
221464
221478
|
}
|
|
221465
221479
|
|
|
221466
|
-
if (node instanceof BaseCombineNode/* BaseCombineNode */.V && attribute !=
|
|
221480
|
+
if (node instanceof BaseCombineNode/* BaseCombineNode */.V && attribute != 1 && !hasEmptyDoctorSign) {
|
|
221467
221481
|
// 医生签名不存在的情况不在深层调用深层遍历
|
|
221468
221482
|
getAllNodes(node.childNodes);
|
|
221469
221483
|
}
|
|
@@ -226302,9 +226316,9 @@ var ControlModalvue_type_template_id_1b898d58_render = function () {var _vm=this
|
|
|
226302
226316
|
var ControlModalvue_type_template_id_1b898d58_staticRenderFns = []
|
|
226303
226317
|
|
|
226304
226318
|
|
|
226305
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=template&id=
|
|
226306
|
-
var
|
|
226307
|
-
var
|
|
226319
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=template&id=00c42d15&scoped=true&
|
|
226320
|
+
var SelectDialogvue_type_template_id_00c42d15_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("下拉框")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.innerIdentifier),callback:function ($$v) {_vm.innerIdentifier=$$v},expression:"innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.dataMetaIdentifier),callback:function ($$v) {_vm.dataMetaIdentifier=$$v},expression:"dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.identifierFormat),callback:function ($$v) {_vm.identifierFormat=$$v},expression:"identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"size":"mini","placeholder":"提示文本"},model:{value:(_vm.tipText),callback:function ($$v) {_vm.tipText=$$v},expression:"tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isReadOnly),callback:function ($$v) {_vm.isReadOnly=$$v},expression:"isReadOnly"}},[_vm._v("内容只读")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isAllowDelete),callback:function ($$v) {_vm.isAllowDelete=$$v},expression:"isAllowDelete"}},[_vm._v("允许删除")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.allowMultiSelect),callback:function ($$v) {_vm.allowMultiSelect=$$v},expression:"allowMultiSelect"}},[_vm._v("允许多选")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.readType),callback:function ($$v) {_vm.readType=$$v},expression:"readType"}},[_vm._v("自动回填")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.allowMultiSelect},model:{value:(_vm.mutexSelect),callback:function ($$v) {_vm.mutexSelect=$$v},expression:"mutexSelect"}},[_vm._v("选项互斥")])],1)]),_c('li',{staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.downListContent,"height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{attrs:{"label":"类型","width":"70"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.type),callback:function ($$v) {_vm.$set(scope.row, "type", $$v)},expression:"scope.row.type"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.default)?_c('span',{staticClass:"tags"},[_vm._v("默认")]):_vm._e(),(scope.row.default)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.cancelDefault(scope.row.id)}}},[_vm._v("取消")]):_vm._e(),(!scope.row.default && scope.row.text)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.setDefault(scope.row.id)}}},[_vm._v("设为默认")]):_vm._e(),(scope.$index !== _vm.downListContent.length - 1 && _vm.focusIndexs === scope.$index)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")]):_vm._e()]}}])})],1)],1)])]),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
226321
|
+
var SelectDialogvue_type_template_id_00c42d15_scoped_true_staticRenderFns = []
|
|
226308
226322
|
|
|
226309
226323
|
|
|
226310
226324
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
|
|
@@ -226361,6 +226375,7 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226361
226375
|
_this.errorArr = [];
|
|
226362
226376
|
_this.errorIndex = [];
|
|
226363
226377
|
_this.animationClassNames = "control-modal-contents select-modal animation-in";
|
|
226378
|
+
_this.tableInfo = null;
|
|
226364
226379
|
return _this;
|
|
226365
226380
|
}
|
|
226366
226381
|
|
|
@@ -226415,6 +226430,11 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226415
226430
|
this.downListContent = [].concat(list);
|
|
226416
226431
|
}
|
|
226417
226432
|
}
|
|
226433
|
+
}, {
|
|
226434
|
+
key: "mounted",
|
|
226435
|
+
value: function mounted() {
|
|
226436
|
+
this.tableInfo = document.querySelector('.el-table__body-wrapper');
|
|
226437
|
+
}
|
|
226418
226438
|
}, {
|
|
226419
226439
|
key: "getSelectNode",
|
|
226420
226440
|
value: function getSelectNode() {
|
|
@@ -226505,6 +226525,8 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226505
226525
|
}, {
|
|
226506
226526
|
key: "addCustoms",
|
|
226507
226527
|
value: function addCustoms() {
|
|
226528
|
+
var _this4 = this;
|
|
226529
|
+
|
|
226508
226530
|
this.downListContent.push({
|
|
226509
226531
|
text: "",
|
|
226510
226532
|
value: "",
|
|
@@ -226512,17 +226534,22 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226512
226534
|
id: this.getKeyId(),
|
|
226513
226535
|
default: false
|
|
226514
226536
|
});
|
|
226537
|
+
setTimeout(function () {
|
|
226538
|
+
if (_this4.tableInfo) {
|
|
226539
|
+
_this4.tableInfo.scrollTo(0, 10000);
|
|
226540
|
+
}
|
|
226541
|
+
}, 0);
|
|
226515
226542
|
}
|
|
226516
226543
|
}, {
|
|
226517
226544
|
key: "setDefault",
|
|
226518
226545
|
value: function setDefault(id) {
|
|
226519
|
-
var
|
|
226546
|
+
var _this5 = this;
|
|
226520
226547
|
|
|
226521
226548
|
this.downListContent = (0,toConsumableArray/* default */.Z)(this.downListContent.map(function (v) {
|
|
226522
226549
|
if (v.id === id) {
|
|
226523
226550
|
if (v.text.replace(/\s*/g, "") !== "") v.default = true;
|
|
226524
226551
|
} else {
|
|
226525
|
-
if (!
|
|
226552
|
+
if (!_this5.allowMultiSelect) v.default = false;
|
|
226526
226553
|
}
|
|
226527
226554
|
|
|
226528
226555
|
return v;
|
|
@@ -226558,7 +226585,7 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226558
226585
|
}, {
|
|
226559
226586
|
key: "sure",
|
|
226560
226587
|
value: function sure() {
|
|
226561
|
-
var
|
|
226588
|
+
var _this6 = this;
|
|
226562
226589
|
|
|
226563
226590
|
if (this.errorArr.length !== 0) {
|
|
226564
226591
|
return false;
|
|
@@ -226613,7 +226640,7 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226613
226640
|
}
|
|
226614
226641
|
|
|
226615
226642
|
this.$nextTick(function () {
|
|
226616
|
-
return
|
|
226643
|
+
return _this6.handleClose();
|
|
226617
226644
|
});
|
|
226618
226645
|
}
|
|
226619
226646
|
}, {
|
|
@@ -226644,10 +226671,10 @@ SelectDialog = __decorate([vue_class_component_esm({
|
|
|
226644
226671
|
/* harmony default export */ var SelectDialogvue_type_script_lang_ts_ = (SelectDialog);
|
|
226645
226672
|
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
|
|
226646
226673
|
/* harmony default export */ var selectDialog_SelectDialogvue_type_script_lang_ts_ = (SelectDialogvue_type_script_lang_ts_);
|
|
226647
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=
|
|
226674
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=00c42d15&lang=scss&scoped=true&
|
|
226648
226675
|
// extracted by mini-css-extract-plugin
|
|
226649
226676
|
|
|
226650
|
-
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=
|
|
226677
|
+
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=00c42d15&lang=scss&scoped=true&
|
|
226651
226678
|
|
|
226652
226679
|
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue
|
|
226653
226680
|
|
|
@@ -226660,11 +226687,11 @@ SelectDialog = __decorate([vue_class_component_esm({
|
|
|
226660
226687
|
|
|
226661
226688
|
var SelectDialog_component = normalizeComponent(
|
|
226662
226689
|
selectDialog_SelectDialogvue_type_script_lang_ts_,
|
|
226663
|
-
|
|
226664
|
-
|
|
226690
|
+
SelectDialogvue_type_template_id_00c42d15_scoped_true_render,
|
|
226691
|
+
SelectDialogvue_type_template_id_00c42d15_scoped_true_staticRenderFns,
|
|
226665
226692
|
false,
|
|
226666
226693
|
null,
|
|
226667
|
-
"
|
|
226694
|
+
"00c42d15",
|
|
226668
226695
|
null
|
|
226669
226696
|
|
|
226670
226697
|
)
|
|
@@ -228535,9 +228562,9 @@ var ExpressionForm_component = normalizeComponent(
|
|
|
228535
228562
|
;// CONCATENATED MODULE: ./src/components/controls/expressionForm/index.ts
|
|
228536
228563
|
|
|
228537
228564
|
/* harmony default export */ var expressionForm = (ExpressionForm);
|
|
228538
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=
|
|
228539
|
-
var RadioCheckboxvue_type_template_id_5067453f_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'control-modal-contents radio-checkbox-modal ' + _vm.animationClassName,style:({ width: _vm.boxGroup === 1 ? '1060px' : '500px' })},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v(_vm._s(_vm.controlType === 'RadioBox' ? '单选框' : '复选框')+_vm._s(_vm.boxGroup === 1 ? '组' : ''))]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("多项")]),_c('el-radio',{staticStyle:{"margin-left":"30px"},attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("单项")])],1),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.groupName),callback:function ($$v) {_vm.groupName=$$v},expression:"groupName"}})],1):_vm._e(),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item",staticStyle:{"padding":"0"}},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.radioCheckBoxGroup,"height":"300px"}},[_c('el-table-column',{attrs:{"label":"文本","width":"160"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}],null,false,4204152597)}),_c('el-table-column',{attrs:{"label":"提示文本","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(scope.row.tipText),callback:function ($$v) {_vm.$set(scope.row, "tipText", $$v)},expression:"scope.row.tipText"}})]}}],null,false,2396764658)}),_c('el-table-column',{attrs:{"label":"数值","width":"80"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(scope.row.numericValue),callback:function ($$v) {_vm.$set(scope.row, "numericValue", $$v)},expression:"scope.row.numericValue"}})]}}],null,false,3789767535)}),_c('el-table-column',{attrs:{"label":"内部标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"内部标识符"},model:{value:(scope.row.innerIdentifier),callback:function ($$v) {_vm.$set(scope.row, "innerIdentifier", $$v)},expression:"scope.row.innerIdentifier"}})]}}],null,false,1119088692)}),_c('el-table-column',{attrs:{"label":"数据元标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数据元标识符"},model:{value:(scope.row.dataMetaIdentifier),callback:function ($$v) {_vm.$set(scope.row, "dataMetaIdentifier", $$v)},expression:"scope.row.dataMetaIdentifier"}})]}}],null,false,479119831)}),_c('el-table-column',{attrs:{"label":"表示格式","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"表示格式"},model:{value:(scope.row.identifierFormat),callback:function ($$v) {_vm.$set(scope.row, "identifierFormat", $$v)},expression:"scope.row.identifierFormat"}})]}}],null,false,241604674)}),_c('el-table-column',{attrs:{"label":"默认选中","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(_vm.controlType === 'RadioBox')?_c('el-radio',{staticClass:"table-radio",attrs:{"label":scope.row.id},model:{value:(_vm.tableRadio),callback:function ($$v) {_vm.tableRadio=$$v},expression:"tableRadio"}}):_vm._e(),(_vm.controlType === 'CheckBox')?_c('el-checkbox',{model:{value:(scope.row.isSelected),callback:function ($$v) {_vm.$set(scope.row, "isSelected", $$v)},expression:"scope.row.isSelected"}}):_vm._e()]}}],null,false,1265273066)}),_c('el-table-column',{attrs:{"label":"勾选框左对齐","width":"54"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.boxAlign),callback:function ($$v) {_vm.$set(scope.row, "boxAlign", $$v)},expression:"scope.row.boxAlign"}})]}}],null,false,599012276)}),_c('el-table-column',{attrs:{"label":"内容转文本","width":"54"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isTransToText),callback:function ($$v) {_vm.$set(scope.row, "isTransToText", $$v)},expression:"scope.row.isTransToText"}})]}}],null,false,1354544746)}),_c('el-table-column',{attrs:{"label":"编辑文本","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isEditText),callback:function ($$v) {_vm.$set(scope.row, "isEditText", $$v)},expression:"scope.row.isEditText"}})]}}],null,false,3019799127)}),_c('el-table-column',{attrs:{"label":"可以删除","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isAllowDelete),callback:function ($$v) {_vm.$set(scope.row, "isAllowDelete", $$v)},expression:"scope.row.isAllowDelete"}})]}}],null,false,2012793206)}),_c('el-table-column',{attrs:{"label":"自动回填","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.readType),callback:function ($$v) {_vm.$set(scope.row, "readType", $$v)},expression:"scope.row.readType"}})]}}],null,false,373021414)}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]}}],null,false,1240557165)})],1)],1):_vm._e(),(_vm.boxGroup === 0)?[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.radioCheckbox.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.radioCheckbox.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "innerIdentifier", $$v)},expression:"radioCheckbox.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.radioCheckbox.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "dataMetaIdentifier", $$v)},expression:"radioCheckbox.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.radioCheckbox.identifierFormat),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "identifierFormat", $$v)},expression:"radioCheckbox.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.radioCheckbox.groupName),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "groupName", $$v)},expression:"radioCheckbox.groupName"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},model:{value:(_vm.radioCheckbox.text),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "text", $$v)},expression:"radioCheckbox.text"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(_vm.radioCheckbox.tipText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "tipText", $$v)},expression:"radioCheckbox.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isSelected),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isSelected", $$v)},expression:"radioCheckbox.isSelected"}},[_vm._v("处于选择状态")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isAllowDelete", $$v)},expression:"radioCheckbox.isAllowDelete"}},[_vm._v("可以删除")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.boxAlign),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "boxAlign", $$v)},expression:"radioCheckbox.boxAlign"}},[_vm._v("勾选框左对齐")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.readType),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "readType", $$v)},expression:"radioCheckbox.readType"}},[_vm._v("自动回填")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isTransToText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isTransToText", $$v)},expression:"radioCheckbox.isTransToText"}},[_vm._v("内容转文本")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isEditText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isEditText", $$v)},expression:"radioCheckbox.isEditText"}},[_vm._v("编辑文本")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数值")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(_vm.radioCheckbox.numericValue),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "numericValue", $$v)},expression:"radioCheckbox.numericValue"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("附加数据")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"附加数据"},model:{value:(_vm.radioCheckbox.additionalData),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "additionalData", $$v)},expression:"radioCheckbox.additionalData"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"勾选级联对象"},model:{value:(_vm.radioCheckbox.checkCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "checkCascadeObject", $$v)},expression:"radioCheckbox.checkCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("不勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"不勾选级联对象"},model:{value:(_vm.radioCheckbox.unCheckCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "unCheckCascadeObject", $$v)},expression:"radioCheckbox.unCheckCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]:_vm._e()],2)]),_c('footer',{staticClass:"ho-modal-footer"},[(_vm.boxGroup === 1)?_c('el-button',{staticStyle:{"transform":"translateX(-352px)"},attrs:{"type":"primary","size":"small"},on:{"click":_vm.addBox}},[_vm._v("增加"+_vm._s(_vm.controlType === 'RadioBox' ? '单选项' : '复选项'))]):_vm._e(),_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
228540
|
-
var
|
|
228565
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=6f230d8e&scoped=true&
|
|
228566
|
+
var RadioCheckboxvue_type_template_id_6f230d8e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'control-modal-contents radio-checkbox-modal ' + _vm.animationClassName,style:({ width: _vm.boxGroup === 1 ? '1060px' : '500px' })},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v(_vm._s(_vm.controlType === 'RadioBox' ? '单选框' : '复选框')+_vm._s(_vm.boxGroup === 1 ? '组' : ''))]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("多项")]),_c('el-radio',{staticStyle:{"margin-left":"30px"},attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("单项")])],1),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.groupName),callback:function ($$v) {_vm.groupName=$$v},expression:"groupName"}})],1):_vm._e(),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item",staticStyle:{"padding":"0"}},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.radioCheckBoxGroup,"height":"300px"}},[_c('el-table-column',{attrs:{"label":"文本","width":"160"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},on:{"input":_vm.addNewItem},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}],null,false,3552177280)}),_c('el-table-column',{attrs:{"label":"提示文本","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(scope.row.tipText),callback:function ($$v) {_vm.$set(scope.row, "tipText", $$v)},expression:"scope.row.tipText"}})]}}],null,false,2396764658)}),_c('el-table-column',{attrs:{"label":"数值","width":"80"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(scope.row.numericValue),callback:function ($$v) {_vm.$set(scope.row, "numericValue", $$v)},expression:"scope.row.numericValue"}})]}}],null,false,3789767535)}),_c('el-table-column',{attrs:{"label":"内部标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"内部标识符"},model:{value:(scope.row.innerIdentifier),callback:function ($$v) {_vm.$set(scope.row, "innerIdentifier", $$v)},expression:"scope.row.innerIdentifier"}})]}}],null,false,1119088692)}),_c('el-table-column',{attrs:{"label":"数据元标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数据元标识符"},model:{value:(scope.row.dataMetaIdentifier),callback:function ($$v) {_vm.$set(scope.row, "dataMetaIdentifier", $$v)},expression:"scope.row.dataMetaIdentifier"}})]}}],null,false,479119831)}),_c('el-table-column',{attrs:{"label":"表示格式","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"表示格式"},model:{value:(scope.row.identifierFormat),callback:function ($$v) {_vm.$set(scope.row, "identifierFormat", $$v)},expression:"scope.row.identifierFormat"}})]}}],null,false,241604674)}),_c('el-table-column',{attrs:{"label":"默认选中","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(_vm.controlType === 'RadioBox')?_c('el-radio',{staticClass:"table-radio",attrs:{"label":scope.row.id},model:{value:(_vm.tableRadio),callback:function ($$v) {_vm.tableRadio=$$v},expression:"tableRadio"}}):_vm._e(),(_vm.controlType === 'CheckBox')?_c('el-checkbox',{model:{value:(scope.row.isSelected),callback:function ($$v) {_vm.$set(scope.row, "isSelected", $$v)},expression:"scope.row.isSelected"}}):_vm._e()]}}],null,false,1265273066)}),_c('el-table-column',{attrs:{"label":"勾选框左对齐","width":"54"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.boxAlign),callback:function ($$v) {_vm.$set(scope.row, "boxAlign", $$v)},expression:"scope.row.boxAlign"}})]}}],null,false,599012276)}),_c('el-table-column',{attrs:{"label":"内容转文本","width":"54"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isTransToText),callback:function ($$v) {_vm.$set(scope.row, "isTransToText", $$v)},expression:"scope.row.isTransToText"}})]}}],null,false,1354544746)}),_c('el-table-column',{attrs:{"label":"编辑文本","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isEditText),callback:function ($$v) {_vm.$set(scope.row, "isEditText", $$v)},expression:"scope.row.isEditText"}})]}}],null,false,3019799127)}),_c('el-table-column',{attrs:{"label":"可以删除","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isAllowDelete),callback:function ($$v) {_vm.$set(scope.row, "isAllowDelete", $$v)},expression:"scope.row.isAllowDelete"}})]}}],null,false,2012793206)}),_c('el-table-column',{attrs:{"label":"自动回填","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.readType),callback:function ($$v) {_vm.$set(scope.row, "readType", $$v)},expression:"scope.row.readType"}})]}}],null,false,373021414)}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]}}],null,false,1240557165)})],1)],1):_vm._e(),(_vm.boxGroup === 0)?[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.radioCheckbox.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.radioCheckbox.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "innerIdentifier", $$v)},expression:"radioCheckbox.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.radioCheckbox.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "dataMetaIdentifier", $$v)},expression:"radioCheckbox.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.radioCheckbox.identifierFormat),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "identifierFormat", $$v)},expression:"radioCheckbox.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.radioCheckbox.groupName),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "groupName", $$v)},expression:"radioCheckbox.groupName"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},model:{value:(_vm.radioCheckbox.text),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "text", $$v)},expression:"radioCheckbox.text"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(_vm.radioCheckbox.tipText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "tipText", $$v)},expression:"radioCheckbox.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isSelected),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isSelected", $$v)},expression:"radioCheckbox.isSelected"}},[_vm._v("处于选择状态")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isAllowDelete", $$v)},expression:"radioCheckbox.isAllowDelete"}},[_vm._v("可以删除")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.boxAlign),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "boxAlign", $$v)},expression:"radioCheckbox.boxAlign"}},[_vm._v("勾选框左对齐")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.readType),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "readType", $$v)},expression:"radioCheckbox.readType"}},[_vm._v("自动回填")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isTransToText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isTransToText", $$v)},expression:"radioCheckbox.isTransToText"}},[_vm._v("内容转文本")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isEditText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isEditText", $$v)},expression:"radioCheckbox.isEditText"}},[_vm._v("编辑文本")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数值")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(_vm.radioCheckbox.numericValue),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "numericValue", $$v)},expression:"radioCheckbox.numericValue"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("附加数据")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"附加数据"},model:{value:(_vm.radioCheckbox.additionalData),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "additionalData", $$v)},expression:"radioCheckbox.additionalData"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"勾选级联对象"},model:{value:(_vm.radioCheckbox.checkCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "checkCascadeObject", $$v)},expression:"radioCheckbox.checkCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("不勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"不勾选级联对象"},model:{value:(_vm.radioCheckbox.unCheckCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "unCheckCascadeObject", $$v)},expression:"radioCheckbox.unCheckCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]:_vm._e()],2)]),_c('footer',{staticClass:"ho-modal-footer"},[(_vm.boxGroup === 1)?_c('el-button',{staticStyle:{"transform":"translateX(-352px)"},attrs:{"type":"primary","size":"small"},on:{"click":_vm.addBox}},[_vm._v("增加"+_vm._s(_vm.controlType === 'RadioBox' ? '单选项' : '复选项'))]):_vm._e(),_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
228567
|
+
var RadioCheckboxvue_type_template_id_6f230d8e_scoped_true_staticRenderFns = []
|
|
228541
228568
|
|
|
228542
228569
|
|
|
228543
228570
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=ts&
|
|
@@ -228659,6 +228686,22 @@ var RadioCheckbox = /*#__PURE__*/function (_Vue) {
|
|
|
228659
228686
|
|
|
228660
228687
|
return value;
|
|
228661
228688
|
}
|
|
228689
|
+
}, {
|
|
228690
|
+
key: "addNewItem",
|
|
228691
|
+
value: function addNewItem() {
|
|
228692
|
+
if (this.radioCheckBoxGroup.filter(function (v) {
|
|
228693
|
+
return v.text === '';
|
|
228694
|
+
}).length === 0) {
|
|
228695
|
+
this.addBox();
|
|
228696
|
+
setTimeout(function () {
|
|
228697
|
+
var tableInfo = document.querySelector('.el-table__body-wrapper');
|
|
228698
|
+
|
|
228699
|
+
if (tableInfo) {
|
|
228700
|
+
tableInfo.scrollTo(0, 10000);
|
|
228701
|
+
}
|
|
228702
|
+
}, 0);
|
|
228703
|
+
}
|
|
228704
|
+
}
|
|
228662
228705
|
}, {
|
|
228663
228706
|
key: "addBox",
|
|
228664
228707
|
value: function addBox() {
|
|
@@ -228739,10 +228782,10 @@ RadioCheckbox = __decorate([vue_class_component_esm({
|
|
|
228739
228782
|
/* harmony default export */ var RadioCheckboxvue_type_script_lang_ts_ = (RadioCheckbox);
|
|
228740
228783
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=ts&
|
|
228741
228784
|
/* harmony default export */ var radioCheckBox_RadioCheckboxvue_type_script_lang_ts_ = (RadioCheckboxvue_type_script_lang_ts_);
|
|
228742
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
228785
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=6f230d8e&lang=scss&scoped=true&
|
|
228743
228786
|
// extracted by mini-css-extract-plugin
|
|
228744
228787
|
|
|
228745
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
228788
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=6f230d8e&lang=scss&scoped=true&
|
|
228746
228789
|
|
|
228747
228790
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue
|
|
228748
228791
|
|
|
@@ -228755,11 +228798,11 @@ RadioCheckbox = __decorate([vue_class_component_esm({
|
|
|
228755
228798
|
|
|
228756
228799
|
var RadioCheckbox_component = normalizeComponent(
|
|
228757
228800
|
radioCheckBox_RadioCheckboxvue_type_script_lang_ts_,
|
|
228758
|
-
|
|
228759
|
-
|
|
228801
|
+
RadioCheckboxvue_type_template_id_6f230d8e_scoped_true_render,
|
|
228802
|
+
RadioCheckboxvue_type_template_id_6f230d8e_scoped_true_staticRenderFns,
|
|
228760
228803
|
false,
|
|
228761
228804
|
null,
|
|
228762
|
-
"
|
|
228805
|
+
"6f230d8e",
|
|
228763
228806
|
null
|
|
228764
228807
|
|
|
228765
228808
|
)
|
|
@@ -229221,9 +229264,9 @@ var DataSource_component = normalizeComponent(
|
|
|
229221
229264
|
;// CONCATENATED MODULE: ./src/components/controls/dataSource/index.ts
|
|
229222
229265
|
|
|
229223
229266
|
/* harmony default export */ var controls_dataSource = (DataSource);
|
|
229224
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=template&id=
|
|
229225
|
-
var
|
|
229226
|
-
var
|
|
229267
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=template&id=08d9ce14&scoped=true&
|
|
229268
|
+
var ListSourcevue_type_template_id_08d9ce14_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"listSourceModal",staticClass:"control-modal-contents list-source-modal",on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("下拉列表")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item",staticStyle:{"width":"100%"}},[_c('span',{staticClass:"label",staticStyle:{"width":"42px"}},[_vm._v("来源")]),_c('el-input',{attrs:{"size":"mini","placeholder":"来源"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"42px"}},[_vm._v("列表")]),_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.listValue,"height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{attrs:{"label":"类型","width":"70"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.type),callback:function ($$v) {_vm.$set(scope.row, "type", $$v)},expression:"scope.row.type"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.default)?_c('span',{staticClass:"tags"},[_vm._v("默认")]):_vm._e(),(scope.row.default)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.cancelDefault(scope.row.id)}}},[_vm._v("取消")]):_vm._e(),(!scope.row.default && scope.row.text)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.setDefault(scope.row.id)}}},[_vm._v("设为默认")]):_vm._e(),(scope.$index !== _vm.listValue.length - 1 && _vm.focusIndexs === scope.$index)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")]):_vm._e()]}}])})],1)],1)])]),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
229269
|
+
var ListSourcevue_type_template_id_08d9ce14_scoped_true_staticRenderFns = []
|
|
229227
229270
|
|
|
229228
229271
|
|
|
229229
229272
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=ts&
|
|
@@ -229259,7 +229302,8 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229259
229302
|
|
|
229260
229303
|
_this = _super.apply(this, arguments);
|
|
229261
229304
|
_this.focusIndexs = -1;
|
|
229262
|
-
_this.source =
|
|
229305
|
+
_this.source = '';
|
|
229306
|
+
_this.tableInfo = null;
|
|
229263
229307
|
_this.errorArr = [];
|
|
229264
229308
|
_this.errorIndex = [];
|
|
229265
229309
|
_this.listValue = [];
|
|
@@ -229276,8 +229320,8 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229276
229320
|
key: "init",
|
|
229277
229321
|
value: function init() {
|
|
229278
229322
|
var list = [{
|
|
229279
|
-
text:
|
|
229280
|
-
value:
|
|
229323
|
+
text: '',
|
|
229324
|
+
value: '',
|
|
229281
229325
|
type: 0,
|
|
229282
229326
|
id: this.getKeyId()
|
|
229283
229327
|
}];
|
|
@@ -229291,6 +229335,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229291
229335
|
this.listValue = [].concat((0,toConsumableArray/* default */.Z)(arr), list);
|
|
229292
229336
|
this.source = this.getListArrSource();
|
|
229293
229337
|
this.isAllowMultiSelected = this.getListAllowMultiSelected();
|
|
229338
|
+
this.tableInfo = document.querySelector('.el-table__body-wrapper');
|
|
229294
229339
|
}
|
|
229295
229340
|
}, {
|
|
229296
229341
|
key: "focusIndex",
|
|
@@ -229302,7 +229347,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229302
229347
|
value: function blurIndex(index) {
|
|
229303
229348
|
var item = this.listValue[index];
|
|
229304
229349
|
|
|
229305
|
-
if ((item === null || item === void 0 ? void 0 : item.value.replace(/\s*/g,
|
|
229350
|
+
if ((item === null || item === void 0 ? void 0 : item.value.replace(/\s*/g, '')) === '' && (item === null || item === void 0 ? void 0 : item.text.replace(/\s*/g, '')) === '' && index !== this.listValue.length - 1) {
|
|
229306
229351
|
this.deleteCurrentRow(item.id);
|
|
229307
229352
|
}
|
|
229308
229353
|
|
|
@@ -229317,7 +229362,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229317
229362
|
} else {
|
|
229318
229363
|
this.errorIndex = [];
|
|
229319
229364
|
var emptyItem = this.listValue.filter(function (v) {
|
|
229320
|
-
if ((v === null || v === void 0 ? void 0 : v.value.replace(/\s*/g,
|
|
229365
|
+
if ((v === null || v === void 0 ? void 0 : v.value.replace(/\s*/g, '')) === '' && (v === null || v === void 0 ? void 0 : v.text.replace(/\s*/g, '')) === '') {
|
|
229321
229366
|
return v;
|
|
229322
229367
|
}
|
|
229323
229368
|
});
|
|
@@ -229361,24 +229406,31 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229361
229406
|
}, {
|
|
229362
229407
|
key: "addCustoms",
|
|
229363
229408
|
value: function addCustoms() {
|
|
229409
|
+
var _this3 = this;
|
|
229410
|
+
|
|
229364
229411
|
this.listValue.push({
|
|
229365
|
-
text:
|
|
229366
|
-
value:
|
|
229412
|
+
text: '',
|
|
229413
|
+
value: '',
|
|
229367
229414
|
type: 0,
|
|
229368
229415
|
id: this.getKeyId(),
|
|
229369
229416
|
default: false
|
|
229370
229417
|
});
|
|
229418
|
+
setTimeout(function () {
|
|
229419
|
+
if (_this3.tableInfo) {
|
|
229420
|
+
_this3.tableInfo.scrollTo(0, 10000);
|
|
229421
|
+
}
|
|
229422
|
+
}, 0);
|
|
229371
229423
|
}
|
|
229372
229424
|
}, {
|
|
229373
229425
|
key: "setDefault",
|
|
229374
229426
|
value: function setDefault(id) {
|
|
229375
|
-
var
|
|
229427
|
+
var _this4 = this;
|
|
229376
229428
|
|
|
229377
229429
|
this.listValue = (0,toConsumableArray/* default */.Z)(this.listValue.map(function (v) {
|
|
229378
229430
|
if (v.id === id) {
|
|
229379
|
-
if (v.text.replace(/\s*/g,
|
|
229431
|
+
if (v.text.replace(/\s*/g, '') !== '') v.default = true;
|
|
229380
229432
|
} else {
|
|
229381
|
-
if (!
|
|
229433
|
+
if (!_this4.isAllowMultiSelected) v.default = false;
|
|
229382
229434
|
}
|
|
229383
229435
|
|
|
229384
229436
|
return v;
|
|
@@ -229429,7 +229481,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229429
229481
|
}, {
|
|
229430
229482
|
key: "getKeyId",
|
|
229431
229483
|
value: function getKeyId(index) {
|
|
229432
|
-
return index ?
|
|
229484
|
+
return index ? 'DL' + new Date().getTime() + index : 'DL' + new Date().getTime();
|
|
229433
229485
|
}
|
|
229434
229486
|
}, {
|
|
229435
229487
|
key: "handleClose",
|
|
@@ -229439,18 +229491,18 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229439
229491
|
}, {
|
|
229440
229492
|
key: "closeTimeout",
|
|
229441
229493
|
value: function closeTimeout() {
|
|
229442
|
-
var
|
|
229494
|
+
var _this5 = this;
|
|
229443
229495
|
|
|
229444
229496
|
setTimeout(function () {
|
|
229445
|
-
|
|
229497
|
+
_this5.setIsListStyle(false);
|
|
229446
229498
|
|
|
229447
|
-
|
|
229499
|
+
_this5.listValue = [];
|
|
229448
229500
|
}, 0);
|
|
229449
229501
|
}
|
|
229450
229502
|
}, {
|
|
229451
229503
|
key: "toolModalDown",
|
|
229452
229504
|
value: function toolModalDown(e) {
|
|
229453
|
-
(0,util/* toolModalMove */.tC)(e, this.listSourceModal,
|
|
229505
|
+
(0,util/* toolModalMove */.tC)(e, this.listSourceModal, 'modal-title');
|
|
229454
229506
|
}
|
|
229455
229507
|
}]);
|
|
229456
229508
|
|
|
@@ -229459,26 +229511,26 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229459
229511
|
|
|
229460
229512
|
__decorate([Ref()], ListSource.prototype, "listSourceModal", void 0);
|
|
229461
229513
|
|
|
229462
|
-
__decorate([Inject(
|
|
229514
|
+
__decorate([Inject('setIsListStyle')], ListSource.prototype, "setIsListStyle", void 0);
|
|
229463
229515
|
|
|
229464
|
-
__decorate([Inject(
|
|
229516
|
+
__decorate([Inject('setListStyle')], ListSource.prototype, "setListStyle", void 0);
|
|
229465
229517
|
|
|
229466
|
-
__decorate([Inject(
|
|
229518
|
+
__decorate([Inject('getListAllowMultiSelected')], ListSource.prototype, "getListAllowMultiSelected", void 0);
|
|
229467
229519
|
|
|
229468
|
-
__decorate([Inject(
|
|
229520
|
+
__decorate([Inject('getListStyle')], ListSource.prototype, "getListStyle", void 0);
|
|
229469
229521
|
|
|
229470
|
-
__decorate([Inject(
|
|
229522
|
+
__decorate([Inject('getListArrSource')], ListSource.prototype, "getListArrSource", void 0);
|
|
229471
229523
|
|
|
229472
229524
|
ListSource = __decorate([vue_class_component_esm({
|
|
229473
|
-
name:
|
|
229525
|
+
name: 'ListSource'
|
|
229474
229526
|
})], ListSource);
|
|
229475
229527
|
/* harmony default export */ var ListSourcevue_type_script_lang_ts_ = (ListSource);
|
|
229476
229528
|
;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=ts&
|
|
229477
229529
|
/* harmony default export */ var listsource_ListSourcevue_type_script_lang_ts_ = (ListSourcevue_type_script_lang_ts_);
|
|
229478
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=
|
|
229530
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=08d9ce14&lang=scss&scoped=true&
|
|
229479
229531
|
// extracted by mini-css-extract-plugin
|
|
229480
229532
|
|
|
229481
|
-
;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=
|
|
229533
|
+
;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=08d9ce14&lang=scss&scoped=true&
|
|
229482
229534
|
|
|
229483
229535
|
;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue
|
|
229484
229536
|
|
|
@@ -229491,11 +229543,11 @@ ListSource = __decorate([vue_class_component_esm({
|
|
|
229491
229543
|
|
|
229492
229544
|
var ListSource_component = normalizeComponent(
|
|
229493
229545
|
listsource_ListSourcevue_type_script_lang_ts_,
|
|
229494
|
-
|
|
229495
|
-
|
|
229546
|
+
ListSourcevue_type_template_id_08d9ce14_scoped_true_render,
|
|
229547
|
+
ListSourcevue_type_template_id_08d9ce14_scoped_true_staticRenderFns,
|
|
229496
229548
|
false,
|
|
229497
229549
|
null,
|
|
229498
|
-
"
|
|
229550
|
+
"08d9ce14",
|
|
229499
229551
|
null
|
|
229500
229552
|
|
|
229501
229553
|
)
|