{"_id":"bd11cb11-29a4-4960-b4e2-8fa9c92af7be","apiUrl":"https://api.lelder.cn","config":{"ez.accToken":"at.0jgc8ukc8ho5uilg8ypo1cba2rsjxwmc-5tqqdgcbbp-1uy0uu0-sn9v5ahsv"},"title":"乐友健康","tableDefs":[{"_id":"alarm","access":"readonly","name":"alarm","label":"告警","columns":[{"_id":"item","type":"symbol(item)","label":"设备","width":4,"required":true},{"_id":"elder","type":"symbol(elder)","label":"老人","width":4,"required":true},{"_id":"code","type":"string","label":"告警类型","width":4,"required":true},{"_id":"desc","type":"string","label":"告警描述","width":4,"search":true},{"_id":"start","type":"date","variant":"datetime","label":"发生时间","width":4},{"_id":"end","type":"date","variant":"datetime","label":"结束时间","width":4},{"_id":"dealtAt","type":"date","variant":"datetime","label":"处理时间","width":4},{"_id":"dealtBy","type":"symbol(user)","label":"处理人","width":4},{"_id":"dealtResult","type":"string","label":"处理结果","width":12},{"_id":"remark","type":"string","label":"备注","width":12},{"_id":"status","label":"状态","width":4,"type":"string","variant":"tag","readonly":true,"dict":[{"value":"on","label":"告警中","theme":"error"},{"value":"off","label":"待处理","theme":"warning"},{"value":"done","label":"已处理","theme":"info"}]}],"render":{"label":"symbol(name)"},"actions":[{"_id":"deal","label":"处理","theme":"warning","scope":"row","icon":"tool","_type":{"dealAt":{"_type":"../dealtAt","required":true},"dealResult":{"_type":"../dealtResult","required":true}}}]},{"_id":"billing","access":"readonly","name":"billing","label":"结算","columns":[{"_id":"dist","type":"string","label":"所属区街道","width":4,"required":true},{"_id":"name","type":"string","label":"用户姓名","width":2,"required":true},{"_id":"quota","type":"integer","variant":"price","label":"补贴额度","width":2},{"_id":"qty","type":"integer","label":"服务量","width":2},{"_id":"amount","type":"integer","variant":"price","label":"服务金额","width":2},{"_id":"balance","type":"integer","variant":"price","label":"余额","width":2}],"render":{"label":"symbol(name)"},"actions":[{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建结算","fields":[{"_id":"dist","_type":"../dist"},{"_id":"name","_type":"../name"},{"_id":"quota","_type":"../quota"},{"_id":"qty","_type":"../qty"},{"_id":"amount","_type":"../amount"},{"_id":"balance","_type":"../balance"}],"width":"4xl"},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改结算","fields":[{"_id":"dist","_type":"../dist"},{"_id":"name","_type":"../name"},{"_id":"quota","_type":"../quota"},{"_id":"qty","_type":"../qty"},{"_id":"amount","_type":"../amount"},{"_id":"balance","_type":"../balance"}],"width":"4xl"},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此结算？","scope":"both","icon":"delete"}]},{"_id":"coupon","access":"readonly","name":"coupon","label":"电子券","columns":[{"_id":"ownerName","type":"string","label":"所有者姓名","search":true},{"_id":"name","type":"string","label":"卡名","search":true},{"_id":"no","type":"string","label":"卡号","search":true},{"_id":"balance","type":"integer","variant":"price","label":"余额"},{"_id":"remark","type":"string","label":"备注","search":true}],"render":{"label":"symbol(name)"},"actions":[{"_id":"add","label":"添加","theme":"primary","scope":"none","icon":"plus","title":"新建电子券","fields":[{"_id":"ownerName","_type":"../ownerName"},{"_id":"name","_type":"../name"},{"_id":"no","_type":"../no"},{"_id":"balance","_type":"../balance"},{"_id":"remark","_type":"../remark"}]},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改电子券","fields":[{"_id":"ownerName","_type":"../ownerName"},{"_id":"name","_type":"../name"},{"_id":"no","_type":"../no"},{"_id":"balance","_type":"../balance"},{"_id":"remark","_type":"../remark"}]},{"_id":"recharge","theme":"warning","scope":"row","icon":"alipay-circle","label":"充值"},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此电子券？","scope":"both","icon":"delete"}]},{"_id":"dept","access":"readonly","name":"dept","label":"部门","columns":[{"_id":"name","type":"string","label":"名称","width":18,"search":true,"required":true},{"_id":"contact","type":"string","label":"联系人","width":6,"search":true},{"_id":"tel","type":"string","label":"联系电话","width":6,"search":true},{"type":[{"_id":"dist","type":"symbol(dist)","required":true,"width":2.5,"level":4},{"_id":"block","type":"string","tooltip":"社区/村","width":8},{"_id":"no","type":"string","width":8,"tooltip":"详细地址","required":true,"search":true}],"stringify":"({ dist, block, no }) => [dist?.map((o) => o?.name).join(''), block, no].map(s => typeof s === 'string' && s.trim()).filter(s => !!s).join(' ')","width":25,"_id":"addr","label":"地址"},{"_id":"remark","type":"string","label":"备注","width":25,"variant":"text","search":true},{"_id":"cams","label":"监控摄像","type":[{"_id":"sn","type":"string","label":"序列号","required":true},{"_id":"point","type":"string","label":"点位"}],"multiple":"array"}],"tree":true,"render":{"label":"symbol(name)"},"actions":[{"_id":"view","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"部门详情","fields":[{"_id":"name","_type":"../name"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"remark","_type":"../remark"},{"_id":"cams","_type":"../cams"}]},{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建部门","fields":[{"_id":"name","_type":"../name"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"remark","_type":"../remark"},{"_id":"cams","_type":"../cams"}]},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改部门","fields":[{"_id":"name","_type":"../name"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"remark","_type":"../remark"},{"_id":"cams","_type":"../cams"}]},{"_id":"editCams","label":"监控","theme":"primary","scope":"row","icon":"video-camera","title":"编辑监控摄像","fields":[{"_id":"cams","_type":"../cams"}],"width":"3xl"},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此部门？","scope":"both","icon":"delete"}]},{"_id":"dev","access":"readonly","name":"dev","label":"设备","columns":[{"_id":"name","type":"string","label":"名称","width":6,"required":true,"search":true},{"_id":"type","type":"string","label":"类别","variant":"tag","dict":[{"label":"NB设备","value":"nb","icon":"dev-ecg-bed"},{"label":"WIFI设备","value":"wifi","icon":"dev-camera"},{"label":"4G/5G设备","value":"cat","icon":"dev-camera"},{"label":"其他","value":"_","icon":"dev-sos-alert"}],"width":6,"required":true},{"_id":"model","type":"string","label":"型号","width":6,"required":true,"search":true},{"_id":"protocol","type":"string","label":"协议","width":8,"required":true},{"_id":"mfr","type":"string","label":"生产商","search":true},{"_id":"contact","type":"string","label":"联系人","width":6,"search":true},{"_id":"tel","type":"string","label":"联系电话","width":6,"search":true},{"_id":"addr","type":"string","width":32,"label":"联系地址","search":true},{"_id":"desc","type":"string","width":32,"label":"描述","search":true},{"_id":"photo","type":"image","label":"图片"}],"render":{"label":"symbol(name)"},"actions":[{"_id":"view","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"设备详情","fields":[{"_id":"name","_type":"../name"},{"_id":"type","_type":"../type"},{"_id":"model","_type":"../model"},{"_id":"protocol","_type":"../protocol"},{"_id":"mfr","_type":"../mfr"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"desc","_type":"../desc"},{"_id":"photo","_type":"../photo"}]},{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建设备","fields":[{"_id":"name","_type":"../name"},{"_id":"type","_type":"../type"},{"_id":"model","_type":"../model"},{"_id":"protocol","_type":"../protocol"},{"_id":"mfr","_type":"../mfr"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"desc","_type":"../desc"},{"_id":"photo","_type":"../photo"}]},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改设备","fields":[{"_id":"name","_type":"../name"},{"_id":"type","_type":"../type"},{"_id":"model","_type":"../model"},{"_id":"protocol","_type":"../protocol"},{"_id":"mfr","_type":"../mfr"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"desc","_type":"../desc"},{"_id":"photo","_type":"../photo"}]},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此设备？","scope":"both","icon":"delete"}]},{"_id":"dist","access":"readonly","name":"dist","idType":"string","label":"地区","columns":[{"_id":"name","label":"名称","width":5,"type":"string","search":true},{"_id":"level","type":"integer"},{"_id":"loc","label":"位置","type":"geo.point"}],"tree":[{"label":"省份"},{"label":"市"},{"label":"区县"},{"label":"乡镇"},{"label":"村"}],"limit":1000,"width":5,"render":{"label":"symbol(name)"}},{"_id":"elder","access":"readonly","name":"elder","label":"老人档案","columns":[{"_id":"name","type":"string","label":"姓名","width":6,"required":true,"search":true,"comparator":"$ctn"},{"_id":"avatar","type":"image","label":"照片","defaulted":"/img/elder-avatar-male.svg"},{"_id":"gender","label":"性别","width":3,"required":true,"type":"string","dict":[{"label":"女","value":"f","color":"red"},{"label":"男","value":"m","color":"blue"}],"comparator":"$eq"},{"_id":"birthday","label":"出生日期","width":6,"required":true,"type":"date","variant":"date","initial":"() => 5","attrs":{"age":{"_type":"integer","label":"年龄","width":3,"getter":"() => undefined"}}},{"_id":"mobile","type":"string","variant":"mobile","label":"手机号","width":8,"required":true,"search":true,"comparator":"$ctn"},{"_id":"idtype","type":"string","label":"证件类型","dict":[{"label":"身份证","value":"id"},{"label":"军官证","value":"coo"},{"label":"士官证","value":"cos"},{"label":"其他","value":"_"}],"width":6,"required":true},{"_id":"idn","type":"string","label":"证件号码","width":12,"required":true},{"_id":"nation","type":"string","label":"民族","width":6,"variant":"tag","dict":[{"label":"汉族","value":"ha"},{"label":"蒙古族","value":"mg"},{"label":"回族","value":"hu"},{"label":"藏族","value":"za"},{"label":"维吾尔族","value":"ug"},{"label":"其他","value":"_"}]},{"_id":"politic","type":"string","label":"政治面貌","width":6,"variant":"tag","dict":[{"label":"党员","value":"ccp"},{"label":"民主党派","value":"dp"},{"label":"群众","value":"pop"}]},{"_id":"tel","type":"string","variant":"tel","label":"固定电话","width":8,"search":true},{"_id":"ssn","type":"string","label":"社保证号","width":12},{"_id":"marital","type":"string","label":"婚姻状况","width":6,"dict":[{"label":"已婚","value":"married"},{"label":"未婚","value":"single"},{"label":"离异","value":"divorced"},{"label":"丧偶","value":"widowed"}]},{"_id":"regType","type":"string","label":"户籍性质","width":6,"dict":[{"value":"ag","label":"农业户口"},{"value":"nag","label":"非农业户口"},{"value":"_","label":"其他"}]},{"_id":"endins","type":"string","label":"养老保障","width":12,"dict":[{"value":"1","label":"镇职工基本养老保险"},{"value":"2","label":"城市低保 (城市居民最低生活保障金)"},{"value":"3","label":"城乡居民社会养老保险"},{"value":"4","label":"离、退休金"},{"value":"5","label":"失地农民补偿)"},{"value":"_","label":"其他"}]},{"_id":"type","type":"string","label":"类别","width":6,"dict":[{"value":"1","label":"独居老人"},{"value":"2","label":"空巢老人"},{"value":"3","label":"低保对象"},{"value":"4","label":"五保对象"},{"value":"5","label":"离休干部"},{"value":"6","label":"退休干部"},{"value":"7","label":"退休职工"},{"value":"_","label":"其他"}]},{"_id":"medins","type":"string","label":"医疗保障","width":12,"dict":[{"value":"1","label":"城镇职工基本医疗保险"},{"value":"2","label":"城镇居民基本医疗保险"},{"value":"3","label":"新型农村合作医疗"},{"value":"4","label":"贫困救助"},{"value":"5","label":"商业医疗保险"},{"value":"6","label":"全公费"},{"value":"7","label":"全自费"},{"value":"_","label":"其他"}]},{"_id":"faith","type":"string","label":"宗教信仰","width":6,"dict":[{"value":"ch","label":"基督教"},{"value":"d","label":"道教"},{"value":"b","label":"佛教"},{"value":"m","label":"伊斯兰教"},{"value":"ca","label":"天主教"}]},{"_id":"regGroup","type":"string","label":"所属居委会","width":12,"search":true},{"_id":"regAddr","type":"string","label":"户籍地址","width":30,"search":true},{"type":"->[\"tableDefs\",\"3\",\"columns\",\"3\",\"type\"]","stringify":"({ dist, block, no }) => [dist?.map((o) => o?.name).join(''), block, no].map(s => typeof s === 'string' && s.trim()).filter(s => !!s).join(' ')","width":25,"_id":"addr","label":"现居地址","required":true},{"_id":"loc","type":"geo.point","label":"地理位置","style":{"map-aspect":2}},{"_id":"contacts","label":"紧急联系人","type":[{"_id":"relation","type":"string","label":"关系","dict":[{"value":"child","label":"子女"},{"value":"relative","label":"亲戚"},{"value":"friend","label":"朋友"},{"value":"colleague","label":"同事"},{"value":"other","label":"其他"}],"required":true},{"_id":"name","type":"string","label":"姓名","required":true},{"_id":"mobile","type":"string","variant":"mobile","label":"手机号","required":true},{"_id":"job","type":"string","label":"单位"},{"type":"->[\"tableDefs\",\"3\",\"columns\",\"3\",\"type\"]","stringify":"({ dist, block, no }) => [dist?.map((o) => o?.name).join(''), block, no].map(s => typeof s === 'string' && s.trim()).filter(s => !!s).join(' ')","width":25,"_id":"addr","label":"地址"}],"multiple":"array","option":{"edit.table.columns":["relation","name","mobile"]}},{"_id":"items","label":"绑定设备","type":[{"_id":"dev","type":"symbol(dev)","label":"设备类别","required":true},{"_id":"img","type":"image","label":"图片"},{"_id":"sn","type":"string","label":"设备编号","required":true},{"_id":"room","type":"string","label":"房间"}],"multiple":"array"},{"_id":"builds","label":"适老设施","type":[{"_id":"dev","type":"symbol(dev)","label":"设备","required":true},{"_id":"beforeImg","type":"image","label":"改造前图片","required":true},{"_id":"startAt","type":"date","variant":"datetime","label":"启动时间","required":true},{"_id":"afterImg","type":"image","label":"改造后图片","required":true},{"_id":"endAt","type":"date","variant":"datetime","label":"结束时间","required":true}],"multiple":"array","option":{}},{"_id":"idcard","width":25,"label":"身份证照片","type":[{"_id":"front","type":"image","width":8,"label":"身份证人像面"},{"_id":"back","type":"image","width":8,"label":"身份证国徽面"}]},{"_id":"resid","label":"户口本照片","width":25,"type":[{"_id":"cover","type":"image","width":8,"label":"户口本户主页"},{"_id":"page","type":"image","width":8,"label":"户口本老人所在页"}]},{"_id":"evidence","label":"材料证明","width":25,"type":[{"_id":"estate","type":"image","width":8,"label":"房产证复印件或社区证明"},{"_id":"income","type":"image","width":8,"label":"家庭收入证明"},{"_id":"vul","type":"image","width":8,"label":"困难材料证明"}]},{"_id":"status","label":"状态","width":4,"type":"string","variant":"tag","readonly":true,"dict":[{"value":"normal","label":"正常"},{"value":"canceled","label":"注销"}]},{"_id":"isLocal","type":"string","label":"是否本地户籍","width":6,"dict":[{"label":"是","value":"y","color":"primary"},{"label":"否","value":"n","color":"gray"}]},{"_id":"bloodType","type":"string","label":"血型","width":6,"dict":[{"value":"A","label":"A型"},{"value":"B","label":"B型"},{"value":"O","label":"O型"},{"value":"AB","label":"AB型"},{"value":"_","label":"不详"}]},{"_id":"eduBg","type":"string","label":"教育程度","width":6,"dict":[{"value":"M","label":"研究生"},{"value":"B","label":"大学本科"},{"value":"HT","label":"大学专科和专科学校"},{"value":"MT","label":"中等专业学校"},{"value":"T","label":"技工学校"},{"value":"HS","label":"高中"},{"value":"MS","label":"初中"},{"value":"S","label":"小学"},{"value":"N","label":"文盲或半文盲"},{"value":"_","label":"不详"}]},{"_id":"careerType","type":"string","label":"(原)职业","width":6,"dict":[{"value":"GOV","label":"政府公务员"},{"value":"PUB","label":"事业单位人员"},{"value":"FE","label":"外企职工"},{"value":"PEO","label":"私营业主"},{"value":"PE","label":"民企职工"},{"value":"SE","label":"国企职工"},{"value":"_","label":"无职业"}]},{"_id":"dwellType","type":"string","label":"居住状态","width":6,"dict":[{"value":"alone","label":"独居"},{"value":"share","label":"老人合住"},{"value":"family","label":"与子女合住"},{"value":"_","label":"其他"}]},{"_id":"childrenType","type":"string","label":"子女情况","width":6,"dict":[{"value":"single","label":"独生子女"},{"value":"multiple","label":"多个子女"},{"value":"lost","label":"失独"},{"value":"none","label":"无子女"},{"value":"_","label":"其他"}]},{"_id":"visitRate","type":"string","label":"子女探望频次","width":6,"dict":[{"value":"weekly","label":"1周1-2次"},{"value":"monthly","label":"1月1-2次"},{"value":"_","label":"其他"}]},{"_id":"income","type":"integer","variant":"price","label":"收入情况","width":6,"dict":"->[\"tableDefs\",\"6\",\"columns\",\"34\",\"dict\"]"},{"_id":"livingType","type":"string","label":"生活费用经济来源","width":6,"dict":[{"value":"children","label":"子女赡养"},{"value":"social","label":"社保工资"},{"value":"basic","label":"低保"},{"value":"pension","label":"退休金/养老金"},{"value":"self","label":"自营生意"},{"value":"rent","label":"出租房子"},{"value":"sponsor","label":"亲友资助"},{"value":"_","label":"其他"}]},{"_id":"medPayType","type":"string","label":"医疗费用支付方式","width":6,"dict":"->[\"tableDefs\",\"6\",\"columns\",\"15\",\"dict\"]"},{"_id":"taste","type":"string","label":"饮食特点","width":6,"dict":[{"value":"B","label":"荤素均衡"},{"value":"M","label":"荤食为主"},{"value":"V","label":"素食为主"},{"value":"S","label":"嗜盐"},{"value":"O","label":"嗜油"},{"value":"SG","label":"嗜糖"}]},{"_id":"hobby","type":"string","label":"个人爱好","width":20},{"_id":"character","type":"string","label":"性格特点","width":6,"dict":[{"value":"O","label":"开朗"},{"value":"I","label":"内向"}]},{"_id":"disability","type":"string","label":"失能情况","width":24},{"_id":"selfCare","type":"string","label":"生活自理情况","width":6,"dict":[{"value":"$N","label":"完全生活自理"},{"value":"$L","label":"部分失能"},{"value":"$M","label":"半失能"},{"value":"$F","label":"失能"},{"value":"_","label":"其他"}]},{"_id":"inBed","type":"string","label":"是否卧床","width":3,"dict":"->[\"tableDefs\",\"6\",\"columns\",\"28\",\"dict\"]"},{"_id":"disease","type":"string","label":"疾病","multiple":"array","width":20,"dict":[{"value":"1","label":"高血压"},{"value":"2","label":"糖尿病"},{"value":"3","label":"冠心病"},{"value":"4","label":"慢性阻塞性肺疾病"},{"value":"5","label":"恶性肿瘤"},{"value":"6","label":"脑卒中"},{"value":"7","label":"严重精神障碍"},{"value":"8","label":"结核病"},{"value":"9","label":"肝炎"},{"value":"10","label":"其他法定传染病"},{"value":"11","label":"职业病"},{"value":"_","label":"其他"}]},{"_id":"operations","type":"string","label":"手术","width":20},{"_id":"genetic","type":"string","label":"遗传病史","width":20},{"_id":"allergy","type":"string","label":"药物过敏史","multiple":"array","width":20,"dict":[{"value":"1","label":"青霉素"},{"value":"2","label":"磺胺"},{"value":"3","label":"链霉素"},{"value":"_","label":"其他"}]},{"_id":"lifeStatus","type":"string","label":"生活情况","width":8,"dict":[{"value":"1","label":"物质生活良好"},{"value":"2","label":"买药支出较大"},{"value":"3","label":"生活支出较大"},{"value":"4","label":"缺少辅具（拐杖/轮椅等）"},{"value":"_","label":"其他"}]},{"_id":"demands","type":"string","label":"养老需求","width":20,"multiple":"array","dict":[{"value":"1","label":"送餐需求"},{"value":"2","label":"家务需求"},{"value":"3","label":"助浴需求"},{"value":"4","label":"理发需求"},{"value":"5","label":"口腔清洁"},{"value":"6","label":"协助更衣"},{"value":"7","label":"面部清洁和梳头"},{"value":"8","label":"指甲修剪"},{"value":"9","label":"剃须"},{"value":"10","label":"买菜做饭"},{"value":"11","label":"房间整理"},{"value":"12","label":"陪诊"},{"value":"13","label":"代购代办"},{"value":"14","label":"清洗衣物和窗帘"},{"value":"15","label":"陪同访友/活动"},{"value":"16","label":"入住养老服务中心"},{"value":"17","label":"适老化改造需求"},{"value":"18","label":"陪伴聊天"},{"value":"19","label":"康复治疗"},{"value":"19","label":"中医养生保健"},{"value":"_","label":"其他"}]},{"_id":"regBy","type":"symbol(user)","label":"登记人","width":6},{"_id":"regAt","type":"date","variant":"datetime","label":"登记时间","width":12},{"_id":"addrs","type":[{"_id":"block","type":"string"},{"_id":"room","type":"string"},{"_id":"contact","type":"string"},{"_id":"mobile","type":"string"}],"multiple":"array","label":"收货地址"}],"render":{"label":"symbol(name)"},"keys":["idn"],"queries":[{"_id":"find","name":"find","label":"查找","theme":"primary","icon":"search","title":"查找老人档案","fields":[{"_id":"name","_type":"../name"},{"_id":"gender","_type":"../gender"},{"_id":"mobile","_type":"../mobile"},{"_id":"idn","_type":"../idn"}]}],"actions":[{"_id":"viewInfo","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"基本资料","fields":[{"_id":"name","_type":"../name"},{"_id":"gender","_type":"../gender"},{"_id":"birthday","_type":"../birthday"},{"_id":"avatar","_type":"../avatar"},{"_id":"mobile","_type":"../mobile"},{"_id":"idtype","_type":"../idtype"},{"_id":"idn","_type":"../idn"},{"_id":"nation","_type":"../nation"},{"_id":"politic","_type":"../politic"},{"_id":"tel","_type":"../tel"},{"_id":"ssn","_type":"../ssn"},{"_id":"marital","_type":"../marital"},{"_id":"regType","_type":"../regType"},{"_id":"endins","_type":"../endins"},{"_id":"type","_type":"../type"},{"_id":"medins","_type":"../medins"},{"_id":"faith","_type":"../faith"},{"_id":"regGroup","_type":"../regGroup"},{"_id":"regAddr","_type":"../regAddr"}],"width":"4xl"},{"_id":"reg","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建老人档案","fields":[{"_id":"name","_type":"../name"},{"_id":"avatar","_type":"../avatar"},{"_id":"birthday","_type":"../birthday"},{"_id":"mobile","_type":"../mobile"},{"_id":"addr","_type":"../addr"},{"_id":"gender","_type":"../gender"},{"_id":"idn","_type":"../idn"},{"_id":"marital","_type":"../marital"},{"_id":"isLocal","_type":"../isLocal"},{"_id":"nation","_type":"../nation"},{"_id":"contacts","_type":"../contacts"},{"_id":"bloodType","_type":"../bloodType"},{"_id":"eduBg","_type":"../eduBg"},{"_id":"careerType","_type":"../careerType"},{"_id":"dwellType","_type":"../dwellType"},{"_id":"childrenType","_type":"../childrenType"},{"_id":"visitRate","_type":"../visitRate"},{"_id":"income","_type":"../income"},{"_id":"medPayType","_type":"../medPayType"},{"_id":"taste","_type":"../taste"},{"_id":"hobby","_type":"../hobby"},{"_id":"character","_type":"../character"},{"_id":"selfCare","_type":"../selfCare"},{"_id":"disease","_type":"../disease"},{"_id":"operations","_type":"../operations"},{"_id":"genetic","_type":"../genetic"},{"_id":"allergy","_type":"../allergy"},{"_id":"lifeStatus","_type":"../lifeStatus"},{"_id":"demands","_type":"../demands"}],"width":"4xl"},{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建老人档案","fields":[{"_id":"name","_type":"../name"},{"_id":"gender","_type":"../gender"},{"_id":"birthday","_type":"../birthday"},{"_id":"mobile","_type":"../mobile"},{"_id":"idtype","_type":"../idtype"},{"_id":"idn","_type":"../idn"},{"_id":"addr","_type":"../addr"}],"width":"4xl"},{"_id":"editInfo","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"基本资料","fields":[{"_id":"name","_type":"../name"},{"_id":"gender","_type":"../gender"},{"_id":"birthday","_type":"../birthday"},{"_id":"avatar","_type":"../avatar"},{"_id":"mobile","_type":"../mobile"},{"_id":"idtype","_type":"../idtype"},{"_id":"idn","_type":"../idn"},{"_id":"nation","_type":"../nation"},{"_id":"politic","_type":"../politic"},{"_id":"tel","_type":"../tel"},{"_id":"ssn","_type":"../ssn"},{"_id":"marital","_type":"../marital"},{"_id":"regType","_type":"../regType"},{"_id":"endins","_type":"../endins"},{"_id":"type","_type":"../type"},{"_id":"medins","_type":"../medins"},{"_id":"faith","_type":"../faith"},{"_id":"regGroup","_type":"../regGroup"},{"_id":"regAddr","_type":"../regAddr"}],"width":"4xl"},{"_id":"editAddr","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"养老地址","fields":[{"_id":"addr","_type":"../addr"}],"width":"4xl"},{"_id":"editContacts","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"紧急联系人","fields":[{"_id":"contacts","_type":"../contacts"}],"width":"4xl"},{"_id":"editItems","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"智能设备","fields":[{"_id":"items","_type":"../items"}],"width":"4xl"},{"_id":"editBuilds","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"设备图片","fields":[{"_id":"builds","_type":"../builds"}],"width":"4xl"},{"_id":"editAsset","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"附件信息","fields":[{"_id":"idcard","_type":"../idcard"},{"_id":"resid","_type":"../resid"},{"_id":"evidence","_type":"../evidence"}],"width":"4xl"},{"_id":"cancel","label":"注销","theme":"warning","caution":"确认注销？","scope":"both","icon":"close"},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此老人档案？","scope":"both","icon":"delete"}]},{"_id":"gov-elder","access":"readonly","name":"gov-elder","label":"老人数据推送","columns":[{"_id":"name","type":"string","label":"姓名","width":4,"required":true,"search":true},{"_id":"gender","label":"性别","width":4,"required":true,"type":"string","variant":"tag","dict":"->[\"tableDefs\",\"6\",\"columns\",\"2\",\"dict\"]"},{"_id":"mobile","type":"string","variant":"mobile","label":"手机号","width":4,"required":true,"search":true},{"_id":"idn","type":"string","label":"身份证","width":4,"required":true},{"_id":"addr","type":"string","label":"现居地址","width":12,"required":true,"search":true},{"_id":"type","type":"string","label":"类别","width":4,"dict":"->[\"tableDefs\",\"6\",\"columns\",\"14\",\"dict\"]"},{"_id":"status","label":"状态","width":4,"type":"string","variant":"tag","readonly":true,"dict":"->[\"tableDefs\",\"6\",\"columns\",\"27\",\"dict\"]"}],"render":{"label":"symbol(name)"},"actions":[{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建老人数据推送","fields":[{"_id":"name","_type":"../name"},{"_id":"gender","_type":"../gender"},{"_id":"mobile","_type":"../mobile"},{"_id":"idn","_type":"../idn"},{"_id":"addr","_type":"../addr"},{"_id":"type","_type":"../type"},{"_id":"status","_type":"../status"}],"width":"4xl"},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此老人数据推送？","scope":"both","icon":"delete"}]},{"_id":"gov-info","access":"readonly","name":"gov-info","label":"民政平台信息","columns":[{"_id":"name","type":"string","label":"名称","width":4,"required":true},{"_id":"contact","type":"string","label":"负责人","width":4,"required":true},{"_id":"tel","type":"string","label":"联系方式","width":4,"required":true},{"_id":"addr","type":"string","label":"地址","width":12},{"_id":"intro","type":"string","variant":"text","label":"简介","width":12},{"_id":"status","type":"string","variant":"tag","label":"状态","readonly":true,"dict":"->[\"tableDefs\",\"6\",\"columns\",\"27\",\"dict\"]"}],"render":{"label":"symbol(name)"},"actions":[{"_id":"view","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"民政平台信息详情","fields":[{"_id":"name","_type":"../name"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"intro","_type":"../intro"},{"_id":"status","_type":"../status"}]},{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建民政平台信息","fields":[{"_id":"name","_type":"../name"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"intro","_type":"../intro"},{"_id":"status","_type":"../status"}]},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改民政平台信息","fields":[{"_id":"name","_type":"../name"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"intro","_type":"../intro"},{"_id":"status","_type":"../status"}]},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此民政平台信息？","scope":"both","icon":"delete"}]},{"_id":"item-msg","access":"readonly","name":"item-msg","label":"设备消息","columns":[{"_id":"mfr","type":"string","label":"制造商","width":8,"required":true},{"_id":"sn","type":"string","label":"设备码"},{"_id":"type","type":"string","label":"类别"},{"_id":"data","type":"any","label":"数据"},{"_id":"time","type":"date","variant":"datetime","label":"时间"},{"_id":"loc","type":"geo.point","label":"地点"},{"_id":"status","label":"状态","width":4,"type":"string","variant":"tag","dict":[{"value":"unread","label":"未读","color":"warning"},{"value":"read","label":"已读","color":"success"},{"value":"exp","label":"已过期","color":"normal"}]},{"_id":"readAt","type":"date","variant":"datetime","label":"查看时间"}]},{"_id":"item","access":"readonly","name":"item","label":"老人设备","columns":[{"_id":"dev","type":"symbol(dev)","label":"设备","required":true},{"_id":"uid","type":"string","label":"设备ID","required":true,"unique":true},{"_id":"elder","type":"symbol(elder)","label":"老人"},{"_id":"bindAt","type":"date","variant":"datetime","label":"绑定时间"},{"_id":"onAt","type":"date","variant":"datetime","label":"最近上线时间"},{"_id":"offAt","type":"date","variant":"datetime","label":"最近下线时间"},{"_id":"releaseAt","type":"date","variant":"datetime","label":"解绑时间"},{"_id":"data","type":"any","label":"当前数据"},{"_id":"status","type":"string","variant":"tag","label":"设备状态","dict":[{"value":"idle","label":"未绑定"},{"value":"bound","label":"已绑定"},{"value":"online","label":"在线"},{"value":"offline","label":"下线"},{"value":"fault","label":"保修中"}]}],"keys":["uid"],"render":{"label":"symbol(name)"},"actions":[{"_id":"view","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"老人设备详情","fields":[{"_id":"dev","_type":"../dev"},{"_id":"uid","_type":"../uid"},{"_id":"elder","_type":"../elder"},{"_id":"bindAt","_type":"../bindAt"},{"_id":"onAt","_type":"../onAt"},{"_id":"offAt","_type":"../offAt"},{"_id":"releaseAt","_type":"../releaseAt"},{"_id":"data","_type":"../data"},{"_id":"status","_type":"../status"}]},{"_id":"add","label":"新增","theme":"primary","scope":"none","icon":"plus","title":"新建老人设备","fields":[{"_id":"dev","_type":"../dev"},{"_id":"uid","_type":"../uid"},{"_id":"elder","_type":"../elder"},{"_id":"bindAt","_type":"../bindAt"},{"_id":"onAt","_type":"../onAt"},{"_id":"offAt","_type":"../offAt"},{"_id":"releaseAt","_type":"../releaseAt"},{"_id":"data","_type":"../data"},{"_id":"status","_type":"../status"}],"_type":{"dev_id":{"_type":"../dev","required":true},"uid":{"_type":"../uid","required":true}}},{"_id":"update","label":"修改设备ID","theme":"primary","scope":"row","icon":"edit","title":"修改老人设备","fields":[{"_id":"dev","_type":"../dev"},{"_id":"uid","_type":"../uid"},{"_id":"elder","_type":"../elder"},{"_id":"bindAt","_type":"../bindAt"},{"_id":"onAt","_type":"../onAt"},{"_id":"offAt","_type":"../offAt"},{"_id":"releaseAt","_type":"../releaseAt"},{"_id":"data","_type":"../data"},{"_id":"status","_type":"../status"}],"_type":{"uid":{"_type":"../uid","required":true}}},{"_id":"bind","label":"绑定","theme":"normal","width":"2xl","scope":"both","icon":"user-add","title":"绑定设备到老人","_type":{"elder_id":{"_type":"../elder","required":true}}},{"_id":"release","label":"解绑","caution":"确认解绑此设备？","theme":"warning","scope":"both","icon":"close","title":"解绑设备"},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此老人设备？","scope":"both","icon":"delete"}]},{"_id":"reform","access":"readonly","name":"reform","label":"适老改造","columns":[{"_id":"elder","type":"symbol(elder)","label":"老人","width":6,"required":true},{"_id":"staff","type":"symbol(staff)","label":"施工人员","width":6},{"_id":"title","type":"string","label":"需求标题","width":25,"required":true},{"_id":"level","type":"string","label":"紧急程度","width":8,"variant":"check","dict":[{"value":"normal","label":"一般"},{"value":"warning","label":"紧急"}]},{"_id":"type","type":"string","label":"需求类型","width":8,"variant":"check","dict":[{"value":"add","label":"新增需求"},{"value":"update","label":"需求变更"}]},{"_id":"reqAt","label":"申请时间","type":"date","variant":"datetime","width":9,"format":"yyyy-MM-dd HH:mm"},{"_id":"cate","type":"string","label":"业务范围","width":25,"variant":"check","dict":[{"value":"1","label":"项目咨询"},{"value":"2","label":"家具家装"},{"value":"3","label":"辅具适配"},{"value":"4","label":"硬件改造"},{"value":"5","label":"项目维修"},{"value":"6","label":"需求变更"},{"value":"7","label":"售后处理"},{"value":"8","label":"服务反馈"},{"value":"9","label":"投诉建议"}]},{"_id":"situ","type":"string","label":"需求背景","width":25},{"_id":"anlys","type":"string","label":"问题现状分析","width":25,"variant":"text"},{"_id":"stkh","type":"string","label":"需求干系人","width":25},{"_id":"sol","type":"string","label":"建议解决方案","width":25,"variant":"text"},{"_id":"expAt","type":"date","label":"期望完成时间","variant":"date","width":6,"format":"yyyy-MM-dd"},{"_id":"apptAt","label":"上门时间","type":"date","variant":"datetime","width":9,"format":"yyyy-MM-dd HH:mm"},{"_id":"status","type":"string","width":4,"label":"状态","dict":[{"value":"todo","label":"待处理","color":"warning"},{"value":"taken","label":"已派单","color":"primary"},{"value":"pending","label":"服务中","color":"info"},{"value":"done","label":"已完成","color":"primary"},{"value":"reviewed","label":"已回访","color":"success"},{"value":"canceled","label":"已退单","color":"error"}]},{"_id":"prePhoto","type":"image","variant":"camera","label":"施工前照片"},{"_id":"startAt","label":"施工开始时间","type":"date","variant":"datetime","width":9,"format":"yyyy-MM-dd HH:mm"},{"_id":"postPhoto","type":"image","variant":"camera","label":"施工后照片"},{"_id":"endAt","label":"施工结束时间","type":"date","variant":"datetime","width":9,"format":"yyyy-MM-dd HH:mm"}],"render":{"label":"symbol(title)"},"queries":[{"_id":"yOBaSo08","name":"find","label":"查找","theme":"primary","icon":"search","title":"查找适老改造","fields":[{"_id":"elder","_type":"../elder"},{"_id":"cate","_type":"../cate"},{"_id":"item","_type":"../item"},{"_id":"staff","_type":"../staff"},{"_id":"status","_type":"../status"}]}],"actions":[{"_id":"view","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"适老改造详情","fields":[{"_id":"elder","_type":"../elder"},{"_id":"staff","_type":"../staff"},{"_id":"title","_type":"../title"},{"_id":"level","_type":"../level"},{"_id":"type","_type":"../type"},{"_id":"reqAt","_type":"../reqAt"},{"_id":"cate","_type":"../cate"},{"_id":"situ","_type":"../situ"},{"_id":"anlys","_type":"../anlys"},{"_id":"stkh","_type":"../stkh"},{"_id":"sol","_type":"../sol"},{"_id":"expAt","_type":"../expAt"},{"_id":"apptAt","_type":"../apptAt"},{"_id":"status","_type":"../status"},{"_id":"prePhoto","_type":"../prePhoto"},{"_id":"startAt","_type":"../startAt"},{"_id":"postPhoto","_type":"../postPhoto"},{"_id":"endAt","_type":"../endAt"}]},{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建适老改造","fields":[{"_id":"elder","_type":"../elder"},{"_id":"staff","_type":"../staff"},{"_id":"title","_type":"../title"},{"_id":"level","_type":"../level"},{"_id":"type","_type":"../type"},{"_id":"reqAt","_type":"../reqAt"},{"_id":"cate","_type":"../cate"},{"_id":"situ","_type":"../situ"},{"_id":"anlys","_type":"../anlys"},{"_id":"stkh","_type":"../stkh"},{"_id":"sol","_type":"../sol"},{"_id":"expAt","_type":"../expAt"},{"_id":"apptAt","_type":"../apptAt"},{"_id":"status","_type":"../status"},{"_id":"prePhoto","_type":"../prePhoto"},{"_id":"startAt","_type":"../startAt"},{"_id":"postPhoto","_type":"../postPhoto"},{"_id":"endAt","_type":"../endAt"}]},{"_id":"assign","label":"分配","theme":"primary","scope":"both","icon":"launch","title":"施工分配","watcher":"({ value }) => ({ disabled: value?.status !== 'todo' })","fields":[{"_id":"staff","_type":"../staff","required":true},{"_id":"apptAt","_type":"../apptAt","required":true}]},{"_id":"start","label":"开始施工","theme":"warning","scope":"both","icon":"clock-circle","title":"开始施工","fields":[{"_id":"prePhoto","_type":"../prePhoto","required":true}]},{"_id":"end","label":"结束施工","theme":"success","scope":"both","icon":"poweroff","title":"结束施工","fields":[{"_id":"postPhoto","_type":"../postPhoto","required":true}]},{"_id":"review","label":"审核","theme":"warning","scope":"row","icon":"stamp","title":"任务审核","fields":[{"_id":"startAt","_type":"../startAt"},{"_id":"endAt","_type":"../endAt"},{"_id":"prePhoto","_type":"../prePhoto"},{"_id":"postPhoto","_type":"../postPhoto"}]},{"_id":"place-assign","label":"新增并派单","theme":"primary","scope":"none","icon":"plus","title":"服务派单","fields":[{"_id":"elder","_type":"../elder"},{"_id":"staff","_type":"../staff"},{"_id":"cate","_type":"../cate"},{"_id":"item","_type":"../item"},{"_id":"planStartAt","_type":"../planStartAt"},{"_id":"planEndAt","_type":"../planEndAt"}]},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改适老改造","fields":[{"_id":"elder","_type":"../elder"},{"_id":"staff","_type":"../staff"},{"_id":"title","_type":"../title"},{"_id":"level","_type":"../level"},{"_id":"type","_type":"../type"},{"_id":"reqAt","_type":"../reqAt"},{"_id":"cate","_type":"../cate"},{"_id":"situ","_type":"../situ"},{"_id":"anlys","_type":"../anlys"},{"_id":"stkh","_type":"../stkh"},{"_id":"sol","_type":"../sol"},{"_id":"expAt","_type":"../expAt"},{"_id":"apptAt","_type":"../apptAt"},{"_id":"status","_type":"../status"},{"_id":"prePhoto","_type":"../prePhoto"},{"_id":"startAt","_type":"../startAt"},{"_id":"postPhoto","_type":"../postPhoto"},{"_id":"endAt","_type":"../endAt"}]},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此适老改造？","scope":"both","icon":"delete"}]},{"_id":"role","access":"readonly","name":"role","label":"角色","idType":8,"columns":[{"_id":"name","type":"string","label":"名称","search":true},{"_id":"perms","type":"string","label":"权限","multiple":"array","dict":[{"value":"alarm.deal","label":"处理告警"},{"value":"billing.add","label":"新建结算"},{"value":"billing.update","label":"修改结算"},{"value":"billing.delete","label":"删除结算"},{"value":"coupon.add","label":"添加电子券"},{"value":"coupon.update","label":"修改电子券"},{"value":"coupon.recharge","label":"充值电子券"},{"value":"coupon.delete","label":"删除电子券"},{"value":"dept.view","label":"查看部门"},{"value":"dept.add","label":"新建部门"},{"value":"dept.update","label":"修改部门"},{"value":"dept.editCams","label":"监控部门"},{"value":"dept.delete","label":"删除部门"},{"value":"dev.view","label":"查看设备"},{"value":"dev.add","label":"新建设备"},{"value":"dev.update","label":"修改设备"},{"value":"dev.delete","label":"删除设备"},{"value":"elder.viewInfo","label":"查看老人档案"},{"value":"elder.reg","label":"新建老人档案"},{"value":"elder.add","label":"新建老人档案"},{"value":"elder.editInfo","label":"修改老人档案"},{"value":"elder.editAddr","label":"修改老人档案"},{"value":"elder.editContacts","label":"修改老人档案"},{"value":"elder.editItems","label":"修改老人档案"},{"value":"elder.editBuilds","label":"修改老人档案"},{"value":"elder.editAsset","label":"修改老人档案"},{"value":"elder.cancel","label":"注销老人档案"},{"value":"elder.delete","label":"删除老人档案"},{"value":"gov-elder.add","label":"新建老人数据推送"},{"value":"gov-elder.delete","label":"删除老人数据推送"},{"value":"gov-info.view","label":"查看民政平台信息"},{"value":"gov-info.add","label":"新建民政平台信息"},{"value":"gov-info.update","label":"修改民政平台信息"},{"value":"gov-info.delete","label":"删除民政平台信息"},{"value":"item.view","label":"查看老人设备"},{"value":"item.add","label":"新增老人设备"},{"value":"item.update","label":"修改设备ID老人设备"},{"value":"item.bind","label":"绑定老人设备"},{"value":"item.release","label":"解绑老人设备"},{"value":"item.delete","label":"删除老人设备"},{"value":"reform.view","label":"查看适老改造"},{"value":"reform.add","label":"新建适老改造"},{"value":"reform.assign","label":"分配适老改造"},{"value":"reform.start","label":"开始施工适老改造"},{"value":"reform.end","label":"结束施工适老改造"},{"value":"reform.review","label":"审核适老改造"},{"value":"reform.place-assign","label":"新增并派单适老改造"},{"value":"reform.update","label":"修改适老改造"},{"value":"reform.delete","label":"删除适老改造"},{"value":"role.add","label":"新建角色"},{"value":"role.update","label":"修改角色"},{"value":"role.delete","label":"删除角色"},{"value":"srv-cate.add","label":"新建服务类型"},{"value":"srv-cate.update","label":"修改服务类型"},{"value":"srv-cate.delete","label":"删除服务类型"},{"value":"srv-item.add","label":"新建服务项目"},{"value":"srv-item.update","label":"修改服务项目"},{"value":"srv-item.delete","label":"删除服务项目"},{"value":"srv-order.view","label":"查看服务订单"},{"value":"srv-order.user-place","label":"下单服务订单"},{"value":"srv-order.user-cancel","label":"取消服务订单"},{"value":"srv-order.staff-take","label":"接单服务订单"},{"value":"srv-order.staff-cancel","label":"退单服务订单"},{"value":"srv-order.staff-start","label":"开始服务服务订单"},{"value":"srv-order.staff-end","label":"结束服务服务订单"},{"value":"srv-order.user-approve","label":"确认服务订单"},{"value":"srv-order.assign","label":"派单服务订单"},{"value":"srv-order.place-assign","label":"新增并派单服务订单"},{"value":"srv-order.review","label":"回访服务订单"},{"value":"srv-order.update","label":"修改服务订单"},{"value":"srv-order.delete","label":"删除服务订单"},{"value":"srv.view","label":"查看养老服务"},{"value":"srv.add","label":"新建养老服务"},{"value":"srv.update","label":"修改养老服务"},{"value":"srv.delete","label":"删除养老服务"},{"value":"staff-cate.add","label":"新建护工类型"},{"value":"staff-cate.update","label":"修改护工类型"},{"value":"staff-cate.delete","label":"删除护工类型"},{"value":"staff.view","label":"查看服务人员"},{"value":"staff.add","label":"新建服务人员"},{"value":"staff.suppl-add","label":"新建服务人员"},{"value":"staff.enable","label":"启用服务人员"},{"value":"staff.disable","label":"禁用服务人员"},{"value":"staff.update","label":"修改服务人员"},{"value":"staff.suppl-update","label":"修改服务人员"},{"value":"staff.delete","label":"删除服务人员"},{"value":"suppl.view","label":"查看服务商"},{"value":"suppl.add","label":"新建服务商"},{"value":"suppl.update","label":"修改服务商"},{"value":"suppl.delete","label":"删除服务商"},{"value":"tool.view","label":"查看适老设施"},{"value":"tool.add","label":"新建适老设施"},{"value":"tool.update","label":"修改适老设施"},{"value":"tool.delete","label":"删除适老设施"},{"value":"user.view","label":"查看用户"},{"value":"user.add","label":"新建用户"},{"value":"user.update","label":"修改用户"},{"value":"user.delete","label":"删除用户"},{"value":"mp-banner.view","label":"查看小程序轮播"},{"value":"mp-banner.add","label":"新建小程序轮播"},{"value":"mp-banner.edit","label":"修改小程序轮播"},{"value":"mp-banner.delete","label":"删除小程序轮播"},{"value":"post.view","label":"查看发文"},{"value":"post.add","label":"新建发文"},{"value":"post.edit","label":"修改发文"},{"value":"post.delete","label":"删除发文"},{"value":"site.view","label":"查看站点"},{"value":"site.add","label":"新建站点"},{"value":"site.update","label":"修改站点"},{"value":"site.editCams","label":"监控站点"},{"value":"site.delete","label":"删除站点"}]}],"render":{"label":"symbol(name)"},"actions":[{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建角色","fields":[{"_id":"name","_type":"../name"},{"_id":"perms","_type":"../perms"}],"_type":{"name":{"_type":"../name","required":true},"permissions":{"_type":"../permissions"}}},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改角色","fields":[{"_id":"name","_type":"../name"},{"_id":"perms","_type":"../perms"}],"_type":{"name":{"_type":"../name","required":true},"permissions":{"_type":"../permissions"}}},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此角色？","scope":"both","icon":"delete"}]},{"_id":"srv-cate","access":"readonly","name":"srv-cate","label":"服务类型","columns":[{"_id":"cover","type":"image","label":"主图"},{"_id":"name","type":"string","label":"名称","width":4,"required":true},{"_id":"top","type":"string","label":"是否热门","variant":"tag","dict":"->[\"tableDefs\",\"6\",\"columns\",\"28\",\"dict\"]","width":4},{"_id":"date","type":"date","variant":"date","label":"创建时间","width":4},{"_id":"desc","type":"string","variant":"text","label":"描述","width":12}],"render":{"label":"symbol(name)"},"tree":true,"actions":[{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建服务类型","fields":[{"_id":"cover","_type":"../cover"},{"_id":"name","_type":"../name"},{"_id":"top","_type":"../top"},{"_id":"date","_type":"../date"},{"_id":"desc","_type":"../desc"}]},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改服务类型","fields":[{"_id":"cover","_type":"../cover"},{"_id":"name","_type":"../name"},{"_id":"top","_type":"../top"},{"_id":"date","_type":"../date"},{"_id":"desc","_type":"../desc"}]},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此服务类型？","scope":"both","icon":"delete"}]},{"_id":"srv-item","access":"readonly","name":"srv-item","label":"服务项目","columns":[{"_id":"cover","type":"image","label":"图片"},{"_id":"name","type":"string","label":"名称","width":4,"required":true},{"_id":"cate","type":"symbol(srv-cate)","label":"类型","width":4},{"_id":"price","type":"integer","variant":"price","label":"价格","width":6},{"_id":"allowBatch","type":"boolean","label":"可批量","width":4},{"_id":"ensureDate","type":"boolean","label":"提供时间","width":4},{"_id":"ensureAddr","type":"boolean","label":"提供地址","width":4},{"_id":"ensureSite","type":"boolean","label":"提供站点","width":4},{"_id":"unit","type":"string","variant":"tag","label":"单位","dict":[{"value":"time","label":"次"},{"value":"hour","label":"小时"},{"value":"month","label":"月"},{"value":"meter","label":"m²"},{"value":"kg","label":"公斤"}],"width":2},{"_id":"desc","type":"string","variant":"text","label":"服务内容","width":12},{"_id":"pictures","type":"image","multiple":"array","label":"详情图片"},{"_id":"contents","type":"any","multiple":"array","label":"正文"},{"_id":"paymode","type":"string"},{"_id":"specs","type":"any","multiple":"array","label":"SKU"}],"render":{"label":"symbol(name)"},"actions":[{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建服务项目","fields":[{"_id":"cover","_type":"../cover"},{"_id":"name","_type":"../name"},{"_id":"cate","_type":"../cate"},{"_id":"price","_type":"../price"},{"_id":"allowBatch","_type":"../allowBatch"},{"_id":"ensureDate","_type":"../ensureDate"},{"_id":"ensureAddr","_type":"../ensureAddr"},{"_id":"ensureSite","_type":"../ensureSite"},{"_id":"unit","_type":"../unit"},{"_id":"desc","_type":"../desc"},{"_id":"pictures","_type":"../pictures"},{"_id":"contents","_type":"../contents"},{"_id":"paymode","_type":"../paymode"},{"_id":"specs","_type":"../specs"}],"width":"4xl"},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改服务项目","fields":[{"_id":"cover","_type":"../cover"},{"_id":"name","_type":"../name"},{"_id":"cate","_type":"../cate"},{"_id":"price","_type":"../price"},{"_id":"allowBatch","_type":"../allowBatch"},{"_id":"ensureDate","_type":"../ensureDate"},{"_id":"ensureAddr","_type":"../ensureAddr"},{"_id":"ensureSite","_type":"../ensureSite"},{"_id":"unit","_type":"../unit"},{"_id":"desc","_type":"../desc"},{"_id":"pictures","_type":"../pictures"},{"_id":"contents","_type":"../contents"},{"_id":"paymode","_type":"../paymode"},{"_id":"specs","_type":"../specs"}],"width":"4xl"},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此服务项目？","scope":"both","icon":"delete"}]},{"_id":"srv-order","access":"private","grantKeys":["cate_id"],"name":"srv-order","label":"服务订单","columns":[{"_id":"elder","type":"symbol(elder)","label":"老人","width":6,"search":true,"required":true},{"_id":"staff","type":"symbol(staff)","label":"护工","width":6},{"_id":"cate","type":"symbol(srv-cate)","label":"服务类型","width":8,"required":true},{"_id":"item","type":"symbol(srv-item)","label":"服务项目","width":8,"required":true,"watcher":"() => undefined"},{"_id":"spec","type":"any","label":"规格"},{"_id":"price","type":"integer","variant":"price","label":"价格","width":6},{"_id":"payment","type":"any","label":"支付","width":6},{"_id":"site","type":"symbol(site)","label":"站点","width":8},{"_id":"addr","type":[{"_id":"block","type":"string"},{"_id":"room","type":"string"},{"_id":"contact","type":"string"},{"_id":"mobile","type":"string"}],"label":"上门地址"},{"_id":"date","type":"date","label":"上门时段","variant":"datetime","range":true},{"_id":"remark","type":"string","variant":"text","label":"需求备注","width":25},{"_id":"planAmount","type":"integer","variant":"price","label":"计划金额","width":6},{"_id":"amount","type":"integer","variant":"price","label":"金额","width":6},{"_id":"quantity","type":"integer","label":"数量","width":4},{"_id":"placeAt","type":"date","variant":"datetime","label":"下单时间","width":8,"required":true},{"_id":"resvDate","type":"date","variant":"datetime","label":"预约上门时间","width":9,"format":"yyyy-MM-dd HH:mm","range":true},{"_id":"planEndAt","type":"date","variant":"datetime","label":"计划结束时间","width":9,"format":"yyyy-MM-dd HH:mm"},{"_id":"startAt","type":"date","variant":"datetime","label":"开始时间","width":9,"format":"yyyy-MM-dd HH:mm"},{"_id":"startPic","type":"image","variant":"camera","label":"服务前打卡"},{"_id":"endAt","type":"date","variant":"datetime","label":"结束时间","width":9,"format":"yyyy-MM-dd HH:mm"},{"_id":"endPic","type":"image","variant":"camera","label":"服务后打卡"},{"_id":"assignAt","type":"date","variant":"datetime","label":"派单时间","width":9,"format":"yyyy-MM-dd HH:mm"},{"_id":"reviewAt","type":"date","variant":"datetime","label":"回访时间","width":9,"format":"yyyy-MM-dd HH:mm"},{"_id":"reviewBy","type":"symbol(user)","label":"回访员","width":6},{"_id":"reviewRemark","type":"string","variant":"text","label":"回访说明","width":25},{"_id":"payAt","type":"date","variant":"datetime","label":"支付时间","width":9,"format":"yyyy-MM-dd HH:mm"},{"_id":"payStatus","type":"string","dict":[{"value":"none","label":"未支付","color":"warning"},{"value":"done","label":"已支付","color":"success"}]},{"_id":"status","type":"string","width":4,"label":"状态","defaulted":"unpay","dict":[{"value":"unpay","label":"待付款","color":"warning"},{"value":"todo","label":"待处理","color":"warning"},{"value":"taken","label":"已派单","color":"primary"},{"value":"pending","label":"服务中","color":"info"},{"value":"done","label":"已完成","color":"primary"},{"value":"approved","label":"已回访","color":"success"},{"value":"rejected","label":"已驳回","color":"error"},{"value":"canceled","label":"已退单","color":"normal"}]}],"render":{"label":"symbol(name)"},"queries":[{"_id":"yOBaSo08","name":"find","label":"查找","theme":"primary","icon":"search","title":"查找服务订单","fields":[{"_id":"elder","_type":"../elder"},{"_id":"cate","_type":"../cate"},{"_id":"item","_type":"../item"},{"_id":"staff","_type":"../staff"}]}],"actions":[{"_id":"view","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"服务订单详情","fields":[{"_id":"elder","_type":"../elder"},{"_id":"staff","_type":"../staff"},{"_id":"cate","_type":"../cate"},{"_id":"item","_type":"../item"},{"_id":"spec","_type":"../spec"},{"_id":"price","_type":"../price"},{"_id":"payment","_type":"../payment"},{"_id":"site","_type":"../site"},{"_id":"addr","_type":"../addr"},{"_id":"date","_type":"../date"},{"_id":"remark","_type":"../remark"},{"_id":"planAmount","_type":"../planAmount"},{"_id":"amount","_type":"../amount"},{"_id":"quantity","_type":"../quantity"},{"_id":"placeAt","_type":"../placeAt"},{"_id":"resvDate","_type":"../resvDate"},{"_id":"planEndAt","_type":"../planEndAt"},{"_id":"startAt","_type":"../startAt"},{"_id":"startPic","_type":"../startPic"},{"_id":"endAt","_type":"../endAt"},{"_id":"endPic","_type":"../endPic"},{"_id":"assignAt","_type":"../assignAt"},{"_id":"reviewAt","_type":"../reviewAt"},{"_id":"reviewBy","_type":"../reviewBy"},{"_id":"reviewRemark","_type":"../reviewRemark"},{"_id":"payAt","_type":"../payAt"},{"_id":"payStatus","_type":"../payStatus"},{"_id":"status","_type":"../status"}]},{"_id":"user-place","label":"下单","theme":"primary","scope":"none","icon":"plus","title":"下单","fields":[{"_id":"elder","_type":"../elder"},{"_id":"staff","_type":"../staff"}]},{"_id":"user-cancel","subjects":["elder"],"label":"取消","theme":"normal","scope":"row","icon":"minus","title":"取消订单","watcher":"(arg) => ({ hidden: arg?.value?.status !== 'unpay' && arg?.value?.status !== 'todo' })"},{"_id":"staff-take","label":"接单","theme":"primary","subjects":["staff"],"scope":"none","icon":"plus","title":"接单","caution":"确认接单？","watcher":"(arg) => ({ hidden: arg?.value?.status !== 'todo' })"},{"_id":"staff-cancel","label":"退单","theme":"normal","subjects":["staff"],"scope":"none","icon":"plus","title":"退单","watcher":"(arg) => ({ hidden: arg?.value?.status !== 'taken' })"},{"_id":"staff-start","label":"开始服务","theme":"primary","subjects":["staff"],"scope":"none","icon":"plus","title":"开始服务","fields":[{"_id":"startPic","_type":"../startPic"}],"model":{"type":"record","label":"开始服务","fields":[{"name":"startPic","label":"拍照打卡","size":"md","type":"image","required":true}]},"watcher":"(arg) => ({ hidden: arg?.value?.status !== 'taken' })"},{"_id":"staff-end","label":"结束服务","theme":"primary","subjects":["staff"],"scope":"none","icon":"plus","title":"结束服务","fields":[{"_id":"endPic","_type":"../endPic"}],"model":{"type":"record","label":"结束服务","fields":[{"name":"endPic","label":"拍照留证","size":"md","type":"image","required":true}]},"watcher":"(arg) => ({ hidden: arg?.value?.status !== 'pending' })"},{"_id":"user-approve","subjects":["elder"],"label":"确认","theme":"primary","scope":"row","icon":"minus","title":"确认已完成","caution":"确认该服务已完成？","watcher":"(arg) => ({ hidden: arg?.value?.status !== 'done' })"},{"_id":"assign","label":"派单","theme":"primary","scope":"row","icon":"launch","title":"派单","watcher":"(arg) => ({ hidden: arg?.value?.status !== 'todo' })","fields":[{"_id":"staff","_type":"../staff"}]},{"_id":"place-assign","label":"新增并派单","theme":"primary","scope":"none","icon":"plus","title":"服务派单","fields":[{"_id":"elder","_type":"../elder"},{"_id":"staff","_type":"../staff"},{"_id":"cate","_type":"../cate"},{"_id":"item","_type":"../item"},{"_id":"planStartAt","_type":"../planStartAt"},{"_id":"planEndAt","_type":"../planEndAt"}]},{"_id":"review","label":"回访","theme":"warning","scope":"row","icon":"message","title":"工单回访","width":"2xl","watcher":"(arg) => ({ hidden: arg?.value?.status !== 'done' })","fields":[{"_id":"result","_type":"string","width":4,"label":"回访结果","required":true,"dict":[{"value":"approved","label":"通过","color":"success"},{"value":"rejected","label":"驳回","color":"error"}]},{"_id":"reviewAt","_type":"../reviewAt","required":true},{"_id":"reviewRemark","_type":"../reviewRemark","required":false}]},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改服务订单","fields":[{"_id":"elder","_type":"../elder"},{"_id":"staff","_type":"../staff"},{"_id":"cate","_type":"../cate"},{"_id":"item","_type":"../item"},{"_id":"spec","_type":"../spec"},{"_id":"price","_type":"../price"},{"_id":"payment","_type":"../payment"},{"_id":"site","_type":"../site"},{"_id":"addr","_type":"../addr"},{"_id":"date","_type":"../date"},{"_id":"remark","_type":"../remark"},{"_id":"planAmount","_type":"../planAmount"},{"_id":"amount","_type":"../amount"},{"_id":"quantity","_type":"../quantity"},{"_id":"placeAt","_type":"../placeAt"},{"_id":"resvDate","_type":"../resvDate"},{"_id":"planEndAt","_type":"../planEndAt"},{"_id":"startAt","_type":"../startAt"},{"_id":"startPic","_type":"../startPic"},{"_id":"endAt","_type":"../endAt"},{"_id":"endPic","_type":"../endPic"},{"_id":"assignAt","_type":"../assignAt"},{"_id":"reviewAt","_type":"../reviewAt"},{"_id":"reviewBy","_type":"../reviewBy"},{"_id":"reviewRemark","_type":"../reviewRemark"},{"_id":"payAt","_type":"../payAt"},{"_id":"payStatus","_type":"../payStatus"},{"_id":"status","_type":"../status"}]},{"_id":"delete","subjects":["elder","staff"],"watcher":"(arg) => ({ hidden: arg?.value?.status !== 'canceled' })","label":"删除","theme":"error","caution":"确认删除此服务订单？","scope":"both","icon":"delete"}]},{"_id":"srv","access":"readonly","name":"srv","label":"养老服务","columns":[{"_id":"photo","type":"image","label":"图片"},{"_id":"name","type":"string","label":"名称","width":10,"required":true,"search":true},{"_id":"type","type":"string","label":"类别","width":10},{"_id":"desc","type":"string","label":"说明","width":16,"search":true}],"render":{"label":"symbol(name)"},"actions":[{"_id":"view","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"养老服务详情","fields":[{"_id":"photo","_type":"../photo"},{"_id":"name","_type":"../name"},{"_id":"type","_type":"../type"},{"_id":"desc","_type":"../desc"}]},{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建养老服务","fields":[{"_id":"photo","_type":"../photo"},{"_id":"name","_type":"../name"},{"_id":"type","_type":"../type"},{"_id":"desc","_type":"../desc"}]},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改养老服务","fields":[{"_id":"photo","_type":"../photo"},{"_id":"name","_type":"../name"},{"_id":"type","_type":"../type"},{"_id":"desc","_type":"../desc"}]},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此养老服务？","scope":"both","icon":"delete"}]},{"_id":"staff-cate","access":"readonly","name":"staff-cate","label":"护工类型","columns":[{"_id":"name","type":"string","label":"名称","comparator":"$ctn","width":4,"required":true,"search":true},{"_id":"date","type":"date","variant":"date","label":"创建时间","width":4},{"_id":"desc","type":"string","variant":"text","label":"描述","width":12}],"render":{"label":"symbol(name)"},"actions":[{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建护工类型","fields":[{"_id":"name","_type":"../name"},{"_id":"date","_type":"../date"},{"_id":"desc","_type":"../desc"}]},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改护工类型","fields":[{"_id":"name","_type":"../name"},{"_id":"date","_type":"../date"},{"_id":"desc","_type":"../desc"}]},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此护工类型？","scope":"both","icon":"delete"}]},{"_id":"staff","access":"readonly","name":"staff","label":"服务人员","columns":[{"_id":"name","type":"string","label":"姓名","width":4,"comparator":"$ctn","required":true,"search":true},{"_id":"srvCates","type":"symbol(srv-cate)","multiple":"array","label":"服务类目","width":8},{"_id":"srvItems","type":"symbol(srv-item)","multiple":"array","label":"服务项目","width":8},{"_id":"suppl","type":"symbol(suppl)","label":"所属服务商","required":true,"width":10},{"_id":"gender","label":"性别","width":4,"required":true,"type":"string","variant":"tag","dict":"->[\"tableDefs\",\"6\",\"columns\",\"2\",\"dict\"]"},{"_id":"mobile","type":"string","variant":"mobile","label":"手机号","width":7,"unique":true,"comparator":"$ctn","required":true,"search":true},{"_id":"avatar","type":"image","variant":"avatar","label":"头像","width":6,"defaulted":"/img/avatar-bg.svg"},{"_id":"idn","type":"string","label":"身份证","width":9,"comparator":"$ctn","required":true},{"_id":"addr","type":"string","label":"地址","width":12,"required":true,"search":true},{"_id":"status","label":"状态","width":4,"type":"string","variant":"tag","dict":[{"value":"todo","label":"未提交","color":"normal"},{"value":"pending","label":"待审核","color":"warning"},{"value":"enabled","label":"已启用","color":"success"},{"value":"disabled","label":"已禁用","color":"error"}]},{"_id":"remark","type":"string","variant":"text","label":"备注","width":25}],"render":{"label":"symbol(name)"},"keys":["mobile"],"queries":[{"_id":"auth","name":"auth"},{"_id":"find","name":"find","label":"查找","theme":"primary","icon":"search","title":"查找服务人员","fields":[{"_id":"name","_type":"../name"},{"_id":"gender","_type":"../gender"},{"_id":"mobile","_type":"../mobile"},{"_id":"idn","_type":"../idn"},{"_id":"cate","_type":"../cate"},{"_id":"suppl","_type":"../suppl"}]},{"_id":"suppl-find","name":"suppl-find","label":"查找","theme":"primary","icon":"search","title":"查找服务人员","fields":[{"_id":"name","_type":"../name"},{"_id":"gender","_type":"../gender"},{"_id":"mobile","_type":"../mobile"},{"_id":"idn","_type":"../idn"},{"_id":"cate","_type":"../cate"}]}],"actions":[{"_id":"view","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"服务人员详情","fields":[{"_id":"name","_type":"../name"},{"_id":"srvCates","_type":"../srvCates"},{"_id":"srvItems","_type":"../srvItems"},{"_id":"suppl","_type":"../suppl"},{"_id":"gender","_type":"../gender"},{"_id":"mobile","_type":"../mobile"},{"_id":"avatar","_type":"../avatar"},{"_id":"idn","_type":"../idn"},{"_id":"addr","_type":"../addr"},{"_id":"status","_type":"../status"},{"_id":"remark","_type":"../remark"}],"width":"4xl"},{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建服务人员","fields":[{"_id":"name","_type":"../name"},{"_id":"srvCates","_type":"../srvCates"},{"_id":"srvItems","_type":"../srvItems"},{"_id":"suppl","_type":"../suppl"},{"_id":"gender","_type":"../gender"},{"_id":"mobile","_type":"../mobile"},{"_id":"avatar","_type":"../avatar"},{"_id":"idn","_type":"../idn"},{"_id":"addr","_type":"../addr"},{"_id":"status","_type":"../status"},{"_id":"remark","_type":"../remark"}],"width":"4xl"},{"_id":"suppl-add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建服务人员","fields":[{"_id":"name","_type":"../name"},{"_id":"srvCates","_type":"../srvCates"},{"_id":"srvItems","_type":"../srvItems"},{"_id":"gender","_type":"../gender"},{"_id":"mobile","_type":"../mobile"},{"_id":"avatar","_type":"../avatar"},{"_id":"idn","_type":"../idn"},{"_id":"addr","_type":"../addr"},{"_id":"status","_type":"../status"},{"_id":"remark","_type":"../remark"}],"width":"4xl"},{"_id":"enable","label":"启用","theme":"success","scope":"both","icon":"sol:enable","caution":"确认启用","watcher":"() => undefined"},{"_id":"disable","label":"禁用","title":"禁用护理人员","theme":"error","scope":"row","icon":"sol:disable","width":"2xl","watcher":"() => undefined","fields":[{"_id":"remark","_type":"../remark","label":"禁用原因"}]},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改服务人员","fields":[{"_id":"name","_type":"../name"},{"_id":"srvCates","_type":"../srvCates"},{"_id":"srvItems","_type":"../srvItems"},{"_id":"suppl","_type":"../suppl"},{"_id":"gender","_type":"../gender"},{"_id":"mobile","_type":"../mobile"},{"_id":"avatar","_type":"../avatar"},{"_id":"idn","_type":"../idn"},{"_id":"addr","_type":"../addr"},{"_id":"status","_type":"../status"},{"_id":"remark","_type":"../remark"}],"width":"4xl"},{"_id":"suppl-update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改服务人员","fields":[{"_id":"name","_type":"../name"},{"_id":"srvCates","_type":"../srvCates"},{"_id":"srvItems","_type":"../srvItems"},{"_id":"gender","_type":"../gender"},{"_id":"mobile","_type":"../mobile"},{"_id":"avatar","_type":"../avatar"},{"_id":"idn","_type":"../idn"},{"_id":"addr","_type":"../addr"},{"_id":"status","_type":"../status"},{"_id":"remark","_type":"../remark"}],"width":"4xl"},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此服务人员？","scope":"both","icon":"delete"}]},{"_id":"suppl","access":"readonly","name":"suppl","label":"服务商","columns":[{"_id":"name","type":"string","label":"名称","width":10,"comparator":"$ctn","required":true,"search":true},{"_id":"type","type":"string","label":"类型","required":true,"variant":"tag","dict":[{"label":"个人","value":"P","color":"primary"},{"label":"企业","value":"E","color":"secondary"}],"width":4},{"_id":"cates","type":"symbol(srv-cate)","multiple":"array","label":"服务类目","width":8},{"_id":"items","type":"symbol(srv-item)","multiple":"array","label":"服务项目","width":8},{"_id":"nickname","type":"string","label":"简称","width":4},{"_id":"contact","type":"string","label":"负责人","width":4,"required":true},{"_id":"mobile","type":"string","label":"手机号","width":7,"required":true},{"_id":"addr","type":"string","label":"地址","width":12},{"_id":"intro","type":"string","variant":"text","label":"简介","width":12},{"_id":"status","label":"状态","width":4,"type":"string","variant":"tag","readonly":true,"dict":[{"value":"enabled","label":"启用"},{"value":"disabled","label":"禁用"}]}],"render":{"label":"symbol(name)"},"queries":[{"_id":"find","name":"find","label":"查找","theme":"primary","icon":"search","title":"查找服务商","fields":[{"_id":"name","_type":"../name"},{"_id":"type","_type":"../type"}]}],"actions":[{"_id":"view","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"服务商详情","fields":[{"_id":"name","_type":"../name"},{"_id":"type","_type":"../type"},{"_id":"cates","_type":"../cates"},{"_id":"items","_type":"../items"},{"_id":"nickname","_type":"../nickname"},{"_id":"contact","_type":"../contact"},{"_id":"mobile","_type":"../mobile"},{"_id":"addr","_type":"../addr"},{"_id":"intro","_type":"../intro"},{"_id":"status","_type":"../status"}]},{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建服务商","fields":[{"_id":"name","_type":"../name"},{"_id":"type","_type":"../type"},{"_id":"cates","_type":"../cates"},{"_id":"items","_type":"../items"},{"_id":"nickname","_type":"../nickname"},{"_id":"contact","_type":"../contact"},{"_id":"mobile","_type":"../mobile"},{"_id":"addr","_type":"../addr"},{"_id":"intro","_type":"../intro"},{"_id":"status","_type":"../status"}]},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改服务商","fields":[{"_id":"name","_type":"../name"},{"_id":"type","_type":"../type"},{"_id":"cates","_type":"../cates"},{"_id":"items","_type":"../items"},{"_id":"nickname","_type":"../nickname"},{"_id":"contact","_type":"../contact"},{"_id":"mobile","_type":"../mobile"},{"_id":"addr","_type":"../addr"},{"_id":"intro","_type":"../intro"},{"_id":"status","_type":"../status"}]},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此服务商？","scope":"both","icon":"delete"}]},{"_id":"tool","access":"readonly","name":"tool","label":"适老设施","columns":[{"_id":"name","type":"string","label":"名称","width":6,"required":true,"search":true},{"_id":"type","type":"string","label":"类别","variant":"tag","dict":[{"label":"适老化改造","value":"awW_l","icon":"dev-ecg-bed"},{"label":"其他","value":"_","icon":"dev-ecg-bed"}],"width":6,"required":true},{"_id":"model","type":"string","label":"型号","width":6,"required":true,"search":true},{"_id":"price","type":"integer","variant":"price","label":"价格","width":6},{"_id":"mfr","type":"string","label":"生产商","search":true},{"_id":"contact","type":"string","label":"联系人","width":6,"search":true},{"_id":"tel","type":"string","label":"联系电话","width":6,"search":true},{"_id":"addr","type":"string","width":32,"label":"联系地址","search":true},{"_id":"desc","type":"string","width":32,"label":"描述","variant":"text","search":true},{"_id":"photo","type":"image","label":"图片"}],"render":{"label":"symbol(name)"},"actions":[{"_id":"view","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"适老设施详情","fields":[{"_id":"name","_type":"../name"},{"_id":"type","_type":"../type"},{"_id":"model","_type":"../model"},{"_id":"price","_type":"../price"},{"_id":"mfr","_type":"../mfr"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"desc","_type":"../desc"},{"_id":"photo","_type":"../photo"}]},{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建适老设施","fields":[{"_id":"name","_type":"../name"},{"_id":"type","_type":"../type"},{"_id":"model","_type":"../model"},{"_id":"price","_type":"../price"},{"_id":"mfr","_type":"../mfr"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"desc","_type":"../desc"},{"_id":"photo","_type":"../photo"}]},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改适老设施","fields":[{"_id":"name","_type":"../name"},{"_id":"type","_type":"../type"},{"_id":"model","_type":"../model"},{"_id":"price","_type":"../price"},{"_id":"mfr","_type":"../mfr"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"desc","_type":"../desc"},{"_id":"photo","_type":"../photo"}]},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此适老设施？","scope":"both","icon":"delete"}]},{"_id":"user","access":"readonly","name":"user","label":"用户","columns":[{"_id":"name","type":"string","width":8,"label":"姓名","search":true},{"_id":"mobile","type":"string","width":11,"variant":"mobile","label":"手机号","search":true},{"_id":"idcard","type":"string","width":16,"variant":"idcard","label":"身份证","search":true},{"_id":"addr","type":"string","width":24,"label":"住址","search":true},{"_id":"roles","type":"symbol(role)","width":24,"label":"角色","multiple":"array"}],"render":{"label":"symbol(name)"},"actions":[{"_id":"view","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"用户详情","fields":[{"_id":"name","_type":"../name"},{"_id":"mobile","_type":"../mobile"},{"_id":"idcard","_type":"../idcard"},{"_id":"addr","_type":"../addr"},{"_id":"roles","_type":"../roles"}]},{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建用户","fields":[{"_id":"name","_type":"../name"},{"_id":"mobile","_type":"../mobile"},{"_id":"idcard","_type":"../idcard"},{"_id":"addr","_type":"../addr"},{"_id":"roles","_type":"../roles"}]},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改用户","fields":[{"_id":"name","_type":"../name"},{"_id":"mobile","_type":"../mobile"},{"_id":"idcard","_type":"../idcard"},{"_id":"addr","_type":"../addr"},{"_id":"roles","_type":"../roles"}]},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此用户？","scope":"both","icon":"delete"}]},{"_id":"mp-banner","access":"readonly","name":"mp-banner","label":"小程序轮播","columns":[{"_id":"title","type":"string","label":"标题","width":25},{"_id":"subtitle","type":"string","label":"副标题","width":25},{"_id":"image","type":"image","label":"图片"},{"_id":"button","type":"string","label":"链接","width":8},{"_id":"link","type":"url","label":"跳转地址","width":25},{"_id":"remark","type":"string","label":"备注","width":25,"variant":"text"}],"render":{"label":"symbol(title)"},"queries":[{"_id":"find","name":"find","label":"查找","theme":"primary","icon":"search","title":"查找小程序轮播","fields":[{"_id":"title","_type":"../title"},{"_id":"subtitle","_type":"../subtitle"},{"_id":"button","_type":"../button"},{"_id":"remark","_type":"../remark"}]}],"actions":[{"_id":"view","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"小程序轮播详情","fields":[{"_id":"title","_type":"../title"},{"_id":"subtitle","_type":"../subtitle"},{"_id":"image","_type":"../image"},{"_id":"button","_type":"../button"},{"_id":"link","_type":"../link"},{"_id":"remark","_type":"../remark"}],"width":"3xl"},{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建小程序轮播","fields":[{"_id":"title","_type":"../title"},{"_id":"subtitle","_type":"../subtitle"},{"_id":"image","_type":"../image"},{"_id":"button","_type":"../button"},{"_id":"link","_type":"../link"},{"_id":"remark","_type":"../remark"}],"width":"3xl"},{"_id":"edit","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改小程序轮播","fields":[{"_id":"title","_type":"../title"},{"_id":"subtitle","_type":"../subtitle"},{"_id":"image","_type":"../image"},{"_id":"button","_type":"../button"},{"_id":"link","_type":"../link"},{"_id":"remark","_type":"../remark"}],"width":"3xl"},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此小程序轮播？","scope":"both","icon":"delete"}]},{"_id":"post","access":"readonly","name":"post","label":"发文","columns":[{"_id":"title","type":"string","label":"标题","width":25},{"_id":"subtitle","type":"string","label":"副标题","width":25},{"_id":"image","type":"image","label":"图片"},{"_id":"button","type":"string","label":"链接","width":8},{"_id":"link","type":"url","label":"跳转地址","width":25},{"_id":"remark","type":"string","label":"备注","width":25,"variant":"text"}],"render":{"label":"symbol(title)"},"queries":[{"_id":"find","name":"find","label":"查找","theme":"primary","icon":"search","title":"查找发文","fields":[{"_id":"title","_type":"../title"},{"_id":"subtitle","_type":"../subtitle"},{"_id":"button","_type":"../button"},{"_id":"remark","_type":"../remark"}]}],"actions":[{"_id":"view","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"发文详情","fields":[{"_id":"title","_type":"../title"},{"_id":"subtitle","_type":"../subtitle"},{"_id":"image","_type":"../image"},{"_id":"button","_type":"../button"},{"_id":"link","_type":"../link"},{"_id":"remark","_type":"../remark"}],"width":"3xl"},{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建发文","fields":[{"_id":"title","_type":"../title"},{"_id":"subtitle","_type":"../subtitle"},{"_id":"image","_type":"../image"},{"_id":"button","_type":"../button"},{"_id":"link","_type":"../link"},{"_id":"remark","_type":"../remark"}],"width":"3xl"},{"_id":"edit","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改发文","fields":[{"_id":"title","_type":"../title"},{"_id":"subtitle","_type":"../subtitle"},{"_id":"image","_type":"../image"},{"_id":"button","_type":"../button"},{"_id":"link","_type":"../link"},{"_id":"remark","_type":"../remark"}],"width":"3xl"},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此发文？","scope":"both","icon":"delete"}]},{"_id":"site","access":"readonly","name":"site","label":"站点","columns":[{"_id":"name","type":"string","label":"名称","width":18,"search":true,"required":true},{"_id":"contact","type":"string","label":"联系人","width":6,"search":true},{"_id":"tel","type":"string","label":"联系电话","width":6,"search":true},{"type":"->[\"tableDefs\",\"3\",\"columns\",\"3\",\"type\"]","stringify":"({ dist, block, no }) => [dist?.map((o) => o?.name).join(''), block, no].map(s => typeof s === 'string' && s.trim()).filter(s => !!s).join(' ')","width":25,"_id":"addr","label":"地址"},{"_id":"remark","type":"string","label":"备注","width":25,"variant":"text","search":true},{"_id":"cams","label":"监控摄像","type":[{"_id":"sn","type":"string","label":"序列号","required":true},{"_id":"point","type":"string","label":"点位"}],"multiple":"array"}],"tree":true,"render":{"label":"symbol(name)"},"actions":[{"_id":"view","label":"查看","scope":"undefined","theme":"info","icon":"search","title":"站点详情","fields":[{"_id":"name","_type":"../name"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"remark","_type":"../remark"},{"_id":"cams","_type":"../cams"}]},{"_id":"add","label":"新建","theme":"primary","scope":"none","icon":"plus","title":"新建站点","fields":[{"_id":"name","_type":"../name"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"remark","_type":"../remark"},{"_id":"cams","_type":"../cams"}]},{"_id":"update","label":"修改","theme":"primary","scope":"row","icon":"edit","title":"修改站点","fields":[{"_id":"name","_type":"../name"},{"_id":"contact","_type":"../contact"},{"_id":"tel","_type":"../tel"},{"_id":"addr","_type":"../addr"},{"_id":"remark","_type":"../remark"},{"_id":"cams","_type":"../cams"}]},{"_id":"editCams","label":"监控","theme":"primary","scope":"row","icon":"video-camera","title":"编辑监控摄像","fields":[{"_id":"cams","_type":"../cams"}],"width":"3xl"},{"_id":"delete","label":"删除","theme":"error","caution":"确认删除此站点？","scope":"both","icon":"delete"}]}],"buckets":{"fs":"https://cdn.yzdesign.net/lyec"}}