特易招,招聘小程序
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.

44 lines
656 B

5 months ago
  1. <template>
  2. <view class="page">
  3. <navbar title="电子合同"
  4. leftClick
  5. @leftClick="$utils.navigateBack"/>
  6. </view>
  7. </template>
  8. <script>
  9. export default {
  10. data() {
  11. return {
  12. id : 0,
  13. detail : {},
  14. }
  15. },
  16. onLoad({id}) {
  17. this.id = id
  18. this.getDetail()
  19. },
  20. methods: {
  21. getDetail(){
  22. let data = {
  23. contractId: this.id
  24. }
  25. if (uni.getStorageSync('token')) {
  26. // data.token = uni.getStorageSync('token')
  27. }
  28. this.$api('queryContracById', data, res => {
  29. if (res.code == 200) {
  30. this.detail = res.result
  31. }
  32. })
  33. },
  34. }
  35. }
  36. </script>
  37. <style scoped lang="scss">
  38. </style>