seam 7 年之前
父节点
当前提交
e75ad19204

文件差异内容过多而无法显示
+ 0 - 0
www/webapp/housekeeping/home/static/css/app.css


文件差异内容过多而无法显示
+ 0 - 0
www/webapp/housekeeping/home/static/js/app.js


文件差异内容过多而无法显示
+ 0 - 0
www/webapp/housekeeping/home/static/js/app.js.map


文件差异内容过多而无法显示
+ 0 - 0
www/webapp/housekeeping/home/static/js/manifest.js.map


+ 4 - 7
www/webapp/housekeeping/src/components/management/edit.vue

@@ -403,8 +403,8 @@ export default {
     },
     btnSubmint() {
       let self = this;
-
-      alert(ycTime(self.bookingTime));
+      ycTime(self.bookingTime);
+      // alert(ycTime(self.bookingTime));
       return;
       if (self.appointmentStatusStr.value != 1) {
         // 家政员不为空判断
@@ -709,13 +709,10 @@ export default {
 
 // 日期转时间戳 2014-07-10
 function ycTime(t) {
-  let stringTime = '2018/04/09 15:00:00';
-  // let stringTime = t + ':00';
-  alert('new Date(stringTime)  ' + new Date(stringTime));
+  t = t.replace(/-/g, '/')
+  let stringTime = t + ':00';
   let timestamp = Date.parse(new Date(stringTime));
-  alert('timestamp:  ' + timestamp);
   timestamp = timestamp / 1000;
-  alert('timestamp:  ' + timestamp);
   return timestamp;
 }
 </script>

部分文件因为文件数量过多而无法显示