taskList.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <!-- @format -->
  2. <template>
  3. <view class="container">
  4. <view style="margin: 15rpx 0">
  5. <view style="background: #fff; padding: 20rpx 0; margin-bottom: 15rpx">
  6. <u-search
  7. shape="square"
  8. :showAction="false"
  9. placeholder="请输入机构任务单编号"
  10. style="width: 95%; margin: 0rpx auto"
  11. ></u-search>
  12. </view>
  13. <view class="contentItems" v-for="item of 2">
  14. <view class="content">
  15. <view class="title"
  16. >机构单编号
  17. <text style="margin-left: 40rpx"> 2024845782 </text>
  18. </view>
  19. </view>
  20. <view class="content">
  21. <view class="title">检定机构名称</view>
  22. <view class="message">计量所</view>
  23. </view>
  24. <view class="content">
  25. <view class="title">部门流转</view>
  26. <view class="message">
  27. <u-button
  28. @click="handleDepartment"
  29. style="width: 120rpx; height: 40rpx"
  30. type="primary"
  31. size="small"
  32. >查看</u-button
  33. >
  34. </view>
  35. </view>
  36. <view class="content">
  37. <view class="title">办理人姓名</view>
  38. <view class="message">李某某</view>
  39. </view>
  40. <view class="content">
  41. <view class="title">办理时间</view>
  42. <view class="message">204-05-14</view>
  43. </view>
  44. <view class="content">
  45. <view class="title">器具数量</view>
  46. <view class="message">10</view>
  47. </view>
  48. </view>
  49. </view>
  50. <u-popup :show="historyPopDia">
  51. <view style="height: 500rpx"> </view>
  52. </u-popup>
  53. </view>
  54. </template>
  55. <script>
  56. export default {
  57. data() {
  58. return {
  59. historyPopDia: false,
  60. activeContent: "我的申请",
  61. tabsList: [
  62. {
  63. name: "我的申请",
  64. },
  65. ],
  66. };
  67. },
  68. methods: {
  69. //部门流转
  70. handleDepartment() {
  71. uni.navigateTo({
  72. url: "/pages/verification/department",
  73. success: (res) => {},
  74. fail: () => {},
  75. complete: () => {},
  76. });
  77. },
  78. //备案申请
  79. handleApplicat() {
  80. uni.navigateTo({
  81. url: "/pages/assay/application",
  82. success: (res) => {},
  83. fail: () => {},
  84. complete: () => {},
  85. });
  86. },
  87. handleChange(row) {
  88. this.activeContent = row.name;
  89. },
  90. handleCurrentForm() {},
  91. handleDetails() {
  92. uni.navigateTo({
  93. url: "/pages/assay/details",
  94. success: (res) => {},
  95. fail: () => {},
  96. complete: () => {},
  97. });
  98. },
  99. },
  100. };
  101. </script>
  102. <style lang="scss" scoped>
  103. .createFixed {
  104. background: #2979ff;
  105. display: flex;
  106. justify-content: center;
  107. align-items: center;
  108. width: 90rpx;
  109. height: 90rpx;
  110. border-radius: 50%;
  111. position: fixed;
  112. right: 30rpx;
  113. bottom: 200rpx;
  114. }
  115. .createNew {
  116. font-size: 30rpx;
  117. margin: 20rpx 0 20rpx 20rpx;
  118. color: #3c9ff3;
  119. }
  120. .container {
  121. height: 100vh;
  122. background: rgb(243, 244, 249);
  123. .contentItems {
  124. width: 93%;
  125. border-radius: 6px;
  126. background: #fff;
  127. margin: 0rpx auto 20rpx;
  128. padding: 20rpx 30rpx 20rpx;
  129. .content {
  130. border-bottom: 1px solid rgb(242, 242, 242);
  131. padding: 24rpx 0;
  132. display: flex;
  133. justify-content: space-between;
  134. }
  135. .content:last-child {
  136. border-bottom: none;
  137. }
  138. .title {
  139. font-size: 26rpx;
  140. color: black;
  141. letter-spacing: 3rpx;
  142. }
  143. .message {
  144. font-size: 26rpx;
  145. color: rgb(146, 146, 146);
  146. }
  147. }
  148. }
  149. </style>