105
          src: 'rtmp://10.19.90.34:2935/live?token=039b6232ce6548210722a4c0de19c62e/1',
106
          type: 'rtmp/flv'
107
        }]
108
      }, {
109
        sources: [{
110
          src: 'rtmp://10.19.90.34:2935/live?token=039b6232ce6548210722a4c0de19c62e/1',
111
          type: 'rtmp/flv'
112
        }]
113
      }]
114
      this.videoPlayList = [{
115
        fileName: '12月14 16:55',
116
        fileId: 'rtmp://10.19.90.34:2935/live?token=039b6232ce6548210722a4c0de19c62e/1',
117
        fileType: 'rtmp/flv'
118
      }, {
119
        fileName: '12月14 16:56',
120
        fileId: 'rtmp://10.19.90.34:2935/live?token=039b6232ce6548210722a4c0de19c62e/1',
121
        fileType: 'rtmp/flv'
122
      }, {
123
        fileName: '12月14 16:57',
124
        fileId: 'ai-video_5A02296PAKA885B-video20201214165528.mp4',
125
        fileType: 'rtmp/flv'
126
      }, {
127
        fileName: '12月14 16:58',
128
        fileId: 'ai-video_5A02296PAKA885B-video20201214165529.mp4',
129
        fileType: 'rtmp/flv'
130
      }, {
131
        fileName: '12月14 16:59',
132
        fileId: 'ai-video_5A02296PAKA885B-video20201214165530.mp4',
133
        fileType: 'rtmp/flv'
134
      }, {
135
        fileName: '12月14 17:00',
136
        fileId: 'ai-video_5A02296PAKA885B-video20201214165531.mp4',
137
        fileType: 'rtmp/flv'
138
      }]
139
      this.videoPlayList = [{
140
        sources: [{
141
          src: 'rtmp://10.19.90.34:2935/live?token=039b6232ce6548210722a4c0de19c62e/1',
142
          type: 'rtmp/flv'
143
        }]
144
      }, {
145
        sources: [{
146
          src: 'rtmp://10.19.90.34:2935/live?token=039b6232ce6548210722a4c0de19c62e/1',
147
          type: 'rtmp/flv'
148
        }]
73
    getVideoPlayList(item) {
74
      return [{
75
        fileId: item.videoUrl,
76
        fileType: 'rtmp/flv',
77
        id: item.resourceToolId
149 78
      }]
150 79
    },
151 80
    // 获取场景列表
@ -158,44 +87,6 @@ export default {
158 87
      }
159 88
    },
160 89
    async handleReview (id) {
161
      // const res = await sysapi.getVideoPlayBack(id)
162
      // console.log(res)
163
      this.replayList = [{
164
        fileName: '12月14 16:55',
165
        fileId: 'rtmp://10.19.90.34:2935/live?token=039b6232ce6548210722a4c0de19c62e/1',
166
        fileType: 'rtmp/flv'
167
      }, {
168
        fileName: '12月14 16:56',
169
        fileId: 'rtmp://10.19.90.34:2935/live?token=039b6232ce6548210722a4c0de19c62e/1',
170
        fileType: 'rtmp/flv'
171
      }, {
172
        fileName: '12月14 16:57',
173
        fileId: 'ai-video_5A02296PAKA885B-video20201214165528.mp4',
174
        fileType: 'rtmp/flv'
175
      }, {
176
        fileName: '12月14 16:58',
177
        fileId: 'ai-video_5A02296PAKA885B-video20201214165529.mp4',
178
        fileType: 'rtmp/flv'
179
      }, {
180
        fileName: '12月14 16:59',
181
        fileId: 'ai-video_5A02296PAKA885B-video20201214165530.mp4',
182
        fileType: 'rtmp/flv'
183
      }, {
184
        fileName: '12月14 17:00',
185
        fileId: 'ai-video_5A02296PAKA885B-video20201214165531.mp4',
186
        fileType: 'rtmp/flv'
187
      }]
188
      this.replayList = [{
189
        sources: [{
190
          src: 'rtmp://10.19.90.34:2935/live?token=039b6232ce6548210722a4c0de19c62e/1',
191
          type: 'rtmp/flv'
192
        }]
193
      }, {
194
        sources: [{
195
          src: 'rtmp://10.19.90.34:2935/live?token=039b6232ce6548210722a4c0de19c62e/1',
196
          type: 'rtmp/flv'
197
        }]
198
      }]
199 90
      this.showReplayDialog = true
200 91
    },
201 92
    // 切换场景
@ -220,7 +111,6 @@ export default {
220 111
          }
221 112
          this.organizationList.push(arr[i])
222 113
        }
