GzhiYi / dandan-account

【此版本不是线上版本】🐷 不记录任何用户身份信息;专注记账的目的;账单清晰自然,报表易懂易分析;助你理财之路轻松有意义,小程序【单单记账】。
MIT License
169 stars 45 forks source link

初始小程序时分类数据集合 #63

Open GzhiYi opened 4 years ago

GzhiYi commented 4 years ago

对于克隆下来发现没有分类,我这里有一份默认的分类集合提供导入。在云开发控制台导入到分类表即可。

云开发控制台-数据库-DANDAN_NOTE_CATEGORY(如无需新建)-导入-选择json文件即可。

对于json内的数据可以根据需要进行修改。

因为json就这么一段,所以就直接贴上来,保存为json后在导入时选择。

{
  "_id": "food_and_drink_breakfast",
  "categoryName": "早餐",
  "categoryIcon": "icon",
  "description": "早餐",
  "flow": 0,
  "type": 0,
  "parentId": "food_and_drink_total",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "food_and_drink_dinner",
  "categoryName": "晚餐",
  "categoryIcon": "icon",
  "description": "晚餐",
  "flow": 0,
  "type": 0,
  "parentId": "food_and_drink_total",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "food_and_drink_lunch",
  "categoryName": "午餐",
  "categoryIcon": "icon",
  "description": "午餐",
  "flow": 0,
  "type": 0,
  "parentId": "food_and_drink_total",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "food_and_drink_night_snack",
  "categoryName": "宵夜",
  "categoryIcon": "icon",
  "description": "宵夜",
  "flow": 0,
  "type": 0,
  "parentId": "food_and_drink_total",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "food_and_drink_snack",
  "categoryName": "零食",
  "categoryIcon": "icon",
  "description": "零食",
  "flow": 0,
  "type": 0,
  "parentId": "food_and_drink_total",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "food_and_drink_total",
  "categoryName": "餐饮",
  "categoryIcon": "icon",
  "description": "餐饮",
  "flow": 0,
  "type": 0,
  "parentId": "",
  "isSelectable": false,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "income",
  "categoryName": "收入",
  "categoryIcon": "icon",
  "description": "收入",
  "flow": 1,
  "type": 0,
  "parentId": "",
  "isSelectable": false,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "income_ETFs",
  "categoryName": "基金",
  "categoryIcon": "icon",
  "description": "基金",
  "flow": 1,
  "type": 0,
  "parentId": "income",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "income_bonus",
  "categoryName": "奖金",
  "categoryIcon": "icon",
  "description": "奖金",
  "flow": 1,
  "type": 0,
  "parentId": "income",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "income_debt_collect",
  "categoryName": "收债",
  "categoryIcon": "icon",
  "description": "收债",
  "flow": 1,
  "type": 0,
  "parentId": "income",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "income_gifts",
  "categoryName": "礼金",
  "categoryIcon": "icon",
  "description": "礼金",
  "flow": 1,
  "type": 0,
  "parentId": "income",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "income_living",
  "categoryName": "生活费",
  "categoryIcon": "icon",
  "description": "生活费",
  "flow": 1,
  "type": 0,
  "parentId": "income",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "income_red_packet",
  "categoryName": "红包",
  "categoryIcon": "icon",
  "description": "红包",
  "flow": 1,
  "type": 0,
  "parentId": "income",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "income_refund",
  "categoryName": "退款",
  "categoryIcon": "icon",
  "description": "退款",
  "flow": 1,
  "type": 0,
  "parentId": "income",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "income_salary",
  "categoryName": "工资",
  "categoryIcon": "icon",
  "description": "工资",
  "flow": 1,
  "type": 0,
  "parentId": "income",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "income_stocks",
  "categoryName": "股票",
  "categoryIcon": "icon",
  "description": "股票",
  "flow": 1,
  "type": 0,
  "parentId": "income",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "medicine",
  "categoryName": "医疗",
  "categoryIcon": "icon",
  "description": "医疗",
  "flow": 0,
  "type": 0,
  "parentId": "",
  "isSelectable": false,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "medicine_doctor",
  "categoryName": "看病",
  "categoryIcon": "icon",
  "description": "看病",
  "flow": 0,
  "type": 0,
  "parentId": "medicine",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "medicine_medicine",
  "categoryName": "药物",
  "categoryIcon": "icon",
  "description": "药物",
  "flow": 0,
  "type": 0,
  "parentId": "medicine",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "money_management",
  "categoryName": "理财",
  "categoryIcon": "icon",
  "description": "理财",
  "flow": 0,
  "type": 0,
  "parentId": "",
  "isSelectable": false,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "money_management_ETFs",
  "categoryName": "基金",
  "categoryIcon": "icon",
  "description": "基金",
  "flow": 0,
  "type": 0,
  "parentId": "money_management",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "money_management_stocks",
  "categoryName": "股票",
  "categoryIcon": "icon",
  "description": "股票",
  "flow": 0,
  "type": 0,
  "parentId": "money_management",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "others",
  "categoryName": "杂项",
  "categoryIcon": "icon",
  "description": "杂项",
  "flow": 0,
  "type": 0,
  "parentId": "",
  "isSelectable": false,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "others_sub",
  "categoryName": "杂项",
  "categoryIcon": "icon",
  "description": "杂项",
  "flow": 0,
  "type": 0,
  "parentId": "others",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "skin_care",
  "categoryName": "护理",
  "categoryIcon": "icon",
  "description": "护理",
  "flow": 0,
  "type": 0,
  "parentId": "",
  "isSelectable": false,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "skin_care_makeup",
  "categoryName": "化妆品",
  "categoryIcon": "icon",
  "description": "化妆品",
  "flow": 0,
  "type": 0,
  "parentId": "skin_care",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "stored_value",
  "categoryName": "储值",
  "categoryIcon": "icon",
  "description": "储值",
  "flow": 0,
  "type": 0,
  "parentId": "",
  "isSelectable": false,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "stored_value_bus_card",
  "categoryName": "公交卡",
  "categoryIcon": "icon",
  "description": "公交卡",
  "flow": 0,
  "type": 0,
  "parentId": "stored_value",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "stored_value_call_credit",
  "categoryName": "话费",
  "categoryIcon": "icon",
  "description": "话费",
  "flow": 0,
  "type": 0,
  "parentId": "stored_value",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "stored_value_membership_card",
  "categoryName": "会员卡",
  "categoryIcon": "icon",
  "description": "会员卡",
  "flow": 0,
  "type": 0,
  "parentId": "stored_value",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "stored_value_virtual",
  "categoryName": "虚拟物品",
  "categoryIcon": "icon",
  "description": "虚拟物品",
  "flow": 0,
  "type": 0,
  "parentId": "stored_value",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "transportation",
  "categoryName": "出行",
  "categoryIcon": "icon",
  "description": "出行",
  "flow": 0,
  "type": 0,
  "parentId": "",
  "isSelectable": false,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "transportation_airplane",
  "categoryName": "飞机",
  "categoryIcon": "icon",
  "description": "飞机",
  "flow": 0,
  "type": 0,
  "parentId": "transportation",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "transportation_high_speed_rail",
  "categoryName": "高铁",
  "categoryIcon": "icon",
  "description": "高铁",
  "flow": 0,
  "type": 0,
  "parentId": "transportation",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
} {
  "_id": "transportation_online_car",
  "categoryName": "网约车",
  "categoryIcon": "icon",
  "description": "网约车",
  "flow": 0,
  "type": 0,
  "parentId": "transportation",
  "isSelectable": true,
  "createTime": {
    "$date": "2019-08-21T08:02:30.448Z"
  },
  "openId": "SYSTEM",
  "isDel": false
}
GzhiYi commented 4 years ago

46