hoeditor-web 3.0.78 → 3.0.79
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.css +1 -1
- package/lib/hoeditor.umd.js +1319 -854
- package/lib/hoeditor.umd.min.js +8 -8
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -3358,7 +3358,7 @@ function _extends(){return _extends=Object.assign?Object.assign.bind():function(
|
|
|
3358
3358
|
|
|
3359
3359
|
/***/ }),
|
|
3360
3360
|
|
|
3361
|
-
/***/
|
|
3361
|
+
/***/ 77004:
|
|
3362
3362
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3363
3363
|
|
|
3364
3364
|
"use strict";
|
|
@@ -3370,7 +3370,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3370
3370
|
"default": function() { return /* binding */ ControlModal; }
|
|
3371
3371
|
});
|
|
3372
3372
|
|
|
3373
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/ControlModal.vue?vue&type=template&id=
|
|
3373
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/ControlModal.vue?vue&type=template&id=3d3ceaa1&
|
|
3374
3374
|
var render = function render() {
|
|
3375
3375
|
var _vm = this,
|
|
3376
3376
|
_c = _vm._self._c;
|
|
@@ -3530,16 +3530,22 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
3530
3530
|
this.openOtherModal(this.hoEditorProvider.isCustoms, 'customAttributes/CustomAttributes');
|
|
3531
3531
|
}
|
|
3532
3532
|
},
|
|
3533
|
-
'hoEditorProvider.isDataSource': {
|
|
3533
|
+
// 'hoEditorProvider.isDataSource': {
|
|
3534
|
+
// deep: true,
|
|
3535
|
+
// handler() {
|
|
3536
|
+
// this.openOtherModal(this.hoEditorProvider.isDataSource, 'dataSource/DataSource');
|
|
3537
|
+
// },
|
|
3538
|
+
// },
|
|
3539
|
+
'hoEditorProvider.isListStyle': {
|
|
3534
3540
|
deep: true,
|
|
3535
3541
|
handler: function handler() {
|
|
3536
|
-
this.openOtherModal(this.hoEditorProvider.
|
|
3542
|
+
this.openOtherModal(this.hoEditorProvider.isListStyle, 'listsource/ListSource');
|
|
3537
3543
|
}
|
|
3538
3544
|
},
|
|
3539
|
-
'hoEditorProvider.
|
|
3545
|
+
'hoEditorProvider.isVerifyTip': {
|
|
3540
3546
|
deep: true,
|
|
3541
3547
|
handler: function handler() {
|
|
3542
|
-
this.openOtherModal(this.hoEditorProvider.
|
|
3548
|
+
this.openOtherModal(this.hoEditorProvider.isVerifyTip, 'verifyTip/VerifyTip');
|
|
3543
3549
|
}
|
|
3544
3550
|
}
|
|
3545
3551
|
},
|
|
@@ -3551,7 +3557,8 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
3551
3557
|
this.$emit('updateCommentContent', func);
|
|
3552
3558
|
},
|
|
3553
3559
|
handleClose: function handleClose() {
|
|
3554
|
-
|
|
3560
|
+
// this.hoEditorProvider.isDataSource
|
|
3561
|
+
if (this.hoEditorProvider.isVerifyTip || this.hoEditorProvider.isCustoms || this.hoEditorProvider.isListStyle || this.hoEditorProvider.controlType === 'find') return false;
|
|
3555
3562
|
this.$emit('closeControlmodal');
|
|
3556
3563
|
},
|
|
3557
3564
|
/**
|
|
@@ -3618,7 +3625,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
3618
3625
|
|
|
3619
3626
|
/***/ }),
|
|
3620
3627
|
|
|
3621
|
-
/***/
|
|
3628
|
+
/***/ 2062:
|
|
3622
3629
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3623
3630
|
|
|
3624
3631
|
"use strict";
|
|
@@ -3630,7 +3637,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3630
3637
|
"default": function() { return /* binding */ BarCodes; }
|
|
3631
3638
|
});
|
|
3632
3639
|
|
|
3633
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/barCode/BarCodes.vue?vue&type=template&id=
|
|
3640
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/barCode/BarCodes.vue?vue&type=template&id=77ae51d0&
|
|
3634
3641
|
var render = function render() {
|
|
3635
3642
|
var _vm = this,
|
|
3636
3643
|
_c = _vm._self._c;
|
|
@@ -3691,15 +3698,7 @@ var render = function render() {
|
|
|
3691
3698
|
},
|
|
3692
3699
|
expression: "isDisplayText"
|
|
3693
3700
|
}
|
|
3694
|
-
})], 1), _c('
|
|
3695
|
-
staticClass: "control-item"
|
|
3696
|
-
}, [_c('span', {
|
|
3697
|
-
staticClass: "label"
|
|
3698
|
-
}, [_vm._v("数据源")]), _c('a-button', {
|
|
3699
|
-
on: {
|
|
3700
|
-
"click": _vm.openDataSourceModal
|
|
3701
|
-
}
|
|
3702
|
-
}, [_vm._v("设置数据源")])], 1), _c('fieldset', {
|
|
3701
|
+
})], 1), _c('fieldset', {
|
|
3703
3702
|
staticClass: "fieldset"
|
|
3704
3703
|
}, [_c('legend', [_vm._v("预 览")]), _c('div', {
|
|
3705
3704
|
staticClass: "bar-code"
|
|
@@ -3745,8 +3744,6 @@ var staticRenderFns = [];
|
|
|
3745
3744
|
var es_regexp_exec = __webpack_require__(74916);
|
|
3746
3745
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
|
|
3747
3746
|
var es_regexp_test = __webpack_require__(77601);
|
|
3748
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
3749
|
-
var es_json_stringify = __webpack_require__(38862);
|
|
3750
3747
|
// EXTERNAL MODULE: ./node_modules/jsbarcode/bin/JsBarcode.js
|
|
3751
3748
|
var JsBarcode = __webpack_require__(55961);
|
|
3752
3749
|
var JsBarcode_default = /*#__PURE__*/__webpack_require__.n(JsBarcode);
|
|
@@ -3760,7 +3757,6 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
3760
3757
|
|
|
3761
3758
|
|
|
3762
3759
|
|
|
3763
|
-
|
|
3764
3760
|
/* harmony default export */ var BarCodesvue_type_script_lang_js_ = ({
|
|
3765
3761
|
name: 'Barcode',
|
|
3766
3762
|
props: {
|
|
@@ -3785,8 +3781,8 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
3785
3781
|
textField: '',
|
|
3786
3782
|
textEslint: /^[a-zA-Z0-9_]+$/,
|
|
3787
3783
|
animationClassNames: 'control-modal-contents barcode-modal animation-in',
|
|
3788
|
-
barcode: null
|
|
3789
|
-
dataSource: null
|
|
3784
|
+
barcode: null
|
|
3785
|
+
// dataSource: null
|
|
3790
3786
|
};
|
|
3791
3787
|
},
|
|
3792
3788
|
created: function created() {
|
|
@@ -3845,17 +3841,18 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
3845
3841
|
width = _ref[0],
|
|
3846
3842
|
height = _ref[1];
|
|
3847
3843
|
var vueController = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId).vueController;
|
|
3848
|
-
this.dataSource = this.hoEditorProvider.getDataSource();
|
|
3844
|
+
// this.dataSource = this.hoEditorProvider.getDataSource();
|
|
3845
|
+
|
|
3849
3846
|
if (this.controlStatus === 'add') {
|
|
3850
|
-
vueController.insertBarcode(this.controlStatus, this.id, this.textContent, this.isDisplayText, this.barcode.src, width, height,
|
|
3847
|
+
vueController.insertBarcode(this.controlStatus, this.id, this.textContent, this.isDisplayText, this.barcode.src, width, height, "");
|
|
3851
3848
|
} else if (this.controlStatus === 'update') {
|
|
3852
|
-
vueController.updateBarcode(this.id, this.textContent, this.isDisplayText, this.barcode.src, width, height,
|
|
3849
|
+
vueController.updateBarcode(this.id, this.textContent, this.isDisplayText, this.barcode.src, width, height, "");
|
|
3853
3850
|
}
|
|
3854
3851
|
this.handleClose();
|
|
3855
3852
|
},
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
},
|
|
3853
|
+
// openDataSourceModal() {
|
|
3854
|
+
// this.hoEditorProvider.setIsDataSource(true);
|
|
3855
|
+
// },
|
|
3859
3856
|
handleClose: function handleClose() {
|
|
3860
3857
|
this.animationClassNames = 'control-modal-contents barcode-modal animation-out';
|
|
3861
3858
|
this.$emit('closed');
|
|
@@ -3864,10 +3861,10 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
3864
3861
|
});
|
|
3865
3862
|
;// CONCATENATED MODULE: ./src/components/controls/barCode/BarCodes.vue?vue&type=script&lang=js&
|
|
3866
3863
|
/* harmony default export */ var barCode_BarCodesvue_type_script_lang_js_ = (BarCodesvue_type_script_lang_js_);
|
|
3867
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/barCode/BarCodes.vue?vue&type=style&index=0&id=
|
|
3864
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/barCode/BarCodes.vue?vue&type=style&index=0&id=77ae51d0&prod&lang=scss&
|
|
3868
3865
|
// extracted by mini-css-extract-plugin
|
|
3869
3866
|
|
|
3870
|
-
;// CONCATENATED MODULE: ./src/components/controls/barCode/BarCodes.vue?vue&type=style&index=0&id=
|
|
3867
|
+
;// CONCATENATED MODULE: ./src/components/controls/barCode/BarCodes.vue?vue&type=style&index=0&id=77ae51d0&prod&lang=scss&
|
|
3871
3868
|
|
|
3872
3869
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
3873
3870
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -11798,7 +11795,7 @@ var type = __webpack_require__(41542);
|
|
|
11798
11795
|
poperSelectedModal: null,
|
|
11799
11796
|
selectPoperList: null,
|
|
11800
11797
|
poppernIstance: null,
|
|
11801
|
-
textParam: Object.assign({}, controlParams/* textParams */.
|
|
11798
|
+
textParam: Object.assign({}, controlParams/* textParams */.E),
|
|
11802
11799
|
isCanSearch: false,
|
|
11803
11800
|
// 搜索
|
|
11804
11801
|
mutexSelect: false,
|
|
@@ -12988,7 +12985,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
12988
12985
|
|
|
12989
12986
|
/***/ }),
|
|
12990
12987
|
|
|
12991
|
-
/***/
|
|
12988
|
+
/***/ 51484:
|
|
12992
12989
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
12993
12990
|
|
|
12994
12991
|
"use strict";
|
|
@@ -13000,7 +12997,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13000
12997
|
"default": function() { return /* binding */ PrintLineStyle; }
|
|
13001
12998
|
});
|
|
13002
12999
|
|
|
13003
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/printstyle/PrintLineStyle.vue?vue&type=template&id=
|
|
13000
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/printstyle/PrintLineStyle.vue?vue&type=template&id=767ff9ca&
|
|
13004
13001
|
var render = function render() {
|
|
13005
13002
|
var _vm = this,
|
|
13006
13003
|
_c = _vm._self._c;
|
|
@@ -13038,147 +13035,11 @@ var render = function render() {
|
|
|
13038
13035
|
attrs: {
|
|
13039
13036
|
"value": 0
|
|
13040
13037
|
}
|
|
13041
|
-
}, [_c('
|
|
13042
|
-
attrs: {
|
|
13043
|
-
"viewBox": "0 0 18236 1024",
|
|
13044
|
-
"version": "1.1",
|
|
13045
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
13046
|
-
"width": "100",
|
|
13047
|
-
"height": "34"
|
|
13048
|
-
}
|
|
13049
|
-
}, [_c('path', {
|
|
13050
|
-
attrs: {
|
|
13051
|
-
"d": "M0 0h18236.952381v1024H0z",
|
|
13052
|
-
"fill": "#333"
|
|
13053
|
-
}
|
|
13054
|
-
})]), _c('span', {
|
|
13055
|
-
staticStyle: {
|
|
13056
|
-
"flex": "1"
|
|
13057
|
-
}
|
|
13058
|
-
}), _c('span', [_vm._v("solid")])]), _c('a-select-option', {
|
|
13038
|
+
}, [_c('span', [_vm._v("实线")])]), _c('a-select-option', {
|
|
13059
13039
|
attrs: {
|
|
13060
13040
|
"value": 1
|
|
13061
13041
|
}
|
|
13062
|
-
}, [_c('
|
|
13063
|
-
attrs: {
|
|
13064
|
-
"viewBox": "0 0 15360 1024",
|
|
13065
|
-
"version": "1.1",
|
|
13066
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
13067
|
-
"width": "100",
|
|
13068
|
-
"height": "32",
|
|
13069
|
-
"fill": "#333"
|
|
13070
|
-
}
|
|
13071
|
-
}, [_c('path', {
|
|
13072
|
-
attrs: {
|
|
13073
|
-
"d": "M0 1024V0h3072v1024H0z m4096 0V0h3072v1024H4096z m8192 0V0h3072v1024h-3072z m-4096 0V0h3072v1024H8192z"
|
|
13074
|
-
}
|
|
13075
|
-
})]), _c('span', {
|
|
13076
|
-
staticStyle: {
|
|
13077
|
-
"flex": "1"
|
|
13078
|
-
}
|
|
13079
|
-
}), _c('span', [_vm._v("dash")])]), _c('a-select-option', {
|
|
13080
|
-
attrs: {
|
|
13081
|
-
"value": 2
|
|
13082
|
-
}
|
|
13083
|
-
}, [_c('svg', {
|
|
13084
|
-
staticStyle: {
|
|
13085
|
-
"transform": "translateY(8px)"
|
|
13086
|
-
},
|
|
13087
|
-
attrs: {
|
|
13088
|
-
"viewBox": "0 0 7680 1024",
|
|
13089
|
-
"version": "1.1",
|
|
13090
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
13091
|
-
"width": "50",
|
|
13092
|
-
"height": "20",
|
|
13093
|
-
"fill": "#333"
|
|
13094
|
-
}
|
|
13095
|
-
}, [_c('path', {
|
|
13096
|
-
attrs: {
|
|
13097
|
-
"d": "M0 0h2304v1024H0V0z m3328 0h1024v1024h-1024V0z m2048 0h2304v1024h-2304V0z"
|
|
13098
|
-
}
|
|
13099
|
-
})]), _c('span', {
|
|
13100
|
-
staticStyle: {
|
|
13101
|
-
"flex": "1"
|
|
13102
|
-
}
|
|
13103
|
-
}), _c('span', [_vm._v("dashdot")])]), _c('a-select-option', {
|
|
13104
|
-
attrs: {
|
|
13105
|
-
"value": 3
|
|
13106
|
-
}
|
|
13107
|
-
}, [_c('svg', {
|
|
13108
|
-
attrs: {
|
|
13109
|
-
"viewBox": "0 0 12288 1024",
|
|
13110
|
-
"version": "1.1",
|
|
13111
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
13112
|
-
"width": "80",
|
|
13113
|
-
"height": "34",
|
|
13114
|
-
"fill": "#333"
|
|
13115
|
-
}
|
|
13116
|
-
}, [_c('path', {
|
|
13117
|
-
attrs: {
|
|
13118
|
-
"d": "M6912 0h1536v1024h-1536V0zM3840 0h1536v1024h-1536V0zM0 0h2304v1024H0V0z m9984 0h2304v1024h-2304V0z"
|
|
13119
|
-
}
|
|
13120
|
-
})]), _c('span', {
|
|
13121
|
-
staticStyle: {
|
|
13122
|
-
"flex": "1",
|
|
13123
|
-
"padding": "0 33px"
|
|
13124
|
-
}
|
|
13125
|
-
}), _c('span', [_vm._v("dashdotdot")])]), _c('a-select-option', {
|
|
13126
|
-
attrs: {
|
|
13127
|
-
"value": 4
|
|
13128
|
-
}
|
|
13129
|
-
}, [_c('svg', {
|
|
13130
|
-
staticStyle: {
|
|
13131
|
-
"transform": "translateY(-12px)"
|
|
13132
|
-
},
|
|
13133
|
-
attrs: {
|
|
13134
|
-
"viewBox": "0 0 1024 1024",
|
|
13135
|
-
"version": "1.1",
|
|
13136
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
13137
|
-
"width": "36",
|
|
13138
|
-
"height": "34",
|
|
13139
|
-
"fill": "#333"
|
|
13140
|
-
}
|
|
13141
|
-
}, [_c('path', {
|
|
13142
|
-
attrs: {
|
|
13143
|
-
"d": "M424.96 797.184h174.08v174.08H424.96zM790.016 797.184h174.08v174.08h-174.08zM59.904 797.184h174.08v174.08h-174.08z"
|
|
13144
|
-
}
|
|
13145
|
-
})]), _c('svg', {
|
|
13146
|
-
staticStyle: {
|
|
13147
|
-
"transform": "translateY(-12px)"
|
|
13148
|
-
},
|
|
13149
|
-
attrs: {
|
|
13150
|
-
"viewBox": "0 0 1024 1024",
|
|
13151
|
-
"version": "1.1",
|
|
13152
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
13153
|
-
"width": "36",
|
|
13154
|
-
"height": "34",
|
|
13155
|
-
"fill": "#333"
|
|
13156
|
-
}
|
|
13157
|
-
}, [_c('path', {
|
|
13158
|
-
attrs: {
|
|
13159
|
-
"d": "M424.96 797.184h174.08v174.08H424.96zM790.016 797.184h174.08v174.08h-174.08zM59.904 797.184h174.08v174.08h-174.08z"
|
|
13160
|
-
}
|
|
13161
|
-
})]), _c('svg', {
|
|
13162
|
-
staticStyle: {
|
|
13163
|
-
"transform": "translateY(-12px)"
|
|
13164
|
-
},
|
|
13165
|
-
attrs: {
|
|
13166
|
-
"viewBox": "0 0 1024 1024",
|
|
13167
|
-
"version": "1.1",
|
|
13168
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
13169
|
-
"width": "36",
|
|
13170
|
-
"height": "34",
|
|
13171
|
-
"fill": "#333"
|
|
13172
|
-
}
|
|
13173
|
-
}, [_c('path', {
|
|
13174
|
-
attrs: {
|
|
13175
|
-
"d": "M424.96 797.184h174.08v174.08H424.96zM790.016 797.184h174.08v174.08h-174.08zM59.904 797.184h174.08v174.08h-174.08z"
|
|
13176
|
-
}
|
|
13177
|
-
})]), _c('span', {
|
|
13178
|
-
staticStyle: {
|
|
13179
|
-
"flex": "1"
|
|
13180
|
-
}
|
|
13181
|
-
}), _c('span', [_vm._v("dot")])])], 1)], 1);
|
|
13042
|
+
}, [_c('span', [_vm._v("虚线")])])], 1)], 1);
|
|
13182
13043
|
};
|
|
13183
13044
|
var staticRenderFns = [];
|
|
13184
13045
|
|
|
@@ -13251,7 +13112,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
13251
13112
|
|
|
13252
13113
|
/***/ }),
|
|
13253
13114
|
|
|
13254
|
-
/***/
|
|
13115
|
+
/***/ 10978:
|
|
13255
13116
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13256
13117
|
|
|
13257
13118
|
"use strict";
|
|
@@ -13265,7 +13126,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13265
13126
|
|
|
13266
13127
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
13267
13128
|
var es_function_name = __webpack_require__(68309);
|
|
13268
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/qrCode/QrCode.vue?vue&type=template&id=
|
|
13129
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/qrCode/QrCode.vue?vue&type=template&id=7bb9512c&
|
|
13269
13130
|
|
|
13270
13131
|
var render = function render() {
|
|
13271
13132
|
var _vm = this,
|
|
@@ -13410,14 +13271,6 @@ var render = function render() {
|
|
|
13410
13271
|
}
|
|
13411
13272
|
}, [_vm._v("H: 30%的字码可被修正")])], 1)], 1), _c('li', {
|
|
13412
13273
|
staticClass: "control-item"
|
|
13413
|
-
}, [_c('span', {
|
|
13414
|
-
staticClass: "label"
|
|
13415
|
-
}, [_vm._v("数据源")]), _c('a-button', {
|
|
13416
|
-
on: {
|
|
13417
|
-
"click": _vm.openDataSourceModal
|
|
13418
|
-
}
|
|
13419
|
-
}, [_vm._v("设置数据源")])], 1), _c('li', {
|
|
13420
|
-
staticClass: "control-item"
|
|
13421
13274
|
}, [_c('a-checkbox', {
|
|
13422
13275
|
attrs: {
|
|
13423
13276
|
"size": "small"
|
|
@@ -13459,7 +13312,7 @@ var render = function render() {
|
|
|
13459
13312
|
};
|
|
13460
13313
|
var staticRenderFns = [];
|
|
13461
13314
|
|
|
13462
|
-
;// CONCATENATED MODULE: ./src/components/controls/qrCode/QrCode.vue?vue&type=template&id=
|
|
13315
|
+
;// CONCATENATED MODULE: ./src/components/controls/qrCode/QrCode.vue?vue&type=template&id=7bb9512c&
|
|
13463
13316
|
|
|
13464
13317
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
13465
13318
|
var es_array_includes = __webpack_require__(26699);
|
|
@@ -13498,11 +13351,11 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
13498
13351
|
};
|
|
13499
13352
|
},
|
|
13500
13353
|
inject: ['hoEditorProvider'],
|
|
13501
|
-
computed: {
|
|
13502
|
-
|
|
13503
|
-
|
|
13504
|
-
|
|
13505
|
-
},
|
|
13354
|
+
// computed: {
|
|
13355
|
+
// dataSource() {
|
|
13356
|
+
// return this.hoEditorProvider.getDataSource();
|
|
13357
|
+
// },
|
|
13358
|
+
// },
|
|
13506
13359
|
props: {
|
|
13507
13360
|
hoEditorFactoryId: {
|
|
13508
13361
|
required: true,
|
|
@@ -13577,15 +13430,31 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
13577
13430
|
},
|
|
13578
13431
|
sure: function sure() {
|
|
13579
13432
|
if (this.controlStatus === 'add') {
|
|
13580
|
-
this.vueController.insertQrcode(this.controlStatus, this.id, this.textContent, 'qr', this.correctLevel,
|
|
13433
|
+
this.vueController.insertQrcode(this.controlStatus, this.id, this.textContent, 'qr', this.correctLevel,
|
|
13434
|
+
// this.dataSource.dataSourceEnabled,
|
|
13435
|
+
// this.dataSource.dataSource,
|
|
13436
|
+
// this.dataSource.format,
|
|
13437
|
+
// this.dataSource.visitPath,
|
|
13438
|
+
// this.dataSource.isReadOnly,
|
|
13439
|
+
// this.dataSource.autoUpdate,
|
|
13440
|
+
// String(this.dataSource.executeStatus),
|
|
13441
|
+
this.size, this.size, this.name, this.innerIdentifier);
|
|
13581
13442
|
} else {
|
|
13582
|
-
this.vueController.updateQrcode(this.id, this.textContent, 'qr', this.correctLevel,
|
|
13443
|
+
this.vueController.updateQrcode(this.id, this.textContent, 'qr', this.correctLevel,
|
|
13444
|
+
// this.dataSource.dataSourceEnabled,
|
|
13445
|
+
// this.dataSource.dataSource,
|
|
13446
|
+
// this.dataSource.format,
|
|
13447
|
+
// this.dataSource.visitPath,
|
|
13448
|
+
// this.dataSource.isReadOnly,
|
|
13449
|
+
// this.dataSource.autoUpdate,
|
|
13450
|
+
// String(this.dataSource.executeStatus),
|
|
13451
|
+
this.size, this.size, this.name, this.innerIdentifier);
|
|
13583
13452
|
}
|
|
13584
13453
|
this.handleClose();
|
|
13585
13454
|
},
|
|
13586
|
-
|
|
13587
|
-
|
|
13588
|
-
},
|
|
13455
|
+
// openDataSourceModal() {
|
|
13456
|
+
// this.hoEditorProvider.setIsDataSource(true);
|
|
13457
|
+
// },
|
|
13589
13458
|
handleClose: function handleClose() {
|
|
13590
13459
|
this.animationClassNames = 'control-modal-contents qrcode-modal animation-out';
|
|
13591
13460
|
this.$emit('closed');
|
|
@@ -13594,10 +13463,10 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
13594
13463
|
});
|
|
13595
13464
|
;// CONCATENATED MODULE: ./src/components/controls/qrCode/QrCode.vue?vue&type=script&lang=js&
|
|
13596
13465
|
/* harmony default export */ var qrCode_QrCodevue_type_script_lang_js_ = (QrCodevue_type_script_lang_js_);
|
|
13597
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/qrCode/QrCode.vue?vue&type=style&index=0&id=
|
|
13466
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/qrCode/QrCode.vue?vue&type=style&index=0&id=7bb9512c&prod&lang=scss&
|
|
13598
13467
|
// extracted by mini-css-extract-plugin
|
|
13599
13468
|
|
|
13600
|
-
;// CONCATENATED MODULE: ./src/components/controls/qrCode/QrCode.vue?vue&type=style&index=0&id=
|
|
13469
|
+
;// CONCATENATED MODULE: ./src/components/controls/qrCode/QrCode.vue?vue&type=style&index=0&id=7bb9512c&prod&lang=scss&
|
|
13601
13470
|
|
|
13602
13471
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
13603
13472
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -13625,7 +13494,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
13625
13494
|
|
|
13626
13495
|
/***/ }),
|
|
13627
13496
|
|
|
13628
|
-
/***/
|
|
13497
|
+
/***/ 82243:
|
|
13629
13498
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
13630
13499
|
|
|
13631
13500
|
"use strict";
|
|
@@ -13637,7 +13506,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13637
13506
|
"default": function() { return /* binding */ RadioCheckbox; }
|
|
13638
13507
|
});
|
|
13639
13508
|
|
|
13640
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=
|
|
13509
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=3f147ff5&
|
|
13641
13510
|
var render = function render() {
|
|
13642
13511
|
var _vm = this,
|
|
13643
13512
|
_c = _vm._self._c;
|
|
@@ -14238,47 +14107,7 @@ var render = function render() {
|
|
|
14238
14107
|
},
|
|
14239
14108
|
expression: "radioCheckBox.additionalData"
|
|
14240
14109
|
}
|
|
14241
|
-
})], 1), _c('
|
|
14242
|
-
staticClass: "control-item"
|
|
14243
|
-
}, [_c('span', {
|
|
14244
|
-
staticClass: "label"
|
|
14245
|
-
}, [_vm._v("勾选级联对象")]), _c('a-input', {
|
|
14246
|
-
attrs: {
|
|
14247
|
-
"type": "text",
|
|
14248
|
-
"placeholder": "勾选级联对象"
|
|
14249
|
-
},
|
|
14250
|
-
model: {
|
|
14251
|
-
value: _vm.radioCheckBox.checkCascadeObject,
|
|
14252
|
-
callback: function callback($$v) {
|
|
14253
|
-
_vm.$set(_vm.radioCheckBox, "checkCascadeObject", $$v);
|
|
14254
|
-
},
|
|
14255
|
-
expression: "radioCheckBox.checkCascadeObject"
|
|
14256
|
-
}
|
|
14257
|
-
})], 1), _c('li', {
|
|
14258
|
-
staticClass: "control-item"
|
|
14259
|
-
}, [_c('span', {
|
|
14260
|
-
staticClass: "label"
|
|
14261
|
-
}, [_vm._v("不勾选级联对象")]), _c('a-input', {
|
|
14262
|
-
attrs: {
|
|
14263
|
-
"type": "text",
|
|
14264
|
-
"placeholder": "不勾选级联对象"
|
|
14265
|
-
},
|
|
14266
|
-
model: {
|
|
14267
|
-
value: _vm.radioCheckBox.unCheckCascadeObject,
|
|
14268
|
-
callback: function callback($$v) {
|
|
14269
|
-
_vm.$set(_vm.radioCheckBox, "unCheckCascadeObject", $$v);
|
|
14270
|
-
},
|
|
14271
|
-
expression: "radioCheckBox.unCheckCascadeObject"
|
|
14272
|
-
}
|
|
14273
|
-
})], 1), _c('li', {
|
|
14274
|
-
staticClass: "control-item"
|
|
14275
|
-
}, [_c('span', {
|
|
14276
|
-
staticClass: "label"
|
|
14277
|
-
}, [_vm._v("数据源")]), _c('a-button', {
|
|
14278
|
-
on: {
|
|
14279
|
-
"click": _vm.openDataSourceModal
|
|
14280
|
-
}
|
|
14281
|
-
}, [_vm._v("设置数据源")])], 1)] : _vm._e()], 2)]), _c('footer', {
|
|
14110
|
+
})], 1)] : _vm._e()], 2)]), _c('footer', {
|
|
14282
14111
|
staticClass: "ho-modal-footer"
|
|
14283
14112
|
}, [_vm.boxGroup === 1 ? _c('a-button', {
|
|
14284
14113
|
staticStyle: {
|
|
@@ -14354,7 +14183,7 @@ var defaultBox = {
|
|
|
14354
14183
|
numericValue: '',
|
|
14355
14184
|
additionalData: '',
|
|
14356
14185
|
tipText: '',
|
|
14357
|
-
bandDataSource: '',
|
|
14186
|
+
// bandDataSource: '',
|
|
14358
14187
|
text: '',
|
|
14359
14188
|
checkCascadeObject: '',
|
|
14360
14189
|
// 勾选级联对象
|
|
@@ -14411,10 +14240,9 @@ var defaultBox = {
|
|
|
14411
14240
|
},
|
|
14412
14241
|
controlStatus: function controlStatus() {
|
|
14413
14242
|
return this.hoEditorProvider.controlStatus;
|
|
14414
|
-
}
|
|
14415
|
-
|
|
14416
|
-
|
|
14417
|
-
}
|
|
14243
|
+
} // dataSource() {
|
|
14244
|
+
// return this.hoEditorProvider.getDataSource();
|
|
14245
|
+
// },
|
|
14418
14246
|
},
|
|
14419
14247
|
created: function created() {
|
|
14420
14248
|
var _this = this;
|
|
@@ -14444,9 +14272,9 @@ var defaultBox = {
|
|
|
14444
14272
|
} else {
|
|
14445
14273
|
Object.keys(this.radioCheckBox).forEach(function (key) {
|
|
14446
14274
|
if (key === 'readType' || key === 'readTypeBool') {
|
|
14447
|
-
_this.radioCheckBox.readType = updateNode.readType == 1 ? true : false;
|
|
14275
|
+
_this.radioCheckBox.readType = updateNode.value.readType == 1 ? true : false;
|
|
14448
14276
|
} else {
|
|
14449
|
-
_this.radioCheckBox[key] = updateNode[key];
|
|
14277
|
+
_this.radioCheckBox[key] = updateNode.value[key];
|
|
14450
14278
|
}
|
|
14451
14279
|
});
|
|
14452
14280
|
this.boxGroup = 0;
|
|
@@ -14526,7 +14354,7 @@ var defaultBox = {
|
|
|
14526
14354
|
sure: function sure() {
|
|
14527
14355
|
var _this2 = this;
|
|
14528
14356
|
if (this.boxGroup === 0) {
|
|
14529
|
-
this.radioCheckBox.bandDataSource = JSON.stringify(this.dataSource);
|
|
14357
|
+
// this.radioCheckBox.bandDataSource = JSON.stringify(this.dataSource);
|
|
14530
14358
|
this.radioCheckBox.readType ? this.radioCheckBox.readType = 1 : this.radioCheckBox.readType = 0;
|
|
14531
14359
|
if (this.controlStatus === 'add') {
|
|
14532
14360
|
this.vueController.insertRadioAndCheckBox(this.controlStatus, JSON.stringify(this.radioCheckBox));
|
|
@@ -14564,9 +14392,9 @@ var defaultBox = {
|
|
|
14564
14392
|
}
|
|
14565
14393
|
this.handleClose();
|
|
14566
14394
|
},
|
|
14567
|
-
|
|
14568
|
-
|
|
14569
|
-
},
|
|
14395
|
+
// openDataSourceModal() {
|
|
14396
|
+
// this.hoEditorProvider.setIsDataSource(true);
|
|
14397
|
+
// },
|
|
14570
14398
|
handleClose: function handleClose() {
|
|
14571
14399
|
this.animationClassName = 'animation-out';
|
|
14572
14400
|
this.$emit('closed');
|
|
@@ -14575,10 +14403,10 @@ var defaultBox = {
|
|
|
14575
14403
|
});
|
|
14576
14404
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=js&
|
|
14577
14405
|
/* harmony default export */ var radioCheckBox_RadioCheckboxvue_type_script_lang_js_ = (RadioCheckboxvue_type_script_lang_js_);
|
|
14578
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
14406
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=3f147ff5&prod&lang=scss&
|
|
14579
14407
|
// extracted by mini-css-extract-plugin
|
|
14580
14408
|
|
|
14581
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
14409
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=3f147ff5&prod&lang=scss&
|
|
14582
14410
|
|
|
14583
14411
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
14584
14412
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -15382,7 +15210,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
15382
15210
|
|
|
15383
15211
|
/***/ }),
|
|
15384
15212
|
|
|
15385
|
-
/***/
|
|
15213
|
+
/***/ 82216:
|
|
15386
15214
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
15387
15215
|
|
|
15388
15216
|
"use strict";
|
|
@@ -15396,7 +15224,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
15396
15224
|
|
|
15397
15225
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
15398
15226
|
var es_function_name = __webpack_require__(68309);
|
|
15399
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/sign/Sign.vue?vue&type=template&id=
|
|
15227
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/sign/Sign.vue?vue&type=template&id=2f34cd3c&
|
|
15400
15228
|
|
|
15401
15229
|
var render = function render() {
|
|
15402
15230
|
var _vm = this,
|
|
@@ -15541,7 +15369,19 @@ var render = function render() {
|
|
|
15541
15369
|
},
|
|
15542
15370
|
expression: "isDisplayTitle"
|
|
15543
15371
|
}
|
|
15544
|
-
})], 1) : _vm._e(),
|
|
15372
|
+
})], 1) : _vm._e(), _c('li', {
|
|
15373
|
+
staticClass: "control-item"
|
|
15374
|
+
}, [_c('span', {
|
|
15375
|
+
staticClass: "label"
|
|
15376
|
+
}, [_vm._v("校验签名")]), _c('a-checkbox', {
|
|
15377
|
+
model: {
|
|
15378
|
+
value: _vm.isVerify,
|
|
15379
|
+
callback: function callback($$v) {
|
|
15380
|
+
_vm.isVerify = $$v;
|
|
15381
|
+
},
|
|
15382
|
+
expression: "isVerify"
|
|
15383
|
+
}
|
|
15384
|
+
})], 1), _vm.signType >= 9 ? [_c('li', {
|
|
15545
15385
|
staticClass: "control-item"
|
|
15546
15386
|
}, [_c('span', {
|
|
15547
15387
|
staticClass: "label"
|
|
@@ -15783,7 +15623,7 @@ var render = function render() {
|
|
|
15783
15623
|
};
|
|
15784
15624
|
var staticRenderFns = [];
|
|
15785
15625
|
|
|
15786
|
-
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=template&id=
|
|
15626
|
+
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=template&id=2f34cd3c&
|
|
15787
15627
|
|
|
15788
15628
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
15789
15629
|
var objectSpread2 = __webpack_require__(63442);
|
|
@@ -15864,14 +15704,15 @@ var SignNode = __webpack_require__(24701);
|
|
|
15864
15704
|
customSignFormatList: [],
|
|
15865
15705
|
defaultFormatList: ['<医师姓名>', '<医师姓名>(<医师职称>)', '<医师姓名>:<医师职称>', '<医师姓名>:<医师职称>\n<签名时间>'],
|
|
15866
15706
|
animationClassNames: 'control-modal-contents sign-modal animation-in',
|
|
15867
|
-
isDisplayTitle: false
|
|
15707
|
+
isDisplayTitle: false,
|
|
15708
|
+
isVerify: false // 是否校验
|
|
15868
15709
|
};
|
|
15869
15710
|
},
|
|
15870
15711
|
mounted: function mounted() {
|
|
15871
15712
|
if (this.controlStatus === 'update') {
|
|
15872
15713
|
var node = this.getCurrentSelectNode();
|
|
15873
15714
|
if (node) {
|
|
15874
|
-
var _node$otherProperties;
|
|
15715
|
+
var _node$otherProperties, _node$otherProperties2, _node$otherProperties3, _node$otherProperties4;
|
|
15875
15716
|
this.name = node.name;
|
|
15876
15717
|
if (node.attribute == 2) {
|
|
15877
15718
|
this.signType = 2; // 自定义多人签名(带职称)
|
|
@@ -15896,7 +15737,8 @@ var SignNode = __webpack_require__(24701);
|
|
|
15896
15737
|
this.signTimeFormat = node.signTimeFormat;
|
|
15897
15738
|
this.customFormatContent = node.customFormatContent ? node.customFormatContent : '';
|
|
15898
15739
|
this.customSignFormatList = node.customSignFormatList ? node.customSignFormatList : [];
|
|
15899
|
-
this.isDisplayTitle = (_node$otherProperties = node.otherProperties)
|
|
15740
|
+
this.isDisplayTitle = ((_node$otherProperties = node.otherProperties) === null || _node$otherProperties === void 0 ? void 0 : _node$otherProperties.isDisplayTitle) === "true" | ((_node$otherProperties2 = node.otherProperties) === null || _node$otherProperties2 === void 0 ? void 0 : _node$otherProperties2.isDisplayTitle) === true ? true : false;
|
|
15741
|
+
this.isVerify = ((_node$otherProperties3 = node.otherProperties) === null || _node$otherProperties3 === void 0 ? void 0 : _node$otherProperties3.isVerify) === 'true' || ((_node$otherProperties4 = node.otherProperties) === null || _node$otherProperties4 === void 0 ? void 0 : _node$otherProperties4.isVerify) === true ? true : false;
|
|
15900
15742
|
}
|
|
15901
15743
|
}
|
|
15902
15744
|
},
|
|
@@ -15959,25 +15801,29 @@ var SignNode = __webpack_require__(24701);
|
|
|
15959
15801
|
},
|
|
15960
15802
|
insertSign: function insertSign() {
|
|
15961
15803
|
var customProperty = this.getCustomProperty ? this.getCustomProperty() : {};
|
|
15804
|
+
var isVerifyObj = {};
|
|
15805
|
+
if (this.isVerify) isVerifyObj = {
|
|
15806
|
+
isVerify: true
|
|
15807
|
+
};
|
|
15962
15808
|
if (this.controlStatus === 'add') {
|
|
15963
15809
|
if (this.signType === 9) {
|
|
15964
15810
|
// 自定义多人签名
|
|
15965
|
-
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义医生签名', 1, this.signFormat, this.signTimeFormat, customProperty, this.connectMode, this.isFront, this.allowEditSignTime, 0);
|
|
15811
|
+
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义医生签名', 1, this.signFormat, this.signTimeFormat, customProperty, this.connectMode, this.isFront, this.allowEditSignTime, 0, '', (0,objectSpread2/* default */.Z)({}, isVerifyObj));
|
|
15966
15812
|
} else if (this.signType === 2) {
|
|
15967
15813
|
// 自定义多人签名
|
|
15968
|
-
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义多人签名(默认带出职称)', 0, '', '', customProperty, '', undefined, undefined, this.signType, this.connectChar);
|
|
15814
|
+
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义多人签名(默认带出职称)', 0, '', '', customProperty, '', undefined, undefined, this.signType, this.connectChar, (0,objectSpread2/* default */.Z)({}, isVerifyObj));
|
|
15969
15815
|
} else if (this.signType === 3) {
|
|
15970
15816
|
// 自定义多人签名
|
|
15971
|
-
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义多人签名(默认带出职称和日期)', 0, '', '', customProperty, '', undefined, undefined, this.signType, this.connectChar);
|
|
15817
|
+
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义多人签名(默认带出职称和日期)', 0, '', '', customProperty, '', undefined, undefined, this.signType, this.connectChar, (0,objectSpread2/* default */.Z)({}, isVerifyObj));
|
|
15972
15818
|
} else if (this.signType === 4) {
|
|
15973
15819
|
// 自定义多人签名
|
|
15974
15820
|
|
|
15975
|
-
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义多人签名(职称,连接符可选)', 0, '', '', customProperty, this.connectMode, undefined, undefined, this.signType, this.connectChar, {
|
|
15821
|
+
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义多人签名(职称,连接符可选)', 0, '', '', customProperty, this.connectMode, undefined, undefined, this.signType, this.connectChar, (0,objectSpread2/* default */.Z)({
|
|
15976
15822
|
isDisplayTitle: this.isDisplayTitle
|
|
15977
|
-
});
|
|
15823
|
+
}, isVerifyObj));
|
|
15978
15824
|
} else {
|
|
15979
15825
|
var name = this.name ? this.name : this.signType == 1 ? '患者签名' : '医生签名';
|
|
15980
|
-
this.vueController.insertEmptySignNode(name, 0, '', '', customProperty, '', undefined, undefined, this.signType);
|
|
15826
|
+
this.vueController.insertEmptySignNode(name, 0, '', '', customProperty, '', undefined, undefined, this.signType, '', (0,objectSpread2/* default */.Z)({}, isVerifyObj));
|
|
15981
15827
|
}
|
|
15982
15828
|
} else if (this.controlStatus === 'update') {
|
|
15983
15829
|
var node = this.getCurrentSelectNode();
|
|
@@ -15985,7 +15831,8 @@ var SignNode = __webpack_require__(24701);
|
|
|
15985
15831
|
var attribute = this.signType === 9 ? 0 : this.signType;
|
|
15986
15832
|
var signType = this.signType == 9 ? 1 : 0; // 自定义签名的signType=1 其他签名 signType=0
|
|
15987
15833
|
var otherProperties = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, node.otherProperties), {}, {
|
|
15988
|
-
isDisplayTitle: this.isDisplayTitle
|
|
15834
|
+
isDisplayTitle: this.isDisplayTitle,
|
|
15835
|
+
isVerify: this.isVerify
|
|
15989
15836
|
});
|
|
15990
15837
|
this.vueController.updateEmptySignNode(node, _name, attribute, this.connectChar, signType, this.signFormat, this.signor, '', this.signTimeFormat, this.connectMode, otherProperties);
|
|
15991
15838
|
}
|
|
@@ -15999,10 +15846,10 @@ var SignNode = __webpack_require__(24701);
|
|
|
15999
15846
|
});
|
|
16000
15847
|
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=script&lang=js&
|
|
16001
15848
|
/* harmony default export */ var sign_Signvue_type_script_lang_js_ = (Signvue_type_script_lang_js_);
|
|
16002
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/sign/Sign.vue?vue&type=style&index=0&id=
|
|
15849
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/sign/Sign.vue?vue&type=style&index=0&id=2f34cd3c&prod&lang=scss&
|
|
16003
15850
|
// extracted by mini-css-extract-plugin
|
|
16004
15851
|
|
|
16005
|
-
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=style&index=0&id=
|
|
15852
|
+
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=style&index=0&id=2f34cd3c&prod&lang=scss&
|
|
16006
15853
|
|
|
16007
15854
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
16008
15855
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -16680,7 +16527,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
16680
16527
|
|
|
16681
16528
|
/***/ }),
|
|
16682
16529
|
|
|
16683
|
-
/***/
|
|
16530
|
+
/***/ 9614:
|
|
16684
16531
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
16685
16532
|
|
|
16686
16533
|
"use strict";
|
|
@@ -16696,7 +16543,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
16696
16543
|
var es_array_includes = __webpack_require__(26699);
|
|
16697
16544
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
16698
16545
|
var es_string_includes = __webpack_require__(32023);
|
|
16699
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=
|
|
16546
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=efc009a4&
|
|
16700
16547
|
|
|
16701
16548
|
|
|
16702
16549
|
var render = function render() {
|
|
@@ -16777,29 +16624,6 @@ var render = function render() {
|
|
|
16777
16624
|
staticStyle: {
|
|
16778
16625
|
"margin-left": "10px"
|
|
16779
16626
|
}
|
|
16780
|
-
}, [_vm._v("数据源")]), _c('a-button', {
|
|
16781
|
-
on: {
|
|
16782
|
-
"click": _vm.openDataSourceModal
|
|
16783
|
-
}
|
|
16784
|
-
}, [_vm._v("设置数据源")])], 1)]), _c('li', {
|
|
16785
|
-
staticClass: "control-item"
|
|
16786
|
-
}, [_c('div', {
|
|
16787
|
-
staticClass: "control-item"
|
|
16788
|
-
}, [_c('a-checkbox', {
|
|
16789
|
-
model: {
|
|
16790
|
-
value: _vm.lightCellBorders,
|
|
16791
|
-
callback: function callback($$v) {
|
|
16792
|
-
_vm.lightCellBorders = $$v;
|
|
16793
|
-
},
|
|
16794
|
-
expression: "lightCellBorders"
|
|
16795
|
-
}
|
|
16796
|
-
}, [_vm._v("突出显示单元格边框")])], 1), _c('div', {
|
|
16797
|
-
staticClass: "control-item"
|
|
16798
|
-
}, [_c('span', {
|
|
16799
|
-
staticClass: "label",
|
|
16800
|
-
staticStyle: {
|
|
16801
|
-
"margin-left": "10px"
|
|
16802
|
-
}
|
|
16803
16627
|
}, [_vm._v("垂直对齐方式")]), _c('a-select', {
|
|
16804
16628
|
staticStyle: {
|
|
16805
16629
|
"text-align": "left"
|
|
@@ -16978,7 +16802,7 @@ var render = function render() {
|
|
|
16978
16802
|
}
|
|
16979
16803
|
})], 1)]), _c('PrintLineStyle', {
|
|
16980
16804
|
attrs: {
|
|
16981
|
-
"isDrawGridlines":
|
|
16805
|
+
"isDrawGridlines": false,
|
|
16982
16806
|
"defaultStyle": _vm.gridLinesStyle,
|
|
16983
16807
|
"placeholder": "边框样式"
|
|
16984
16808
|
},
|
|
@@ -17447,7 +17271,7 @@ var render = function render() {
|
|
|
17447
17271
|
};
|
|
17448
17272
|
var staticRenderFns = [];
|
|
17449
17273
|
|
|
17450
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=
|
|
17274
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=efc009a4&
|
|
17451
17275
|
|
|
17452
17276
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
|
|
17453
17277
|
var slicedToArray = __webpack_require__(27222);
|
|
@@ -17610,11 +17434,10 @@ var columns = [{
|
|
|
17610
17434
|
return this.hoEditorProvider.getCustomsValue().filter(function (v) {
|
|
17611
17435
|
if (v.name || v.value) return v;
|
|
17612
17436
|
});
|
|
17613
|
-
}
|
|
17614
|
-
|
|
17615
|
-
|
|
17616
|
-
|
|
17617
|
-
}
|
|
17437
|
+
} // dataSource() {
|
|
17438
|
+
// // 获取数据源属性
|
|
17439
|
+
// return this.hoEditorProvider.getDataSource();
|
|
17440
|
+
// },
|
|
17618
17441
|
},
|
|
17619
17442
|
created: function created() {
|
|
17620
17443
|
var activeDocId = this.hoEditorProvider.getActiveDocId();
|
|
@@ -17677,7 +17500,6 @@ var columns = [{
|
|
|
17677
17500
|
}
|
|
17678
17501
|
},
|
|
17679
17502
|
getCellNodes: function getCellNodes() {
|
|
17680
|
-
var _cellNode$cellPropert;
|
|
17681
17503
|
var nodes = this.vueController.findNodebyPath(this.endPath).node;
|
|
17682
17504
|
var cellNode = (0,getCellNode/* getCellNode */.p)(nodes);
|
|
17683
17505
|
var currentRows = cellNode === null || cellNode === void 0 ? void 0 : cellNode.table.rows.indexOf(cellNode === null || cellNode === void 0 ? void 0 : cellNode.row);
|
|
@@ -17694,12 +17516,11 @@ var columns = [{
|
|
|
17694
17516
|
description: ''
|
|
17695
17517
|
}]));
|
|
17696
17518
|
}
|
|
17697
|
-
if (cellNode
|
|
17698
|
-
|
|
17699
|
-
|
|
17700
|
-
|
|
17701
|
-
|
|
17702
|
-
}
|
|
17519
|
+
// if (cellNode?.cellProperty?.dataSource) {
|
|
17520
|
+
// this.hoEditorProvider.setDataSource(cellNode.cellProperty?.dataSource);
|
|
17521
|
+
// } else {
|
|
17522
|
+
// this.hoEditorProvider.setDataSource();
|
|
17523
|
+
// }
|
|
17703
17524
|
return cellNode;
|
|
17704
17525
|
},
|
|
17705
17526
|
querySearch: function querySearch(queryString, cb) {
|
|
@@ -17765,9 +17586,9 @@ var columns = [{
|
|
|
17765
17586
|
this.obliqueSplitLine = style;
|
|
17766
17587
|
},
|
|
17767
17588
|
// 打开数据源弹窗
|
|
17768
|
-
|
|
17769
|
-
|
|
17770
|
-
},
|
|
17589
|
+
// openDataSourceModal() {
|
|
17590
|
+
// this.hoEditorProvider.setIsDataSource(true);
|
|
17591
|
+
// },
|
|
17771
17592
|
// 打开自定义属性弹窗
|
|
17772
17593
|
openCustomsModal: function openCustomsModal() {
|
|
17773
17594
|
this.hoEditorProvider.setIsCustoms(true, true);
|
|
@@ -17780,7 +17601,7 @@ var columns = [{
|
|
|
17780
17601
|
lightCellBorders: this.lightCellBorders,
|
|
17781
17602
|
title: this.title,
|
|
17782
17603
|
customProperties: this.customProperties,
|
|
17783
|
-
dataSource: this.dataSource,
|
|
17604
|
+
// dataSource: this.dataSource,
|
|
17784
17605
|
align: this.align,
|
|
17785
17606
|
backColor: this.backColor,
|
|
17786
17607
|
cellInnerMargin: [this.cellTop, this.cellBottom, this.cellLeft, this.cellRight],
|
|
@@ -17832,10 +17653,10 @@ var columns = [{
|
|
|
17832
17653
|
});
|
|
17833
17654
|
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=script&lang=js&
|
|
17834
17655
|
/* harmony default export */ var table_TableCellPropertyvue_type_script_lang_js_ = (TableCellPropertyvue_type_script_lang_js_);
|
|
17835
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=
|
|
17656
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=efc009a4&prod&lang=scss&
|
|
17836
17657
|
// extracted by mini-css-extract-plugin
|
|
17837
17658
|
|
|
17838
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=
|
|
17659
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=efc009a4&prod&lang=scss&
|
|
17839
17660
|
|
|
17840
17661
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
17841
17662
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -20417,7 +20238,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
20417
20238
|
|
|
20418
20239
|
/***/ }),
|
|
20419
20240
|
|
|
20420
|
-
/***/
|
|
20241
|
+
/***/ 56819:
|
|
20421
20242
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
20422
20243
|
|
|
20423
20244
|
"use strict";
|
|
@@ -20429,7 +20250,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
20429
20250
|
"default": function() { return /* binding */ TableRowProperty; }
|
|
20430
20251
|
});
|
|
20431
20252
|
|
|
20432
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=template&id=
|
|
20253
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=template&id=097f3318&
|
|
20433
20254
|
var render = function render() {
|
|
20434
20255
|
var _vm = this,
|
|
20435
20256
|
_c = _vm._self._c;
|
|
@@ -20459,14 +20280,6 @@ var render = function render() {
|
|
|
20459
20280
|
}
|
|
20460
20281
|
}, [_vm._v("自定义属性")])], 1), _c('li', {
|
|
20461
20282
|
staticClass: "control-item"
|
|
20462
|
-
}, [_c('span', {
|
|
20463
|
-
staticClass: "label"
|
|
20464
|
-
}, [_vm._v("数据源")]), _c('a-button', {
|
|
20465
|
-
on: {
|
|
20466
|
-
"click": _vm.openDataSourceModal
|
|
20467
|
-
}
|
|
20468
|
-
}, [_vm._v("设置数据源")])], 1), _c('li', {
|
|
20469
|
-
staticClass: "control-item"
|
|
20470
20283
|
}, [_c('div', {
|
|
20471
20284
|
staticStyle: {
|
|
20472
20285
|
"padding-right": "20px"
|
|
@@ -20669,17 +20482,18 @@ var TableNode = __webpack_require__(5010);
|
|
|
20669
20482
|
customProperties: [{
|
|
20670
20483
|
name: '',
|
|
20671
20484
|
value: ''
|
|
20672
|
-
}]
|
|
20673
|
-
dataSource: {
|
|
20674
|
-
|
|
20675
|
-
|
|
20676
|
-
|
|
20677
|
-
|
|
20678
|
-
|
|
20679
|
-
|
|
20680
|
-
|
|
20681
|
-
}
|
|
20485
|
+
}]
|
|
20486
|
+
// dataSource: {
|
|
20487
|
+
// dataSourceEnabled: true,
|
|
20488
|
+
// dataSource: '',
|
|
20489
|
+
// format: '',
|
|
20490
|
+
// visitPath: '',
|
|
20491
|
+
// isReadOnly: false,
|
|
20492
|
+
// autoUpdate: false,
|
|
20493
|
+
// executeStatus: 0,
|
|
20494
|
+
// },
|
|
20682
20495
|
},
|
|
20496
|
+
|
|
20683
20497
|
rowHeightMm: '0',
|
|
20684
20498
|
rowHeight: 0,
|
|
20685
20499
|
isSpecifyHeight: false,
|
|
@@ -20702,12 +20516,11 @@ var TableNode = __webpack_require__(5010);
|
|
|
20702
20516
|
return this.hoEditorProvider.getCustomsValue().filter(function (v) {
|
|
20703
20517
|
if (v.name || v.value) return v;
|
|
20704
20518
|
});
|
|
20705
|
-
}
|
|
20706
|
-
|
|
20707
|
-
|
|
20708
|
-
|
|
20709
|
-
|
|
20710
|
-
}
|
|
20519
|
+
} // dataSource() {
|
|
20520
|
+
// // 获取数据源属性
|
|
20521
|
+
// console.log(this.hoEditorProvider.getDataSource())
|
|
20522
|
+
// return this.hoEditorProvider.getDataSource();
|
|
20523
|
+
// },
|
|
20711
20524
|
},
|
|
20712
20525
|
created: function created() {
|
|
20713
20526
|
this.init();
|
|
@@ -20748,7 +20561,7 @@ var TableNode = __webpack_require__(5010);
|
|
|
20748
20561
|
if (currentRows || currentRows === 0) {
|
|
20749
20562
|
var rowInfoes = cellNode === null || cellNode === void 0 ? void 0 : cellNode.table.rowInfos[currentRows];
|
|
20750
20563
|
if (rowInfoes) {
|
|
20751
|
-
var _rowInfoes$rowPropert
|
|
20564
|
+
var _rowInfoes$rowPropert;
|
|
20752
20565
|
var customProperties = (_rowInfoes$rowPropert = rowInfoes.rowProperty) === null || _rowInfoes$rowPropert === void 0 ? void 0 : _rowInfoes$rowPropert.customProperties;
|
|
20753
20566
|
if (Array.isArray(customProperties) && customProperties.length > 0) {
|
|
20754
20567
|
this.hoEditorProvider.setCustomsValue([].concat((0,toConsumableArray/* default */.Z)(customProperties), [{
|
|
@@ -20762,14 +20575,15 @@ var TableNode = __webpack_require__(5010);
|
|
|
20762
20575
|
description: ''
|
|
20763
20576
|
}]));
|
|
20764
20577
|
}
|
|
20765
|
-
|
|
20766
|
-
|
|
20767
|
-
|
|
20768
|
-
} else {
|
|
20769
|
-
|
|
20770
|
-
}
|
|
20578
|
+
// console.log(rowInfoes.rowProperty?.dataSource)
|
|
20579
|
+
// if (rowInfoes.rowProperty?.dataSource) {
|
|
20580
|
+
// this.hoEditorProvider.setDataSource(rowInfoes.rowProperty?.dataSource);
|
|
20581
|
+
// } else {
|
|
20582
|
+
// this.hoEditorProvider.setDataSource();
|
|
20583
|
+
// }
|
|
20771
20584
|
}
|
|
20772
20585
|
}
|
|
20586
|
+
|
|
20773
20587
|
return cellNode;
|
|
20774
20588
|
},
|
|
20775
20589
|
watchParamsChange: function watchParamsChange() {
|
|
@@ -20779,9 +20593,9 @@ var TableNode = __webpack_require__(5010);
|
|
|
20779
20593
|
}
|
|
20780
20594
|
},
|
|
20781
20595
|
// 打开数据源弹窗
|
|
20782
|
-
|
|
20783
|
-
|
|
20784
|
-
},
|
|
20596
|
+
// openDataSourceModal() {
|
|
20597
|
+
// this.hoEditorProvider.setIsDataSource(true);
|
|
20598
|
+
// },
|
|
20785
20599
|
// 打开自定义属性弹窗
|
|
20786
20600
|
openCustomsModal: function openCustomsModal() {
|
|
20787
20601
|
this.hoEditorProvider.setIsCustoms(true, true);
|
|
@@ -20791,7 +20605,7 @@ var TableNode = __webpack_require__(5010);
|
|
|
20791
20605
|
var params = {
|
|
20792
20606
|
id: this.id,
|
|
20793
20607
|
customProperties: this.customProperties,
|
|
20794
|
-
dataSource: this.dataSource,
|
|
20608
|
+
// dataSource: this.dataSource,
|
|
20795
20609
|
isSpecifyHeight: this.isSpecifyHeight,
|
|
20796
20610
|
rowHeight: this.rowHeight,
|
|
20797
20611
|
isLockRowHeight: this.isLockRowHeight,
|
|
@@ -20828,10 +20642,10 @@ var TableNode = __webpack_require__(5010);
|
|
|
20828
20642
|
});
|
|
20829
20643
|
;// CONCATENATED MODULE: ./src/components/controls/table/TableRowProperty.vue?vue&type=script&lang=js&
|
|
20830
20644
|
/* harmony default export */ var table_TableRowPropertyvue_type_script_lang_js_ = (TableRowPropertyvue_type_script_lang_js_);
|
|
20831
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=style&index=0&id=
|
|
20645
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=style&index=0&id=097f3318&prod&lang=scss&
|
|
20832
20646
|
// extracted by mini-css-extract-plugin
|
|
20833
20647
|
|
|
20834
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableRowProperty.vue?vue&type=style&index=0&id=
|
|
20648
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableRowProperty.vue?vue&type=style&index=0&id=097f3318&prod&lang=scss&
|
|
20835
20649
|
|
|
20836
20650
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
20837
20651
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -20859,7 +20673,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
20859
20673
|
|
|
20860
20674
|
/***/ }),
|
|
20861
20675
|
|
|
20862
|
-
/***/
|
|
20676
|
+
/***/ 53628:
|
|
20863
20677
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
20864
20678
|
|
|
20865
20679
|
"use strict";
|
|
@@ -20873,7 +20687,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
20873
20687
|
|
|
20874
20688
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
20875
20689
|
var es_function_name = __webpack_require__(68309);
|
|
20876
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=
|
|
20690
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=6938a622&
|
|
20877
20691
|
|
|
20878
20692
|
var render = function render() {
|
|
20879
20693
|
var _vm = this,
|
|
@@ -21330,22 +21144,7 @@ var render = function render() {
|
|
|
21330
21144
|
},
|
|
21331
21145
|
expression: "textParam.notReplaceElement"
|
|
21332
21146
|
}
|
|
21333
|
-
}, [_vm._v("不启用元素引用")])], 1)])]), _c('
|
|
21334
|
-
key: "third",
|
|
21335
|
-
attrs: {
|
|
21336
|
-
"tab": "其他属性"
|
|
21337
|
-
}
|
|
21338
|
-
}, [_c('ul', {
|
|
21339
|
-
staticClass: "control-list"
|
|
21340
|
-
}, [_c('li', {
|
|
21341
|
-
staticClass: "control-item"
|
|
21342
|
-
}, [_c('span', {
|
|
21343
|
-
staticClass: "label"
|
|
21344
|
-
}, [_vm._v("数据源")]), _c('a-button', {
|
|
21345
|
-
on: {
|
|
21346
|
-
"click": _vm.openDataSourceModal
|
|
21347
|
-
}
|
|
21348
|
-
}, [_vm._v("设置数据源")])], 1)])]), _vm._t("hoTextFieldModal")], 2)], 1), _c('footer', {
|
|
21147
|
+
}, [_vm._v("不启用元素引用")])], 1)])]), _vm._t("hoTextFieldModal")], 2)], 1), _c('footer', {
|
|
21349
21148
|
staticClass: "ho-modal-footer"
|
|
21350
21149
|
}, [_c('a-button', {
|
|
21351
21150
|
attrs: {
|
|
@@ -21365,7 +21164,7 @@ var render = function render() {
|
|
|
21365
21164
|
};
|
|
21366
21165
|
var staticRenderFns = [];
|
|
21367
21166
|
|
|
21368
|
-
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=
|
|
21167
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=6938a622&
|
|
21369
21168
|
|
|
21370
21169
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
21371
21170
|
var objectSpread2 = __webpack_require__(63442);
|
|
@@ -21434,7 +21233,7 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21434
21233
|
components: {},
|
|
21435
21234
|
data: function data() {
|
|
21436
21235
|
return {
|
|
21437
|
-
textParam: Object.assign({}, controlParams/* textParams */.
|
|
21236
|
+
textParam: Object.assign({}, controlParams/* textParams */.E),
|
|
21438
21237
|
textActiveName: 'first',
|
|
21439
21238
|
isMinLenth: false,
|
|
21440
21239
|
isMaxLenth: false,
|
|
@@ -21458,10 +21257,16 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21458
21257
|
}
|
|
21459
21258
|
},
|
|
21460
21259
|
inject: ['hoEditorProvider', 'getCustomProperty'],
|
|
21260
|
+
watch: {
|
|
21261
|
+
'hoEditorProvider.isVerifyTip': {
|
|
21262
|
+
deep: true,
|
|
21263
|
+
handler: function handler() {}
|
|
21264
|
+
}
|
|
21265
|
+
},
|
|
21461
21266
|
computed: {
|
|
21462
|
-
|
|
21463
|
-
|
|
21464
|
-
},
|
|
21267
|
+
// dataSource() {
|
|
21268
|
+
// return this.hoEditorProvider.getVerifyTipList();
|
|
21269
|
+
// },
|
|
21465
21270
|
customsValue: function customsValue() {
|
|
21466
21271
|
return this.hoEditorProvider.getCustomsValue().filter(function (v) {
|
|
21467
21272
|
if (v.text || v.value) return v;
|
|
@@ -21498,6 +21303,13 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21498
21303
|
_this.customPropertyValue = (0,objectSpread2/* default */.Z)({}, property);
|
|
21499
21304
|
} else if (key === 'readType' || key === 'readTypeBool') {
|
|
21500
21305
|
_this.textParam.readTypeBool = updateNode.readType == 1 ? true : false;
|
|
21306
|
+
} else if (key === 'includesKeyword') {
|
|
21307
|
+
_this.textParam.includesKeyword = updateNode.includesKeyword == 'undefined' || updateNode.includesKeyword == undefined ? '' : updateNode.includesKeyword;
|
|
21308
|
+
var arr = [];
|
|
21309
|
+
if (_this.textParam.includesKeyword) {
|
|
21310
|
+
arr = JSON.parse(_this.textParam.includesKeyword);
|
|
21311
|
+
}
|
|
21312
|
+
_this.hoEditorProvider.setVerifyTipList(arr, 'keyword');
|
|
21501
21313
|
} else if (key === 'hideDuringPrint') {
|
|
21502
21314
|
_this.textParam.hideDuringPrint = updateNode.hideDuringPrint == 'undefined' || updateNode.hideDuringPrint == undefined ? false : updateNode.hideDuringPrint;
|
|
21503
21315
|
} else if (key === 'notReplaceElement') {
|
|
@@ -21546,6 +21358,9 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21546
21358
|
this.hoEditorProvider.setListAllowMultiSelected(this.textParam.downListProperty.allowMultiSelected);
|
|
21547
21359
|
this.hoEditorProvider.setIsListStyle(true);
|
|
21548
21360
|
},
|
|
21361
|
+
openVerifyTipModel: function openVerifyTipModel() {
|
|
21362
|
+
this.hoEditorProvider.setIsVerifyTip(true);
|
|
21363
|
+
},
|
|
21549
21364
|
/**
|
|
21550
21365
|
* 最小长度变化
|
|
21551
21366
|
*/
|
|
@@ -21554,9 +21369,9 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21554
21369
|
* 最大长度变化
|
|
21555
21370
|
*/
|
|
21556
21371
|
maxLengthChange: function maxLengthChange(maxLength) {},
|
|
21557
|
-
|
|
21558
|
-
|
|
21559
|
-
},
|
|
21372
|
+
// openDataSourceModal() {
|
|
21373
|
+
// this.hoEditorProvider.setIsDataSource(true);
|
|
21374
|
+
// },
|
|
21560
21375
|
openCustomsModal: function openCustomsModal() {
|
|
21561
21376
|
this.hoEditorProvider.setIsCustoms(true);
|
|
21562
21377
|
},
|
|
@@ -21580,7 +21395,7 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21580
21395
|
} else {
|
|
21581
21396
|
this.textParam.downListProperty = new TextInputFieldNode/* DownListProperty */.OL();
|
|
21582
21397
|
}
|
|
21583
|
-
this.textParam.bandDataSource = this.dataSource;
|
|
21398
|
+
// this.textParam.bandDataSource = this.dataSource;
|
|
21584
21399
|
if (this.textParam.inputFieldType === 0) {
|
|
21585
21400
|
this.textParam.name = this.textParam.name ? this.textParam.name : '请输入';
|
|
21586
21401
|
} else if (this.textParam.inputFieldType === 1) {
|
|
@@ -21618,10 +21433,10 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21618
21433
|
});
|
|
21619
21434
|
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=js&
|
|
21620
21435
|
/* harmony default export */ var textDialog_TextDialogvue_type_script_lang_js_ = (TextDialogvue_type_script_lang_js_);
|
|
21621
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=
|
|
21436
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=6938a622&prod&lang=scss&
|
|
21622
21437
|
// extracted by mini-css-extract-plugin
|
|
21623
21438
|
|
|
21624
|
-
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=
|
|
21439
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=6938a622&prod&lang=scss&
|
|
21625
21440
|
|
|
21626
21441
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
21627
21442
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -24186,6 +24001,437 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
24186
24001
|
|
|
24187
24002
|
/***/ }),
|
|
24188
24003
|
|
|
24004
|
+
/***/ 62833:
|
|
24005
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
24006
|
+
|
|
24007
|
+
"use strict";
|
|
24008
|
+
// ESM COMPAT FLAG
|
|
24009
|
+
__webpack_require__.r(__webpack_exports__);
|
|
24010
|
+
|
|
24011
|
+
// EXPORTS
|
|
24012
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
24013
|
+
"default": function() { return /* binding */ VerifyTip; }
|
|
24014
|
+
});
|
|
24015
|
+
|
|
24016
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
24017
|
+
var es_array_includes = __webpack_require__(26699);
|
|
24018
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
24019
|
+
var es_string_includes = __webpack_require__(32023);
|
|
24020
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/verifyTip/VerifyTip.vue?vue&type=template&id=38ac434c&scoped=true&
|
|
24021
|
+
|
|
24022
|
+
|
|
24023
|
+
var render = function render() {
|
|
24024
|
+
var _vm = this,
|
|
24025
|
+
_c = _vm._self._c;
|
|
24026
|
+
return _c('div', {
|
|
24027
|
+
ref: "verifyTipListModal",
|
|
24028
|
+
staticClass: "control-modal-contents verify-tip-modal",
|
|
24029
|
+
on: {
|
|
24030
|
+
"mousedown": _vm.toolModalDown
|
|
24031
|
+
}
|
|
24032
|
+
}, [_c('header', {
|
|
24033
|
+
staticClass: "modal-title"
|
|
24034
|
+
}, [_c('span', [_vm._v("下拉列表")]), _c('a-icon', {
|
|
24035
|
+
staticClass: "modal-title-close",
|
|
24036
|
+
attrs: {
|
|
24037
|
+
"type": "close"
|
|
24038
|
+
},
|
|
24039
|
+
on: {
|
|
24040
|
+
"click": _vm.handleClose
|
|
24041
|
+
}
|
|
24042
|
+
})], 1), _c('section', {
|
|
24043
|
+
staticClass: "modal-content"
|
|
24044
|
+
}, [_c('ul', {
|
|
24045
|
+
staticClass: "control-list"
|
|
24046
|
+
}, [_c('li', {
|
|
24047
|
+
staticClass: "control-item"
|
|
24048
|
+
}, [_c('span', {
|
|
24049
|
+
staticClass: "label",
|
|
24050
|
+
staticStyle: {
|
|
24051
|
+
"width": "42px"
|
|
24052
|
+
}
|
|
24053
|
+
}, [_vm._v("列表")]), _c('a-table', {
|
|
24054
|
+
staticStyle: {
|
|
24055
|
+
"width": "100%",
|
|
24056
|
+
"height": "210px"
|
|
24057
|
+
},
|
|
24058
|
+
attrs: {
|
|
24059
|
+
"row-key": "id",
|
|
24060
|
+
"scroll": {
|
|
24061
|
+
y: 190
|
|
24062
|
+
},
|
|
24063
|
+
"columns": _vm.columns,
|
|
24064
|
+
"data-source": _vm.verifyTipList,
|
|
24065
|
+
"bordered": true,
|
|
24066
|
+
"customRow": _vm.customRow,
|
|
24067
|
+
"pagination": false
|
|
24068
|
+
},
|
|
24069
|
+
scopedSlots: _vm._u([{
|
|
24070
|
+
key: "text",
|
|
24071
|
+
fn: function fn(text, record, index) {
|
|
24072
|
+
return [_c('a-input', {
|
|
24073
|
+
class: _vm.errorIndex.includes(record.id) ? 'error' : '',
|
|
24074
|
+
attrs: {
|
|
24075
|
+
"size": "small"
|
|
24076
|
+
},
|
|
24077
|
+
on: {
|
|
24078
|
+
"focus": function focus($event) {
|
|
24079
|
+
return _vm.focusIndex(index);
|
|
24080
|
+
},
|
|
24081
|
+
"input": function input($event) {
|
|
24082
|
+
return _vm.inputIndex(index);
|
|
24083
|
+
},
|
|
24084
|
+
"blur": function blur($event) {
|
|
24085
|
+
return _vm.blurIndex(index);
|
|
24086
|
+
}
|
|
24087
|
+
},
|
|
24088
|
+
model: {
|
|
24089
|
+
value: record.text,
|
|
24090
|
+
callback: function callback($$v) {
|
|
24091
|
+
_vm.$set(record, "text", $$v);
|
|
24092
|
+
},
|
|
24093
|
+
expression: "record.text"
|
|
24094
|
+
}
|
|
24095
|
+
})];
|
|
24096
|
+
}
|
|
24097
|
+
}, {
|
|
24098
|
+
key: "tip",
|
|
24099
|
+
fn: function fn(text, record, index) {
|
|
24100
|
+
return [_c('a-input', {
|
|
24101
|
+
attrs: {
|
|
24102
|
+
"size": "small"
|
|
24103
|
+
},
|
|
24104
|
+
on: {
|
|
24105
|
+
"focus": function focus($event) {
|
|
24106
|
+
return _vm.focusIndex(index);
|
|
24107
|
+
},
|
|
24108
|
+
"input": function input($event) {
|
|
24109
|
+
return _vm.inputIndex(index);
|
|
24110
|
+
},
|
|
24111
|
+
"blur": function blur($event) {
|
|
24112
|
+
return _vm.blurIndex(index);
|
|
24113
|
+
}
|
|
24114
|
+
},
|
|
24115
|
+
model: {
|
|
24116
|
+
value: record.value,
|
|
24117
|
+
callback: function callback($$v) {
|
|
24118
|
+
_vm.$set(record, "value", $$v);
|
|
24119
|
+
},
|
|
24120
|
+
expression: "record.value"
|
|
24121
|
+
}
|
|
24122
|
+
})];
|
|
24123
|
+
}
|
|
24124
|
+
}, {
|
|
24125
|
+
key: "opt",
|
|
24126
|
+
fn: function fn(text, record, index) {
|
|
24127
|
+
return [index !== _vm.verifyTipList.length - 1 ? _c('a-button', {
|
|
24128
|
+
attrs: {
|
|
24129
|
+
"size": "small"
|
|
24130
|
+
},
|
|
24131
|
+
on: {
|
|
24132
|
+
"click": function click($event) {
|
|
24133
|
+
$event.stopPropagation();
|
|
24134
|
+
return _vm.deleteCurrentRow(record.id);
|
|
24135
|
+
}
|
|
24136
|
+
}
|
|
24137
|
+
}, [_vm._v("删除")]) : _vm._e()];
|
|
24138
|
+
}
|
|
24139
|
+
}])
|
|
24140
|
+
})], 1)])]), _c('footer', {
|
|
24141
|
+
staticClass: "ho-modal-footer"
|
|
24142
|
+
}, [_c('a-button', {
|
|
24143
|
+
attrs: {
|
|
24144
|
+
"type": "primary"
|
|
24145
|
+
},
|
|
24146
|
+
on: {
|
|
24147
|
+
"click": _vm.sure
|
|
24148
|
+
}
|
|
24149
|
+
}, [_vm._v("确定")]), _c('a-button', {
|
|
24150
|
+
staticStyle: {
|
|
24151
|
+
"margin-left": "30px"
|
|
24152
|
+
},
|
|
24153
|
+
on: {
|
|
24154
|
+
"click": _vm.handleClose
|
|
24155
|
+
}
|
|
24156
|
+
}, [_vm._v("取消")])], 1)]);
|
|
24157
|
+
};
|
|
24158
|
+
var staticRenderFns = [];
|
|
24159
|
+
|
|
24160
|
+
;// CONCATENATED MODULE: ./src/components/controls/verifyTip/VerifyTip.vue?vue&type=template&id=38ac434c&scoped=true&
|
|
24161
|
+
|
|
24162
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
24163
|
+
var toConsumableArray = __webpack_require__(61748);
|
|
24164
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
|
|
24165
|
+
var es_array_splice = __webpack_require__(40561);
|
|
24166
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
24167
|
+
var es_regexp_exec = __webpack_require__(74916);
|
|
24168
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
24169
|
+
var es_string_replace = __webpack_require__(15306);
|
|
24170
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
24171
|
+
var es_array_filter = __webpack_require__(57327);
|
|
24172
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
24173
|
+
var es_object_to_string = __webpack_require__(41539);
|
|
24174
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
24175
|
+
var es_array_push = __webpack_require__(57658);
|
|
24176
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
|
|
24177
|
+
var web_dom_collections_for_each = __webpack_require__(54747);
|
|
24178
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
24179
|
+
var es_array_map = __webpack_require__(21249);
|
|
24180
|
+
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
24181
|
+
var util = __webpack_require__(62783);
|
|
24182
|
+
// EXTERNAL MODULE: ./src/components/mixins/appendToBody.ts
|
|
24183
|
+
var appendToBody = __webpack_require__(95677);
|
|
24184
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/verifyTip/VerifyTip.vue?vue&type=script&lang=js&
|
|
24185
|
+
|
|
24186
|
+
|
|
24187
|
+
|
|
24188
|
+
|
|
24189
|
+
|
|
24190
|
+
|
|
24191
|
+
|
|
24192
|
+
|
|
24193
|
+
|
|
24194
|
+
|
|
24195
|
+
|
|
24196
|
+
|
|
24197
|
+
|
|
24198
|
+
var keywordColumns = [{
|
|
24199
|
+
dataIndex: 'text',
|
|
24200
|
+
key: 'text',
|
|
24201
|
+
title: '关键字',
|
|
24202
|
+
scopedSlots: {
|
|
24203
|
+
customRender: 'text'
|
|
24204
|
+
}
|
|
24205
|
+
}, {
|
|
24206
|
+
dataIndex: 'tip',
|
|
24207
|
+
key: 'tip',
|
|
24208
|
+
title: '提示语',
|
|
24209
|
+
scopedSlots: {
|
|
24210
|
+
customRender: 'tip'
|
|
24211
|
+
}
|
|
24212
|
+
}, {
|
|
24213
|
+
dataIndex: 'opt',
|
|
24214
|
+
key: 'opt',
|
|
24215
|
+
title: '操作',
|
|
24216
|
+
scopedSlots: {
|
|
24217
|
+
customRender: 'opt'
|
|
24218
|
+
},
|
|
24219
|
+
width: '60px'
|
|
24220
|
+
}];
|
|
24221
|
+
/* harmony default export */ var VerifyTipvue_type_script_lang_js_ = ({
|
|
24222
|
+
name: 'VerifyTip',
|
|
24223
|
+
mixins: [appendToBody/* default */.Z],
|
|
24224
|
+
data: function data() {
|
|
24225
|
+
return {
|
|
24226
|
+
focusIndexs: -1,
|
|
24227
|
+
source: '',
|
|
24228
|
+
tableInfo: null,
|
|
24229
|
+
errorArr: [],
|
|
24230
|
+
errorIndex: [],
|
|
24231
|
+
verifyTipList: [],
|
|
24232
|
+
isAllowMultiSelected: false,
|
|
24233
|
+
verifyTipListModal: null,
|
|
24234
|
+
columns: keywordColumns,
|
|
24235
|
+
verifyType: ''
|
|
24236
|
+
};
|
|
24237
|
+
},
|
|
24238
|
+
props: {},
|
|
24239
|
+
inject: ['hoEditorProvider'],
|
|
24240
|
+
mounted: function mounted() {
|
|
24241
|
+
this.verifyTipListModal = this.$refs.verifyTipListModal;
|
|
24242
|
+
this.init();
|
|
24243
|
+
},
|
|
24244
|
+
methods: {
|
|
24245
|
+
customRow: function customRow(record, index) {
|
|
24246
|
+
var _this = this;
|
|
24247
|
+
return {
|
|
24248
|
+
style: {
|
|
24249
|
+
cursor: 'move'
|
|
24250
|
+
},
|
|
24251
|
+
draggable: 'true',
|
|
24252
|
+
on: {
|
|
24253
|
+
// 鼠标移入
|
|
24254
|
+
mouseenter: function mouseenter(event) {
|
|
24255
|
+
var ev = event || window.event;
|
|
24256
|
+
ev.target.draggable = true;
|
|
24257
|
+
},
|
|
24258
|
+
// 开始拖拽
|
|
24259
|
+
dragstart: function dragstart(event) {
|
|
24260
|
+
var ev = event || window.event;
|
|
24261
|
+
ev.stopPropagation();
|
|
24262
|
+
_this.sourceObj = record;
|
|
24263
|
+
_this.dragStartIndex = index;
|
|
24264
|
+
},
|
|
24265
|
+
// 拖动元素经过的元素
|
|
24266
|
+
dragover: function dragover(event) {
|
|
24267
|
+
var ev = event || window.event;
|
|
24268
|
+
ev.preventDefault();
|
|
24269
|
+
},
|
|
24270
|
+
// 鼠标松开
|
|
24271
|
+
drop: function drop(event) {
|
|
24272
|
+
var ev = event || window.event;
|
|
24273
|
+
ev.stopPropagation();
|
|
24274
|
+
_this.targetObj = record;
|
|
24275
|
+
_this.verifyTipList.splice(index, 1, _this.sourceObj);
|
|
24276
|
+
_this.verifyTipList.splice(_this.dragStartIndex, 1, _this.targetObj);
|
|
24277
|
+
}
|
|
24278
|
+
}
|
|
24279
|
+
};
|
|
24280
|
+
},
|
|
24281
|
+
init: function init() {
|
|
24282
|
+
var arr = [];
|
|
24283
|
+
var verifyObj = this.hoEditorProvider.getVerifyTipList();
|
|
24284
|
+
if (verifyObj.list && verifyObj.list.length > 0) {
|
|
24285
|
+
arr = (0,toConsumableArray/* default */.Z)(verifyObj.list);
|
|
24286
|
+
}
|
|
24287
|
+
this.verifyType = verifyObj.type;
|
|
24288
|
+
this.verifyTipList = (0,toConsumableArray/* default */.Z)(arr);
|
|
24289
|
+
this.tableInfo = document.querySelector('.ant-table-body');
|
|
24290
|
+
this.addCustoms();
|
|
24291
|
+
},
|
|
24292
|
+
focusIndex: function focusIndex(index) {
|
|
24293
|
+
this.focusIndexs = index;
|
|
24294
|
+
},
|
|
24295
|
+
blurIndex: function blurIndex(index) {
|
|
24296
|
+
var item = this.verifyTipList[index];
|
|
24297
|
+
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.verifyTipList.length - 1) {
|
|
24298
|
+
this.deleteCurrentRow(item.id);
|
|
24299
|
+
}
|
|
24300
|
+
this.errorArr = this.verifyTipList.filter(function (v) {
|
|
24301
|
+
if (v.text === (item === null || item === void 0 ? void 0 : item.text) && v.id !== (item === null || item === void 0 ? void 0 : item.id)) {
|
|
24302
|
+
return v;
|
|
24303
|
+
}
|
|
24304
|
+
});
|
|
24305
|
+
if (this.errorArr.length > 0) {
|
|
24306
|
+
if (!this.errorIndex.includes(item.id)) this.errorIndex.push(item.id);
|
|
24307
|
+
} else {
|
|
24308
|
+
this.errorIndex = [];
|
|
24309
|
+
var emptyItem = this.verifyTipList.filter(function (v) {
|
|
24310
|
+
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, '')) === '') {
|
|
24311
|
+
return v;
|
|
24312
|
+
}
|
|
24313
|
+
});
|
|
24314
|
+
if (emptyItem.length === 0) {
|
|
24315
|
+
this.addCustoms();
|
|
24316
|
+
}
|
|
24317
|
+
}
|
|
24318
|
+
},
|
|
24319
|
+
inputIndex: function inputIndex(index) {
|
|
24320
|
+
var _this2 = this;
|
|
24321
|
+
var item = this.verifyTipList[index];
|
|
24322
|
+
this.errorArr = (0,toConsumableArray/* default */.Z)(this.verifyTipList.filter(function (v) {
|
|
24323
|
+
if (v.text === (item === null || item === void 0 ? void 0 : item.text) && v.id !== (item === null || item === void 0 ? void 0 : item.id)) {
|
|
24324
|
+
return v;
|
|
24325
|
+
}
|
|
24326
|
+
}));
|
|
24327
|
+
var emptyItem = (0,toConsumableArray/* default */.Z)(this.verifyTipList.filter(function (v) {
|
|
24328
|
+
if (!v.text && !v.value) {
|
|
24329
|
+
return v;
|
|
24330
|
+
}
|
|
24331
|
+
}));
|
|
24332
|
+
if (this.errorArr.length > 0) {
|
|
24333
|
+
if (!this.errorIndex.includes(item.id)) this.errorIndex.push(item.id);
|
|
24334
|
+
emptyItem.forEach(function (v) {
|
|
24335
|
+
_this2.deleteCurrentRow(v.id);
|
|
24336
|
+
});
|
|
24337
|
+
} else {
|
|
24338
|
+
this.errorIndex = [];
|
|
24339
|
+
if (emptyItem.length === 0) {
|
|
24340
|
+
this.addCustoms();
|
|
24341
|
+
}
|
|
24342
|
+
}
|
|
24343
|
+
},
|
|
24344
|
+
addCustoms: function addCustoms() {
|
|
24345
|
+
var _this3 = this;
|
|
24346
|
+
this.verifyTipList.push({
|
|
24347
|
+
text: '',
|
|
24348
|
+
value: '',
|
|
24349
|
+
id: this.getKeyId()
|
|
24350
|
+
});
|
|
24351
|
+
setTimeout(function () {
|
|
24352
|
+
if (_this3.tableInfo) {
|
|
24353
|
+
_this3.tableInfo.scrollTo(0, 10000);
|
|
24354
|
+
}
|
|
24355
|
+
}, 0);
|
|
24356
|
+
},
|
|
24357
|
+
deleteCurrentRow: function deleteCurrentRow(id) {
|
|
24358
|
+
var key = -1;
|
|
24359
|
+
this.verifyTipList.filter(function (v, index) {
|
|
24360
|
+
if (v.id === id) key = index;
|
|
24361
|
+
});
|
|
24362
|
+
this.verifyTipList.splice(key, 1);
|
|
24363
|
+
},
|
|
24364
|
+
arrToObject: function arrToObject() {
|
|
24365
|
+
var objs = {};
|
|
24366
|
+
this.verifyTipList.map(function (v) {
|
|
24367
|
+
var m = v;
|
|
24368
|
+
objs[m.text] = m.value;
|
|
24369
|
+
});
|
|
24370
|
+
return objs;
|
|
24371
|
+
},
|
|
24372
|
+
sure: function sure() {
|
|
24373
|
+
if (this.errorArr.length !== 0) {
|
|
24374
|
+
return false;
|
|
24375
|
+
}
|
|
24376
|
+
var list = this.verifyTipList.filter(function (v) {
|
|
24377
|
+
if (v.text || v.value) {
|
|
24378
|
+
return v;
|
|
24379
|
+
}
|
|
24380
|
+
});
|
|
24381
|
+
this.hoEditorProvider.setVerifyTipList(list, this.source);
|
|
24382
|
+
this.closeTimeout();
|
|
24383
|
+
},
|
|
24384
|
+
getKeyId: function getKeyId(index) {
|
|
24385
|
+
return index ? 'DL' + new Date().getTime() + index : 'DL' + new Date().getTime();
|
|
24386
|
+
},
|
|
24387
|
+
handleClose: function handleClose() {
|
|
24388
|
+
this.closeTimeout();
|
|
24389
|
+
},
|
|
24390
|
+
closeTimeout: function closeTimeout() {
|
|
24391
|
+
var _this4 = this;
|
|
24392
|
+
setTimeout(function () {
|
|
24393
|
+
_this4.hoEditorProvider.setIsVerifyTip(false);
|
|
24394
|
+
_this4.verifyTipList = [];
|
|
24395
|
+
}, 0);
|
|
24396
|
+
},
|
|
24397
|
+
toolModalDown: function toolModalDown(e) {
|
|
24398
|
+
(0,util/* toolModalMove */.tC)(e, this.verifyTipListModal, 'modal-title');
|
|
24399
|
+
}
|
|
24400
|
+
}
|
|
24401
|
+
});
|
|
24402
|
+
;// CONCATENATED MODULE: ./src/components/controls/verifyTip/VerifyTip.vue?vue&type=script&lang=js&
|
|
24403
|
+
/* harmony default export */ var verifyTip_VerifyTipvue_type_script_lang_js_ = (VerifyTipvue_type_script_lang_js_);
|
|
24404
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/verifyTip/VerifyTip.vue?vue&type=style&index=0&id=38ac434c&prod&lang=scss&scoped=true&
|
|
24405
|
+
// extracted by mini-css-extract-plugin
|
|
24406
|
+
|
|
24407
|
+
;// CONCATENATED MODULE: ./src/components/controls/verifyTip/VerifyTip.vue?vue&type=style&index=0&id=38ac434c&prod&lang=scss&scoped=true&
|
|
24408
|
+
|
|
24409
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
24410
|
+
var componentNormalizer = __webpack_require__(70713);
|
|
24411
|
+
;// CONCATENATED MODULE: ./src/components/controls/verifyTip/VerifyTip.vue
|
|
24412
|
+
|
|
24413
|
+
|
|
24414
|
+
|
|
24415
|
+
;
|
|
24416
|
+
|
|
24417
|
+
|
|
24418
|
+
/* normalize component */
|
|
24419
|
+
|
|
24420
|
+
var component = (0,componentNormalizer/* default */.Z)(
|
|
24421
|
+
verifyTip_VerifyTipvue_type_script_lang_js_,
|
|
24422
|
+
render,
|
|
24423
|
+
staticRenderFns,
|
|
24424
|
+
false,
|
|
24425
|
+
null,
|
|
24426
|
+
"38ac434c",
|
|
24427
|
+
null
|
|
24428
|
+
|
|
24429
|
+
)
|
|
24430
|
+
|
|
24431
|
+
/* harmony default export */ var VerifyTip = (component.exports);
|
|
24432
|
+
|
|
24433
|
+
/***/ }),
|
|
24434
|
+
|
|
24189
24435
|
/***/ 70713:
|
|
24190
24436
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
24191
24437
|
|
|
@@ -29577,7 +29823,7 @@ var $Rarewords = {
|
|
|
29577
29823
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
29578
29824
|
/* harmony export */ "h": function() { return /* reexport safe */ _PrintLineStyle_vue__WEBPACK_IMPORTED_MODULE_0__["default"]; }
|
|
29579
29825
|
/* harmony export */ });
|
|
29580
|
-
/* harmony import */ var _PrintLineStyle_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
29826
|
+
/* harmony import */ var _PrintLineStyle_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51484);
|
|
29581
29827
|
|
|
29582
29828
|
|
|
29583
29829
|
|
|
@@ -29639,20 +29885,20 @@ var getCellNode = function getCellNode(nodes) {
|
|
|
29639
29885
|
|
|
29640
29886
|
"use strict";
|
|
29641
29887
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
29642
|
-
/* harmony export */ "
|
|
29888
|
+
/* harmony export */ "E": function() { return /* binding */ textParams; }
|
|
29643
29889
|
/* harmony export */ });
|
|
29644
|
-
/* unused harmony
|
|
29890
|
+
/* unused harmony export radioCheckBox */
|
|
29645
29891
|
/* harmony import */ var _editor_dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(90161);
|
|
29646
29892
|
|
|
29647
|
-
|
|
29648
|
-
|
|
29649
|
-
|
|
29650
|
-
|
|
29651
|
-
|
|
29652
|
-
|
|
29653
|
-
|
|
29654
|
-
|
|
29655
|
-
};
|
|
29893
|
+
// export const dataSource: DataSource = {
|
|
29894
|
+
// dataSourceEnabled: true,
|
|
29895
|
+
// dataSource: "",
|
|
29896
|
+
// format: "",
|
|
29897
|
+
// visitPath: "",
|
|
29898
|
+
// isReadOnly: false,
|
|
29899
|
+
// autoUpdate: false,
|
|
29900
|
+
// executeStatus: 0,
|
|
29901
|
+
// };
|
|
29656
29902
|
var radioCheckBox = {
|
|
29657
29903
|
id: "",
|
|
29658
29904
|
title: "",
|
|
@@ -29664,7 +29910,7 @@ var radioCheckBox = {
|
|
|
29664
29910
|
numericValue: "",
|
|
29665
29911
|
additionalData: "",
|
|
29666
29912
|
tipText: "",
|
|
29667
|
-
bandDataSource: "",
|
|
29913
|
+
// bandDataSource: "",
|
|
29668
29914
|
text: "",
|
|
29669
29915
|
checkCascadeObject: "",
|
|
29670
29916
|
unCheckCascadeObject: "",
|
|
@@ -29695,7 +29941,7 @@ var textParams = {
|
|
|
29695
29941
|
//importStyle: new ImportStyle(),
|
|
29696
29942
|
downListProperty: new _editor_dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_0__/* .DownListProperty */ .OL(),
|
|
29697
29943
|
dataVerifyFormat: new _editor_dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_0__/* .DataVerifyFormat */ .wz(),
|
|
29698
|
-
bandDataSource: dataSource,
|
|
29944
|
+
// bandDataSource: dataSource,
|
|
29699
29945
|
customProperty: new Object(),
|
|
29700
29946
|
alignWithBlocked: false,
|
|
29701
29947
|
innerIdentifier: "",
|
|
@@ -29707,7 +29953,9 @@ var textParams = {
|
|
|
29707
29953
|
value: '',
|
|
29708
29954
|
insCheckSyncUpdateList: false,
|
|
29709
29955
|
hideDuringPrint: false,
|
|
29710
|
-
notReplaceElement: false
|
|
29956
|
+
notReplaceElement: false,
|
|
29957
|
+
includesKeyword: '',
|
|
29958
|
+
valueArea: '' // 元素值域范围
|
|
29711
29959
|
// isMultiLinesDisplay: false
|
|
29712
29960
|
};
|
|
29713
29961
|
|
|
@@ -40056,7 +40304,15 @@ var DocController = /*#__PURE__*/function () {
|
|
|
40056
40304
|
*/
|
|
40057
40305
|
}, {
|
|
40058
40306
|
key: "insertQrcode",
|
|
40059
|
-
value: function insertQrcode(operType, curDomRange, id, textContent, type, correctLevel,
|
|
40307
|
+
value: function insertQrcode(operType, curDomRange, id, textContent, type, correctLevel,
|
|
40308
|
+
// dataSourceEnabled: boolean,
|
|
40309
|
+
// dataSource: string,
|
|
40310
|
+
// format: string,
|
|
40311
|
+
// visitPath: string,
|
|
40312
|
+
// isReadOnly: boolean,
|
|
40313
|
+
// autoUpdate: boolean,
|
|
40314
|
+
// execState: string,
|
|
40315
|
+
width, height, name, innerIdentifier, isFillBack) {
|
|
40060
40316
|
var domRange = curDomRange.normalize();
|
|
40061
40317
|
var startPath = domRange.endPath;
|
|
40062
40318
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_76__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
@@ -72571,7 +72827,7 @@ var DrawMarkNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
72571
72827
|
/*
|
|
72572
72828
|
* @Author: your name
|
|
72573
72829
|
* @Date: 2020-10-29 15:22:36
|
|
72574
|
-
* @LastEditTime: 2023-06
|
|
72830
|
+
* @LastEditTime: 2023-07-06 16:13:56
|
|
72575
72831
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
72576
72832
|
* @Description: In User Settings Edit
|
|
72577
72833
|
* @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawMedicalExpression.ts
|
|
@@ -72962,19 +73218,53 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
72962
73218
|
}, {
|
|
72963
73219
|
key: "drawPermanentTeeth",
|
|
72964
73220
|
value: function drawPermanentTeeth() {
|
|
72965
|
-
var
|
|
72966
|
-
var
|
|
72967
|
-
var
|
|
72968
|
-
var
|
|
73221
|
+
var topLeftText = this._arrValues[0].split(',').join('');
|
|
73222
|
+
var topRightText = this._arrValues[1].split(',').join('');
|
|
73223
|
+
var bottomLeftText = this._arrValues[2].split(',').join('');
|
|
73224
|
+
var bottomRightText = this._arrValues[3].split(',').join('');
|
|
73225
|
+
var topLeftColor = this._textStyle.color;
|
|
73226
|
+
var topRightColor = this._textStyle.color;
|
|
73227
|
+
var bottomLeftColor = this._textStyle.color;
|
|
73228
|
+
var bottomRightColor = this._textStyle.color;
|
|
73229
|
+
var remark = this.node.remark;
|
|
73230
|
+
if (remark == "teeth") {
|
|
73231
|
+
if (topLeftText == "") {
|
|
73232
|
+
topLeftText = "右上牙位";
|
|
73233
|
+
topLeftColor = "#9B9E9E";
|
|
73234
|
+
}
|
|
73235
|
+
if (topRightText == "") {
|
|
73236
|
+
topRightText = "左上牙位";
|
|
73237
|
+
topRightColor = "#9B9E9E";
|
|
73238
|
+
}
|
|
73239
|
+
if (bottomLeftText == "") {
|
|
73240
|
+
bottomLeftText = "右下牙位";
|
|
73241
|
+
bottomLeftColor = "#9B9E9E";
|
|
73242
|
+
}
|
|
73243
|
+
if (bottomRightText == "") {
|
|
73244
|
+
bottomRightText = "左下牙位";
|
|
73245
|
+
bottomRightColor = "#9B9E9E";
|
|
73246
|
+
}
|
|
73247
|
+
}
|
|
73248
|
+
var topLeft = new createjs.Text(topLeftText, this._textStyle.getStyleKey(), topLeftColor);
|
|
73249
|
+
var topRight = new createjs.Text(topRightText, this._textStyle.getStyleKey(), topRightColor);
|
|
73250
|
+
var bottomLeft = new createjs.Text(bottomLeftText, this._textStyle.getStyleKey(), bottomLeftColor);
|
|
73251
|
+
var bottomRight = new createjs.Text(bottomRightText, this._textStyle.getStyleKey(), bottomRightColor);
|
|
72969
73252
|
var lineX = new createjs.Shape();
|
|
72970
73253
|
var lineY = new createjs.Shape();
|
|
72971
|
-
var
|
|
72972
|
-
|
|
72973
|
-
|
|
73254
|
+
var maxWidth1 = Math.max(topLeft.getMeasuredWidth(), topRight.getMeasuredWidth()) + Math.max(bottomLeft.getMeasuredWidth(), bottomRight.getMeasuredWidth()) + 15;
|
|
73255
|
+
var maxWidth2 = Math.max(topLeft.getMeasuredWidth() + topRight.getMeasuredWidth(), bottomLeft.getMeasuredWidth() + bottomRight.getMeasuredWidth()) + 15;
|
|
73256
|
+
var maxWidth = Math.max(maxWidth1, maxWidth2);
|
|
73257
|
+
var maxHeight = Math.max(topLeft.getMeasuredHeight(), bottomLeft.getMeasuredHeight()) + Math.max(topRight.getMeasuredHeight(), bottomRight.getMeasuredHeight()) + 15;
|
|
73258
|
+
//const maxHeight = Math.max(topLeft.getMeasuredHeight() + bottomLeft.getMeasuredHeight(), topRight.getMeasuredHeight(), bottomRight.getMeasuredHeight());
|
|
73259
|
+
//console.log(maxWidth, this.dWidth, topLeft.getMeasuredWidth(), this.dHeight);
|
|
73260
|
+
//console.log(topLeft.getMeasuredWidth() + topRight.getMeasuredWidth(), bottomLeft.getMeasuredWidth() + bottomRight.getMeasuredWidth())
|
|
72974
73261
|
var leftMaxWidth = Math.max(topLeft.getMeasuredWidth(), bottomLeft.getMeasuredWidth());
|
|
72975
73262
|
this.dWidth = maxWidth;
|
|
73263
|
+
if (this.dHeight < maxHeight) {
|
|
73264
|
+
this.dHeight = maxHeight;
|
|
73265
|
+
}
|
|
72976
73266
|
lineX.graphics.beginStroke(this._textStyle.color).moveTo(0, -this._dHeight / 2).lineTo(this.dWidth, -this._dHeight / 2);
|
|
72977
|
-
lineY.graphics.beginStroke(this._textStyle.color).moveTo(leftMaxWidth + 6 - 0.5, -this._dHeight
|
|
73267
|
+
lineY.graphics.beginStroke(this._textStyle.color).moveTo(leftMaxWidth + 6 - 0.5, -this._dHeight).lineTo(leftMaxWidth + 6 - 0.5, 0);
|
|
72978
73268
|
topLeft.y = -this.dHeight / 2 - topLeft.getMeasuredHeight() / 2;
|
|
72979
73269
|
topLeft.x = 4;
|
|
72980
73270
|
topLeft.textAlign = "left";
|
|
@@ -72983,11 +73273,11 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
72983
73273
|
topRight.x = leftMaxWidth + 6 + 2;
|
|
72984
73274
|
topRight.textAlign = "left";
|
|
72985
73275
|
topRight.textBaseline = "alphabetic";
|
|
72986
|
-
bottomLeft.y =
|
|
73276
|
+
bottomLeft.y = -3;
|
|
72987
73277
|
bottomLeft.x = 4;
|
|
72988
73278
|
bottomLeft.textAlign = "left";
|
|
72989
73279
|
bottomLeft.textBaseline = "alphabetic";
|
|
72990
|
-
bottomRight.y =
|
|
73280
|
+
bottomRight.y = bottomLeft.y;
|
|
72991
73281
|
bottomRight.x = topRight.x;
|
|
72992
73282
|
bottomRight.textAlign = "left";
|
|
72993
73283
|
bottomRight.textBaseline = "alphabetic";
|
|
@@ -91628,13 +91918,12 @@ var UnitConvert = /*#__PURE__*/function () {
|
|
|
91628
91918
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(this, "dpiX", void 0);
|
|
91629
91919
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(this, "dpiY", void 0);
|
|
91630
91920
|
var tmpNode = document.createElement('DIV');
|
|
91631
|
-
tmpNode.style.cssText = 'width:1in;height:1in;position:absolute;left
|
|
91921
|
+
tmpNode.style.cssText = 'width:1in;height:1in;position:absolute;left:-300px;top:0px;z-index:99;visibility:hidden';
|
|
91632
91922
|
document.body.appendChild(tmpNode);
|
|
91633
|
-
this.dpiX = tmpNode.offsetWidth;
|
|
91634
|
-
this.dpiY = tmpNode.offsetHeight;
|
|
91635
|
-
if (tmpNode && tmpNode.parentNode) {
|
|
91636
|
-
|
|
91637
|
-
}
|
|
91923
|
+
this.dpiX = tmpNode.offsetWidth || 96;
|
|
91924
|
+
this.dpiY = tmpNode.offsetHeight || 96;
|
|
91925
|
+
// if (tmpNode && tmpNode.parentNode) {
|
|
91926
|
+
// tmpNode.parentNode.removeChild(tmpNode);
|
|
91638
91927
|
// }
|
|
91639
91928
|
}
|
|
91640
91929
|
//像素转毫米
|
|
@@ -197144,8 +197433,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
197144
197433
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
197145
197434
|
|
|
197146
197435
|
var map = {
|
|
197147
|
-
"./ControlModal.vue":
|
|
197148
|
-
"./barCode/BarCodes.vue":
|
|
197436
|
+
"./ControlModal.vue": 77004,
|
|
197437
|
+
"./barCode/BarCodes.vue": 2062,
|
|
197149
197438
|
"./colorPicker/HoColorPicker.vue": 91351,
|
|
197150
197439
|
"./colorPicker/HoColorPickers.vue": 84214,
|
|
197151
197440
|
"./commentDialog/CommentDialog.vue": 95513,
|
|
@@ -197166,25 +197455,26 @@ var map = {
|
|
|
197166
197455
|
"./poperTipText/PoperTipText.vue": 36081,
|
|
197167
197456
|
"./popers/Poper.vue": 57937,
|
|
197168
197457
|
"./popers/Title.vue": 89987,
|
|
197169
|
-
"./printstyle/PrintLineStyle.vue":
|
|
197170
|
-
"./qrCode/QrCode.vue":
|
|
197171
|
-
"./radioCheckBox/RadioCheckbox.vue":
|
|
197458
|
+
"./printstyle/PrintLineStyle.vue": 51484,
|
|
197459
|
+
"./qrCode/QrCode.vue": 10978,
|
|
197460
|
+
"./radioCheckBox/RadioCheckbox.vue": 82243,
|
|
197172
197461
|
"./selectDialog/SelectDialog.vue": 59075,
|
|
197173
|
-
"./sign/Sign.vue":
|
|
197462
|
+
"./sign/Sign.vue": 82216,
|
|
197174
197463
|
"./table/TableCellPoper.vue": 61917,
|
|
197175
|
-
"./table/TableCellProperty.vue":
|
|
197464
|
+
"./table/TableCellProperty.vue": 9614,
|
|
197176
197465
|
"./table/TableColProperty.vue": 2116,
|
|
197177
197466
|
"./table/TableForm.vue": 19064,
|
|
197178
197467
|
"./table/TableFormTree.vue": 39703,
|
|
197179
197468
|
"./table/TableFormula.vue": 66591,
|
|
197180
197469
|
"./table/TableProperty.vue": 47130,
|
|
197181
|
-
"./table/TableRowProperty.vue":
|
|
197182
|
-
"./textDialog/TextDialog.vue":
|
|
197470
|
+
"./table/TableRowProperty.vue": 56819,
|
|
197471
|
+
"./textDialog/TextDialog.vue": 53628,
|
|
197183
197472
|
"./textDialog/TextToLabelDialog.vue": 35791,
|
|
197184
197473
|
"./upload/CanvasImageDialog.vue": 94116,
|
|
197185
197474
|
"./upload/HoFabric.vue": 43008,
|
|
197186
197475
|
"./upload/UploadImageDialog.vue": 45580,
|
|
197187
|
-
"./upload/hoFabricRight.vue": 42718
|
|
197476
|
+
"./upload/hoFabricRight.vue": 42718,
|
|
197477
|
+
"./verifyTip/VerifyTip.vue": 62833
|
|
197188
197478
|
};
|
|
197189
197479
|
|
|
197190
197480
|
|
|
@@ -236532,7 +236822,7 @@ var ParagraphNode = __webpack_require__(67945);
|
|
|
236532
236822
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
236533
236823
|
var MarkNode = __webpack_require__(57727);
|
|
236534
236824
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
236535
|
-
/* harmony default export */ var version = ('3.0.
|
|
236825
|
+
/* harmony default export */ var version = ('3.0.79');
|
|
236536
236826
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
236537
236827
|
var PoperTipText = __webpack_require__(36081);
|
|
236538
236828
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -245374,14 +245664,30 @@ var VueController = /*#__PURE__*/function () {
|
|
|
245374
245664
|
*/
|
|
245375
245665
|
}, {
|
|
245376
245666
|
key: "insertQrcode",
|
|
245377
|
-
value: function insertQrcode(operType, id, textContent, type, correctLevel,
|
|
245667
|
+
value: function insertQrcode(operType, id, textContent, type, correctLevel,
|
|
245668
|
+
// dataSourceEnabled: boolean,
|
|
245669
|
+
// dataSource: string,
|
|
245670
|
+
// format: string,
|
|
245671
|
+
// visitPath: string,
|
|
245672
|
+
// isReadOnly: boolean,
|
|
245673
|
+
// autoUpdate: boolean,
|
|
245674
|
+
// execState: string,
|
|
245675
|
+
width, height, name, innerIdentifier, isFillBack) {
|
|
245378
245676
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
245379
245677
|
var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
|
|
245380
245678
|
var startPath = _curDomRange.normalize().startPath;
|
|
245381
245679
|
var endPath = _curDomRange.normalize().endPath;
|
|
245382
245680
|
var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertQrcode */.y.insertQrcode);
|
|
245383
245681
|
if (hoEditorFactory.docTree.changing(changingEvent)) {
|
|
245384
|
-
HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode('add', _curDomRange, id, textContent, type, correctLevel,
|
|
245682
|
+
HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode('add', _curDomRange, id, textContent, type, correctLevel,
|
|
245683
|
+
// dataSourceEnabled,
|
|
245684
|
+
// dataSource,
|
|
245685
|
+
// format,
|
|
245686
|
+
// visitPath,
|
|
245687
|
+
// isReadOnly,
|
|
245688
|
+
// autoUpdate,
|
|
245689
|
+
// execState,
|
|
245690
|
+
width, height, name, innerIdentifier, isFillBack);
|
|
245385
245691
|
}
|
|
245386
245692
|
}
|
|
245387
245693
|
/**
|
|
@@ -245402,14 +245708,30 @@ var VueController = /*#__PURE__*/function () {
|
|
|
245402
245708
|
*/
|
|
245403
245709
|
}, {
|
|
245404
245710
|
key: "updateQrcode",
|
|
245405
|
-
value: function updateQrcode(id, textContent, type, correctLevel,
|
|
245711
|
+
value: function updateQrcode(id, textContent, type, correctLevel,
|
|
245712
|
+
// dataSourceEnabled: boolean,
|
|
245713
|
+
// dataSource: string,
|
|
245714
|
+
// format: string,
|
|
245715
|
+
// visitPath: string,
|
|
245716
|
+
// isReadOnly: boolean,
|
|
245717
|
+
// autoUpdate: boolean,
|
|
245718
|
+
// execState: string,
|
|
245719
|
+
width, height, name, innerIdentifier, isFillBack) {
|
|
245406
245720
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
245407
245721
|
var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
|
|
245408
245722
|
var startPath = _curDomRange.normalize().startPath;
|
|
245409
245723
|
var endPath = _curDomRange.normalize().endPath;
|
|
245410
245724
|
var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateQrcode */.y.updateQrcode);
|
|
245411
245725
|
if (hoEditorFactory.docTree.changing(changingEvent)) {
|
|
245412
|
-
HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode('update', _curDomRange, id, textContent, type, correctLevel,
|
|
245726
|
+
HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode('update', _curDomRange, id, textContent, type, correctLevel,
|
|
245727
|
+
// dataSourceEnabled,
|
|
245728
|
+
// dataSource,
|
|
245729
|
+
// format,
|
|
245730
|
+
// visitPath,
|
|
245731
|
+
// isReadOnly,
|
|
245732
|
+
// autoUpdate,
|
|
245733
|
+
// execState,
|
|
245734
|
+
width, height, name, innerIdentifier, isFillBack);
|
|
245413
245735
|
}
|
|
245414
245736
|
}
|
|
245415
245737
|
/**
|
|
@@ -246570,8 +246892,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
246570
246892
|
*/
|
|
246571
246893
|
}, {
|
|
246572
246894
|
key: "getNodeByID",
|
|
246573
|
-
value: function getNodeByID(scope, id) {
|
|
246895
|
+
value: function getNodeByID(scope, id, type) {
|
|
246574
246896
|
var node = null;
|
|
246897
|
+
var nodeList = [];
|
|
246575
246898
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
246576
246899
|
var iteratesNodes = function iteratesNodes(nodes) {
|
|
246577
246900
|
for (var i = 0; i < nodes.length; i++) {
|
|
@@ -246579,6 +246902,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
246579
246902
|
if (anode instanceof BarcodeNode/* BarcodeNode */.T || anode instanceof QrcodeNode/* QrcodeNode */.d || anode instanceof ImageNode/* ImageNode */.H || anode instanceof ControlNode/* ControlNode */.w || anode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
246580
246903
|
if (anode.id === id) {
|
|
246581
246904
|
node = anode;
|
|
246905
|
+
nodeList.push(anode);
|
|
246582
246906
|
break;
|
|
246583
246907
|
}
|
|
246584
246908
|
}
|
|
@@ -246627,6 +246951,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
246627
246951
|
}
|
|
246628
246952
|
}
|
|
246629
246953
|
}
|
|
246954
|
+
if (type === 'array') {
|
|
246955
|
+
return nodeList;
|
|
246956
|
+
}
|
|
246630
246957
|
return node;
|
|
246631
246958
|
}
|
|
246632
246959
|
/**
|
|
@@ -248909,6 +249236,86 @@ var VueController = /*#__PURE__*/function () {
|
|
|
248909
249236
|
}
|
|
248910
249237
|
return updateElementText;
|
|
248911
249238
|
}()
|
|
249239
|
+
}, {
|
|
249240
|
+
key: "updateElementTextById",
|
|
249241
|
+
value: function () {
|
|
249242
|
+
var _updateElementTextById = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee8(id, text) {
|
|
249243
|
+
var nodes, i, node;
|
|
249244
|
+
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee8$(_context8) {
|
|
249245
|
+
while (1) {
|
|
249246
|
+
switch (_context8.prev = _context8.next) {
|
|
249247
|
+
case 0:
|
|
249248
|
+
nodes = this.getNodeByID('all', id, 'array');
|
|
249249
|
+
if (!(nodes.length > 0)) {
|
|
249250
|
+
_context8.next = 27;
|
|
249251
|
+
break;
|
|
249252
|
+
}
|
|
249253
|
+
i = nodes.length - 1;
|
|
249254
|
+
case 3:
|
|
249255
|
+
if (!(i >= 0)) {
|
|
249256
|
+
_context8.next = 25;
|
|
249257
|
+
break;
|
|
249258
|
+
}
|
|
249259
|
+
node = nodes[i];
|
|
249260
|
+
if (!node) {
|
|
249261
|
+
_context8.next = 21;
|
|
249262
|
+
break;
|
|
249263
|
+
}
|
|
249264
|
+
if (!(node instanceof DateTimeNode/* DateTimeNode */.Z || node instanceof DownListNode/* DownListNode */.yF || node instanceof TextInputFieldNode/* TextInputFieldNode */.re)) {
|
|
249265
|
+
_context8.next = 18;
|
|
249266
|
+
break;
|
|
249267
|
+
}
|
|
249268
|
+
if (!(node instanceof TextInputFieldNode/* TextInputFieldNode */.re)) {
|
|
249269
|
+
_context8.next = 10;
|
|
249270
|
+
break;
|
|
249271
|
+
}
|
|
249272
|
+
_context8.next = 10;
|
|
249273
|
+
return node.setFieldText(text);
|
|
249274
|
+
case 10:
|
|
249275
|
+
if (!(node instanceof DateTimeNode/* DateTimeNode */.Z)) {
|
|
249276
|
+
_context8.next = 13;
|
|
249277
|
+
break;
|
|
249278
|
+
}
|
|
249279
|
+
_context8.next = 13;
|
|
249280
|
+
return node.setDateTimeText(text);
|
|
249281
|
+
case 13:
|
|
249282
|
+
if (!(node instanceof DownListNode/* DownListNode */.yF)) {
|
|
249283
|
+
_context8.next = 16;
|
|
249284
|
+
break;
|
|
249285
|
+
}
|
|
249286
|
+
_context8.next = 16;
|
|
249287
|
+
return node.setDownListText(text);
|
|
249288
|
+
case 16:
|
|
249289
|
+
_context8.next = 19;
|
|
249290
|
+
break;
|
|
249291
|
+
case 18:
|
|
249292
|
+
console.warn("\u975E\u6587\u672C\u57DF\u548C\u65E5\u671F\u5143\u7D20");
|
|
249293
|
+
case 19:
|
|
249294
|
+
_context8.next = 22;
|
|
249295
|
+
break;
|
|
249296
|
+
case 21:
|
|
249297
|
+
console.warn('未找到对应的元素');
|
|
249298
|
+
case 22:
|
|
249299
|
+
i--;
|
|
249300
|
+
_context8.next = 3;
|
|
249301
|
+
break;
|
|
249302
|
+
case 25:
|
|
249303
|
+
_context8.next = 28;
|
|
249304
|
+
break;
|
|
249305
|
+
case 27:
|
|
249306
|
+
console.warn('未找到对应的元素');
|
|
249307
|
+
case 28:
|
|
249308
|
+
case "end":
|
|
249309
|
+
return _context8.stop();
|
|
249310
|
+
}
|
|
249311
|
+
}
|
|
249312
|
+
}, _callee8, this);
|
|
249313
|
+
}));
|
|
249314
|
+
function updateElementTextById(_x21, _x22) {
|
|
249315
|
+
return _updateElementTextById.apply(this, arguments);
|
|
249316
|
+
}
|
|
249317
|
+
return updateElementTextById;
|
|
249318
|
+
}()
|
|
248912
249319
|
}, {
|
|
248913
249320
|
key: "updateFirstPageHeader",
|
|
248914
249321
|
value: function updateFirstPageHeader() {
|
|
@@ -249135,56 +249542,56 @@ var VueController = /*#__PURE__*/function () {
|
|
|
249135
249542
|
}, {
|
|
249136
249543
|
key: "getBase64",
|
|
249137
249544
|
value: function () {
|
|
249138
|
-
var _getBase = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function
|
|
249545
|
+
var _getBase = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee9(type, callback) {
|
|
249139
249546
|
var hoEditorFactory, _hoEditorFactory$vueC, curDomRange, endPath, node, htmlText, _hoEditorFactory$vueC2, _curDomRange2, _endPath, _node, base64;
|
|
249140
|
-
return (0,regeneratorRuntime/* default */.Z)().wrap(function
|
|
249547
|
+
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee9$(_context9) {
|
|
249141
249548
|
while (1) {
|
|
249142
|
-
switch (
|
|
249549
|
+
switch (_context9.prev = _context9.next) {
|
|
249143
249550
|
case 0:
|
|
249144
249551
|
hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
249145
249552
|
if (!(type === 'html')) {
|
|
249146
|
-
|
|
249553
|
+
_context9.next = 14;
|
|
249147
249554
|
break;
|
|
249148
249555
|
}
|
|
249149
249556
|
curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
|
|
249150
249557
|
endPath = curDomRange.normalize().endPath;
|
|
249151
249558
|
node = (_hoEditorFactory$vueC = hoEditorFactory.vueController.findNodebyPath(endPath)) === null || _hoEditorFactory$vueC === void 0 ? void 0 : _hoEditorFactory$vueC.node;
|
|
249152
249559
|
if (!(node instanceof SignNode/* SignNode */.N && !node.isTemplate && node.attribute == 1)) {
|
|
249153
|
-
|
|
249560
|
+
_context9.next = 8;
|
|
249154
249561
|
break;
|
|
249155
249562
|
}
|
|
249156
|
-
|
|
249563
|
+
_context9.next = 8;
|
|
249157
249564
|
return this.deleteNode(node);
|
|
249158
249565
|
case 8:
|
|
249159
|
-
|
|
249566
|
+
_context9.next = 10;
|
|
249160
249567
|
return hoEditorFactory.printController.createHtml();
|
|
249161
249568
|
case 10:
|
|
249162
|
-
htmlText =
|
|
249163
|
-
return
|
|
249569
|
+
htmlText = _context9.sent;
|
|
249570
|
+
return _context9.abrupt("return", htmlText);
|
|
249164
249571
|
case 14:
|
|
249165
249572
|
_curDomRange2 = hoEditorFactory.docTree.curDomRange.normalize();
|
|
249166
249573
|
_endPath = _curDomRange2.normalize().endPath;
|
|
249167
249574
|
_node = (_hoEditorFactory$vueC2 = hoEditorFactory.vueController.findNodebyPath(_endPath)) === null || _hoEditorFactory$vueC2 === void 0 ? void 0 : _hoEditorFactory$vueC2.node;
|
|
249168
249575
|
if (!(_node instanceof SignNode/* SignNode */.N && !_node.isTemplate && _node.attribute == 1)) {
|
|
249169
|
-
|
|
249576
|
+
_context9.next = 20;
|
|
249170
249577
|
break;
|
|
249171
249578
|
}
|
|
249172
|
-
|
|
249579
|
+
_context9.next = 20;
|
|
249173
249580
|
return this.deleteNode(_node);
|
|
249174
249581
|
case 20:
|
|
249175
|
-
|
|
249582
|
+
_context9.next = 22;
|
|
249176
249583
|
return hoEditorFactory.printController.createBase64(callback);
|
|
249177
249584
|
case 22:
|
|
249178
|
-
base64 =
|
|
249179
|
-
return
|
|
249585
|
+
base64 = _context9.sent;
|
|
249586
|
+
return _context9.abrupt("return", base64);
|
|
249180
249587
|
case 24:
|
|
249181
249588
|
case "end":
|
|
249182
|
-
return
|
|
249589
|
+
return _context9.stop();
|
|
249183
249590
|
}
|
|
249184
249591
|
}
|
|
249185
|
-
},
|
|
249592
|
+
}, _callee9, this);
|
|
249186
249593
|
}));
|
|
249187
|
-
function getBase64(
|
|
249594
|
+
function getBase64(_x23, _x24) {
|
|
249188
249595
|
return _getBase.apply(this, arguments);
|
|
249189
249596
|
}
|
|
249190
249597
|
return getBase64;
|
|
@@ -250132,6 +250539,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
250132
250539
|
var sign = {
|
|
250133
250540
|
type: 'sign',
|
|
250134
250541
|
signed: false,
|
|
250542
|
+
isVerify: node.otherProperties && node.otherProperties.isVerify ? true : false,
|
|
250135
250543
|
customProperty: {}
|
|
250136
250544
|
};
|
|
250137
250545
|
// 有值的患者签名
|
|
@@ -250179,6 +250587,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
250179
250587
|
var _sign = {
|
|
250180
250588
|
type: 'sign',
|
|
250181
250589
|
signed: false,
|
|
250590
|
+
isVerify: false,
|
|
250182
250591
|
customProperty: {},
|
|
250183
250592
|
position: [rowIndex + 1, colIndex + 1]
|
|
250184
250593
|
};
|
|
@@ -252775,16 +253184,16 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
252775
253184
|
key: "insertMenstrualHistory",
|
|
252776
253185
|
value: function insertMenstrualHistory(expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge) {
|
|
252777
253186
|
var hoEditorFactorys = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
252778
|
-
hoEditorFactorys.vueController.insertMenstrualHistory(
|
|
253187
|
+
hoEditorFactorys.vueController.insertMenstrualHistory('add', expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge);
|
|
252779
253188
|
}
|
|
252780
253189
|
/**
|
|
252781
|
-
|
|
252782
|
-
|
|
252783
|
-
|
|
252784
|
-
|
|
252785
|
-
|
|
252786
|
-
|
|
252787
|
-
|
|
253190
|
+
* 修改经期史
|
|
253191
|
+
* @param expressionStyle 表达式样式
|
|
253192
|
+
* @param menseDays 经期(天)
|
|
253193
|
+
* @param cycleDays 周期(天)
|
|
253194
|
+
* @param menarcheAge 初潮年龄
|
|
253195
|
+
* @param menoPauseAge 绝经年龄
|
|
253196
|
+
*/
|
|
252788
253197
|
}, {
|
|
252789
253198
|
key: "updateMenstrualHistory",
|
|
252790
253199
|
value: function updateMenstrualHistory(expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge) {
|
|
@@ -252792,31 +253201,31 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
252792
253201
|
hoEditorFactorys.vueController.updateMenstrualHistory(expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge);
|
|
252793
253202
|
}
|
|
252794
253203
|
/**
|
|
252795
|
-
|
|
252796
|
-
|
|
252797
|
-
|
|
252798
|
-
|
|
252799
|
-
|
|
252800
|
-
|
|
252801
|
-
|
|
252802
|
-
|
|
252803
|
-
|
|
253204
|
+
* 插入瞳孔图
|
|
253205
|
+
* @param value1 参数1
|
|
253206
|
+
* @param value2 参数2
|
|
253207
|
+
* @param value3 参数3
|
|
253208
|
+
* @param value4 参数4
|
|
253209
|
+
* @param value5 参数5
|
|
253210
|
+
* @param value6 参数6
|
|
253211
|
+
* @param value7 参数7
|
|
253212
|
+
*/
|
|
252804
253213
|
}, {
|
|
252805
253214
|
key: "insertPupilMap",
|
|
252806
253215
|
value: function insertPupilMap(value1, value2, value3, value4, value5, value6, value7) {
|
|
252807
253216
|
var hoEditorFactorys = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
252808
|
-
hoEditorFactorys.vueController.insertPupilMap(
|
|
253217
|
+
hoEditorFactorys.vueController.insertPupilMap('add', value1, value2, value3, value4, value5, value6, value7);
|
|
252809
253218
|
}
|
|
252810
253219
|
/**
|
|
252811
|
-
|
|
252812
|
-
|
|
252813
|
-
|
|
252814
|
-
|
|
252815
|
-
|
|
252816
|
-
|
|
252817
|
-
|
|
252818
|
-
|
|
252819
|
-
|
|
253220
|
+
* 修改瞳孔图
|
|
253221
|
+
* @param value1 参数1
|
|
253222
|
+
* @param value2 参数2
|
|
253223
|
+
* @param value3 参数3
|
|
253224
|
+
* @param value4 参数4
|
|
253225
|
+
* @param value5 参数5
|
|
253226
|
+
* @param value6 参数6
|
|
253227
|
+
* @param value7 参数7
|
|
253228
|
+
*/
|
|
252820
253229
|
}, {
|
|
252821
253230
|
key: "updatePupilMap",
|
|
252822
253231
|
value: function updatePupilMap(value1, value2, value3, value4, value5, value6, value7) {
|
|
@@ -252824,35 +253233,35 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
252824
253233
|
hoEditorFactorys.vueController.updatePupilMap(value1, value2, value3, value4, value5, value6, value7);
|
|
252825
253234
|
}
|
|
252826
253235
|
/**
|
|
252827
|
-
|
|
252828
|
-
|
|
252829
|
-
|
|
252830
|
-
|
|
252831
|
-
|
|
252832
|
-
|
|
252833
|
-
|
|
252834
|
-
|
|
252835
|
-
|
|
252836
|
-
|
|
252837
|
-
|
|
253236
|
+
* 插入光定位图
|
|
253237
|
+
* @param value1 参数1
|
|
253238
|
+
* @param value2 参数2
|
|
253239
|
+
* @param value3 参数3
|
|
253240
|
+
* @param value4 参数4
|
|
253241
|
+
* @param value5 参数5
|
|
253242
|
+
* @param value6 参数6
|
|
253243
|
+
* @param value7 参数7
|
|
253244
|
+
* @param value8 参数8
|
|
253245
|
+
* @param value9 参数9
|
|
253246
|
+
*/
|
|
252838
253247
|
}, {
|
|
252839
253248
|
key: "insertLightLocation",
|
|
252840
253249
|
value: function insertLightLocation(value1, value2, value3, value4, value5, value6, value7, value8, value9) {
|
|
252841
253250
|
var hoEditorFactorys = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
252842
|
-
hoEditorFactorys.vueController.insertLightLocation(
|
|
253251
|
+
hoEditorFactorys.vueController.insertLightLocation('add', value1, value2, value3, value4, value5, value6, value7, value8, value9);
|
|
252843
253252
|
}
|
|
252844
253253
|
/**
|
|
252845
|
-
|
|
252846
|
-
|
|
252847
|
-
|
|
252848
|
-
|
|
252849
|
-
|
|
252850
|
-
|
|
252851
|
-
|
|
252852
|
-
|
|
252853
|
-
|
|
252854
|
-
|
|
252855
|
-
|
|
253254
|
+
* 修改光定位图
|
|
253255
|
+
* @param value1 参数1
|
|
253256
|
+
* @param value2 参数2
|
|
253257
|
+
* @param value3 参数3
|
|
253258
|
+
* @param value4 参数4
|
|
253259
|
+
* @param value5 参数5
|
|
253260
|
+
* @param value6 参数6
|
|
253261
|
+
* @param value7 参数7
|
|
253262
|
+
* @param value8 参数8
|
|
253263
|
+
* @param value9 参数9
|
|
253264
|
+
*/
|
|
252856
253265
|
}, {
|
|
252857
253266
|
key: "updateLightLocation",
|
|
252858
253267
|
value: function updateLightLocation(value1, value2, value3, value4, value5, value6, value7, value8, value9) {
|
|
@@ -252860,29 +253269,29 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
252860
253269
|
hoEditorFactorys.vueController.updateLightLocation(value1, value2, value3, value4, value5, value6, value7, value8, value9);
|
|
252861
253270
|
}
|
|
252862
253271
|
/**
|
|
252863
|
-
|
|
252864
|
-
|
|
252865
|
-
|
|
252866
|
-
|
|
252867
|
-
|
|
252868
|
-
|
|
252869
|
-
|
|
252870
|
-
|
|
253272
|
+
* 插入胎心图
|
|
253273
|
+
* @param value1 参数1
|
|
253274
|
+
* @param value2 参数2
|
|
253275
|
+
* @param value3 参数3
|
|
253276
|
+
* @param value4 参数4
|
|
253277
|
+
* @param value5 参数5
|
|
253278
|
+
* @param value6 参数6
|
|
253279
|
+
*/
|
|
252871
253280
|
}, {
|
|
252872
253281
|
key: "insertFetalHeartMap",
|
|
252873
253282
|
value: function insertFetalHeartMap(value1, value2, value3, value4, value5, value6) {
|
|
252874
253283
|
var hoEditorFactorys = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
252875
|
-
hoEditorFactorys.vueController.insertFetalHeartMap(
|
|
253284
|
+
hoEditorFactorys.vueController.insertFetalHeartMap('add', value1, value2, value3, value4, value5, value6);
|
|
252876
253285
|
}
|
|
252877
253286
|
/**
|
|
252878
|
-
|
|
252879
|
-
|
|
252880
|
-
|
|
252881
|
-
|
|
252882
|
-
|
|
252883
|
-
|
|
252884
|
-
|
|
252885
|
-
|
|
253287
|
+
* 修改胎心图
|
|
253288
|
+
* @param value1 参数1
|
|
253289
|
+
* @param value2 参数2
|
|
253290
|
+
* @param value3 参数3
|
|
253291
|
+
* @param value4 参数4
|
|
253292
|
+
* @param value5 参数5
|
|
253293
|
+
* @param value6 参数6
|
|
253294
|
+
*/
|
|
252886
253295
|
}, {
|
|
252887
253296
|
key: "updateFetalHeartMap",
|
|
252888
253297
|
value: function updateFetalHeartMap(value1, value2, value3, value4, value5, value6) {
|
|
@@ -252890,25 +253299,25 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
252890
253299
|
hoEditorFactorys.vueController.updateFetalHeartMap(value1, value2, value3, value4, value5, value6);
|
|
252891
253300
|
}
|
|
252892
253301
|
/**
|
|
252893
|
-
|
|
252894
|
-
|
|
252895
|
-
|
|
252896
|
-
|
|
252897
|
-
|
|
252898
|
-
|
|
253302
|
+
* 插入恒牙牙位图
|
|
253303
|
+
* @param topLeftSelected 左上区域选中的值
|
|
253304
|
+
* @param topRightSelected 右上区域选中的值
|
|
253305
|
+
* @param bottomLeftSelected 左下区域选中的值
|
|
253306
|
+
* @param bottomRightSelected 右下区域选中的值
|
|
253307
|
+
*/
|
|
252899
253308
|
}, {
|
|
252900
253309
|
key: "insertPermanentTeethMap",
|
|
252901
253310
|
value: function insertPermanentTeethMap(topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected) {
|
|
252902
253311
|
var hoEditorFactorys = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
252903
|
-
hoEditorFactorys.vueController.insertPermanentTeethMap(
|
|
253312
|
+
hoEditorFactorys.vueController.insertPermanentTeethMap('add', topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
|
|
252904
253313
|
}
|
|
252905
253314
|
/**
|
|
252906
|
-
|
|
252907
|
-
|
|
252908
|
-
|
|
252909
|
-
|
|
252910
|
-
|
|
252911
|
-
|
|
253315
|
+
* 修改恒牙牙位图
|
|
253316
|
+
* @param topLeftSelected 左上区域选中的值
|
|
253317
|
+
* @param topRightSelected 右上区域选中的值
|
|
253318
|
+
* @param bottomLeftSelected 左下区域选中的值
|
|
253319
|
+
* @param bottomRightSelected 右下区域选中的值
|
|
253320
|
+
*/
|
|
252912
253321
|
}, {
|
|
252913
253322
|
key: "updatePermanentTeethMap",
|
|
252914
253323
|
value: function updatePermanentTeethMap(topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected) {
|
|
@@ -252916,25 +253325,25 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
252916
253325
|
hoEditorFactorys.vueController.updatePermanentTeethMap(topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
|
|
252917
253326
|
}
|
|
252918
253327
|
/**
|
|
252919
|
-
|
|
252920
|
-
|
|
252921
|
-
|
|
252922
|
-
|
|
252923
|
-
|
|
252924
|
-
|
|
253328
|
+
* 插入乳牙牙位图
|
|
253329
|
+
* @param topLeftSelected 左上区域选中的值
|
|
253330
|
+
* @param topRightSelected 右上区域选中的值
|
|
253331
|
+
* @param bottomLeftSelected 左下区域选中的值
|
|
253332
|
+
* @param bottomRightSelected 右下区域选中的值
|
|
253333
|
+
*/
|
|
252925
253334
|
}, {
|
|
252926
253335
|
key: "insertPrimaryTeethMap",
|
|
252927
253336
|
value: function insertPrimaryTeethMap(topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected) {
|
|
252928
253337
|
var hoEditorFactorys = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
252929
|
-
hoEditorFactorys.vueController.insertPrimaryTeethMap(
|
|
253338
|
+
hoEditorFactorys.vueController.insertPrimaryTeethMap('add', topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
|
|
252930
253339
|
}
|
|
252931
253340
|
/**
|
|
252932
|
-
|
|
252933
|
-
|
|
252934
|
-
|
|
252935
|
-
|
|
252936
|
-
|
|
252937
|
-
|
|
253341
|
+
* 修改乳牙牙位图
|
|
253342
|
+
* @param topLeftSelected 左上区域选中的值
|
|
253343
|
+
* @param topRightSelected 右上区域选中的值
|
|
253344
|
+
* @param bottomLeftSelected 左下区域选中的值
|
|
253345
|
+
* @param bottomRightSelected 右下区域选中的值
|
|
253346
|
+
*/
|
|
252938
253347
|
}, {
|
|
252939
253348
|
key: "updatePrimaryTeethMap",
|
|
252940
253349
|
value: function updatePrimaryTeethMap(topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected) {
|
|
@@ -252942,97 +253351,97 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
252942
253351
|
hoEditorFactorys.vueController.updatePrimaryTeethMap(topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
|
|
252943
253352
|
}
|
|
252944
253353
|
/**
|
|
252945
|
-
|
|
252946
|
-
|
|
252947
|
-
|
|
252948
|
-
|
|
252949
|
-
|
|
252950
|
-
|
|
252951
|
-
|
|
252952
|
-
|
|
252953
|
-
|
|
252954
|
-
|
|
252955
|
-
|
|
252956
|
-
|
|
252957
|
-
|
|
252958
|
-
|
|
252959
|
-
|
|
252960
|
-
|
|
252961
|
-
|
|
252962
|
-
|
|
252963
|
-
|
|
252964
|
-
|
|
252965
|
-
|
|
252966
|
-
|
|
252967
|
-
|
|
252968
|
-
|
|
252969
|
-
|
|
252970
|
-
|
|
252971
|
-
|
|
252972
|
-
|
|
252973
|
-
|
|
252974
|
-
|
|
252975
|
-
|
|
252976
|
-
|
|
252977
|
-
|
|
252978
|
-
|
|
252979
|
-
|
|
252980
|
-
|
|
252981
|
-
|
|
252982
|
-
|
|
252983
|
-
|
|
252984
|
-
|
|
252985
|
-
|
|
252986
|
-
|
|
253354
|
+
* 插入文本输入域
|
|
253355
|
+
* @prop valuesObject string ⬇⬇⬇
|
|
253356
|
+
* @params `inputfieldType 枚举类型 InputFieldType(0: text, 1: dropDownList) 输入域类型(默认:0)`
|
|
253357
|
+
* @params `id string 编号ID`
|
|
253358
|
+
* @params `innerIdentifier string 内部标识符`
|
|
253359
|
+
* @params `dataMetaIdentifier string 数据元标识符`
|
|
253360
|
+
* @params `identifierFormat string 表示格式`
|
|
253361
|
+
* @params `text string 域内的编辑文本内容`
|
|
253362
|
+
* @params `name string 域名`
|
|
253363
|
+
* @params `tipText string 提示文本`
|
|
253364
|
+
* @params `readOnlyStatus 枚举类型 ReadOnlyStatus(0: true, 1: false, 2: InheritParentElement继承父元素) 内容只读状态(默认值:1 false)`
|
|
253365
|
+
* @params `fixedWidth number 固定宽度(默认值:0 不限制)`
|
|
253366
|
+
* @params `canModifyContent bool 用户可以直接编辑修改内容(默认值:true)`
|
|
253367
|
+
* @params `isAllowDelete bool 允许删除(默认值:true)`
|
|
253368
|
+
* @params `enableGlobalColor bool 启用全局文本颜色(默认值:true)`
|
|
253369
|
+
* @params `defaultValue string 默认值`
|
|
253370
|
+
* @params `downListProperty object 下拉列表属性 ⬇⬇⬇`
|
|
253371
|
+
* @downListPropertyParam `listItems string 列表项目 [{text: '', value: ''}]`
|
|
253372
|
+
* @downListPropertyParam `source string 来源`
|
|
253373
|
+
* @downListPropertyParam `splitCharacter string 列表项目分隔字符`
|
|
253374
|
+
* @downListPropertyParam `allowMultiSelected bool 允许多选(默认值: false)`
|
|
253375
|
+
* @params `dataVerifyFormat object 数据校验格式 ⬇⬇⬇`
|
|
253376
|
+
* @dataVerifyFormatParam `mustInputValue bool 必须输入,不能为空`
|
|
253377
|
+
* @dataVerifyFormatParam `dataFormat string 数据格式(文本、数值、日期时间)`
|
|
253378
|
+
* @dataVerifyFormatParam `minLength number 文本格式最小长度`
|
|
253379
|
+
* @dataVerifyFormatParam `maxLength number 文本格式最大长度`
|
|
253380
|
+
* @dataVerifyFormatParam `onlyInputInt bool 数值格式 是否只能输入整数`
|
|
253381
|
+
* @dataVerifyFormatParam `minValue number 数值格式 最小值`
|
|
253382
|
+
* @dataVerifyFormatParam `maxValue number 数值格式 最大值`
|
|
253383
|
+
* @dataVerifyFormatParam `maxSmallBits number 数值格式 最大小数位数`
|
|
253384
|
+
* @params `bandDataSource object 数据源 ⬇⬇⬇`
|
|
253385
|
+
* @bandDataSourceParam `dataSourceEnabled bool 数据源绑定设置有效(默认值:true)`
|
|
253386
|
+
* @bandDataSourceParam `dataSource string 数据源`
|
|
253387
|
+
* @bandDataSourceParam `format string 格式化`
|
|
253388
|
+
* @bandDataSourceParam `visitPath string 访问路径`
|
|
253389
|
+
* @bandDataSourceParam `isReadOnly bool 只读 不能回填(默认值:false)`
|
|
253390
|
+
* @bandDataSourceParam `autoUpdate bool 自动更新,当加载文档或者数据源发生改变时自动更新数值(默认值:false)`
|
|
253391
|
+
* @bandDataSourceParam `executeStatus 枚举类型 ExecuteStatus(0: AlwaysExec总是执行, 1:OnlyOneTime只执行一次, 2:NoExec不执行) 执行状态(默认值:0 AlwaysExec)`
|
|
253392
|
+
* @params `customProperty string 自定义属性 example [{text: '', value: ''}]`
|
|
253393
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
253394
|
+
* @param `alignWithBlocked bool 回车是否自动对齐`
|
|
253395
|
+
*/
|
|
252987
253396
|
}, {
|
|
252988
253397
|
key: "insertTextInputField",
|
|
252989
253398
|
value: function insertTextInputField(valuesObject) {
|
|
252990
253399
|
var hoEditorFactorys = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
252991
|
-
var path = hoEditorFactorys.vueController.insertTextInputField(
|
|
253400
|
+
var path = hoEditorFactorys.vueController.insertTextInputField('add', valuesObject);
|
|
252992
253401
|
return path;
|
|
252993
253402
|
}
|
|
252994
253403
|
/**
|
|
252995
|
-
|
|
252996
|
-
|
|
252997
|
-
|
|
252998
|
-
|
|
252999
|
-
|
|
253000
|
-
|
|
253001
|
-
|
|
253002
|
-
|
|
253003
|
-
|
|
253004
|
-
|
|
253005
|
-
|
|
253006
|
-
|
|
253007
|
-
|
|
253008
|
-
|
|
253009
|
-
|
|
253010
|
-
|
|
253011
|
-
|
|
253012
|
-
|
|
253013
|
-
|
|
253014
|
-
|
|
253015
|
-
|
|
253016
|
-
|
|
253017
|
-
|
|
253018
|
-
|
|
253019
|
-
|
|
253020
|
-
|
|
253021
|
-
|
|
253022
|
-
|
|
253023
|
-
|
|
253024
|
-
|
|
253025
|
-
|
|
253026
|
-
|
|
253027
|
-
|
|
253028
|
-
|
|
253029
|
-
|
|
253030
|
-
|
|
253031
|
-
|
|
253032
|
-
|
|
253033
|
-
|
|
253034
|
-
|
|
253035
|
-
|
|
253404
|
+
* 修改文本输入域
|
|
253405
|
+
* @prop valuesObject string ⬇⬇⬇
|
|
253406
|
+
* @params `inputfieldType 枚举类型 InputFieldType(0: text, 1: dropDownList) 输入域类型(默认:0)`
|
|
253407
|
+
* @params `id string 编号ID`
|
|
253408
|
+
* @params `innerIdentifier string 内部标识符`
|
|
253409
|
+
* @params `dataMetaIdentifier string 数据元标识符`
|
|
253410
|
+
* @params `identifierFormat string 表示格式`
|
|
253411
|
+
* @params `text string 域内的编辑文本内容`
|
|
253412
|
+
* @params `name string 域名`
|
|
253413
|
+
* @params `tipText string 提示文本`
|
|
253414
|
+
* @params `readOnlyStatus 枚举类型 ReadOnlyStatus(0: true, 1: false, 2: InheritParentElement继承父元素) 内容只读状态(默认值:1 false)`
|
|
253415
|
+
* @params `fixedWidth number 固定宽度(默认值:0 不限制)`
|
|
253416
|
+
* @params `canModifyContent bool 用户可以直接编辑修改内容(默认值:true)`
|
|
253417
|
+
* @params `isAllowDelete bool 允许删除(默认值:true)`
|
|
253418
|
+
* @params `enableGlobalColor bool 启用全局文本颜色(默认值:true)`
|
|
253419
|
+
* @params `defaultValue string 默认值`
|
|
253420
|
+
* @params `downListProperty object 下拉列表属性 ⬇⬇⬇`
|
|
253421
|
+
* @downListPropertyParam `listItems string 列表项目 [{text: '', value: ''}]`
|
|
253422
|
+
* @downListPropertyParam `source string 来源`
|
|
253423
|
+
* @downListPropertyParam `splitCharacter string 列表项目分隔字符`
|
|
253424
|
+
* @downListPropertyParam `allowMultiSelected bool 允许多选(默认值: false)`
|
|
253425
|
+
* @params `dataVerifyFormat object 数据校验格式 ⬇⬇⬇`
|
|
253426
|
+
* @dataVerifyFormatParam `mustInputValue bool 必须输入,不能为空`
|
|
253427
|
+
* @dataVerifyFormatParam `dataFormat string 数据格式(文本、数值、日期时间)`
|
|
253428
|
+
* @dataVerifyFormatParam `minLength number 文本格式最小长度`
|
|
253429
|
+
* @dataVerifyFormatParam `maxLength number 文本格式最大长度`
|
|
253430
|
+
* @dataVerifyFormatParam `onlyInputInt bool 数值格式 是否只能输入整数`
|
|
253431
|
+
* @dataVerifyFormatParam `minValue number 数值格式 最小值`
|
|
253432
|
+
* @dataVerifyFormatParam `maxValue number 数值格式 最大值`
|
|
253433
|
+
* @dataVerifyFormatParam `maxSmallBits number 数值格式 最大小数位数`
|
|
253434
|
+
* @params `bandDataSource object 数据源 ⬇⬇⬇`
|
|
253435
|
+
* @bandDataSourceParam `dataSourceEnabled bool 数据源绑定设置有效(默认值:true)`
|
|
253436
|
+
* @bandDataSourceParam `dataSource string 数据源`
|
|
253437
|
+
* @bandDataSourceParam `format string 格式化`
|
|
253438
|
+
* @bandDataSourceParam `visitPath string 访问路径`
|
|
253439
|
+
* @bandDataSourceParam `isReadOnly bool 只读 不能回填(默认值:false)`
|
|
253440
|
+
* @bandDataSourceParam `autoUpdate bool 自动更新,当加载文档或者数据源发生改变时自动更新数值(默认值:false)`
|
|
253441
|
+
* @bandDataSourceParam `executeStatus 枚举类型 ExecuteStatus(0: AlwaysExec总是执行, 1:OnlyOneTime只执行一次, 2:NoExec不执行) 执行状态(默认值:0 AlwaysExec)`
|
|
253442
|
+
* @params `customProperty string 自定义属性 example [{text: '', value: ''}]`
|
|
253443
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
253444
|
+
*/
|
|
253036
253445
|
}, {
|
|
253037
253446
|
key: "updateTextInputField",
|
|
253038
253447
|
value: function updateTextInputField(valuesObject) {
|
|
@@ -253040,11 +253449,11 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
253040
253449
|
hoEditorFactorys.vueController.updateTextInputField(valuesObject);
|
|
253041
253450
|
}
|
|
253042
253451
|
/**
|
|
253043
|
-
|
|
253044
|
-
|
|
253045
|
-
|
|
253046
|
-
|
|
253047
|
-
|
|
253452
|
+
* 插入图片
|
|
253453
|
+
* @param imagePath 路径
|
|
253454
|
+
* @param width 宽
|
|
253455
|
+
* @param height 高
|
|
253456
|
+
*/
|
|
253048
253457
|
}, {
|
|
253049
253458
|
key: "insertImage",
|
|
253050
253459
|
value: function insertImage(imagePath, width, height) {
|
|
@@ -253052,30 +253461,30 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
253052
253461
|
hoEditorFactorys.vueController.insertImage(imagePath, width, height);
|
|
253053
253462
|
}
|
|
253054
253463
|
/**
|
|
253055
|
-
|
|
253056
|
-
|
|
253057
|
-
|
|
253058
|
-
|
|
253059
|
-
|
|
253060
|
-
|
|
253061
|
-
|
|
253062
|
-
|
|
253063
|
-
|
|
253464
|
+
* 插入条形码
|
|
253465
|
+
* @param id 编码
|
|
253466
|
+
* @param textContent 文本内容
|
|
253467
|
+
* @param isDisplayText 是否显示文本
|
|
253468
|
+
* @param imagePath 图片路径
|
|
253469
|
+
* @param width 宽
|
|
253470
|
+
* @param height 高
|
|
253471
|
+
* @param bandDataSource 数据源
|
|
253472
|
+
*/
|
|
253064
253473
|
}, {
|
|
253065
253474
|
key: "insertBarcode",
|
|
253066
253475
|
value: function insertBarcode(id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier) {
|
|
253067
253476
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253068
|
-
hoEditorFactory.vueController.insertBarcode(
|
|
253477
|
+
hoEditorFactory.vueController.insertBarcode('add', id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier);
|
|
253069
253478
|
}
|
|
253070
253479
|
/**
|
|
253071
|
-
|
|
253072
|
-
|
|
253073
|
-
|
|
253074
|
-
|
|
253075
|
-
|
|
253076
|
-
|
|
253077
|
-
|
|
253078
|
-
|
|
253480
|
+
* 修改条形码
|
|
253481
|
+
* @param id 编码
|
|
253482
|
+
* @param textContent 文本内容
|
|
253483
|
+
* @param isDisplayText 是否显示文本
|
|
253484
|
+
* @param imagePath 图片路径
|
|
253485
|
+
* @param width 宽
|
|
253486
|
+
* @param height 高
|
|
253487
|
+
*/
|
|
253079
253488
|
}, {
|
|
253080
253489
|
key: "updateBarcode",
|
|
253081
253490
|
value: function updateBarcode(id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier) {
|
|
@@ -253083,93 +253492,125 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
253083
253492
|
hoEditorFactory.vueController.updateBarcode(id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier);
|
|
253084
253493
|
}
|
|
253085
253494
|
/**
|
|
253086
|
-
|
|
253087
|
-
|
|
253088
|
-
|
|
253089
|
-
|
|
253090
|
-
|
|
253091
|
-
|
|
253092
|
-
|
|
253093
|
-
|
|
253094
|
-
|
|
253095
|
-
|
|
253096
|
-
|
|
253097
|
-
|
|
253098
|
-
|
|
253099
|
-
|
|
253100
|
-
|
|
253495
|
+
* 插入二维码
|
|
253496
|
+
* @param id 编码
|
|
253497
|
+
* @param textContent 文本内容
|
|
253498
|
+
* @param type 类型
|
|
253499
|
+
* @param correctLevel 纠错能力
|
|
253500
|
+
* @param dataSourceEnabled 数据源绑定设置是否有效
|
|
253501
|
+
* @param dataSource 数据源
|
|
253502
|
+
* @param format 格式化
|
|
253503
|
+
* @param visitPath 访问路径
|
|
253504
|
+
* @param isReadOnly 是否 只读,不能回填
|
|
253505
|
+
* @param autoUpdate 是否 自动更新,当加载文档或者数据源发生改变时自动更新数值
|
|
253506
|
+
* @param execState 执行状态
|
|
253507
|
+
* @param width 宽
|
|
253508
|
+
* @param height 高
|
|
253509
|
+
*/
|
|
253101
253510
|
}, {
|
|
253102
253511
|
key: "insertQrcode",
|
|
253103
|
-
value: function insertQrcode(id, textContent, type, correctLevel,
|
|
253512
|
+
value: function insertQrcode(id, textContent, type, correctLevel,
|
|
253513
|
+
// dataSourceEnabled: boolean,
|
|
253514
|
+
// dataSource: string,
|
|
253515
|
+
// format: string,
|
|
253516
|
+
// visitPath: string,
|
|
253517
|
+
// isReadOnly: boolean,
|
|
253518
|
+
// autoUpdate: boolean,
|
|
253519
|
+
// execState: string,
|
|
253520
|
+
width, height, name, innerIdentifier, isFillBack) {
|
|
253104
253521
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253105
|
-
hoEditorFactory.vueController.insertQrcode(
|
|
253522
|
+
hoEditorFactory.vueController.insertQrcode('add', id, textContent, type, correctLevel,
|
|
253523
|
+
// dataSourceEnabled,
|
|
253524
|
+
// dataSource,
|
|
253525
|
+
// format,
|
|
253526
|
+
// visitPath,
|
|
253527
|
+
// isReadOnly,
|
|
253528
|
+
// autoUpdate,
|
|
253529
|
+
// execState,
|
|
253530
|
+
width, height, name, innerIdentifier, isFillBack);
|
|
253106
253531
|
}
|
|
253107
253532
|
/**
|
|
253108
|
-
|
|
253109
|
-
|
|
253110
|
-
|
|
253111
|
-
|
|
253112
|
-
|
|
253113
|
-
|
|
253114
|
-
|
|
253115
|
-
|
|
253116
|
-
|
|
253117
|
-
|
|
253118
|
-
|
|
253119
|
-
|
|
253120
|
-
|
|
253121
|
-
|
|
253122
|
-
|
|
253533
|
+
* 修改二维码
|
|
253534
|
+
* @param id 编码
|
|
253535
|
+
* @param textContent 文本内容
|
|
253536
|
+
* @param type 类型
|
|
253537
|
+
* @param correctLevel 纠错能力
|
|
253538
|
+
* @param dataSourceEnabled 数据源绑定设置是否有效
|
|
253539
|
+
* @param dataSource 数据源
|
|
253540
|
+
* @param format 格式化
|
|
253541
|
+
* @param visitPath 访问路径
|
|
253542
|
+
* @param isReadOnly 是否 只读,不能回填
|
|
253543
|
+
* @param autoUpdate 是否 自动更新,当加载文档或者数据源发生改变时自动更新数值
|
|
253544
|
+
* @param execState 执行状态
|
|
253545
|
+
* @param width 宽
|
|
253546
|
+
* @param height 高
|
|
253547
|
+
*/
|
|
253123
253548
|
}, {
|
|
253124
253549
|
key: "updateQrcode",
|
|
253125
|
-
value: function updateQrcode(id, textContent, type, correctLevel,
|
|
253550
|
+
value: function updateQrcode(id, textContent, type, correctLevel,
|
|
253551
|
+
// dataSourceEnabled: boolean,
|
|
253552
|
+
// dataSource: string,
|
|
253553
|
+
// format: string,
|
|
253554
|
+
// visitPath: string,
|
|
253555
|
+
// isReadOnly: boolean,
|
|
253556
|
+
// autoUpdate: boolean,
|
|
253557
|
+
// execState: string,
|
|
253558
|
+
width, height, name, innerIdentifier, isFillBack) {
|
|
253126
253559
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253127
|
-
hoEditorFactory.vueController.updateQrcode(id, textContent, type, correctLevel,
|
|
253560
|
+
hoEditorFactory.vueController.updateQrcode(id, textContent, type, correctLevel,
|
|
253561
|
+
// dataSourceEnabled,
|
|
253562
|
+
// dataSource,
|
|
253563
|
+
// format,
|
|
253564
|
+
// visitPath,
|
|
253565
|
+
// isReadOnly,
|
|
253566
|
+
// autoUpdate,
|
|
253567
|
+
// execState,
|
|
253568
|
+
width, height, name, innerIdentifier, isFillBack);
|
|
253128
253569
|
}
|
|
253129
253570
|
/**
|
|
253130
|
-
|
|
253131
|
-
|
|
253132
|
-
|
|
253133
|
-
|
|
253134
|
-
|
|
253135
|
-
|
|
253136
|
-
|
|
253137
|
-
|
|
253138
|
-
|
|
253139
|
-
|
|
253140
|
-
|
|
253141
|
-
|
|
253142
|
-
|
|
253143
|
-
|
|
253144
|
-
|
|
253145
|
-
|
|
253146
|
-
|
|
253147
|
-
|
|
253571
|
+
* 插入单、复选框控件
|
|
253572
|
+
* @params `controlStyle string 控件样式(RadioBox单选框, CheckBox复选框)`
|
|
253573
|
+
* @params `id string 编号ID`
|
|
253574
|
+
* @params `name string 控件名称`
|
|
253575
|
+
* @params `text string 文本值`
|
|
253576
|
+
* @params `title string 标题`
|
|
253577
|
+
* @params `checkCascadeObject string 勾选级联对象`
|
|
253578
|
+
* @params `unCheckCascadeObject string 不勾选级联对象`
|
|
253579
|
+
* @params `tipText string 提示文本`
|
|
253580
|
+
* @params `isAllowDelete bool 是否允许删除(默认值:true)`
|
|
253581
|
+
* @params `groupName string 组名`
|
|
253582
|
+
* @params `isSelected bool 是否勾选(默认值:false)`
|
|
253583
|
+
* @params `boxAlign bool 勾选框左对齐(默认值:true)`
|
|
253584
|
+
* @params `numericValue string 数值`
|
|
253585
|
+
* @params `additionalData string 附加数据`
|
|
253586
|
+
* @params `bandDataSource BandDataSource 数据源`
|
|
253587
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
253588
|
+
*/
|
|
253148
253589
|
}, {
|
|
253149
253590
|
key: "insertRadioAndCheckBox",
|
|
253150
253591
|
value: function insertRadioAndCheckBox(valuesObject) {
|
|
253151
253592
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253152
|
-
hoEditorFactory.vueController.insertRadioAndCheckBox(
|
|
253593
|
+
hoEditorFactory.vueController.insertRadioAndCheckBox('add', valuesObject);
|
|
253153
253594
|
}
|
|
253154
253595
|
/**
|
|
253155
|
-
|
|
253156
|
-
|
|
253157
|
-
|
|
253158
|
-
|
|
253159
|
-
|
|
253160
|
-
|
|
253161
|
-
|
|
253162
|
-
|
|
253163
|
-
|
|
253164
|
-
|
|
253165
|
-
|
|
253166
|
-
|
|
253167
|
-
|
|
253168
|
-
|
|
253169
|
-
|
|
253170
|
-
|
|
253171
|
-
|
|
253172
|
-
|
|
253596
|
+
* 修改单、复选框控件
|
|
253597
|
+
* @params `controlStyle string 控件样式(RadioBox单选框, CheckBox复选框)`
|
|
253598
|
+
* @params `id string 编号ID`
|
|
253599
|
+
* @params `name string 控件名称`
|
|
253600
|
+
* @params `text string 文本值`
|
|
253601
|
+
* @params `title string 标题`
|
|
253602
|
+
* @params `checkCascadeObject string 勾选级联对象`
|
|
253603
|
+
* @params `unCheckCascadeObject string 不勾选级联对象`
|
|
253604
|
+
* @params `tipText string 提示文本`
|
|
253605
|
+
* @params `isAllowDelete bool 是否允许删除(默认值:true)`
|
|
253606
|
+
* @params `groupName string 组名`
|
|
253607
|
+
* @params `isSelected bool 是否勾选(默认值:false)`
|
|
253608
|
+
* @params `boxAlign bool 勾选框左对齐(默认值:true)`
|
|
253609
|
+
* @params `numericValue string 数值`
|
|
253610
|
+
* @params `additionalData string 附加数据`
|
|
253611
|
+
* @params `bandDataSource BandDataSource 数据源`
|
|
253612
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
253613
|
+
*/
|
|
253173
253614
|
}, {
|
|
253174
253615
|
key: "updateRadioAndCheckBox",
|
|
253175
253616
|
value: function updateRadioAndCheckBox(valuesObject) {
|
|
@@ -253177,43 +253618,43 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
253177
253618
|
hoEditorFactory.vueController.updateRadioAndCheckBox(valuesObject);
|
|
253178
253619
|
}
|
|
253179
253620
|
/**
|
|
253180
|
-
|
|
253181
|
-
|
|
253182
|
-
|
|
253183
|
-
|
|
253184
|
-
|
|
253185
|
-
|
|
253186
|
-
|
|
253187
|
-
|
|
253188
|
-
|
|
253189
|
-
|
|
253190
|
-
|
|
253191
|
-
|
|
253192
|
-
|
|
253193
|
-
|
|
253194
|
-
|
|
253621
|
+
* 插入日期时间节点
|
|
253622
|
+
* @prop valuesObject 属性集
|
|
253623
|
+
* @params `id string 编号ID`
|
|
253624
|
+
* @params `innerIdentifier string 内部标识符`
|
|
253625
|
+
* @params `dataMetaIdentifier string 数据元标识符`
|
|
253626
|
+
* @params `identifierFormat string 表示格式`
|
|
253627
|
+
* @params `controlStyle string 日期时间样式 HH:mm:ss hh时mm分ss秒 yyyy-MM-dd yyyy年MM月dd日 yyyy/MM/dd yyyy-MM-dd HH:mm:ss yyyy/MM/dd HH:mm:ss yyyy年MM月dd日 hh时mm分ss秒`
|
|
253628
|
+
* @params `name string 控件名称`
|
|
253629
|
+
* @params `text string 文本值`
|
|
253630
|
+
* @params `title string 标题`
|
|
253631
|
+
* @params `tipText string 提示文本`
|
|
253632
|
+
* @params `isAllowDelete bool 是否允许删除(默认值:true)`
|
|
253633
|
+
* @params `isReadOnly bool 是否只读(默认值:false)`
|
|
253634
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
253635
|
+
*/
|
|
253195
253636
|
}, {
|
|
253196
253637
|
key: "insertDateTime",
|
|
253197
253638
|
value: function insertDateTime(valuesObject) {
|
|
253198
253639
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253199
|
-
hoEditorFactory.vueController.insertDateTime(
|
|
253640
|
+
hoEditorFactory.vueController.insertDateTime('add', valuesObject);
|
|
253200
253641
|
}
|
|
253201
253642
|
/**
|
|
253202
|
-
|
|
253203
|
-
|
|
253204
|
-
|
|
253205
|
-
|
|
253206
|
-
|
|
253207
|
-
|
|
253208
|
-
|
|
253209
|
-
|
|
253210
|
-
|
|
253211
|
-
|
|
253212
|
-
|
|
253213
|
-
|
|
253214
|
-
|
|
253215
|
-
|
|
253216
|
-
|
|
253643
|
+
* 修改日期时间节点
|
|
253644
|
+
* @prop valuesObject 属性集
|
|
253645
|
+
* @params `id string 编号ID`
|
|
253646
|
+
* @params `innerIdentifier string 内部标识符`
|
|
253647
|
+
* @params `dataMetaIdentifier string 数据元标识符`
|
|
253648
|
+
* @params `identifierFormat string 表示格式`
|
|
253649
|
+
* @params `controlStyle string 日期时间样式 HH:mm:ss hh时mm分ss秒 yyyy-MM-dd yyyy年MM月dd日 yyyy/MM/dd yyyy-MM-dd HH:mm:ss yyyy/MM/dd HH:mm:ss yyyy年MM月dd日 hh时mm分ss秒`
|
|
253650
|
+
* @params `name string 控件名称`
|
|
253651
|
+
* @params `text string 文本值`
|
|
253652
|
+
* @params `title string 标题`
|
|
253653
|
+
* @params `tipText string 提示文本`
|
|
253654
|
+
* @params `isAllowDelete bool 是否允许删除(默认值:true)`
|
|
253655
|
+
* @params `isReadOnly bool 是否只读(默认值:false)`
|
|
253656
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
253657
|
+
*/
|
|
253217
253658
|
}, {
|
|
253218
253659
|
key: "updateDateTime",
|
|
253219
253660
|
value: function updateDateTime(valuesObject) {
|
|
@@ -253221,47 +253662,47 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
253221
253662
|
hoEditorFactory.vueController.updateDateTime(valuesObject);
|
|
253222
253663
|
}
|
|
253223
253664
|
/**
|
|
253224
|
-
|
|
253225
|
-
|
|
253226
|
-
|
|
253227
|
-
|
|
253228
|
-
|
|
253229
|
-
|
|
253230
|
-
|
|
253231
|
-
|
|
253232
|
-
|
|
253233
|
-
|
|
253234
|
-
|
|
253235
|
-
|
|
253236
|
-
|
|
253237
|
-
|
|
253238
|
-
|
|
253239
|
-
|
|
253240
|
-
|
|
253665
|
+
* 插入下拉列表节点
|
|
253666
|
+
* @prop 属性集
|
|
253667
|
+
* @params `id string 编号ID`
|
|
253668
|
+
* @params `innerIdentifier string 内部标识符`
|
|
253669
|
+
* @params `dataMetaIdentifier string 数据元标识符`
|
|
253670
|
+
* @params `identifierFormat string 表示格式`
|
|
253671
|
+
* @params `name string 控件名称`
|
|
253672
|
+
* @params `text string 文本值`
|
|
253673
|
+
* @params `title string 标题`
|
|
253674
|
+
* @params `tipText string 提示文本`
|
|
253675
|
+
* @params `isAllowDelete bool 是否允许删除(默认值:true)`
|
|
253676
|
+
* @params `isReadOnly bool 是否只读(默认值:false)`
|
|
253677
|
+
* @params `allowMultiSelect bool 允许多选(默认值:false)`
|
|
253678
|
+
* @params `downListContent object[] 列表内容 example [{text: '', value: ''}]`
|
|
253679
|
+
* @params `dataSource object 数据源参数类型参考 文本输入域`
|
|
253680
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
253681
|
+
*/
|
|
253241
253682
|
}, {
|
|
253242
253683
|
key: "insertDownList",
|
|
253243
253684
|
value: function insertDownList(valuesObject, downListContent) {
|
|
253244
253685
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253245
|
-
hoEditorFactory.vueController.insertDownList(
|
|
253686
|
+
hoEditorFactory.vueController.insertDownList('add', valuesObject, downListContent);
|
|
253246
253687
|
}
|
|
253247
253688
|
/**
|
|
253248
|
-
|
|
253249
|
-
|
|
253250
|
-
|
|
253251
|
-
|
|
253252
|
-
|
|
253253
|
-
|
|
253254
|
-
|
|
253255
|
-
|
|
253256
|
-
|
|
253257
|
-
|
|
253258
|
-
|
|
253259
|
-
|
|
253260
|
-
|
|
253261
|
-
|
|
253262
|
-
|
|
253263
|
-
|
|
253264
|
-
|
|
253689
|
+
* 修改下拉列表节点
|
|
253690
|
+
* @prop 属性集
|
|
253691
|
+
* @params `id string 编号ID`
|
|
253692
|
+
* @params `innerIdentifier string 内部标识符`
|
|
253693
|
+
* @params `dataMetaIdentifier string 数据元标识符`
|
|
253694
|
+
* @params `identifierFormat string 表示格式`
|
|
253695
|
+
* @params `name string 控件名称`
|
|
253696
|
+
* @params `text string 文本值`
|
|
253697
|
+
* @params `title string 标题`
|
|
253698
|
+
* @params `tipText string 提示文本`
|
|
253699
|
+
* @params `isAllowDelete bool 是否允许删除(默认值:true)`
|
|
253700
|
+
* @params `isReadOnly bool 是否只读(默认值:false)`
|
|
253701
|
+
* @params `allowMultiSelect bool 允许多选(默认值:false)`
|
|
253702
|
+
* @params `downListContent object[] 列表内容 example [{text: '', value: ''}]`
|
|
253703
|
+
* @params `dataSource object 数据源参数类型参考 文本输入域`
|
|
253704
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
253705
|
+
*/
|
|
253265
253706
|
}, {
|
|
253266
253707
|
key: "updateDownList",
|
|
253267
253708
|
value: function updateDownList(valuesObject, downListContent) {
|
|
@@ -253269,37 +253710,37 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
253269
253710
|
hoEditorFactory.vueController.updateDownList(valuesObject, downListContent);
|
|
253270
253711
|
}
|
|
253271
253712
|
/**
|
|
253272
|
-
|
|
253273
|
-
|
|
253274
|
-
|
|
253713
|
+
* 插入特殊符号
|
|
253714
|
+
* @param chars 字符
|
|
253715
|
+
*/
|
|
253275
253716
|
}, {
|
|
253276
253717
|
key: "insertSpecialChars",
|
|
253277
253718
|
value: function insertSpecialChars(chars) {
|
|
253278
253719
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253279
|
-
hoEditorFactory.vueController.insertSpecialChars(
|
|
253720
|
+
hoEditorFactory.vueController.insertSpecialChars('add', chars);
|
|
253280
253721
|
}
|
|
253281
253722
|
/**
|
|
253282
|
-
|
|
253283
|
-
|
|
253284
|
-
|
|
253723
|
+
* 插入生僻字
|
|
253724
|
+
* @param chars 字符
|
|
253725
|
+
*/
|
|
253285
253726
|
}, {
|
|
253286
253727
|
key: "insertRareChar",
|
|
253287
253728
|
value: function insertRareChar(chars) {
|
|
253288
253729
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253289
|
-
hoEditorFactory.vueController.insertRareChar(
|
|
253730
|
+
hoEditorFactory.vueController.insertRareChar('add', chars);
|
|
253290
253731
|
}
|
|
253291
253732
|
/**
|
|
253292
|
-
|
|
253293
|
-
|
|
253294
|
-
|
|
253295
|
-
|
|
253296
|
-
|
|
253297
|
-
|
|
253733
|
+
* 插入页码 页数
|
|
253734
|
+
* @param operType 操作类型 "add"新增
|
|
253735
|
+
* @param contentType 内容类型:0 页码;1 页数
|
|
253736
|
+
* @param formatType 格式类型:0阿拉伯数字,1中文大写数字
|
|
253737
|
+
* @param autoSetHeight 自动设置行高
|
|
253738
|
+
*/
|
|
253298
253739
|
}, {
|
|
253299
253740
|
key: "insertPageNum",
|
|
253300
253741
|
value: function insertPageNum(contentType, formatType, autoSetHeight) {
|
|
253301
253742
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253302
|
-
hoEditorFactory.vueController.insertPageNum(
|
|
253743
|
+
hoEditorFactory.vueController.insertPageNum('add', contentType, formatType, autoSetHeight);
|
|
253303
253744
|
}
|
|
253304
253745
|
/**
|
|
253305
253746
|
* 插入分割线
|
|
@@ -257768,7 +258209,7 @@ var HoFooter_component = (0,componentNormalizer/* default */.Z)(
|
|
|
257768
258209
|
|
|
257769
258210
|
/* harmony default export */ var HoFooter = (HoFooter_component.exports);
|
|
257770
258211
|
// EXTERNAL MODULE: ./src/components/controls/ControlModal.vue + 3 modules
|
|
257771
|
-
var ControlModal = __webpack_require__(
|
|
258212
|
+
var ControlModal = __webpack_require__(77004);
|
|
257772
258213
|
// EXTERNAL MODULE: ./src/components/controls/findReplace/FindReplace.vue + 5 modules
|
|
257773
258214
|
var FindReplace = __webpack_require__(25918);
|
|
257774
258215
|
;// CONCATENATED MODULE: ./src/components/controls/findReplace/index.ts
|
|
@@ -265617,7 +266058,6 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265617
266058
|
|
|
265618
266059
|
|
|
265619
266060
|
|
|
265620
|
-
|
|
265621
266061
|
|
|
265622
266062
|
|
|
265623
266063
|
/* harmony default export */ var HoDefaultProvidervue_type_script_lang_js_ = ({
|
|
@@ -265650,21 +266090,20 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265650
266090
|
rightTypeIsTable: false,
|
|
265651
266091
|
// 右键位置是否在表格内
|
|
265652
266092
|
|
|
265653
|
-
isDataSource: false,
|
|
265654
|
-
// 自定义数据源弹窗
|
|
266093
|
+
// isDataSource: false, // 自定义数据源弹窗
|
|
265655
266094
|
isCustoms: false,
|
|
265656
266095
|
// 自定义属性
|
|
265657
266096
|
isTableProperty: false,
|
|
265658
266097
|
// 表格自定义属性
|
|
265659
|
-
dataSource: {
|
|
265660
|
-
|
|
265661
|
-
|
|
265662
|
-
|
|
265663
|
-
|
|
265664
|
-
|
|
265665
|
-
|
|
265666
|
-
|
|
265667
|
-
},
|
|
266098
|
+
// dataSource: {
|
|
266099
|
+
// dataSourceEnabled: true,
|
|
266100
|
+
// dataSource: '',
|
|
266101
|
+
// format: '',
|
|
266102
|
+
// visitPath: '',
|
|
266103
|
+
// isReadOnly: false,
|
|
266104
|
+
// autoUpdate: false,
|
|
266105
|
+
// executeStatus: 0,
|
|
266106
|
+
// },
|
|
265668
266107
|
customsValue: [{
|
|
265669
266108
|
name: '',
|
|
265670
266109
|
value: ''
|
|
@@ -265679,6 +266118,13 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265679
266118
|
listArrSource: '',
|
|
265680
266119
|
// 下拉列表来源
|
|
265681
266120
|
listAllowMultiSelected: false,
|
|
266121
|
+
verifyTipList: [],
|
|
266122
|
+
// 校验规则提示列表
|
|
266123
|
+
verifyType: '',
|
|
266124
|
+
// 校验规则类型
|
|
266125
|
+
isVerifyTip: false,
|
|
266126
|
+
//校验规则提示弹窗
|
|
266127
|
+
|
|
265682
266128
|
updateNodeValue: null,
|
|
265683
266129
|
controlFindType: false,
|
|
265684
266130
|
// 查询替换
|
|
@@ -265706,21 +266152,22 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265706
266152
|
this.expressStyle = express ? express : this.expressStyle;
|
|
265707
266153
|
if (this.controlType === 'express') this.expressStyle === '';
|
|
265708
266154
|
if (this.controlType === '') {
|
|
265709
|
-
this.dataSource = {
|
|
265710
|
-
|
|
265711
|
-
|
|
265712
|
-
|
|
265713
|
-
|
|
265714
|
-
|
|
265715
|
-
|
|
265716
|
-
|
|
265717
|
-
};
|
|
266155
|
+
// this.dataSource = {
|
|
266156
|
+
// dataSourceEnabled: true,
|
|
266157
|
+
// dataSource: '',
|
|
266158
|
+
// format: '',
|
|
266159
|
+
// visitPath: '',
|
|
266160
|
+
// isReadOnly: false,
|
|
266161
|
+
// autoUpdate: false,
|
|
266162
|
+
// executeStatus: 0,
|
|
266163
|
+
// };
|
|
265718
266164
|
this.customsValue = [{
|
|
265719
266165
|
name: '',
|
|
265720
266166
|
value: ''
|
|
265721
266167
|
}];
|
|
265722
266168
|
this.listArrSource = '';
|
|
265723
266169
|
this.listSource = [];
|
|
266170
|
+
this.verifyTipList = [];
|
|
265724
266171
|
this.rightType = '';
|
|
265725
266172
|
this.updateNodeValue = null;
|
|
265726
266173
|
this.rightNode = null;
|
|
@@ -265748,18 +266195,18 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265748
266195
|
}
|
|
265749
266196
|
if (node instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
265750
266197
|
this.rightType = 'text';
|
|
265751
|
-
this.dataSource = node.bandDataSource;
|
|
266198
|
+
// this.dataSource = node.bandDataSource;
|
|
265752
266199
|
if ((0,type/* isObject */.Kn)(node.customProperty)) this.customPropertyValue = (0,objectSpread2/* default */.Z)({}, node.customProperty);
|
|
265753
266200
|
} else if (node instanceof MarkNode/* MarkNode */.j && node.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
265754
266201
|
var parentNode = node.parentNode;
|
|
265755
266202
|
this.rightType = 'text';
|
|
265756
|
-
this.dataSource = parentNode.bandDataSource;
|
|
266203
|
+
// this.dataSource = parentNode.bandDataSource;
|
|
265757
266204
|
if ((0,type/* isObject */.Kn)(parentNode.customProperty)) this.customPropertyValue = (0,objectSpread2/* default */.Z)({}, parentNode.customProperty);
|
|
265758
266205
|
} else if (node instanceof TextNode/* TextNode */.R) {
|
|
265759
266206
|
var _parentNode = node.parentNode;
|
|
265760
266207
|
if (_parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
265761
266208
|
this.rightType = 'text';
|
|
265762
|
-
this.dataSource =
|
|
266209
|
+
// this.dataSource = parentNode.bandDataSource;
|
|
265763
266210
|
if ((0,type/* isObject */.Kn)(_parentNode.customProperty)) this.customPropertyValue = (0,objectSpread2/* default */.Z)({}, _parentNode.customProperty);
|
|
265764
266211
|
} else if (_parentNode instanceof CellNode/* CellNode */.D) {
|
|
265765
266212
|
this.rightTypeIsTable = true;
|
|
@@ -265779,18 +266226,18 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265779
266226
|
this.rightType = 'barcode';
|
|
265780
266227
|
} else if (node instanceof QrcodeNode/* QrcodeNode */.d) {
|
|
265781
266228
|
this.rightType = 'qrcode';
|
|
265782
|
-
this.dataSource = {
|
|
265783
|
-
|
|
265784
|
-
|
|
265785
|
-
|
|
265786
|
-
|
|
265787
|
-
|
|
265788
|
-
|
|
265789
|
-
|
|
265790
|
-
};
|
|
266229
|
+
// this.dataSource = {
|
|
266230
|
+
// dataSourceEnabled: node.dataSourceEnabled,
|
|
266231
|
+
// dataSource: node.dataSource,
|
|
266232
|
+
// format: node.format,
|
|
266233
|
+
// visitPath: node.visitPath,
|
|
266234
|
+
// isReadOnly: node.isReadOnly,
|
|
266235
|
+
// autoUpdate: node.autoUpdate,
|
|
266236
|
+
// executeStatus: Number(node.execState),
|
|
266237
|
+
// };
|
|
265791
266238
|
} else if (node instanceof RadioAndCheckBoxNode/* RadioAndCheckBoxNode */.Yh) {
|
|
265792
266239
|
this.rightType = node.controlStyle;
|
|
265793
|
-
this.dataSource = node.bandDataSource;
|
|
266240
|
+
// this.dataSource = node.bandDataSource;
|
|
265794
266241
|
} else if (node instanceof ImageNode/* ImageNode */.H) {
|
|
265795
266242
|
this.rightType = 'edit-image';
|
|
265796
266243
|
} else if (node instanceof LabelNode/* LabelNode */.P) {
|
|
@@ -265889,33 +266336,33 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265889
266336
|
/**
|
|
265890
266337
|
* 打开或者关闭 数据源弹窗
|
|
265891
266338
|
*/
|
|
265892
|
-
|
|
265893
|
-
|
|
265894
|
-
},
|
|
266339
|
+
// setIsDataSource(value) {
|
|
266340
|
+
// this.isDataSource = value;
|
|
266341
|
+
// },
|
|
265895
266342
|
/**
|
|
265896
266343
|
* 获取当前元素的数据源
|
|
265897
266344
|
*/
|
|
265898
|
-
|
|
265899
|
-
|
|
265900
|
-
},
|
|
266345
|
+
// getDataSource() {
|
|
266346
|
+
// return this.dataSource;
|
|
266347
|
+
// },
|
|
265901
266348
|
/**
|
|
265902
266349
|
* 打开带有数据源的弹窗前 初始化数据源弹窗中的数据
|
|
265903
266350
|
*/
|
|
265904
|
-
|
|
265905
|
-
|
|
265906
|
-
|
|
265907
|
-
|
|
265908
|
-
|
|
265909
|
-
|
|
265910
|
-
|
|
265911
|
-
|
|
265912
|
-
|
|
265913
|
-
|
|
265914
|
-
|
|
265915
|
-
|
|
265916
|
-
|
|
265917
|
-
|
|
265918
|
-
},
|
|
266351
|
+
// setDataSource(dataSources) {
|
|
266352
|
+
// if (dataSources) {
|
|
266353
|
+
// this.dataSource = { ...dataSources };
|
|
266354
|
+
// } else {
|
|
266355
|
+
// this.dataSource = {
|
|
266356
|
+
// dataSourceEnabled: true,
|
|
266357
|
+
// dataSource: '',
|
|
266358
|
+
// format: '',
|
|
266359
|
+
// visitPath: '',
|
|
266360
|
+
// isReadOnly: false,
|
|
266361
|
+
// autoUpdate: false,
|
|
266362
|
+
// executeStatus: 0,
|
|
266363
|
+
// };
|
|
266364
|
+
// }
|
|
266365
|
+
// },
|
|
265919
266366
|
/**
|
|
265920
266367
|
* 打开或者关闭 自定义属性列表的弹窗
|
|
265921
266368
|
*/
|
|
@@ -265943,6 +266390,24 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265943
266390
|
}
|
|
265944
266391
|
this.listArrSource = source;
|
|
265945
266392
|
},
|
|
266393
|
+
/**
|
|
266394
|
+
* 校验规则和提示
|
|
266395
|
+
*/
|
|
266396
|
+
getVerifyTipList: function getVerifyTipList() {
|
|
266397
|
+
return {
|
|
266398
|
+
list: this.verifyTipList,
|
|
266399
|
+
type: this.verifyType
|
|
266400
|
+
};
|
|
266401
|
+
},
|
|
266402
|
+
setVerifyTipList: function setVerifyTipList(verifyTipList, verifyType) {
|
|
266403
|
+
if (Array.isArray(verifyTipList)) {
|
|
266404
|
+
this.verifyTipList = (0,esm_toConsumableArray/* default */.Z)(verifyTipList);
|
|
266405
|
+
}
|
|
266406
|
+
this.verifyType = verifyType ? verifyType : this.verifyType;
|
|
266407
|
+
},
|
|
266408
|
+
setIsVerifyTip: function setIsVerifyTip(val) {
|
|
266409
|
+
this.isVerifyTip = val;
|
|
266410
|
+
},
|
|
265946
266411
|
/**
|
|
265947
266412
|
* 自定义属性
|
|
265948
266413
|
*/
|