You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.7 KiB

12 months ago
  1. <template>
  2. <view class="main batchExecution">
  3. <view class="pad">
  4. <u--form labelPosition="left" :model="FormData" ref="uForm" labelWidth="160rpx">
  5. <u-form-item label="执行机器" :required="true" @click="$goPage('/pages/sub/batchExecution/selectMachine')">
  6. <u--input v-model="FormData.sex" placeholder="请选择" disabledColor="#ffffff" style="pointer-events: none;"
  7. border="none"></u--input>
  8. <u-icon slot="right" name="arrow-right" ></u-icon>
  9. </u-form-item>
  10. <u-form-item label="执行命令" :required="true">
  11. <view class="blueTxt" @click="$goPage('/pages/sub/batchExecution/selectTemplate')">选择模版</view>
  12. </u-form-item>
  13. <view class="modalBox">
  14. <view class="modalCon"></view>
  15. </view>
  16. <u-form-item label="执行描述" :required="true">
  17. <u--input v-model="FormData.name" border="none" placeholder="请输入"></u--input>
  18. </u-form-item>
  19. </u--form>
  20. </view>
  21. <view class="btn_row">
  22. <view class="btnBg" @click="$goPage('/pages/sub/batchExecution/executionDetails')"> </view>
  23. </view>
  24. </view>
  25. </template>
  26. <script>
  27. export default {
  28. data() {
  29. return {
  30. FormData: {
  31. name: ''
  32. },
  33. }
  34. }
  35. }
  36. </script>
  37. <style>
  38. .batchExecution .u-form-item {
  39. background-color: #ffff;
  40. border-radius: 6rpx;
  41. padding: 0 34rpx;
  42. margin-bottom: 30rpx;
  43. }
  44. </style>
  45. <style lang="scss" scoped>
  46. .btn_row {
  47. padding: 40rpx;
  48. .btnBg {
  49. width: 100%;
  50. }
  51. }
  52. .blueTxt {
  53. color: $themC;
  54. text-align: right;
  55. width: 100%;
  56. }
  57. .pad {
  58. padding: 32rpx;
  59. }
  60. .modalBox {
  61. background-color: #fff;
  62. padding: 0 30rpx 20rpx 30rpx;
  63. transform: translateY(-30rpx);
  64. .modalCon {
  65. width: 100%;
  66. background-color: #f5f5f5;
  67. padding: 20px;
  68. }
  69. }
  70. </style>