|
@@ -50,6 +50,7 @@
|
|
<td class="FeatureNumber" >
|
|
<td class="FeatureNumber" >
|
|
<el-tooltip :disabled="!item.verifyCode&&!item.codeNull&&!item.codeError" class="item" effect="dark" :content="item.verifyCode||item.codeNull||item.codeError" placement="top">
|
|
<el-tooltip :disabled="!item.verifyCode&&!item.codeNull&&!item.codeError" class="item" effect="dark" :content="item.verifyCode||item.codeNull||item.codeError" placement="top">
|
|
<el-input class="groupTextarea"
|
|
<el-input class="groupTextarea"
|
|
|
|
+ ref="textarea"
|
|
type="textarea"
|
|
type="textarea"
|
|
:autosize="{ minRows: 1}"
|
|
:autosize="{ minRows: 1}"
|
|
:class="{borderRed:item.verifyCode||item.codeNull, colorRed: item.codeError}"
|
|
:class="{borderRed:item.verifyCode||item.codeNull, colorRed: item.codeError}"
|
|
@@ -62,7 +63,8 @@
|
|
</td>
|
|
</td>
|
|
<td class="FeatureStand" >
|
|
<td class="FeatureStand" >
|
|
<el-tooltip :disabled="!item.verifyStandard&&!item.standardNull" class="item" effect="dark" :content="item.verifyStandard||item.standardNull" placement="top">
|
|
<el-tooltip :disabled="!item.verifyStandard&&!item.standardNull" class="item" effect="dark" :content="item.verifyStandard||item.standardNull" placement="top">
|
|
- <el-input class="groupTextarea"
|
|
|
|
|
|
+ <el-input class="groupTextarea"
|
|
|
|
+ ref="textarea"
|
|
type="textarea"
|
|
type="textarea"
|
|
:autosize="{ minRows: 1}"
|
|
:autosize="{ minRows: 1}"
|
|
:class="{borderRed:item.verifyStandard||item.standardNull}"
|
|
:class="{borderRed:item.verifyStandard||item.standardNull}"
|
|
@@ -93,6 +95,7 @@
|
|
<td class="FeatureRelate">
|
|
<td class="FeatureRelate">
|
|
<el-tooltip :disabled="!item.verifyRelation&&!item.relationNull" class="item" effect="dark" :content="item.verifyRelation||item.relationNull" placement="top">
|
|
<el-tooltip :disabled="!item.verifyRelation&&!item.relationNull" class="item" effect="dark" :content="item.verifyRelation||item.relationNull" placement="top">
|
|
<el-input class="groupTextarea"
|
|
<el-input class="groupTextarea"
|
|
|
|
+ ref="textarea"
|
|
type="textarea"
|
|
type="textarea"
|
|
:autosize="{ minRows: 1}"
|
|
:autosize="{ minRows: 1}"
|
|
:class="{borderRed:item.verifyRelation|| item.relationNull}"
|
|
:class="{borderRed:item.verifyRelation|| item.relationNull}"
|
|
@@ -145,6 +148,7 @@
|
|
<td class="FeatureResult">
|
|
<td class="FeatureResult">
|
|
<el-tooltip :disabled="!item.verifyResult" class="item" effect="dark" :content="item.verifyResult" placement="top">
|
|
<el-tooltip :disabled="!item.verifyResult" class="item" effect="dark" :content="item.verifyResult" placement="top">
|
|
<el-input class="groupTextarea"
|
|
<el-input class="groupTextarea"
|
|
|
|
+ ref="textarea"
|
|
type="textarea"
|
|
type="textarea"
|
|
:autosize="{ minRows: 1}"
|
|
:autosize="{ minRows: 1}"
|
|
:readonly="item.type!=3"
|
|
:readonly="item.type!=3"
|
|
@@ -321,7 +325,13 @@
|
|
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+ mounted(){
|
|
|
|
+ this.$nextTick(()=>{
|
|
|
|
+ for(let i=0; i <this.$refs.textarea.length; i++) {
|
|
|
|
+ this.$refs.textarea[i].resizeTextarea()
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },
|
|
watch: {
|
|
watch: {
|
|
// searchTagVal(newVal, preVal) {
|
|
// searchTagVal(newVal, preVal) {
|
|
// if(newVal.trim() == ''){
|
|
// if(newVal.trim() == ''){
|