linwenxin hace 1 año
padre
commit
5288ff6b93
Se han modificado 1 ficheros con 18 adiciones y 0 borrados
  1. 18 0
      src/views/mallManagement/setActivity/index.vue

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

@@ -445,6 +445,24 @@ export default {
 					)
 				}
 			}
+      if (item.jname == 'startTime') {
+				defaultData.render = (h, { row, index, column }) => {
+					return (
+						<div style="padding:0 6px;cursor: pointer;">
+							{row.startTime.split(" ")[0]}
+						</div>
+					)
+				}
+			}
+      if (item.jname == 'endTime') {
+				defaultData.render = (h, { row, index, column }) => {
+					return (
+						<div style="padding:0 6px;cursor: pointer;">
+							{row.endTime.split(" ")[0]}
+						</div>
+					)
+				}
+			}
       return defaultData
     },
     // 操作按钮