t-o-origanization.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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" v-if="mine_code == 'zaoquan'">国家能源集团枣泉煤矿</view>
  9. <view class="text" v-if="mine_code == 'ningdongyunying'">国家能源集团宁东运营部</view>
  10. <view class="text" v-if="mine_code == 'qingshuiying'">国家能源集团清水营煤矿</view>
  11. <view class="text" v-if="mine_code == 'wuyegongsi'">物业公司</view>
  12. <view class="text" v-if="mine_code == 'jinjiaqu'">国家能源集团金家渠煤矿</view>
  13. <view class="text" v-if="mine_code == 'yangchangwan'">国家能源集团羊场湾煤矿</view>
  14. </view>
  15. <view class="box">
  16. <view class="item" @click="go_communication_origanization()">
  17. <view class="icon">
  18. <image src="./icon/jiagou.png" mode=""></image>
  19. </view>
  20. <view class="text">组织架构</view>
  21. </view>
  22. <view class="item" @click="go_my_department()">
  23. <view class="icon">
  24. <image src="./icon/bumen.png" mode=""></image>
  25. </view>
  26. <view class="text">我的部门</view>
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. </template>
  32. <script>
  33. export default {
  34. name:"t-o-origanization",
  35. data() {
  36. return {
  37. // 当前煤矿编码
  38. mine_code: "",
  39. };
  40. },
  41. created() {
  42. // 初始化当前煤矿编码
  43. this.mine_code = uni.getStorageSync('mine_code')
  44. },
  45. methods:{
  46. go_communication_origanization(){
  47. uni.navigateTo({
  48. url:"../../origanization/communication/origanization/origanization"
  49. })
  50. },
  51. go_my_department(){
  52. uni.navigateTo({
  53. url:"../../origanization/communication/origanization/my_department/my_department"
  54. })
  55. }
  56. }
  57. }
  58. </script>
  59. <style lang="scss">
  60. .content{
  61. background-color: #FFFFFF;
  62. .title{
  63. height: 110rpx;
  64. display: flex;
  65. align-items: center;
  66. box-sizing: border-box;
  67. padding: 0 36rpx;
  68. border-bottom: 1rpx solid #F3F8F7;
  69. .icon{
  70. display: flex;
  71. align-items: center;
  72. image{
  73. width: 48rpx;
  74. height: 36rpx;
  75. }
  76. }
  77. .text{
  78. margin-left: 20rpx;
  79. font-size: 38rpx;
  80. font-weight: 700;
  81. }
  82. }
  83. .box{
  84. box-sizing: border-box;
  85. padding: 0 50rpx;
  86. .item{
  87. height: 110rpx;
  88. display: flex;
  89. align-items: center;
  90. border-bottom: 1rpx solid #F3F8F7;
  91. .icon{
  92. image{
  93. width: 36rpx;
  94. height: 36rpx;
  95. }
  96. }
  97. .text{
  98. margin-left: 20rpx;
  99. font-size: 32rpx;
  100. }
  101. }
  102. }
  103. }
  104. </style>