hoeditor-web 3.0.78 → 3.0.80
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 +2238 -878
- 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
|
+
/***/ 28715:
|
|
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=27cb4a05&
|
|
15400
15228
|
|
|
15401
15229
|
var render = function render() {
|
|
15402
15230
|
var _vm = this,
|
|
@@ -15471,15 +15299,15 @@ var render = function render() {
|
|
|
15471
15299
|
attrs: {
|
|
15472
15300
|
"value": 2
|
|
15473
15301
|
}
|
|
15474
|
-
}, [_vm._v("
|
|
15302
|
+
}, [_vm._v("多人签名(默认带职称)")]), _c('a-radio', {
|
|
15475
15303
|
attrs: {
|
|
15476
15304
|
"value": 3
|
|
15477
15305
|
}
|
|
15478
|
-
}, [_vm._v("
|
|
15306
|
+
}, [_vm._v("多人签名(默认带职称和日期)")]), _c('a-radio', {
|
|
15479
15307
|
attrs: {
|
|
15480
15308
|
"value": 4
|
|
15481
15309
|
}
|
|
15482
|
-
}, [_vm._v("
|
|
15310
|
+
}, [_vm._v("自定义多人签名")])], 1)], 1)]), _vm.signType == 2 ? _c('li', {
|
|
15483
15311
|
staticClass: "control-item"
|
|
15484
15312
|
}, [_c('span', {
|
|
15485
15313
|
staticClass: "label"
|
|
@@ -15495,11 +15323,11 @@ var render = function render() {
|
|
|
15495
15323
|
},
|
|
15496
15324
|
expression: "connectChar"
|
|
15497
15325
|
}
|
|
15498
|
-
})], 1) : _vm._e(), _vm.signType
|
|
15326
|
+
})], 1) : _vm._e(), _vm.signType >= 4 ? [_c('li', {
|
|
15499
15327
|
staticClass: "control-item"
|
|
15500
15328
|
}, [_c('span', {
|
|
15501
15329
|
staticClass: "label"
|
|
15502
|
-
}, [_vm._v("
|
|
15330
|
+
}, [_vm._v("签名连接方式")]), _c('a-select', {
|
|
15503
15331
|
attrs: {
|
|
15504
15332
|
"getPopupContainer": function getPopupContainer(triggerNode) {
|
|
15505
15333
|
return triggerNode.parentNode;
|
|
@@ -15529,7 +15357,7 @@ var render = function render() {
|
|
|
15529
15357
|
attrs: {
|
|
15530
15358
|
"value": ","
|
|
15531
15359
|
}
|
|
15532
|
-
}, [_vm._v(",")])], 1)], 1)
|
|
15360
|
+
}, [_vm._v(",")])], 1)], 1), _c('li', {
|
|
15533
15361
|
staticClass: "control-item"
|
|
15534
15362
|
}, [_c('span', {
|
|
15535
15363
|
staticClass: "label"
|
|
@@ -15541,7 +15369,81 @@ var render = function render() {
|
|
|
15541
15369
|
},
|
|
15542
15370
|
expression: "isDisplayTitle"
|
|
15543
15371
|
}
|
|
15544
|
-
})], 1)
|
|
15372
|
+
})], 1), _c('li', {
|
|
15373
|
+
staticClass: "control-item"
|
|
15374
|
+
}, [_c('span', {
|
|
15375
|
+
staticClass: "label"
|
|
15376
|
+
}, [_vm._v("日期")]), _c('a-checkbox', {
|
|
15377
|
+
model: {
|
|
15378
|
+
value: _vm.isDisplayTime,
|
|
15379
|
+
callback: function callback($$v) {
|
|
15380
|
+
_vm.isDisplayTime = $$v;
|
|
15381
|
+
},
|
|
15382
|
+
expression: "isDisplayTime"
|
|
15383
|
+
}
|
|
15384
|
+
})], 1), _vm.isDisplayTime ? _c('li', {
|
|
15385
|
+
staticClass: "control-item"
|
|
15386
|
+
}, [_c('span', {
|
|
15387
|
+
staticClass: "label"
|
|
15388
|
+
}, [_vm._v("日期格式")]), _c('a-select', {
|
|
15389
|
+
attrs: {
|
|
15390
|
+
"getPopupContainer": function getPopupContainer(triggerNode) {
|
|
15391
|
+
return triggerNode.parentNode;
|
|
15392
|
+
},
|
|
15393
|
+
"placeholder": "请选择"
|
|
15394
|
+
},
|
|
15395
|
+
model: {
|
|
15396
|
+
value: _vm.signTimeFormat,
|
|
15397
|
+
callback: function callback($$v) {
|
|
15398
|
+
_vm.signTimeFormat = $$v;
|
|
15399
|
+
},
|
|
15400
|
+
expression: "signTimeFormat"
|
|
15401
|
+
}
|
|
15402
|
+
}, [_c('a-select-option', {
|
|
15403
|
+
attrs: {
|
|
15404
|
+
"value": "yyyy-MM-DD HH:mm:ss"
|
|
15405
|
+
}
|
|
15406
|
+
}, [_vm._v("yyyy-MM-DD HH:mm:ss")]), _c('a-select-option', {
|
|
15407
|
+
attrs: {
|
|
15408
|
+
"value": "yyyy-MM-DD HH:mm"
|
|
15409
|
+
}
|
|
15410
|
+
}, [_vm._v("yyyy-MM-DD HH:mm")]), _c('a-select-option', {
|
|
15411
|
+
attrs: {
|
|
15412
|
+
"value": "yyyy/MM/DD HH:mm:ss"
|
|
15413
|
+
}
|
|
15414
|
+
}, [_vm._v("yyyy/MM/DD HH:mm:ss")]), _c('a-select-option', {
|
|
15415
|
+
attrs: {
|
|
15416
|
+
"value": "yyyy/MM/DD HH:mm"
|
|
15417
|
+
}
|
|
15418
|
+
}, [_vm._v("yyyy/MM/DD HH:mm")]), _c('a-select-option', {
|
|
15419
|
+
attrs: {
|
|
15420
|
+
"value": "yyyy年MM月DD日 HH时mm分ss秒"
|
|
15421
|
+
}
|
|
15422
|
+
}, [_vm._v("yyyy年MM月DD日 HH时mm分ss秒")]), _c('a-select-option', {
|
|
15423
|
+
attrs: {
|
|
15424
|
+
"value": "yyyy年MM月DD日 HH时mm分"
|
|
15425
|
+
}
|
|
15426
|
+
}, [_vm._v("yyyy年MM月DD日 HH时mm分")])], 1)], 1) : _vm._e(), _vm.isDisplayTime ? _c('li', {
|
|
15427
|
+
staticClass: "control-item"
|
|
15428
|
+
}, [_c('span', {
|
|
15429
|
+
staticClass: "label"
|
|
15430
|
+
}, [_vm._v("日期相对位置")]), _c('a-radio-group', {
|
|
15431
|
+
model: {
|
|
15432
|
+
value: _vm.timePosition,
|
|
15433
|
+
callback: function callback($$v) {
|
|
15434
|
+
_vm.timePosition = $$v;
|
|
15435
|
+
},
|
|
15436
|
+
expression: "timePosition"
|
|
15437
|
+
}
|
|
15438
|
+
}, [_c('a-radio', {
|
|
15439
|
+
attrs: {
|
|
15440
|
+
"value": "0"
|
|
15441
|
+
}
|
|
15442
|
+
}, [_vm._v("下")]), _c('a-radio', {
|
|
15443
|
+
attrs: {
|
|
15444
|
+
"value": "1"
|
|
15445
|
+
}
|
|
15446
|
+
}, [_vm._v("右")])], 1)], 1) : _vm._e()] : _vm._e(), _vm.signType >= 9 ? [_c('li', {
|
|
15545
15447
|
staticClass: "control-item"
|
|
15546
15448
|
}, [_c('span', {
|
|
15547
15449
|
staticClass: "label"
|
|
@@ -15783,7 +15685,7 @@ var render = function render() {
|
|
|
15783
15685
|
};
|
|
15784
15686
|
var staticRenderFns = [];
|
|
15785
15687
|
|
|
15786
|
-
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=template&id=
|
|
15688
|
+
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=template&id=27cb4a05&
|
|
15787
15689
|
|
|
15788
15690
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
15789
15691
|
var objectSpread2 = __webpack_require__(63442);
|
|
@@ -15864,14 +15766,16 @@ var SignNode = __webpack_require__(24701);
|
|
|
15864
15766
|
customSignFormatList: [],
|
|
15865
15767
|
defaultFormatList: ['<医师姓名>', '<医师姓名>(<医师职称>)', '<医师姓名>:<医师职称>', '<医师姓名>:<医师职称>\n<签名时间>'],
|
|
15866
15768
|
animationClassNames: 'control-modal-contents sign-modal animation-in',
|
|
15867
|
-
isDisplayTitle: false
|
|
15769
|
+
isDisplayTitle: false,
|
|
15770
|
+
isDisplayTime: false,
|
|
15771
|
+
timePosition: '0'
|
|
15868
15772
|
};
|
|
15869
15773
|
},
|
|
15870
15774
|
mounted: function mounted() {
|
|
15871
15775
|
if (this.controlStatus === 'update') {
|
|
15872
15776
|
var node = this.getCurrentSelectNode();
|
|
15873
15777
|
if (node) {
|
|
15874
|
-
var _node$otherProperties;
|
|
15778
|
+
var _node$otherProperties, _node$otherProperties2, _node$otherProperties3, _node$otherProperties4, _node$otherProperties5;
|
|
15875
15779
|
this.name = node.name;
|
|
15876
15780
|
if (node.attribute == 2) {
|
|
15877
15781
|
this.signType = 2; // 自定义多人签名(带职称)
|
|
@@ -15896,7 +15800,9 @@ var SignNode = __webpack_require__(24701);
|
|
|
15896
15800
|
this.signTimeFormat = node.signTimeFormat;
|
|
15897
15801
|
this.customFormatContent = node.customFormatContent ? node.customFormatContent : '';
|
|
15898
15802
|
this.customSignFormatList = node.customSignFormatList ? node.customSignFormatList : [];
|
|
15899
|
-
this.isDisplayTitle = (_node$otherProperties = node.otherProperties)
|
|
15803
|
+
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;
|
|
15804
|
+
this.isDisplayTime = ((_node$otherProperties3 = node.otherProperties) === null || _node$otherProperties3 === void 0 ? void 0 : _node$otherProperties3.isDisplayTime) === 'true' | ((_node$otherProperties4 = node.otherProperties) === null || _node$otherProperties4 === void 0 ? void 0 : _node$otherProperties4.isDisplayTime) === true ? true : false;
|
|
15805
|
+
this.timePosition = ((_node$otherProperties5 = node.otherProperties) === null || _node$otherProperties5 === void 0 ? void 0 : _node$otherProperties5.timePosition) == '1' ? '1' : '0';
|
|
15900
15806
|
}
|
|
15901
15807
|
}
|
|
15902
15808
|
},
|
|
@@ -15959,25 +15865,30 @@ var SignNode = __webpack_require__(24701);
|
|
|
15959
15865
|
},
|
|
15960
15866
|
insertSign: function insertSign() {
|
|
15961
15867
|
var customProperty = this.getCustomProperty ? this.getCustomProperty() : {};
|
|
15868
|
+
var otherProperty = {
|
|
15869
|
+
isDisplayTime: this.isDisplayTime
|
|
15870
|
+
};
|
|
15871
|
+
if (this.isDisplayTime) {
|
|
15872
|
+
otherProperty.timePosition = this.timePosition;
|
|
15873
|
+
}
|
|
15962
15874
|
if (this.controlStatus === 'add') {
|
|
15963
15875
|
if (this.signType === 9) {
|
|
15964
15876
|
// 自定义多人签名
|
|
15965
|
-
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义医生签名', 1, this.signFormat, this.signTimeFormat, customProperty, this.connectMode, this.isFront, this.allowEditSignTime, 0);
|
|
15877
|
+
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义医生签名', 1, this.signFormat, this.signTimeFormat, customProperty, this.connectMode, this.isFront, this.allowEditSignTime, 0, '', {});
|
|
15966
15878
|
} else if (this.signType === 2) {
|
|
15967
15879
|
// 自定义多人签名
|
|
15968
|
-
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义多人签名(默认带出职称)', 0, '', '', customProperty, '', undefined, undefined, this.signType, this.connectChar);
|
|
15880
|
+
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义多人签名(默认带出职称)', 0, '', '', customProperty, '', undefined, undefined, this.signType, this.connectChar, {});
|
|
15969
15881
|
} else if (this.signType === 3) {
|
|
15970
15882
|
// 自定义多人签名
|
|
15971
|
-
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义多人签名(默认带出职称和日期)', 0, '', '', customProperty, '', undefined, undefined, this.signType, this.connectChar);
|
|
15883
|
+
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义多人签名(默认带出职称和日期)', 0, '', '', customProperty, '', undefined, undefined, this.signType, this.connectChar, {});
|
|
15972
15884
|
} else if (this.signType === 4) {
|
|
15973
15885
|
// 自定义多人签名
|
|
15974
|
-
|
|
15975
|
-
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义多人签名(职称,连接符可选)', 0, '', '', customProperty, this.connectMode, undefined, undefined, this.signType, this.connectChar, {
|
|
15886
|
+
this.vueController.insertEmptySignNode(this.name ? this.name : '自定义多人签名(职称,连接符可选)', 0, '', this.signTimeFormat, customProperty, this.connectMode, undefined, undefined, this.signType, this.connectChar, (0,objectSpread2/* default */.Z)({
|
|
15976
15887
|
isDisplayTitle: this.isDisplayTitle
|
|
15977
|
-
});
|
|
15888
|
+
}, otherProperty));
|
|
15978
15889
|
} else {
|
|
15979
15890
|
var name = this.name ? this.name : this.signType == 1 ? '患者签名' : '医生签名';
|
|
15980
|
-
this.vueController.insertEmptySignNode(name, 0, '', '', customProperty, '', undefined, undefined, this.signType);
|
|
15891
|
+
this.vueController.insertEmptySignNode(name, 0, '', '', customProperty, '', undefined, undefined, this.signType, '', {});
|
|
15981
15892
|
}
|
|
15982
15893
|
} else if (this.controlStatus === 'update') {
|
|
15983
15894
|
var node = this.getCurrentSelectNode();
|
|
@@ -15986,7 +15897,7 @@ var SignNode = __webpack_require__(24701);
|
|
|
15986
15897
|
var signType = this.signType == 9 ? 1 : 0; // 自定义签名的signType=1 其他签名 signType=0
|
|
15987
15898
|
var otherProperties = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, node.otherProperties), {}, {
|
|
15988
15899
|
isDisplayTitle: this.isDisplayTitle
|
|
15989
|
-
});
|
|
15900
|
+
}, otherProperty);
|
|
15990
15901
|
this.vueController.updateEmptySignNode(node, _name, attribute, this.connectChar, signType, this.signFormat, this.signor, '', this.signTimeFormat, this.connectMode, otherProperties);
|
|
15991
15902
|
}
|
|
15992
15903
|
this.handleClose();
|
|
@@ -15999,10 +15910,10 @@ var SignNode = __webpack_require__(24701);
|
|
|
15999
15910
|
});
|
|
16000
15911
|
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=script&lang=js&
|
|
16001
15912
|
/* 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=
|
|
15913
|
+
;// 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=27cb4a05&prod&lang=scss&
|
|
16003
15914
|
// extracted by mini-css-extract-plugin
|
|
16004
15915
|
|
|
16005
|
-
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=style&index=0&id=
|
|
15916
|
+
;// CONCATENATED MODULE: ./src/components/controls/sign/Sign.vue?vue&type=style&index=0&id=27cb4a05&prod&lang=scss&
|
|
16006
15917
|
|
|
16007
15918
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
16008
15919
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -16680,7 +16591,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
16680
16591
|
|
|
16681
16592
|
/***/ }),
|
|
16682
16593
|
|
|
16683
|
-
/***/
|
|
16594
|
+
/***/ 9614:
|
|
16684
16595
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
16685
16596
|
|
|
16686
16597
|
"use strict";
|
|
@@ -16696,7 +16607,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
16696
16607
|
var es_array_includes = __webpack_require__(26699);
|
|
16697
16608
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
16698
16609
|
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=
|
|
16610
|
+
;// 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
16611
|
|
|
16701
16612
|
|
|
16702
16613
|
var render = function render() {
|
|
@@ -16777,29 +16688,6 @@ var render = function render() {
|
|
|
16777
16688
|
staticStyle: {
|
|
16778
16689
|
"margin-left": "10px"
|
|
16779
16690
|
}
|
|
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
16691
|
}, [_vm._v("垂直对齐方式")]), _c('a-select', {
|
|
16804
16692
|
staticStyle: {
|
|
16805
16693
|
"text-align": "left"
|
|
@@ -16978,7 +16866,7 @@ var render = function render() {
|
|
|
16978
16866
|
}
|
|
16979
16867
|
})], 1)]), _c('PrintLineStyle', {
|
|
16980
16868
|
attrs: {
|
|
16981
|
-
"isDrawGridlines":
|
|
16869
|
+
"isDrawGridlines": false,
|
|
16982
16870
|
"defaultStyle": _vm.gridLinesStyle,
|
|
16983
16871
|
"placeholder": "边框样式"
|
|
16984
16872
|
},
|
|
@@ -17447,7 +17335,7 @@ var render = function render() {
|
|
|
17447
17335
|
};
|
|
17448
17336
|
var staticRenderFns = [];
|
|
17449
17337
|
|
|
17450
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=
|
|
17338
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=efc009a4&
|
|
17451
17339
|
|
|
17452
17340
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
|
|
17453
17341
|
var slicedToArray = __webpack_require__(27222);
|
|
@@ -17610,11 +17498,10 @@ var columns = [{
|
|
|
17610
17498
|
return this.hoEditorProvider.getCustomsValue().filter(function (v) {
|
|
17611
17499
|
if (v.name || v.value) return v;
|
|
17612
17500
|
});
|
|
17613
|
-
}
|
|
17614
|
-
|
|
17615
|
-
|
|
17616
|
-
|
|
17617
|
-
}
|
|
17501
|
+
} // dataSource() {
|
|
17502
|
+
// // 获取数据源属性
|
|
17503
|
+
// return this.hoEditorProvider.getDataSource();
|
|
17504
|
+
// },
|
|
17618
17505
|
},
|
|
17619
17506
|
created: function created() {
|
|
17620
17507
|
var activeDocId = this.hoEditorProvider.getActiveDocId();
|
|
@@ -17677,7 +17564,6 @@ var columns = [{
|
|
|
17677
17564
|
}
|
|
17678
17565
|
},
|
|
17679
17566
|
getCellNodes: function getCellNodes() {
|
|
17680
|
-
var _cellNode$cellPropert;
|
|
17681
17567
|
var nodes = this.vueController.findNodebyPath(this.endPath).node;
|
|
17682
17568
|
var cellNode = (0,getCellNode/* getCellNode */.p)(nodes);
|
|
17683
17569
|
var currentRows = cellNode === null || cellNode === void 0 ? void 0 : cellNode.table.rows.indexOf(cellNode === null || cellNode === void 0 ? void 0 : cellNode.row);
|
|
@@ -17694,12 +17580,11 @@ var columns = [{
|
|
|
17694
17580
|
description: ''
|
|
17695
17581
|
}]));
|
|
17696
17582
|
}
|
|
17697
|
-
if (cellNode
|
|
17698
|
-
|
|
17699
|
-
|
|
17700
|
-
|
|
17701
|
-
|
|
17702
|
-
}
|
|
17583
|
+
// if (cellNode?.cellProperty?.dataSource) {
|
|
17584
|
+
// this.hoEditorProvider.setDataSource(cellNode.cellProperty?.dataSource);
|
|
17585
|
+
// } else {
|
|
17586
|
+
// this.hoEditorProvider.setDataSource();
|
|
17587
|
+
// }
|
|
17703
17588
|
return cellNode;
|
|
17704
17589
|
},
|
|
17705
17590
|
querySearch: function querySearch(queryString, cb) {
|
|
@@ -17765,9 +17650,9 @@ var columns = [{
|
|
|
17765
17650
|
this.obliqueSplitLine = style;
|
|
17766
17651
|
},
|
|
17767
17652
|
// 打开数据源弹窗
|
|
17768
|
-
|
|
17769
|
-
|
|
17770
|
-
},
|
|
17653
|
+
// openDataSourceModal() {
|
|
17654
|
+
// this.hoEditorProvider.setIsDataSource(true);
|
|
17655
|
+
// },
|
|
17771
17656
|
// 打开自定义属性弹窗
|
|
17772
17657
|
openCustomsModal: function openCustomsModal() {
|
|
17773
17658
|
this.hoEditorProvider.setIsCustoms(true, true);
|
|
@@ -17780,7 +17665,7 @@ var columns = [{
|
|
|
17780
17665
|
lightCellBorders: this.lightCellBorders,
|
|
17781
17666
|
title: this.title,
|
|
17782
17667
|
customProperties: this.customProperties,
|
|
17783
|
-
dataSource: this.dataSource,
|
|
17668
|
+
// dataSource: this.dataSource,
|
|
17784
17669
|
align: this.align,
|
|
17785
17670
|
backColor: this.backColor,
|
|
17786
17671
|
cellInnerMargin: [this.cellTop, this.cellBottom, this.cellLeft, this.cellRight],
|
|
@@ -17832,10 +17717,10 @@ var columns = [{
|
|
|
17832
17717
|
});
|
|
17833
17718
|
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=script&lang=js&
|
|
17834
17719
|
/* 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=
|
|
17720
|
+
;// 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
17721
|
// extracted by mini-css-extract-plugin
|
|
17837
17722
|
|
|
17838
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=
|
|
17723
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=efc009a4&prod&lang=scss&
|
|
17839
17724
|
|
|
17840
17725
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
17841
17726
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -20417,7 +20302,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
20417
20302
|
|
|
20418
20303
|
/***/ }),
|
|
20419
20304
|
|
|
20420
|
-
/***/
|
|
20305
|
+
/***/ 56819:
|
|
20421
20306
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
20422
20307
|
|
|
20423
20308
|
"use strict";
|
|
@@ -20429,7 +20314,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
20429
20314
|
"default": function() { return /* binding */ TableRowProperty; }
|
|
20430
20315
|
});
|
|
20431
20316
|
|
|
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=
|
|
20317
|
+
;// 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
20318
|
var render = function render() {
|
|
20434
20319
|
var _vm = this,
|
|
20435
20320
|
_c = _vm._self._c;
|
|
@@ -20459,14 +20344,6 @@ var render = function render() {
|
|
|
20459
20344
|
}
|
|
20460
20345
|
}, [_vm._v("自定义属性")])], 1), _c('li', {
|
|
20461
20346
|
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
20347
|
}, [_c('div', {
|
|
20471
20348
|
staticStyle: {
|
|
20472
20349
|
"padding-right": "20px"
|
|
@@ -20669,17 +20546,18 @@ var TableNode = __webpack_require__(5010);
|
|
|
20669
20546
|
customProperties: [{
|
|
20670
20547
|
name: '',
|
|
20671
20548
|
value: ''
|
|
20672
|
-
}]
|
|
20673
|
-
dataSource: {
|
|
20674
|
-
|
|
20675
|
-
|
|
20676
|
-
|
|
20677
|
-
|
|
20678
|
-
|
|
20679
|
-
|
|
20680
|
-
|
|
20681
|
-
}
|
|
20549
|
+
}]
|
|
20550
|
+
// dataSource: {
|
|
20551
|
+
// dataSourceEnabled: true,
|
|
20552
|
+
// dataSource: '',
|
|
20553
|
+
// format: '',
|
|
20554
|
+
// visitPath: '',
|
|
20555
|
+
// isReadOnly: false,
|
|
20556
|
+
// autoUpdate: false,
|
|
20557
|
+
// executeStatus: 0,
|
|
20558
|
+
// },
|
|
20682
20559
|
},
|
|
20560
|
+
|
|
20683
20561
|
rowHeightMm: '0',
|
|
20684
20562
|
rowHeight: 0,
|
|
20685
20563
|
isSpecifyHeight: false,
|
|
@@ -20702,12 +20580,11 @@ var TableNode = __webpack_require__(5010);
|
|
|
20702
20580
|
return this.hoEditorProvider.getCustomsValue().filter(function (v) {
|
|
20703
20581
|
if (v.name || v.value) return v;
|
|
20704
20582
|
});
|
|
20705
|
-
}
|
|
20706
|
-
|
|
20707
|
-
|
|
20708
|
-
|
|
20709
|
-
|
|
20710
|
-
}
|
|
20583
|
+
} // dataSource() {
|
|
20584
|
+
// // 获取数据源属性
|
|
20585
|
+
// console.log(this.hoEditorProvider.getDataSource())
|
|
20586
|
+
// return this.hoEditorProvider.getDataSource();
|
|
20587
|
+
// },
|
|
20711
20588
|
},
|
|
20712
20589
|
created: function created() {
|
|
20713
20590
|
this.init();
|
|
@@ -20748,7 +20625,7 @@ var TableNode = __webpack_require__(5010);
|
|
|
20748
20625
|
if (currentRows || currentRows === 0) {
|
|
20749
20626
|
var rowInfoes = cellNode === null || cellNode === void 0 ? void 0 : cellNode.table.rowInfos[currentRows];
|
|
20750
20627
|
if (rowInfoes) {
|
|
20751
|
-
var _rowInfoes$rowPropert
|
|
20628
|
+
var _rowInfoes$rowPropert;
|
|
20752
20629
|
var customProperties = (_rowInfoes$rowPropert = rowInfoes.rowProperty) === null || _rowInfoes$rowPropert === void 0 ? void 0 : _rowInfoes$rowPropert.customProperties;
|
|
20753
20630
|
if (Array.isArray(customProperties) && customProperties.length > 0) {
|
|
20754
20631
|
this.hoEditorProvider.setCustomsValue([].concat((0,toConsumableArray/* default */.Z)(customProperties), [{
|
|
@@ -20762,14 +20639,15 @@ var TableNode = __webpack_require__(5010);
|
|
|
20762
20639
|
description: ''
|
|
20763
20640
|
}]));
|
|
20764
20641
|
}
|
|
20765
|
-
|
|
20766
|
-
|
|
20767
|
-
|
|
20768
|
-
} else {
|
|
20769
|
-
|
|
20770
|
-
}
|
|
20642
|
+
// console.log(rowInfoes.rowProperty?.dataSource)
|
|
20643
|
+
// if (rowInfoes.rowProperty?.dataSource) {
|
|
20644
|
+
// this.hoEditorProvider.setDataSource(rowInfoes.rowProperty?.dataSource);
|
|
20645
|
+
// } else {
|
|
20646
|
+
// this.hoEditorProvider.setDataSource();
|
|
20647
|
+
// }
|
|
20771
20648
|
}
|
|
20772
20649
|
}
|
|
20650
|
+
|
|
20773
20651
|
return cellNode;
|
|
20774
20652
|
},
|
|
20775
20653
|
watchParamsChange: function watchParamsChange() {
|
|
@@ -20779,9 +20657,9 @@ var TableNode = __webpack_require__(5010);
|
|
|
20779
20657
|
}
|
|
20780
20658
|
},
|
|
20781
20659
|
// 打开数据源弹窗
|
|
20782
|
-
|
|
20783
|
-
|
|
20784
|
-
},
|
|
20660
|
+
// openDataSourceModal() {
|
|
20661
|
+
// this.hoEditorProvider.setIsDataSource(true);
|
|
20662
|
+
// },
|
|
20785
20663
|
// 打开自定义属性弹窗
|
|
20786
20664
|
openCustomsModal: function openCustomsModal() {
|
|
20787
20665
|
this.hoEditorProvider.setIsCustoms(true, true);
|
|
@@ -20791,7 +20669,7 @@ var TableNode = __webpack_require__(5010);
|
|
|
20791
20669
|
var params = {
|
|
20792
20670
|
id: this.id,
|
|
20793
20671
|
customProperties: this.customProperties,
|
|
20794
|
-
dataSource: this.dataSource,
|
|
20672
|
+
// dataSource: this.dataSource,
|
|
20795
20673
|
isSpecifyHeight: this.isSpecifyHeight,
|
|
20796
20674
|
rowHeight: this.rowHeight,
|
|
20797
20675
|
isLockRowHeight: this.isLockRowHeight,
|
|
@@ -20828,10 +20706,10 @@ var TableNode = __webpack_require__(5010);
|
|
|
20828
20706
|
});
|
|
20829
20707
|
;// CONCATENATED MODULE: ./src/components/controls/table/TableRowProperty.vue?vue&type=script&lang=js&
|
|
20830
20708
|
/* 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=
|
|
20709
|
+
;// 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
20710
|
// extracted by mini-css-extract-plugin
|
|
20833
20711
|
|
|
20834
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableRowProperty.vue?vue&type=style&index=0&id=
|
|
20712
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableRowProperty.vue?vue&type=style&index=0&id=097f3318&prod&lang=scss&
|
|
20835
20713
|
|
|
20836
20714
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
20837
20715
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -20859,7 +20737,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
20859
20737
|
|
|
20860
20738
|
/***/ }),
|
|
20861
20739
|
|
|
20862
|
-
/***/
|
|
20740
|
+
/***/ 49373:
|
|
20863
20741
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
20864
20742
|
|
|
20865
20743
|
"use strict";
|
|
@@ -20873,7 +20751,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
20873
20751
|
|
|
20874
20752
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
20875
20753
|
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=
|
|
20754
|
+
;// 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=ad488cea&
|
|
20877
20755
|
|
|
20878
20756
|
var render = function render() {
|
|
20879
20757
|
var _vm = this,
|
|
@@ -21338,14 +21216,36 @@ var render = function render() {
|
|
|
21338
21216
|
}, [_c('ul', {
|
|
21339
21217
|
staticClass: "control-list"
|
|
21340
21218
|
}, [_c('li', {
|
|
21341
|
-
staticClass: "control-item"
|
|
21219
|
+
staticClass: "control-item",
|
|
21220
|
+
staticStyle: {
|
|
21221
|
+
"align-items": "flex-start"
|
|
21222
|
+
}
|
|
21342
21223
|
}, [_c('span', {
|
|
21343
21224
|
staticClass: "label"
|
|
21344
|
-
}, [_vm._v("
|
|
21225
|
+
}, [_vm._v("元素包含关键字")]), _c('VerifyTip', {
|
|
21226
|
+
attrs: {
|
|
21227
|
+
"type": "keyword",
|
|
21228
|
+
"list": _vm.textParam.includesKeyword
|
|
21229
|
+
},
|
|
21345
21230
|
on: {
|
|
21346
|
-
"
|
|
21231
|
+
"change": _vm.keywordValueChange
|
|
21347
21232
|
}
|
|
21348
|
-
}
|
|
21233
|
+
})], 1), _c('li', {
|
|
21234
|
+
staticClass: "control-item",
|
|
21235
|
+
staticStyle: {
|
|
21236
|
+
"align-items": "flex-start"
|
|
21237
|
+
}
|
|
21238
|
+
}, [_c('span', {
|
|
21239
|
+
staticClass: "label"
|
|
21240
|
+
}, [_vm._v("元素值域范围")]), _c('VerifyTip', {
|
|
21241
|
+
attrs: {
|
|
21242
|
+
"type": "area",
|
|
21243
|
+
"list": _vm.textParam.valueArea
|
|
21244
|
+
},
|
|
21245
|
+
on: {
|
|
21246
|
+
"change": _vm.areaValueChange
|
|
21247
|
+
}
|
|
21248
|
+
})], 1)])]), _vm._t("hoTextFieldModal")], 2)], 1), _c('footer', {
|
|
21349
21249
|
staticClass: "ho-modal-footer"
|
|
21350
21250
|
}, [_c('a-button', {
|
|
21351
21251
|
attrs: {
|
|
@@ -21365,8 +21265,10 @@ var render = function render() {
|
|
|
21365
21265
|
};
|
|
21366
21266
|
var staticRenderFns = [];
|
|
21367
21267
|
|
|
21368
|
-
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=
|
|
21268
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=ad488cea&
|
|
21369
21269
|
|
|
21270
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
21271
|
+
var toConsumableArray = __webpack_require__(61748);
|
|
21370
21272
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
21371
21273
|
var objectSpread2 = __webpack_require__(63442);
|
|
21372
21274
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
@@ -21407,6 +21309,8 @@ var TextNode = __webpack_require__(27198);
|
|
|
21407
21309
|
var MarkNode = __webpack_require__(57727);
|
|
21408
21310
|
// EXTERNAL MODULE: ./src/HOEditorFactorys.ts
|
|
21409
21311
|
var HOEditorFactorys = __webpack_require__(74089);
|
|
21312
|
+
// EXTERNAL MODULE: ./src/components/controls/textDialog/VerifyTip.vue + 5 modules
|
|
21313
|
+
var VerifyTip = __webpack_require__(63210);
|
|
21410
21314
|
;// 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/textDialog/TextDialog.vue?vue&type=script&lang=js&
|
|
21411
21315
|
|
|
21412
21316
|
|
|
@@ -21426,15 +21330,19 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21426
21330
|
|
|
21427
21331
|
|
|
21428
21332
|
|
|
21333
|
+
|
|
21334
|
+
|
|
21429
21335
|
|
|
21430
21336
|
|
|
21431
21337
|
|
|
21432
21338
|
/* harmony default export */ var TextDialogvue_type_script_lang_js_ = ({
|
|
21433
21339
|
name: 'TextDialog',
|
|
21434
|
-
components: {
|
|
21340
|
+
components: {
|
|
21341
|
+
VerifyTip: VerifyTip["default"]
|
|
21342
|
+
},
|
|
21435
21343
|
data: function data() {
|
|
21436
21344
|
return {
|
|
21437
|
-
textParam: Object.assign({}, controlParams/* textParams */.
|
|
21345
|
+
textParam: Object.assign({}, controlParams/* textParams */.E),
|
|
21438
21346
|
textActiveName: 'first',
|
|
21439
21347
|
isMinLenth: false,
|
|
21440
21348
|
isMaxLenth: false,
|
|
@@ -21443,7 +21351,9 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21443
21351
|
animationClassNames: 'control-modal-contents text-modal animation-in',
|
|
21444
21352
|
customPropertyValue: new Object(),
|
|
21445
21353
|
endPath: '',
|
|
21446
|
-
elementController: {}
|
|
21354
|
+
elementController: {},
|
|
21355
|
+
verifyKewordList: [],
|
|
21356
|
+
verifyAreaList: []
|
|
21447
21357
|
};
|
|
21448
21358
|
},
|
|
21449
21359
|
props: {
|
|
@@ -21458,10 +21368,19 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21458
21368
|
}
|
|
21459
21369
|
},
|
|
21460
21370
|
inject: ['hoEditorProvider', 'getCustomProperty'],
|
|
21371
|
+
watch: {
|
|
21372
|
+
// 'hoEditorProvider.isVerifyTip': {
|
|
21373
|
+
// deep: true,
|
|
21374
|
+
// handler() {
|
|
21375
|
+
// console.log(this.hoEditorProvider.verifyKewordList);
|
|
21376
|
+
// console.log(this.hoEditorProvider.verifyAreaList)
|
|
21377
|
+
// },
|
|
21378
|
+
// },
|
|
21379
|
+
},
|
|
21461
21380
|
computed: {
|
|
21462
|
-
|
|
21463
|
-
|
|
21464
|
-
},
|
|
21381
|
+
// dataSource() {
|
|
21382
|
+
// return this.hoEditorProvider.getVerifyTipList();
|
|
21383
|
+
// },
|
|
21465
21384
|
customsValue: function customsValue() {
|
|
21466
21385
|
return this.hoEditorProvider.getCustomsValue().filter(function (v) {
|
|
21467
21386
|
if (v.text || v.value) return v;
|
|
@@ -21498,6 +21417,12 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21498
21417
|
_this.customPropertyValue = (0,objectSpread2/* default */.Z)({}, property);
|
|
21499
21418
|
} else if (key === 'readType' || key === 'readTypeBool') {
|
|
21500
21419
|
_this.textParam.readTypeBool = updateNode.readType == 1 ? true : false;
|
|
21420
|
+
} else if (key === 'includesKeyword') {
|
|
21421
|
+
var str = updateNode.includesKeyword == 'undefined' || updateNode.includesKeyword == undefined ? '' : updateNode.includesKeyword;
|
|
21422
|
+
_this.textParam.includesKeyword = str ? JSON.parse(str) : [];
|
|
21423
|
+
} else if (key === 'valueArea') {
|
|
21424
|
+
var _str = updateNode.valueArea == 'undefined' || updateNode.valueArea == undefined ? '' : updateNode.valueArea;
|
|
21425
|
+
_this.textParam.valueArea = _str ? JSON.parse(_str) : [];
|
|
21501
21426
|
} else if (key === 'hideDuringPrint') {
|
|
21502
21427
|
_this.textParam.hideDuringPrint = updateNode.hideDuringPrint == 'undefined' || updateNode.hideDuringPrint == undefined ? false : updateNode.hideDuringPrint;
|
|
21503
21428
|
} else if (key === 'notReplaceElement') {
|
|
@@ -21546,6 +21471,10 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21546
21471
|
this.hoEditorProvider.setListAllowMultiSelected(this.textParam.downListProperty.allowMultiSelected);
|
|
21547
21472
|
this.hoEditorProvider.setIsListStyle(true);
|
|
21548
21473
|
},
|
|
21474
|
+
openVerifyTipModel: function openVerifyTipModel(key) {
|
|
21475
|
+
this.hoEditorProvider.setVerifyTipList('', key, '');
|
|
21476
|
+
this.hoEditorProvider.setIsVerifyTip(true);
|
|
21477
|
+
},
|
|
21549
21478
|
/**
|
|
21550
21479
|
* 最小长度变化
|
|
21551
21480
|
*/
|
|
@@ -21554,12 +21483,22 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21554
21483
|
* 最大长度变化
|
|
21555
21484
|
*/
|
|
21556
21485
|
maxLengthChange: function maxLengthChange(maxLength) {},
|
|
21557
|
-
|
|
21558
|
-
|
|
21559
|
-
},
|
|
21486
|
+
// openDataSourceModal() {
|
|
21487
|
+
// this.hoEditorProvider.setIsDataSource(true);
|
|
21488
|
+
// },
|
|
21560
21489
|
openCustomsModal: function openCustomsModal() {
|
|
21561
21490
|
this.hoEditorProvider.setIsCustoms(true);
|
|
21562
21491
|
},
|
|
21492
|
+
keywordValueChange: function keywordValueChange(value) {
|
|
21493
|
+
this.verifyKewordList = (0,toConsumableArray/* default */.Z)(value).filter(function (v) {
|
|
21494
|
+
return v.text && v.tip;
|
|
21495
|
+
});
|
|
21496
|
+
},
|
|
21497
|
+
areaValueChange: function areaValueChange(value) {
|
|
21498
|
+
this.verifyAreaList = (0,toConsumableArray/* default */.Z)(value).filter(function (v) {
|
|
21499
|
+
return v.tip && (v.min || v.max);
|
|
21500
|
+
});
|
|
21501
|
+
},
|
|
21563
21502
|
sure: function sure() {
|
|
21564
21503
|
var _this2 = this;
|
|
21565
21504
|
if (this.textParam.inputFieldType === 1) {
|
|
@@ -21580,7 +21519,7 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21580
21519
|
} else {
|
|
21581
21520
|
this.textParam.downListProperty = new TextInputFieldNode/* DownListProperty */.OL();
|
|
21582
21521
|
}
|
|
21583
|
-
this.textParam.bandDataSource = this.dataSource;
|
|
21522
|
+
// this.textParam.bandDataSource = this.dataSource;
|
|
21584
21523
|
if (this.textParam.inputFieldType === 0) {
|
|
21585
21524
|
this.textParam.name = this.textParam.name ? this.textParam.name : '请输入';
|
|
21586
21525
|
} else if (this.textParam.inputFieldType === 1) {
|
|
@@ -21590,6 +21529,8 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21590
21529
|
var customProperty = this.getCustomProperty();
|
|
21591
21530
|
this.textParam.customProperty = (0,objectSpread2/* default */.Z)({}, customProperty);
|
|
21592
21531
|
this.textParam.readType = this.textParam.readTypeBool ? 1 : 0;
|
|
21532
|
+
this.textParam.includesKeyword = this.verifyKewordList ? JSON.stringify(this.verifyKewordList) : '';
|
|
21533
|
+
this.textParam.valueArea = this.verifyAreaList ? JSON.stringify(this.verifyAreaList) : '';
|
|
21593
21534
|
if (this.controlStatus === 'add') {
|
|
21594
21535
|
this.vueController.insertTextInputField(this.controlStatus, this.textParam);
|
|
21595
21536
|
} else if (this.controlStatus === 'update') {
|
|
@@ -21618,10 +21559,10 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
21618
21559
|
});
|
|
21619
21560
|
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=js&
|
|
21620
21561
|
/* 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=
|
|
21562
|
+
;// 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=ad488cea&prod&lang=scss&
|
|
21622
21563
|
// extracted by mini-css-extract-plugin
|
|
21623
21564
|
|
|
21624
|
-
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=
|
|
21565
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=ad488cea&prod&lang=scss&
|
|
21625
21566
|
|
|
21626
21567
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
21627
21568
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -21932,6 +21873,535 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
21932
21873
|
|
|
21933
21874
|
/***/ }),
|
|
21934
21875
|
|
|
21876
|
+
/***/ 63210:
|
|
21877
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
21878
|
+
|
|
21879
|
+
"use strict";
|
|
21880
|
+
// ESM COMPAT FLAG
|
|
21881
|
+
__webpack_require__.r(__webpack_exports__);
|
|
21882
|
+
|
|
21883
|
+
// EXPORTS
|
|
21884
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
21885
|
+
"default": function() { return /* binding */ VerifyTip; }
|
|
21886
|
+
});
|
|
21887
|
+
|
|
21888
|
+
;// 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/VerifyTip.vue?vue&type=template&id=2397ade1&scoped=true&
|
|
21889
|
+
var render = function render() {
|
|
21890
|
+
var _vm = this,
|
|
21891
|
+
_c = _vm._self._c;
|
|
21892
|
+
return _c('li', {
|
|
21893
|
+
staticClass: "control-item"
|
|
21894
|
+
}, [_vm.verifyType == 'keyword' ? _c('a-table', {
|
|
21895
|
+
staticStyle: {
|
|
21896
|
+
"width": "100%",
|
|
21897
|
+
"height": "210px"
|
|
21898
|
+
},
|
|
21899
|
+
attrs: {
|
|
21900
|
+
"row-key": "id",
|
|
21901
|
+
"scroll": {
|
|
21902
|
+
y: 190
|
|
21903
|
+
},
|
|
21904
|
+
"columns": _vm.columns,
|
|
21905
|
+
"data-source": _vm.verifyKewordList,
|
|
21906
|
+
"bordered": true,
|
|
21907
|
+
"customRow": _vm.customRow,
|
|
21908
|
+
"pagination": false
|
|
21909
|
+
},
|
|
21910
|
+
scopedSlots: _vm._u([{
|
|
21911
|
+
key: "text",
|
|
21912
|
+
fn: function fn(text, record, index) {
|
|
21913
|
+
return [_c('a-input', {
|
|
21914
|
+
attrs: {
|
|
21915
|
+
"size": "small"
|
|
21916
|
+
},
|
|
21917
|
+
on: {
|
|
21918
|
+
"focus": function focus($event) {
|
|
21919
|
+
return _vm.focusIndex(index);
|
|
21920
|
+
},
|
|
21921
|
+
"input": function input($event) {
|
|
21922
|
+
return _vm.inputIndex(index);
|
|
21923
|
+
},
|
|
21924
|
+
"blur": function blur($event) {
|
|
21925
|
+
return _vm.blurIndex(index);
|
|
21926
|
+
}
|
|
21927
|
+
},
|
|
21928
|
+
model: {
|
|
21929
|
+
value: record.text,
|
|
21930
|
+
callback: function callback($$v) {
|
|
21931
|
+
_vm.$set(record, "text", $$v);
|
|
21932
|
+
},
|
|
21933
|
+
expression: "record.text"
|
|
21934
|
+
}
|
|
21935
|
+
})];
|
|
21936
|
+
}
|
|
21937
|
+
}, {
|
|
21938
|
+
key: "tip",
|
|
21939
|
+
fn: function fn(text, record, index) {
|
|
21940
|
+
return [_c('a-input', {
|
|
21941
|
+
attrs: {
|
|
21942
|
+
"size": "small"
|
|
21943
|
+
},
|
|
21944
|
+
on: {
|
|
21945
|
+
"focus": function focus($event) {
|
|
21946
|
+
return _vm.focusIndex(index);
|
|
21947
|
+
},
|
|
21948
|
+
"input": function input($event) {
|
|
21949
|
+
return _vm.inputIndex(index);
|
|
21950
|
+
},
|
|
21951
|
+
"blur": function blur($event) {
|
|
21952
|
+
return _vm.blurIndex(index);
|
|
21953
|
+
}
|
|
21954
|
+
},
|
|
21955
|
+
model: {
|
|
21956
|
+
value: record.tip,
|
|
21957
|
+
callback: function callback($$v) {
|
|
21958
|
+
_vm.$set(record, "tip", $$v);
|
|
21959
|
+
},
|
|
21960
|
+
expression: "record.tip"
|
|
21961
|
+
}
|
|
21962
|
+
})];
|
|
21963
|
+
}
|
|
21964
|
+
}, {
|
|
21965
|
+
key: "opt",
|
|
21966
|
+
fn: function fn(text, record, index) {
|
|
21967
|
+
return [index !== _vm.verifyKewordList.length - 1 ? _c('a-button', {
|
|
21968
|
+
attrs: {
|
|
21969
|
+
"size": "small"
|
|
21970
|
+
},
|
|
21971
|
+
on: {
|
|
21972
|
+
"click": function click($event) {
|
|
21973
|
+
$event.stopPropagation();
|
|
21974
|
+
return _vm.deleteCurrentRow(record.id);
|
|
21975
|
+
}
|
|
21976
|
+
}
|
|
21977
|
+
}, [_vm._v("删除")]) : _vm._e()];
|
|
21978
|
+
}
|
|
21979
|
+
}], null, false, 1690107429)
|
|
21980
|
+
}) : _c('a-table', {
|
|
21981
|
+
staticStyle: {
|
|
21982
|
+
"width": "100%",
|
|
21983
|
+
"height": "210px"
|
|
21984
|
+
},
|
|
21985
|
+
attrs: {
|
|
21986
|
+
"row-key": "id",
|
|
21987
|
+
"scroll": {
|
|
21988
|
+
y: 190
|
|
21989
|
+
},
|
|
21990
|
+
"columns": _vm.columns,
|
|
21991
|
+
"data-source": _vm.verifyAreaList,
|
|
21992
|
+
"bordered": true,
|
|
21993
|
+
"customRow": _vm.customRow,
|
|
21994
|
+
"pagination": false
|
|
21995
|
+
},
|
|
21996
|
+
scopedSlots: _vm._u([{
|
|
21997
|
+
key: "min",
|
|
21998
|
+
fn: function fn(text, record, index) {
|
|
21999
|
+
return [_c('a-input', {
|
|
22000
|
+
attrs: {
|
|
22001
|
+
"size": "small"
|
|
22002
|
+
},
|
|
22003
|
+
on: {
|
|
22004
|
+
"focus": function focus($event) {
|
|
22005
|
+
return _vm.focusIndex(index);
|
|
22006
|
+
},
|
|
22007
|
+
"input": function input($event) {
|
|
22008
|
+
return _vm.inputIndex(index);
|
|
22009
|
+
},
|
|
22010
|
+
"blur": function blur($event) {
|
|
22011
|
+
return _vm.blurIndex(index);
|
|
22012
|
+
}
|
|
22013
|
+
},
|
|
22014
|
+
model: {
|
|
22015
|
+
value: record.min,
|
|
22016
|
+
callback: function callback($$v) {
|
|
22017
|
+
_vm.$set(record, "min", $$v);
|
|
22018
|
+
},
|
|
22019
|
+
expression: "record.min"
|
|
22020
|
+
}
|
|
22021
|
+
})];
|
|
22022
|
+
}
|
|
22023
|
+
}, {
|
|
22024
|
+
key: "max",
|
|
22025
|
+
fn: function fn(text, record, index) {
|
|
22026
|
+
return [_c('a-input', {
|
|
22027
|
+
attrs: {
|
|
22028
|
+
"size": "small"
|
|
22029
|
+
},
|
|
22030
|
+
on: {
|
|
22031
|
+
"focus": function focus($event) {
|
|
22032
|
+
return _vm.focusIndex(index);
|
|
22033
|
+
},
|
|
22034
|
+
"input": function input($event) {
|
|
22035
|
+
return _vm.inputIndex(index);
|
|
22036
|
+
},
|
|
22037
|
+
"blur": function blur($event) {
|
|
22038
|
+
return _vm.blurIndex(index);
|
|
22039
|
+
}
|
|
22040
|
+
},
|
|
22041
|
+
model: {
|
|
22042
|
+
value: record.max,
|
|
22043
|
+
callback: function callback($$v) {
|
|
22044
|
+
_vm.$set(record, "max", $$v);
|
|
22045
|
+
},
|
|
22046
|
+
expression: "record.max"
|
|
22047
|
+
}
|
|
22048
|
+
})];
|
|
22049
|
+
}
|
|
22050
|
+
}, {
|
|
22051
|
+
key: "tip",
|
|
22052
|
+
fn: function fn(text, record, index) {
|
|
22053
|
+
return [_c('a-input', {
|
|
22054
|
+
attrs: {
|
|
22055
|
+
"size": "small"
|
|
22056
|
+
},
|
|
22057
|
+
on: {
|
|
22058
|
+
"focus": function focus($event) {
|
|
22059
|
+
return _vm.focusIndex(index);
|
|
22060
|
+
},
|
|
22061
|
+
"input": function input($event) {
|
|
22062
|
+
return _vm.inputIndex(index);
|
|
22063
|
+
},
|
|
22064
|
+
"blur": function blur($event) {
|
|
22065
|
+
return _vm.blurIndex(index);
|
|
22066
|
+
}
|
|
22067
|
+
},
|
|
22068
|
+
model: {
|
|
22069
|
+
value: record.tip,
|
|
22070
|
+
callback: function callback($$v) {
|
|
22071
|
+
_vm.$set(record, "tip", $$v);
|
|
22072
|
+
},
|
|
22073
|
+
expression: "record.tip"
|
|
22074
|
+
}
|
|
22075
|
+
})];
|
|
22076
|
+
}
|
|
22077
|
+
}, {
|
|
22078
|
+
key: "opt",
|
|
22079
|
+
fn: function fn(text, record, index) {
|
|
22080
|
+
return [index !== _vm.verifyKewordList.length - 1 ? _c('a-button', {
|
|
22081
|
+
attrs: {
|
|
22082
|
+
"size": "small"
|
|
22083
|
+
},
|
|
22084
|
+
on: {
|
|
22085
|
+
"click": function click($event) {
|
|
22086
|
+
$event.stopPropagation();
|
|
22087
|
+
return _vm.deleteCurrentRow(record.id);
|
|
22088
|
+
}
|
|
22089
|
+
}
|
|
22090
|
+
}, [_vm._v("删除")]) : _vm._e()];
|
|
22091
|
+
}
|
|
22092
|
+
}])
|
|
22093
|
+
})], 1);
|
|
22094
|
+
};
|
|
22095
|
+
var staticRenderFns = [];
|
|
22096
|
+
|
|
22097
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
22098
|
+
var toConsumableArray = __webpack_require__(61748);
|
|
22099
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
|
|
22100
|
+
var es_array_splice = __webpack_require__(40561);
|
|
22101
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
22102
|
+
var es_array_filter = __webpack_require__(57327);
|
|
22103
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
22104
|
+
var es_object_to_string = __webpack_require__(41539);
|
|
22105
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
22106
|
+
var es_regexp_exec = __webpack_require__(74916);
|
|
22107
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
22108
|
+
var es_string_replace = __webpack_require__(15306);
|
|
22109
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
22110
|
+
var es_array_push = __webpack_require__(57658);
|
|
22111
|
+
;// 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/textDialog/VerifyTip.vue?vue&type=script&lang=js&
|
|
22112
|
+
|
|
22113
|
+
|
|
22114
|
+
|
|
22115
|
+
|
|
22116
|
+
|
|
22117
|
+
|
|
22118
|
+
|
|
22119
|
+
var keywordColumns = [{
|
|
22120
|
+
dataIndex: 'text',
|
|
22121
|
+
key: 'text',
|
|
22122
|
+
title: '关键字',
|
|
22123
|
+
scopedSlots: {
|
|
22124
|
+
customRender: 'text'
|
|
22125
|
+
}
|
|
22126
|
+
}, {
|
|
22127
|
+
dataIndex: 'tip',
|
|
22128
|
+
key: 'tip',
|
|
22129
|
+
title: '提示语',
|
|
22130
|
+
scopedSlots: {
|
|
22131
|
+
customRender: 'tip'
|
|
22132
|
+
}
|
|
22133
|
+
}, {
|
|
22134
|
+
dataIndex: 'opt',
|
|
22135
|
+
key: 'opt',
|
|
22136
|
+
title: '操作',
|
|
22137
|
+
scopedSlots: {
|
|
22138
|
+
customRender: 'opt'
|
|
22139
|
+
},
|
|
22140
|
+
width: '60px'
|
|
22141
|
+
}];
|
|
22142
|
+
var areaColumns = [{
|
|
22143
|
+
dataIndex: 'min',
|
|
22144
|
+
key: 'min',
|
|
22145
|
+
title: '低值',
|
|
22146
|
+
width: '60px',
|
|
22147
|
+
scopedSlots: {
|
|
22148
|
+
customRender: 'min'
|
|
22149
|
+
}
|
|
22150
|
+
}, {
|
|
22151
|
+
dataIndex: 'max',
|
|
22152
|
+
key: 'max',
|
|
22153
|
+
title: '高值',
|
|
22154
|
+
width: '60px',
|
|
22155
|
+
scopedSlots: {
|
|
22156
|
+
customRender: 'max'
|
|
22157
|
+
}
|
|
22158
|
+
}, {
|
|
22159
|
+
dataIndex: 'tip',
|
|
22160
|
+
key: 'tip',
|
|
22161
|
+
title: '提示语',
|
|
22162
|
+
scopedSlots: {
|
|
22163
|
+
customRender: 'tip'
|
|
22164
|
+
}
|
|
22165
|
+
}, {
|
|
22166
|
+
dataIndex: 'opt',
|
|
22167
|
+
key: 'opt',
|
|
22168
|
+
title: '操作',
|
|
22169
|
+
scopedSlots: {
|
|
22170
|
+
customRender: 'opt'
|
|
22171
|
+
},
|
|
22172
|
+
width: '60px'
|
|
22173
|
+
}];
|
|
22174
|
+
/* harmony default export */ var VerifyTipvue_type_script_lang_js_ = ({
|
|
22175
|
+
name: 'VerifyTip',
|
|
22176
|
+
data: function data() {
|
|
22177
|
+
return {
|
|
22178
|
+
focusIndexs: -1,
|
|
22179
|
+
source: '',
|
|
22180
|
+
tableInfo: null,
|
|
22181
|
+
errorArr: [],
|
|
22182
|
+
errorIndex: [],
|
|
22183
|
+
verifyKewordList: [],
|
|
22184
|
+
verifyAreaList: [],
|
|
22185
|
+
isAllowMultiSelected: false,
|
|
22186
|
+
verifyTipListModal: null,
|
|
22187
|
+
columns: keywordColumns,
|
|
22188
|
+
verifyType: ''
|
|
22189
|
+
};
|
|
22190
|
+
},
|
|
22191
|
+
props: {
|
|
22192
|
+
type: {
|
|
22193
|
+
type: String
|
|
22194
|
+
},
|
|
22195
|
+
list: {
|
|
22196
|
+
type: Array,
|
|
22197
|
+
default: []
|
|
22198
|
+
}
|
|
22199
|
+
},
|
|
22200
|
+
watch: {
|
|
22201
|
+
list: function list() {
|
|
22202
|
+
this.init();
|
|
22203
|
+
},
|
|
22204
|
+
verifyKewordList: function verifyKewordList() {
|
|
22205
|
+
this.$emit("change", (0,toConsumableArray/* default */.Z)(this.verifyKewordList));
|
|
22206
|
+
},
|
|
22207
|
+
verifyAreaList: function verifyAreaList() {
|
|
22208
|
+
this.$emit("change", (0,toConsumableArray/* default */.Z)(this.verifyAreaList));
|
|
22209
|
+
}
|
|
22210
|
+
},
|
|
22211
|
+
inject: ['hoEditorProvider'],
|
|
22212
|
+
mounted: function mounted() {
|
|
22213
|
+
this.verifyTipListModal = this.$refs.verifyTipListModal;
|
|
22214
|
+
this.init();
|
|
22215
|
+
},
|
|
22216
|
+
methods: {
|
|
22217
|
+
customRow: function customRow(record, index) {
|
|
22218
|
+
var _this = this;
|
|
22219
|
+
return {
|
|
22220
|
+
style: {
|
|
22221
|
+
cursor: 'move'
|
|
22222
|
+
},
|
|
22223
|
+
draggable: 'true',
|
|
22224
|
+
on: {
|
|
22225
|
+
// 鼠标移入
|
|
22226
|
+
mouseenter: function mouseenter(event) {
|
|
22227
|
+
var ev = event || window.event;
|
|
22228
|
+
ev.target.draggable = true;
|
|
22229
|
+
},
|
|
22230
|
+
// 开始拖拽
|
|
22231
|
+
dragstart: function dragstart(event) {
|
|
22232
|
+
var ev = event || window.event;
|
|
22233
|
+
ev.stopPropagation();
|
|
22234
|
+
_this.sourceObj = record;
|
|
22235
|
+
_this.dragStartIndex = index;
|
|
22236
|
+
},
|
|
22237
|
+
// 拖动元素经过的元素
|
|
22238
|
+
dragover: function dragover(event) {
|
|
22239
|
+
var ev = event || window.event;
|
|
22240
|
+
ev.preventDefault();
|
|
22241
|
+
},
|
|
22242
|
+
// 鼠标松开
|
|
22243
|
+
drop: function drop(event) {
|
|
22244
|
+
var ev = event || window.event;
|
|
22245
|
+
ev.stopPropagation();
|
|
22246
|
+
_this.targetObj = record;
|
|
22247
|
+
_this.verifyKewordList.splice(index, 1, _this.sourceObj);
|
|
22248
|
+
_this.verifyKewordList.splice(_this.dragStartIndex, 1, _this.targetObj);
|
|
22249
|
+
}
|
|
22250
|
+
}
|
|
22251
|
+
};
|
|
22252
|
+
},
|
|
22253
|
+
init: function init() {
|
|
22254
|
+
if (this.type === 'keyword') {
|
|
22255
|
+
this.columns = keywordColumns;
|
|
22256
|
+
} else {
|
|
22257
|
+
this.columns = areaColumns;
|
|
22258
|
+
}
|
|
22259
|
+
this.verifyType = this.type;
|
|
22260
|
+
this.verifyKewordList = this.list ? (0,toConsumableArray/* default */.Z)(this.list) : [];
|
|
22261
|
+
this.verifyAreaList = this.list ? (0,toConsumableArray/* default */.Z)(this.list) : [];
|
|
22262
|
+
this.tableInfo = document.querySelector('.ant-table-body');
|
|
22263
|
+
this.addCustoms();
|
|
22264
|
+
},
|
|
22265
|
+
focusIndex: function focusIndex(index) {
|
|
22266
|
+
this.focusIndexs = index;
|
|
22267
|
+
},
|
|
22268
|
+
blurIndex: function blurIndex(index) {
|
|
22269
|
+
var emptyItem = [];
|
|
22270
|
+
if (this.verifyType == 'keyword') {
|
|
22271
|
+
emptyItem = this.verifyKewordList.filter(function (v) {
|
|
22272
|
+
if ((v === null || v === void 0 ? void 0 : v.tip.replace(/\s*/g, '')) === '' || (v === null || v === void 0 ? void 0 : v.text.replace(/\s*/g, '')) === '') {
|
|
22273
|
+
return v;
|
|
22274
|
+
}
|
|
22275
|
+
});
|
|
22276
|
+
} else {
|
|
22277
|
+
emptyItem = this.verifyAreaList.filter(function (v) {
|
|
22278
|
+
if ((v === null || v === void 0 ? void 0 : v.tip.replace(/\s*/g, '')) === '' || (v === null || v === void 0 ? void 0 : v.min.replace(/\s*/g, '')) === '' || (v === null || v === void 0 ? void 0 : v.max.replace(/\s*/g, '')) === '') {
|
|
22279
|
+
return v;
|
|
22280
|
+
}
|
|
22281
|
+
});
|
|
22282
|
+
}
|
|
22283
|
+
if (emptyItem.length === 0) {
|
|
22284
|
+
this.addCustoms();
|
|
22285
|
+
}
|
|
22286
|
+
},
|
|
22287
|
+
inputIndex: function inputIndex(index) {
|
|
22288
|
+
var emptyItem = [];
|
|
22289
|
+
if (this.verifyType == 'keyword') {
|
|
22290
|
+
emptyItem = (0,toConsumableArray/* default */.Z)(this.verifyKewordList.filter(function (v) {
|
|
22291
|
+
if (!v.text && !v.tip) {
|
|
22292
|
+
return v;
|
|
22293
|
+
}
|
|
22294
|
+
}));
|
|
22295
|
+
} else {
|
|
22296
|
+
emptyItem = (0,toConsumableArray/* default */.Z)(this.verifyAreaList.filter(function (v) {
|
|
22297
|
+
if (!v.text && !v.tip) {
|
|
22298
|
+
return v;
|
|
22299
|
+
}
|
|
22300
|
+
}));
|
|
22301
|
+
}
|
|
22302
|
+
if (emptyItem.length === 0) {
|
|
22303
|
+
this.addCustoms();
|
|
22304
|
+
}
|
|
22305
|
+
},
|
|
22306
|
+
addCustoms: function addCustoms() {
|
|
22307
|
+
var _this2 = this;
|
|
22308
|
+
if (this.verifyType == 'keyword') {
|
|
22309
|
+
this.verifyKewordList.push({
|
|
22310
|
+
text: '',
|
|
22311
|
+
tip: '',
|
|
22312
|
+
id: this.getKeyId()
|
|
22313
|
+
});
|
|
22314
|
+
} else if (this.verifyType == 'area') {
|
|
22315
|
+
this.verifyAreaList.push({
|
|
22316
|
+
min: '',
|
|
22317
|
+
max: '',
|
|
22318
|
+
tip: '',
|
|
22319
|
+
id: this.getKeyId()
|
|
22320
|
+
});
|
|
22321
|
+
}
|
|
22322
|
+
setTimeout(function () {
|
|
22323
|
+
if (_this2.tableInfo) {
|
|
22324
|
+
_this2.tableInfo.scrollTo(0, 10000);
|
|
22325
|
+
}
|
|
22326
|
+
}, 0);
|
|
22327
|
+
},
|
|
22328
|
+
deleteCurrentRow: function deleteCurrentRow(id) {
|
|
22329
|
+
var key = -1;
|
|
22330
|
+
if (this.verifyType == 'keyword') {
|
|
22331
|
+
this.verifyKewordList.filter(function (v, index) {
|
|
22332
|
+
if (v.id === id) key = index;
|
|
22333
|
+
});
|
|
22334
|
+
this.verifyKewordList.splice(key, 1);
|
|
22335
|
+
} else if (this.verifyType == 'area') {
|
|
22336
|
+
this.verifyAreaList.filter(function (v, index) {
|
|
22337
|
+
if (v.id === id) key = index;
|
|
22338
|
+
});
|
|
22339
|
+
this.verifyAreaList.splice(key, 1);
|
|
22340
|
+
}
|
|
22341
|
+
},
|
|
22342
|
+
sure: function sure() {
|
|
22343
|
+
if (this.errorArr.length !== 0) {
|
|
22344
|
+
return false;
|
|
22345
|
+
}
|
|
22346
|
+
var list = this.verifyKewordList.filter(function (v) {
|
|
22347
|
+
if (v.text || v.tip) {
|
|
22348
|
+
return v;
|
|
22349
|
+
}
|
|
22350
|
+
});
|
|
22351
|
+
this.hoEditorProvider.setVerifyTipList(list, this.source);
|
|
22352
|
+
this.closeTimeout();
|
|
22353
|
+
},
|
|
22354
|
+
getKeyId: function getKeyId(index) {
|
|
22355
|
+
return index ? 'DL' + new Date().getTime() + index : 'DL' + new Date().getTime();
|
|
22356
|
+
},
|
|
22357
|
+
handleClose: function handleClose() {
|
|
22358
|
+
this.closeTimeout();
|
|
22359
|
+
},
|
|
22360
|
+
closeTimeout: function closeTimeout() {
|
|
22361
|
+
var _this3 = this;
|
|
22362
|
+
setTimeout(function () {
|
|
22363
|
+
_this3.hoEditorProvider.setIsVerifyTip(false);
|
|
22364
|
+
_this3.verifyKewordList = [];
|
|
22365
|
+
}, 0);
|
|
22366
|
+
},
|
|
22367
|
+
toolModalDown: function toolModalDown(e) {
|
|
22368
|
+
toolModalMove(e, this.verifyTipListModal, 'modal-title');
|
|
22369
|
+
}
|
|
22370
|
+
}
|
|
22371
|
+
});
|
|
22372
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/VerifyTip.vue?vue&type=script&lang=js&
|
|
22373
|
+
/* harmony default export */ var textDialog_VerifyTipvue_type_script_lang_js_ = (VerifyTipvue_type_script_lang_js_);
|
|
22374
|
+
;// 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/VerifyTip.vue?vue&type=style&index=0&id=2397ade1&prod&lang=scss&scoped=true&
|
|
22375
|
+
// extracted by mini-css-extract-plugin
|
|
22376
|
+
|
|
22377
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/VerifyTip.vue?vue&type=style&index=0&id=2397ade1&prod&lang=scss&scoped=true&
|
|
22378
|
+
|
|
22379
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
22380
|
+
var componentNormalizer = __webpack_require__(70713);
|
|
22381
|
+
;// CONCATENATED MODULE: ./src/components/controls/textDialog/VerifyTip.vue
|
|
22382
|
+
|
|
22383
|
+
|
|
22384
|
+
|
|
22385
|
+
;
|
|
22386
|
+
|
|
22387
|
+
|
|
22388
|
+
/* normalize component */
|
|
22389
|
+
|
|
22390
|
+
var component = (0,componentNormalizer/* default */.Z)(
|
|
22391
|
+
textDialog_VerifyTipvue_type_script_lang_js_,
|
|
22392
|
+
render,
|
|
22393
|
+
staticRenderFns,
|
|
22394
|
+
false,
|
|
22395
|
+
null,
|
|
22396
|
+
"2397ade1",
|
|
22397
|
+
null
|
|
22398
|
+
|
|
22399
|
+
)
|
|
22400
|
+
|
|
22401
|
+
/* harmony default export */ var VerifyTip = (component.exports);
|
|
22402
|
+
|
|
22403
|
+
/***/ }),
|
|
22404
|
+
|
|
21935
22405
|
/***/ 94116:
|
|
21936
22406
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
21937
22407
|
|
|
@@ -24186,6 +24656,401 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
24186
24656
|
|
|
24187
24657
|
/***/ }),
|
|
24188
24658
|
|
|
24659
|
+
/***/ 51747:
|
|
24660
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
24661
|
+
|
|
24662
|
+
"use strict";
|
|
24663
|
+
// ESM COMPAT FLAG
|
|
24664
|
+
__webpack_require__.r(__webpack_exports__);
|
|
24665
|
+
|
|
24666
|
+
// EXPORTS
|
|
24667
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
24668
|
+
"default": function() { return /* binding */ VerifyTip; }
|
|
24669
|
+
});
|
|
24670
|
+
|
|
24671
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
24672
|
+
var es_array_includes = __webpack_require__(26699);
|
|
24673
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
24674
|
+
var es_string_includes = __webpack_require__(32023);
|
|
24675
|
+
;// 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=a4ba9f4a&scoped=true&
|
|
24676
|
+
|
|
24677
|
+
|
|
24678
|
+
var render = function render() {
|
|
24679
|
+
var _vm = this,
|
|
24680
|
+
_c = _vm._self._c;
|
|
24681
|
+
return _c('li', {
|
|
24682
|
+
staticClass: "control-item"
|
|
24683
|
+
}, [_c('span', {
|
|
24684
|
+
staticClass: "label",
|
|
24685
|
+
staticStyle: {
|
|
24686
|
+
"width": "42px"
|
|
24687
|
+
}
|
|
24688
|
+
}, [_vm._v("列表")]), _c('a-table', {
|
|
24689
|
+
staticStyle: {
|
|
24690
|
+
"width": "100%",
|
|
24691
|
+
"height": "210px"
|
|
24692
|
+
},
|
|
24693
|
+
attrs: {
|
|
24694
|
+
"row-key": "id",
|
|
24695
|
+
"scroll": {
|
|
24696
|
+
y: 190
|
|
24697
|
+
},
|
|
24698
|
+
"columns": _vm.columns,
|
|
24699
|
+
"data-source": _vm.verifyKewordList,
|
|
24700
|
+
"bordered": true,
|
|
24701
|
+
"customRow": _vm.customRow,
|
|
24702
|
+
"pagination": false
|
|
24703
|
+
},
|
|
24704
|
+
scopedSlots: _vm._u([{
|
|
24705
|
+
key: "text",
|
|
24706
|
+
fn: function fn(text, record, index) {
|
|
24707
|
+
return [_c('a-input', {
|
|
24708
|
+
class: _vm.errorIndex.includes(record.id) ? 'error' : '',
|
|
24709
|
+
attrs: {
|
|
24710
|
+
"size": "small"
|
|
24711
|
+
},
|
|
24712
|
+
on: {
|
|
24713
|
+
"focus": function focus($event) {
|
|
24714
|
+
return _vm.focusIndex(index);
|
|
24715
|
+
},
|
|
24716
|
+
"input": function input($event) {
|
|
24717
|
+
return _vm.inputIndex(index);
|
|
24718
|
+
},
|
|
24719
|
+
"blur": function blur($event) {
|
|
24720
|
+
return _vm.blurIndex(index);
|
|
24721
|
+
}
|
|
24722
|
+
},
|
|
24723
|
+
model: {
|
|
24724
|
+
value: record.text,
|
|
24725
|
+
callback: function callback($$v) {
|
|
24726
|
+
_vm.$set(record, "text", $$v);
|
|
24727
|
+
},
|
|
24728
|
+
expression: "record.text"
|
|
24729
|
+
}
|
|
24730
|
+
})];
|
|
24731
|
+
}
|
|
24732
|
+
}, {
|
|
24733
|
+
key: "tip",
|
|
24734
|
+
fn: function fn(text, record, index) {
|
|
24735
|
+
return [_c('a-input', {
|
|
24736
|
+
attrs: {
|
|
24737
|
+
"size": "small"
|
|
24738
|
+
},
|
|
24739
|
+
on: {
|
|
24740
|
+
"focus": function focus($event) {
|
|
24741
|
+
return _vm.focusIndex(index);
|
|
24742
|
+
},
|
|
24743
|
+
"input": function input($event) {
|
|
24744
|
+
return _vm.inputIndex(index);
|
|
24745
|
+
},
|
|
24746
|
+
"blur": function blur($event) {
|
|
24747
|
+
return _vm.blurIndex(index);
|
|
24748
|
+
}
|
|
24749
|
+
},
|
|
24750
|
+
model: {
|
|
24751
|
+
value: record.value,
|
|
24752
|
+
callback: function callback($$v) {
|
|
24753
|
+
_vm.$set(record, "value", $$v);
|
|
24754
|
+
},
|
|
24755
|
+
expression: "record.value"
|
|
24756
|
+
}
|
|
24757
|
+
})];
|
|
24758
|
+
}
|
|
24759
|
+
}, {
|
|
24760
|
+
key: "opt",
|
|
24761
|
+
fn: function fn(text, record, index) {
|
|
24762
|
+
return [index !== _vm.verifyKewordList.length - 1 ? _c('a-button', {
|
|
24763
|
+
attrs: {
|
|
24764
|
+
"size": "small"
|
|
24765
|
+
},
|
|
24766
|
+
on: {
|
|
24767
|
+
"click": function click($event) {
|
|
24768
|
+
$event.stopPropagation();
|
|
24769
|
+
return _vm.deleteCurrentRow(record.id);
|
|
24770
|
+
}
|
|
24771
|
+
}
|
|
24772
|
+
}, [_vm._v("删除")]) : _vm._e()];
|
|
24773
|
+
}
|
|
24774
|
+
}])
|
|
24775
|
+
})], 1);
|
|
24776
|
+
};
|
|
24777
|
+
var staticRenderFns = [];
|
|
24778
|
+
|
|
24779
|
+
;// CONCATENATED MODULE: ./src/components/controls/verifyTip/VerifyTip.vue?vue&type=template&id=a4ba9f4a&scoped=true&
|
|
24780
|
+
|
|
24781
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
24782
|
+
var toConsumableArray = __webpack_require__(61748);
|
|
24783
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
|
|
24784
|
+
var es_array_splice = __webpack_require__(40561);
|
|
24785
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
24786
|
+
var es_array_filter = __webpack_require__(57327);
|
|
24787
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
24788
|
+
var es_object_to_string = __webpack_require__(41539);
|
|
24789
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
24790
|
+
var es_array_push = __webpack_require__(57658);
|
|
24791
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
24792
|
+
var es_regexp_exec = __webpack_require__(74916);
|
|
24793
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
24794
|
+
var es_string_replace = __webpack_require__(15306);
|
|
24795
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
|
|
24796
|
+
var web_dom_collections_for_each = __webpack_require__(54747);
|
|
24797
|
+
;// 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&
|
|
24798
|
+
|
|
24799
|
+
|
|
24800
|
+
|
|
24801
|
+
|
|
24802
|
+
|
|
24803
|
+
|
|
24804
|
+
|
|
24805
|
+
|
|
24806
|
+
|
|
24807
|
+
|
|
24808
|
+
var keywordColumns = [{
|
|
24809
|
+
dataIndex: 'text',
|
|
24810
|
+
key: 'text',
|
|
24811
|
+
title: '关键字',
|
|
24812
|
+
scopedSlots: {
|
|
24813
|
+
customRender: 'text'
|
|
24814
|
+
}
|
|
24815
|
+
}, {
|
|
24816
|
+
dataIndex: 'tip',
|
|
24817
|
+
key: 'tip',
|
|
24818
|
+
title: '提示语',
|
|
24819
|
+
scopedSlots: {
|
|
24820
|
+
customRender: 'tip'
|
|
24821
|
+
}
|
|
24822
|
+
}, {
|
|
24823
|
+
dataIndex: 'opt',
|
|
24824
|
+
key: 'opt',
|
|
24825
|
+
title: '操作',
|
|
24826
|
+
scopedSlots: {
|
|
24827
|
+
customRender: 'opt'
|
|
24828
|
+
},
|
|
24829
|
+
width: '60px'
|
|
24830
|
+
}];
|
|
24831
|
+
/* harmony default export */ var VerifyTipvue_type_script_lang_js_ = ({
|
|
24832
|
+
name: 'VerifyTip',
|
|
24833
|
+
data: function data() {
|
|
24834
|
+
return {
|
|
24835
|
+
focusIndexs: -1,
|
|
24836
|
+
source: '',
|
|
24837
|
+
tableInfo: null,
|
|
24838
|
+
errorArr: [],
|
|
24839
|
+
errorIndex: [],
|
|
24840
|
+
verifyKewordList: [],
|
|
24841
|
+
verifyAreaList: [],
|
|
24842
|
+
isAllowMultiSelected: false,
|
|
24843
|
+
verifyTipListModal: null,
|
|
24844
|
+
columns: keywordColumns,
|
|
24845
|
+
verifyType: ''
|
|
24846
|
+
};
|
|
24847
|
+
},
|
|
24848
|
+
props: {},
|
|
24849
|
+
inject: ['hoEditorProvider'],
|
|
24850
|
+
mounted: function mounted() {
|
|
24851
|
+
this.verifyTipListModal = this.$refs.verifyTipListModal;
|
|
24852
|
+
this.init();
|
|
24853
|
+
},
|
|
24854
|
+
methods: {
|
|
24855
|
+
customRow: function customRow(record, index) {
|
|
24856
|
+
var _this = this;
|
|
24857
|
+
return {
|
|
24858
|
+
style: {
|
|
24859
|
+
cursor: 'move'
|
|
24860
|
+
},
|
|
24861
|
+
draggable: 'true',
|
|
24862
|
+
on: {
|
|
24863
|
+
// 鼠标移入
|
|
24864
|
+
mouseenter: function mouseenter(event) {
|
|
24865
|
+
var ev = event || window.event;
|
|
24866
|
+
ev.target.draggable = true;
|
|
24867
|
+
},
|
|
24868
|
+
// 开始拖拽
|
|
24869
|
+
dragstart: function dragstart(event) {
|
|
24870
|
+
var ev = event || window.event;
|
|
24871
|
+
ev.stopPropagation();
|
|
24872
|
+
_this.sourceObj = record;
|
|
24873
|
+
_this.dragStartIndex = index;
|
|
24874
|
+
},
|
|
24875
|
+
// 拖动元素经过的元素
|
|
24876
|
+
dragover: function dragover(event) {
|
|
24877
|
+
var ev = event || window.event;
|
|
24878
|
+
ev.preventDefault();
|
|
24879
|
+
},
|
|
24880
|
+
// 鼠标松开
|
|
24881
|
+
drop: function drop(event) {
|
|
24882
|
+
var ev = event || window.event;
|
|
24883
|
+
ev.stopPropagation();
|
|
24884
|
+
_this.targetObj = record;
|
|
24885
|
+
_this.verifyKewordList.splice(index, 1, _this.sourceObj);
|
|
24886
|
+
_this.verifyKewordList.splice(_this.dragStartIndex, 1, _this.targetObj);
|
|
24887
|
+
}
|
|
24888
|
+
}
|
|
24889
|
+
};
|
|
24890
|
+
},
|
|
24891
|
+
init: function init() {
|
|
24892
|
+
var verifyObj = this.hoEditorProvider.getVerifyTipList();
|
|
24893
|
+
if (verifyObj.list && verifyObj.list.length > 0) {
|
|
24894
|
+
this.verifyKewordList = (0,toConsumableArray/* default */.Z)(verifyObj.list);
|
|
24895
|
+
}
|
|
24896
|
+
if (verifyObj.areaList && verifyObj.areaList.length > 0) {
|
|
24897
|
+
this.verifyAreaList = (0,toConsumableArray/* default */.Z)(verifyObj.areaList);
|
|
24898
|
+
}
|
|
24899
|
+
this.verifyType = verifyObj.type;
|
|
24900
|
+
this.tableInfo = document.querySelector('.ant-table-body');
|
|
24901
|
+
this.addCustoms();
|
|
24902
|
+
},
|
|
24903
|
+
focusIndex: function focusIndex(index) {
|
|
24904
|
+
this.focusIndexs = index;
|
|
24905
|
+
},
|
|
24906
|
+
blurIndex: function blurIndex(index) {
|
|
24907
|
+
var item = this.verifyKewordList[index];
|
|
24908
|
+
// if (item?.value.replace(/\s*/g, '') === '' && item?.text.replace(/\s*/g, '') === '' && index !== this.verifyKewordList.length - 1) {
|
|
24909
|
+
// this.deleteCurrentRow(item.id);
|
|
24910
|
+
// }
|
|
24911
|
+
this.errorArr = this.verifyKewordList.filter(function (v) {
|
|
24912
|
+
if (v.text === (item === null || item === void 0 ? void 0 : item.text) && v.id !== (item === null || item === void 0 ? void 0 : item.id)) {
|
|
24913
|
+
return v;
|
|
24914
|
+
}
|
|
24915
|
+
});
|
|
24916
|
+
if (this.errorArr.length > 0) {
|
|
24917
|
+
if (!this.errorIndex.includes(item.id)) this.errorIndex.push(item.id);
|
|
24918
|
+
} else {
|
|
24919
|
+
this.errorIndex = [];
|
|
24920
|
+
var emptyItem = this.verifyKewordList.filter(function (v) {
|
|
24921
|
+
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, '')) === '') {
|
|
24922
|
+
return v;
|
|
24923
|
+
}
|
|
24924
|
+
});
|
|
24925
|
+
if (emptyItem.length === 0) {
|
|
24926
|
+
this.addCustoms();
|
|
24927
|
+
}
|
|
24928
|
+
}
|
|
24929
|
+
},
|
|
24930
|
+
inputIndex: function inputIndex(index) {
|
|
24931
|
+
var _this2 = this;
|
|
24932
|
+
var item = this.verifyKewordList[index];
|
|
24933
|
+
this.errorArr = (0,toConsumableArray/* default */.Z)(this.verifyKewordList.filter(function (v) {
|
|
24934
|
+
if (v.text === (item === null || item === void 0 ? void 0 : item.text) && v.id !== (item === null || item === void 0 ? void 0 : item.id)) {
|
|
24935
|
+
return v;
|
|
24936
|
+
}
|
|
24937
|
+
}));
|
|
24938
|
+
var emptyItem = (0,toConsumableArray/* default */.Z)(this.verifyKewordList.filter(function (v) {
|
|
24939
|
+
if (!v.text && !v.value) {
|
|
24940
|
+
return v;
|
|
24941
|
+
}
|
|
24942
|
+
}));
|
|
24943
|
+
if (this.errorArr.length > 0) {
|
|
24944
|
+
if (!this.errorIndex.includes(item.id)) this.errorIndex.push(item.id);
|
|
24945
|
+
emptyItem.forEach(function (v) {
|
|
24946
|
+
_this2.deleteCurrentRow(v.id);
|
|
24947
|
+
});
|
|
24948
|
+
} else {
|
|
24949
|
+
this.errorIndex = [];
|
|
24950
|
+
if (emptyItem.length === 0) {
|
|
24951
|
+
this.addCustoms();
|
|
24952
|
+
}
|
|
24953
|
+
}
|
|
24954
|
+
},
|
|
24955
|
+
addCustoms: function addCustoms() {
|
|
24956
|
+
var _this3 = this;
|
|
24957
|
+
if (this.verifyType == 'keyword') {
|
|
24958
|
+
this.verifyKewordList.push({
|
|
24959
|
+
text: '',
|
|
24960
|
+
value: '',
|
|
24961
|
+
id: this.getKeyId()
|
|
24962
|
+
});
|
|
24963
|
+
} else if (this.verifyType == 'area') {
|
|
24964
|
+
this.verifyAreaList.push({
|
|
24965
|
+
min: '',
|
|
24966
|
+
max: '',
|
|
24967
|
+
tip: '',
|
|
24968
|
+
id: this.getKeyId()
|
|
24969
|
+
});
|
|
24970
|
+
}
|
|
24971
|
+
setTimeout(function () {
|
|
24972
|
+
if (_this3.tableInfo) {
|
|
24973
|
+
_this3.tableInfo.scrollTo(0, 10000);
|
|
24974
|
+
}
|
|
24975
|
+
}, 0);
|
|
24976
|
+
},
|
|
24977
|
+
deleteCurrentRow: function deleteCurrentRow(id) {
|
|
24978
|
+
var key = -1;
|
|
24979
|
+
if (this.verifyType == 'keyword') {
|
|
24980
|
+
this.verifyKewordList.filter(function (v, index) {
|
|
24981
|
+
if (v.id === id) key = index;
|
|
24982
|
+
});
|
|
24983
|
+
this.verifyKewordList.splice(key, 1);
|
|
24984
|
+
} else if (this.verifyType == 'area') {
|
|
24985
|
+
this.verifyAreaList.filter(function (v, index) {
|
|
24986
|
+
if (v.id === id) key = index;
|
|
24987
|
+
});
|
|
24988
|
+
this.verifyAreaList.splice(key, 1);
|
|
24989
|
+
}
|
|
24990
|
+
},
|
|
24991
|
+
sure: function sure() {
|
|
24992
|
+
if (this.errorArr.length !== 0) {
|
|
24993
|
+
return false;
|
|
24994
|
+
}
|
|
24995
|
+
var list = this.verifyKewordList.filter(function (v) {
|
|
24996
|
+
if (v.text || v.value) {
|
|
24997
|
+
return v;
|
|
24998
|
+
}
|
|
24999
|
+
});
|
|
25000
|
+
this.hoEditorProvider.setVerifyTipList(list, this.source);
|
|
25001
|
+
this.closeTimeout();
|
|
25002
|
+
},
|
|
25003
|
+
getKeyId: function getKeyId(index) {
|
|
25004
|
+
return index ? 'DL' + new Date().getTime() + index : 'DL' + new Date().getTime();
|
|
25005
|
+
},
|
|
25006
|
+
handleClose: function handleClose() {
|
|
25007
|
+
this.closeTimeout();
|
|
25008
|
+
},
|
|
25009
|
+
closeTimeout: function closeTimeout() {
|
|
25010
|
+
var _this4 = this;
|
|
25011
|
+
setTimeout(function () {
|
|
25012
|
+
_this4.hoEditorProvider.setIsVerifyTip(false);
|
|
25013
|
+
_this4.verifyKewordList = [];
|
|
25014
|
+
}, 0);
|
|
25015
|
+
},
|
|
25016
|
+
toolModalDown: function toolModalDown(e) {
|
|
25017
|
+
toolModalMove(e, this.verifyTipListModal, 'modal-title');
|
|
25018
|
+
}
|
|
25019
|
+
}
|
|
25020
|
+
});
|
|
25021
|
+
;// CONCATENATED MODULE: ./src/components/controls/verifyTip/VerifyTip.vue?vue&type=script&lang=js&
|
|
25022
|
+
/* harmony default export */ var verifyTip_VerifyTipvue_type_script_lang_js_ = (VerifyTipvue_type_script_lang_js_);
|
|
25023
|
+
;// 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=a4ba9f4a&prod&lang=scss&scoped=true&
|
|
25024
|
+
// extracted by mini-css-extract-plugin
|
|
25025
|
+
|
|
25026
|
+
;// CONCATENATED MODULE: ./src/components/controls/verifyTip/VerifyTip.vue?vue&type=style&index=0&id=a4ba9f4a&prod&lang=scss&scoped=true&
|
|
25027
|
+
|
|
25028
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
25029
|
+
var componentNormalizer = __webpack_require__(70713);
|
|
25030
|
+
;// CONCATENATED MODULE: ./src/components/controls/verifyTip/VerifyTip.vue
|
|
25031
|
+
|
|
25032
|
+
|
|
25033
|
+
|
|
25034
|
+
;
|
|
25035
|
+
|
|
25036
|
+
|
|
25037
|
+
/* normalize component */
|
|
25038
|
+
|
|
25039
|
+
var component = (0,componentNormalizer/* default */.Z)(
|
|
25040
|
+
verifyTip_VerifyTipvue_type_script_lang_js_,
|
|
25041
|
+
render,
|
|
25042
|
+
staticRenderFns,
|
|
25043
|
+
false,
|
|
25044
|
+
null,
|
|
25045
|
+
"a4ba9f4a",
|
|
25046
|
+
null
|
|
25047
|
+
|
|
25048
|
+
)
|
|
25049
|
+
|
|
25050
|
+
/* harmony default export */ var VerifyTip = (component.exports);
|
|
25051
|
+
|
|
25052
|
+
/***/ }),
|
|
25053
|
+
|
|
24189
25054
|
/***/ 70713:
|
|
24190
25055
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
24191
25056
|
|
|
@@ -29577,7 +30442,7 @@ var $Rarewords = {
|
|
|
29577
30442
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
29578
30443
|
/* harmony export */ "h": function() { return /* reexport safe */ _PrintLineStyle_vue__WEBPACK_IMPORTED_MODULE_0__["default"]; }
|
|
29579
30444
|
/* harmony export */ });
|
|
29580
|
-
/* harmony import */ var _PrintLineStyle_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
30445
|
+
/* harmony import */ var _PrintLineStyle_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51484);
|
|
29581
30446
|
|
|
29582
30447
|
|
|
29583
30448
|
|
|
@@ -29639,20 +30504,20 @@ var getCellNode = function getCellNode(nodes) {
|
|
|
29639
30504
|
|
|
29640
30505
|
"use strict";
|
|
29641
30506
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
29642
|
-
/* harmony export */ "
|
|
30507
|
+
/* harmony export */ "E": function() { return /* binding */ textParams; }
|
|
29643
30508
|
/* harmony export */ });
|
|
29644
|
-
/* unused harmony
|
|
30509
|
+
/* unused harmony export radioCheckBox */
|
|
29645
30510
|
/* harmony import */ var _editor_dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(90161);
|
|
29646
30511
|
|
|
29647
|
-
|
|
29648
|
-
|
|
29649
|
-
|
|
29650
|
-
|
|
29651
|
-
|
|
29652
|
-
|
|
29653
|
-
|
|
29654
|
-
|
|
29655
|
-
};
|
|
30512
|
+
// export const dataSource: DataSource = {
|
|
30513
|
+
// dataSourceEnabled: true,
|
|
30514
|
+
// dataSource: "",
|
|
30515
|
+
// format: "",
|
|
30516
|
+
// visitPath: "",
|
|
30517
|
+
// isReadOnly: false,
|
|
30518
|
+
// autoUpdate: false,
|
|
30519
|
+
// executeStatus: 0,
|
|
30520
|
+
// };
|
|
29656
30521
|
var radioCheckBox = {
|
|
29657
30522
|
id: "",
|
|
29658
30523
|
title: "",
|
|
@@ -29664,7 +30529,7 @@ var radioCheckBox = {
|
|
|
29664
30529
|
numericValue: "",
|
|
29665
30530
|
additionalData: "",
|
|
29666
30531
|
tipText: "",
|
|
29667
|
-
bandDataSource: "",
|
|
30532
|
+
// bandDataSource: "",
|
|
29668
30533
|
text: "",
|
|
29669
30534
|
checkCascadeObject: "",
|
|
29670
30535
|
unCheckCascadeObject: "",
|
|
@@ -29695,7 +30560,7 @@ var textParams = {
|
|
|
29695
30560
|
//importStyle: new ImportStyle(),
|
|
29696
30561
|
downListProperty: new _editor_dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_0__/* .DownListProperty */ .OL(),
|
|
29697
30562
|
dataVerifyFormat: new _editor_dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_0__/* .DataVerifyFormat */ .wz(),
|
|
29698
|
-
bandDataSource: dataSource,
|
|
30563
|
+
// bandDataSource: dataSource,
|
|
29699
30564
|
customProperty: new Object(),
|
|
29700
30565
|
alignWithBlocked: false,
|
|
29701
30566
|
innerIdentifier: "",
|
|
@@ -29707,7 +30572,9 @@ var textParams = {
|
|
|
29707
30572
|
value: '',
|
|
29708
30573
|
insCheckSyncUpdateList: false,
|
|
29709
30574
|
hideDuringPrint: false,
|
|
29710
|
-
notReplaceElement: false
|
|
30575
|
+
notReplaceElement: false,
|
|
30576
|
+
includesKeyword: [],
|
|
30577
|
+
valueArea: [] // 元素值域范围
|
|
29711
30578
|
// isMultiLinesDisplay: false
|
|
29712
30579
|
};
|
|
29713
30580
|
|
|
@@ -40056,7 +40923,15 @@ var DocController = /*#__PURE__*/function () {
|
|
|
40056
40923
|
*/
|
|
40057
40924
|
}, {
|
|
40058
40925
|
key: "insertQrcode",
|
|
40059
|
-
value: function insertQrcode(operType, curDomRange, id, textContent, type, correctLevel,
|
|
40926
|
+
value: function insertQrcode(operType, curDomRange, id, textContent, type, correctLevel,
|
|
40927
|
+
// dataSourceEnabled: boolean,
|
|
40928
|
+
// dataSource: string,
|
|
40929
|
+
// format: string,
|
|
40930
|
+
// visitPath: string,
|
|
40931
|
+
// isReadOnly: boolean,
|
|
40932
|
+
// autoUpdate: boolean,
|
|
40933
|
+
// execState: string,
|
|
40934
|
+
width, height, name, innerIdentifier, isFillBack) {
|
|
40060
40935
|
var domRange = curDomRange.normalize();
|
|
40061
40936
|
var startPath = domRange.endPath;
|
|
40062
40937
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_76__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
@@ -46168,7 +47043,7 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
46168
47043
|
/*
|
|
46169
47044
|
* @Author: your name
|
|
46170
47045
|
* @Date: 2020-12-24 16:01:16
|
|
46171
|
-
* @LastEditTime: 2023-07-
|
|
47046
|
+
* @LastEditTime: 2023-07-07 11:45:18
|
|
46172
47047
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
46173
47048
|
* @Description: In User Settings Edit
|
|
46174
47049
|
* @FilePath: \hoeditor-web\src\editor\dom\TableProperty.ts
|
|
@@ -46934,6 +47809,7 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
46934
47809
|
//垂直对齐方式
|
|
46935
47810
|
//单元格内边距 上、下、左、右
|
|
46936
47811
|
//是否绘制网格线
|
|
47812
|
+
//网格线显示 上、下、左、右
|
|
46937
47813
|
//网格线颜色
|
|
46938
47814
|
//网格线样式
|
|
46939
47815
|
//跨度
|
|
@@ -46952,6 +47828,7 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
46952
47828
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_align", VAlign.vatop);
|
|
46953
47829
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_cellInnerMargin", [0, 0, 0.1, 0.1]);
|
|
46954
47830
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_isDrawGridlines", true);
|
|
47831
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_gridLineDisplay", [true, true, true, true]);
|
|
46955
47832
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_gridLinesColor", ["#000000", "#000000", "#000000", "#000000"]);
|
|
46956
47833
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_gridLinesStyle", GridLinesStyle.solid);
|
|
46957
47834
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_span", 0);
|
|
@@ -46971,7 +47848,7 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
46971
47848
|
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(target[value]) == 'object') {
|
|
46972
47849
|
if (value !== "downListProperty" && value !== "dateTimeProperty" && value !== "numberProperty") {
|
|
46973
47850
|
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(target[value]) == "object") {
|
|
46974
|
-
if (value === "gridLinesColor" || value === "cellInnerMargin") {
|
|
47851
|
+
if (value === "gridLinesColor" || value === "cellInnerMargin" || value === "gridLineDisplay") {
|
|
46975
47852
|
target[value] = source[value];
|
|
46976
47853
|
} else {
|
|
46977
47854
|
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(target[value]) == 'object') {
|
|
@@ -47070,6 +47947,14 @@ var CellProperty = /*#__PURE__*/function () {
|
|
|
47070
47947
|
set: function set(value) {
|
|
47071
47948
|
this._gridLinesColor = value;
|
|
47072
47949
|
}
|
|
47950
|
+
}, {
|
|
47951
|
+
key: "gridLineDisplay",
|
|
47952
|
+
get: function get() {
|
|
47953
|
+
return this._gridLineDisplay;
|
|
47954
|
+
},
|
|
47955
|
+
set: function set(value) {
|
|
47956
|
+
this._gridLineDisplay = value;
|
|
47957
|
+
}
|
|
47073
47958
|
}, {
|
|
47074
47959
|
key: "gridLinesStyle",
|
|
47075
47960
|
get: function get() {
|
|
@@ -50943,6 +51828,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
50943
51828
|
gridLinesStyle: Number(this.cellProperty.gridLinesStyle),
|
|
50944
51829
|
gridLinesColor: this.cellProperty.gridLinesColor ? this.cellProperty.gridLinesColor.toString() : "#000000,#000000,#000000,#000000",
|
|
50945
51830
|
isDrawGridlines: this.cellProperty.isDrawGridlines,
|
|
51831
|
+
gridLineDisplay: this.cellProperty.gridLineDisplay ? this.cellProperty.gridLineDisplay.toString() : "true,true,true,true",
|
|
50946
51832
|
cellInnerMargin: this.cellProperty.cellInnerMargin ? this.cellProperty.cellInnerMargin.toString() : "0,0,0.1,0.1",
|
|
50947
51833
|
//customProperties: !this.cellProperty.customProperties ? undefined : this.cellProperty.customProperties,
|
|
50948
51834
|
customProperties: customProperties,
|
|
@@ -50971,6 +51857,10 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
50971
51857
|
if (cellPropertyJson["gridLinesColor"] === "#000000,#000000,#000000,#000000") {
|
|
50972
51858
|
delete cellPropertyJson["gridLinesColor"];
|
|
50973
51859
|
}
|
|
51860
|
+
} else if (keysName[k] === "gridLineDisplay") {
|
|
51861
|
+
if (cellPropertyJson["gridLineDisplay"] === "true,true,true,true") {
|
|
51862
|
+
delete cellPropertyJson["gridLineDisplay"];
|
|
51863
|
+
}
|
|
50974
51864
|
}
|
|
50975
51865
|
// else if (keysName[k] === "dataSource") {
|
|
50976
51866
|
// if (this.cellProperty.dataSource === undefined || (cellPropertyJson["dataSource"] === "")) {
|
|
@@ -59427,7 +60317,7 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
59427
60317
|
//样式
|
|
59428
60318
|
//签名属性 0:医生签名 1:患者签名 2:ca签名(职称+签名图片) 3:ca签名(职称+签名+日期)4.ca签名(职称、连接符可选)
|
|
59429
60319
|
//自定义CA签名连接符
|
|
59430
|
-
//其它属性{"isDisplayTitle":true,"title":"职称","time":"签名日期"}
|
|
60320
|
+
//其它属性{"isDisplayTitle":true,"title":"职称","isDisplayTime":true,"time":"签名日期","timePosition":"1"}
|
|
59431
60321
|
function SignNode(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, styleIndex, connectMode, isFront, allowEditSignTime, fingerPrintSrc, fingerPosition, attribute, connectChar, otherProperties) {
|
|
59432
60322
|
var _this;
|
|
59433
60323
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, SignNode);
|
|
@@ -63025,6 +63915,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
63025
63915
|
gridLinesStyle: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .GridLinesStyle.solid */ .he.solid,
|
|
63026
63916
|
gridLinesColor: "#000000,#000000,#000000,#000000",
|
|
63027
63917
|
isDrawGridlines: true,
|
|
63918
|
+
gridLineDisplay: "true,true,true,true",
|
|
63028
63919
|
cellInnerMargin: "0,0,0.1,0.1",
|
|
63029
63920
|
customProperties: "",
|
|
63030
63921
|
//lightCellBorders: false,
|
|
@@ -64669,6 +65560,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64669
65560
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_hideDuringPrint", false);
|
|
64670
65561
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_notReplaceElement", false);
|
|
64671
65562
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_isElementLink", false);
|
|
65563
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_includesKeyword", '');
|
|
65564
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_valueArea", '');
|
|
64672
65565
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_childNodes2", void 0);
|
|
64673
65566
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "StartMarkNode", void 0);
|
|
64674
65567
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "EndMarkNode", void 0);
|
|
@@ -64744,6 +65637,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
64744
65637
|
//打印时隐藏
|
|
64745
65638
|
// 不启用元素引用替换
|
|
64746
65639
|
//是否进行元素联动
|
|
65640
|
+
// 校验关键字
|
|
65641
|
+
// 校验值的区域
|
|
64747
65642
|
/**
|
|
64748
65643
|
* Getter alignWithBlocked
|
|
64749
65644
|
* @return {boolean}
|
|
@@ -65117,6 +66012,26 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
65117
66012
|
this._isElementLink = val;
|
|
65118
66013
|
}
|
|
65119
66014
|
}
|
|
66015
|
+
}, {
|
|
66016
|
+
key: "includesKeyword",
|
|
66017
|
+
get: function get() {
|
|
66018
|
+
return this._includesKeyword;
|
|
66019
|
+
},
|
|
66020
|
+
set: function set(val) {
|
|
66021
|
+
if (this._includesKeyword !== val) {
|
|
66022
|
+
this._includesKeyword = val;
|
|
66023
|
+
}
|
|
66024
|
+
}
|
|
66025
|
+
}, {
|
|
66026
|
+
key: "valueArea",
|
|
66027
|
+
get: function get() {
|
|
66028
|
+
return this._valueArea;
|
|
66029
|
+
},
|
|
66030
|
+
set: function set(val) {
|
|
66031
|
+
if (this._valueArea !== val) {
|
|
66032
|
+
this._valueArea = val;
|
|
66033
|
+
}
|
|
66034
|
+
}
|
|
65120
66035
|
}, {
|
|
65121
66036
|
key: "generateInnerCode",
|
|
65122
66037
|
value: function generateInnerCode() {
|
|
@@ -66017,6 +66932,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66017
66932
|
insCheckSyncUpdateList: this.insCheckSyncUpdateList,
|
|
66018
66933
|
hideDuringPrint: this.hideDuringPrint,
|
|
66019
66934
|
notReplaceElement: this.notReplaceElement,
|
|
66935
|
+
valueArea: this.valueArea,
|
|
66936
|
+
includesKeyword: this.includesKeyword,
|
|
66020
66937
|
isElementLink: this.isElementLink,
|
|
66021
66938
|
childNodes: childNodes
|
|
66022
66939
|
};
|
|
@@ -66109,6 +67026,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
66109
67026
|
json.insCheckSyncUpdateList = !json.insCheckSyncUpdateList ? false : json.insCheckSyncUpdateList;
|
|
66110
67027
|
json.hideDuringPrint = !json.hideDuringPrint ? false : json.hideDuringPrint;
|
|
66111
67028
|
json.notReplaceElement = !json.notReplaceElement ? false : json.notReplaceElement;
|
|
67029
|
+
json.includesKeyword = !json.includesKeyword ? false : json.includesKeyword;
|
|
67030
|
+
json.valueArea = !json.valueArea ? false : json.valueArea;
|
|
66112
67031
|
json.isElementLink = !json.isElementLink ? false : json.isElementLink;
|
|
66113
67032
|
var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_40__/* .NodeType.ntField */ .Jq.ntField, json);
|
|
66114
67033
|
// this.insertChild
|
|
@@ -72571,7 +73490,7 @@ var DrawMarkNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
72571
73490
|
/*
|
|
72572
73491
|
* @Author: your name
|
|
72573
73492
|
* @Date: 2020-10-29 15:22:36
|
|
72574
|
-
* @LastEditTime: 2023-06
|
|
73493
|
+
* @LastEditTime: 2023-07-06 16:13:56
|
|
72575
73494
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
72576
73495
|
* @Description: In User Settings Edit
|
|
72577
73496
|
* @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawMedicalExpression.ts
|
|
@@ -72962,19 +73881,53 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
72962
73881
|
}, {
|
|
72963
73882
|
key: "drawPermanentTeeth",
|
|
72964
73883
|
value: function drawPermanentTeeth() {
|
|
72965
|
-
var
|
|
72966
|
-
var
|
|
72967
|
-
var
|
|
72968
|
-
var
|
|
73884
|
+
var topLeftText = this._arrValues[0].split(',').join('');
|
|
73885
|
+
var topRightText = this._arrValues[1].split(',').join('');
|
|
73886
|
+
var bottomLeftText = this._arrValues[2].split(',').join('');
|
|
73887
|
+
var bottomRightText = this._arrValues[3].split(',').join('');
|
|
73888
|
+
var topLeftColor = this._textStyle.color;
|
|
73889
|
+
var topRightColor = this._textStyle.color;
|
|
73890
|
+
var bottomLeftColor = this._textStyle.color;
|
|
73891
|
+
var bottomRightColor = this._textStyle.color;
|
|
73892
|
+
var remark = this.node.remark;
|
|
73893
|
+
if (remark == "teeth") {
|
|
73894
|
+
if (topLeftText == "") {
|
|
73895
|
+
topLeftText = "右上牙位";
|
|
73896
|
+
topLeftColor = "#9B9E9E";
|
|
73897
|
+
}
|
|
73898
|
+
if (topRightText == "") {
|
|
73899
|
+
topRightText = "左上牙位";
|
|
73900
|
+
topRightColor = "#9B9E9E";
|
|
73901
|
+
}
|
|
73902
|
+
if (bottomLeftText == "") {
|
|
73903
|
+
bottomLeftText = "右下牙位";
|
|
73904
|
+
bottomLeftColor = "#9B9E9E";
|
|
73905
|
+
}
|
|
73906
|
+
if (bottomRightText == "") {
|
|
73907
|
+
bottomRightText = "左下牙位";
|
|
73908
|
+
bottomRightColor = "#9B9E9E";
|
|
73909
|
+
}
|
|
73910
|
+
}
|
|
73911
|
+
var topLeft = new createjs.Text(topLeftText, this._textStyle.getStyleKey(), topLeftColor);
|
|
73912
|
+
var topRight = new createjs.Text(topRightText, this._textStyle.getStyleKey(), topRightColor);
|
|
73913
|
+
var bottomLeft = new createjs.Text(bottomLeftText, this._textStyle.getStyleKey(), bottomLeftColor);
|
|
73914
|
+
var bottomRight = new createjs.Text(bottomRightText, this._textStyle.getStyleKey(), bottomRightColor);
|
|
72969
73915
|
var lineX = new createjs.Shape();
|
|
72970
73916
|
var lineY = new createjs.Shape();
|
|
72971
|
-
var
|
|
72972
|
-
|
|
72973
|
-
|
|
73917
|
+
var maxWidth1 = Math.max(topLeft.getMeasuredWidth(), topRight.getMeasuredWidth()) + Math.max(bottomLeft.getMeasuredWidth(), bottomRight.getMeasuredWidth()) + 15;
|
|
73918
|
+
var maxWidth2 = Math.max(topLeft.getMeasuredWidth() + topRight.getMeasuredWidth(), bottomLeft.getMeasuredWidth() + bottomRight.getMeasuredWidth()) + 15;
|
|
73919
|
+
var maxWidth = Math.max(maxWidth1, maxWidth2);
|
|
73920
|
+
var maxHeight = Math.max(topLeft.getMeasuredHeight(), bottomLeft.getMeasuredHeight()) + Math.max(topRight.getMeasuredHeight(), bottomRight.getMeasuredHeight()) + 15;
|
|
73921
|
+
//const maxHeight = Math.max(topLeft.getMeasuredHeight() + bottomLeft.getMeasuredHeight(), topRight.getMeasuredHeight(), bottomRight.getMeasuredHeight());
|
|
73922
|
+
//console.log(maxWidth, this.dWidth, topLeft.getMeasuredWidth(), this.dHeight);
|
|
73923
|
+
//console.log(topLeft.getMeasuredWidth() + topRight.getMeasuredWidth(), bottomLeft.getMeasuredWidth() + bottomRight.getMeasuredWidth())
|
|
72974
73924
|
var leftMaxWidth = Math.max(topLeft.getMeasuredWidth(), bottomLeft.getMeasuredWidth());
|
|
72975
73925
|
this.dWidth = maxWidth;
|
|
73926
|
+
if (this.dHeight < maxHeight) {
|
|
73927
|
+
this.dHeight = maxHeight;
|
|
73928
|
+
}
|
|
72976
73929
|
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
|
|
73930
|
+
lineY.graphics.beginStroke(this._textStyle.color).moveTo(leftMaxWidth + 6 - 0.5, -this._dHeight).lineTo(leftMaxWidth + 6 - 0.5, 0);
|
|
72978
73931
|
topLeft.y = -this.dHeight / 2 - topLeft.getMeasuredHeight() / 2;
|
|
72979
73932
|
topLeft.x = 4;
|
|
72980
73933
|
topLeft.textAlign = "left";
|
|
@@ -72983,11 +73936,11 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
72983
73936
|
topRight.x = leftMaxWidth + 6 + 2;
|
|
72984
73937
|
topRight.textAlign = "left";
|
|
72985
73938
|
topRight.textBaseline = "alphabetic";
|
|
72986
|
-
bottomLeft.y =
|
|
73939
|
+
bottomLeft.y = -3;
|
|
72987
73940
|
bottomLeft.x = 4;
|
|
72988
73941
|
bottomLeft.textAlign = "left";
|
|
72989
73942
|
bottomLeft.textBaseline = "alphabetic";
|
|
72990
|
-
bottomRight.y =
|
|
73943
|
+
bottomRight.y = bottomLeft.y;
|
|
72991
73944
|
bottomRight.x = topRight.x;
|
|
72992
73945
|
bottomRight.textAlign = "left";
|
|
72993
73946
|
bottomRight.textBaseline = "alphabetic";
|
|
@@ -73489,11 +74442,19 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
73489
74442
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_valignTop", void 0);
|
|
73490
74443
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_ResizeObj", void 0);
|
|
73491
74444
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_startDline", void 0);
|
|
74445
|
+
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_topLine", void 0);
|
|
74446
|
+
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_bottomLine", void 0);
|
|
74447
|
+
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_leftLine", void 0);
|
|
74448
|
+
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_rightLine", void 0);
|
|
73492
74449
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_node", void 0);
|
|
73493
74450
|
(0,defineProperty/* default */.Z)((0,assertThisInitialized/* default */.Z)(_this), "_discriminator", void 0);
|
|
73494
74451
|
_this._drawPageTable = dPartTable;
|
|
73495
74452
|
// this._crossShape = null;
|
|
73496
74453
|
_this._backImg = new createjs.Shape();
|
|
74454
|
+
_this._topLine = new createjs.Shape();
|
|
74455
|
+
_this._bottomLine = new createjs.Shape();
|
|
74456
|
+
_this._leftLine = new createjs.Shape();
|
|
74457
|
+
_this._rightLine = new createjs.Shape();
|
|
73497
74458
|
_this._touchArea = new createjs.Shape();
|
|
73498
74459
|
// this._pageIndex = pageIndex;
|
|
73499
74460
|
// this._dPage = dPage;
|
|
@@ -73574,6 +74535,8 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
73574
74535
|
|
|
73575
74536
|
// private _pageIndex: number;
|
|
73576
74537
|
|
|
74538
|
+
//四个边框
|
|
74539
|
+
|
|
73577
74540
|
//实现接口部分
|
|
73578
74541
|
|
|
73579
74542
|
//private _marker: createjs.Shape;
|
|
@@ -73586,6 +74549,26 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
73586
74549
|
function get() {
|
|
73587
74550
|
return this._backImg;
|
|
73588
74551
|
}
|
|
74552
|
+
}, {
|
|
74553
|
+
key: "topLine",
|
|
74554
|
+
get: function get() {
|
|
74555
|
+
return this._topLine;
|
|
74556
|
+
}
|
|
74557
|
+
}, {
|
|
74558
|
+
key: "bottomLine",
|
|
74559
|
+
get: function get() {
|
|
74560
|
+
return this._bottomLine;
|
|
74561
|
+
}
|
|
74562
|
+
}, {
|
|
74563
|
+
key: "leftLine",
|
|
74564
|
+
get: function get() {
|
|
74565
|
+
return this._leftLine;
|
|
74566
|
+
}
|
|
74567
|
+
}, {
|
|
74568
|
+
key: "rightLine",
|
|
74569
|
+
get: function get() {
|
|
74570
|
+
return this._rightLine;
|
|
74571
|
+
}
|
|
73589
74572
|
}, {
|
|
73590
74573
|
key: "touchArea",
|
|
73591
74574
|
get: function get() {
|
|
@@ -73929,25 +74912,11 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
73929
74912
|
key: "paintMarker",
|
|
73930
74913
|
value: function paintMarker(color) {
|
|
73931
74914
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
73932
|
-
// for (let i = this.children.length - 1; i >= 0; i--) {
|
|
73933
|
-
// if (this.children[i].name && this.children[i].name.includes("markline")) {
|
|
73934
|
-
// this.children.splice(i, 1);
|
|
73935
|
-
// }
|
|
73936
|
-
// }
|
|
73937
74915
|
if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint) {
|
|
73938
|
-
// const markerLine1 = new createjs.Shape();
|
|
73939
|
-
// const markerLine2 = new createjs.Shape();
|
|
73940
|
-
// const markerLine3 = new createjs.Shape();
|
|
73941
|
-
// const markerLine4 = new createjs.Shape();
|
|
73942
74916
|
var width = this.dWidth;
|
|
73943
74917
|
var height = this.dHeight;
|
|
73944
|
-
// markerLine1.name = "markline1";
|
|
73945
|
-
// markerLine2.name = "markline2";
|
|
73946
|
-
// markerLine3.name = "markline3";
|
|
73947
|
-
// markerLine4.name = "markline4";
|
|
73948
74918
|
this._backImg.graphics.clear().beginStroke(color).moveTo(width - 7, height - 0.5).lineTo(width - 0.5, height - 7).moveTo(width - 5, height - 0.5).lineTo(width - 0.5, height - 5).moveTo(width - 3, height - 0.5).lineTo(width - 0.5, height - 3).moveTo(width - 2, height - 0.5).lineTo(width - 0.5, height - 2);
|
|
73949
74919
|
this._backImg.graphics.endStroke();
|
|
73950
|
-
// this.addChild(markerLine1);
|
|
73951
74920
|
}
|
|
73952
74921
|
}
|
|
73953
74922
|
}, {
|
|
@@ -73984,13 +74953,19 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
73984
74953
|
// }
|
|
73985
74954
|
this._backImg.graphics.beginStroke(this._cell.cellProperty.gridLinesColor[0]);
|
|
73986
74955
|
if (this._cell.cellProperty.isDrawGridlines) {
|
|
73987
|
-
if (!this._cell.cellProperty.printGridLines && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint)
|
|
74956
|
+
if (!this._cell.cellProperty.printGridLines && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint) {
|
|
74957
|
+
this._backImg.graphics.setStrokeDash([2, 2]);
|
|
74958
|
+
}
|
|
73988
74959
|
if (this._cell.cellProperty.printGridLines || !this._cell.cellProperty.printGridLines && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint) {
|
|
73989
74960
|
var x = 0.5;
|
|
73990
74961
|
var y = 0.5;
|
|
73991
74962
|
var dWidth = this._dWidth - 0.5;
|
|
73992
74963
|
var height = newHeight - 0.5;
|
|
73993
|
-
this.
|
|
74964
|
+
if (this.cell.cellProperty.gridLinesStyle === TableProperty/* GridLinesStyle.solid */.he.solid) {
|
|
74965
|
+
this._backImg.graphics.setStrokeStyle(0.5);
|
|
74966
|
+
} else {
|
|
74967
|
+
this._backImg.graphics.setStrokeDash([2, 2]);
|
|
74968
|
+
}
|
|
73994
74969
|
if (r > this._drawPageTable.startRow) {
|
|
73995
74970
|
y = -0.5;
|
|
73996
74971
|
height += 0.5;
|
|
@@ -74000,8 +74975,133 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
74000
74975
|
dWidth = this._dWidth + 0.5;
|
|
74001
74976
|
}
|
|
74002
74977
|
this._backImg.graphics.drawRect(x, y, dWidth, height);
|
|
74978
|
+
/*
|
|
74979
|
+
const gridLineDisplay = this._cell.cellProperty.gridLineDisplay;
|
|
74980
|
+
const gridLinesColor = this._cell.cellProperty.gridLinesColor;
|
|
74981
|
+
const colNo = this.cell.row.indexOf(this.cell);
|
|
74982
|
+
const rowNo = this.cell.table.rows.indexOf(this.cell.row);
|
|
74983
|
+
if (gridLineDisplay[0]) {//上边框
|
|
74984
|
+
if (rowNo == 0) {
|
|
74985
|
+
this._topLine.name = "topLine";
|
|
74986
|
+
this._topLine.graphics.clear().beginStroke(gridLinesColor[0]);
|
|
74987
|
+
if (this.cell.cellProperty.gridLinesStyle === GridLinesStyle.solid) {
|
|
74988
|
+
this._topLine.graphics.setStrokeStyle(0.5);
|
|
74989
|
+
} else {
|
|
74990
|
+
this._topLine.graphics.setStrokeDash([2, 2]);
|
|
74991
|
+
}
|
|
74992
|
+
this._topLine.graphics.moveTo(x, y).lineTo(x + dWidth, y);
|
|
74993
|
+
this._topLine.graphics.endStroke();
|
|
74994
|
+
if (!this.contains(this._topLine)) {
|
|
74995
|
+
this.addChild(this._topLine);
|
|
74996
|
+
}
|
|
74997
|
+
}
|
|
74998
|
+
} else {
|
|
74999
|
+
if (rowNo > 0) {
|
|
75000
|
+
const topCell = this._cell.table.getMainCell(rowNo - 1, colNo)[0];
|
|
75001
|
+
const drawPageCells = topCell.drawCell.drawPageCells;
|
|
75002
|
+
if (drawPageCells.length > 0) {
|
|
75003
|
+
for (let i = 0; i < drawPageCells[drawPageCells.length - 1].children.length; i++) {
|
|
75004
|
+
const child = drawPageCells[drawPageCells.length - 1].children[i];
|
|
75005
|
+
if (child.name == "bottomLine") {
|
|
75006
|
+
drawPageCells[drawPageCells.length - 1].children.splice(i, 1);
|
|
75007
|
+
}
|
|
75008
|
+
}
|
|
75009
|
+
}
|
|
75010
|
+
}
|
|
75011
|
+
}
|
|
75012
|
+
if (gridLineDisplay[1]) {//下边框
|
|
75013
|
+
this._bottomLine.name = "bottomLine";
|
|
75014
|
+
this._bottomLine.graphics.clear().beginStroke(gridLinesColor[1]);
|
|
75015
|
+
if (this.cell.cellProperty.gridLinesStyle === GridLinesStyle.solid) {
|
|
75016
|
+
this._bottomLine.graphics.setStrokeStyle(0.5);
|
|
75017
|
+
} else {
|
|
75018
|
+
this._bottomLine.graphics.setStrokeDash([2, 2]);
|
|
75019
|
+
}
|
|
75020
|
+
this._bottomLine.graphics.moveTo(x, y + height).lineTo(x + dWidth, y + height);
|
|
75021
|
+
this._bottomLine.graphics.endStroke();
|
|
75022
|
+
if (!this.contains(this._bottomLine)) {
|
|
75023
|
+
this.addChild(this._bottomLine);
|
|
75024
|
+
}
|
|
75025
|
+
} else {
|
|
75026
|
+
if (rowNo < this.cell.table.rowCount - 1) {
|
|
75027
|
+
const bottomCell = this._cell.table.getMainCell(rowNo + 1, colNo)[0];
|
|
75028
|
+
const drawPageCells = bottomCell.drawCell.drawPageCells;
|
|
75029
|
+
if (drawPageCells.length > 0) {
|
|
75030
|
+
for (let i = 0; i < drawPageCells[0].children.length; i++) {
|
|
75031
|
+
const child = drawPageCells[0].children[i];
|
|
75032
|
+
if (child.name == "topLine") {
|
|
75033
|
+
drawPageCells[0].children.splice(i, 1);
|
|
75034
|
+
}
|
|
75035
|
+
}
|
|
75036
|
+
}
|
|
75037
|
+
}
|
|
75038
|
+
}
|
|
75039
|
+
if (gridLineDisplay[2]) {//左边框
|
|
75040
|
+
if (colNo == 0) {
|
|
75041
|
+
this._leftLine.name = "leftLine";
|
|
75042
|
+
this._leftLine.graphics.clear().beginStroke(gridLinesColor[2]);
|
|
75043
|
+
if (this.cell.cellProperty.gridLinesStyle === GridLinesStyle.solid) {
|
|
75044
|
+
this._leftLine.graphics.setStrokeStyle(0.5);
|
|
75045
|
+
} else {
|
|
75046
|
+
this._leftLine.graphics.setStrokeDash([2, 2]);
|
|
75047
|
+
}
|
|
75048
|
+
this._leftLine.graphics.moveTo(x, y).lineTo(x, y + height);
|
|
75049
|
+
this._leftLine.graphics.endStroke();
|
|
75050
|
+
if (!this.contains(this._leftLine)) {
|
|
75051
|
+
this.addChild(this._leftLine);
|
|
75052
|
+
}
|
|
75053
|
+
}
|
|
75054
|
+
} else {
|
|
75055
|
+
if (colNo > 0) {
|
|
75056
|
+
const leftCell = this._cell.table.getMainCell(rowNo, colNo - 1)[0];
|
|
75057
|
+
const drawPageCells = leftCell.drawCell.drawPageCells;
|
|
75058
|
+
if (drawPageCells.length > 0) {
|
|
75059
|
+
for (let i = 0; i < drawPageCells.length; i++) {
|
|
75060
|
+
const children = drawPageCells[i].children;
|
|
75061
|
+
for (let j = 0; j < children.length; j++) {
|
|
75062
|
+
const child = children[j];
|
|
75063
|
+
if (child.name == "rightLine") {
|
|
75064
|
+
children.splice(j, 1);
|
|
75065
|
+
}
|
|
75066
|
+
}
|
|
75067
|
+
}
|
|
75068
|
+
}
|
|
75069
|
+
}
|
|
75070
|
+
}
|
|
75071
|
+
if (gridLineDisplay[3]) {//右边框
|
|
75072
|
+
this._rightLine.name = "rightLine";
|
|
75073
|
+
this._rightLine.graphics.clear().beginStroke(gridLinesColor[3]);
|
|
75074
|
+
if (this.cell.cellProperty.gridLinesStyle === GridLinesStyle.solid) {
|
|
75075
|
+
this._rightLine.graphics.setStrokeStyle(0.5);
|
|
75076
|
+
} else {
|
|
75077
|
+
this._rightLine.graphics.setStrokeDash([2, 2]);
|
|
75078
|
+
}
|
|
75079
|
+
this._rightLine.graphics.moveTo(x + dWidth, y).lineTo(x + dWidth, y + height);
|
|
75080
|
+
this._rightLine.graphics.endStroke();
|
|
75081
|
+
if (!this.contains(this._rightLine)) {
|
|
75082
|
+
this.addChild(this._rightLine);
|
|
75083
|
+
}
|
|
75084
|
+
} else {
|
|
75085
|
+
if (colNo < this.cell.table.colCount - 1) {
|
|
75086
|
+
const rightCell = this._cell.table.getMainCell(rowNo, colNo + 1)[0];
|
|
75087
|
+
const drawPageCells = rightCell.drawCell.drawPageCells;
|
|
75088
|
+
if (drawPageCells.length > 0) {
|
|
75089
|
+
for (let i = 0; i < drawPageCells.length; i++) {
|
|
75090
|
+
const children = drawPageCells[i].children;
|
|
75091
|
+
for (let j = 0; j < children.length; j++) {
|
|
75092
|
+
const child = children[j];
|
|
75093
|
+
if (child.name == "leftLine") {
|
|
75094
|
+
children.splice(j, 1);
|
|
75095
|
+
}
|
|
75096
|
+
}
|
|
75097
|
+
}
|
|
75098
|
+
}
|
|
75099
|
+
}
|
|
75100
|
+
}
|
|
75101
|
+
*/
|
|
74003
75102
|
}
|
|
74004
75103
|
}
|
|
75104
|
+
|
|
74005
75105
|
this._backImg.graphics.endStroke();
|
|
74006
75106
|
if (!this.contains(this._backImg)) {
|
|
74007
75107
|
this.addChildAt(this._backImg, 0);
|
|
@@ -76589,7 +77689,7 @@ var DrawRect = /*#__PURE__*/function (_DrawContainer) {
|
|
|
76589
77689
|
/*
|
|
76590
77690
|
* @Author: your name
|
|
76591
77691
|
* @Date: 2021-09-01 16:51:49
|
|
76592
|
-
* @LastEditTime: 2023-07-
|
|
77692
|
+
* @LastEditTime: 2023-07-07 17:44:37
|
|
76593
77693
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
76594
77694
|
* @Description: In User Settings Edit
|
|
76595
77695
|
* @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawSignNode.ts
|
|
@@ -76603,6 +77703,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
76603
77703
|
|
|
76604
77704
|
//职称
|
|
76605
77705
|
|
|
77706
|
+
//日期位置 1放签名右侧 其它:放签名下面
|
|
76606
77707
|
function DrawSignNode(hoeditfactoryID, rootPath, node, number, type, name, imgSrc, imgWidth, imgHeight, cbStyle, fingerPrintSrc, fingerPosition, attribute, customProperty, connectChar, otherProperties) {
|
|
76607
77708
|
var _this;
|
|
76608
77709
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, DrawSignNode);
|
|
@@ -76623,6 +77724,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
76623
77724
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_drawDate", void 0);
|
|
76624
77725
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_title", "");
|
|
76625
77726
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_drawTitle", void 0);
|
|
77727
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_timePosition", "0");
|
|
76626
77728
|
_this._number = number;
|
|
76627
77729
|
_this._imgSrc = imgSrc;
|
|
76628
77730
|
_this._type = type;
|
|
@@ -76633,9 +77735,11 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
76633
77735
|
_this._connectChar = connectChar;
|
|
76634
77736
|
//this._signTime = node.signTime;
|
|
76635
77737
|
_this._textStyle = cbStyle.getStyleKey();
|
|
77738
|
+
_this._signTime = otherProperties && otherProperties.time ? otherProperties.time : "";
|
|
76636
77739
|
_this._abi02 = customProperty && customProperty.abi02 ? customProperty.abi02 : "";
|
|
76637
77740
|
_this._title = otherProperties && otherProperties.title ? otherProperties.title : "";
|
|
76638
77741
|
var isDisplayTitle = otherProperties && (otherProperties.isDisplayTitle == "true" || otherProperties.isDisplayTitle == true) ? true : false;
|
|
77742
|
+
var isDisplayTime = otherProperties && (otherProperties.isDisplayTime == "true" || otherProperties.isDisplayTime == true) ? true : false;
|
|
76639
77743
|
if (_this.attribute === 4) {
|
|
76640
77744
|
if (isDisplayTitle) {
|
|
76641
77745
|
if (_this._title == "") {
|
|
@@ -76644,8 +77748,12 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
76644
77748
|
} else {
|
|
76645
77749
|
_this._title = "";
|
|
76646
77750
|
}
|
|
77751
|
+
if (isDisplayTime) {
|
|
77752
|
+
_this._timePosition = otherProperties && otherProperties.timePosition ? otherProperties.timePosition : "";
|
|
77753
|
+
} else {
|
|
77754
|
+
_this._signTime = "";
|
|
77755
|
+
}
|
|
76647
77756
|
}
|
|
76648
|
-
_this._signTime = otherProperties && otherProperties.time ? otherProperties.time : "";
|
|
76649
77757
|
if (_this._title != "") {
|
|
76650
77758
|
_this._drawTitle = new createjs.Text(_this.title + _this._connectChar, _this._textStyle, '#000000');
|
|
76651
77759
|
}
|
|
@@ -76723,6 +77831,14 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
76723
77831
|
if (_this.title != "") {
|
|
76724
77832
|
_this.dWidth += _this._drawTitle.getMeasuredWidth();
|
|
76725
77833
|
}
|
|
77834
|
+
if (_this.signTime != "") {
|
|
77835
|
+
if (_this.timePosition == "1") {
|
|
77836
|
+
_this.dWidth += _this._drawDate.getMeasuredWidth();
|
|
77837
|
+
} else {
|
|
77838
|
+
_this.dWidth = Math.max(_this.dWidth, _this._drawDate.getMeasuredWidth());
|
|
77839
|
+
_this.dHeight = _this.dHeight + _this._drawDate.getMeasuredHeight() + 2;
|
|
77840
|
+
}
|
|
77841
|
+
}
|
|
76726
77842
|
}
|
|
76727
77843
|
}
|
|
76728
77844
|
if (_this.type === 2) {
|
|
@@ -76871,6 +77987,16 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
76871
77987
|
this._title = value;
|
|
76872
77988
|
}
|
|
76873
77989
|
}
|
|
77990
|
+
}, {
|
|
77991
|
+
key: "timePosition",
|
|
77992
|
+
get: function get() {
|
|
77993
|
+
return this._timePosition;
|
|
77994
|
+
},
|
|
77995
|
+
set: function set(value) {
|
|
77996
|
+
if (this._timePosition !== value) {
|
|
77997
|
+
this._timePosition = value;
|
|
77998
|
+
}
|
|
77999
|
+
}
|
|
76874
78000
|
}, {
|
|
76875
78001
|
key: "drawWriteSignNode",
|
|
76876
78002
|
value: function drawWriteSignNode(node) {
|
|
@@ -77107,10 +78233,26 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
77107
78233
|
_this3._drawTitle.textAlign = 'left';
|
|
77108
78234
|
_this3.addChildAt(_this3._drawTitle, 0);
|
|
77109
78235
|
bitmap.x = _this3._drawTitle.getMeasuredWidth();
|
|
77110
|
-
_this3.addChild(bitmap);
|
|
77111
78236
|
} else {
|
|
77112
78237
|
bitmap.x = 0;
|
|
77113
|
-
|
|
78238
|
+
}
|
|
78239
|
+
_this3.addChild(bitmap);
|
|
78240
|
+
if (_this3.signTime !== "") {
|
|
78241
|
+
if (_this3.timePosition === "1") {
|
|
78242
|
+
bitmap.y = -_this3.dHeight;
|
|
78243
|
+
_this3._drawDate.x = _this3.dWidth - _this3._drawDate.getMeasuredWidth();
|
|
78244
|
+
_this3._drawDate.y = -_this3.dHeight + _this3._drawDate.getMeasuredHeight();
|
|
78245
|
+
} else {
|
|
78246
|
+
if (_this3.title !== "") {
|
|
78247
|
+
_this3._drawTitle.y = -_this3._drawDate.getMeasuredHeight() - 10;
|
|
78248
|
+
}
|
|
78249
|
+
bitmap.y = -_this3.dHeight;
|
|
78250
|
+
_this3._drawDate.x = 0;
|
|
78251
|
+
_this3._drawDate.y = -3;
|
|
78252
|
+
_this3._drawDate.textBaseline = 'alphabetic';
|
|
78253
|
+
_this3._drawDate.textAlign = 'left';
|
|
78254
|
+
}
|
|
78255
|
+
_this3.addChild(_this3._drawDate);
|
|
77114
78256
|
}
|
|
77115
78257
|
} else {
|
|
77116
78258
|
_this3.addChildAt(bitmap, 0);
|
|
@@ -77147,8 +78289,17 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
77147
78289
|
drawNode.dWidth = _this3._drawDate.getMeasuredWidth();
|
|
77148
78290
|
}
|
|
77149
78291
|
}
|
|
77150
|
-
if (drawNode.attribute
|
|
77151
|
-
drawNode.
|
|
78292
|
+
if (drawNode.attribute === 4) {
|
|
78293
|
+
if (drawNode.title != "") {
|
|
78294
|
+
drawNode.dWidth += drawNode._drawTitle.getMeasuredWidth();
|
|
78295
|
+
}
|
|
78296
|
+
if (_this3.signTime !== "") {
|
|
78297
|
+
if (_this3.timePosition === "1") {
|
|
78298
|
+
drawNode.dWidth = drawNode.dWidth + drawNode._drawDate.getMeasuredWidth();
|
|
78299
|
+
} else {
|
|
78300
|
+
drawNode.dWidth = Math.max(drawNode.dWidth, drawNode._drawDate.getMeasuredWidth());
|
|
78301
|
+
}
|
|
78302
|
+
}
|
|
77152
78303
|
}
|
|
77153
78304
|
if (_this3.number === 2) {
|
|
77154
78305
|
drawNode.dWidth += _this3._drawText ? _this3._drawText.getMeasuredWidth() : 0;
|
|
@@ -77157,8 +78308,28 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
77157
78308
|
bitmap.setTransform(drawNode._drawAbi02.getMeasuredWidth(), -drawNode.dHeight + 2, width / hitWidth, drawNode.dHeight / hitHeight);
|
|
77158
78309
|
} else if (drawNode.attribute === 3 && drawNode.title !== "") {
|
|
77159
78310
|
bitmap.setTransform(drawNode._drawTitle.getMeasuredWidth(), -drawNode.dHeight - 4, width / hitWidth, (drawNode.dHeight - drawNode._drawDate.getMeasuredHeight() - 2) / hitHeight);
|
|
77160
|
-
} else if (drawNode.attribute === 4
|
|
77161
|
-
|
|
78311
|
+
} else if (drawNode.attribute === 4) {
|
|
78312
|
+
var x = 0;
|
|
78313
|
+
var y = 0;
|
|
78314
|
+
var scaleY = drawNode.dHeight / hitHeight;
|
|
78315
|
+
if (drawNode.title !== "") {
|
|
78316
|
+
x = drawNode._drawTitle.getMeasuredWidth();
|
|
78317
|
+
} else {
|
|
78318
|
+
x = 0;
|
|
78319
|
+
}
|
|
78320
|
+
if (_this3.signTime === "") {
|
|
78321
|
+
y = -drawNode.dHeight + 5;
|
|
78322
|
+
scaleY = drawNode.dHeight / hitHeight;
|
|
78323
|
+
} else {
|
|
78324
|
+
if (_this3.timePosition === "1") {
|
|
78325
|
+
y = -drawNode.dHeight + 5;
|
|
78326
|
+
scaleY = drawNode.dHeight / hitHeight;
|
|
78327
|
+
} else {
|
|
78328
|
+
y = -drawNode.dHeight - 4;
|
|
78329
|
+
scaleY = (drawNode.dHeight - drawNode._drawDate.getMeasuredHeight() - 2) / hitHeight;
|
|
78330
|
+
}
|
|
78331
|
+
}
|
|
78332
|
+
bitmap.setTransform(x, y, width / hitWidth, scaleY);
|
|
77162
78333
|
} else {
|
|
77163
78334
|
bitmap.setTransform(0, -drawNode.dHeight, width / hitWidth, drawNode.dHeight / hitHeight);
|
|
77164
78335
|
}
|
|
@@ -91628,13 +92799,12 @@ var UnitConvert = /*#__PURE__*/function () {
|
|
|
91628
92799
|
(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
92800
|
(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
92801
|
var tmpNode = document.createElement('DIV');
|
|
91631
|
-
tmpNode.style.cssText = 'width:1in;height:1in;position:absolute;left
|
|
92802
|
+
tmpNode.style.cssText = 'width:1in;height:1in;position:absolute;left:-300px;top:0px;z-index:99;visibility:hidden';
|
|
91632
92803
|
document.body.appendChild(tmpNode);
|
|
91633
|
-
this.dpiX = tmpNode.offsetWidth;
|
|
91634
|
-
this.dpiY = tmpNode.offsetHeight;
|
|
91635
|
-
if (tmpNode && tmpNode.parentNode) {
|
|
91636
|
-
|
|
91637
|
-
}
|
|
92804
|
+
this.dpiX = tmpNode.offsetWidth || 96;
|
|
92805
|
+
this.dpiY = tmpNode.offsetHeight || 96;
|
|
92806
|
+
// if (tmpNode && tmpNode.parentNode) {
|
|
92807
|
+
// tmpNode.parentNode.removeChild(tmpNode);
|
|
91638
92808
|
// }
|
|
91639
92809
|
}
|
|
91640
92810
|
//像素转毫米
|
|
@@ -197144,8 +198314,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
197144
198314
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
197145
198315
|
|
|
197146
198316
|
var map = {
|
|
197147
|
-
"./ControlModal.vue":
|
|
197148
|
-
"./barCode/BarCodes.vue":
|
|
198317
|
+
"./ControlModal.vue": 77004,
|
|
198318
|
+
"./barCode/BarCodes.vue": 2062,
|
|
197149
198319
|
"./colorPicker/HoColorPicker.vue": 91351,
|
|
197150
198320
|
"./colorPicker/HoColorPickers.vue": 84214,
|
|
197151
198321
|
"./commentDialog/CommentDialog.vue": 95513,
|
|
@@ -197166,25 +198336,27 @@ var map = {
|
|
|
197166
198336
|
"./poperTipText/PoperTipText.vue": 36081,
|
|
197167
198337
|
"./popers/Poper.vue": 57937,
|
|
197168
198338
|
"./popers/Title.vue": 89987,
|
|
197169
|
-
"./printstyle/PrintLineStyle.vue":
|
|
197170
|
-
"./qrCode/QrCode.vue":
|
|
197171
|
-
"./radioCheckBox/RadioCheckbox.vue":
|
|
198339
|
+
"./printstyle/PrintLineStyle.vue": 51484,
|
|
198340
|
+
"./qrCode/QrCode.vue": 10978,
|
|
198341
|
+
"./radioCheckBox/RadioCheckbox.vue": 82243,
|
|
197172
198342
|
"./selectDialog/SelectDialog.vue": 59075,
|
|
197173
|
-
"./sign/Sign.vue":
|
|
198343
|
+
"./sign/Sign.vue": 28715,
|
|
197174
198344
|
"./table/TableCellPoper.vue": 61917,
|
|
197175
|
-
"./table/TableCellProperty.vue":
|
|
198345
|
+
"./table/TableCellProperty.vue": 9614,
|
|
197176
198346
|
"./table/TableColProperty.vue": 2116,
|
|
197177
198347
|
"./table/TableForm.vue": 19064,
|
|
197178
198348
|
"./table/TableFormTree.vue": 39703,
|
|
197179
198349
|
"./table/TableFormula.vue": 66591,
|
|
197180
198350
|
"./table/TableProperty.vue": 47130,
|
|
197181
|
-
"./table/TableRowProperty.vue":
|
|
197182
|
-
"./textDialog/TextDialog.vue":
|
|
198351
|
+
"./table/TableRowProperty.vue": 56819,
|
|
198352
|
+
"./textDialog/TextDialog.vue": 49373,
|
|
197183
198353
|
"./textDialog/TextToLabelDialog.vue": 35791,
|
|
198354
|
+
"./textDialog/VerifyTip.vue": 63210,
|
|
197184
198355
|
"./upload/CanvasImageDialog.vue": 94116,
|
|
197185
198356
|
"./upload/HoFabric.vue": 43008,
|
|
197186
198357
|
"./upload/UploadImageDialog.vue": 45580,
|
|
197187
|
-
"./upload/hoFabricRight.vue": 42718
|
|
198358
|
+
"./upload/hoFabricRight.vue": 42718,
|
|
198359
|
+
"./verifyTip/VerifyTip.vue": 51747
|
|
197188
198360
|
};
|
|
197189
198361
|
|
|
197190
198362
|
|
|
@@ -236532,7 +237704,7 @@ var ParagraphNode = __webpack_require__(67945);
|
|
|
236532
237704
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
236533
237705
|
var MarkNode = __webpack_require__(57727);
|
|
236534
237706
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
236535
|
-
/* harmony default export */ var version = ('3.0.
|
|
237707
|
+
/* harmony default export */ var version = ('3.0.80');
|
|
236536
237708
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
236537
237709
|
var PoperTipText = __webpack_require__(36081);
|
|
236538
237710
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -245374,14 +246546,30 @@ var VueController = /*#__PURE__*/function () {
|
|
|
245374
246546
|
*/
|
|
245375
246547
|
}, {
|
|
245376
246548
|
key: "insertQrcode",
|
|
245377
|
-
value: function insertQrcode(operType, id, textContent, type, correctLevel,
|
|
246549
|
+
value: function insertQrcode(operType, id, textContent, type, correctLevel,
|
|
246550
|
+
// dataSourceEnabled: boolean,
|
|
246551
|
+
// dataSource: string,
|
|
246552
|
+
// format: string,
|
|
246553
|
+
// visitPath: string,
|
|
246554
|
+
// isReadOnly: boolean,
|
|
246555
|
+
// autoUpdate: boolean,
|
|
246556
|
+
// execState: string,
|
|
246557
|
+
width, height, name, innerIdentifier, isFillBack) {
|
|
245378
246558
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
245379
246559
|
var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
|
|
245380
246560
|
var startPath = _curDomRange.normalize().startPath;
|
|
245381
246561
|
var endPath = _curDomRange.normalize().endPath;
|
|
245382
246562
|
var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertQrcode */.y.insertQrcode);
|
|
245383
246563
|
if (hoEditorFactory.docTree.changing(changingEvent)) {
|
|
245384
|
-
HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode('add', _curDomRange, id, textContent, type, correctLevel,
|
|
246564
|
+
HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode('add', _curDomRange, id, textContent, type, correctLevel,
|
|
246565
|
+
// dataSourceEnabled,
|
|
246566
|
+
// dataSource,
|
|
246567
|
+
// format,
|
|
246568
|
+
// visitPath,
|
|
246569
|
+
// isReadOnly,
|
|
246570
|
+
// autoUpdate,
|
|
246571
|
+
// execState,
|
|
246572
|
+
width, height, name, innerIdentifier, isFillBack);
|
|
245385
246573
|
}
|
|
245386
246574
|
}
|
|
245387
246575
|
/**
|
|
@@ -245402,14 +246590,30 @@ var VueController = /*#__PURE__*/function () {
|
|
|
245402
246590
|
*/
|
|
245403
246591
|
}, {
|
|
245404
246592
|
key: "updateQrcode",
|
|
245405
|
-
value: function updateQrcode(id, textContent, type, correctLevel,
|
|
246593
|
+
value: function updateQrcode(id, textContent, type, correctLevel,
|
|
246594
|
+
// dataSourceEnabled: boolean,
|
|
246595
|
+
// dataSource: string,
|
|
246596
|
+
// format: string,
|
|
246597
|
+
// visitPath: string,
|
|
246598
|
+
// isReadOnly: boolean,
|
|
246599
|
+
// autoUpdate: boolean,
|
|
246600
|
+
// execState: string,
|
|
246601
|
+
width, height, name, innerIdentifier, isFillBack) {
|
|
245406
246602
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
245407
246603
|
var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
|
|
245408
246604
|
var startPath = _curDomRange.normalize().startPath;
|
|
245409
246605
|
var endPath = _curDomRange.normalize().endPath;
|
|
245410
246606
|
var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateQrcode */.y.updateQrcode);
|
|
245411
246607
|
if (hoEditorFactory.docTree.changing(changingEvent)) {
|
|
245412
|
-
HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode('update', _curDomRange, id, textContent, type, correctLevel,
|
|
246608
|
+
HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode('update', _curDomRange, id, textContent, type, correctLevel,
|
|
246609
|
+
// dataSourceEnabled,
|
|
246610
|
+
// dataSource,
|
|
246611
|
+
// format,
|
|
246612
|
+
// visitPath,
|
|
246613
|
+
// isReadOnly,
|
|
246614
|
+
// autoUpdate,
|
|
246615
|
+
// execState,
|
|
246616
|
+
width, height, name, innerIdentifier, isFillBack);
|
|
245413
246617
|
}
|
|
245414
246618
|
}
|
|
245415
246619
|
/**
|
|
@@ -246570,8 +247774,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
246570
247774
|
*/
|
|
246571
247775
|
}, {
|
|
246572
247776
|
key: "getNodeByID",
|
|
246573
|
-
value: function getNodeByID(scope, id) {
|
|
247777
|
+
value: function getNodeByID(scope, id, type) {
|
|
246574
247778
|
var node = null;
|
|
247779
|
+
var nodeList = [];
|
|
246575
247780
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
246576
247781
|
var iteratesNodes = function iteratesNodes(nodes) {
|
|
246577
247782
|
for (var i = 0; i < nodes.length; i++) {
|
|
@@ -246579,6 +247784,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
246579
247784
|
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
247785
|
if (anode.id === id) {
|
|
246581
247786
|
node = anode;
|
|
247787
|
+
nodeList.push(anode);
|
|
246582
247788
|
break;
|
|
246583
247789
|
}
|
|
246584
247790
|
}
|
|
@@ -246627,6 +247833,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
246627
247833
|
}
|
|
246628
247834
|
}
|
|
246629
247835
|
}
|
|
247836
|
+
if (type === 'array') {
|
|
247837
|
+
return nodeList;
|
|
247838
|
+
}
|
|
246630
247839
|
return node;
|
|
246631
247840
|
}
|
|
246632
247841
|
/**
|
|
@@ -248909,6 +250118,86 @@ var VueController = /*#__PURE__*/function () {
|
|
|
248909
250118
|
}
|
|
248910
250119
|
return updateElementText;
|
|
248911
250120
|
}()
|
|
250121
|
+
}, {
|
|
250122
|
+
key: "updateElementTextById",
|
|
250123
|
+
value: function () {
|
|
250124
|
+
var _updateElementTextById = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee8(id, text) {
|
|
250125
|
+
var nodes, i, node;
|
|
250126
|
+
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee8$(_context8) {
|
|
250127
|
+
while (1) {
|
|
250128
|
+
switch (_context8.prev = _context8.next) {
|
|
250129
|
+
case 0:
|
|
250130
|
+
nodes = this.getNodeByID('all', id, 'array');
|
|
250131
|
+
if (!(nodes.length > 0)) {
|
|
250132
|
+
_context8.next = 27;
|
|
250133
|
+
break;
|
|
250134
|
+
}
|
|
250135
|
+
i = nodes.length - 1;
|
|
250136
|
+
case 3:
|
|
250137
|
+
if (!(i >= 0)) {
|
|
250138
|
+
_context8.next = 25;
|
|
250139
|
+
break;
|
|
250140
|
+
}
|
|
250141
|
+
node = nodes[i];
|
|
250142
|
+
if (!node) {
|
|
250143
|
+
_context8.next = 21;
|
|
250144
|
+
break;
|
|
250145
|
+
}
|
|
250146
|
+
if (!(node instanceof DateTimeNode/* DateTimeNode */.Z || node instanceof DownListNode/* DownListNode */.yF || node instanceof TextInputFieldNode/* TextInputFieldNode */.re)) {
|
|
250147
|
+
_context8.next = 18;
|
|
250148
|
+
break;
|
|
250149
|
+
}
|
|
250150
|
+
if (!(node instanceof TextInputFieldNode/* TextInputFieldNode */.re)) {
|
|
250151
|
+
_context8.next = 10;
|
|
250152
|
+
break;
|
|
250153
|
+
}
|
|
250154
|
+
_context8.next = 10;
|
|
250155
|
+
return node.setFieldText(text);
|
|
250156
|
+
case 10:
|
|
250157
|
+
if (!(node instanceof DateTimeNode/* DateTimeNode */.Z)) {
|
|
250158
|
+
_context8.next = 13;
|
|
250159
|
+
break;
|
|
250160
|
+
}
|
|
250161
|
+
_context8.next = 13;
|
|
250162
|
+
return node.setDateTimeText(text);
|
|
250163
|
+
case 13:
|
|
250164
|
+
if (!(node instanceof DownListNode/* DownListNode */.yF)) {
|
|
250165
|
+
_context8.next = 16;
|
|
250166
|
+
break;
|
|
250167
|
+
}
|
|
250168
|
+
_context8.next = 16;
|
|
250169
|
+
return node.setDownListText(text);
|
|
250170
|
+
case 16:
|
|
250171
|
+
_context8.next = 19;
|
|
250172
|
+
break;
|
|
250173
|
+
case 18:
|
|
250174
|
+
console.warn("\u975E\u6587\u672C\u57DF\u548C\u65E5\u671F\u5143\u7D20");
|
|
250175
|
+
case 19:
|
|
250176
|
+
_context8.next = 22;
|
|
250177
|
+
break;
|
|
250178
|
+
case 21:
|
|
250179
|
+
console.warn('未找到对应的元素');
|
|
250180
|
+
case 22:
|
|
250181
|
+
i--;
|
|
250182
|
+
_context8.next = 3;
|
|
250183
|
+
break;
|
|
250184
|
+
case 25:
|
|
250185
|
+
_context8.next = 28;
|
|
250186
|
+
break;
|
|
250187
|
+
case 27:
|
|
250188
|
+
console.warn('未找到对应的元素');
|
|
250189
|
+
case 28:
|
|
250190
|
+
case "end":
|
|
250191
|
+
return _context8.stop();
|
|
250192
|
+
}
|
|
250193
|
+
}
|
|
250194
|
+
}, _callee8, this);
|
|
250195
|
+
}));
|
|
250196
|
+
function updateElementTextById(_x21, _x22) {
|
|
250197
|
+
return _updateElementTextById.apply(this, arguments);
|
|
250198
|
+
}
|
|
250199
|
+
return updateElementTextById;
|
|
250200
|
+
}()
|
|
248912
250201
|
}, {
|
|
248913
250202
|
key: "updateFirstPageHeader",
|
|
248914
250203
|
value: function updateFirstPageHeader() {
|
|
@@ -249135,56 +250424,56 @@ var VueController = /*#__PURE__*/function () {
|
|
|
249135
250424
|
}, {
|
|
249136
250425
|
key: "getBase64",
|
|
249137
250426
|
value: function () {
|
|
249138
|
-
var _getBase = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function
|
|
250427
|
+
var _getBase = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee9(type, callback) {
|
|
249139
250428
|
var hoEditorFactory, _hoEditorFactory$vueC, curDomRange, endPath, node, htmlText, _hoEditorFactory$vueC2, _curDomRange2, _endPath, _node, base64;
|
|
249140
|
-
return (0,regeneratorRuntime/* default */.Z)().wrap(function
|
|
250429
|
+
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee9$(_context9) {
|
|
249141
250430
|
while (1) {
|
|
249142
|
-
switch (
|
|
250431
|
+
switch (_context9.prev = _context9.next) {
|
|
249143
250432
|
case 0:
|
|
249144
250433
|
hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
249145
250434
|
if (!(type === 'html')) {
|
|
249146
|
-
|
|
250435
|
+
_context9.next = 14;
|
|
249147
250436
|
break;
|
|
249148
250437
|
}
|
|
249149
250438
|
curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
|
|
249150
250439
|
endPath = curDomRange.normalize().endPath;
|
|
249151
250440
|
node = (_hoEditorFactory$vueC = hoEditorFactory.vueController.findNodebyPath(endPath)) === null || _hoEditorFactory$vueC === void 0 ? void 0 : _hoEditorFactory$vueC.node;
|
|
249152
250441
|
if (!(node instanceof SignNode/* SignNode */.N && !node.isTemplate && node.attribute == 1)) {
|
|
249153
|
-
|
|
250442
|
+
_context9.next = 8;
|
|
249154
250443
|
break;
|
|
249155
250444
|
}
|
|
249156
|
-
|
|
250445
|
+
_context9.next = 8;
|
|
249157
250446
|
return this.deleteNode(node);
|
|
249158
250447
|
case 8:
|
|
249159
|
-
|
|
250448
|
+
_context9.next = 10;
|
|
249160
250449
|
return hoEditorFactory.printController.createHtml();
|
|
249161
250450
|
case 10:
|
|
249162
|
-
htmlText =
|
|
249163
|
-
return
|
|
250451
|
+
htmlText = _context9.sent;
|
|
250452
|
+
return _context9.abrupt("return", htmlText);
|
|
249164
250453
|
case 14:
|
|
249165
250454
|
_curDomRange2 = hoEditorFactory.docTree.curDomRange.normalize();
|
|
249166
250455
|
_endPath = _curDomRange2.normalize().endPath;
|
|
249167
250456
|
_node = (_hoEditorFactory$vueC2 = hoEditorFactory.vueController.findNodebyPath(_endPath)) === null || _hoEditorFactory$vueC2 === void 0 ? void 0 : _hoEditorFactory$vueC2.node;
|
|
249168
250457
|
if (!(_node instanceof SignNode/* SignNode */.N && !_node.isTemplate && _node.attribute == 1)) {
|
|
249169
|
-
|
|
250458
|
+
_context9.next = 20;
|
|
249170
250459
|
break;
|
|
249171
250460
|
}
|
|
249172
|
-
|
|
250461
|
+
_context9.next = 20;
|
|
249173
250462
|
return this.deleteNode(_node);
|
|
249174
250463
|
case 20:
|
|
249175
|
-
|
|
250464
|
+
_context9.next = 22;
|
|
249176
250465
|
return hoEditorFactory.printController.createBase64(callback);
|
|
249177
250466
|
case 22:
|
|
249178
|
-
base64 =
|
|
249179
|
-
return
|
|
250467
|
+
base64 = _context9.sent;
|
|
250468
|
+
return _context9.abrupt("return", base64);
|
|
249180
250469
|
case 24:
|
|
249181
250470
|
case "end":
|
|
249182
|
-
return
|
|
250471
|
+
return _context9.stop();
|
|
249183
250472
|
}
|
|
249184
250473
|
}
|
|
249185
|
-
},
|
|
250474
|
+
}, _callee9, this);
|
|
249186
250475
|
}));
|
|
249187
|
-
function getBase64(
|
|
250476
|
+
function getBase64(_x23, _x24) {
|
|
249188
250477
|
return _getBase.apply(this, arguments);
|
|
249189
250478
|
}
|
|
249190
250479
|
return getBase64;
|
|
@@ -250132,6 +251421,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
250132
251421
|
var sign = {
|
|
250133
251422
|
type: 'sign',
|
|
250134
251423
|
signed: false,
|
|
251424
|
+
isVerify: node.otherProperties && node.otherProperties.isVerify ? true : false,
|
|
250135
251425
|
customProperty: {}
|
|
250136
251426
|
};
|
|
250137
251427
|
// 有值的患者签名
|
|
@@ -250179,6 +251469,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
250179
251469
|
var _sign = {
|
|
250180
251470
|
type: 'sign',
|
|
250181
251471
|
signed: false,
|
|
251472
|
+
isVerify: false,
|
|
250182
251473
|
customProperty: {},
|
|
250183
251474
|
position: [rowIndex + 1, colIndex + 1]
|
|
250184
251475
|
};
|
|
@@ -250479,6 +251770,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
250479
251770
|
span: 0,
|
|
250480
251771
|
gridLinesStyle: 0,
|
|
250481
251772
|
gridLinesColor: '#000000,#000000,#000000,#000000',
|
|
251773
|
+
gridLineDisplay: 'true,true,true,true',
|
|
250482
251774
|
isDrawGridlines: true,
|
|
250483
251775
|
cellInnerMargin: '0,0,0.1,0.1',
|
|
250484
251776
|
customProperties: '',
|
|
@@ -250595,6 +251887,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
250595
251887
|
span: node.cellProperty.span,
|
|
250596
251888
|
gridLinesStyle: Number(node.cellProperty.gridLinesStyle),
|
|
250597
251889
|
gridLinesColor: node.cellProperty.gridLinesColor ? node.cellProperty.gridLinesColor.toString() : '#000000,#000000,#000000,#000000',
|
|
251890
|
+
gridLineDisplay: node.cellProperty.gridLineDisplay ? node.cellProperty.gridLineDisplay.toString() : 'true,true,true,true',
|
|
250598
251891
|
isDrawGridlines: node.cellProperty.isDrawGridlines,
|
|
250599
251892
|
cellInnerMargin: node.cellProperty.cellInnerMargin ? node.cellProperty.cellInnerMargin.toString() : '0,0,0.1,0.1',
|
|
250600
251893
|
customProperties: _customProperties3,
|
|
@@ -250623,6 +251916,10 @@ var VueController = /*#__PURE__*/function () {
|
|
|
250623
251916
|
if (cellPropertyJson['gridLinesColor'] === '#000000,#000000,#000000,#000000') {
|
|
250624
251917
|
delete cellPropertyJson['gridLinesColor'];
|
|
250625
251918
|
}
|
|
251919
|
+
} else if (_keysName[_k3] === 'gridLineDisplay') {
|
|
251920
|
+
if (cellPropertyJson['gridLineDisplay'] === 'true,true,true,true') {
|
|
251921
|
+
delete cellPropertyJson['gridLineDisplay'];
|
|
251922
|
+
}
|
|
250626
251923
|
}
|
|
250627
251924
|
// else if (keysName[k] === 'dataSource') {
|
|
250628
251925
|
// if (node.cellProperty.dataSource === undefined || cellPropertyJson['dataSource'] === '') {
|
|
@@ -252775,16 +254072,16 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
252775
254072
|
key: "insertMenstrualHistory",
|
|
252776
254073
|
value: function insertMenstrualHistory(expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge) {
|
|
252777
254074
|
var hoEditorFactorys = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
252778
|
-
hoEditorFactorys.vueController.insertMenstrualHistory(
|
|
254075
|
+
hoEditorFactorys.vueController.insertMenstrualHistory('add', expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge);
|
|
252779
254076
|
}
|
|
252780
254077
|
/**
|
|
252781
|
-
|
|
252782
|
-
|
|
252783
|
-
|
|
252784
|
-
|
|
252785
|
-
|
|
252786
|
-
|
|
252787
|
-
|
|
254078
|
+
* 修改经期史
|
|
254079
|
+
* @param expressionStyle 表达式样式
|
|
254080
|
+
* @param menseDays 经期(天)
|
|
254081
|
+
* @param cycleDays 周期(天)
|
|
254082
|
+
* @param menarcheAge 初潮年龄
|
|
254083
|
+
* @param menoPauseAge 绝经年龄
|
|
254084
|
+
*/
|
|
252788
254085
|
}, {
|
|
252789
254086
|
key: "updateMenstrualHistory",
|
|
252790
254087
|
value: function updateMenstrualHistory(expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge) {
|
|
@@ -252792,31 +254089,31 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
252792
254089
|
hoEditorFactorys.vueController.updateMenstrualHistory(expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge);
|
|
252793
254090
|
}
|
|
252794
254091
|
/**
|
|
252795
|
-
|
|
252796
|
-
|
|
252797
|
-
|
|
252798
|
-
|
|
252799
|
-
|
|
252800
|
-
|
|
252801
|
-
|
|
252802
|
-
|
|
252803
|
-
|
|
254092
|
+
* 插入瞳孔图
|
|
254093
|
+
* @param value1 参数1
|
|
254094
|
+
* @param value2 参数2
|
|
254095
|
+
* @param value3 参数3
|
|
254096
|
+
* @param value4 参数4
|
|
254097
|
+
* @param value5 参数5
|
|
254098
|
+
* @param value6 参数6
|
|
254099
|
+
* @param value7 参数7
|
|
254100
|
+
*/
|
|
252804
254101
|
}, {
|
|
252805
254102
|
key: "insertPupilMap",
|
|
252806
254103
|
value: function insertPupilMap(value1, value2, value3, value4, value5, value6, value7) {
|
|
252807
254104
|
var hoEditorFactorys = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
252808
|
-
hoEditorFactorys.vueController.insertPupilMap(
|
|
254105
|
+
hoEditorFactorys.vueController.insertPupilMap('add', value1, value2, value3, value4, value5, value6, value7);
|
|
252809
254106
|
}
|
|
252810
254107
|
/**
|
|
252811
|
-
|
|
252812
|
-
|
|
252813
|
-
|
|
252814
|
-
|
|
252815
|
-
|
|
252816
|
-
|
|
252817
|
-
|
|
252818
|
-
|
|
252819
|
-
|
|
254108
|
+
* 修改瞳孔图
|
|
254109
|
+
* @param value1 参数1
|
|
254110
|
+
* @param value2 参数2
|
|
254111
|
+
* @param value3 参数3
|
|
254112
|
+
* @param value4 参数4
|
|
254113
|
+
* @param value5 参数5
|
|
254114
|
+
* @param value6 参数6
|
|
254115
|
+
* @param value7 参数7
|
|
254116
|
+
*/
|
|
252820
254117
|
}, {
|
|
252821
254118
|
key: "updatePupilMap",
|
|
252822
254119
|
value: function updatePupilMap(value1, value2, value3, value4, value5, value6, value7) {
|
|
@@ -252824,35 +254121,35 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
252824
254121
|
hoEditorFactorys.vueController.updatePupilMap(value1, value2, value3, value4, value5, value6, value7);
|
|
252825
254122
|
}
|
|
252826
254123
|
/**
|
|
252827
|
-
|
|
252828
|
-
|
|
252829
|
-
|
|
252830
|
-
|
|
252831
|
-
|
|
252832
|
-
|
|
252833
|
-
|
|
252834
|
-
|
|
252835
|
-
|
|
252836
|
-
|
|
252837
|
-
|
|
254124
|
+
* 插入光定位图
|
|
254125
|
+
* @param value1 参数1
|
|
254126
|
+
* @param value2 参数2
|
|
254127
|
+
* @param value3 参数3
|
|
254128
|
+
* @param value4 参数4
|
|
254129
|
+
* @param value5 参数5
|
|
254130
|
+
* @param value6 参数6
|
|
254131
|
+
* @param value7 参数7
|
|
254132
|
+
* @param value8 参数8
|
|
254133
|
+
* @param value9 参数9
|
|
254134
|
+
*/
|
|
252838
254135
|
}, {
|
|
252839
254136
|
key: "insertLightLocation",
|
|
252840
254137
|
value: function insertLightLocation(value1, value2, value3, value4, value5, value6, value7, value8, value9) {
|
|
252841
254138
|
var hoEditorFactorys = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
252842
|
-
hoEditorFactorys.vueController.insertLightLocation(
|
|
254139
|
+
hoEditorFactorys.vueController.insertLightLocation('add', value1, value2, value3, value4, value5, value6, value7, value8, value9);
|
|
252843
254140
|
}
|
|
252844
254141
|
/**
|
|
252845
|
-
|
|
252846
|
-
|
|
252847
|
-
|
|
252848
|
-
|
|
252849
|
-
|
|
252850
|
-
|
|
252851
|
-
|
|
252852
|
-
|
|
252853
|
-
|
|
252854
|
-
|
|
252855
|
-
|
|
254142
|
+
* 修改光定位图
|
|
254143
|
+
* @param value1 参数1
|
|
254144
|
+
* @param value2 参数2
|
|
254145
|
+
* @param value3 参数3
|
|
254146
|
+
* @param value4 参数4
|
|
254147
|
+
* @param value5 参数5
|
|
254148
|
+
* @param value6 参数6
|
|
254149
|
+
* @param value7 参数7
|
|
254150
|
+
* @param value8 参数8
|
|
254151
|
+
* @param value9 参数9
|
|
254152
|
+
*/
|
|
252856
254153
|
}, {
|
|
252857
254154
|
key: "updateLightLocation",
|
|
252858
254155
|
value: function updateLightLocation(value1, value2, value3, value4, value5, value6, value7, value8, value9) {
|
|
@@ -252860,29 +254157,29 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
252860
254157
|
hoEditorFactorys.vueController.updateLightLocation(value1, value2, value3, value4, value5, value6, value7, value8, value9);
|
|
252861
254158
|
}
|
|
252862
254159
|
/**
|
|
252863
|
-
|
|
252864
|
-
|
|
252865
|
-
|
|
252866
|
-
|
|
252867
|
-
|
|
252868
|
-
|
|
252869
|
-
|
|
252870
|
-
|
|
254160
|
+
* 插入胎心图
|
|
254161
|
+
* @param value1 参数1
|
|
254162
|
+
* @param value2 参数2
|
|
254163
|
+
* @param value3 参数3
|
|
254164
|
+
* @param value4 参数4
|
|
254165
|
+
* @param value5 参数5
|
|
254166
|
+
* @param value6 参数6
|
|
254167
|
+
*/
|
|
252871
254168
|
}, {
|
|
252872
254169
|
key: "insertFetalHeartMap",
|
|
252873
254170
|
value: function insertFetalHeartMap(value1, value2, value3, value4, value5, value6) {
|
|
252874
254171
|
var hoEditorFactorys = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
252875
|
-
hoEditorFactorys.vueController.insertFetalHeartMap(
|
|
254172
|
+
hoEditorFactorys.vueController.insertFetalHeartMap('add', value1, value2, value3, value4, value5, value6);
|
|
252876
254173
|
}
|
|
252877
254174
|
/**
|
|
252878
|
-
|
|
252879
|
-
|
|
252880
|
-
|
|
252881
|
-
|
|
252882
|
-
|
|
252883
|
-
|
|
252884
|
-
|
|
252885
|
-
|
|
254175
|
+
* 修改胎心图
|
|
254176
|
+
* @param value1 参数1
|
|
254177
|
+
* @param value2 参数2
|
|
254178
|
+
* @param value3 参数3
|
|
254179
|
+
* @param value4 参数4
|
|
254180
|
+
* @param value5 参数5
|
|
254181
|
+
* @param value6 参数6
|
|
254182
|
+
*/
|
|
252886
254183
|
}, {
|
|
252887
254184
|
key: "updateFetalHeartMap",
|
|
252888
254185
|
value: function updateFetalHeartMap(value1, value2, value3, value4, value5, value6) {
|
|
@@ -252890,25 +254187,25 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
252890
254187
|
hoEditorFactorys.vueController.updateFetalHeartMap(value1, value2, value3, value4, value5, value6);
|
|
252891
254188
|
}
|
|
252892
254189
|
/**
|
|
252893
|
-
|
|
252894
|
-
|
|
252895
|
-
|
|
252896
|
-
|
|
252897
|
-
|
|
252898
|
-
|
|
254190
|
+
* 插入恒牙牙位图
|
|
254191
|
+
* @param topLeftSelected 左上区域选中的值
|
|
254192
|
+
* @param topRightSelected 右上区域选中的值
|
|
254193
|
+
* @param bottomLeftSelected 左下区域选中的值
|
|
254194
|
+
* @param bottomRightSelected 右下区域选中的值
|
|
254195
|
+
*/
|
|
252899
254196
|
}, {
|
|
252900
254197
|
key: "insertPermanentTeethMap",
|
|
252901
254198
|
value: function insertPermanentTeethMap(topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected) {
|
|
252902
254199
|
var hoEditorFactorys = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
252903
|
-
hoEditorFactorys.vueController.insertPermanentTeethMap(
|
|
254200
|
+
hoEditorFactorys.vueController.insertPermanentTeethMap('add', topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
|
|
252904
254201
|
}
|
|
252905
254202
|
/**
|
|
252906
|
-
|
|
252907
|
-
|
|
252908
|
-
|
|
252909
|
-
|
|
252910
|
-
|
|
252911
|
-
|
|
254203
|
+
* 修改恒牙牙位图
|
|
254204
|
+
* @param topLeftSelected 左上区域选中的值
|
|
254205
|
+
* @param topRightSelected 右上区域选中的值
|
|
254206
|
+
* @param bottomLeftSelected 左下区域选中的值
|
|
254207
|
+
* @param bottomRightSelected 右下区域选中的值
|
|
254208
|
+
*/
|
|
252912
254209
|
}, {
|
|
252913
254210
|
key: "updatePermanentTeethMap",
|
|
252914
254211
|
value: function updatePermanentTeethMap(topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected) {
|
|
@@ -252916,25 +254213,25 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
252916
254213
|
hoEditorFactorys.vueController.updatePermanentTeethMap(topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
|
|
252917
254214
|
}
|
|
252918
254215
|
/**
|
|
252919
|
-
|
|
252920
|
-
|
|
252921
|
-
|
|
252922
|
-
|
|
252923
|
-
|
|
252924
|
-
|
|
254216
|
+
* 插入乳牙牙位图
|
|
254217
|
+
* @param topLeftSelected 左上区域选中的值
|
|
254218
|
+
* @param topRightSelected 右上区域选中的值
|
|
254219
|
+
* @param bottomLeftSelected 左下区域选中的值
|
|
254220
|
+
* @param bottomRightSelected 右下区域选中的值
|
|
254221
|
+
*/
|
|
252925
254222
|
}, {
|
|
252926
254223
|
key: "insertPrimaryTeethMap",
|
|
252927
254224
|
value: function insertPrimaryTeethMap(topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected) {
|
|
252928
254225
|
var hoEditorFactorys = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
252929
|
-
hoEditorFactorys.vueController.insertPrimaryTeethMap(
|
|
254226
|
+
hoEditorFactorys.vueController.insertPrimaryTeethMap('add', topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
|
|
252930
254227
|
}
|
|
252931
254228
|
/**
|
|
252932
|
-
|
|
252933
|
-
|
|
252934
|
-
|
|
252935
|
-
|
|
252936
|
-
|
|
252937
|
-
|
|
254229
|
+
* 修改乳牙牙位图
|
|
254230
|
+
* @param topLeftSelected 左上区域选中的值
|
|
254231
|
+
* @param topRightSelected 右上区域选中的值
|
|
254232
|
+
* @param bottomLeftSelected 左下区域选中的值
|
|
254233
|
+
* @param bottomRightSelected 右下区域选中的值
|
|
254234
|
+
*/
|
|
252938
254235
|
}, {
|
|
252939
254236
|
key: "updatePrimaryTeethMap",
|
|
252940
254237
|
value: function updatePrimaryTeethMap(topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected) {
|
|
@@ -252942,97 +254239,97 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
252942
254239
|
hoEditorFactorys.vueController.updatePrimaryTeethMap(topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
|
|
252943
254240
|
}
|
|
252944
254241
|
/**
|
|
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
|
-
|
|
254242
|
+
* 插入文本输入域
|
|
254243
|
+
* @prop valuesObject string ⬇⬇⬇
|
|
254244
|
+
* @params `inputfieldType 枚举类型 InputFieldType(0: text, 1: dropDownList) 输入域类型(默认:0)`
|
|
254245
|
+
* @params `id string 编号ID`
|
|
254246
|
+
* @params `innerIdentifier string 内部标识符`
|
|
254247
|
+
* @params `dataMetaIdentifier string 数据元标识符`
|
|
254248
|
+
* @params `identifierFormat string 表示格式`
|
|
254249
|
+
* @params `text string 域内的编辑文本内容`
|
|
254250
|
+
* @params `name string 域名`
|
|
254251
|
+
* @params `tipText string 提示文本`
|
|
254252
|
+
* @params `readOnlyStatus 枚举类型 ReadOnlyStatus(0: true, 1: false, 2: InheritParentElement继承父元素) 内容只读状态(默认值:1 false)`
|
|
254253
|
+
* @params `fixedWidth number 固定宽度(默认值:0 不限制)`
|
|
254254
|
+
* @params `canModifyContent bool 用户可以直接编辑修改内容(默认值:true)`
|
|
254255
|
+
* @params `isAllowDelete bool 允许删除(默认值:true)`
|
|
254256
|
+
* @params `enableGlobalColor bool 启用全局文本颜色(默认值:true)`
|
|
254257
|
+
* @params `defaultValue string 默认值`
|
|
254258
|
+
* @params `downListProperty object 下拉列表属性 ⬇⬇⬇`
|
|
254259
|
+
* @downListPropertyParam `listItems string 列表项目 [{text: '', value: ''}]`
|
|
254260
|
+
* @downListPropertyParam `source string 来源`
|
|
254261
|
+
* @downListPropertyParam `splitCharacter string 列表项目分隔字符`
|
|
254262
|
+
* @downListPropertyParam `allowMultiSelected bool 允许多选(默认值: false)`
|
|
254263
|
+
* @params `dataVerifyFormat object 数据校验格式 ⬇⬇⬇`
|
|
254264
|
+
* @dataVerifyFormatParam `mustInputValue bool 必须输入,不能为空`
|
|
254265
|
+
* @dataVerifyFormatParam `dataFormat string 数据格式(文本、数值、日期时间)`
|
|
254266
|
+
* @dataVerifyFormatParam `minLength number 文本格式最小长度`
|
|
254267
|
+
* @dataVerifyFormatParam `maxLength number 文本格式最大长度`
|
|
254268
|
+
* @dataVerifyFormatParam `onlyInputInt bool 数值格式 是否只能输入整数`
|
|
254269
|
+
* @dataVerifyFormatParam `minValue number 数值格式 最小值`
|
|
254270
|
+
* @dataVerifyFormatParam `maxValue number 数值格式 最大值`
|
|
254271
|
+
* @dataVerifyFormatParam `maxSmallBits number 数值格式 最大小数位数`
|
|
254272
|
+
* @params `bandDataSource object 数据源 ⬇⬇⬇`
|
|
254273
|
+
* @bandDataSourceParam `dataSourceEnabled bool 数据源绑定设置有效(默认值:true)`
|
|
254274
|
+
* @bandDataSourceParam `dataSource string 数据源`
|
|
254275
|
+
* @bandDataSourceParam `format string 格式化`
|
|
254276
|
+
* @bandDataSourceParam `visitPath string 访问路径`
|
|
254277
|
+
* @bandDataSourceParam `isReadOnly bool 只读 不能回填(默认值:false)`
|
|
254278
|
+
* @bandDataSourceParam `autoUpdate bool 自动更新,当加载文档或者数据源发生改变时自动更新数值(默认值:false)`
|
|
254279
|
+
* @bandDataSourceParam `executeStatus 枚举类型 ExecuteStatus(0: AlwaysExec总是执行, 1:OnlyOneTime只执行一次, 2:NoExec不执行) 执行状态(默认值:0 AlwaysExec)`
|
|
254280
|
+
* @params `customProperty string 自定义属性 example [{text: '', value: ''}]`
|
|
254281
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
254282
|
+
* @param `alignWithBlocked bool 回车是否自动对齐`
|
|
254283
|
+
*/
|
|
252987
254284
|
}, {
|
|
252988
254285
|
key: "insertTextInputField",
|
|
252989
254286
|
value: function insertTextInputField(valuesObject) {
|
|
252990
254287
|
var hoEditorFactorys = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
252991
|
-
var path = hoEditorFactorys.vueController.insertTextInputField(
|
|
254288
|
+
var path = hoEditorFactorys.vueController.insertTextInputField('add', valuesObject);
|
|
252992
254289
|
return path;
|
|
252993
254290
|
}
|
|
252994
254291
|
/**
|
|
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
|
-
|
|
254292
|
+
* 修改文本输入域
|
|
254293
|
+
* @prop valuesObject string ⬇⬇⬇
|
|
254294
|
+
* @params `inputfieldType 枚举类型 InputFieldType(0: text, 1: dropDownList) 输入域类型(默认:0)`
|
|
254295
|
+
* @params `id string 编号ID`
|
|
254296
|
+
* @params `innerIdentifier string 内部标识符`
|
|
254297
|
+
* @params `dataMetaIdentifier string 数据元标识符`
|
|
254298
|
+
* @params `identifierFormat string 表示格式`
|
|
254299
|
+
* @params `text string 域内的编辑文本内容`
|
|
254300
|
+
* @params `name string 域名`
|
|
254301
|
+
* @params `tipText string 提示文本`
|
|
254302
|
+
* @params `readOnlyStatus 枚举类型 ReadOnlyStatus(0: true, 1: false, 2: InheritParentElement继承父元素) 内容只读状态(默认值:1 false)`
|
|
254303
|
+
* @params `fixedWidth number 固定宽度(默认值:0 不限制)`
|
|
254304
|
+
* @params `canModifyContent bool 用户可以直接编辑修改内容(默认值:true)`
|
|
254305
|
+
* @params `isAllowDelete bool 允许删除(默认值:true)`
|
|
254306
|
+
* @params `enableGlobalColor bool 启用全局文本颜色(默认值:true)`
|
|
254307
|
+
* @params `defaultValue string 默认值`
|
|
254308
|
+
* @params `downListProperty object 下拉列表属性 ⬇⬇⬇`
|
|
254309
|
+
* @downListPropertyParam `listItems string 列表项目 [{text: '', value: ''}]`
|
|
254310
|
+
* @downListPropertyParam `source string 来源`
|
|
254311
|
+
* @downListPropertyParam `splitCharacter string 列表项目分隔字符`
|
|
254312
|
+
* @downListPropertyParam `allowMultiSelected bool 允许多选(默认值: false)`
|
|
254313
|
+
* @params `dataVerifyFormat object 数据校验格式 ⬇⬇⬇`
|
|
254314
|
+
* @dataVerifyFormatParam `mustInputValue bool 必须输入,不能为空`
|
|
254315
|
+
* @dataVerifyFormatParam `dataFormat string 数据格式(文本、数值、日期时间)`
|
|
254316
|
+
* @dataVerifyFormatParam `minLength number 文本格式最小长度`
|
|
254317
|
+
* @dataVerifyFormatParam `maxLength number 文本格式最大长度`
|
|
254318
|
+
* @dataVerifyFormatParam `onlyInputInt bool 数值格式 是否只能输入整数`
|
|
254319
|
+
* @dataVerifyFormatParam `minValue number 数值格式 最小值`
|
|
254320
|
+
* @dataVerifyFormatParam `maxValue number 数值格式 最大值`
|
|
254321
|
+
* @dataVerifyFormatParam `maxSmallBits number 数值格式 最大小数位数`
|
|
254322
|
+
* @params `bandDataSource object 数据源 ⬇⬇⬇`
|
|
254323
|
+
* @bandDataSourceParam `dataSourceEnabled bool 数据源绑定设置有效(默认值:true)`
|
|
254324
|
+
* @bandDataSourceParam `dataSource string 数据源`
|
|
254325
|
+
* @bandDataSourceParam `format string 格式化`
|
|
254326
|
+
* @bandDataSourceParam `visitPath string 访问路径`
|
|
254327
|
+
* @bandDataSourceParam `isReadOnly bool 只读 不能回填(默认值:false)`
|
|
254328
|
+
* @bandDataSourceParam `autoUpdate bool 自动更新,当加载文档或者数据源发生改变时自动更新数值(默认值:false)`
|
|
254329
|
+
* @bandDataSourceParam `executeStatus 枚举类型 ExecuteStatus(0: AlwaysExec总是执行, 1:OnlyOneTime只执行一次, 2:NoExec不执行) 执行状态(默认值:0 AlwaysExec)`
|
|
254330
|
+
* @params `customProperty string 自定义属性 example [{text: '', value: ''}]`
|
|
254331
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
254332
|
+
*/
|
|
253036
254333
|
}, {
|
|
253037
254334
|
key: "updateTextInputField",
|
|
253038
254335
|
value: function updateTextInputField(valuesObject) {
|
|
@@ -253040,11 +254337,11 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
253040
254337
|
hoEditorFactorys.vueController.updateTextInputField(valuesObject);
|
|
253041
254338
|
}
|
|
253042
254339
|
/**
|
|
253043
|
-
|
|
253044
|
-
|
|
253045
|
-
|
|
253046
|
-
|
|
253047
|
-
|
|
254340
|
+
* 插入图片
|
|
254341
|
+
* @param imagePath 路径
|
|
254342
|
+
* @param width 宽
|
|
254343
|
+
* @param height 高
|
|
254344
|
+
*/
|
|
253048
254345
|
}, {
|
|
253049
254346
|
key: "insertImage",
|
|
253050
254347
|
value: function insertImage(imagePath, width, height) {
|
|
@@ -253052,30 +254349,30 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
253052
254349
|
hoEditorFactorys.vueController.insertImage(imagePath, width, height);
|
|
253053
254350
|
}
|
|
253054
254351
|
/**
|
|
253055
|
-
|
|
253056
|
-
|
|
253057
|
-
|
|
253058
|
-
|
|
253059
|
-
|
|
253060
|
-
|
|
253061
|
-
|
|
253062
|
-
|
|
253063
|
-
|
|
254352
|
+
* 插入条形码
|
|
254353
|
+
* @param id 编码
|
|
254354
|
+
* @param textContent 文本内容
|
|
254355
|
+
* @param isDisplayText 是否显示文本
|
|
254356
|
+
* @param imagePath 图片路径
|
|
254357
|
+
* @param width 宽
|
|
254358
|
+
* @param height 高
|
|
254359
|
+
* @param bandDataSource 数据源
|
|
254360
|
+
*/
|
|
253064
254361
|
}, {
|
|
253065
254362
|
key: "insertBarcode",
|
|
253066
254363
|
value: function insertBarcode(id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier) {
|
|
253067
254364
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253068
|
-
hoEditorFactory.vueController.insertBarcode(
|
|
254365
|
+
hoEditorFactory.vueController.insertBarcode('add', id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier);
|
|
253069
254366
|
}
|
|
253070
254367
|
/**
|
|
253071
|
-
|
|
253072
|
-
|
|
253073
|
-
|
|
253074
|
-
|
|
253075
|
-
|
|
253076
|
-
|
|
253077
|
-
|
|
253078
|
-
|
|
254368
|
+
* 修改条形码
|
|
254369
|
+
* @param id 编码
|
|
254370
|
+
* @param textContent 文本内容
|
|
254371
|
+
* @param isDisplayText 是否显示文本
|
|
254372
|
+
* @param imagePath 图片路径
|
|
254373
|
+
* @param width 宽
|
|
254374
|
+
* @param height 高
|
|
254375
|
+
*/
|
|
253079
254376
|
}, {
|
|
253080
254377
|
key: "updateBarcode",
|
|
253081
254378
|
value: function updateBarcode(id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier) {
|
|
@@ -253083,93 +254380,125 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
253083
254380
|
hoEditorFactory.vueController.updateBarcode(id, textContent, isDisplayText, imagePath, width, height, bandDataSource, name, innerIdentifier);
|
|
253084
254381
|
}
|
|
253085
254382
|
/**
|
|
253086
|
-
|
|
253087
|
-
|
|
253088
|
-
|
|
253089
|
-
|
|
253090
|
-
|
|
253091
|
-
|
|
253092
|
-
|
|
253093
|
-
|
|
253094
|
-
|
|
253095
|
-
|
|
253096
|
-
|
|
253097
|
-
|
|
253098
|
-
|
|
253099
|
-
|
|
253100
|
-
|
|
254383
|
+
* 插入二维码
|
|
254384
|
+
* @param id 编码
|
|
254385
|
+
* @param textContent 文本内容
|
|
254386
|
+
* @param type 类型
|
|
254387
|
+
* @param correctLevel 纠错能力
|
|
254388
|
+
* @param dataSourceEnabled 数据源绑定设置是否有效
|
|
254389
|
+
* @param dataSource 数据源
|
|
254390
|
+
* @param format 格式化
|
|
254391
|
+
* @param visitPath 访问路径
|
|
254392
|
+
* @param isReadOnly 是否 只读,不能回填
|
|
254393
|
+
* @param autoUpdate 是否 自动更新,当加载文档或者数据源发生改变时自动更新数值
|
|
254394
|
+
* @param execState 执行状态
|
|
254395
|
+
* @param width 宽
|
|
254396
|
+
* @param height 高
|
|
254397
|
+
*/
|
|
253101
254398
|
}, {
|
|
253102
254399
|
key: "insertQrcode",
|
|
253103
|
-
value: function insertQrcode(id, textContent, type, correctLevel,
|
|
254400
|
+
value: function insertQrcode(id, textContent, type, correctLevel,
|
|
254401
|
+
// dataSourceEnabled: boolean,
|
|
254402
|
+
// dataSource: string,
|
|
254403
|
+
// format: string,
|
|
254404
|
+
// visitPath: string,
|
|
254405
|
+
// isReadOnly: boolean,
|
|
254406
|
+
// autoUpdate: boolean,
|
|
254407
|
+
// execState: string,
|
|
254408
|
+
width, height, name, innerIdentifier, isFillBack) {
|
|
253104
254409
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253105
|
-
hoEditorFactory.vueController.insertQrcode(
|
|
254410
|
+
hoEditorFactory.vueController.insertQrcode('add', id, textContent, type, correctLevel,
|
|
254411
|
+
// dataSourceEnabled,
|
|
254412
|
+
// dataSource,
|
|
254413
|
+
// format,
|
|
254414
|
+
// visitPath,
|
|
254415
|
+
// isReadOnly,
|
|
254416
|
+
// autoUpdate,
|
|
254417
|
+
// execState,
|
|
254418
|
+
width, height, name, innerIdentifier, isFillBack);
|
|
253106
254419
|
}
|
|
253107
254420
|
/**
|
|
253108
|
-
|
|
253109
|
-
|
|
253110
|
-
|
|
253111
|
-
|
|
253112
|
-
|
|
253113
|
-
|
|
253114
|
-
|
|
253115
|
-
|
|
253116
|
-
|
|
253117
|
-
|
|
253118
|
-
|
|
253119
|
-
|
|
253120
|
-
|
|
253121
|
-
|
|
253122
|
-
|
|
254421
|
+
* 修改二维码
|
|
254422
|
+
* @param id 编码
|
|
254423
|
+
* @param textContent 文本内容
|
|
254424
|
+
* @param type 类型
|
|
254425
|
+
* @param correctLevel 纠错能力
|
|
254426
|
+
* @param dataSourceEnabled 数据源绑定设置是否有效
|
|
254427
|
+
* @param dataSource 数据源
|
|
254428
|
+
* @param format 格式化
|
|
254429
|
+
* @param visitPath 访问路径
|
|
254430
|
+
* @param isReadOnly 是否 只读,不能回填
|
|
254431
|
+
* @param autoUpdate 是否 自动更新,当加载文档或者数据源发生改变时自动更新数值
|
|
254432
|
+
* @param execState 执行状态
|
|
254433
|
+
* @param width 宽
|
|
254434
|
+
* @param height 高
|
|
254435
|
+
*/
|
|
253123
254436
|
}, {
|
|
253124
254437
|
key: "updateQrcode",
|
|
253125
|
-
value: function updateQrcode(id, textContent, type, correctLevel,
|
|
254438
|
+
value: function updateQrcode(id, textContent, type, correctLevel,
|
|
254439
|
+
// dataSourceEnabled: boolean,
|
|
254440
|
+
// dataSource: string,
|
|
254441
|
+
// format: string,
|
|
254442
|
+
// visitPath: string,
|
|
254443
|
+
// isReadOnly: boolean,
|
|
254444
|
+
// autoUpdate: boolean,
|
|
254445
|
+
// execState: string,
|
|
254446
|
+
width, height, name, innerIdentifier, isFillBack) {
|
|
253126
254447
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253127
|
-
hoEditorFactory.vueController.updateQrcode(id, textContent, type, correctLevel,
|
|
254448
|
+
hoEditorFactory.vueController.updateQrcode(id, textContent, type, correctLevel,
|
|
254449
|
+
// dataSourceEnabled,
|
|
254450
|
+
// dataSource,
|
|
254451
|
+
// format,
|
|
254452
|
+
// visitPath,
|
|
254453
|
+
// isReadOnly,
|
|
254454
|
+
// autoUpdate,
|
|
254455
|
+
// execState,
|
|
254456
|
+
width, height, name, innerIdentifier, isFillBack);
|
|
253128
254457
|
}
|
|
253129
254458
|
/**
|
|
253130
|
-
|
|
253131
|
-
|
|
253132
|
-
|
|
253133
|
-
|
|
253134
|
-
|
|
253135
|
-
|
|
253136
|
-
|
|
253137
|
-
|
|
253138
|
-
|
|
253139
|
-
|
|
253140
|
-
|
|
253141
|
-
|
|
253142
|
-
|
|
253143
|
-
|
|
253144
|
-
|
|
253145
|
-
|
|
253146
|
-
|
|
253147
|
-
|
|
254459
|
+
* 插入单、复选框控件
|
|
254460
|
+
* @params `controlStyle string 控件样式(RadioBox单选框, CheckBox复选框)`
|
|
254461
|
+
* @params `id string 编号ID`
|
|
254462
|
+
* @params `name string 控件名称`
|
|
254463
|
+
* @params `text string 文本值`
|
|
254464
|
+
* @params `title string 标题`
|
|
254465
|
+
* @params `checkCascadeObject string 勾选级联对象`
|
|
254466
|
+
* @params `unCheckCascadeObject string 不勾选级联对象`
|
|
254467
|
+
* @params `tipText string 提示文本`
|
|
254468
|
+
* @params `isAllowDelete bool 是否允许删除(默认值:true)`
|
|
254469
|
+
* @params `groupName string 组名`
|
|
254470
|
+
* @params `isSelected bool 是否勾选(默认值:false)`
|
|
254471
|
+
* @params `boxAlign bool 勾选框左对齐(默认值:true)`
|
|
254472
|
+
* @params `numericValue string 数值`
|
|
254473
|
+
* @params `additionalData string 附加数据`
|
|
254474
|
+
* @params `bandDataSource BandDataSource 数据源`
|
|
254475
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
254476
|
+
*/
|
|
253148
254477
|
}, {
|
|
253149
254478
|
key: "insertRadioAndCheckBox",
|
|
253150
254479
|
value: function insertRadioAndCheckBox(valuesObject) {
|
|
253151
254480
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253152
|
-
hoEditorFactory.vueController.insertRadioAndCheckBox(
|
|
254481
|
+
hoEditorFactory.vueController.insertRadioAndCheckBox('add', valuesObject);
|
|
253153
254482
|
}
|
|
253154
254483
|
/**
|
|
253155
|
-
|
|
253156
|
-
|
|
253157
|
-
|
|
253158
|
-
|
|
253159
|
-
|
|
253160
|
-
|
|
253161
|
-
|
|
253162
|
-
|
|
253163
|
-
|
|
253164
|
-
|
|
253165
|
-
|
|
253166
|
-
|
|
253167
|
-
|
|
253168
|
-
|
|
253169
|
-
|
|
253170
|
-
|
|
253171
|
-
|
|
253172
|
-
|
|
254484
|
+
* 修改单、复选框控件
|
|
254485
|
+
* @params `controlStyle string 控件样式(RadioBox单选框, CheckBox复选框)`
|
|
254486
|
+
* @params `id string 编号ID`
|
|
254487
|
+
* @params `name string 控件名称`
|
|
254488
|
+
* @params `text string 文本值`
|
|
254489
|
+
* @params `title string 标题`
|
|
254490
|
+
* @params `checkCascadeObject string 勾选级联对象`
|
|
254491
|
+
* @params `unCheckCascadeObject string 不勾选级联对象`
|
|
254492
|
+
* @params `tipText string 提示文本`
|
|
254493
|
+
* @params `isAllowDelete bool 是否允许删除(默认值:true)`
|
|
254494
|
+
* @params `groupName string 组名`
|
|
254495
|
+
* @params `isSelected bool 是否勾选(默认值:false)`
|
|
254496
|
+
* @params `boxAlign bool 勾选框左对齐(默认值:true)`
|
|
254497
|
+
* @params `numericValue string 数值`
|
|
254498
|
+
* @params `additionalData string 附加数据`
|
|
254499
|
+
* @params `bandDataSource BandDataSource 数据源`
|
|
254500
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
254501
|
+
*/
|
|
253173
254502
|
}, {
|
|
253174
254503
|
key: "updateRadioAndCheckBox",
|
|
253175
254504
|
value: function updateRadioAndCheckBox(valuesObject) {
|
|
@@ -253177,43 +254506,43 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
253177
254506
|
hoEditorFactory.vueController.updateRadioAndCheckBox(valuesObject);
|
|
253178
254507
|
}
|
|
253179
254508
|
/**
|
|
253180
|
-
|
|
253181
|
-
|
|
253182
|
-
|
|
253183
|
-
|
|
253184
|
-
|
|
253185
|
-
|
|
253186
|
-
|
|
253187
|
-
|
|
253188
|
-
|
|
253189
|
-
|
|
253190
|
-
|
|
253191
|
-
|
|
253192
|
-
|
|
253193
|
-
|
|
253194
|
-
|
|
254509
|
+
* 插入日期时间节点
|
|
254510
|
+
* @prop valuesObject 属性集
|
|
254511
|
+
* @params `id string 编号ID`
|
|
254512
|
+
* @params `innerIdentifier string 内部标识符`
|
|
254513
|
+
* @params `dataMetaIdentifier string 数据元标识符`
|
|
254514
|
+
* @params `identifierFormat string 表示格式`
|
|
254515
|
+
* @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秒`
|
|
254516
|
+
* @params `name string 控件名称`
|
|
254517
|
+
* @params `text string 文本值`
|
|
254518
|
+
* @params `title string 标题`
|
|
254519
|
+
* @params `tipText string 提示文本`
|
|
254520
|
+
* @params `isAllowDelete bool 是否允许删除(默认值:true)`
|
|
254521
|
+
* @params `isReadOnly bool 是否只读(默认值:false)`
|
|
254522
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
254523
|
+
*/
|
|
253195
254524
|
}, {
|
|
253196
254525
|
key: "insertDateTime",
|
|
253197
254526
|
value: function insertDateTime(valuesObject) {
|
|
253198
254527
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253199
|
-
hoEditorFactory.vueController.insertDateTime(
|
|
254528
|
+
hoEditorFactory.vueController.insertDateTime('add', valuesObject);
|
|
253200
254529
|
}
|
|
253201
254530
|
/**
|
|
253202
|
-
|
|
253203
|
-
|
|
253204
|
-
|
|
253205
|
-
|
|
253206
|
-
|
|
253207
|
-
|
|
253208
|
-
|
|
253209
|
-
|
|
253210
|
-
|
|
253211
|
-
|
|
253212
|
-
|
|
253213
|
-
|
|
253214
|
-
|
|
253215
|
-
|
|
253216
|
-
|
|
254531
|
+
* 修改日期时间节点
|
|
254532
|
+
* @prop valuesObject 属性集
|
|
254533
|
+
* @params `id string 编号ID`
|
|
254534
|
+
* @params `innerIdentifier string 内部标识符`
|
|
254535
|
+
* @params `dataMetaIdentifier string 数据元标识符`
|
|
254536
|
+
* @params `identifierFormat string 表示格式`
|
|
254537
|
+
* @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秒`
|
|
254538
|
+
* @params `name string 控件名称`
|
|
254539
|
+
* @params `text string 文本值`
|
|
254540
|
+
* @params `title string 标题`
|
|
254541
|
+
* @params `tipText string 提示文本`
|
|
254542
|
+
* @params `isAllowDelete bool 是否允许删除(默认值:true)`
|
|
254543
|
+
* @params `isReadOnly bool 是否只读(默认值:false)`
|
|
254544
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
254545
|
+
*/
|
|
253217
254546
|
}, {
|
|
253218
254547
|
key: "updateDateTime",
|
|
253219
254548
|
value: function updateDateTime(valuesObject) {
|
|
@@ -253221,47 +254550,47 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
253221
254550
|
hoEditorFactory.vueController.updateDateTime(valuesObject);
|
|
253222
254551
|
}
|
|
253223
254552
|
/**
|
|
253224
|
-
|
|
253225
|
-
|
|
253226
|
-
|
|
253227
|
-
|
|
253228
|
-
|
|
253229
|
-
|
|
253230
|
-
|
|
253231
|
-
|
|
253232
|
-
|
|
253233
|
-
|
|
253234
|
-
|
|
253235
|
-
|
|
253236
|
-
|
|
253237
|
-
|
|
253238
|
-
|
|
253239
|
-
|
|
253240
|
-
|
|
254553
|
+
* 插入下拉列表节点
|
|
254554
|
+
* @prop 属性集
|
|
254555
|
+
* @params `id string 编号ID`
|
|
254556
|
+
* @params `innerIdentifier string 内部标识符`
|
|
254557
|
+
* @params `dataMetaIdentifier string 数据元标识符`
|
|
254558
|
+
* @params `identifierFormat string 表示格式`
|
|
254559
|
+
* @params `name string 控件名称`
|
|
254560
|
+
* @params `text string 文本值`
|
|
254561
|
+
* @params `title string 标题`
|
|
254562
|
+
* @params `tipText string 提示文本`
|
|
254563
|
+
* @params `isAllowDelete bool 是否允许删除(默认值:true)`
|
|
254564
|
+
* @params `isReadOnly bool 是否只读(默认值:false)`
|
|
254565
|
+
* @params `allowMultiSelect bool 允许多选(默认值:false)`
|
|
254566
|
+
* @params `downListContent object[] 列表内容 example [{text: '', value: ''}]`
|
|
254567
|
+
* @params `dataSource object 数据源参数类型参考 文本输入域`
|
|
254568
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
254569
|
+
*/
|
|
253241
254570
|
}, {
|
|
253242
254571
|
key: "insertDownList",
|
|
253243
254572
|
value: function insertDownList(valuesObject, downListContent) {
|
|
253244
254573
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253245
|
-
hoEditorFactory.vueController.insertDownList(
|
|
254574
|
+
hoEditorFactory.vueController.insertDownList('add', valuesObject, downListContent);
|
|
253246
254575
|
}
|
|
253247
254576
|
/**
|
|
253248
|
-
|
|
253249
|
-
|
|
253250
|
-
|
|
253251
|
-
|
|
253252
|
-
|
|
253253
|
-
|
|
253254
|
-
|
|
253255
|
-
|
|
253256
|
-
|
|
253257
|
-
|
|
253258
|
-
|
|
253259
|
-
|
|
253260
|
-
|
|
253261
|
-
|
|
253262
|
-
|
|
253263
|
-
|
|
253264
|
-
|
|
254577
|
+
* 修改下拉列表节点
|
|
254578
|
+
* @prop 属性集
|
|
254579
|
+
* @params `id string 编号ID`
|
|
254580
|
+
* @params `innerIdentifier string 内部标识符`
|
|
254581
|
+
* @params `dataMetaIdentifier string 数据元标识符`
|
|
254582
|
+
* @params `identifierFormat string 表示格式`
|
|
254583
|
+
* @params `name string 控件名称`
|
|
254584
|
+
* @params `text string 文本值`
|
|
254585
|
+
* @params `title string 标题`
|
|
254586
|
+
* @params `tipText string 提示文本`
|
|
254587
|
+
* @params `isAllowDelete bool 是否允许删除(默认值:true)`
|
|
254588
|
+
* @params `isReadOnly bool 是否只读(默认值:false)`
|
|
254589
|
+
* @params `allowMultiSelect bool 允许多选(默认值:false)`
|
|
254590
|
+
* @params `downListContent object[] 列表内容 example [{text: '', value: ''}]`
|
|
254591
|
+
* @params `dataSource object 数据源参数类型参考 文本输入域`
|
|
254592
|
+
* @param `readType number 自动替换(0否 1是)`
|
|
254593
|
+
*/
|
|
253265
254594
|
}, {
|
|
253266
254595
|
key: "updateDownList",
|
|
253267
254596
|
value: function updateDownList(valuesObject, downListContent) {
|
|
@@ -253269,37 +254598,37 @@ var NodeController = /*#__PURE__*/function () {
|
|
|
253269
254598
|
hoEditorFactory.vueController.updateDownList(valuesObject, downListContent);
|
|
253270
254599
|
}
|
|
253271
254600
|
/**
|
|
253272
|
-
|
|
253273
|
-
|
|
253274
|
-
|
|
254601
|
+
* 插入特殊符号
|
|
254602
|
+
* @param chars 字符
|
|
254603
|
+
*/
|
|
253275
254604
|
}, {
|
|
253276
254605
|
key: "insertSpecialChars",
|
|
253277
254606
|
value: function insertSpecialChars(chars) {
|
|
253278
254607
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253279
|
-
hoEditorFactory.vueController.insertSpecialChars(
|
|
254608
|
+
hoEditorFactory.vueController.insertSpecialChars('add', chars);
|
|
253280
254609
|
}
|
|
253281
254610
|
/**
|
|
253282
|
-
|
|
253283
|
-
|
|
253284
|
-
|
|
254611
|
+
* 插入生僻字
|
|
254612
|
+
* @param chars 字符
|
|
254613
|
+
*/
|
|
253285
254614
|
}, {
|
|
253286
254615
|
key: "insertRareChar",
|
|
253287
254616
|
value: function insertRareChar(chars) {
|
|
253288
254617
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253289
|
-
hoEditorFactory.vueController.insertRareChar(
|
|
254618
|
+
hoEditorFactory.vueController.insertRareChar('add', chars);
|
|
253290
254619
|
}
|
|
253291
254620
|
/**
|
|
253292
|
-
|
|
253293
|
-
|
|
253294
|
-
|
|
253295
|
-
|
|
253296
|
-
|
|
253297
|
-
|
|
254621
|
+
* 插入页码 页数
|
|
254622
|
+
* @param operType 操作类型 "add"新增
|
|
254623
|
+
* @param contentType 内容类型:0 页码;1 页数
|
|
254624
|
+
* @param formatType 格式类型:0阿拉伯数字,1中文大写数字
|
|
254625
|
+
* @param autoSetHeight 自动设置行高
|
|
254626
|
+
*/
|
|
253298
254627
|
}, {
|
|
253299
254628
|
key: "insertPageNum",
|
|
253300
254629
|
value: function insertPageNum(contentType, formatType, autoSetHeight) {
|
|
253301
254630
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
253302
|
-
hoEditorFactory.vueController.insertPageNum(
|
|
254631
|
+
hoEditorFactory.vueController.insertPageNum('add', contentType, formatType, autoSetHeight);
|
|
253303
254632
|
}
|
|
253304
254633
|
/**
|
|
253305
254634
|
* 插入分割线
|
|
@@ -257768,7 +259097,7 @@ var HoFooter_component = (0,componentNormalizer/* default */.Z)(
|
|
|
257768
259097
|
|
|
257769
259098
|
/* harmony default export */ var HoFooter = (HoFooter_component.exports);
|
|
257770
259099
|
// EXTERNAL MODULE: ./src/components/controls/ControlModal.vue + 3 modules
|
|
257771
|
-
var ControlModal = __webpack_require__(
|
|
259100
|
+
var ControlModal = __webpack_require__(77004);
|
|
257772
259101
|
// EXTERNAL MODULE: ./src/components/controls/findReplace/FindReplace.vue + 5 modules
|
|
257773
259102
|
var FindReplace = __webpack_require__(25918);
|
|
257774
259103
|
;// CONCATENATED MODULE: ./src/components/controls/findReplace/index.ts
|
|
@@ -265617,7 +266946,6 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265617
266946
|
|
|
265618
266947
|
|
|
265619
266948
|
|
|
265620
|
-
|
|
265621
266949
|
|
|
265622
266950
|
|
|
265623
266951
|
/* harmony default export */ var HoDefaultProvidervue_type_script_lang_js_ = ({
|
|
@@ -265650,21 +266978,20 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265650
266978
|
rightTypeIsTable: false,
|
|
265651
266979
|
// 右键位置是否在表格内
|
|
265652
266980
|
|
|
265653
|
-
isDataSource: false,
|
|
265654
|
-
// 自定义数据源弹窗
|
|
266981
|
+
// isDataSource: false, // 自定义数据源弹窗
|
|
265655
266982
|
isCustoms: false,
|
|
265656
266983
|
// 自定义属性
|
|
265657
266984
|
isTableProperty: false,
|
|
265658
266985
|
// 表格自定义属性
|
|
265659
|
-
dataSource: {
|
|
265660
|
-
|
|
265661
|
-
|
|
265662
|
-
|
|
265663
|
-
|
|
265664
|
-
|
|
265665
|
-
|
|
265666
|
-
|
|
265667
|
-
},
|
|
266986
|
+
// dataSource: {
|
|
266987
|
+
// dataSourceEnabled: true,
|
|
266988
|
+
// dataSource: '',
|
|
266989
|
+
// format: '',
|
|
266990
|
+
// visitPath: '',
|
|
266991
|
+
// isReadOnly: false,
|
|
266992
|
+
// autoUpdate: false,
|
|
266993
|
+
// executeStatus: 0,
|
|
266994
|
+
// },
|
|
265668
266995
|
customsValue: [{
|
|
265669
266996
|
name: '',
|
|
265670
266997
|
value: ''
|
|
@@ -265679,6 +267006,15 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265679
267006
|
listArrSource: '',
|
|
265680
267007
|
// 下拉列表来源
|
|
265681
267008
|
listAllowMultiSelected: false,
|
|
267009
|
+
verifyKewordList: [],
|
|
267010
|
+
// 校验规则提示列表
|
|
267011
|
+
verifyAreaList: [],
|
|
267012
|
+
// 校验范围规则列表
|
|
267013
|
+
verifyType: '',
|
|
267014
|
+
// 校验规则类型
|
|
267015
|
+
isVerifyTip: false,
|
|
267016
|
+
//校验规则提示弹窗
|
|
267017
|
+
|
|
265682
267018
|
updateNodeValue: null,
|
|
265683
267019
|
controlFindType: false,
|
|
265684
267020
|
// 查询替换
|
|
@@ -265706,21 +267042,23 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265706
267042
|
this.expressStyle = express ? express : this.expressStyle;
|
|
265707
267043
|
if (this.controlType === 'express') this.expressStyle === '';
|
|
265708
267044
|
if (this.controlType === '') {
|
|
265709
|
-
this.dataSource = {
|
|
265710
|
-
|
|
265711
|
-
|
|
265712
|
-
|
|
265713
|
-
|
|
265714
|
-
|
|
265715
|
-
|
|
265716
|
-
|
|
265717
|
-
};
|
|
267045
|
+
// this.dataSource = {
|
|
267046
|
+
// dataSourceEnabled: true,
|
|
267047
|
+
// dataSource: '',
|
|
267048
|
+
// format: '',
|
|
267049
|
+
// visitPath: '',
|
|
267050
|
+
// isReadOnly: false,
|
|
267051
|
+
// autoUpdate: false,
|
|
267052
|
+
// executeStatus: 0,
|
|
267053
|
+
// };
|
|
265718
267054
|
this.customsValue = [{
|
|
265719
267055
|
name: '',
|
|
265720
267056
|
value: ''
|
|
265721
267057
|
}];
|
|
265722
267058
|
this.listArrSource = '';
|
|
265723
267059
|
this.listSource = [];
|
|
267060
|
+
this.verifyKewordList = [];
|
|
267061
|
+
this.verifyAreaList = [];
|
|
265724
267062
|
this.rightType = '';
|
|
265725
267063
|
this.updateNodeValue = null;
|
|
265726
267064
|
this.rightNode = null;
|
|
@@ -265748,18 +267086,18 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265748
267086
|
}
|
|
265749
267087
|
if (node instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
265750
267088
|
this.rightType = 'text';
|
|
265751
|
-
this.dataSource = node.bandDataSource;
|
|
267089
|
+
// this.dataSource = node.bandDataSource;
|
|
265752
267090
|
if ((0,type/* isObject */.Kn)(node.customProperty)) this.customPropertyValue = (0,objectSpread2/* default */.Z)({}, node.customProperty);
|
|
265753
267091
|
} else if (node instanceof MarkNode/* MarkNode */.j && node.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
265754
267092
|
var parentNode = node.parentNode;
|
|
265755
267093
|
this.rightType = 'text';
|
|
265756
|
-
this.dataSource = parentNode.bandDataSource;
|
|
267094
|
+
// this.dataSource = parentNode.bandDataSource;
|
|
265757
267095
|
if ((0,type/* isObject */.Kn)(parentNode.customProperty)) this.customPropertyValue = (0,objectSpread2/* default */.Z)({}, parentNode.customProperty);
|
|
265758
267096
|
} else if (node instanceof TextNode/* TextNode */.R) {
|
|
265759
267097
|
var _parentNode = node.parentNode;
|
|
265760
267098
|
if (_parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
265761
267099
|
this.rightType = 'text';
|
|
265762
|
-
this.dataSource =
|
|
267100
|
+
// this.dataSource = parentNode.bandDataSource;
|
|
265763
267101
|
if ((0,type/* isObject */.Kn)(_parentNode.customProperty)) this.customPropertyValue = (0,objectSpread2/* default */.Z)({}, _parentNode.customProperty);
|
|
265764
267102
|
} else if (_parentNode instanceof CellNode/* CellNode */.D) {
|
|
265765
267103
|
this.rightTypeIsTable = true;
|
|
@@ -265779,18 +267117,18 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265779
267117
|
this.rightType = 'barcode';
|
|
265780
267118
|
} else if (node instanceof QrcodeNode/* QrcodeNode */.d) {
|
|
265781
267119
|
this.rightType = 'qrcode';
|
|
265782
|
-
this.dataSource = {
|
|
265783
|
-
|
|
265784
|
-
|
|
265785
|
-
|
|
265786
|
-
|
|
265787
|
-
|
|
265788
|
-
|
|
265789
|
-
|
|
265790
|
-
};
|
|
267120
|
+
// this.dataSource = {
|
|
267121
|
+
// dataSourceEnabled: node.dataSourceEnabled,
|
|
267122
|
+
// dataSource: node.dataSource,
|
|
267123
|
+
// format: node.format,
|
|
267124
|
+
// visitPath: node.visitPath,
|
|
267125
|
+
// isReadOnly: node.isReadOnly,
|
|
267126
|
+
// autoUpdate: node.autoUpdate,
|
|
267127
|
+
// executeStatus: Number(node.execState),
|
|
267128
|
+
// };
|
|
265791
267129
|
} else if (node instanceof RadioAndCheckBoxNode/* RadioAndCheckBoxNode */.Yh) {
|
|
265792
267130
|
this.rightType = node.controlStyle;
|
|
265793
|
-
this.dataSource = node.bandDataSource;
|
|
267131
|
+
// this.dataSource = node.bandDataSource;
|
|
265794
267132
|
} else if (node instanceof ImageNode/* ImageNode */.H) {
|
|
265795
267133
|
this.rightType = 'edit-image';
|
|
265796
267134
|
} else if (node instanceof LabelNode/* LabelNode */.P) {
|
|
@@ -265889,33 +267227,33 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265889
267227
|
/**
|
|
265890
267228
|
* 打开或者关闭 数据源弹窗
|
|
265891
267229
|
*/
|
|
265892
|
-
|
|
265893
|
-
|
|
265894
|
-
},
|
|
267230
|
+
// setIsDataSource(value) {
|
|
267231
|
+
// this.isDataSource = value;
|
|
267232
|
+
// },
|
|
265895
267233
|
/**
|
|
265896
267234
|
* 获取当前元素的数据源
|
|
265897
267235
|
*/
|
|
265898
|
-
|
|
265899
|
-
|
|
265900
|
-
},
|
|
267236
|
+
// getDataSource() {
|
|
267237
|
+
// return this.dataSource;
|
|
267238
|
+
// },
|
|
265901
267239
|
/**
|
|
265902
267240
|
* 打开带有数据源的弹窗前 初始化数据源弹窗中的数据
|
|
265903
267241
|
*/
|
|
265904
|
-
|
|
265905
|
-
|
|
265906
|
-
|
|
265907
|
-
|
|
265908
|
-
|
|
265909
|
-
|
|
265910
|
-
|
|
265911
|
-
|
|
265912
|
-
|
|
265913
|
-
|
|
265914
|
-
|
|
265915
|
-
|
|
265916
|
-
|
|
265917
|
-
|
|
265918
|
-
},
|
|
267242
|
+
// setDataSource(dataSources) {
|
|
267243
|
+
// if (dataSources) {
|
|
267244
|
+
// this.dataSource = { ...dataSources };
|
|
267245
|
+
// } else {
|
|
267246
|
+
// this.dataSource = {
|
|
267247
|
+
// dataSourceEnabled: true,
|
|
267248
|
+
// dataSource: '',
|
|
267249
|
+
// format: '',
|
|
267250
|
+
// visitPath: '',
|
|
267251
|
+
// isReadOnly: false,
|
|
267252
|
+
// autoUpdate: false,
|
|
267253
|
+
// executeStatus: 0,
|
|
267254
|
+
// };
|
|
267255
|
+
// }
|
|
267256
|
+
// },
|
|
265919
267257
|
/**
|
|
265920
267258
|
* 打开或者关闭 自定义属性列表的弹窗
|
|
265921
267259
|
*/
|
|
@@ -265943,6 +267281,28 @@ var HoRightMenu_component = (0,componentNormalizer/* default */.Z)(
|
|
|
265943
267281
|
}
|
|
265944
267282
|
this.listArrSource = source;
|
|
265945
267283
|
},
|
|
267284
|
+
/**
|
|
267285
|
+
* 校验规则和提示
|
|
267286
|
+
*/
|
|
267287
|
+
getVerifyTipList: function getVerifyTipList() {
|
|
267288
|
+
return {
|
|
267289
|
+
list: this.verifyKewordList,
|
|
267290
|
+
areaList: this.verifyAreaList,
|
|
267291
|
+
type: this.verifyType
|
|
267292
|
+
};
|
|
267293
|
+
},
|
|
267294
|
+
setVerifyTipList: function setVerifyTipList(verifyKewordList, verifyType, verifyAreaList) {
|
|
267295
|
+
if (Array.isArray(verifyKewordList)) {
|
|
267296
|
+
this.verifyKewordList = (0,esm_toConsumableArray/* default */.Z)(verifyKewordList);
|
|
267297
|
+
}
|
|
267298
|
+
if (Array.isArray(verifyAreaList)) {
|
|
267299
|
+
this.verifyAreaList = (0,esm_toConsumableArray/* default */.Z)(verifyAreaList);
|
|
267300
|
+
}
|
|
267301
|
+
this.verifyType = verifyType ? verifyType : this.verifyType;
|
|
267302
|
+
},
|
|
267303
|
+
setIsVerifyTip: function setIsVerifyTip(val) {
|
|
267304
|
+
this.isVerifyTip = val;
|
|
267305
|
+
},
|
|
265946
267306
|
/**
|
|
265947
267307
|
* 自定义属性
|
|
265948
267308
|
*/
|