linkrecord.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <template>
  2. <view style="position: relative;">
  3. <!-- 胶囊 -->
  4. <mvBar :mysNavConfig="mysNavConfig"></mvBar>
  5. <view :style="{marginTop:navH}"></view>
  6. <view class="script" v-for="item in List">
  7. <view style="margin: 20rpx;">
  8. <p style="margin-bottom: 10rpx;">上传时间:{{item.create_at}}</p>
  9. <!-- 图片 -->
  10. <p>{{item.link_url}}</p>
  11. <view style="display: flex;">
  12. <image :src="item.photo_url" mode="aspectFit"></image>
  13. </view>
  14. </view>
  15. <view class="heng-line" v-if="item.is_review && !item.is_ok"></view>
  16. <view style="margin: 20rpx;color: red;" v-if="item.is_review && !item.is_ok">
  17. <p style="margin-bottom: 10rpx;">驳回时间:{{item.reject_at}}</p>
  18. <p>{{item.revise_opinion}}</p>
  19. </view>
  20. </view>
  21. <view style="height: 100rpx;width: 100%;"></view>
  22. </view>
  23. </template>
  24. <script>
  25. import mvBar from "@/components/mys_navBar/mysNavBar";
  26. export default {
  27. components: {
  28. mvBar,
  29. },
  30. data() {
  31. return {
  32. navH: getApp().globalData.navHeight,
  33. List: [],
  34. mysNavConfig: {
  35. /* 开启单页显示首页图标 */
  36. isHome: true,
  37. /* 固定导航 */
  38. navFixed: true,
  39. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  40. navTitle: {
  41. text: "查看修改/反馈记录",
  42. color: "",
  43. fontSize: "32rpx", // px upx rpx
  44. fontWeight: "normal", // 100 - 700
  45. },
  46. btnType: "type2",
  47. onLeftClick: '',
  48. /* type2 按钮 */
  49. type2Config: {
  50. // 左图标
  51. leftPath: "/static/img/png2.png",
  52. // 右图标
  53. rightPath: "/static/img/png4.png",
  54. // 圆角
  55. radius: "40rpx",
  56. },
  57. },
  58. }
  59. },
  60. onShow() {
  61. this.getList();
  62. },
  63. onLoad(options) {
  64. let data = options.textObj.replace(/""/g, "");
  65. data = JSON.parse(decodeURIComponent(data))
  66. this.taskId = data.taskId
  67. console.log(this.taskId)
  68. },
  69. methods: {
  70. // 获取初稿审阅记录
  71. getList() {
  72. this.$https.get('/youngee/c/t/g/get-task-link' +
  73. "?" +
  74. "task_id" +
  75. "=" +
  76. this.taskId)
  77. .then(res => {
  78. console.log(res)
  79. this.List = res.data.data
  80. })
  81. },
  82. }
  83. }
  84. </script>
  85. <style lang="scss" scoped>
  86. .script {
  87. margin-bottom: 100rpx;
  88. }
  89. .heng-line {
  90. width: 100%;
  91. border-bottom: 1rpx solid #dadada;
  92. }
  93. </style>