|
@@ -31,7 +31,7 @@
|
|
|
}
|
|
|
.num {
|
|
|
display: flex;
|
|
|
- /deep/.el-form-item__error{
|
|
|
+ /deep/.el-form-item__error {
|
|
|
width: 100px;
|
|
|
margin-left: -20px;
|
|
|
}
|
|
@@ -204,7 +204,11 @@ it .ql-editor,
|
|
|
:prop="`klScaleParent[${tableIndex}].factor`"
|
|
|
:rules="rules.tableFactor"
|
|
|
>
|
|
|
- <el-input maxlength="6" v-model.number="table.factor" />
|
|
|
+ <el-input
|
|
|
+ type="number"
|
|
|
+ maxlength="6"
|
|
|
+ v-model.number="table.factor"
|
|
|
+ />
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
|
label="常数:"
|
|
@@ -213,7 +217,11 @@ it .ql-editor,
|
|
|
:prop="`klScaleParent[${tableIndex}].constant`"
|
|
|
:rules="rules.tableConstant"
|
|
|
>
|
|
|
- <el-input maxlength="6" v-model.number="table.constant" />
|
|
|
+ <el-input
|
|
|
+ type="number"
|
|
|
+ maxlength="6"
|
|
|
+ v-model.number="table.constant"
|
|
|
+ />
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
|
|
@@ -353,7 +361,7 @@ const defaultDate = {
|
|
|
remark: "",
|
|
|
result: "",
|
|
|
ruleCode: "",
|
|
|
- score: 0,
|
|
|
+ score: null,
|
|
|
status: 0,
|
|
|
textType: 11
|
|
|
};
|
|
@@ -370,7 +378,7 @@ const defaultTable = {
|
|
|
remark: "string",
|
|
|
resultType: 2,
|
|
|
ruleCode: "string",
|
|
|
- score: 0,
|
|
|
+ score: null,
|
|
|
status: 0,
|
|
|
textType: 11
|
|
|
};
|
|
@@ -416,7 +424,7 @@ export default {
|
|
|
remark: "",
|
|
|
result: "",
|
|
|
ruleCode: "",
|
|
|
- score: 0,
|
|
|
+ score: null,
|
|
|
status: 0,
|
|
|
textType: 0
|
|
|
}
|
|
@@ -425,7 +433,7 @@ export default {
|
|
|
remark: "string",
|
|
|
resultType: 2,
|
|
|
ruleCode: "string",
|
|
|
- score: 0,
|
|
|
+ score: "",
|
|
|
status: 0,
|
|
|
textType: 11
|
|
|
}
|
|
@@ -499,7 +507,7 @@ export default {
|
|
|
remark: "string",
|
|
|
result: "string",
|
|
|
ruleCode: "string",
|
|
|
- score: 0,
|
|
|
+ score: null,
|
|
|
status: 0,
|
|
|
textType: 0
|
|
|
}
|
|
@@ -508,7 +516,7 @@ export default {
|
|
|
remark: "string",
|
|
|
resultType: 0,
|
|
|
ruleCode: "string",
|
|
|
- score: 0,
|
|
|
+ score: null,
|
|
|
selectType: 0,
|
|
|
status: 0,
|
|
|
textType: 0
|
|
@@ -677,7 +685,7 @@ export default {
|
|
|
remark: "string",
|
|
|
resultType: 0,
|
|
|
ruleCode: "string",
|
|
|
- score: 0,
|
|
|
+ score: null,
|
|
|
selectType: 0,
|
|
|
status: 0,
|
|
|
textType: 0,
|
|
@@ -718,7 +726,7 @@ export default {
|
|
|
remark: "string",
|
|
|
resultType: 0,
|
|
|
ruleCode: "string",
|
|
|
- score: 0,
|
|
|
+ score: null,
|
|
|
selectType: 0,
|
|
|
status: 0,
|
|
|
textType: 0
|
|
@@ -730,7 +738,7 @@ export default {
|
|
|
remark: "string",
|
|
|
resultType: 0,
|
|
|
ruleCode: "string",
|
|
|
- score: 0,
|
|
|
+ score: null,
|
|
|
status: 0,
|
|
|
textType: 13
|
|
|
};
|