123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <template>
- <view>
- <view >
- <uni-title type="h3" :title="data.name+'职责:'"></uni-title><br/><br/>
- </view>
- <view>
- <uni-title type="h5" :title="data.jobDescription" color="#666"></uni-title>
- </view>
- </view>
- </template>
- <script>
- import {
- getGridType
- } from '@/api/handleAffairs/gridType.js';
- export default {
- data() {
- return {
- data:{}
- };
- },
- onLoad(option){
- uni.setNavigationBarTitle({
- title: option.titleText
- });
- const _that = this
- const id = uni.getStorageSync('id');
- getGridType(id).then(res =>{
- _that.data = res.data
- console.log(_that.data)
- })
- },
- methods: {
- }
- }
- </script>
- <style scoped>
- .uni-divider {
- height: 10rpx;
- background-color: #eee;
- }
- </style>
|