n20-common-lib 2.21.7 → 2.21.9
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/src/components/AdvancedFilter/formItemRender.vue +6 -2
- package/src/components/ApprovalButtons/showOtherAttrNew.vue +5 -1
- package/src/components/HandlingAdvice/index.vue +1 -0
- package/theme/blue.css +1 -1
- package/theme/cctcRed.css +1 -1
- package/theme/green.css +1 -1
- package/theme/lightBlue.css +1 -1
- package/theme/orange.css +1 -1
- package/theme/purple.css +1 -1
- package/theme/red.css +1 -1
- package/theme/yellow.css +1 -1
package/package.json
CHANGED
|
@@ -365,7 +365,9 @@ export default {
|
|
|
365
365
|
ruleErrorHide: item.ruleErrorHide,
|
|
366
366
|
rules: item.rules,
|
|
367
367
|
readonly: item.type === 'search',
|
|
368
|
-
placeholder: item.props && item.props.placeholder ? item.props.placeholder : $lc('请输入')
|
|
368
|
+
placeholder: item.props && item.props.placeholder ? item.props.placeholder : $lc('请输入'),
|
|
369
|
+
maxlength: item.props && item.props.maxlength,
|
|
370
|
+
minlength: item.props && item.props.minlength
|
|
369
371
|
},
|
|
370
372
|
|
|
371
373
|
directives: [
|
|
@@ -779,7 +781,9 @@ export default {
|
|
|
779
781
|
'rule-form': 'ruleValidate',
|
|
780
782
|
rules: item.rules,
|
|
781
783
|
ruleErrorHide: item.ruleErrorHide,
|
|
782
|
-
placeholder: item.props && item.props.placeholder ? item.props.placeholder : $lc('请输入')
|
|
784
|
+
placeholder: item.props && item.props.placeholder ? item.props.placeholder : $lc('请输入'),
|
|
785
|
+
maxlength: item.props && item.props.maxlength,
|
|
786
|
+
minlength: item.props && item.props.minlength
|
|
783
787
|
},
|
|
784
788
|
on: {
|
|
785
789
|
blur: this.handleBlur,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<div v-for="(item, i) in otherAttData" :key="i" class="flex-box flex-v" style="width: 100%; padding: 0 20px">
|
|
14
14
|
<el-form-item
|
|
15
15
|
class="m-r-ss m-b-s"
|
|
16
|
-
label-width="
|
|
16
|
+
:label-width="labelWidth"
|
|
17
17
|
:class="item.cfgHasRemark === '1' ? 'flex-auto' : 'flex-1'"
|
|
18
18
|
:label="item.cfgName"
|
|
19
19
|
>
|
|
@@ -110,6 +110,10 @@
|
|
|
110
110
|
import axios from '../../utils/axios'
|
|
111
111
|
export default {
|
|
112
112
|
props: {
|
|
113
|
+
labelWidth: {
|
|
114
|
+
type: String,
|
|
115
|
+
default: '12em'
|
|
116
|
+
},
|
|
113
117
|
taskId: {
|
|
114
118
|
type: [String, Number],
|
|
115
119
|
default: ''
|