diff --git a/src/api/DecisionInfo.ts b/src/api/DecisionInfo.ts index 5f046c5..3ced3c5 100644 --- a/src/api/DecisionInfo.ts +++ b/src/api/DecisionInfo.ts @@ -40,6 +40,14 @@ export async function alarmInfoPageQuery( return response.data; } +/** + * 根据id获取决策信息 + * @param id 草稿id + */ +export function queryAlarmInfoById(id: number): Promise { + return api.get(`${DraftUriBase}/id/${id}`); +} + /** * 创建决策信息 * @param params diff --git a/src/components/common/DraggableDialog.vue b/src/components/common/DraggableDialog.vue new file mode 100644 index 0000000..f4509f1 --- /dev/null +++ b/src/components/common/DraggableDialog.vue @@ -0,0 +1,85 @@ + + + diff --git a/src/components/draw-app/properties/PlatformProperty.vue b/src/components/draw-app/properties/PlatformProperty.vue index dd085c6..87f31fb 100644 --- a/src/components/draw-app/properties/PlatformProperty.vue +++ b/src/components/draw-app/properties/PlatformProperty.vue @@ -1,6 +1,15 @@