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

<template>
<view class="page">
<navbar title="电子合同"
leftClick
@leftClick="$utils.navigateBack"/>
</view>
</template>
<script>
export default {
data() {
return {
id : 0,
detail : {},
}
},
onLoad({id}) {
this.id = id
this.getDetail()
},
methods: {
getDetail(){
let data = {
contractId: this.id
}
if (uni.getStorageSync('token')) {
// data.token = uni.getStorageSync('token')
}
this.$api('queryContracById', data, res => {
if (res.code == 200) {
this.detail = res.result
}
})
},
}
}
</script>
<style scoped lang="scss">
</style>