| | |
| | | <el-table-column prop="valuetype" label="类型" align="center" min-width="150"/> |
| | | <el-table-column prop="" label="值" align="center" min-width="200"> |
| | | <template #default="scope"> |
| | | <el-input size="mini" v-model="scope.row.value" maxlength="1000" |
| | | <el-input v-model="scope.row.value" maxlength="1000" |
| | | :disabled="scope.row.key === 'pyFile'" |
| | | style="width:100%;height:100%"/> |
| | | </template> |
| | |
| | | <template #default="scope"> |
| | | <el-button |
| | | @click="addRow(scope.$index, dataForm.mmModelParamList)" |
| | | type="text" |
| | | size="mini"> |
| | | type="text"> |
| | | 添加 |
| | | </el-button> |
| | | <el-button |
| | | @click="deleteRow(scope.$index, scope.row, dataForm.mmModelParamList)" |
| | | type="text" |
| | | size="mini"> |
| | | type="text"> |
| | | 删除 |
| | | </el-button> |
| | | </template> |
| | |
| | | |
| | | let flag = false |
| | | expressionList.value.forEach((e,index) => { |
| | | if (e.point == undefined || e.point === '' || e.operator == undefined || (e.operator === '' && index != expressionList.value.length - 1)) { |
| | | if (e.point == undefined || e.point === '' || ((e.operator == undefined || e.operator === '') && index != expressionList.value.length - 1)) { |
| | | message.error("表达式数据异常") |
| | | flag = true |
| | | return |