electronicSignature.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <template>
  2. <div class="dianqian martop20">
  3. <el-radio-group v-model="radio">
  4. <el-radio :label="3">施工</el-radio>
  5. <el-radio :label="6">监理</el-radio>
  6. <el-radio :label="9">专家</el-radio>
  7. <el-radio :label="12">业主</el-radio>
  8. </el-radio-group>
  9. <div class="flexBetween martop20">
  10. <el-select
  11. size='mini'
  12. v-model="value"
  13. clearable
  14. placeholder="请选择"
  15. >
  16. <el-option
  17. v-for="item in options"
  18. :key="item.value"
  19. :label="item.label"
  20. :value="item.value"
  21. >
  22. </el-option>
  23. </el-select>
  24. <el-select
  25. size='mini'
  26. v-model="value"
  27. clearable
  28. placeholder="请选择"
  29. >
  30. <el-option
  31. v-for="item in options"
  32. :key="item.value"
  33. :label="item.label"
  34. :value="item.value"
  35. >
  36. </el-option>
  37. </el-select>
  38. <el-button size="mini">保存</el-button>
  39. </div>
  40. <table
  41. class="table martop20"
  42. width='100%'
  43. border='1px '
  44. bordercolor="#E5E5E5"
  45. cellpadding='2px'
  46. >
  47. <thead
  48. cellpadding='2px'
  49. height='40px'
  50. >
  51. <tr>
  52. <th width='40%'>元素位置</th>
  53. <th width='40%'>签字岗位</th>
  54. <th width='20%'>操作</th>
  55. </tr>
  56. </thead>
  57. <tbody height='36px'>
  58. <tr
  59. v-for="(item,key) in setInputTable"
  60. :key="key"
  61. >
  62. <td>{{item.id}}</td>
  63. <td>{{item.id}}</td>
  64. <td align="center"><span style="color:red;cursor: pointer;">删除</span></td>
  65. </tr>
  66. </tbody>
  67. </table>
  68. <el-button
  69. class="martop25"
  70. style="float:right;"
  71. type="info"
  72. size="mini"
  73. >保存设置</el-button>
  74. </div>
  75. </template>
  76. <script>
  77. export default {
  78. data () {
  79. return {
  80. radio: '',//
  81. options: [{
  82. value: '选项1',
  83. label: '黄金糕'
  84. }, {
  85. value: '选项2',
  86. label: '双皮奶'
  87. }, {
  88. value: '选项3',
  89. label: '蚵仔煎'
  90. }, {
  91. value: '选项4',
  92. label: '龙须面'
  93. }, {
  94. value: '选项5',
  95. label: '北京烤鸭'
  96. }],
  97. value: '',
  98. setInputTable: [{}],
  99. }
  100. }
  101. }
  102. </script>
  103. <style lang="scss" scoped>
  104. .dianqian {
  105. table {
  106. color: #101010;
  107. font-size: 14px;
  108. }
  109. }
  110. </style>