<template>
	<view>
			<view >
				<uni-title type="h5" :title="data.name+'职责:'" color="#666"></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>

