centaline-data-driven 1.5.74 → 1.5.75
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 +1 -1
- package/release-log.md +8 -0
- package/src/Form.vue +2 -2
- package/src/centaline/css/common.css +4 -0
- package/src/centaline/dynamicT/src/dynamicT.vue +1 -1
- package/src/centaline/loader/src/ctl/Form.js +4 -0
- package/src/main.js +5 -5
- package/wwwroot/static/centaline/centaline-data-driven.js +10 -6
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/release-log.md
CHANGED
package/src/Form.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="form-app" class="data-driven" style="width:100%;height:100%;overflow:auto">
|
|
3
3
|
<!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
|
|
4
|
-
<ct-form :api="'/
|
|
4
|
+
<ct-form :api="'/ccesmanage/MOUpgradeRecord/readDetail'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
|
|
5
5
|
<ct-dialog-list></ct-dialog-list>
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
data() {
|
|
13
13
|
return {
|
|
14
14
|
apiParam:{
|
|
15
|
-
"actionType":2
|
|
15
|
+
"actionType":2
|
|
16
16
|
},
|
|
17
17
|
topHeight:10,
|
|
18
18
|
}
|
|
@@ -803,6 +803,10 @@ color: var(--centalinePlaceholder);
|
|
|
803
803
|
.field-top .el-input--mini .el-input__inner{
|
|
804
804
|
height: 26px!important;
|
|
805
805
|
line-height: 26px!important;
|
|
806
|
+
}
|
|
807
|
+
.field-top .new-text .el-input--mini .el-input__inner{
|
|
808
|
+
height: 24px!important;
|
|
809
|
+
line-height: 24px!important;
|
|
806
810
|
}
|
|
807
811
|
.el-input--mini .el-input__inner{
|
|
808
812
|
height: 26px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="field-top">
|
|
3
3
|
<div style="width:100%;" :style="{ display: (model.inputType === 'textarea' ? 'block' : 'flex') }">
|
|
4
|
-
<div v-if="model !== null" class="ct-text ct-flex-div max-flex-div hoverColor" style="flex:1;"
|
|
4
|
+
<div v-if="model !== null" class="new-text ct-text ct-flex-div max-flex-div hoverColor" style="flex:1;"
|
|
5
5
|
:class="[model.showLabel?'el-input-group el-input-group--prepend':'',!valid?'inputError':'',model.attrs.size?'ct-font-size-'+model.attrs.size:'']"
|
|
6
6
|
@mouseover="mouseOverHandle" @mouseout="mouseOutHandle">
|
|
7
7
|
<div v-if="model.showLabel && model.label" class="el-input-group__prepend field-label-div max-input-group" :class="[model.labelClass]">
|
|
@@ -433,6 +433,10 @@ const Form = function (source, callBack, apiParam, failCallBack, isFormList) {
|
|
|
433
433
|
if (typeof currentField.self.$forceUpdate === "function") {
|
|
434
434
|
currentField.self.$forceUpdate();
|
|
435
435
|
}
|
|
436
|
+
if (data.field) {
|
|
437
|
+
data.field.source[attrName] = value;
|
|
438
|
+
data.listData.updateListField(data.listData.$self.$refs.FieldsLabel, data.listData.source.rows[rowNum].$sourceIndex, fiedlId);
|
|
439
|
+
}
|
|
436
440
|
}
|
|
437
441
|
else if (data.field) {
|
|
438
442
|
data.field.source[attrName] = value;
|
package/src/main.js
CHANGED
|
@@ -20,13 +20,13 @@ Vue.use(centaline, {
|
|
|
20
20
|
// baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
|
|
21
21
|
// baseUrl: "http://10.25.10.63:22026/service-api/v1/form/router",
|
|
22
22
|
// baseUrl: "http://10.25.10.67:8080/",
|
|
23
|
-
|
|
23
|
+
baseUrl: "http://10.88.22.42:20403/service-api/v1/form/router",
|
|
24
24
|
// baseUrl: "http://10.88.22.69:8080/api/",
|
|
25
25
|
// baseUrl: "http://10.88.22.40:8080/api/",
|
|
26
26
|
// baseUrl: "http://10.58.2.108:8080/",
|
|
27
|
-
baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
27
|
+
// baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
28
28
|
// baseUrl: "http://tjcpuat.centaline.com.cn:9090/",
|
|
29
|
-
flagRouterSelf: true,
|
|
29
|
+
// flagRouterSelf: true,
|
|
30
30
|
zindex: 999,
|
|
31
31
|
showRequestSuccessMessage: true,
|
|
32
32
|
showRequestErrorMessage: true,
|
|
@@ -62,8 +62,8 @@ Vue.use(centaline, {
|
|
|
62
62
|
// EstateInfo: '{"estateId":"201806071109550C867184E8BCA56EC3","estateName":"C%E5%BE%A1%E6%9E%97%E5%B1%B1%E6%99%AF%E6%A5%BC"}',
|
|
63
63
|
// estateId: '201806071109550C867184E8BCA56EC3',
|
|
64
64
|
|
|
65
|
-
authObject: '{"currentEstate":{},"platform":1,"osVersion":"","clientVersion":"","machineCode":"
|
|
66
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.
|
|
65
|
+
authObject: '{"currentEstate":{},"platform":1,"osVersion":"","clientVersion":"","machineCode":"5ef835681759e8f03f1b0575f89b6395","token":"","random":"LXytrk","time":1699411683024,"sign":"58681c540225cca828714e80c27dee93"}',
|
|
66
|
+
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImYyOTI5ZTRlLThhMTQtNDQ3MC1hOTg3LTkzMmQ3MDhhMmQ5MSJ9.OkwHos3cukPp7PxDLBL0rB_ETrmd7IOvrUOvckBixSwmI7uYPyKph-3QdQmaqSZv_0LZs-oFxvPAQE-Nh7j2Wg',
|
|
67
67
|
};
|
|
68
68
|
},
|
|
69
69
|
// 请求完成事件,可判断是否登录过期执行响应操作
|
|
@@ -58515,6 +58515,10 @@ var Form = function Form(source, callBack, apiParam, failCallBack, isFormList) {
|
|
|
58515
58515
|
if (typeof currentField.self.$forceUpdate === "function") {
|
|
58516
58516
|
currentField.self.$forceUpdate();
|
|
58517
58517
|
}
|
|
58518
|
+
if (data.field) {
|
|
58519
|
+
data.field.source[attrName] = value;
|
|
58520
|
+
data.listData.updateListField(data.listData.$self.$refs.FieldsLabel, data.listData.source.rows[rowNum].$sourceIndex, fiedlId);
|
|
58521
|
+
}
|
|
58518
58522
|
} else if (data.field) {
|
|
58519
58523
|
data.field.source[attrName] = value;
|
|
58520
58524
|
data.listData.updateListField(data.listData.$self.$refs.FieldsLabel, data.listData.source.rows[rowNum].$sourceIndex, fiedlId);
|
|
@@ -78405,7 +78409,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
|
78405
78409
|
"use strict";
|
|
78406
78410
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicT_vue__ = __webpack_require__(352);
|
|
78407
78411
|
/* unused harmony namespace reexport */
|
|
78408
|
-
/* harmony import */ var
|
|
78412
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_593665fb_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicT_vue__ = __webpack_require__(716);
|
|
78409
78413
|
function injectStyle (ssrContext) {
|
|
78410
78414
|
__webpack_require__(709)
|
|
78411
78415
|
}
|
|
@@ -78420,12 +78424,12 @@ var __vue_template_functional__ = false
|
|
|
78420
78424
|
/* styles */
|
|
78421
78425
|
var __vue_styles__ = injectStyle
|
|
78422
78426
|
/* scopeId */
|
|
78423
|
-
var __vue_scopeId__ = "data-v-
|
|
78427
|
+
var __vue_scopeId__ = "data-v-593665fb"
|
|
78424
78428
|
/* moduleIdentifier (server only) */
|
|
78425
78429
|
var __vue_module_identifier__ = null
|
|
78426
78430
|
var Component = normalizeComponent(
|
|
78427
78431
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicT_vue__["a" /* default */],
|
|
78428
|
-
|
|
78432
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_593665fb_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicT_vue__["a" /* default */],
|
|
78429
78433
|
__vue_template_functional__,
|
|
78430
78434
|
__vue_styles__,
|
|
78431
78435
|
__vue_scopeId__,
|
|
@@ -78446,7 +78450,7 @@ var content = __webpack_require__(710);
|
|
|
78446
78450
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
78447
78451
|
if(content.locals) module.exports = content.locals;
|
|
78448
78452
|
// add the styles to the DOM
|
|
78449
|
-
var update = __webpack_require__(3)("
|
|
78453
|
+
var update = __webpack_require__(3)("1ae656c2", content, true, {});
|
|
78450
78454
|
|
|
78451
78455
|
/***/ }),
|
|
78452
78456
|
/* 710 */
|
|
@@ -78458,7 +78462,7 @@ exports = module.exports = __webpack_require__(2)(false);
|
|
|
78458
78462
|
|
|
78459
78463
|
|
|
78460
78464
|
// module
|
|
78461
|
-
exports.push([module.i, ".errorMessageMarginLeft[data-v-
|
|
78465
|
+
exports.push([module.i, ".errorMessageMarginLeft[data-v-593665fb]{margin-left:108px}.hoverColor[data-v-593665fb]:hover{border-color:var(--centalineBlue)}.is-show-Span[data-v-593665fb]{display:none}.hoverColor:hover .is-show-Span[data-v-593665fb]{display:inline-block}.backdrop[data-v-593665fb]{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-593665fb]{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-593665fb]{width:100%}.textarea-box[data-v-593665fb]{border:1px solid var(--bagGray);width:100%;position:relative;border-radius:4px}.textarea-box[data-v-593665fb]:active,.textarea-box[data-v-593665fb]:focus,.textarea-box[data-v-593665fb]:hover{border-color:var(--centalineBlue)!important}.textarea-tip[data-v-593665fb]{margin-left:5px;color:#606266}.textarea-count[data-v-593665fb]{position:absolute;right:10px}.textarea-icon[data-v-593665fb]{background:url(" + escape(__webpack_require__(711)) + ")no-repeat;background-size:100% 100%;width:12px;height:12px;display:inline-block;position:absolute;right:0;bottom:0}", ""]);
|
|
78462
78466
|
|
|
78463
78467
|
// exports
|
|
78464
78468
|
|
|
@@ -78548,7 +78552,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
|
78548
78552
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
78549
78553
|
|
|
78550
78554
|
"use strict";
|
|
78551
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"field-top"},[_c('div',{staticStyle:{"width":"100%"},style:({ display: (_vm.model.inputType === 'textarea' ? 'block' : 'flex') })},[(_vm.model !== null)?_c('div',{staticClass:"ct-text ct-flex-div max-flex-div hoverColor",class:[_vm.model.showLabel?'el-input-group el-input-group--prepend':'',!_vm.valid?'inputError':'',_vm.model.attrs.size?'ct-font-size-'+_vm.model.attrs.size:''],staticStyle:{"flex":"1"},on:{"mouseover":_vm.mouseOverHandle,"mouseout":_vm.mouseOutHandle}},[(_vm.model.showLabel && _vm.model.label)?_c('div',{staticClass:"el-input-group__prepend field-label-div max-input-group",class:[_vm.model.labelClass]},[_c('span',[_vm._v(_vm._s(_vm.model.label))])]):_vm._e(),_vm._v(" "),(_vm.model.preLabel)?_c('div',[_c('span',{domProps:{"innerHTML":_vm._s(_vm.model.preLabel)}})]):_vm._e(),_vm._v(" "),(_vm.model.autoFill && _vm.model.paramName)?_c('el-popover',{staticClass:"autoFill",attrs:{"placement":"bottom-start","trigger":'manual'},model:{value:(_vm.showDrop),callback:function ($$v) {_vm.showDrop=$$v},expression:"showDrop"}},[_c('div',[_c('ctSelectOptionVertical',{attrs:{"model":_vm.model},on:{"click":function($event){_vm.selectOption($event)}}})],1),_vm._v(" "),_c('el-input',_vm._b({ref:"input",staticClass:"ct-flex-div-input max-input",class:[_vm.model.showLabel?'showLabel':'',!_vm.valid?'inputError':'',_vm.model.forbiddenWords?'inputHighlights':''],staticStyle:{"z-index":"3","background-color":"transparent"},attrs:{"slot":"reference","title":_vm.model.lock?_vm.model.value:'',"type":_vm.model.inputType,"disabled":_vm.model.lock,"rows":_vm.model.rows,"resize":_vm.model.forbiddenWords?'none':'vertical',"readonly":_vm.model.readonly,"show-password":_vm.model.isPassword,"autocomplete":"on","maxlength":_vm.model.max,"show-word-limit":_vm.model.showWordLimit},on:{"input":function($event){_vm.inputHandler($event);_vm.showDropHandle();_vm.isShowClear();_vm.applyHighlights()},"change":function($event){_vm.changeHandler($event)}},nativeOn:{"keyup":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }_vm.search()}},slot:"reference",model:{value:(_vm.model.value),callback:function ($$v) {_vm.$set(_vm.model, "value", $$v)},expression:"model.value"}},'el-input',_vm.model.attrs,false),[(_vm.model.unitName)?_c('span',{staticClass:"ct-unitname",class:_vm.showClear?'unitName-20':'unitName-0',attrs:{"slot":"suffix"},slot:"suffix"},[_vm._v(_vm._s(_vm.model.unitName))]):_vm._e(),_vm._v(" "),(!_vm.model.isPassword&&_vm.showClear)?_c('span',{staticClass:"el-input__suffix el-input--mini is-show-Span",class:_vm.model.unitName?'ct-right-10':'ct-right-0',attrs:{"slot":"suffix"},slot:"suffix"},[_c('span',{staticClass:"el-input__suffix-inner ct-close"},[_c('i',{staticClass:"el-select__caret el-input__icon el-icon-circle-close is-show-close",on:{"click":function($event){_vm.clearClickHandle($event)}}})])]):_vm._e()])],1):_c('div',{ref:"input",staticClass:"textarea-box"},[(_vm.model.forbiddenWords)?_c('div',{ref:"highlights",staticClass:"backdrop hoverColor",style:({width:_vm.forbiddenWordsWidth+'px',height:_vm.forbiddenWordsHeight+'px',left:_vm.forbiddenWordsLeft+'px',top:_vm.forbiddenWordsTop+'px'})},[_c('div',{staticClass:"highlights",domProps:{"innerHTML":_vm._s(_vm.forbiddenWordsValue)}})]):_vm._e(),_vm._v(" "),_c('el-input',_vm._b({ref:"inputText",staticClass:"ct-flex-div-input max-input",class:[_vm.model.showLabel?'showLabel':'',!_vm.valid?'inputError':'',_vm.model.forbiddenWords?'inputHighlights':''],staticStyle:{"z-index":"3","background-color":"transparent"},attrs:{"title":_vm.model.lock?_vm.model.value:'',"type":_vm.model.rows==1 ? '':_vm.model.inputType,"disabled":_vm.model.lock,"rows":_vm.model.rows,"readonly":_vm.model.readonly,"show-password":_vm.model.isPassword,"autocomplete":"on","maxlength":_vm.model.max},on:{"input":function($event){_vm.inputHandler($event);_vm.isShowClear();_vm.applyHighlights()},"change":function($event){_vm.changeHandler($event)}},nativeOn:{"keyup":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }_vm.search()}},model:{value:(_vm.model.value),callback:function ($$v) {_vm.$set(_vm.model, "value", $$v)},expression:"model.value"}},'el-input',_vm.model.attrs,false),[(_vm.model.unitName)?_c('span',{staticClass:"ct-unitname",class:_vm.showClear?'unitName-20':'unitName-0',attrs:{"slot":"suffix"},slot:"suffix"},[_vm._v(_vm._s(_vm.model.unitName))]):_vm._e(),_vm._v(" "),(!_vm.model.isPassword&&_vm.showClear)?_c('span',{staticClass:"el-input__suffix el-input--mini is-show-Span",class:_vm.model.unitName?'ct-right-10':'ct-right-0',attrs:{"slot":"suffix"},slot:"suffix"},[_c('span',{staticClass:"el-input__suffix-inner ct-close"},[_c('i',{staticClass:"el-select__caret el-input__icon el-icon-circle-close is-show-close",on:{"click":function($event){_vm.clearClickHandle($event)}}})])]):_vm._e()]),_vm._v(" "),(_vm.model.inputType === 'textarea' && this.minText)?_c('span',{staticClass:"textarea-tip",domProps:{"innerHTML":_vm._s(_vm.minText)}}):_vm._e(),_vm._v(" "),(_vm.model.showWordLimit)?_c('span',{staticClass:"textarea-count"},[_vm._v(_vm._s(_vm.model.value.length)+"/"+_vm._s(_vm.model.max))]):_vm._e(),_vm._v(" "),(!_vm.model.forbiddenWords)?_c('span',{staticClass:"textarea-icon"}):_vm._e()],1),_vm._v(" "),(_vm.model.sufLabel)?_c('span',{staticClass:"spanMessage ct-flex-div-span"},[_vm._v(_vm._s(_vm.model.sufLabel))]):_vm._e(),_vm._v(" "),(!_vm.model.lock && _vm.model.paramName && !_vm.model.autoFill)?_c('ctQuickInputSos',{staticClass:"ct-flex-div-span",attrs:{"pn":_vm.model.paramName,"action":_vm.api,"flagNew":true,"textValue":_vm.model.value},on:{"click":_vm.quickSelect}}):_vm._e(),_vm._v(" "),(_vm.model.moreActionRouter && !_vm.model.lock)?_c('div',[(_vm.model.moreActionRouter.imgUrl)?_c('img',{staticClass:"ct-tablecurrencyImg ct-tablecurrencyItem",attrs:{"src":_vm.model.moreActionRouter.imgUrl,"title":_vm.model.moreActionRouter.label},on:{"click":function($event){_vm.popupSearchListHandle($event)}}}):_c('el-button',{staticClass:"h26",attrs:{"size":"mini","type":"primary"},on:{"click":function($event){_vm.popupSearchListHandle($event)}}},[_vm._v("\n "+_vm._s(_vm.model.moreActionRouter.label)+"\n ")])],1):_vm._e()],1):_vm._e(),_vm._v(" "),_c('transition',{staticClass:"ct-flex-div-span",attrs:{"name":"el-fade-in"}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.valid),expression:"!valid"}],staticClass:"errorMessage",class:{ 'errorMessageMarginLeft': _vm.model.inputType === 'textarea' }},[_vm._v("\n "+_vm._s(_vm.validMessage)+"\n ")])])],1)])}
|
|
78555
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"field-top"},[_c('div',{staticStyle:{"width":"100%"},style:({ display: (_vm.model.inputType === 'textarea' ? 'block' : 'flex') })},[(_vm.model !== null)?_c('div',{staticClass:"new-text ct-text ct-flex-div max-flex-div hoverColor",class:[_vm.model.showLabel?'el-input-group el-input-group--prepend':'',!_vm.valid?'inputError':'',_vm.model.attrs.size?'ct-font-size-'+_vm.model.attrs.size:''],staticStyle:{"flex":"1"},on:{"mouseover":_vm.mouseOverHandle,"mouseout":_vm.mouseOutHandle}},[(_vm.model.showLabel && _vm.model.label)?_c('div',{staticClass:"el-input-group__prepend field-label-div max-input-group",class:[_vm.model.labelClass]},[_c('span',[_vm._v(_vm._s(_vm.model.label))])]):_vm._e(),_vm._v(" "),(_vm.model.preLabel)?_c('div',[_c('span',{domProps:{"innerHTML":_vm._s(_vm.model.preLabel)}})]):_vm._e(),_vm._v(" "),(_vm.model.autoFill && _vm.model.paramName)?_c('el-popover',{staticClass:"autoFill",attrs:{"placement":"bottom-start","trigger":'manual'},model:{value:(_vm.showDrop),callback:function ($$v) {_vm.showDrop=$$v},expression:"showDrop"}},[_c('div',[_c('ctSelectOptionVertical',{attrs:{"model":_vm.model},on:{"click":function($event){_vm.selectOption($event)}}})],1),_vm._v(" "),_c('el-input',_vm._b({ref:"input",staticClass:"ct-flex-div-input max-input",class:[_vm.model.showLabel?'showLabel':'',!_vm.valid?'inputError':'',_vm.model.forbiddenWords?'inputHighlights':''],staticStyle:{"z-index":"3","background-color":"transparent"},attrs:{"slot":"reference","title":_vm.model.lock?_vm.model.value:'',"type":_vm.model.inputType,"disabled":_vm.model.lock,"rows":_vm.model.rows,"resize":_vm.model.forbiddenWords?'none':'vertical',"readonly":_vm.model.readonly,"show-password":_vm.model.isPassword,"autocomplete":"on","maxlength":_vm.model.max,"show-word-limit":_vm.model.showWordLimit},on:{"input":function($event){_vm.inputHandler($event);_vm.showDropHandle();_vm.isShowClear();_vm.applyHighlights()},"change":function($event){_vm.changeHandler($event)}},nativeOn:{"keyup":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }_vm.search()}},slot:"reference",model:{value:(_vm.model.value),callback:function ($$v) {_vm.$set(_vm.model, "value", $$v)},expression:"model.value"}},'el-input',_vm.model.attrs,false),[(_vm.model.unitName)?_c('span',{staticClass:"ct-unitname",class:_vm.showClear?'unitName-20':'unitName-0',attrs:{"slot":"suffix"},slot:"suffix"},[_vm._v(_vm._s(_vm.model.unitName))]):_vm._e(),_vm._v(" "),(!_vm.model.isPassword&&_vm.showClear)?_c('span',{staticClass:"el-input__suffix el-input--mini is-show-Span",class:_vm.model.unitName?'ct-right-10':'ct-right-0',attrs:{"slot":"suffix"},slot:"suffix"},[_c('span',{staticClass:"el-input__suffix-inner ct-close"},[_c('i',{staticClass:"el-select__caret el-input__icon el-icon-circle-close is-show-close",on:{"click":function($event){_vm.clearClickHandle($event)}}})])]):_vm._e()])],1):_c('div',{ref:"input",staticClass:"textarea-box"},[(_vm.model.forbiddenWords)?_c('div',{ref:"highlights",staticClass:"backdrop hoverColor",style:({width:_vm.forbiddenWordsWidth+'px',height:_vm.forbiddenWordsHeight+'px',left:_vm.forbiddenWordsLeft+'px',top:_vm.forbiddenWordsTop+'px'})},[_c('div',{staticClass:"highlights",domProps:{"innerHTML":_vm._s(_vm.forbiddenWordsValue)}})]):_vm._e(),_vm._v(" "),_c('el-input',_vm._b({ref:"inputText",staticClass:"ct-flex-div-input max-input",class:[_vm.model.showLabel?'showLabel':'',!_vm.valid?'inputError':'',_vm.model.forbiddenWords?'inputHighlights':''],staticStyle:{"z-index":"3","background-color":"transparent"},attrs:{"title":_vm.model.lock?_vm.model.value:'',"type":_vm.model.rows==1 ? '':_vm.model.inputType,"disabled":_vm.model.lock,"rows":_vm.model.rows,"readonly":_vm.model.readonly,"show-password":_vm.model.isPassword,"autocomplete":"on","maxlength":_vm.model.max},on:{"input":function($event){_vm.inputHandler($event);_vm.isShowClear();_vm.applyHighlights()},"change":function($event){_vm.changeHandler($event)}},nativeOn:{"keyup":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }_vm.search()}},model:{value:(_vm.model.value),callback:function ($$v) {_vm.$set(_vm.model, "value", $$v)},expression:"model.value"}},'el-input',_vm.model.attrs,false),[(_vm.model.unitName)?_c('span',{staticClass:"ct-unitname",class:_vm.showClear?'unitName-20':'unitName-0',attrs:{"slot":"suffix"},slot:"suffix"},[_vm._v(_vm._s(_vm.model.unitName))]):_vm._e(),_vm._v(" "),(!_vm.model.isPassword&&_vm.showClear)?_c('span',{staticClass:"el-input__suffix el-input--mini is-show-Span",class:_vm.model.unitName?'ct-right-10':'ct-right-0',attrs:{"slot":"suffix"},slot:"suffix"},[_c('span',{staticClass:"el-input__suffix-inner ct-close"},[_c('i',{staticClass:"el-select__caret el-input__icon el-icon-circle-close is-show-close",on:{"click":function($event){_vm.clearClickHandle($event)}}})])]):_vm._e()]),_vm._v(" "),(_vm.model.inputType === 'textarea' && this.minText)?_c('span',{staticClass:"textarea-tip",domProps:{"innerHTML":_vm._s(_vm.minText)}}):_vm._e(),_vm._v(" "),(_vm.model.showWordLimit)?_c('span',{staticClass:"textarea-count"},[_vm._v(_vm._s(_vm.model.value.length)+"/"+_vm._s(_vm.model.max))]):_vm._e(),_vm._v(" "),(!_vm.model.forbiddenWords)?_c('span',{staticClass:"textarea-icon"}):_vm._e()],1),_vm._v(" "),(_vm.model.sufLabel)?_c('span',{staticClass:"spanMessage ct-flex-div-span"},[_vm._v(_vm._s(_vm.model.sufLabel))]):_vm._e(),_vm._v(" "),(!_vm.model.lock && _vm.model.paramName && !_vm.model.autoFill)?_c('ctQuickInputSos',{staticClass:"ct-flex-div-span",attrs:{"pn":_vm.model.paramName,"action":_vm.api,"flagNew":true,"textValue":_vm.model.value},on:{"click":_vm.quickSelect}}):_vm._e(),_vm._v(" "),(_vm.model.moreActionRouter && !_vm.model.lock)?_c('div',[(_vm.model.moreActionRouter.imgUrl)?_c('img',{staticClass:"ct-tablecurrencyImg ct-tablecurrencyItem",attrs:{"src":_vm.model.moreActionRouter.imgUrl,"title":_vm.model.moreActionRouter.label},on:{"click":function($event){_vm.popupSearchListHandle($event)}}}):_c('el-button',{staticClass:"h26",attrs:{"size":"mini","type":"primary"},on:{"click":function($event){_vm.popupSearchListHandle($event)}}},[_vm._v("\n "+_vm._s(_vm.model.moreActionRouter.label)+"\n ")])],1):_vm._e()],1):_vm._e(),_vm._v(" "),_c('transition',{staticClass:"ct-flex-div-span",attrs:{"name":"el-fade-in"}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.valid),expression:"!valid"}],staticClass:"errorMessage",class:{ 'errorMessageMarginLeft': _vm.model.inputType === 'textarea' }},[_vm._v("\n "+_vm._s(_vm.validMessage)+"\n ")])])],1)])}
|
|
78552
78556
|
var staticRenderFns = []
|
|
78553
78557
|
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
78554
78558
|
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|