Commit 96f65282 by zhousil

Merge branch 'master' into pre

parents 3cefc4fd 06f2486e
......@@ -16,7 +16,7 @@ class ChatCacheDatabaseController {
private setuping = false;
private setupError = false;
public readonly historyOrderModelName = 'order_info';
public readonly historyOrderModelName = "order_info";
private waitSetupCompleted() {
return new Promise<void>((resolve, reject) => {
......@@ -459,6 +459,47 @@ class ChatCacheDatabaseController {
});
});
}
public syncChats(chats: number[]) {
return new Promise<void>((resolve) => {
if (this.db) {
this.getChatList().then((r) => {
const set = new Set<number>(chats);
let finished = 0;
let removing = [];
for (const item of r) {
if (!set.has(item.id)) {
removing.push(item.id);
}
}
for (const item of removing) {
this.removeChatAndMessages(item).finally(() => {
finished++;
if (finished === removing.length) {
resolve();
}
});
}
!removing.length && resolve();
});
}
});
}
private removeChatAndMessages(chat: number) {
this.setupChatMessageDatabase(chat).finally(() => {
const store = this.buildChatMessageStore(chat);
const r = store.clear();
r.onsuccess = () => {
indexedDB.deleteDatabase(this.buildChatMessageKey(chat));
};
});
return this.removeChatFromList(chat);
}
}
export const dbController = new ChatCacheDatabaseController();
export enum IMDomainType {
"社保卡办理补办" = "biz_sbkbl",
"定点医院变更" = "biz_ddyybg",
"其他社保服务" = "biz_qtsbrw",
"生育险报销" = "biz_syxbx",
"社保跨省转移" = "biz_sbkszy",
"参保人信息变更" = "biz_cbrxxbg",
"求职咨询" = "biz_qzzxgr",
"医疗费用报销" = "biz_zlfybx",
"北京新客户咨询" = "con_bjxyhzx",
"企业微信推广" = "biz_qywxtg",
"补缴咨询" = "biz_sbbj",
"社保加急减员" = "biz_sbjjjy",
"公积金跨省转移" = "biz_gjjkszy",
"互助行动" = "biz_hzxdgr",
"亲亲理财" = "biz_qqlcx",
// 亲亲小保
"社保客服" = "con_sbkf",
"公积金客服" = "con_gjjkf",
"社保卡办理变更e" = "biz_sbkbl_e",
"参保人信息变更e" = "biz_cbrxxbg_e",
"社保代理e" = "con_sbdl_e",
"定点医院变更e" = "biz_ddyybg_e",
"社保加急减员e" = "biz_sbjjjy_e",
"生育险报销e" = "biz_syxbx_e",
"社保跨省转移e" = "biz_sbkszy_e",
"医疗费用报销e" = "biz_ylfybx_e",
"亲亲理财e" = "biz_qqlx_yg_e",
"其他社保服务e" = "biz_qtsbfw_e",
"在线咨询e" = "con_sbkf_e",
"参保人信息变更h" = "biz_cbrxxbg_h",
"社保卡办理/变更" = "biz_sbkbl_h",
"社保跨省转移h" = "biz_sbkszy_h",
"生育险报销h" = "biz_syxbx_h",
"档案管理" = "biz_dagl_qy_h",
"医疗费用报销h" = "biz_ylfybx_h",
"社保最后一个人减员" = "biz_sbzhygrjy_qy_h",
"异地安置h" = "biz_ydaz_sb_qy_h",
"社保数字证书办理续费" = "biz_szzh_sb_qy_h",
"领取医保存折h" = "biz_lqybcz_qy_h",
"还欠款h" = "biz_sbhqk_qy_h",
"定制参保缴费明细h" = "biz_dzcbjfmx_qy_h",
"社保清算h" = "biz_sbqs_sb_qy_h",
"社保加急减员h" = "biz_sbjjjy_h",
"社保托管补缴h" = "biz_sbtgbjqy_h",
"社保代理h" = "biz_sbdl_h",
"其他社保服务h" = "biz_qtsbfw_h",
"亲亲理财h" = "biz_xxlcqy_h",
"定点医院变更h" = "biz_ddyybg_h",
"社保开户" = "biz_sbkh_sb_qy_h",
"社保柜台增减员" = "biz_sbgtzjy_qy_h",
"工伤申报" = "biz_sbgssb_qy_h",
"社保托管" = "con_sbtg",
"在线咨询h" = "con_sbkf_h",
"亲亲小保" = "qqxb",
"公积金查询" = "con_gjjcx",
"公积金代理" = "biz_gjjdl",
"公积金提取" = "biz_gjjtq",
"其他公积金服务" = "biz_qtgjjfw",
"公积金补缴" = "biz_gjjbj",
"公积金跨省转移e" = "biz_gjjkszy_yg_e",
"其他公积金服务e" = "biz_qtgjjfw_e",
"公积金代理e" = "con_gjjdl_e",
"公积金提取e" = "biz_gjjtq_e",
"公积金客服e" = "con_gjjkf_e",
"公积金提取h" = "biz_gjjtq_h",
"公积金客服h" = "biz_gjjkf_h",
"公积金代理h" = "biz_gjjdl_h",
"公积金托管补缴h" = "biz_gjjtgbj_h",
"公积金数字证书办理续费h" = "biz_szzh_gjj_qy_h",
"公积金柜台增减员h" = "biz_gjjgtzjy_qy_h",
"公积金还欠款h" = "biz_gjjhqk_qy_h",
"公积金开户h" = "biz_gjjkh_qy_h",
"公积金账户合并h" = "biz_gjjzhhb_qy_h",
"公积金跨省转移h" = "biz_gjjkszy_qy_h",
"其他公积金服务h" = "biz_qtgjjfw_h",
"公积金托管" = "con_gjjtg",
"预借工资" = "biz_yjgzq_h",
"灵活就业薪酬个税" = "biz_xcgsfu",
"劳务费代发" = "biz_lwfdf",
"全风险岗位外包" = "biz_qfxgwwb",
"自然人代开" = "biz_zrrdk",
"工资代发" = "biz_gzdfgr",
"个税查询" = "con_gscxx",
"薪酬个税客服" = "con_xcgskf",
"智能工资表" = "biz_zngzb",
"劳务外包" = "biz_lwwbgl",
"业务外包" = "biz_ywwbgl",
"HRS100" = "hrs100",
"全风险岗位外包e" = "biz_qfxgwdf_e",
"劳务费代发e" = "biz_lwfdf_e",
"薪酬个税客服e" = "con_xcgskf_e",
"劳务外包e" = "biz_lwwbgl_e",
"业务外包e" = "biz_ywwbgl_e",
"审计报告" = "biz_sjbgs",
"验资报告" = "biz_yzbgs",
"专项审计" = "biz_zxsjs",
"劳务派遣" = "biz_lwwbxc_h",
"工商财税业务咨询h" = "con_gscsywconsult_h",
"知识产权相关咨询h" = "con_zscqxgconsult_h",
"法律咨询h" = "con_flconsult_h",
"法律咨询h2" = "con_flzxx_h",
"社保薪酬咨询h" = "con_sbxcconsult_h",
"招聘服务咨询h" = "con_zpfwconsult_h",
"保险及员工服务业务咨询h" = "con_bxjygfwywconsult_h",
"人事服务h" = "con_ssfw_h",
"更多服务h" = "con_gdfww_h",
"人才引进h" = "con_rcyjs_h",
"公司资质h" = "con_gszzs_h",
"工商财税c" = "con_gscsaq_h",
"业务众包h" = "biz_ywzb_h",
"业务外包h" = "biz_ywwbgl_h",
"全风险岗位外包h" = "biz_qfxgwdf_h",
"劳务费代发h" = "biz_lwfdf_h",
"岗位外包管理服务h" = "biz_gwwbglfw_h",
"薪酬个税客服h" = "con_xcgskf_h",
"劳务派遣h" = "biz_lwpxsq_h",
"智能工资表h" = "biz_zngzb_h",
"薪酬业务h" = "acc_xcywtx_h",
"劳务外包h" = "biz_lwwbgl_h",
"工资代发h" = "biz_xcgsmn_h",
"自然人代开h" = "biz_zrrdk_h",
"北京工作居住证咨询服务h" = "biz_bjgzjzzzxfw_h",
"外国人工作许可h" = "biz_wgrgzxk_h",
"上海居住证积分申请咨询服务h" = "biz_shjzzjfsqzxfw_h",
"北京应届毕业生落户咨询h" = "biz_bjyjbysl_h1",
"幼升小政策咨询h" = "biz_ysxzczx_h",
"成都购房社保合规咨询h" = "biz_cdgfsbhgzx_h",
"劳动权益保护h" = "biz_ldqybh_h",
"北京积分落户咨询服务h" = "biz_bjjflhzxfw_h",
"天津落户咨询服务h" = "biz_tjlhzxfw_h",
"上海留学生落户咨询h" = "biz_shlxslh_h",
"上海应届毕业生落户咨询h" = "biz_shyjbyslhzx_h",
"上海居转户咨询h" = "biz_shjzhzx_h",
"HRS100员工版" = "employee",
"北京工作居住证咨询服务e" = "biz_bjgzjzzzxfw_e",
"天津落户咨询服务e" = "biz_tjlhzxfw_e",
"劳动权益保护e" = "biz_ldqybh_e",
"上海居住证积分申请咨询服务e" = "biz_shjzzjfsqzxfw_e",
"成都购房社保合规咨询e" = "biz_cdgfsbhgzx_e",
"北京积分落户咨询服务e" = "biz_bjjflhzxfw_e",
"幼升小政策咨询e" = "biz_ysxzczx_e",
"上海留学生落户咨询e" = "biz_shlxslh_e",
"北京积分落户咨询服务" = "biz_bjjflhzxfw",
"北京工作居住证咨询服务" = "biz_bjgzjzzjfsqzxfw",
"上海居住证积分申请咨询服务" = "biz_shjzzjfsqzxfw",
"北京应届毕业生落户咨询" = "biz_bjyjbysl_h",
"幼升小政策咨询" = "biz_ysxzczx",
"劳动权益保护" = "biz_ldqybh",
"项目挂靠" = "biz_xmgkk_h",
"天津落户咨询服务" = "biz_tjlhzxfw",
"上海留学生落户咨询" = "biz_shlxslh",
"北京集体户口迁移咨询" = "biz_bjjtlhqyzx",
"成都落户咨询服务" = "biz_cdlhzxfw",
"上海应届毕业生落户咨询" = "biz_shyjbyslhzx",
"上海居转户咨询" = "biz_shjzhzx",
"成都购房社保合规咨询" = "biz_cdgfsbhgzx",
"上海居住证办理咨询" = "biz_shhzzblzx",
"招聘助手e" = "con_zpzs_e",
"保准牛雇主责任保险h" = "biz_bzngzzrbx_h",
"雇主责任险h" = "biz_gzzrxxx_h",
"企业商保通用订单h" = "biz_qysbtydd_h",
"永安乐健一生医疗保险B款h" = "biz_yaljysylbxbk_h",
"永安乐健一生医疗保险A款h" = "biz_yaljysylbxak_h",
"保准牛企业补充医疗保险C款h" = "biz_bznqybcylbxck_h",
"保准牛企业补充医疗保险B款h" = "biz_bznqybcylbxbk_h",
"保准牛企业补充医疗保险A款h" = "biz_bznqybcylbxak_h",
"团体意外保险h" = "biz_ttywxxx_h",
"补充医疗h" = "biz_bcylll_h",
"体检健康h" = "con_tjjkk_h",
"保险服务h" = "con_bxff_h",
"福利保险h" = "con_flbxa_h",
"pc网站咨询" = "con_pcweb",
"手机官网咨询" = "con_iphoneweb",
"问答动态提醒" = "que_wddttx",
"活动通知c" = "con_campaign",
"节日祝福" = "con_blessing",
"社保资讯" = "con_information",
"系统消息" = "con_xtxxx",
"账户提醒" = "acc_zhtx",
// HRS100
"灵活用工h" = "con_lhyg_h",
"其他企业服务咨询h" = "con_qtqyfwconsult_h",
"人力外包h" = "con_ssfw_h",
"人事代理h" = "con_sbkf_h",
"活动通知h" = "con_campaign_h",
"节日祝福h" = "con_blessing_h",
"社保资讯h" = "con_information_h",
"系统消息h" = "con_xtxxx_h",
// 专项订单
"雇主责任险" = "biz_gzzrx",
"保准牛雇主责任保险" = "biz_bzngzzrbx",
"永安乐健一生医疗保险A款" = "biz_yaljysylbxak",
"保准牛企业补充医疗保险C款" = "biz_bznqybcylbxck",
"保准牛企业补充医疗保险B款" = "biz_bznqybcylbxbk",
"保准牛企业补充医疗保险A款" = "biz_bznqybcylbxak",
"企业商保通用订单" = "biz_qysbtydd",
"永安乐健一生医疗保险B款" = "biz_yaljysylbxbk",
"老年人重大疾病" = "biz_lnrzdjb_h",
"少儿百种疾病意外医疗保险" = "biz_srbzjbywylbx_h",
"重疾险" = "biz_zjxxxx_h",
"补充医疗" = "biz_bcylxx_h",
"团队补充医疗" = "biz_tdbcyl",
"雇主责任险" = "biz_gzzrx",
"团体意外险" = "biz_ttywx",
"全家保障险" = "biz_qjbzx",
"家庭意外险" = "biz_jtywx",
"买保险送红包" = "biz_mbxshb",
"保准牛企业补充医疗保险B款e" = "biz_bznqybcylbxbk_e",
"永安乐健一生医疗保险A款a" = "biz_yaljysyl_A",
"企业商保通用订单e" = "biz_qysbtydd_e",
"保准牛雇主责任保险e" = "biz_bzngzzrbx_e",
"保准牛企业补充医疗保险C款e" = "biz_bznqybcylbxck_e",
"保准牛企业补充医疗保险A款e" = "biz_bznqybcylbxak_e",
"永安乐健一生医疗保险B款b" = "biz_yaljysyl_B",
"职场白领体检套餐B款男" = "biz_zcbltytcbkna",
"企业员工体检套餐-基本款" = "biz_qyygtjtcjbk",
"职场白领体检套餐B款女" = "biz_zcbltytcbknv",
"入职体检套餐" = "biz_rztjtc",
"重疾险" = "biz_zjxxxx_h",
"高端体检" = "biz_crgdtj",
"员工体检套餐" = "biz_ygtjtc",
"入职体检套餐" = "biz_rztjtc",
"体检卡套餐" = "biz_tjktc",
"职场白领体检套餐B款男e" = "biz_zcbltytcbkna_e",
"企业员工体检套餐基本款e" = "biz_qyygtjtcjbk_e",
"职场白领体检套餐B款女e" = "biz_zcbltytcbknv_e",
"职场白领体检套餐B款男h" = "biz_zcbltytcbkna_h",
"职场白领体检套餐B款女h" = "biz_zcbltytcbknv_h",
"企业员工体检套餐-基本款h" = "biz_qyygtjtcjbk_h",
"员工体检套餐" = "biz_ygtjtc",
"补充医疗h" = "biz_bcylll_h",
"雇主责任险h" = "biz_gzzrxxx_h",
"团体意外保险h" = "biz_ttywxxx_h",
"高端体检h" = "biz_crgdtj_h",
"活动通知qqxb" = "qqxb_eventMsg",
"账户提醒e" = "acc_zhtx_e",
"节日祝福e" = "con_blessing_e",
"活动通知e" = "con_campaign_e",
"社保资讯e" = "con_information_e",
"账户提醒" = "acc_zhtx",
"系统消息" = "con_xtxxx",
"节日祝福" = "con_blessing",
"活动通知c" = "con_campaign",
"社保资讯" = "con_information",
"中小微企业工商代理e" = "biz_zxwqygsdl_e",
"中小微企业财税代理e" = "biz_zxwqycsdl_e",
"西藏工商注册与财税代理e" = "biz_xzgszcycsdl_e",
"中小微企业工商代理h" = "biz_zxwqygsdl_h",
"西藏工商注册与财税代理h" = "biz_xzgszcycsdl_h",
"补充保险" = "biz_bcbxsa_h",
"劳务外包h" = "biz_lwwbgl_h",
"薪酬个税" = "biz_xcgsqs_h",
"业务外包h" = "biz_ywwbgl_h",
"代理记账" = "biz_dljzhd",
"工商财税" = "biz_gscs",
"中小微企业财税代理" = "biz_zxwqycsdl",
"中小微企业工商代理" = "biz_zxwqygsdl",
"高新技术企业认定" = "biz_gxjsqyrd",
"劳务派遣经营许可证" = "biz_lwpqjyxkz",
"人力资源服务许可证" = "biz_rlzifwxkzz",
"食品流通许可证" = "biz_spltxkz",
"项目申报" = "biz_xmssb",
"资质认证" = "biz_zzrzq",
"劳务外包" = "biz_lwwbgl",
"全风险岗位外包" = "biz_qfxgwwb",
"自然人代开" = "biz_zrrdk",
"版权服务" = "biz_bqfw",
"商标注册" = "biz_sbzc",
"专利布局" = "biz_zlbj",
"专利服务" = "biz_zlfwhycs",
"中小微企业财税代理h" = "biz_zxwqycsdl_h",
"问答动态提醒" = "que_wddttx",
"专利服务h" = "biz_zlfw_h",
"专利布局h" = "biz_zlbj_h",
"商标注册h" = "biz_sbzc_h",
"版权服务h" = "biz_nqfw_h",
"工商财税h" = "biz_gscs_h",
"专利布局e" = "biz_zlbj_e",
"商标注册e" = "biz_sbzc_e",
"版权服务e" = "biz_nqfw_e",
"求职助手" = "con_qzzs",
"求职小程序" = "con_qzxcx",
"招聘小程序" = "con_zpxcx",
"求职顾问" = "con_qzgws",
"人才快递" = "biz_qlt_qy_h",
"招聘助手" = "con_zpzs_h",
"推荐人才" = "biz_tjrclnh",
"私信" = "qqxb_userMsg",
"劳务派遣经营许可证e" = "biz_lwpqjyxkz_e",
"食品流通许可证e" = "biz_spltxkz_e",
"资质认证e" = "biz_zzrz_e",
"人力资源服务许可证e" = "biz_rlzyfwxkz_e",
"项目申报e" = "biz_xmsb_e",
"高新技术企业认定e" = "biz_gxjsqyrd_e",
"项目申报h" = "biz_xmsb_h",
"人力资源服务许可证h" = "biz_rlzyfwxkz_h",
"中小微企业工商代理h" = "biz_zxwqygsdl_h",
"出版物批发零售许可" = "biz_cbwpfls_h",
"高新技术企业认定h" = "biz_gxjsqyrd_h",
"资质认证h" = "biz_zzrz_h",
"食品流通许可证h" = "biz_spltxkz_h",
"广播电视节目制作许可" = "biz_gbdsjmzz_h",
"进出口备案许可" = "biz_jckbaxk_h",
"劳务派遣经营许可证h" = "biz_lwpqjyxkz_h",
"人力资源服务许可证h" = "biz_rlzyfwxkz_h",
"食品流通许可证h" = "biz_spltxkz_h",
"项目申报h" = "biz_xmsb_h",
"医疗器械经营许可" = "biz_ylqiqxk_h",
"进出口备案许可" = "biz_jckbaxk_h",
"出版物批发零售许可" = "biz_cbwpfls_h",
"广播电视节目制作许可" = "biz_gbdsjmzz_h",
"业务相关" = "biz_wzgnnj_h",
"薪酬优化" = "biz_xcyh_qy_h",
"资质认证h" = "biz_zzrz_h",
"劳务派遣h" = "biz_lwpxsq_h",
"自然人代开h" = "biz_zrrdk_h",
"审计报告" = "biz_sjbgs",
"验资报告" = "biz_yzbgs",
"专项审计" = "biz_zxsjs",
"岗位外包管理服务h" = "biz_gwwbglfw_h",
"人力外包" = "biz_rlwb_h",
"人事外包管理服务" = "biz_rswbglfw",
"版权服务h" = "biz_nqfw_h",
"商标注册h" = "biz_sbzc_h",
"专利布局h" = "biz_zlbj_h",
"专利服务h" = "biz_zlfw_h",
"社保业务" = "biz_sbyww_h",
"高级会员申请" = "biz_gjhysqlk_h",
"其他业务" = "biz_qtywjn_h",
"公积金业务" = "biz_gjjywuj_h",
"互助行动h" = "biz_hzxdijn_h",
"补充保险" = "biz_bcbxsa_h",
"社保托管申请" = "biz_sbtgsh_qy_h",
"薪酬个税" = "biz_xcgsqs_h",
"App功能相关" = "biz_gdfwkmc_h",
"网站功能" = "biz_wzhbiu_h",
"HRS100招聘服务 在线客服" = "biz_zpfw_zxkf_h",
"公积金跨省转移" = "biz_gjjkszy",
"公积金提取" = "biz_gjjtq",
"其他公积金服务" = "biz_qtgjjfw",
"参保人信息变更" = "biz_cbrxxbg",
"定点医院变更" = "biz_ddyybg",
"补缴咨询" = "biz_sbbj",
"其他社保服务" = "biz_qtsbrw",
"社保卡办理补办" = "biz_sbkbl",
"社保跨省转移" = "biz_sbkszy",
"生育险报销" = "biz_syxbx",
"医疗费用报销" = "biz_zlfybx",
"工资代发" = "biz_gzdfgr",
"劳务费代发" = "biz_lwfdf",
"灵活就业薪酬个税" = "biz_xcgsfu",
"人力外包年服务资格" = "biz_rlwbnffzg_h",
"高级会员申请" = "biz_gjhysqlk_h",
"公积金柜台增减员h" = "biz_gjjgtzjy_qy_h",
"公积金开户h" = "biz_gjjkh_qy_h",
"公积金跨省转移h" = "biz_gjjkszy_qy_h",
"公积金提取h" = "biz_gjjtq_h",
"公积金账户合并h" = "biz_gjjzhhb_qy_h",
"公积金还欠款h" = "biz_gjjhqk_qy_h",
"公积金数字证书办理续费h" = "biz_szzh_gjj_qy_h",
"参保人信息变更h" = "biz_cbrxxbg_h",
"档案管理" = "biz_dagl_qy_h",
"定点医院变更h" = "biz_ddyybg_h",
"定制参保缴费明细h" = "biz_dzcbjfmx_qy_h",
"工伤申报" = "biz_sbgssb_qy_h",
"领取医保存折h" = "biz_lqybcz_qy_h",
"社保柜台增减员" = "biz_sbgtzjy_qy_h",
"社保卡办理/变更" = "biz_sbkbl_h",
"社保开户" = "biz_sbkh_sb_qy_h",
"社保跨省转移h" = "biz_sbkszy_h",
"社保清算h" = "biz_sbqs_sb_qy_h",
"社保最后一个人减员" = "biz_sbzhygrjy_qy_h",
"生育险报销h" = "biz_syxbx_h",
"社保数字证书办理续费" = "biz_szzh_sb_qy_h",
"医疗费用报销h" = "biz_ylfybx_h",
"异地安置h" = "biz_ydaz_sb_qy_h",
"工资代发h" = "biz_xcgsmn_h",
"公积金托管申请" = "biz_gjjtgsh_qy_h",
"中小微企业工商代理" = "biz_zxwqygsdl",
"企业服务通知" = "que_qyfwtz",
"专利服务" = "biz_zlfwhycs",
"其他企业服务咨询" = "con_qtqyfwconsult",
"企业社保薪酬咨询" = "con_qysbxcconsult",
"保险及员工福利业务咨询" = "con_bxjygflywconsult",
"招聘服务咨询" = "con_zpfwconsult",
"工商财税业务咨询" = "con_gscsywconsult",
"知识产权相关咨询" = "con_zscqxgconsult",
"法律咨询" = "con_flconsult",
"公司资质咨询" = "con_gszzzx",
"西藏工商注册与财税代理" = "biz_xzgszcycsdl",
"食品流通许可证" = "biz_spltxkz",
"中小微企业财税代理" = "biz_zxwqycsdl",
"专利服务2" = "biz_zlfw",
"专利布局" = "biz_zlbj",
"商标注册" = "biz_sbzc",
"项目申报" = "biz_xmssb",
"版权服务" = "biz_bqfw",
"高新技术企业认定" = "biz_gxjsqyrd",
"资质认证" = "biz_zzrzq",
"劳务派遣经营许可证" = "biz_lwpqjyxkz",
"人力资源服务许可证" = "biz_rlzifwxkzz",
"工商财税" = "biz_gscs",
"社保托管减员" = "biz_sbtgjy_h",
"社保托管增员" = "biz_sbtgzy_h",
"社保托管申请" = "biz_sbtgsh_qy_h",
"公积金托管补缴" = "biz_gjjtgbj_h",
"公积金托管调整员工基数" = "biz_gjjtgtzygjs_h",
"公积金托管减员" = "biz_jjtgjy_h",
"公积金托管其他" = "biz_gjjtgqt_h",
"公积金托管增员" = "biz_gjjtgzy_h",
"托管客户信息修改" = "biz_gjjtgyhxxxg_h",
"社保托管补缴" = "biz_sbtgbj_h",
"社保托管调整员工基数" = "biz_sbtgtzygjs_h",
"托管客户信息修改h" = "biz_sbtgkhxxxg_h",
"社保托管减员" = "biz_sbtgjy_h",
"社保托管其他" = "biz_sbtgqt_h",
"职业规划咨询" = "biz_zyghzx",
"商务礼仪" = "biz_gjswlyzs",
"考证加薪" = "biz_kzjx_h",
"社保托管增员" = "biz_sbtgzy_h",
"托管客户信息修改h" = "biz_sbtgkhxxxg_h",
"北京集体户口迁移咨询" = "biz_bjjtlhqyzx",
"北京工作居住证咨询服务" = "biz_bjgzjzzjfsqzxfw",
"北京应届毕业生落户咨询" = "biz_bjyjbysl_h",
"简历优化" = "biz_jlyhs",
"劳动权益保护" = "biz_ldqybh",
"面试指导" = "biz_mszds",
"上海居住证办理咨询" = "biz_shhzzblzx",
"上海居住证积分申请咨询服务" = "biz_shjzzjfsqzxfw",
"上海居转户咨询" = "biz_shjzhzx",
"上海留学生落户咨询" = "biz_shlxslh",
"上海应届毕业生落户咨询" = "biz_shyjbyslhzx",
"天津落户咨询服务" = "biz_tjlhzxfw",
"幼升小政策咨询" = "biz_ysxzczx",
"职业测评" = "biz_zypcs",
"商务礼仪h" = "biz_gjswlyzs_h",
"公积金托管其他" = "biz_gjjtgqt_h",
"公积金托管增员" = "biz_gjjtgzy_h",
"公积金托管补缴" = "biz_gjjtgbj_h",
"公积金托管调整员工基数" = "biz_gjjtgtzygjs_h",
"托管客户信息修改" = "biz_gjjtgyhxxxg_h",
"公积金托管减员" = "biz_jjtgjy_h",
"手机官网咨询" = "con_iphoneweb",
"pc网站咨询" = "con_pcweb",
"劳动争议" = "biz_ldzyqy_h",
"人力外包" = "biz_rlwb_h",
"人力外包年服务资格" = "biz_rlwbnffzg_h",
// HRS100
"灵活用工h" = "con_lhyg_h",
"其他企业服务咨询h" = "con_qtqyfwconsult_h",
"人力外包h" = "con_ssfw_h",
"人事代理h" = "con_sbkf_h",
"活动通知h" = "con_campaign_h",
"节日祝福h" = "con_blessing_h",
"社保资讯h" = "con_information_h",
"系统消息h" = "con_xtxxx_h",
}
export const imItems = [
{
type: "biz_sbkbl",
title: "社保卡办理/补办",
},
{
type: "biz_sbdl",
title: "社保代理",
},
{
type: "biz_sbcx",
title: "社保查询",
},
{
type: "biz_ddyybg",
title: "定点医院变更",
},
{
type: "biz_qtsbrw",
title: "其他社保服务",
},
{
type: "biz_syxbx",
title: "生育险报销",
},
{
type: "biz_sbkszy",
title: "社保跨省转移",
},
{
type: "biz_cbrxxbg",
title: "参保人信息变更",
},
{
type: "biz_qzzxgr",
title: "求职咨询",
},
{
type: "biz_zlfybx",
title: "医疗费用报销",
},
{
type: "con_bjxyhzx",
title: "北京新客户咨询",
},
{
type: "biz_qywxtg",
title: "企业微信推广",
},
{
type: "biz_sbbj",
title: "补缴咨询",
},
{
type: "biz_sbjjjy",
title: "社保加急减员",
},
{
type: "biz_gjjkszy",
title: "公积金跨省转移",
},
{
type: "biz_hzxdgr",
title: "互助行动",
},
{
type: "biz_qqlcx",
title: "亲亲理财",
},
{
type: "con_sbkf",
title: "社保客服",
},
{
type: "con_gjjkf",
title: "公积金客服",
},
{
type: "biz_sbkbl_e",
title: "社保卡办理/变更",
},
{
type: "biz_cbrxxbg_e",
title: "参保人信息变更",
},
{
type: "con_sbdl_e",
title: "社保代理",
},
{
type: "biz_ddyybg_e",
title: "定点医院变更",
},
{
type: "biz_sbjjjy_e",
title: "社保加急减员",
},
{
type: "biz_syxbx_e",
title: "生育险报销",
},
{
type: "biz_sbkszy_e",
title: "社保跨省转移",
},
{
type: "biz_ylfybx_e",
title: "医疗费用报销",
},
{
type: "biz_qqlx_yg_e",
title: "亲亲理财",
},
{
type: "biz_qtsbfw_e",
title: "其他社保服务",
},
{
type: "con_sbkf_e",
title: "在线咨询",
},
{
type: "biz_cbrxxbg_h",
title: "参保人信息变更",
},
{
type: "biz_sbkbl_h",
title: "社保卡办理/变更",
},
{
type: "biz_sbkszy_h",
title: "社保跨省转移",
},
{
type: "biz_syxbx_h",
title: "生育险报销",
},
{
type: "biz_dagl_qy_h",
title: "档案管理",
},
{
type: "biz_ylfybx_h",
title: "医疗费用报销",
},
{
type: "biz_sbzhygrjy_qy_h",
title: "社保最后一个人减员",
},
{
type: "biz_ydaz_sb_qy_h",
title: "异地安置",
},
{
type: "biz_szzh_sb_qy_h",
title: "数字证书办理/续费",
},
{
type: "biz_lqybcz_qy_h",
title: "领取医保存折",
},
{
type: "biz_sbhqk_qy_h",
title: "还欠款",
},
{
type: "biz_dzcbjfmx_qy_h",
title: "定制参保缴费明细",
},
{
type: "biz_sbqs_sb_qy_h",
title: "社保清算",
},
{
type: "biz_sbjjjy_h",
title: "社保加急减员",
},
{
type: "biz_sbtgbjqy_h",
title: "社保托管补缴",
},
{
type: "biz_sbdl_h",
title: "社保代理",
},
{
type: "biz_qtsbfw_h",
title: "其他社保服务",
},
{
type: "biz_xxlcqy_h",
title: "亲亲理财",
},
{
type: "biz_ddyybg_h",
title: "定点医院变更",
},
{
type: "biz_sbkh_sb_qy_h",
title: "社保开户",
},
{
type: "biz_sbgtzjy_qy_h",
title: "社保柜台增减员",
},
{
type: "biz_sbgssb_qy_h",
title: "工伤申报",
},
{
type: "con_sbtg",
title: "社保托管",
},
{
type: "qqxb",
title: "亲亲小保",
},
{
type: "con_gjjcx",
title: "公积金查询",
},
{
type: "biz_gjjdl",
title: "公积金代理",
},
{
type: "biz_gjjtq",
title: "公积金提取",
},
{
type: "biz_qtgjjfw",
title: "其他公积金服务",
},
{
type: "biz_gjjbj",
title: "公积金补缴",
},
{
type: "biz_gjjkszy_yg_e",
title: "公积金跨省转移—500元起/次",
},
{
type: "biz_qtgjjfw_e",
title: "其他公积金服务",
},
{
type: "con_gjjdl_e",
title: "公积金代理",
},
{
type: "biz_gjjtq_e",
title: "公积金提取",
},
{
type: "con_gjjkf_e",
title: "公积金客服",
},
{
type: "biz_gjjtq_h",
title: "公积金提取",
},
{
type: "biz_gjjkf_h",
title: "公积金客服",
},
{
type: "biz_gjjdl_h",
title: "公积金代理",
},
{
type: "biz_gjjtgbj_h",
title: "公积金托管补缴",
},
{
type: "biz_szzh_gjj_qy_h",
title: "数字证书办理/续费",
},
{
type: "biz_gjjgtzjy_qy_h",
title: "公积金柜台增减员",
},
{
type: "biz_gjjhqk_qy_h",
title: "还欠款",
},
{
type: "biz_gjjkh_qy_h",
title: "公积金开户",
},
{
type: "biz_gjjzhhb_qy_h",
title: "公积金账户合并",
},
{
type: "biz_gjjkszy_qy_h",
title: "公积金跨省转移",
},
{
type: "biz_qtgjjfw_h",
title: "其他公积金服务",
},
{
type: "con_gjjtg",
title: "公积金托管",
},
{
type: "biz_yjgzq_h",
title: "预借工资",
},
{
type: "biz_xcgsfu",
title: "灵活就业薪酬个税",
},
{
type: "biz_lwfdf",
title: "劳务费代发",
},
{
type: "biz_qfxgwwb",
title: "全风险岗位外包",
},
{
type: "biz_zrrdk",
title: "自然人代开",
},
{
type: "biz_gzdfgr",
title: "工资代发",
},
{
type: "con_gscxx",
title: "个税查询",
},
{
type: "con_xcgskf",
title: "薪酬个税客服",
},
{
type: "biz_zngzb",
title: "智能工资表",
},
{
type: "biz_lwwbgl",
title: "劳务外包",
},
{
type: "biz_ywwbgl",
title: "业务外包",
},
{
type: "hrs100",
title: "HRS100",
},
{
type: "biz_qfxgwdf_e",
title: "全风险岗位外包",
},
{
type: "biz_lwfdf_e",
title: "劳务费代发",
},
{
type: "con_xcgskf_e",
title: "薪酬个税客服",
},
{
type: "biz_lwwbgl_e",
title: "劳务外包",
},
{
type: "biz_ywwbgl_e",
title: "业务外包",
},
{
type: "biz_sjbgs",
title: "审计报告",
},
{
type: "biz_yzbgs",
title: "验资报告",
},
{
type: "biz_zxsjs",
title: "专项审计",
},
{
type: "biz_lwwbxc_h",
title: "劳务派遣",
},
{
type: "con_gscsywconsult_h",
title: "工商财税业务咨询",
},
{
type: "con_zscqxgconsult_h",
title: "知识产权相关咨询",
},
{
type: "con_flconsult_h",
title: "法律咨询",
},
{
type: "con_sbxcconsult_h",
title: "社保薪酬咨询",
},
{
type: "con_zpfwconsult_h",
title: "招聘服务咨询",
},
{
type: "con_bxjygfwywconsult_h",
title: "保险及员工服务业务咨询",
},
{
type: "con_gdfww_h",
title: "更多服务",
},
{
type: "con_flzxx_h",
title: "法律咨询",
},
{
type: "con_rcyjs_h",
title: "人才引进",
},
{
type: "con_gszzs_h",
title: "公司资质",
},
{
type: "con_gscsaq_h",
title: "工商财税",
},
{
type: "biz_ywzb_h",
title: "业务众包",
},
{
type: "biz_ywwbgl_h",
title: "业务外包",
},
{
type: "biz_qfxgwdf_h",
title: "全风险岗位外包",
},
{
type: "biz_lwfdf_h",
title: "劳务费代发",
},
{
type: "biz_gwwbglfw_h",
title: "岗位外包管理服务",
},
{
type: "con_xcgskf_h",
title: "薪酬个税客服",
},
{
type: "biz_lwpxsq_h",
title: "劳务派遣",
},
{
type: "biz_zngzb_h",
title: "智能工资表",
},
{
type: "acc_xcywtx_h",
title: "薪酬业务",
},
{
type: "biz_lwwbgl_h",
title: "劳务外包",
},
{
type: "biz_xcgsmn_h",
title: "工资代发",
},
{
type: "biz_zrrdk_h",
title: "自然人代开",
},
{
type: "biz_bjgzjzzzxfw_h",
title: "北京工作居住证咨询服务",
},
{
type: "biz_wgrgzxk_h",
title: "外国人工作许可",
},
{
type: "biz_shjzzjfsqzxfw_h",
title: "上海居住证积分申请咨询服务",
},
{
type: "biz_bjyjbysl_h1",
title: "北京应届毕业生落户咨询",
},
{
type: "biz_ysxzczx_h",
title: "幼升小政策咨询",
},
{
type: "biz_cdgfsbhgzx_h",
title: "成都购房社保合规咨询",
},
{
type: "biz_ldqybh_h",
title: "劳动权益保护",
},
{
type: "biz_bjjflhzxfw_h",
title: "北京积分落户咨询服务",
},
{
type: "biz_tjlhzxfw_h",
title: "天津落户咨询服务",
},
{
type: "biz_shlxslh_h",
title: "上海留学生落户咨询",
},
{
type: "biz_shyjbyslhzx_h",
title: "上海应届毕业生落户咨询",
},
{
type: "biz_shjzhzx_h",
title: "上海居转户咨询",
},
{
type: "employee",
title: "HRS100员工版",
},
{
type: "biz_bjgzjzzzxfw_e",
title: "北京工作居住证咨询服务",
},
{
type: "biz_tjlhzxfw_e",
title: "天津落户咨询服务",
},
{
type: "biz_ldqybh_e",
title: "劳动权益保护",
},
{
type: "biz_shjzzjfsqzxfw_e",
title: "上海居住证积分申请咨询服务",
},
{
type: "biz_cdgfsbhgzx_e",
title: "成都购房社保合规咨询",
},
{
type: "biz_bjjflhzxfw_e",
title: "北京积分落户咨询服务",
},
{
type: "biz_ysxzczx_e",
title: "幼升小政策咨询",
},
{
type: "biz_shlxslh_e",
title: "上海留学生落户咨询",
},
{
type: "biz_bjjflhzxfw",
title: "北京积分落户咨询服务",
},
{
type: "biz_bjgzjzzjfsqzxfw",
title: "北京工作居住证咨询服务",
},
{
type: "biz_shjzzjfsqzxfw",
title: "上海居住证积分申请咨询服务",
},
{
type: "biz_bjyjbysl_h",
title: "北京应届毕业生落户咨询",
},
{
type: "biz_ysxzczx",
title: "幼升小政策咨询",
},
{
type: "biz_ldqybh",
title: "劳动权益保护",
},
{
type: "biz_xmgkk_h",
title: "项目挂靠",
},
{
type: "biz_tjlhzxfw",
title: "天津落户咨询服务",
},
{
type: "biz_shlxslh",
title: "上海留学生落户咨询",
},
{
type: "biz_bjjtlhqyzx",
title: "北京集体户口迁移咨询",
},
{
type: "biz_cdlhzxfw",
title: "成都落户咨询服务",
},
{
type: "biz_shyjbyslhzx",
title: "上海应届毕业生落户咨询",
},
{
type: "biz_shjzhzx",
title: "上海居转户咨询",
},
{
type: "biz_cdgfsbhgzx",
title: "成都购房社保合规咨询",
},
{
type: "biz_shhzzblzx",
title: "上海居住证办理咨询",
},
{
type: "con_zpzs_e",
title: "招聘助手",
},
{
type: "biz_bzngzzrbx_h",
title: "保准牛-雇主责任保险",
},
"职业规划咨询" = "biz_zyghzx",
"北京积分落户咨询服务h" = "biz_bjjflhzxfw_h",
"北京工作居住证咨询服务h" = "biz_bjgzjzzzxfw_h",
"北京应届毕业生落户咨询h" = "biz_bjyjbysl_h1",
"劳动争议" = "biz_ldzyqy_h",
"上海居住证积分申请咨询服务h" = "biz_shjzzjfsqzxfw_h",
"上海居转户咨询h" = "biz_shjzhzx_h",
"上海留学生落户咨询h" = "biz_shlxslh_h",
"上海应届毕业生落户咨询h" = "biz_shyjbyslhzx_h",
"天津落户咨询服务h" = "biz_tjlhzxfw_h",
"外国人工作许可h" = "biz_wgrgzxk_h",
"成都购房社保合规咨询" = "biz_cdgfsbhgzx",
"成都落户咨询服务" = "biz_cdlhzxfw",
// 表格以外,亲亲小保项目中有使用
"企业社保薪酬咨询" = "con_qysbxcconsult",
"知识产权相关咨询" = "con_zscqxgconsult",
"公司资质咨询" = "con_gszzzx",
"保险及员工福利业务咨询" = "con_bxjygflywconsult",
"工商财税业务咨询" = "con_gscsywconsult",
}
export const imItems = [
// 亲亲小保
{
type: "biz_gzzrxxx_h",
title: "雇主责任险",
type: IMDomainType.社保客服,
title: "社保客服",
},
{
type: "biz_qysbtydd_h",
title: "企业商保通用订单",
type: IMDomainType.pc网站咨询,
title: "pc网站咨询",
},
{
type: "biz_yaljysylbxbk_h",
title: "永安乐健一生医疗保险B款",
type: IMDomainType.手机官网咨询,
title: "手机官网咨询",
},
{
type: "biz_yaljysylbxak_h",
title: "永安乐健一生医疗保险A款",
type: IMDomainType.问答动态提醒,
title: "问答动态提醒",
},
{
type: "biz_bznqybcylbxck_h",
title: "保准牛—企业补充医疗保险C款",
type: IMDomainType.活动通知c,
title: "活动通知",
},
{
type: "biz_bznqybcylbxbk_h",
title: "保准牛—企业补充医疗保险B款",
type: IMDomainType.节日祝福,
title: "节日祝福",
},
{
type: "biz_bznqybcylbxak_h",
title: "保准牛—企业补充医疗保险A款",
type: IMDomainType.社保资讯,
title: "社保资讯",
},
{
type: "biz_ttywxxx_h",
title: "团体意外保险",
type: IMDomainType.系统消息,
title: "系统消息",
},
{
type: "biz_bcylll_h",
title: "补充医疗",
type: IMDomainType.账户提醒,
title: "账户提醒",
},
// HRS100
{
type: "con_tjjkk_h",
title: "体检健康",
type: IMDomainType.灵活用工h,
title: "灵活用工",
},
{
type: "con_bxff_h",
title: "保险服务",
type: IMDomainType.其他企业服务咨询h,
title: "其他企业服务咨询",
},
{
type: "con_flbxa_h",
title: "福利保险",
type: IMDomainType.人力外包h,
title: "人力外包",
},
{
type: "biz_bzngzzrbx",
title: "保准牛-雇主责任保险",
type: IMDomainType.人事代理h,
title: "人事代理",
},
{
type: "biz_yaljysylbxak",
title: "永安乐健一生医疗保险A款",
type: IMDomainType.活动通知h,
title: "活动通知",
},
{
type: "biz_bznqybcylbxck",
title: "保准牛—企业补充医疗保险C款",
type: IMDomainType.节日祝福h,
title: "节日祝福",
},
{
type: "biz_bznqybcylbxbk",
title: "保准牛—企业补充医疗保险B款",
type: IMDomainType.社保资讯h,
title: "社保资讯",
},
{
type: "biz_bznqybcylbxak",
title: "保准牛—企业补充医疗保险A款",
type: IMDomainType.系统消息h,
title: "系统消息",
},
// 专项订单
{
type: "biz_qysbtydd",
title: "企业商保通用订单",
type: IMDomainType.雇主责任险,
title: "雇主责任险",
},
{
type: "biz_yaljysylbxbk",
title: "永安乐健一生医疗保险B款",
type: IMDomainType.保准牛雇主责任保险,
title: "雇主责任险-创业团队必备",
},
{
type: "biz_lnrzdjb_h",
type: IMDomainType.老年人重大疾病,
title: "老年人重大疾病",
},
{
type: "biz_srbzjbywylbx_h",
type: IMDomainType.少儿百种疾病意外医疗保险,
title: "少儿百种疾病意外医疗保险",
},
{
type: "biz_zjxxxx_h",
title: "重疾险",
},
{
type: "biz_bcylxx_h",
title: "补充医疗",
},
{
type: "biz_tdbcyl",
type: IMDomainType.补充医疗,
title: "团队补充医疗",
},
{
type: "biz_gzzrx",
title: "雇主责任险",
},
{
type: "biz_ttywx",
type: IMDomainType.团体意外险,
title: "团体意外险",
},
{
type: "biz_qjbzx",
title: "全家保障险",
},
{
type: "biz_jtywx",
title: "家庭意外险",
type: IMDomainType.重疾险,
title: "重疾险",
},
{
type: "biz_mbxshb",
title: "买保险送红包",
type: IMDomainType.高端体检,
title: "高端体检",
},
{
type: "biz_bznqybcylbxbk_e",
title: "保准牛—企业补充医疗保险B款",
type: IMDomainType.入职体检套餐,
title: "入职体检套餐",
},
{
type: "biz_yaljysyl_A",
title: "永安乐健一生医疗保险A款",
type: IMDomainType.体检卡套餐,
title: "体检卡套餐",
},
{
type: "biz_qysbtydd_e",
title: "企业商保通用订单",
type: IMDomainType.员工体检套餐,
title: "员工体检套餐",
},
{
type: "biz_bzngzzrbx_e",
title: "保准牛-雇主责任保险",
type: IMDomainType.补充医疗h,
title: "补充医疗",
},
{
type: "biz_bznqybcylbxck_e",
title: "保准牛—企业补充医疗保险C款",
type: IMDomainType.雇主责任险h,
title: "雇主责任险",
},
{
type: "biz_bznqybcylbxak_e",
title: "保准牛—企业补充医疗保险A款",
type: IMDomainType.团体意外保险h,
title: "团体意外险",
},
{
type: "biz_yaljysyl_B",
title: "永安乐健一生医疗保险B款",
type: IMDomainType.高端体检h,
title: "高端体检",
},
{
type: "biz_zcbltytcbkna",
title: "职场白领体检套餐B款(男)",
type: IMDomainType.补充保险,
title: "补充保险",
},
{
type: "biz_qyygtjtcjbk",
title: "企业员工体检套餐-基本款",
type: IMDomainType.劳务外包h,
title: "劳务外包管理",
},
{
type: "biz_zcbltytcbknv",
title: "职场白领体检套餐B款(女)",
type: IMDomainType.薪酬个税,
title: "薪酬个税",
},
{
type: "biz_rztjtc",
title: "入职体检套餐",
type: IMDomainType.业务外包h,
title: "业务外包管理",
},
{
type: "biz_crgdtj",
title: "高端体检",
type: IMDomainType.代理记账,
title: "业务外包管理",
},
{
type: "biz_ygtjtc",
title: "员工体检套餐",
type: IMDomainType.工商财税,
title: "工商财税",
},
{
type: "biz_tjktc",
title: "体检卡套餐",
type: IMDomainType.中小微企业财税代理,
title: "工商财税",
},
{
type: "biz_zcbltytcbkna_e",
title: "职场白领体检套餐B款(男)",
type: IMDomainType.中小微企业工商代理,
title: "中小微企业工商代理",
},
{
type: "biz_qyygtjtcjbk_e",
title: "企业员工体检套餐-基本款",
type: IMDomainType.高新技术企业认定,
title: "高新技术企业认定",
},
{
type: "biz_zcbltytcbknv_e",
title: "职场白领体检套餐B款(女)",
type: IMDomainType.劳务派遣经营许可证,
title: "劳务派遣经营许可证",
},
{
type: "biz_zcbltytcbkna_h",
title: "职场白领体检套餐B款(男)",
type: IMDomainType.人力资源服务许可证,
title: "人力资源服务许可证",
},
{
type: "biz_zcbltytcbknv_h",
title: "职场白领体检套餐B款(女)",
type: IMDomainType.食品流通许可证,
title: "食品流通许可证",
},
{
type: "biz_qyygtjtcjbk_h",
title: "企业员工体检套餐-基本款",
type: IMDomainType.项目申报,
title: "项目申报",
},
{
type: "biz_crgdtj_h",
title: "高端体检",
type: IMDomainType.资质认证,
title: "资质认证",
},
{
type: "qqxb_eventMsg",
title: "活动通知",
type: IMDomainType.劳务外包,
title: "劳务外包管理",
},
{
type: "acc_zhtx_e",
title: "账户提醒",
type: IMDomainType.全风险岗位外包,
title: "全风险岗位外包",
},
{
type: "con_blessing_e",
title: "节日祝福",
type: IMDomainType.自然人代开,
title: "自然人代开",
},
{
type: "con_campaign_e",
title: "活动通知",
type: IMDomainType.版权服务,
title: "版权服务",
},
{
type: "con_information_e",
title: "社保资讯",
type: IMDomainType.商标注册,
title: "商标注册",
},
{
type: "acc_zhtx",
title: "账户提醒",
type: IMDomainType.专利布局,
title: "专利布局",
},
{
type: "con_xtxxx",
title: "系统消息",
type: IMDomainType.专利服务,
title: "专利服务",
},
{
type: "con_blessing",
title: "节日祝福",
type: IMDomainType.中小微企业财税代理h,
title: "中小微企业财税代理",
},
{
type: "con_campaign",
title: "活动通知",
type: IMDomainType.中小微企业工商代理h,
title: "中小微企业工商代理",
},
{
type: "con_information",
title: "社保资讯",
type: IMDomainType.出版物批发零售许可,
title: "出版物批发零售许可",
},
{
type: "biz_zxwqygsdl_e",
title: "中小微企业工商代理",
type: IMDomainType.高新技术企业认定h,
title: "高新技术企业认定",
},
{
type: "biz_zxwqycsdl_e",
title: "中小微企业财税代理",
type: IMDomainType.广播电视节目制作许可,
title: "广播电视节目制作许可",
},
{
type: "biz_xzgszcycsdl_e",
title: "西藏工商注册与财税代理",
type: IMDomainType.进出口备案许可,
title: "进出口备案许可",
},
{
type: "biz_zxwqygsdl_h",
title: "中小微企业工商代理",
type: IMDomainType.劳务派遣经营许可证h,
title: "劳务派遣经营许可证",
},
{
type: "biz_xzgszcycsdl_h",
title: "西藏工商注册与财税代理",
type: IMDomainType.人力资源服务许可证h,
title: "人力资源服务许可证",
},
{
type: "biz_zxwqycsdl_h",
title: "中小微企业财税代理",
type: IMDomainType.食品流通许可证h,
title: "食品流通许可证",
},
{
type: "que_wddttx",
title: "问答动态提醒",
type: IMDomainType.项目申报h,
title: "项目申报",
},
{
type: "biz_zlfw_h",
title: "专利服务",
type: IMDomainType.医疗器械经营许可,
title: "医疗器械经营许可",
},
{
type: "biz_zlbj_h",
title: "专利布局",
type: IMDomainType.资质认证h,
title: "资质认证",
},
{
type: "biz_sbzc_h",
title: "商标注册",
type: IMDomainType.劳务派遣h,
title: "劳务派遣服务",
},
{
type: "biz_nqfw_h",
title: "版权服务",
type: IMDomainType.自然人代开h,
title: "自然人代开",
},
{
type: "biz_gscs_h",
title: "工商财税",
type: IMDomainType.审计报告,
title: "审计报告",
},
{
type: "biz_zlbj_e",
title: "专利布局",
type: IMDomainType.验资报告,
title: "验资报告",
},
{
type: "biz_sbzc_e",
title: "商标注册",
type: IMDomainType.专项审计,
title: "专项审计",
},
{
type: "biz_nqfw_e",
title: "版权服务",
type: IMDomainType.岗位外包管理服务h,
title: "岗位外包管理服务",
},
{
type: "con_qzzs",
title: "求职助手",
type: IMDomainType.人力外包,
title: "人才派驻",
},
{
type: "con_qzxcx",
title: "求职小程序",
type: IMDomainType.人事外包管理服务,
title: "人事外包管理服务",
},
{
type: "con_zpxcx",
title: "招聘小程序",
type: IMDomainType.版权服务h,
title: "版权服务",
},
{
type: "con_qzgws",
title: "求职顾问",
type: IMDomainType.商标注册h,
title: "商标注册",
},
{
type: "biz_qlt_qy_h",
title: "人才快递",
type: IMDomainType.专利布局h,
title: "专利布局",
},
{
type: "con_zpzs_h",
title: "招聘助手",
type: IMDomainType.专利服务h,
title: "专利服务",
},
{
type: "biz_tjrclnh",
title: "推荐人才",
type: IMDomainType.社保业务,
title: "社保业务",
},
{
type: "qqxb_userMsg",
title: "私信",
type: IMDomainType.公积金业务,
title: "公积金业务",
},
{
type: "biz_lwpqjyxkz_e",
title: "劳务派遣经营许可证",
type: IMDomainType.公积金跨省转移,
title: "公积金跨省转移",
},
{
type: "biz_spltxkz_e",
title: "食品流通许可证",
type: IMDomainType.公积金提取,
title: "公积金提取",
},
{
type: "biz_zzrz_e",
title: "资质认证",
type: IMDomainType.其他公积金服务,
title: "其他公积金服务",
},
{
type: "biz_rlzyfwxkz_e",
title: "人力资源服务许可证",
type: IMDomainType.参保人信息变更,
title: "参保人信息变更",
},
{
type: "biz_xmsb_e",
title: "项目申报",
type: IMDomainType.定点医院变更,
title: "定点医院变更",
},
{
type: "biz_gxjsqyrd_e",
title: "高新技术企业认定",
type: IMDomainType.补缴咨询,
title: "跨年补缴",
},
{
type: "biz_xmsb_h",
title: "项目申报",
type: IMDomainType.其他社保服务,
title: "其他社保服务",
},
{
type: "biz_rlzyfwxkz_h",
title: "人力资源服务许可证",
type: IMDomainType.社保卡办理补办,
title: "社保卡办理/补办",
},
{
type: "biz_gxjsqyrd_h",
title: "高新技术企业认定",
type: IMDomainType.社保跨省转移,
title: "社保跨省转移",
},
{
type: "biz_zzrz_h",
title: "资质认证",
type: IMDomainType.生育险报销,
title: "生育险报销",
},
{
type: "biz_spltxkz_h",
title: "食品流通许可证",
type: IMDomainType.医疗费用报销,
title: "医疗费用报销",
},
{
type: "biz_lwpqjyxkz_h",
title: "劳务派遣经营许可证",
type: IMDomainType.工资代发,
title: "工资代发",
},
{
type: "biz_ylqiqxk_h",
title: "医疗器械经营许可",
type: IMDomainType.劳务费代发,
title: "劳务费代发",
},
{
type: "biz_jckbaxk_h",
title: "进出口备案许可",
type: IMDomainType.灵活就业薪酬个税,
title: "灵活就业工资发放",
},
{
type: "biz_cbwpfls_h",
title: "出版物批发零售许可",
type: IMDomainType.人力外包年服务资格,
title: "人力外包-年服务资格",
},
{
type: "biz_gbdsjmzz_h",
title: "广播电视节目制作许可",
type: IMDomainType.高级会员申请,
title: "人事代理-年服务资格",
},
{
type: "biz_wzgnnj_h",
title: "业务相关",
type: IMDomainType.公积金柜台增减员h,
title: "公积金柜台增减员",
},
{
type: "biz_xcyh_qy_h",
title: "薪酬优化",
type: IMDomainType.公积金开户h,
title: "公积金开户",
},
{
type: "biz_sbyww_h",
title: "社保业务",
type: IMDomainType.公积金跨省转移h,
title: "公积金跨省转移",
},
{
type: "biz_gjhysqlk_h",
title: "高级会员申请",
type: IMDomainType.公积金提取h,
title: "公积金提取",
},
{
type: "biz_qtywjn_h",
title: "其他业务",
type: IMDomainType.公积金账户合并h,
title: "公积金账户合并",
},
{
type: "biz_gjjywuj_h",
title: "公积金业务",
type: IMDomainType.公积金还欠款h,
title: "还欠款",
},
{
type: "biz_hzxdijn_h",
title: "互助行动",
type: IMDomainType.公积金数字证书办理续费h,
title: "数字证书办理/续费",
},
{
type: "biz_bcbxsa_h",
title: "补充保险",
type: IMDomainType.参保人信息变更h,
title: "参保人信息变更",
},
{
type: "biz_sbtgsh_qy_h",
title: "社保托管申请",
type: IMDomainType.档案管理,
title: "档案管理",
},
{
type: "biz_xcgsqs_h",
title: "薪酬个税",
type: IMDomainType.定点医院变更h,
title: "定点医院变更",
},
{
type: "biz_gdfwkmc_h",
title: "App功能相关",
type: IMDomainType.定制参保缴费明细h,
title: "定制参保缴费明细",
},
{
type: "biz_wzhbiu_h",
title: "网站功能",
type: IMDomainType.工伤申报,
title: "工伤申报",
},
{
type: "biz_zpfw_zxkf_h",
title: "HRS100招聘服务 在线客服",
type: IMDomainType.领取医保存折h,
title: "领取医保存折",
},
{
type: "biz_gjjtgsh_qy_h",
title: "公积金托管申请",
type: IMDomainType.社保柜台增减员,
title: "社保柜台增减员",
},
{
type: "biz_zxwqygsdl",
title: "中小微企业工商代理",
type: IMDomainType["社保卡办理/变更"],
title: "社保卡办理/补办",
},
{
type: "que_qyfwtz",
title: "企业服务通知",
type: IMDomainType.社保开户,
title: "社保开户",
},
{
type: "biz_zlfwhycs",
title: "专利服务",
type: IMDomainType.社保跨省转移h,
title: "社保跨省转移",
},
{
type: "con_qtqyfwconsult",
title: "其他企业服务咨询",
type: IMDomainType.社保清算h,
title: "社保清算",
},
{
type: "con_qysbxcconsult",
title: "企业社保薪酬咨询",
type: IMDomainType.社保最后一个人减员,
title: "社保最后一个人减员",
},
{
type: "con_bxjygflywconsult",
title: "保险及员工福利业务咨询",
type: IMDomainType.生育险报销h,
title: "生育费用报销",
},
{
type: "con_zpfwconsult",
title: "招聘服务咨询",
type: IMDomainType.社保数字证书办理续费,
title: "数字证书办理/续费",
},
{
type: "con_gscsywconsult",
title: "工商财税业务咨询",
type: IMDomainType.医疗费用报销h,
title: "医疗费用报销",
},
{
type: "con_zscqxgconsult",
title: "知识产权相关咨询",
type: IMDomainType.异地安置h,
title: "异地安置",
},
{
type: "con_flconsult",
title: "法律咨询",
type: IMDomainType.工资代发h,
title: "工资代发",
},
{
type: "con_gszzzx",
title: "公司资质咨询",
type: IMDomainType.公积金托管申请,
title: "公积金托管申请",
},
{
type: "biz_xzgszcycsdl",
title: "西藏工商注册与财税代理",
type: IMDomainType.社保托管申请,
title: "社保托管申请",
},
{
type: "biz_spltxkz",
title: "食品流通许可证",
type: IMDomainType.公积金托管补缴,
title: "公积金托管补缴",
},
{
type: "biz_zxwqycsdl",
title: "中小微企业财税代理",
type: IMDomainType.公积金托管调整员工基数,
title: "公积金托管调整员工基数",
},
{
type: "biz_zlfw",
title: "专利服务",
type: IMDomainType.公积金托管减员,
title: "公积金托管减员",
},
{
type: "biz_zlbj",
title: "专利布局",
type: IMDomainType.公积金托管其他,
title: "公积金托管其他",
},
{
type: "biz_sbzc",
title: "商标注册",
type: IMDomainType.公积金托管增员,
title: "公积金托管增员",
},
{
type: "biz_xmssb",
title: "项目申报",
type: IMDomainType.托管客户信息修改,
title: "托管客户信息修改",
},
{
type: "biz_bqfw",
title: "版权服务",
type: IMDomainType.社保托管补缴,
title: "社保托管补缴",
},
{
type: "biz_gxjsqyrd",
title: "高新技术企业认定",
type: IMDomainType.社保托管调整员工基数,
title: "社保托管调整员工基数",
},
{
type: "biz_zzrzq",
title: "资质认证",
type: IMDomainType.社保托管减员,
title: "社保托管减员",
},
{
type: "biz_lwpqjyxkz",
title: "劳务派遣经营许可证",
type: IMDomainType.社保托管其他,
title: "社保托管其他",
},
{
type: "biz_rlzifwxkzz",
title: "人力资源服务许可证",
type: IMDomainType.社保托管增员,
title: "社保托管增员",
},
{
type: "biz_gscs",
title: "工商财税",
type: IMDomainType.托管客户信息修改h,
title: "托管客户信息修改",
},
{
type: "biz_sbtgjy_h",
title: "社保托管减员",
type: IMDomainType.北京集体户口迁移咨询,
title: "北京集体户口迁移咨询办理",
},
{
type: "biz_sbtgzy_h",
title: "社保托管增员",
type: IMDomainType.北京工作居住证咨询服务,
title: "北京市工作居住证咨询",
},
{
type: "biz_sbtgbj_h",
title: "社保托管补缴",
type: IMDomainType.北京应届毕业生落户咨询,
title: "北京应届毕业生落户咨询",
},
{
type: "biz_sbtgtzygjs_h",
title: "社保托管调整员工基数",
type: IMDomainType.简历优化,
title: "简历优化",
},
{
type: "biz_sbtgkhxxxg_h",
title: "托管客户信息修改",
type: IMDomainType.劳动权益保护,
title: "劳动权益保护",
},
{
type: "biz_sbtgqt_h",
title: "社保托管其他",
type: IMDomainType.面试指导,
title: "面试指导",
},
{
type: "biz_zyghzx",
title: "职业规划咨询",
type: IMDomainType.上海居住证办理咨询,
title: "上海居住证办理咨询",
},
{
type: "biz_gjswlyzs",
title: "商务礼仪",
type: IMDomainType.上海居住证积分申请咨询服务,
title: "上海居住证积分申请咨询服务",
},
{
type: "biz_kzjx_h",
title: "考证加薪",
type: IMDomainType.上海居转户咨询,
title: "上海居转户咨询",
},
{
type: "biz_jlyhs",
title: "简历优化",
type: IMDomainType.上海留学生落户咨询,
title: "上海留学生落户咨询",
},
{
type: "biz_mszds",
title: "面试指导",
type: IMDomainType.上海应届毕业生落户咨询,
title: "上海应届毕业生落户咨询",
},
{
type: "biz_zypcs",
title: "职业测评",
type: IMDomainType.天津落户咨询服务,
title: "天津落户咨询服务",
},
{
type: "biz_gjswlyzs_h",
title: "商务礼仪",
type: IMDomainType.幼升小政策咨询,
title: "幼升小政策咨询",
},
{
type: "biz_gjjtgqt_h",
title: "公积金托管其他",
type: IMDomainType.职业测评,
title: "职业测评",
},
{
type: "biz_gjjtgzy_h",
title: "公积金托管增员",
type: IMDomainType.职业规划咨询,
title: "职业咨询",
},
{
type: "biz_gjjtgbj_h",
title: "公积金托管补缴",
type: IMDomainType.北京积分落户咨询服务h,
title: "北京积分落户咨询服务",
},
{
type: "biz_gjjtgtzygjs_h",
title: "公积金托管调整员工基数",
type: IMDomainType.北京工作居住证咨询服务h,
title: "北京企业工作居住证费用",
},
{
type: "biz_gjjtgyhxxxg_h",
title: "托管客户信息修改",
type: IMDomainType.北京应届毕业生落户咨询h,
title: "北京应届毕业生落户咨询",
},
{
type: "biz_jjtgjy_h",
title: "公积金托管减员",
type: IMDomainType.劳动争议,
title: "劳动纠纷咨询",
},
{
type: "con_iphoneweb",
title: "手机官网咨询 ",
type: IMDomainType.上海居住证积分申请咨询服务h,
title: "上海居住证积分申请咨询服务",
},
{
type: "con_pcweb",
title: "pc网站咨询",
type: IMDomainType.上海居转户咨询h,
title: "上海居转户咨询",
},
{
type: "biz_ldzyqy_h",
title: "劳动争议",
type: IMDomainType.上海留学生落户咨询h,
title: "上海留学生落户咨询",
},
{
type: "biz_rlwb_h",
title: "人力外包",
type: IMDomainType.上海应届毕业生落户咨询h,
title: "上海应届毕业生落户咨询",
},
{
type: "biz_rlwbnffzg_h",
title: "人力外包年服务资格",
type: IMDomainType.天津落户咨询服务h,
title: "天津落户咨询服务",
},
// HRS100
{
type: "con_lhyg_h",
title: "灵活用工",
type: IMDomainType.外国人工作许可h,
title: "外国人工作许可",
},
{
type: "con_qtqyfwconsult_h",
title: "其他企业服务咨询",
type: IMDomainType.成都购房社保合规咨询,
title: "成都购房社保合规咨询",
},
{
type: "con_ssfw_h",
title: "人力外包",
type: IMDomainType.成都落户咨询服务,
title: "成都落户咨询服务",
},
// 表格以外,亲亲小保项目中有使用
{
type: "con_sbkf_h",
title: "人事代理",
type: IMDomainType.企业社保薪酬咨询,
title: "企业社保薪酬咨询",
},
{
type: "con_campaign_h",
title: "活动通知",
type: IMDomainType.知识产权相关咨询,
title: "知识产权相关咨询",
},
{
type: "con_blessing_h",
title: "节日祝福",
type: IMDomainType.公司资质咨询,
title: "公司资质咨询",
},
{
type: "con_information_h",
title: "社保资讯",
type: IMDomainType.保险及员工福利业务咨询,
title: "保险及员工福利业务咨询",
},
{
type: "con_xtxxx_h",
title: "系统消息",
type: IMDomainType.工商财税业务咨询,
title: "工商财税业务咨询",
},
];
......
......@@ -32,7 +32,7 @@ function uniqueMessages(
messages: NonNullable<ChatStore.STATE_CHAT_MSG_HISTORY>
) {
const arr = [...messages];
return unique(arr, function(item, all) {
return unique(arr, function (item, all) {
return all.findIndex((k) => k.id === item.id);
});
}
......@@ -138,6 +138,8 @@ function clearAction(value: ChatType[]) {
return value;
}
let synced = false;
export default {
namespaced: true,
state: () => ({
......@@ -366,7 +368,7 @@ export default {
state[ChatStore.STATE_CHAT_SENDING_MESSAGES] = [...current];
}
},
[ChatStore.MUTATION_SAVE_CURRENT_CHAT_INPUTING]: (function() {
[ChatStore.MUTATION_SAVE_CURRENT_CHAT_INPUTING]: (function () {
const setTimeoutId: { [key: string]: number } = {};
return (
state: ChatStoreState,
......@@ -426,6 +428,8 @@ export default {
async [ChatStore.ACTION_GET_MY_CHAT_LIST]({ commit, dispatch }) {
commit(ChatStore.MUTATION_SAVE_MYSELF_ID);
await dispatch(ChatStore.ACTION_SYNC_MY_CHAT_LIST);
if (loadingChatList) {
return new Promise<ChatType[]>((resolve) =>
cachedLoadingChatListAction.push(resolve)
......@@ -520,6 +524,27 @@ export default {
return await execute().then((d) => clearAction(d));
},
async [ChatStore.ACTION_SYNC_MY_CHAT_LIST]() {
if (synced) {
return Promise.resolve();
}
return new Promise<void>((resolve) =>
Chat.onReady(() => {
synced = true;
xim.fetchChatList()
.then((data) => {
dbController
.syncChats(
(data.args[0] as RawChatItem[]).map(
(i) => i.id
)
)
.finally(resolve);
})
.catch(resolve);
})
);
},
async [ChatStore.ACTION_FORCE_RELOAD_CHAT_LIST]({ commit }) {
return new Promise<ChatType[]>((resolve) => {
Chat.onReady(() => {
......@@ -940,7 +965,7 @@ export default {
}
commit(
ChatStore.MUTATION_SAVE_CURRENT_CHAT_MEMBERS,
unique(newChatMembers, function(item, all) {
unique(newChatMembers, function (item, all) {
return all.findIndex((k) => k.eid === item.eid);
})
);
......@@ -1197,8 +1222,8 @@ export default {
p.read_count = option.all
? p.total_read_count
: option.readed
? option.readed
: p.read_count + 1;
? option.readed
: p.read_count + 1;
}
}
} else {
......@@ -1207,8 +1232,8 @@ export default {
p.read_count = option.all
? p.total_read_count
: option.readed
? option.readed
: p.read_count + 1;
? option.readed
: p.read_count + 1;
}
}
}
......
......@@ -247,6 +247,9 @@ export namespace ChatStore {
keyword?: string
) => Promise<ChatType[]>;
export const ACTION_SYNC_MY_CHAT_LIST = "同步我的会话列表";
export type ACTION_SYNC_MY_CHAT_LIST = () => void;
export const ACTION_FORCE_RELOAD_CHAT_LIST = "重新获取我的会话列表";
export type ACTION_FORCE_RELOAD_CHAT_LIST = () => Promise<ChatType[]>;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment