centaline-data-driven 1.5.61 → 1.5.62
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/package.json
CHANGED
package/release-log.md
CHANGED
package/src/SearchList.vue
CHANGED
|
@@ -50,11 +50,7 @@
|
|
|
50
50
|
:searchDataApi="'/RightValueList/getListOfSearchModel'">
|
|
51
51
|
</ct-searchlist> -->
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
:searchCategoryApi="'/PropertyPublishList/getLayoutOfSearchCategory'"
|
|
55
|
-
:searchConditionApi="'/PropertyPublishList/getLayoutOfSearchForRET'" :searchStatsApi="'/PropertyPublishList/getListStatsForRET'"
|
|
56
|
-
:searchDataApi="'/PropertyPublishList/getListOfSearchModelForRET'">
|
|
57
|
-
</ct-searchlist> -->
|
|
53
|
+
<ct-searchlist :searchCategoryApi="'/PropertyPublishList/getLayoutOfSearchCategory'" :searchConditionApi="'/PropertyPublishList/getLayoutOfSearchForRET'" :searchStatsApi="'/PropertyPublishList/getListStatsForRET'" :searchDataApi="'/PropertyPublishList/getListOfSearchModelForRET'"></ct-searchlist>
|
|
58
54
|
|
|
59
55
|
<!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
|
|
60
56
|
:searchDataApi="'/PropertyRETList/getListOfSearchModel'"
|
|
@@ -82,7 +78,7 @@
|
|
|
82
78
|
|
|
83
79
|
<!-- <ct-searchlist :searchConditionApi="'/RoleList/getLayoutOfSearch'" :searchStatsApi="'/RoleList/getListStats'" :searchDataApi="'/RoleList/getListOfSearchModel'"></ct-searchlist> -->
|
|
84
80
|
|
|
85
|
-
<ct-searchlist :searchConditionApi="'/TaskList/getLayoutOfSearch'" :searchStatsApi="'/TaskList/getListStats'" :searchDataApi="'/TaskList/getListOfSearchModel'"></ct-searchlist>
|
|
81
|
+
<!-- <ct-searchlist :searchConditionApi="'/TaskList/getLayoutOfSearch'" :searchStatsApi="'/TaskList/getListStats'" :searchDataApi="'/TaskList/getListOfSearchModel'"></ct-searchlist> -->
|
|
86
82
|
|
|
87
83
|
<ct-dialog-list></ct-dialog-list>
|
|
88
84
|
</div>
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
forbiddenWordsHeight:0,
|
|
98
98
|
forbiddenWordsLeft:0,
|
|
99
99
|
forbiddenWordsTop:0,
|
|
100
|
+
forbiddenWordsReg:'',
|
|
100
101
|
showDrop:false,
|
|
101
102
|
searchText:'',
|
|
102
103
|
}
|
|
@@ -121,11 +122,7 @@
|
|
|
121
122
|
// this.minTextLeft=this.$refs.inputText.$el.offsetLeft+10;
|
|
122
123
|
}
|
|
123
124
|
if(this.model.forbiddenWords){
|
|
124
|
-
|
|
125
|
-
if(this.model.moreActionRouter && !this.model.lock){
|
|
126
|
-
inputTextWidth=inputTextWidth-42;
|
|
127
|
-
}
|
|
128
|
-
this.forbiddenWordsWidth=inputTextWidth;
|
|
125
|
+
this.forbiddenWordsWidth=this.$refs.inputText.$el.offsetWidth;
|
|
129
126
|
this.forbiddenWordsHeight=this.$refs.inputText.$el.offsetHeight;
|
|
130
127
|
this.forbiddenWordsLeft=this.$refs.inputText.$el.offsetLeft;
|
|
131
128
|
this.forbiddenWordsTop=this.$refs.inputText.$el.offsetTop;
|
|
@@ -233,10 +230,21 @@
|
|
|
233
230
|
if(self.model.forbiddenWords){
|
|
234
231
|
self.forbiddenWordsValue=self.model.value;
|
|
235
232
|
let joinChar=self.model.joinChar || ',';
|
|
233
|
+
this.forbiddenWordsReg='';
|
|
236
234
|
self.model.forbiddenWords.split(joinChar).forEach(w => {
|
|
235
|
+
if(self.forbiddenWordsValue.indexOf(w)>-1){
|
|
236
|
+
if(this.forbiddenWordsReg==''){
|
|
237
|
+
this.forbiddenWordsReg+='(';
|
|
238
|
+
this.forbiddenWordsReg+=w;
|
|
239
|
+
}
|
|
240
|
+
else{
|
|
241
|
+
this.forbiddenWordsReg+=','+w;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
237
244
|
let reg1=new RegExp(w,'g');
|
|
238
245
|
self.forbiddenWordsValue=self.forbiddenWordsValue.replace(reg1,'<span style="background-color: #ffff00;color: transparent;">'+w+'</span>');
|
|
239
246
|
});
|
|
247
|
+
if(this.forbiddenWordsReg)this.forbiddenWordsReg+=')';
|
|
240
248
|
// let h=this.$refs.input.$el.children[0].offsetHeight;
|
|
241
249
|
// let hs=this.$refs.input.$el.children[0].scrollHeight;
|
|
242
250
|
// let ht=this.$refs.input.$el.children[0].scrollTop;
|
|
@@ -254,10 +262,10 @@
|
|
|
254
262
|
let flag=true;
|
|
255
263
|
if(this.model.forbiddenWords && this.model.value){
|
|
256
264
|
let reg1=new RegExp('#ffff00','g');
|
|
257
|
-
let res=this.forbiddenWordsValue.match(reg1)
|
|
265
|
+
let res=this.forbiddenWordsValue.match(reg1);
|
|
258
266
|
if(res && res.length>0){
|
|
259
267
|
flag=false;
|
|
260
|
-
this.validMessage = (this.validMessage?this.validMessage+" ":"") + "输入文字中包含"+res.length+"个违禁词";
|
|
268
|
+
this.validMessage = (this.validMessage?this.validMessage+" ":"") + "输入文字中包含"+res.length+"个违禁词"+this.forbiddenWordsReg;
|
|
261
269
|
}
|
|
262
270
|
this.valid = flag;
|
|
263
271
|
}
|
|
@@ -32670,6 +32670,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
32670
32670
|
forbiddenWordsHeight: 0,
|
|
32671
32671
|
forbiddenWordsLeft: 0,
|
|
32672
32672
|
forbiddenWordsTop: 0,
|
|
32673
|
+
forbiddenWordsReg: '',
|
|
32673
32674
|
showDrop: false,
|
|
32674
32675
|
searchText: ''
|
|
32675
32676
|
};
|
|
@@ -32692,11 +32693,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
32692
32693
|
// this.minTextLeft=this.$refs.inputText.$el.offsetLeft+10;
|
|
32693
32694
|
}
|
|
32694
32695
|
if (this.model.forbiddenWords) {
|
|
32695
|
-
|
|
32696
|
-
if (this.model.moreActionRouter && !this.model.lock) {
|
|
32697
|
-
inputTextWidth = inputTextWidth - 42;
|
|
32698
|
-
}
|
|
32699
|
-
this.forbiddenWordsWidth = inputTextWidth;
|
|
32696
|
+
this.forbiddenWordsWidth = this.$refs.inputText.$el.offsetWidth;
|
|
32700
32697
|
this.forbiddenWordsHeight = this.$refs.inputText.$el.offsetHeight;
|
|
32701
32698
|
this.forbiddenWordsLeft = this.$refs.inputText.$el.offsetLeft;
|
|
32702
32699
|
this.forbiddenWordsTop = this.$refs.inputText.$el.offsetTop;
|
|
@@ -32796,14 +32793,26 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
32796
32793
|
this.$refs.highlights.scrollTop = scrollTop;
|
|
32797
32794
|
},
|
|
32798
32795
|
applyHighlights: function applyHighlights() {
|
|
32796
|
+
var _this = this;
|
|
32797
|
+
|
|
32799
32798
|
var self = this;
|
|
32800
32799
|
if (self.model.forbiddenWords) {
|
|
32801
32800
|
self.forbiddenWordsValue = self.model.value;
|
|
32802
32801
|
var joinChar = self.model.joinChar || ',';
|
|
32802
|
+
this.forbiddenWordsReg = '';
|
|
32803
32803
|
self.model.forbiddenWords.split(joinChar).forEach(function (w) {
|
|
32804
|
+
if (self.forbiddenWordsValue.indexOf(w) > -1) {
|
|
32805
|
+
if (_this.forbiddenWordsReg == '') {
|
|
32806
|
+
_this.forbiddenWordsReg += '(';
|
|
32807
|
+
_this.forbiddenWordsReg += w;
|
|
32808
|
+
} else {
|
|
32809
|
+
_this.forbiddenWordsReg += ',' + w;
|
|
32810
|
+
}
|
|
32811
|
+
}
|
|
32804
32812
|
var reg1 = new RegExp(w, 'g');
|
|
32805
32813
|
self.forbiddenWordsValue = self.forbiddenWordsValue.replace(reg1, '<span style="background-color: #ffff00;color: transparent;">' + w + '</span>');
|
|
32806
32814
|
});
|
|
32815
|
+
if (this.forbiddenWordsReg) this.forbiddenWordsReg += ')';
|
|
32807
32816
|
// let h=this.$refs.input.$el.children[0].offsetHeight;
|
|
32808
32817
|
// let hs=this.$refs.input.$el.children[0].scrollHeight;
|
|
32809
32818
|
// let ht=this.$refs.input.$el.children[0].scrollTop;
|
|
@@ -32825,7 +32834,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
32825
32834
|
var res = this.forbiddenWordsValue.match(reg1);
|
|
32826
32835
|
if (res && res.length > 0) {
|
|
32827
32836
|
flag = false;
|
|
32828
|
-
this.validMessage = (this.validMessage ? this.validMessage + " " : "") + "输入文字中包含" + res.length + "个违禁词";
|
|
32837
|
+
this.validMessage = (this.validMessage ? this.validMessage + " " : "") + "输入文字中包含" + res.length + "个违禁词" + this.forbiddenWordsReg;
|
|
32829
32838
|
}
|
|
32830
32839
|
this.valid = flag;
|
|
32831
32840
|
}
|
|
@@ -56285,7 +56294,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
|
56285
56294
|
"use strict";
|
|
56286
56295
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicT_vue__ = __webpack_require__(215);
|
|
56287
56296
|
/* unused harmony namespace reexport */
|
|
56288
|
-
/* harmony import */ var
|
|
56297
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_3a6fc9e9_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicT_vue__ = __webpack_require__(568);
|
|
56289
56298
|
function injectStyle (ssrContext) {
|
|
56290
56299
|
__webpack_require__(561)
|
|
56291
56300
|
}
|
|
@@ -56300,12 +56309,12 @@ var __vue_template_functional__ = false
|
|
|
56300
56309
|
/* styles */
|
|
56301
56310
|
var __vue_styles__ = injectStyle
|
|
56302
56311
|
/* scopeId */
|
|
56303
|
-
var __vue_scopeId__ = "data-v-
|
|
56312
|
+
var __vue_scopeId__ = "data-v-3a6fc9e9"
|
|
56304
56313
|
/* moduleIdentifier (server only) */
|
|
56305
56314
|
var __vue_module_identifier__ = null
|
|
56306
56315
|
var Component = normalizeComponent(
|
|
56307
56316
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicT_vue__["a" /* default */],
|
|
56308
|
-
|
|
56317
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_3a6fc9e9_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicT_vue__["a" /* default */],
|
|
56309
56318
|
__vue_template_functional__,
|
|
56310
56319
|
__vue_styles__,
|
|
56311
56320
|
__vue_scopeId__,
|
|
@@ -56326,7 +56335,7 @@ var content = __webpack_require__(562);
|
|
|
56326
56335
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
56327
56336
|
if(content.locals) module.exports = content.locals;
|
|
56328
56337
|
// add the styles to the DOM
|
|
56329
|
-
var update = __webpack_require__(2)("
|
|
56338
|
+
var update = __webpack_require__(2)("df0b65f6", content, true, {});
|
|
56330
56339
|
|
|
56331
56340
|
/***/ }),
|
|
56332
56341
|
/* 562 */
|
|
@@ -56338,7 +56347,7 @@ exports = module.exports = __webpack_require__(1)(false);
|
|
|
56338
56347
|
|
|
56339
56348
|
|
|
56340
56349
|
// module
|
|
56341
|
-
exports.push([module.i, ".errorMessageMarginLeft[data-v-
|
|
56350
|
+
exports.push([module.i, ".errorMessageMarginLeft[data-v-3a6fc9e9]{margin-left:108px}.hoverColor[data-v-3a6fc9e9]:hover{border-color:var(--centalineBlue)}.is-show-Span[data-v-3a6fc9e9]{display:none}.hoverColor:hover .is-show-Span[data-v-3a6fc9e9]{display:inline-block}.backdrop[data-v-3a6fc9e9]{position:absolute;z-index:1;border:none;background-color:#fff;pointer-events:none;overflow-y:auto;border-radius:4px;-webkit-transition:-webkit-transform 1s;transition:-webkit-transform 1s;transition:transform 1s;transition:transform 1s,-webkit-transform 1s}.highlights[data-v-3a6fc9e9]{white-space:pre-wrap;word-wrap:break-word;color:transparent;padding:5px 15px 5px 5px;line-height:1.5;font-family:monospace}.autoFill[data-v-3a6fc9e9]{width:100%}.textarea-box[data-v-3a6fc9e9]{border:1px solid var(--bagGray);width:100%;position:relative;border-radius:4px}.textarea-box[data-v-3a6fc9e9]:active,.textarea-box[data-v-3a6fc9e9]:focus,.textarea-box[data-v-3a6fc9e9]:hover{border-color:var(--centalineBlue)!important}.textarea-tip[data-v-3a6fc9e9]{margin-left:5px;color:#606266}.textarea-count[data-v-3a6fc9e9]{position:absolute;right:10px}.textarea-icon[data-v-3a6fc9e9]{background:url(" + escape(__webpack_require__(563)) + ")no-repeat;background-size:100% 100%;width:12px;height:12px;display:inline-block;position:absolute;right:0;bottom:0}", ""]);
|
|
56342
56351
|
|
|
56343
56352
|
// exports
|
|
56344
56353
|
|