diff --git a/src/api/notice/config.ts b/src/api/notice/config.ts index 467455d6..0dfa289e 100644 --- a/src/api/notice/config.ts +++ b/src/api/notice/config.ts @@ -34,5 +34,9 @@ export default { // 微信绑定用户 weChatBindUser: (data: any, id: string) => patch(`/user/third-party/weixin_corpMessage/${id}`, data), // 解绑 - unBindUser: (data: any, id: string) => post(`/user/third-party/${id}/_unbind`, data) + unBindUser: (data: any, id: string) => post(`/user/third-party/${id}/_unbind`, data), + //通知类型 + queryMessageType: () => get(`/notifier/config/types`), + // 不分页-列表 + queryListNoPaging: (data: any) => post(`/notifier/config/_query/no-paging?paging=false`, data) } \ No newline at end of file diff --git a/src/api/notice/template.ts b/src/api/notice/template.ts index 712ed67b..975f4533 100644 --- a/src/api/notice/template.ts +++ b/src/api/notice/template.ts @@ -23,5 +23,6 @@ export default { // 语音/短信获取阿里云模板 getAliTemplate: (id: any) => get(`/notifier/sms/aliyun/${id}/templates`), // 短信获取签名 - getSigns: (id: any) => get(`/notifier/sms/aliyun/${id}/signs`) + getSigns: (id: any) => get(`/notifier/sms/aliyun/${id}/signs`), + getListByConfigId: (id: string, data: any): any => post(`/notifier/template/${id}/_query`, data), } \ No newline at end of file diff --git a/src/components/BadgeStatus/index.vue b/src/components/BadgeStatus/index.vue index 067ee58b..6929f8bb 100644 --- a/src/components/BadgeStatus/index.vue +++ b/src/components/BadgeStatus/index.vue @@ -1,8 +1,8 @@ \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/Device/index.vue b/src/views/rule-engine/Scene/Save/action/Device/index.vue new file mode 100644 index 00000000..9247a368 --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/Device/index.vue @@ -0,0 +1,22 @@ + + + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/ListItem/Item.vue b/src/views/rule-engine/Scene/Save/action/ListItem/Item.vue new file mode 100644 index 00000000..e31931e7 --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/ListItem/Item.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/ListItem/List.vue b/src/views/rule-engine/Scene/Save/action/ListItem/List.vue new file mode 100644 index 00000000..d63761c3 --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/ListItem/List.vue @@ -0,0 +1,74 @@ + + + + + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/ListItem/index.ts b/src/views/rule-engine/Scene/Save/action/ListItem/index.ts new file mode 100644 index 00000000..01ae677d --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/ListItem/index.ts @@ -0,0 +1,2 @@ +export { default as List } from './List.vue'; +export { default as Item } from './Item.vue'; diff --git a/src/views/rule-engine/Scene/Save/action/Modal/index.vue b/src/views/rule-engine/Scene/Save/action/Modal/index.vue new file mode 100644 index 00000000..52e74e53 --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/Modal/index.vue @@ -0,0 +1,105 @@ + + + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/Notify/NotifyConfig.vue b/src/views/rule-engine/Scene/Save/action/Notify/NotifyConfig.vue new file mode 100644 index 00000000..267c0cd1 --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/Notify/NotifyConfig.vue @@ -0,0 +1,178 @@ + + + + + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/Notify/NotifyTemplate.vue b/src/views/rule-engine/Scene/Save/action/Notify/NotifyTemplate.vue new file mode 100644 index 00000000..f8486de6 --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/Notify/NotifyTemplate.vue @@ -0,0 +1,167 @@ + + + + + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/Notify/NotifyWay.vue b/src/views/rule-engine/Scene/Save/action/Notify/NotifyWay.vue new file mode 100644 index 00000000..9833c40c --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/Notify/NotifyWay.vue @@ -0,0 +1,61 @@ + + + + + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/Notify/VariableDefinitions.vue b/src/views/rule-engine/Scene/Save/action/Notify/VariableDefinitions.vue new file mode 100644 index 00000000..9da5902e --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/Notify/VariableDefinitions.vue @@ -0,0 +1,70 @@ + + + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/Notify/index.vue b/src/views/rule-engine/Scene/Save/action/Notify/index.vue new file mode 100644 index 00000000..a5836cfe --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/Notify/index.vue @@ -0,0 +1,146 @@ + + + + + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/Notify/variableItem/BuildIn.vue b/src/views/rule-engine/Scene/Save/action/Notify/variableItem/BuildIn.vue new file mode 100644 index 00000000..8f5ada65 --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/Notify/variableItem/BuildIn.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/Notify/variableItem/InputFile.vue b/src/views/rule-engine/Scene/Save/action/Notify/variableItem/InputFile.vue new file mode 100644 index 00000000..ab803572 --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/Notify/variableItem/InputFile.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/Notify/variableItem/Org.vue b/src/views/rule-engine/Scene/Save/action/Notify/variableItem/Org.vue new file mode 100644 index 00000000..812f1dd2 --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/Notify/variableItem/Org.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/Notify/variableItem/Tag.vue b/src/views/rule-engine/Scene/Save/action/Notify/variableItem/Tag.vue new file mode 100644 index 00000000..0e35727a --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/Notify/variableItem/Tag.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/Notify/variableItem/User.vue b/src/views/rule-engine/Scene/Save/action/Notify/variableItem/User.vue new file mode 100644 index 00000000..91482aa7 --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/Notify/variableItem/User.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/action/index.vue b/src/views/rule-engine/Scene/Save/action/index.vue new file mode 100644 index 00000000..14b1778d --- /dev/null +++ b/src/views/rule-engine/Scene/Save/action/index.vue @@ -0,0 +1,133 @@ + + + + + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/Save/components/ShakeLimit/index.vue b/src/views/rule-engine/Scene/Save/components/ShakeLimit/index.vue new file mode 100644 index 00000000..40aa98b4 --- /dev/null +++ b/src/views/rule-engine/Scene/Save/components/ShakeLimit/index.vue @@ -0,0 +1,85 @@ + + + + + \ No newline at end of file diff --git a/src/views/rule-engine/Scene/index.vue b/src/views/rule-engine/Scene/index.vue index 093f192c..9d49e85d 100644 --- a/src/views/rule-engine/Scene/index.vue +++ b/src/views/rule-engine/Scene/index.vue @@ -1,7 +1,7 @@ - +