renwuX.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <template>
  2. <view class="content">
  3. <view class="param">
  4. <view class="proMiao mingchen">{{data.taskName}}</view>
  5. <view class="proMiao title">评分标准</view>
  6. <view class="prolittle">{{data.scoreStandard}}</view>
  7. <view class="proMiao title">任务负责人</view>
  8. <view class="prolittle">{{data.headerName}}</view>
  9. <view class="proMiao title">评分上限</view>
  10. <view class="prolittle">{{data.scoreLimit}}</view>
  11. <view class="proMiao title">权重</view>
  12. <view class="prolittle">{{data.weight}}</view>
  13. <view class="proMiao title">提醒时间</view>
  14. <view class="prolittle">{{data.remindTime}}</view>
  15. <view class="proMiao title">预警时间</view>
  16. <view class="prolittle">{{data.warnTime}}</view>
  17. <view class="proMiao title">任务周期</view>
  18. <view class="prolittle">{{data.startTime}} - {{data.endTime}}</view>
  19. <view class="proMiao title">完成说明</view>
  20. <view class="prolittle">这里是完成说明</view>
  21. <view class="proMiao title">附件</view>
  22. <view class="prolittle" v-for="(item,index) in fileList3">
  23. <view style="color: rgba(0, 97, 255, 1);" @click="navigateToTU(item.name)">{{item.name}}</view>
  24. </view>
  25. <!-- <view class="proMiao title">系统</view>
  26. <view class="prolittle">100</view> -->
  27. </view>
  28. </view>
  29. </template>
  30. <script>
  31. export default {
  32. data() {
  33. return {
  34. data:{},
  35. fileList3: [],
  36. }
  37. },
  38. onLoad(option) {
  39. console.log(JSON.parse(decodeURIComponent(option.data)))
  40. this.data=JSON.parse(decodeURIComponent(option.data))
  41. var image=[]
  42. image=this.data.fileUrl.split(',')
  43. this.fileList3 =image.map(item =>{
  44. return {
  45. name: item
  46. }
  47. })
  48. },
  49. methods: {
  50. }
  51. }
  52. </script>
  53. <style>
  54. .content {
  55. display: flex;
  56. flex-direction: column;
  57. align-items: center;
  58. justify-content: center;
  59. }
  60. .param{
  61. margin: 20rpx 0 0 0;
  62. width: 100%;
  63. background-color: rgba(255, 255, 255, 1);
  64. font-size: 28rpx;
  65. font-weight: 400;
  66. line-height: 41rpx;
  67. color: rgba(0, 0, 0, 1);
  68. }
  69. .proMiao{
  70. margin: 31rpx 0 0 20rpx;
  71. width: 710rpx;
  72. }
  73. .prolittle{
  74. margin: 5rpx 0 0 20rpx;
  75. width: 710rpx;
  76. word-wrap: break-word;
  77. word-break: break-all;
  78. white-space: pre-line;
  79. }
  80. .mingchen{
  81. font-size: 32rpx;
  82. font-weight: 500;
  83. line-height: 46rpx;
  84. }
  85. .title{
  86. color: rgba(102, 102, 102, 1);
  87. }
  88. </style>