t-o-ningdongyunying.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <template>
  2. <view>
  3. <view class="content">
  4. <view class="title">
  5. <view class="icon">
  6. <image src="./icon/title_icon.png" mode=""></image>
  7. </view>
  8. <view class="text">国家能源集团宁东运营部</view>
  9. </view>
  10. <view class="box">
  11. <view class="item" @click="go_communication_origanization()">
  12. <view class="icon">
  13. <image src="./icon/jiagou.png" mode=""></image>
  14. </view>
  15. <view class="text">组织架构</view>
  16. </view>
  17. <view class="item" @click="go_my_department()">
  18. <view class="icon">
  19. <image src="./icon/bumen.png" mode=""></image>
  20. </view>
  21. <view class="text">我的部门</view>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </template>
  27. <script>
  28. export default {
  29. name:"t-o-ningdongyunying",
  30. data() {
  31. return {
  32. list:[]
  33. };
  34. },
  35. created() {
  36. this.get_worksheet_classify_list()
  37. },
  38. methods:{
  39. // 获取分类
  40. get_worksheet_classify_list(){
  41. this.$api.worksheet_classify_list({
  42. }).then((res)=>{
  43. console.log(res.data.data)
  44. this.list = res.data.data
  45. })
  46. },
  47. // 工单列表
  48. go_business(id,title){
  49. uni.navigateTo({
  50. url:"../../workbench/business_classfication/business_classfication?id="+id+"&title="+title
  51. })
  52. },
  53. go_communication_origanization(){
  54. uni.navigateTo({
  55. url:"../../origanization/communication/origanization/origanization"
  56. })
  57. },
  58. go_my_department(){
  59. uni.navigateTo({
  60. url:"../../origanization/communication/origanization/my_department/my_department"
  61. })
  62. }
  63. }
  64. }
  65. </script>
  66. <style lang="scss">
  67. .content{
  68. background-color: #FFFFFF;
  69. .title{
  70. height: 110rpx;
  71. display: flex;
  72. align-items: center;
  73. box-sizing: border-box;
  74. padding: 0 36rpx;
  75. border-bottom: 1rpx solid #F3F8F7;
  76. .icon{
  77. display: flex;
  78. align-items: center;
  79. image{
  80. width: 48rpx;
  81. height: 36rpx;
  82. }
  83. }
  84. .text{
  85. margin-left: 20rpx;
  86. font-size: 38rpx;
  87. font-weight: 700;
  88. }
  89. }
  90. .box{
  91. box-sizing: border-box;
  92. padding: 0 50rpx;
  93. .item{
  94. height: 110rpx;
  95. display: flex;
  96. align-items: center;
  97. border-bottom: 1rpx solid #F3F8F7;
  98. .icon{
  99. image{
  100. width: 36rpx;
  101. height: 36rpx;
  102. }
  103. }
  104. .text{
  105. margin-left: 20rpx;
  106. font-size: 32rpx;
  107. }
  108. }
  109. }
  110. }
  111. </style>