Bladeren bron

每日任务的列表数据

gaoyognxing 4 jaren geleden
bovenliggende
commit
94a727d109
2 gewijzigde bestanden met toevoegingen van 111 en 0 verwijderingen
  1. 1 0
      client/app.js
  2. 110 0
      client/pages/customer/dailytasks/dailytasks.js

+ 1 - 0
client/app.js

@@ -17,4 +17,5 @@ App({
     userInfo:{},  //用户信息
     employRelationNo:'',//进入工作台的雇佣关系编号
   }
+  
 });

+ 110 - 0
client/pages/customer/dailytasks/dailytasks.js

@@ -3,6 +3,116 @@ import apiUrl from '../../../util/apiUrl'
 var app = getApp();
 Page({
   data: {
+    /**
+     * [
+      {
+        "categoryName": "洗护类",
+        "TaskItems": [
+          {
+            "id": 1,
+            "itemName": "洗衣服",
+            "categoryId": 1,
+            "disabled": true,
+            "createTime": "2020-09-28 11:38:26",
+            "updateTime": "2020-09-28 11:38:26"
+          },
+          {
+            "id": 2,
+            "itemName": "熨烫衣服",
+            "categoryId": 1,
+            "disabled": true,
+            "createTime": "2020-09-28 11:38:44",
+            "updateTime": "2020-09-28 11:38:44"
+          },
+          {
+            "id": 3,
+            "itemName": "晾晒收衣",
+            "categoryId": 1,
+            "disabled": true,
+            "createTime": "2020-09-28 11:39:06",
+            "updateTime": "2020-09-28 11:39:06"
+          },
+          {
+            "id": 4,
+            "itemName": "做早餐",
+            "categoryId": 2,
+            "disabled": true,
+            "createTime": "2020-09-28 11:39:43",
+            "updateTime": "2020-09-28 11:39:43"
+          },
+          {
+            "id": 5,
+            "itemName": "做午餐",
+            "categoryId": 2,
+            "disabled": true,
+            "createTime": "2020-09-28 11:39:58",
+            "updateTime": "2020-09-28 11:39:58"
+          },
+          {
+            "id": 6,
+            "itemName": "做晚餐",
+            "categoryId": 2,
+            "disabled": true,
+            "createTime": "2020-09-28 11:40:18",
+            "updateTime": "2020-09-28 11:40:18"
+          }
+        ]
+      },
+      {
+        "categoryName": "做饭类",
+        "TaskItems": [
+          {
+            "id": 1,
+            "itemName": "洗衣服",
+            "categoryId": 1,
+            "disabled": true,
+            "createTime": "2020-09-28 11:38:26",
+            "updateTime": "2020-09-28 11:38:26"
+          },
+          {
+            "id": 2,
+            "itemName": "熨烫衣服",
+            "categoryId": 1,
+            "disabled": true,
+            "createTime": "2020-09-28 11:38:44",
+            "updateTime": "2020-09-28 11:38:44"
+          },
+          {
+            "id": 3,
+            "itemName": "晾晒收衣",
+            "categoryId": 1,
+            "disabled": true,
+            "createTime": "2020-09-28 11:39:06",
+            "updateTime": "2020-09-28 11:39:06"
+          },
+          {
+            "id": 4,
+            "itemName": "做早餐",
+            "categoryId": 2,
+            "disabled": true,
+            "createTime": "2020-09-28 11:39:43",
+            "updateTime": "2020-09-28 11:39:43"
+          },
+          {
+            "id": 5,
+            "itemName": "做午餐",
+            "categoryId": 2,
+            "disabled": true,
+            "createTime": "2020-09-28 11:39:58",
+            "updateTime": "2020-09-28 11:39:58"
+          },
+          {
+            "id": 6,
+            "itemName": "做晚餐",
+            "categoryId": 2,
+            "disabled": true,
+            "createTime": "2020-09-28 11:40:18",
+            "updateTime": "2020-09-28 11:40:18"
+          }
+        ]
+      }
+    ]
+     */
     allList:[]
   },
   onLoad(options) {