华西海圻ELN前端工程
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.

100 lines
3.3 KiB

  1. <!-- 静置 -->
  2. <template>
  3. <StepFormPackage ref = "stepFormPackageRef" :prefixKey="stepIndex+'_'+'ry_jz'" @resetRecord = "resetRecord" :form-config="formConfig" :formData = "formData" />
  4. </template>
  5. <script>
  6. import StepFormPackage from '@/components/Template/StepFormPackage.vue';
  7. import stepMixins from '@/components/Template/mixins/stepMixins.js';
  8. export default {
  9. mixins: [stepMixins],
  10. props: {
  11. sn: {
  12. type: String,
  13. default: 'jz',
  14. },
  15. },
  16. components: {
  17. StepFormPackage
  18. },
  19. computed: {
  20. formConfig() {
  21. let config = [{
  22. config:{
  23. text1:{
  24. label:"将",
  25. type:"text",
  26. },
  27. sjsr:{
  28. type:"input",
  29. fillType:"preFill",
  30. },
  31. sj:{
  32. type:"sj",
  33. fillType:"actFill",
  34. },
  35. text2:{
  36. label:"放置于",
  37. type:"text",
  38. },
  39. wd:{
  40. type:"select",
  41. options: this.getDictOptions("business_wddw"),
  42. fillType:"actFill",
  43. otherCode:"wdOther"
  44. },
  45. text3:{
  46. label:",条件下静置,静置",
  47. type:"text",
  48. },
  49. jzsj:{
  50. type:"input",
  51. fillType:"preFill",
  52. },
  53. text4:{
  54. type:"text",
  55. label:"静置",
  56. },
  57. startDate: {
  58. type: "input",
  59. fillType: "actFill",
  60. disabled: true,
  61. },
  62. button1:{
  63. type:"button",
  64. buttonName:"开始",
  65. },
  66. text5:{
  67. type:"text",
  68. label:",静置",
  69. },
  70. endDate: {
  71. type: "input",
  72. fillType: "actFill",
  73. disabled: true,
  74. },
  75. button2:{
  76. type:"button",
  77. buttonName:"结束",
  78. },
  79. text6: {
  80. type: "text",
  81. label: "。",
  82. },
  83. }
  84. }]
  85. if(this.sn==='jz_b'){
  86. config[0].config.remark = {
  87. type: "input",
  88. fillType: "actFill",
  89. }
  90. }
  91. return config
  92. }
  93. },
  94. }
  95. </script>
  96. <style lang="scss" scoped>
  97. </style>