| | |
| | | <template> |
| | | <view style="width: 100%;height: 100vh;"> |
| | | <view style="width: 100%;height: 100%;display: flex;flex-direction: column;align-items: center;justify-content: center;"> |
| | | <button size="default" class="cu-btn bg-blue lg ">呼叫空板</button> |
| | | <button size="default" class="cu-btn bg-blue lg " @click="callEmpty">呼叫空板</button> |
| | | </view> |
| | | </view> |
| | | </template> |
| | |
| | | callEmpty() { |
| | | let that = this |
| | | uni.request({ |
| | | url: |
| | | url: that.commonUrl + '/site/motherPallet', |
| | | method:'POST', |
| | | success(result) { |
| | | var res = result.data |
| | | uni.showToast({title: res.msg, icon: "none", position: 'top'}) |
| | | } |
| | | }) |
| | | } |
| | | } |