assayDetails.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. <view class="content">
  9. <view class="title">检定状态</view>
  10. <view class="message">未检定</view>
  11. </view>
  12. <view class="content">
  13. <view class="title">备案状态</view>
  14. <!-- <view :style="{
  15. color: recordColor[recordStatus(item)],
  16. }">{{ recordStatus(item) }}</view> -->
  17. </view>
  18. <view class="content">
  19. <view class="title">制造单位</view>
  20. <view class="message">上海光正</view>
  21. </view>
  22. <view class="content">
  23. <view class="title">出厂编号</view>
  24. <view class="message">2</view>
  25. </view>
  26. <view class="content">
  27. <view class="title">内部编号</view>
  28. <view class="message">ygjpx-05</view>
  29. </view>
  30. <view class="content">
  31. <view class="title">责任人员</view>
  32. <view class="message"></view>
  33. </view>
  34. <view class="content">
  35. <view class="title">器具项别</view>
  36. <view class="message">顶焦度</view>
  37. </view>
  38. <view class="content">
  39. <view class="title">器具种别</view>
  40. <view class="message">眼科光学</view>
  41. </view>
  42. <view class="content">
  43. <view class="title">专业类别</view>
  44. <view class="message">光学</view>
  45. </view>
  46. </view>
  47. </view>
  48. </template>
  49. <script>
  50. export default {
  51. data() {
  52. return {
  53. recordColor: {
  54. 已撤回: "#fa3534",
  55. 已接收: "#2979ff",
  56. 待提交: "#2979ff",
  57. 备案中: "#2979ff",
  58. 已拒绝: "#fa3534",
  59. 勿备案: "#fa3534",
  60. 未备案: "#909399",
  61. 免备案: "#909399",
  62. 已退回: "#fa3534",
  63. },
  64. record: []
  65. }
  66. },
  67. onLoad() {
  68. useDict("ejian_instrFillingStatus").then((res) => {
  69. this.record = res;
  70. });
  71. },
  72. computed: {
  73. // //检定状态
  74. // verificationStatus() {
  75. // return (row) => {
  76. // return paraseDict(this.verification, row);
  77. // };
  78. // },
  79. // //申请状态
  80. // applicationStatus() {
  81. // return (row) => {
  82. // return paraseDict(this.application, row);
  83. // };
  84. // },
  85. //备案状态
  86. recordStatus() {
  87. return (row) => {
  88. return paraseDict(this.record, row);
  89. };
  90. },
  91. },
  92. methods: {
  93. }
  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>