t-o-origanization.vue 2.8 KB

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