BaseFormLocation.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <a-card :bordered="false" v-show="visible" class="card">
  3. <a-row :gutter="48" style="position:fixed;bottom:150px;z-index:999;display:flex; justify-content: center;width: 90%;">
  4. <a-col :md="48" :sm="48">
  5. <span>
  6. <a-button type="primary" @click="save()">保存</a-button>
  7. <a-button style="margin-left: 8px" type="default" @click="handleCancel()">返回</a-button>
  8. </span>
  9. </a-col>
  10. </a-row>
  11. <div>
  12. </div>
  13. <!-- <sb-position-no-modal ref="sbPositionNoModal" @selected="handleSbNoSelectd"/> -->
  14. </a-card>
  15. </template>
  16. <script>
  17. import { getSbPositionTree } from '@/api/sb/position'
  18. import SbPositionNoModal from '@/views/sb/info/modules/SbPositionNoModal'
  19. import { importMeasure } from '@/api/sb/info'
  20. export default {
  21. name: 'BaseFillGatherTask',
  22. components: {
  23. SbPositionNoModal
  24. },
  25. data () {
  26. return {
  27. visible: false,
  28. modal: []
  29. }
  30. },
  31. props: {
  32. },
  33. created () {
  34. // 下拉框map
  35. },
  36. methods: {
  37. base (record) {
  38. this.visible = true
  39. this.model = record
  40. },
  41. save () {
  42. },
  43. handleCancel () {
  44. this.visible = false
  45. this.$emit('ok')
  46. }
  47. }
  48. }
  49. </script>
  50. <style lang="less" scoped>
  51. </style>