|
@@ -149,6 +149,7 @@
|
|
|
<el-input
|
|
|
type="number"
|
|
|
:id="`scoreresultsdatas[${scope.$index}].content.min`"
|
|
|
+ @input="handleInput($event, scope.$index)"
|
|
|
v-model.number="scope.row.content.min"
|
|
|
clearable
|
|
|
placeholder="请输入"
|
|
@@ -172,6 +173,7 @@
|
|
|
<el-input
|
|
|
type="number"
|
|
|
:id="`scoreresultsdatas[${scope.$index}].content.max`"
|
|
|
+ @input="handleInput($event, scope.$index)"
|
|
|
v-model.number="scope.row.content.max"
|
|
|
clearable
|
|
|
placeholder="请输入"
|
|
@@ -238,6 +240,13 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
+ handleInput(val, i) {
|
|
|
+ // `scoreresultsdatas[${scope.$index}].content.min`
|
|
|
+ this.$emit("clearValidate", [
|
|
|
+ `scoreresultsdatas[${i}].content.max`,
|
|
|
+ `scoreresultsdatas[${i}].content.min`
|
|
|
+ ]);
|
|
|
+ },
|
|
|
resizeTable() {
|
|
|
setTimeout(() => {
|
|
|
this.list.forEach((item, index) => {
|