index.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. <template>
  2. <!-- 指标详情模态框 -->
  3. <el-dialog :title="title" :visible.sync="openDetail" append-to-body>
  4. <el-form ref="form" :model="form" :rules="rules" label-width="80px">
  5. <el-form-item label-width="100px" label="指标分类编号">
  6. <el-input v-model="form.code"></el-input>
  7. </el-form-item>
  8. <el-form-item label-width="100px" label="指标分类名称">
  9. <el-input v-model="form.name"></el-input>
  10. </el-form-item>
  11. <el-form-item label-width="100px" label="备注">
  12. <el-input type="textarea" v-model="form.remark"></el-input>
  13. </el-form-item>
  14. <el-form-item label-width="100px" prop="status" label="状态">
  15. <el-radio-group v-model="form.status">
  16. <el-radio label="1">启用</el-radio>
  17. <el-radio label="0">不启用</el-radio>
  18. </el-radio-group>
  19. </el-form-item>
  20. </el-form>
  21. <div slot="footer" class="dialog-footer">
  22. <el-button type="primary" @click="submitForm">确 定</el-button>
  23. <el-button @click="cancel">取 消</el-button>
  24. </div>
  25. </el-dialog>
  26. </template>
  27. <script>
  28. export default
  29. </script>
  30. <style lang="scss"></style>