luobang 2 years ago
parent
commit
73de45e327

+ 2 - 2
build/utils.js

@@ -15,8 +15,8 @@ const devPathSrc = path.resolve(__dirname, '../../../src') // node_modules应用
 // ['index','appoint','configManager','homepage',''inward,'queue','RMS','sale','serviceManager','SporadicManage'
 //       统计报表       组织机构/系统管理 采购  仓储
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow','ADMINISTRATORS']
-let devModules = ['index', 'statisticalReport']
-// let devModules = ['all']
+// let devModules = ['index', 'statisticalReport']
+let devModules = ['all']
 //let devModules=['index']
 if (pathSrc.indexOf('node_modules') > -1) {
   devModules = require('../../../cors.js').devModules

+ 14 - 2
src/views/statisticalReport/components/salesLogisticsStatistics/saleSteelReports.vue

@@ -377,7 +377,11 @@
         class="vxeModal"
       >
         <div class="demo-image__preview">
-          <el-image style=" height:731px;text-align:center;" :src="src">
+          <el-image
+            style=" height:731px;text-align:center;"
+            :src="src"
+            @click="receiveClick(item.src)"
+          >
             <div slot="error" class="image-slot">
               <span>司机未上传图片</span>
             </div>
@@ -391,7 +395,11 @@
           :key="item.src"
         >
           <span>{{ item.title }}</span>
-          <el-image style="height:731px;text-align:center" :src="item.src">
+          <el-image
+            style="height:731px;text-align:center"
+            :src="item.src"
+            @click="receiveClick(item.src)"
+          >
             <div slot="error" class="image-slot">
               <span>司机未上传图片</span>
             </div>
@@ -1358,6 +1366,10 @@ export default {
   },
   computed: {},
   methods: {
+    receiveClick(src) {
+      this.dialogImageUrl = src
+      this.dialogVisible = true
+    },
     selectAddresClick() {
       if (this.addresText) {
         this.Address.requestUrl =