linkrecord.vue 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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>
  22. </template>
  23. <script>
  24. import mvBar from "@/components/mys_navBar/mysNavBar";
  25. export default {
  26. components: {
  27. mvBar,
  28. },
  29. data() {
  30. return {
  31. navH: getApp().globalData.navHeight,
  32. List: [],
  33. mysNavConfig: {
  34. /* 开启单页显示首页图标 */
  35. isHome: true,
  36. /* 固定导航 */
  37. navFixed: true,
  38. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  39. navTitle: {
  40. text: "查看修改/反馈记录",
  41. color: "",
  42. fontSize: "32rpx", // px upx rpx
  43. fontWeight: "normal", // 100 - 700
  44. },
  45. btnType: "type2",
  46. onLeftClick: '',
  47. /* type2 按钮 */
  48. type2Config: {
  49. // 左图标
  50. leftPath: "/static/img/png2.png",
  51. // 右图标
  52. rightPath: "/static/img/png4.png",
  53. // 圆角
  54. radius: "40rpx",
  55. },
  56. },
  57. }
  58. },
  59. onShow() {
  60. this.getList();
  61. },
  62. onLoad(options) {
  63. let data = options.textObj.replace(/""/g, "");
  64. data = JSON.parse(decodeURIComponent(data))
  65. this.taskId = data.taskId
  66. console.log(this.taskId)
  67. },
  68. methods: {
  69. // 获取初稿审阅记录
  70. getList() {
  71. this.$https.get('/youngee/c/t/g/get-task-link' +
  72. "?" +
  73. "task_id" +
  74. "=" +
  75. this.taskId)
  76. .then(res => {
  77. console.log(res)
  78. this.List = res.data.data
  79. })
  80. },
  81. }
  82. }
  83. </script>
  84. <style lang="scss" scoped>
  85. .script {
  86. margin-bottom: 100rpx;
  87. }
  88. .heng-line {
  89. width: 100%;
  90. border-bottom: 1rpx solid #dadada;
  91. }
  92. </style>