| | |
| | | :show-header="false" |
| | | style="width: 100%" |
| | | > |
| | | <el-table-column prop="formula" width="40"> |
| | | <el-table-column prop="formula" width="120"> |
| | | </el-table-column> |
| | | <el-table-column prop="desc" width="100"> </el-table-column> |
| | | <el-table-column prop="desc" width="200"> </el-table-column> |
| | | </el-table> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="系统变量" name="second"> |
| | |
| | | :show-header="false" |
| | | style="width: 100%" |
| | | > |
| | | <el-table-column prop="formula" width="150"> |
| | | <el-table-column prop="formula" width="200"> |
| | | </el-table-column> |
| | | <el-table-column prop="desc" width="150"> </el-table-column> |
| | | <el-table-column prop="desc" width="200"> </el-table-column> |
| | | </el-table> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | |
| | | |
| | | </el-dialog> |
| | | </template> |
| | | |
| | | |
| | | <script> |
| | | export default { |
| | | name: "formulaEditor", |
| | |
| | | } |
| | | //公式内容回显 |
| | | // 触发update:data将子组件值传递给父组件 |
| | | this.$emit('updateFormulaContent', this.formulaContent) |
| | | this.isShowformulaEdit = false; |
| | | this.$emit('updateFormulaContent', this.formulaContent) |
| | | this.isShowformulaEdit = false; |
| | | }, |
| | | |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | |
| | | <style scoped> |
| | | |
| | | .formula-box-card >>> .el-card__body { |
| | |
| | | height: 85%; |
| | | width: 100%; |
| | | } |
| | | |
| | | |
| | | .formula-editor-total { |
| | | /* margin-top: 3px; */ |
| | | height: 100%; |
| | |
| | | height: auto; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | } |
| | | } |
| | | |
| | | .formula-editor-btn-sm { |
| | | width: 4.5vw; |
| | |
| | | } |
| | | |
| | | </style> |
| | | |