|
@@ -25,11 +25,13 @@
|
|
|
}
|
|
|
.num_box {
|
|
|
margin-left: 50px;
|
|
|
- display: flex;
|
|
|
/deep/ .el-input__inner {
|
|
|
width: 40px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
+ .num{
|
|
|
+ display: flex;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -119,6 +121,9 @@ it .ql-editor,
|
|
|
.btns {
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
+/deep/ .el-input--mini{
|
|
|
+ font-size: 14px;
|
|
|
+}
|
|
|
</style>
|
|
|
<template>
|
|
|
<div class="add_assess">
|
|
@@ -178,23 +183,29 @@ it .ql-editor,
|
|
|
class="num_box"
|
|
|
v-if="table.resultType === 2 && table.textType === 11"
|
|
|
>
|
|
|
- <el-form-item
|
|
|
- label="系数:"
|
|
|
- label-width="70px"
|
|
|
- :prop="`klScaleParent[${tableIndex}].factor`"
|
|
|
- :rules="rules.tableFactor"
|
|
|
- >
|
|
|
- <el-input v-model.trim="table.factor" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item
|
|
|
- label="常数:"
|
|
|
- label-width="70px"
|
|
|
- style="margin-left: 10px"
|
|
|
- :prop="`klScaleParent[${tableIndex}].constant`"
|
|
|
- :rules="rules.tableConstant"
|
|
|
- >
|
|
|
- <el-input v-model.trim="table.constant" />
|
|
|
- </el-form-item>
|
|
|
+ <div class="num">
|
|
|
+ <el-form-item
|
|
|
+ label="系数:"
|
|
|
+ label-width="70px"
|
|
|
+ :prop="`klScaleParent[${tableIndex}].factor`"
|
|
|
+ :rules="rules.tableFactor"
|
|
|
+ >
|
|
|
+ <el-input maxlength="6" v-model.number="table.factor" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item
|
|
|
+ label="常数:"
|
|
|
+ label-width="70px"
|
|
|
+ style="margin-left: 10px"
|
|
|
+ :prop="`klScaleParent[${tableIndex}].constant`"
|
|
|
+ :rules="rules.tableConstant"
|
|
|
+ >
|
|
|
+ <el-input maxlength="6" v-model.number="table.constant" />
|
|
|
+ </el-form-item>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="hint_msg">
|
|
|
+ 注:结果类型修改后已填的所在标题下的内容将会清空
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="move_btn" v-if="scaleData.klScaleParent.length > 1">
|