2eacb29fd2a40236a11ccff28b617721a064978a.svn-base 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <template>
  2. <div class="flowAttach_wrapper">
  3. <!-- <h3><span></span>问题图片-->
  4. <!-- <el-button type="primary" @click="showProvImgList" style="float: right;">佐证图片</el-button>-->
  5. <!-- </h3>-->
  6. <pblmsDetailsImgs v-if="isDcOrJc=='dc'" :problemId="problemId?problemId:id"></pblmsDetailsImgs>
  7. <pblmsDetailsImgs1 v-if="isDcOrJc=='jc'" :problemId="problemId?problemId:id"></pblmsDetailsImgs1>
  8. <add-pic-com v-if="jqmmDialogShow" :dialogTitle="'相关材料'" :jqmmEngId="id" :type="zgType" @jqmmDialogClose="jqmmDialogClose"></add-pic-com>
  9. </div>
  10. </template>
  11. <script>
  12. import request from '@util/gw_ajax_request.js'
  13. export default {
  14. props: {
  15. problemId: {
  16. type: String,
  17. default: ''
  18. },
  19. id: {
  20. type: String,
  21. default: ''
  22. },
  23. isDcOrJc:{
  24. type: String,
  25. default: ''
  26. },
  27. isShow:{
  28. type: Boolean,
  29. default: false,
  30. }
  31. },
  32. data() {
  33. return {
  34. jqmmDialogShow: false,
  35. zgType:"",
  36. }
  37. },
  38. components:{
  39. pblmsDetailsImgs: resolve => {
  40. require(["../../duChaWenTi/PblmDetailsImgs.vue"], resolve);
  41. },
  42. pblmsDetailsImgs1: resolve => {
  43. require(["../../duChaWenTi/PblmDetailsImgs1.vue"], resolve);
  44. },
  45. addPicCom: resolve => {
  46. require(["../../duChaZhengGaiNew/addPic"], resolve);
  47. },
  48. },
  49. mounted() {
  50. },
  51. methods: {
  52. showProvImgList(){
  53. this.jqmmDialogShow = true;
  54. this.zgType = "zgFllow";
  55. },
  56. jqmmDialogClose() {
  57. this.jqmmDialogShow = false;
  58. },
  59. },
  60. }
  61. </script>
  62. <style lang="scss" scoped>
  63. .flowAttach_wrapper {
  64. padding: 0 10px;
  65. overflow: hidden;
  66. h3 {
  67. margin-bottom: 20px;
  68. line-height: 32px;
  69. font-size: 16px;
  70. span {
  71. display: inline-block;
  72. width: 3px;
  73. height: 14px;
  74. margin-right: 6px;
  75. margin-top: -2px;
  76. background-color: #409eff;
  77. }
  78. }
  79. }
  80. </style>