assayDetails.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <template>
  2. <view class="container">
  3. <view class="contentItems">
  4. <view class="content">
  5. <view style="font-size: 32rpx" class="title">器具名称 </view>
  6. <view style="font-size: 32rpx" class="title">验光</view>
  7. </view>
  8. <div></div>
  9. <view class="content">
  10. <view class="title">检定状态</view>
  11. <view class="message">未检定</view>
  12. </view>
  13. <view class="content">
  14. <view class="title">备案状态</view>
  15. <!-- <view :style="{
  16. color: recordColor[recordStatus(item)],
  17. }">{{ recordStatus(item) }}</view> -->
  18. </view>
  19. <view class="content">
  20. <view class="title">制造单位</view>
  21. <view class="message">上海光正</view>
  22. </view>
  23. <view class="content">
  24. <view class="title">出厂编号</view>
  25. <view class="message">2</view>
  26. </view>
  27. <view class="content">
  28. <view class="title">内部编号</view>
  29. <view class="message">ygjpx-05</view>
  30. </view>
  31. <view class="content">
  32. <view class="title">责任人员</view>
  33. <view class="message"></view>
  34. </view>
  35. <view class="content">
  36. <view class="title">器具项别</view>
  37. <view class="message">顶焦度</view>
  38. </view>
  39. <view class="content">
  40. <view class="title">器具种别</view>
  41. <view class="message">眼科光学</view>
  42. </view>
  43. <view class="content">
  44. <view class="title">专业类别</view>
  45. <view class="message">光学</view>
  46. </view>
  47. </view>
  48. </view>
  49. </template>
  50. <script>
  51. export default {
  52. data() {
  53. return {
  54. recordColor: {
  55. 已撤回: "#fa3534",
  56. 已接收: "#2979ff",
  57. 待提交: "#2979ff",
  58. 备案中: "#2979ff",
  59. 已拒绝: "#fa3534",
  60. 勿备案: "#fa3534",
  61. 未备案: "#909399",
  62. 免备案: "#909399",
  63. 已退回: "#fa3534",
  64. },
  65. record: [],
  66. };
  67. },
  68. onLoad() {
  69. useDict("ejian_instrFillingStatus").then((res) => {
  70. this.record = res;
  71. });
  72. },
  73. computed: {
  74. // //检定状态
  75. // verificationStatus() {
  76. // return (row) => {
  77. // return paraseDict(this.verification, row);
  78. // };
  79. // },
  80. // //申请状态
  81. // applicationStatus() {
  82. // return (row) => {
  83. // return paraseDict(this.application, row);
  84. // };
  85. // },
  86. //备案状态
  87. recordStatus() {
  88. return (row) => {
  89. return paraseDict(this.record, row);
  90. };
  91. },
  92. },
  93. methods: {},
  94. };
  95. </script>
  96. <style lang="scss">
  97. .container {
  98. height: 100vh;
  99. background: rgb(243, 244, 249);
  100. padding: 0rpx 0 110rpx;
  101. margin-top: 20rpx;
  102. .contentItems {
  103. width: 95%;
  104. border-radius: 6px;
  105. background: #fff;
  106. margin: 0rpx auto 20rpx;
  107. padding: 20rpx 30rpx 20rpx;
  108. .content {
  109. border-bottom: 1px solid rgb(242, 242, 242);
  110. padding: 24rpx 0;
  111. display: flex;
  112. justify-content: space-between;
  113. }
  114. .content:last-child {
  115. border-bottom: none;
  116. }
  117. .title {
  118. font-size: 26rpx;
  119. color: black;
  120. letter-spacing: 3rpx;
  121. }
  122. .message {
  123. font-size: 26rpx;
  124. color: rgb(146, 146, 146);
  125. }
  126. }
  127. }
  128. </style>