|
@@ -577,7 +577,12 @@ const changeChannel = (val: any) => {
|
|
|
state.ruleForm.fromPhone = route.query.fromTel;
|
|
|
} else {
|
|
|
ruleFormRef.value.resetFields('fromPhone'); // 清除来电号码
|
|
|
- ruleFormRef.value.resetFields('orderPushTypes'); // 清除推送分类
|
|
|
+ }
|
|
|
+ const item = state.pushTypeOptions.find((item: any) => item.pushTypeCode === '7'); // 110
|
|
|
+ if(['110','YB110'].includes(val.dicDataValue)){ // 如果来源渠道选择了110 推送分类联动选择110
|
|
|
+ state.ruleForm.orderPushTypes.push(item);
|
|
|
+ }else{ // 清除110选择
|
|
|
+ state.ruleForm.orderPushTypes = state.ruleForm.orderPushTypes.filter((item: any) => item.pushTypeCode !== '7');
|
|
|
}
|
|
|
};
|
|
|
// 选择热点分类
|
|
@@ -589,76 +594,6 @@ const chooseHotSpot = (val: any, node: any, externalArr: any) => {
|
|
|
state.ruleForm.hotspotExternal = externalArr?.join(',') ?? ''; // 热点分类默认展开项
|
|
|
rightActive.value = 'knowledge';
|
|
|
knowledgeRef.value.querySearch(state.ruleForm.hotspotName);
|
|
|
- ruleFormRef.value.resetFields('orderPushTypes'); // 清除推送分类
|
|
|
- const renShe = [
|
|
|
-
|
|
|
- ];
|
|
|
- const wenLv = ['02050101',
|
|
|
- '02050201',
|
|
|
- '02050202',
|
|
|
- '02050203',
|
|
|
- '02050204',
|
|
|
- '02050205',
|
|
|
- '02050301',
|
|
|
- '02050302',
|
|
|
- '02050401',
|
|
|
- '02050402',
|
|
|
- '02050403',
|
|
|
- '02050501',
|
|
|
- '02050502',
|
|
|
- '02050503',
|
|
|
- '02050504',
|
|
|
- '02050601',
|
|
|
- '02050602',
|
|
|
- '020507',
|
|
|
- '04110801',
|
|
|
- '04110802',
|
|
|
- '04110803',
|
|
|
- '10210101',
|
|
|
- '10210102',
|
|
|
- '10210103',
|
|
|
- '10210104',
|
|
|
- '10210105',
|
|
|
- '10210106',
|
|
|
- '10210107',
|
|
|
- '10210201',
|
|
|
- '10210202',
|
|
|
- '10210203',
|
|
|
- '10210301',
|
|
|
- '10210302',
|
|
|
- '10210303',
|
|
|
- '10210304',
|
|
|
- '10210401',
|
|
|
- '10210402',
|
|
|
- '10210403',
|
|
|
- '10210404',
|
|
|
- '10210501',
|
|
|
- '10210601',
|
|
|
- '10210602',
|
|
|
- '10210603',
|
|
|
- '10210604',
|
|
|
- '10210605',
|
|
|
- '12010101',
|
|
|
- '120102',
|
|
|
- '120103',
|
|
|
- '120201',
|
|
|
- '120202',
|
|
|
- '120203',
|
|
|
- '120301',
|
|
|
- '120401',
|
|
|
- '120501',
|
|
|
- '120502',
|
|
|
- '120503',
|
|
|
- '120504',
|
|
|
- '120601',
|
|
|
- '120602',
|
|
|
- '120603',
|
|
|
- '120604',
|
|
|
- '120701',
|
|
|
- '120801',
|
|
|
- '120802',
|
|
|
- '1721',];
|
|
|
- const jiaoTong = [];
|
|
|
};
|
|
|
// 获取事发地址
|
|
|
const areaRef = ref<RefType>();
|