| | |
| | | <template> |
| | | <div class="evaluation-model-manage"> |
| | | <fks-row :gutter="20" style="width:100%;height:100%;"> |
| | | <fks-col :span="4" style="height:100%"> |
| | | <fks-row :gutter="10" style="width:100%;height:100%;"> |
| | | <fks-col :span="4" style="width:220px;height:100%"> |
| | | <div class="model-binding-left-box"> |
| | | <titleBox title="评价模型"> |
| | | <template v-slot:right> |
| | | <div class="titleBoxRightSlot"> |
| | | <fks-button style="float: right; padding: 3px 0" @click="addStandardEvaluationModel = true" type="text" icon="fks-icon-plus"></fks-button> |
| | | <fks-button @click="addStandardEvaluationModel = true" type="primary" icon="fks-icon-plus">添加</fks-button> |
| | | </div> |
| | | </template> |
| | | </titleBox> |
| | | <div style="width:100%;height:100%;"> |
| | | <div style="width:100%;"> |
| | | <div class="menu-item" :class="currentMenuIndex==1?'menu-item-active':''" style="width:100%;" @click="currenMenuClick(1)"> |
| | | <span slot="title">泵</span> |
| | | <i class="fks-icon-circle-plus-outline addbtn" @click="editStandardEvaluationModel = true"></i> |
| | |
| | | </div> |
| | | </div> |
| | | </fks-col> |
| | | <fks-col :span="20" style="height:100%;"> |
| | | <fks-col :span="20" style="width:calc(100% - 220px);height:100%;"> |
| | | <div class="model-binding-right-box"> |
| | | <titleBox title="评价项"> |
| | | <template v-slot:right> |
| | | <div class="titleBoxRightSlot"> |
| | | <fks-button style="float: right; padding: 3px 0" @click="addStandardEvaluationOption = true" type="text" icon="fks-icon-plus"></fks-button> |
| | | <fks-button @click="addStandardEvaluationOption = true" type="primary" icon="fks-icon-plus">添加</fks-button> |
| | | </div> |
| | | </template> |
| | | </titleBox> |
| | | <div style="width:100%;height:100%"> |
| | | <fks-table |
| | | border |
| | | max-height="700" |
| | | :data="TableData" |
| | | style="width: 100%"> |
| | | <fks-table-column |
| | |
| | | prop="desc" |
| | | label="说明"> |
| | | </fks-table-column> |
| | | <fks-table-column label="操作"> |
| | | <fks-table-column label="操作" width="80"> |
| | | <template slot-scope="scope"> |
| | | <fks-button |
| | | type="primary" |
| | | type="text" |
| | | size="mini" |
| | | @click="handleEdit(scope.$index, scope.row)">编辑</fks-button> |
| | | </template> |
| | | </fks-table-column> |
| | | </fks-table> |
| | | </div> |
| | | </div> |
| | | </fks-col> |
| | | </fks-row> |
| | |
| | | </fks-form-item> |
| | | </fks-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <fks-button @click="addStandardEvaluationModel = false">取 消</fks-button> |
| | | <fks-button type="primary" @click="addStandardEvaluationModel = false">确 定</fks-button> |
| | | </div> |
| | | </fks-dialog> |
| | |
| | | </fks-form-item> |
| | | </fks-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <fks-button @click="editStandardEvaluationModel = false">取 消</fks-button> |
| | | <fks-button type="primary" @click="editStandardEvaluationModel = false">确 定</fks-button> |
| | | </div> |
| | | </fks-dialog> |
| | |
| | | </fks-form-item> |
| | | </fks-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <fks-button @click="addStandardEvaluationOption = false">取 消</fks-button> |
| | | <fks-button type="primary" @click="addStandardEvaluationOption = false">确 定</fks-button> |
| | | </div> |
| | | </fks-dialog> |
| | |
| | | </fks-form-item> |
| | | </fks-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <fks-button @click="editStandardEvaluationOption = false">取 消</fks-button> |
| | | <fks-button type="primary" @click="editStandardEvaluationOption = false">确 定</fks-button> |
| | | </div> |
| | | </fks-dialog> |
| | |
| | | <style scoped> |
| | | .evaluation-model-manage{ |
| | | width: 100%; |
| | | height: calc(100% - 30px); |
| | | height: calc(100% - 0px); |
| | | } |
| | | .model-binding-left-box{ |
| | | width: 100%; |