瀏覽代碼

no message

linwenxin 1 年之前
父節點
當前提交
fc0543e48b
共有 1 個文件被更改,包括 18 次插入13 次删除
  1. 18 13
      src/views/mallManagement/setActivity/index.vue

+ 18 - 13
src/views/mallManagement/setActivity/index.vue

@@ -497,19 +497,24 @@ export default {
     columnParsing(item, defaultData) {
       if (item.jname === 'qrcode') {
 				defaultData.render = (h, { row, index, column }) => {
-          if(!!~[0, 2].indexOf(row.status) || !!~['待生效','生效中'].indexOf(row.statusText)){
-            return (
-              <div style="padding:0 6px;cursor: pointer;">
-                {row.qrcode ? row.qrcode.split(",").map(url => <el-image src={url} preview-src-list={[url]} fit="fit" style="width:80px;height:80px;" />) : null}
-              </div>
-            )
-          }else{
-            return (
-              <div style="padding:0 6px;cursor: pointer;opacity: 0.3;">
-                {row.qrcode ? row.qrcode.split(",").map(url => <el-image src={url} fit="fit" style="width:80px;height:80px;" />) : null}
-              </div>
-            )
-          }
+          return (
+            <div style="padding:0 6px;cursor: pointer;">
+              {row.qrcode ? row.qrcode.split(",").map(url => <el-image src={url} preview-src-list={[url]} fit="fit" style="width:80px;height:80px;" />) : null}
+            </div>
+          )
+          //if(!!~[0, 2].indexOf(row.status) || !!~['待生效','生效中'].indexOf(row.statusText)){
+          //  return (
+          //    <div style="padding:0 6px;cursor: pointer;">
+          //      {row.qrcode ? row.qrcode.split(",").map(url => <el-image src={url} preview-src-list={[url]} fit="fit" style="width:80px;height:80px;" />) : null}
+          //    </div>
+          //  )
+          //}else{
+          //  return (
+          //    <div style="padding:0 6px;cursor: pointer;opacity: 0.3;">
+          //      {row.qrcode ? row.qrcode.split(",").map(url => <el-image src={url} fit="fit" style="width:80px;height:80px;" />) : null}
+          //    </div>
+          //  )
+          //}
 				}
 			}
       if (item.jname == 'startTime') {