linkrecord.vue 2.2 KB

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