223
        console.log(this.organizationList)
224 114
      }, err => {
225 115
        this.$Message.danger('获取风场列表失败!')
226 116
        console.log(err)
@ -230,7 +120,7 @@ export default {
230 120
    getVideoSurveillanceData (id) {
231 121
      this.paramsObj.page = this.videoCurrent
232 122
      sysapi.getVideoSurveillanceData({ params: {monitorSceneId: id} }).then(res => {
233
        this.videoList.push(res.data.data[0])
123
        this.videoList = res.data.data
234 124
      })
235 125
    },
236 126
    // 进入识别记录界面

qb-logic-flow - Nuosi Git Service

逻辑编排前端

liuyang 3164a054c3 update: 打包优化 2 年之前
.vscode fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 年之前
public fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 年之前
src 3164a054c3 update: 打包优化 2 年之前
.dockerignore 3164a054c3 update: 打包优化 2 年之前
.env.development fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 年之前
.env.production fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 年之前
.eslintignore.js fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 年之前
.eslintrc fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 年之前
.gitignore 3164a054c3 update: 打包优化 2 年之前
.prettierrc fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 年之前
<template>.html fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 年之前
Dockerfile 3164a054c3 update: 打包优化 2 年之前
README.md 3164a054c3 update: 打包优化 2 年之前
auto-imports.d.ts fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 年之前
components.d.ts fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 年之前
default.conf 3164a054c3 update: 打包优化 2 年之前
index.html fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 年之前
package-lock.json 3164a054c3 update: 打包优化 2 年之前
package.json 3164a054c3 update: 打包优化 2 年之前
qb-logic-flow-front.zip 3164a054c3 update: 打包优化 2 年之前
tsconfig.json fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 年之前
tsconfig.node.json fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 年之前
vite.config.ts 3164a054c3 update: 打包优化 2 年之前
代码生成场景.md fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 年之前

README.md

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup

Type Support For .vue Imports in TS

Since TypeScript cannot handle type information for .vue imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in .vue imports (for example to get props validation when using manual h(...) calls), you can enable Volar's Take Over mode by following these steps:

  1. Run Extensions: Show Built-in Extensions from VS Code's command palette, look for TypeScript and JavaScript Language Features, then right click and select Disable (Workspace). By default, Take Over mode will enable itself if the default TypeScript extension is disabled.
  2. Reload the VS Code window by running Developer: Reload Window from the command palette.

You can learn more about Take Over mode here.

aiot-platform
├─ .env.development
├─ .env.production
├─ .eslintignore.js
├─ .eslintrc
├─ .gitignore
├─ .prettierrc
├─ README.md
├─ auto-imports.d.ts
├─ components.d.ts
├─ default.conf
├─ index.html
├─ package-lock.json
├─ package.json
├─ public
│  └─ logo.svg
├─ src
│  ├─ App.vue
│  ├─ api
│  │  ├─ common.ts
│  │  ├─ device.ts
│  │  ├─ home.ts
│  │  ├─ index.js
│  │  ├─ login.ts
│  │  ├─ model.ts
│  │  ├─ monitor.ts
│  │  ├─ product.ts
│  │  ├─ request.js
│  │  └─ rule.ts
│  ├─ assets
│  │  ├─ css
│  │  │  ├─ common.scss
│  │  │  ├─ element.scss
│  │  │  ├─ mixins
│  │  │  │  ├─ config.scss
│  │  │  │  └─ function.scss
│  │  │  ├─ reset.scss
│  │  │  └─ variable.scss
│  │  ├─ icons
│  │  │  ├─ common
│  │  │  │  ├─ add-item.svg
│  │  │  │  ├─ c-down.svg
│  │  │  │  ├─ c-up.svg
│  │  │  │  ├─ change.svg
│  │  │  │  ├─ clock.svg
│  │  │  │  ├─ delete.svg
│  │  │  │  ├─ down.svg
│  │  │  │  ├─ download.svg
│  │  │  │  ├─ more.svg
│  │  │  │  ├─ pen.svg
│  │  │  │  ├─ plus.svg
│  │  │  │  └─ up.svg
│  │  │  ├─ device
│  │  │  │  ├─ active.svg
│  │  │  │  ├─ lock.svg
│  │  │  │  ├─ offline.svg
│  │  │  │  ├─ online.svg
│  │  │  │  └─ total.svg
│  │  │  ├─ header
│  │  │  │  ├─ logo.svg
│  │  │  │  ├─ msg.svg
│  │  │  │  └─ open.svg
│  │  │  ├─ home
│  │  │  │  ├─ anilysis.svg
│  │  │  │  ├─ develop-active.svg
│  │  │  │  ├─ develop-data.svg
│  │  │  │  ├─ develop-device.svg
│  │  │  │  ├─ develop-group.svg
│  │  │  │  ├─ develop-manager.svg
│  │  │  │  ├─ develop-offline.svg
│  │  │  │  ├─ develop-online.svg
│  │  │  │  ├─ develop.svg
│  │  │  │  ├─ edge.svg
│  │  │  │  ├─ model.svg
│  │  │  │  ├─ scene-manager.svg
│  │  │  │  └─ warning-manager.svg
│  │  │  └─ menu
│  │  │     ├─ bianyuanguanli.svg
│  │  │     ├─ device.svg
│  │  │     ├─ gailan.svg
│  │  │     ├─ guize.svg
│  │  │     ├─ home.svg
│  │  │     ├─ shebeiguanli.svg
│  │  │     ├─ shebeimoxingguanli.svg
│  │  │     ├─ template.svg
│  │  │     └─ yunweijiankong.svg
│  │  ├─ images
│  │  │  ├─ aiotlogo.png
│  │  │  ├─ asialogo.png
│  │  │  ├─ download-2-line-1.png
│  │  │  ├─ download-2-line.png
│  │  │  ├─ drawer.png
│  │  │  ├─ file.png
│  │  │  ├─ login-bg.png
│  │  │  ├─ logo1.png
│  │  │  ├─ subject.png
│  │  │  ├─ test.png
│  │  │  ├─ upload-2-line-1.png
│  │  │  └─ upload-2-line.png
│  │  └─ vue.svg
│  ├─ components
│  │  ├─ base
│  │  │  ├─ BaseDialog.vue
│  │  │  ├─ BaseForm.vue
│  │  │  └─ BaseTable.vue
│  │  ├─ dialog
│  │  │  ├─ dialog
│  │  │  └─ drawer
│  │  │     └─ CommonDrawer.vue
│  │  ├─ form
│  │  │  ├─ AiotForm.vue
│  │  │  ├─ AiotSelect.vue
│  │  │  └─ FormItem.vue
│  │  ├─ graph
│  │  │  └─ Charts.vue
│  │  ├─ index.ts
│  │  ├─ label
│  │  │  ├─ CommonBreadcrumb.vue
│  │  │  ├─ Headers.vue
│  │  │  ├─ MenuItem.vue
│  │  │  ├─ Menus.vue
│  │  │  └─ menus.ts
│  │  ├─ panel
│  │  │  ├─ CommonPanel.vue
│  │  │  └─ PagePanel.vue
│  │  ├─ search
│  │  │  └─ AiotSearch.vue
│  │  ├─ svg
│  │  │  └─ SvgIcon.vue
│  │  ├─ table
│  │  │  ├─ CommonPage.vue
│  │  │  ├─ CommonTable.vue
│  │  │  └─ TableColumn.vue
│  │  └─ tree
│  │     └─ CommonTree.vue
│  ├─ main.ts
│  ├─ router.ts
│  ├─ store
│  │  ├─ getters.ts
│  │  ├─ index.ts
│  │  ├─ mutation_types.ts
│  │  ├─ mutations.ts
│  │  └─ state.ts
│  ├─ style.scss
│  ├─ utils
│  │  ├─ cache.js
│  │  └─ icf.ts
│  ├─ views
│  │  ├─ Login.vue
│  │  ├─ _components
│  │  │  ├─ model
│  │  │  │  ├─ AlarmSetting.vue
│  │  │  │  ├─ ComputeIndicator.vue
│  │  │  │  ├─ ControlInstruct.vue
│  │  │  │  ├─ DataSubscribe.vue
│  │  │  │  ├─ EventSetting.vue
│  │  │  │  ├─ MeasureIndicator.vue
│  │  │  │  ├─ StaticIndicator.vue
│  │  │  │  └─ config.js
│  │  │  └─ product
│  │  │     ├─ ComputeIndicator.vue
│  │  │     ├─ ControlInstruct.vue
│  │  │     ├─ EventSetting.vue
│  │  │     ├─ MeasureIndicator.vue
│  │  │     ├─ Params.vue
│  │  │     └─ StaticIndicator.vue
│  │  ├─ device
│  │  │  ├─ Device.vue
│  │  │  ├─ DeviceDetail.vue
│  │  │  ├─ DeviceGroup.vue
│  │  │  ├─ DeviceGroupDetail.vue
│  │  │  ├─ _components
│  │  │  │  ├─ BatchRegisterDialog.vue
│  │  │  │  ├─ DeviceData.vue
│  │  │  │  ├─ DeviceInfo.vue
│  │  │  │  ├─ DeviceList.vue
│  │  │  │  ├─ GroupDialog.vue
│  │  │  │  ├─ RegisterDeviceDialog.vue
│  │  │  │  ├─ SubgroupOverview.vue
│  │  │  │  └─ Subset.vue
│  │  │  └─ _config.ts
│  │  ├─ edge
│  │  │  ├─ EdgeApplication.vue
│  │  │  ├─ EdgeGateway.vue
│  │  │  └─ _components
│  │  ├─ home
│  │  │  ├─ _components
│  │  │  └─ index.vue
│  │  ├─ product
│  │  │  ├─ ProductDetail copy.vue
│  │  │  ├─ ProductDetail.vue
│  │  │  ├─ ProductModel.vue
│  │  │  ├─ ProductModelDetail.vue
│  │  │  ├─ ProductOverview.vue
│  │  │  ├─ _components
│  │  │  │  ├─ ProductCard.vue
│  │  │  │  ├─ ProductDialog.vue
│  │  │  │  ├─ _model
│  │  │  │  │  ├─ AttributeDialog.vue
│  │  │  │  │  ├─ EventDialog.vue
│  │  │  │  │  └─ InstructionDialog.vue
│  │  │  │  └─ charts.vue
│  │  │  ├─ _formconfig.ts
│  │  │  └─ index.vue
│  │  ├─ rule
│  │  │  ├─ AddRule.vue
│  │  │  ├─ DataSubscription.vue
│  │  │  ├─ WarningRules.vue
│  │  │  ├─ _components
│  │  │  │  ├─ AddRuleDialog.vue
│  │  │  │  ├─ AddSubscribeDialog.vue
│  │  │  │  ├─ CommonAction.vue
│  │  │  │  ├─ SelectDeviceDialog.vue
│  │  │  │  └─ TriggerFuncDialog.vue
│  │  │  └─ _config.ts
│  │  ├─ workorder-monitor
│  │  │  ├─ Alarm.vue
│  │  │  ├─ Logs.vue
│  │  │  ├─ Rules.vue
│  │  │  └─ _components
│  │  │     └─ PagePane.vue
│  │  └─ workorder-monitors
│  │     ├─ Alarm.vue
│  │     ├─ Logs.vue
│  │     ├─ _components
│  │     │  ├─ AddPushMode.vue
│  │     │  ├─ AddRulesDialog.vue
│  │     │  ├─ AlarmSearch.vue
│  │     │  ├─ CollaborativeStrategy.vue
│  │     │  └─ Rules.vue
│  │     └─ common.scss
│  └─ vite-env.d.ts
├─ tsconfig.json
├─ tsconfig.node.json
└─ vite.config.ts


"common-module-ui": "file:../../common-npm/common-module",