zkTask.vue 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <template>
  2. <view class="qualitycontrolTask">
  3. <!-- 飞行质控任务 -->
  4. <view class="flightTask">
  5. <uni-card>
  6. <uni-section :title="pageData.todayDate+'飞行质控任务'" type="line">
  7. <template v-slot:right>
  8. <image style="width: 50rpx; height: 50rpx;" :src="showIcon.nowIcon" @click="changeState()"></image>
  9. </template>
  10. </uni-section>
  11. <view class="flightTask_list">
  12. <text class="flightTask_list_item">被质控代煎企业<text class="flightTask_list_item_text">{{pageData.flightTask.orgName}}</text></text>
  13. <text class="flightTask_list_item">组长<text class="flightTask_list_item_text">{{pageData.flightTask.orgName}}</text></text>
  14. <text class="flightTask_list_item">组员<text class="flightTask_list_item_text">{{pageData.flightTask.orgName}}</text></text>
  15. <text class="flightTask_list_item">地址<text class="flightTask_list_item_text">{{pageData.flightTask.orgName}}</text></text>
  16. </view>
  17. </uni-card>
  18. </view>
  19. <!-- 代配作业质控 -->
  20. <view>
  21. </view>
  22. <!-- 代煎作业质控 -->
  23. <view></view>
  24. <!-- 代煎企业作业环境质控 -->
  25. <view></view>
  26. </view>
  27. </template>
  28. <script setup>
  29. import { reactive } from "vue";
  30. import {onLoad,onShow,onUnload,onPullDownRefresh} from "@dcloudio/uni-app";
  31. const pageData=reactive({
  32. todayDate:'20230405',
  33. flightTask:{
  34. orgName:'机构',
  35. },
  36. deliveryTask:[],
  37. friedTask:[],
  38. environmentTask:[]
  39. })
  40. const showIcon=reactive({
  41. nowIcon:'',
  42. showIcon:'/static/blackDisplay.png',
  43. hideIcon:'/static/blackHide.png'
  44. })
  45. const changeState=()=>{
  46. if(showIcon.nowIcon==showIcon.showIcon){
  47. showIcon.nowIcon=showIcon.hideIcon
  48. }else{
  49. showIcon.nowIcon=showIcon.showIcon
  50. }
  51. }
  52. onShow(()=>{
  53. showIcon.nowIcon=showIcon.hideIcon
  54. })
  55. </script>
  56. <style lang="scss" scoped>
  57. @import './index.scss'
  58. </style>