softwareSet.vue 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <template>
  2. <div class="softwareSet">
  3. <h2 style="margin-bottom: 20px;padding-bottom:7px;border-bottom:2px solid #ddd">软件配置</h2>
  4. <section class="section">
  5. <article style="margin-bottom: 50px;">
  6. <h3 class="title">淘汰母猪条件设置</h3>
  7. <el-row type="flex" align="middle">
  8. 日龄超过
  9. <el-col :span="2" style="margin:10px 8px">
  10. <el-input v-model.number="formData.aa" @blur="save"></el-input>
  11. </el-col>的母猪
  12. </el-row>
  13. <el-row type="flex" align="middle">
  14. 分娩胎次超过
  15. <el-col :span="2" style="margin:10px 8px">
  16. <el-input v-model.number="formData.bb" @blur="save"></el-input>
  17. </el-col>的母猪
  18. </el-row>
  19. <el-row type="flex" align="middle">
  20. 连续
  21. <el-col :span="2" style="margin:10px 8px">
  22. <el-input v-model.number="formData.cc" @blur="save"></el-input>
  23. </el-col>胎或者累计
  24. <el-col :span="2" style="margin:10px 8px">
  25. <el-input v-model.number="formData.dd" @blur="save"></el-input>
  26. </el-col>胎以上分娩仔猪在
  27. <el-col :span="2" style="margin:10px 8px">
  28. <el-input v-model.number="formData.ee" @blur="save"></el-input>
  29. </el-col>头以下的母猪
  30. </el-row>
  31. <el-row type="flex" align="middle">
  32. 连续
  33. <el-col :span="2" style="margin:10px 8px">
  34. <el-input v-model.number="formData.ff" @blur="save"></el-input>
  35. </el-col>胎或者累计
  36. <el-col :span="2" style="margin:10px 8px">
  37. <el-input v-model.number="formData.gg" @blur="save"></el-input>
  38. </el-col>胎以上分娩仔猪存活率低于
  39. <el-col :span="2" style="margin:10px 8px">
  40. <el-input v-model="formData.hh" @blur="save"></el-input>
  41. </el-col>% 头以下的母猪
  42. </el-row>
  43. <el-row type="flex" align="middle">
  44. 连续
  45. <el-col :span="2" style="margin:10px 8px">
  46. <el-input v-model.number="formData.ii" @blur="save"></el-input>
  47. </el-col>胎或者累计
  48. <el-col :span="2" style="margin:10px 8px">
  49. <el-input v-model.number="formData.jj" @blur="save"></el-input>
  50. </el-col>胎以上断奶仔猪存活率低于
  51. <el-col :span="2" style="margin:10px 8px">
  52. <el-input v-model="formData.kk" @blur="save"></el-input>
  53. </el-col>% 头以下的母猪
  54. </el-row>
  55. </article>
  56. <article>
  57. <h3 class="title">淘汰母猪条件设置</h3>
  58. <el-row type="flex" align="middle">
  59. 到达预产期前
  60. <el-col :span="2" style="margin:10px 8px">
  61. <el-input v-model.number="formData.ac" @blur="save"></el-input>
  62. </el-col>天提醒关注
  63. </el-row>
  64. <el-row type="flex" align="middle">
  65. 分娩后
  66. <el-col :span="2" style="margin:10px 8px">
  67. <el-input v-model.number="formData.ad" @blur="save"></el-input>
  68. </el-col>天提醒断奶
  69. </el-row>
  70. <el-row type="flex" align="middle">
  71. 断奶后
  72. <el-col :span="2" style="margin:10px 8px">
  73. <el-input v-model.number="formData.ae" @blur="save"></el-input>
  74. </el-col>天提醒转舍
  75. </el-row>
  76. <el-row type="flex" align="middle">
  77. 母猪温度高于
  78. <el-col :span="2" style="margin:10px 8px">
  79. <el-input v-model.number="formData.af" @blur="save"></el-input>
  80. </el-col>℃提醒高温预警
  81. </el-row>
  82. </article>
  83. </section>
  84. </div>
  85. </template>
  86. <script>
  87. export default {
  88. name: "softwareSet",
  89. data() {
  90. return {
  91. formData: {}
  92. };
  93. },
  94. created() {},
  95. methods: {
  96. save() {
  97. console.log(this.formData)
  98. }
  99. }
  100. };
  101. </script>
  102. <style lang="scss" scoped>
  103. .softwareSet {
  104. .section {
  105. width: 800px;
  106. background-color: #eee;
  107. border-radius: 15px;
  108. padding: 30px;
  109. article {
  110. color: #666;
  111. .title {
  112. color: #555;
  113. }
  114. }
  115. }
  116. }
  117. </style>