allocate.html 752 B

12345678910111213141516
  1. {{define "form/allocate"}}
  2. <a-divider style="margin:5px 0 0;">Allocate</a-divider>
  3. <a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
  4. <a-form-item label='strategy'>
  5. <a-select v-model="inbound.allocate.strategy" :dropdown-class-name="themeSwitcher.currentTheme">
  6. <a-select-option v-for="s in ['always','random']" :value="s">[[ s ]]</a-select-option>
  7. </a-select>
  8. </a-form-item>
  9. <a-form-item label='refresh'>
  10. <a-input-number v-model.number="inbound.allocate.refresh" min="0"></a-input-number>
  11. </a-form-item>
  12. <a-form-item label='concurrency'>
  13. <a-input-number v-model.number="inbound.allocate.concurrency" min="0"></a-input-number>
  14. </a-form-item>
  15. </a-form>
  16. {{end}}