seam 7 年之前
父节点
当前提交
72ee50d54e

文件差异内容过多而无法显示
+ 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


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

@@ -138,7 +138,7 @@
         that.btnSubmintStrShow = false
       }
       // 预约时间
-      console.log(that.order)
+      console.log(that.order);
       if (that.order.status_time !== 0) {
         that.bookingTime = that.order.status_time
       }
@@ -151,13 +151,13 @@
         that.techMobile = that.order.tech_mobile;
       }
       // 转化时间格式
-      /*     this.order.yc_time = _.timetrans(this.order.yc_time); // 预产期
-           this.order.yc_time = this.order.yc_time.substring(0, 10); // 预产期
-           this.order.server_start_time = _.timetrans(this.order.server_start_time);
-           this.order.server_start_time = this.order.server_start_time.substring(11, 16);
-           this.order.server_end_time = _.timetrans(this.order.server_end_time);
-           this.order.server_end_time = this.order.server_end_time.substring(11, 16);
-           */
+      // this.order.yc_time = _.timetrans(this.order.yc_time); // 预产期
+      this.order.yc_time = this.order.yc_time.substring(0, 10); // 预产期
+      this.order.server_start_time = _.timetrans(this.order.server_start_time);
+      this.order.server_start_time = this.order.server_start_time.substring(11, 16);
+      this.order.server_end_time = _.timetrans(this.order.server_end_time);
+      this.order.server_end_time = this.order.server_end_time.substring(11, 16);
+
       if (this.order.status - 1 == 0) {
         this.eAppointmentDate = true
       }

+ 5 - 4
www/webapp/housekeeping/src/config/index.js

@@ -25,13 +25,14 @@ if (test) {
 }
 // 判断是否为dev开发
 if (locationHref.indexOf('http://localhost:8080/') > -1) {
-  apiPath = 'http://commontest.yiguanjia.me/index.php?r=';
+  apiPath = 'http://common.yiguanjia.me/index.php?r=';
   // userId = '57fe2dc59f5160a1048b4591' // 享月会
   // userId = '582405cea84ea02e3e8b4611' // 养老院
   // userId = '59e41443fb48a7552f8b459e'; // 管理员
-  // userId = '57fd74be9f5160c7048b4a52' // 顾客
-  // userId = '586e07d3a84ea006358b4591' // 顾客
-  userId = '57e237ea9f5160b6048b4568' // 顾客
+  // 张工
+  userId = '582849af9f5160c2048b55dc';
+  // 戴老师
+  // userId = '57e38f1b9f5160ac048b457d' // 顾客
 } else if (locationHref.indexOf('admin.yiguanjiadev.me') > -1) {
   apiPath = 'http://admin.yiguanjiadev.me/index.php?r=';
   // userId = '57fe2dc59f5160a1048b4591'; // 享月会

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