|  | @@ -42,11 +42,20 @@
 | 
	
		
			
				|  |  |          <el-table-column prop="attachList2" header-align="center" align="center" min-width="100"
 | 
	
		
			
				|  |  |            :show-tooltip-when-overflow="true" label="简图">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  | +            <el-button v-if="scope.row.attachList2 && scope.row.attachList2.length" type="text" size="small"
 | 
	
		
			
				|  |  | +              @click="openImagePreview(scope.row.attachList2)">
 | 
	
		
			
				|  |  | +              查看({{ scope.row.attachList2.length }})
 | 
	
		
			
				|  |  | +            </el-button>
 | 
	
		
			
				|  |  | +            <el-button v-else type="text" size="small" disabled>
 | 
	
		
			
				|  |  | +              查看(0)
 | 
	
		
			
				|  |  | +            </el-button>
 | 
	
		
			
				|  |  | +          </template>
 | 
	
		
			
				|  |  | +          <!-- <template slot-scope="scope">
 | 
	
		
			
				|  |  |              <div class="thumb-list" v-if="getImageList(scope.row.attachList2).length">
 | 
	
		
			
				|  |  |                <img v-for="(img, idx) in getImageList(scope.row.attachList2)" :key="(img.url || '') + idx" class="thumb"
 | 
	
		
			
				|  |  |                  :src="downloadUrl + img.url" :alt="img.fileName" @click="previewFile(img.fileName, img.url)" />
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  | -          </template>
 | 
	
		
			
				|  |  | +          </template> -->
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  |          <el-table-column prop="materials" header-align="center" align="center" min-width="140"
 | 
	
		
			
				|  |  |            :show-tooltip-when-overflow="true" label="材料">
 | 
	
	
		
			
				|  | @@ -72,6 +81,9 @@
 | 
	
		
			
				|  |  |          <el-table-column prop="projectName" header-align="center" align="center" min-width="140"
 | 
	
		
			
				|  |  |            :show-tooltip-when-overflow="true" label="关重性">
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  | +        <el-table-column fixed="right" prop="cntAll" header-align="center" align="center" min-width="80"
 | 
	
		
			
				|  |  | +          :show-tooltip-when-overflow="true" label="计划数量">
 | 
	
		
			
				|  |  | +        </el-table-column>
 | 
	
		
			
				|  |  |          <el-table-column fixed="right" prop="isTechnology" header-align="center" align="center" min-width="140"
 | 
	
		
			
				|  |  |            :show-tooltip-when-overflow="true" label="是否编制工艺">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
	
		
			
				|  | @@ -103,7 +115,7 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <attach-detail-dialog ref="attachDetail" />
 | 
	
		
			
				|  |  |      <preview-component v-if="previewVisible" ref="preview" />
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +    <image-preview ref="imagePreview" />
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -111,9 +123,12 @@
 | 
	
		
			
				|  |  |  import AttachDetailDialog from '../common/attach-detail-dialog'
 | 
	
		
			
				|  |  |  import PreviewComponent from '../common/preview-component'
 | 
	
		
			
				|  |  |  import { downloadUrl } from '@/api/file'
 | 
	
		
			
				|  |  | +import ImagePreview from '@/views/modules/common/image-preview.vue'
 | 
	
		
			
				|  |  | +import ImageViewerMixin from '@/views/modules/common/mixins/image-viewer-mixin'
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  |    name: 'plan-submit',
 | 
	
		
			
				|  |  | -  components: { AttachDetailDialog, PreviewComponent },
 | 
	
		
			
				|  |  | +  mixins: [ImageViewerMixin],
 | 
	
		
			
				|  |  | +  components: { AttachDetailDialog, PreviewComponent, ImagePreview },
 | 
	
		
			
				|  |  |    computed: {},
 | 
	
		
			
				|  |  |    data() {
 | 
	
		
			
				|  |  |      return {
 | 
	
	
		
			
				|  | @@ -132,7 +147,7 @@ export default {
 | 
	
		
			
				|  |  |        craftsAddOrDetailVisible: false,
 | 
	
		
			
				|  |  |        previewVisible: false,
 | 
	
		
			
				|  |  |        downloadUrl: downloadUrl,
 | 
	
		
			
				|  |  | -      orderId:''
 | 
	
		
			
				|  |  | +      orderId: ''
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    created() { },
 |