文档
测试

V1,V2获取模板及内容

POST
store/getTemplate

请求参数

参数名
类型
描述
必填
type
int
1-美发 2美容
必填
storeNo
string
门店号
必填
date
string
日期 2021-03-02  2021/02/02有数据 081 店
必填

说明 / 示例

{ "Success": true, "Msg": "", "Data": { "template": [ { "id": 1,模版id (提交保存参数会用到) 对应keyId "name": "感官得分",模版名称 (提交保存参数会用到)对应keyContent "sort": 1,排序 "ismust": 1, 是否必填 1-是 0-否 "isshow": 1, 1.是否展示 1-是 0-否 "type": 1, 类型 1-美容 2-美发 "isalone": 0,是否单独评分 1-是 0-否 "pid": 0,上级分类 0-首级 "remark": "进店30分钟感官分,30分钟之后再打分",备注显示 "storeNo": null,门店号,有内容表示有值 "isdraft": null,是否是草稿 1-是 0-否 有内容表示有值 "dateTime": null, 日期 有内容表示有值 "keyId": null,问题模版keyID 对应模板id "keyContent": null,问题模版value 对应模板name "valueId": null, 打分(答案)keyId 对应答案(value) id "valueContent": null,打分(答案)value 对应答案(value) name "imgIds": null,图片串 "imageList":图片列表 "remark2": null,备注内容 "score":得分 "_child": [对应下面子类 { "id": 23,模版id "name": "人员热情和礼貌",模版名称 "sort": 1,同上 "ismust": 1,同上 "isshow": 1,同上 "type": 1,同上 "isalone": 1,同上 "pid": 1,同上 "remark": null,同上 "storeNo": "001",同上 "isdraft": 1,同上 "dateTime": "2021-03-01",同上 "keyId": 23,同上 "keyContent": "门店设施",同上 "configid": 23,对应模版id "status": 1,状态 1-启用 0禁用 禁用不会传到前端 "scoretype": 1,得分类型 1-加分 2-扣分 "type": 1 类型 1-美发 }, { "id": 2, (提交保存参数会用到) "name": "B级",(提交保存参数会用到) "score": 0, "configid": 23, "status": 1, "scoretype": 1, "type": 1 }, { "id": 3, "name": "C级", "score": 0, "configid": 23, "status": 1, "scoretype": 1, "type": 1 } ] }, { "id": 24, "name": "全员职业形象", "sort": 2, "ismust": 1, "isshow": 1, "type": 1, "isalone": 1, "pid": 1, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null, "value": { "33": { "id": 34, "name": "A级", "score": 0, "configid": 24, "status": 1, "scoretype": 1, "type": 1 }, "34": { "id": 35, "name": "B级", "score": 0, "configid": 24, "status": 1, "scoretype": 1, "type": 1 }, "35": { "id": 36, "name": "C级", "score": 0, "configid": 24, "status": 1, "scoretype": 1, "type": 1 } } }, { "id": 25, "name": "整体环境卫生", "sort": 3, "ismust": 1, "isshow": 1, "type": 1, "isalone": 1, "pid": 1, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null, "value": { "36": { "id": 37, "name": "A级", "score": 0, "configid": 25, "status": 1, "scoretype": 1, "type": 1 }, "37": { "id": 38, "name": "B级", "score": 0, "configid": 25, "status": 1, "scoretype": 1, "type": 1 }, "38": { "id": 39, "name": "C级", "score": 0, "configid": 25, "status": 1, "scoretype": 1, "type": 1 } } } ] }, { "id": 2, "name": "门头", "sort": 2, "ismust": 1, "isshow": 1, "type": 1, "isalone": 0, "pid": 0, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null, "value": { "3": { "id": 4, "name": "A级", "score": 0, "configid": 2, "status": 1, "scoretype": 1, "type": 1 }, "4": { "id": 5, "name": "B级", "score": 0, "configid": 2, "status": 1, "scoretype": 1, "type": 1 }, "5": { "id": 6, "name": "C级", "score": 0, "configid": 2, "status": 1, "scoretype": 1, "type": 1 } }, "_child": [ { "id": 26, "name": "门头干净整洁,转灯、电视设备无损坏", "sort": 1, "ismust": 1, "isshow": 1, "type": 1, "isalone": 0, "pid": 2, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null }, { "id": 27, "name": "门不要有异响", "sort": 2, "ismust": 1, "isshow": 1, "type": 1, "isalone": 0, "pid": 2, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null }, { "id": 28, "name": "KT板摆放归正,无灰尘无污渍,无过期广告,电视正常播放", "sort": 3, "ismust": 1, "isshow": 1, "type": 1, "isalone": 0, "pid": 2, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null } ] }, { "id": 3, "name": "前台", "sort": 3, "ismust": 1, "isshow": 1, "type": 1, "isalone": 0, "pid": 0, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null, "value": { "6": { "id": 7, "name": "A级", "score": 0, "configid": 3, "status": 1, "scoretype": 1, "type": 1 }, "7": { "id": 8, "name": "B级", "score": 0, "configid": 3, "status": 1, "scoretype": 1, "type": 1 }, "8": { "id": 9, "name": "C级", "score": 0, "configid": 3, "status": 1, "scoretype": 1, "type": 1 } } }, { "id": 4, "name": "顾客等候区", "sort": 4, "ismust": 1, "isshow": 1, "type": 1, "isalone": 0, "pid": 0, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null, "value": { "9": { "id": 10, "name": "A级", "score": 0, "configid": 4, "status": 1, "scoretype": 1, "type": 1 }, "10": { "id": 11, "name": "B级", "score": 0, "configid": 4, "status": 1, "scoretype": 1, "type": 1 }, "11": { "id": 12, "name": "C级", "score": 0, "configid": 4, "status": 1, "scoretype": 1, "type": 1 } } }, { "id": 5, "name": "⽔吧台", "sort": 5, "ismust": 1, "isshow": 1, "type": 1, "isalone": 0, "pid": 0, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null, "value": { "12": { "id": 13, "name": "A级", "score": 0, "configid": 5, "status": 1, "scoretype": 1, "type": 1 }, "13": { "id": 14, "name": "B级", "score": 0, "configid": 5, "status": 1, "scoretype": 1, "type": 1 }, "14": { "id": 15, "name": "C级", "score": 0, "configid": 5, "status": 1, "scoretype": 1, "type": 1 } } }, { "id": 6, "name": "⼤厅", "sort": 6, "ismust": 1, "isshow": 1, "type": 1, "isalone": 0, "pid": 0, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null, "value": { "15": { "id": 16, "name": "A级", "score": 0, "configid": 6, "status": 1, "scoretype": 1, "type": 1 }, "16": { "id": 17, "name": "B级", "score": 0, "configid": 6, "status": 1, "scoretype": 1, "type": 1 }, "17": { "id": 18, "name": "C级", "score": 0, "configid": 6, "status": 1, "scoretype": 1, "type": 1 } } }, { "id": 7, "name": "染吧台", "sort": 7, "ismust": 1, "isshow": 1, "type": 1, "isalone": 0, "pid": 0, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null, "value": { "18": { "id": 19, "name": "A级", "score": 0, "configid": 7, "status": 1, "scoretype": 1, "type": 1 }, "19": { "id": 20, "name": "B级", "score": 0, "configid": 7, "status": 1, "scoretype": 1, "type": 1 }, "20": { "id": 21, "name": "C级", "score": 0, "configid": 7, "status": 1, "scoretype": 1, "type": 1 } } }, { "id": 8, "name": "洗发护理区", "sort": 8, "ismust": 1, "isshow": 1, "type": 1, "isalone": 0, "pid": 0, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null, "value": { "21": { "id": 22, "name": "A级", "score": 0, "configid": 8, "status": 1, "scoretype": 1, "type": 1 }, "22": { "id": 23, "name": "B级", "score": 0, "configid": 8, "status": 1, "scoretype": 1, "type": 1 }, "23": { "id": 24, "name": "C级", "score": 0, "configid": 8, "status": 1, "scoretype": 1, "type": 1 } } }, { "id": 9, "name": "仓库", "sort": 9, "ismust": 1, "isshow": 1, "type": 1, "isalone": 0, "pid": 0, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null, "value": { "24": { "id": 25, "name": "A级", "score": 0, "configid": 9, "status": 1, "scoretype": 1, "type": 1 }, "25": { "id": 26, "name": "B级", "score": 0, "configid": 9, "status": 1, "scoretype": 1, "type": 1 }, "26": { "id": 27, "name": "C级", "score": 0, "configid": 9, "status": 1, "scoretype": 1, "type": 1 } } }, { "id": 10, "name": "休息间", "sort": 10, "ismust": 1, "isshow": 1, "type": 1, "isalone": 0, "pid": 0, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null, "value": { "27": { "id": 28, "name": "A级", "score": 0, "configid": 10, "status": 1, "scoretype": 1, "type": 1 }, "28": { "id": 29, "name": "B级", "score": 0, "configid": 10, "status": 1, "scoretype": 1, "type": 1 }, "29": { "id": 30, "name": "C级", "score": 0, "configid": 10, "status": 1, "scoretype": 1, "type": 1 } } }, { "id": 11, "name": "卫⽣间/天花板", "sort": 11, "ismust": 1, "isshow": 1, "type": 1, "isalone": 0, "pid": 0, "remark": null, "storeNo": null, "isdraft": null, "dateTime": null, "keyId": null, "keyContent": null, "valueId": null, "valueContent": null, "imgIds": null, "remark": null, "value": { "30": { "id": 31, "name": "A级", "score": 0, "configid": 11, "status": 1, "scoretype": 1, "type": 1 }, "31": { "id": 32, "name": "B级", "score": 0, "configid": 11, "status": 1, "scoretype": 1, "type": 1 }, "32": { "id": 33, "name": "C级", "score": 0, "configid": 11, "status": 1, "scoretype": 1, "type": 1 } } } ] "info": [ { "compname": "宝龙城店",门店名 "storeNo": "019", 门店编号 "score": 96,报告得分 "level": "A",等级 "settlementScore": 20,结算得分 "staffname": "仲玉兰",检查人 "createdDate": "2021-03-16"检查时间 }, } }