t-o-ningdongyunying.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. .list{
  68. background-color: #FFFFFF;
  69. margin-bottom: 20rpx;
  70. box-sizing: border-box;
  71. padding: 50rpx 25rpx;
  72. display: flex;
  73. align-items: center;
  74. justify-content: space-between;
  75. .item{
  76. width: 175rpx;
  77. text-align: center;
  78. .icon{
  79. image{
  80. width: 78rpx;
  81. height: 78rpx;
  82. }
  83. }
  84. .text{
  85. margin-top: 24rpx;
  86. font-size: 32rpx;
  87. }
  88. }
  89. }
  90. .content{
  91. background-color: #FFFFFF;
  92. .title{
  93. height: 110rpx;
  94. display: flex;
  95. align-items: center;
  96. box-sizing: border-box;
  97. padding: 0 36rpx;
  98. border-bottom: 1rpx solid #F3F8F7;
  99. .icon{
  100. image{
  101. width: 48rpx;
  102. height: 36rpx;
  103. }
  104. }
  105. .text{
  106. margin-left: 20rpx;
  107. font-size: 38rpx;
  108. font-weight: 700;
  109. }
  110. }
  111. .box{
  112. box-sizing: border-box;
  113. padding: 0 50rpx;
  114. .item{
  115. height: 110rpx;
  116. display: flex;
  117. align-items: center;
  118. border-bottom: 1rpx solid #F3F8F7;
  119. .icon{
  120. image{
  121. width: 36rpx;
  122. height: 36rpx;
  123. }
  124. }
  125. .text{
  126. margin-left: 20rpx;
  127. font-size: 32rpx;
  128. }
  129. }
  130. }
  131. }
  132. </style>