3,10 +3,10 @@ package com.ai.bss.security.protection.service.interfaces; 3 3
import java.util.List;
4 4
import java.util.Map;
5 5
6
import com.ai.bss.characteristic.spec.model.CharacteristicSpecValue;
7 6
import org.springframework.web.multipart.MultipartFile;
8 7
9 8
import com.ai.abc.api.model.CommonResponse;
9
import com.ai.bss.characteristic.spec.model.CharacteristicSpecValue;
10 10
import com.ai.bss.components.common.model.PageBean;
11 11
import com.ai.bss.person.model.Organization;
12 12
import com.ai.bss.user.dto.EmployeeDto;

+ 2 - 2
security-protection-service/src/main/java/com/ai/bss/security/protection/service/interfaces/InAndOutRecordService.java

@ -1,10 +1,10 @@
1 1
package com.ai.bss.security.protection.service.interfaces;
2 2
3
import java.util.Map;
4
3 5
import com.ai.abc.api.model.CommonResponse;
4 6
import com.ai.bss.components.common.model.PageBean;
5 7
6
import java.util.Map;
7
8 8
public interface InAndOutRecordService {
9 9
    CommonResponse<PageBean<Map<String, Object>>> queryPageInAndOutRecord(Map<String, Object> params, int pageNumber, int pageSize);
10 10

+ 3 - 2
security-protection-service/src/main/java/com/ai/bss/security/protection/service/interfaces/LoginService.java

@ -2,10 +2,11 @@ package com.ai.bss.security.protection.service.interfaces;
2 2
3 3
4 4
5
import com.ai.bss.security.protection.model.User;
5
import java.util.Map;
6 6
7 7
import javax.servlet.http.HttpServletRequest;
8
import java.util.Map;
8
9
import com.ai.bss.security.protection.model.User;
9 10
10 11
/**
11 12
 * @Auther: 王超

+ 3 - 3
security-protection-service/src/main/java/com/ai/bss/security/protection/service/interfaces/MonitorSceneTerminalService.java

@ -1,12 +1,12 @@
1 1
package com.ai.bss.security.protection.service.interfaces;
2 2
3
import java.util.List;
4
import java.util.Map;
5
3 6
import com.ai.abc.api.model.CommonResponse;
4 7
import com.ai.bss.components.common.model.PageBean;
5 8
import com.ai.bss.work.safety.model.MonitorSceneTerminalRel;
6 9
7
import java.util.List;
8
import java.util.Map;
9
10 10
public interface MonitorSceneTerminalService {
11 11
12 12
    /**

+ 3 - 6
security-protection-service/src/main/java/com/ai/bss/security/protection/service/interfaces/SysConfigAiTaskService.java

@ -1,15 +1,12 @@
1 1
package com.ai.bss.security.protection.service.interfaces;
2 2
3
import com.ai.abc.api.model.CommonRequest;
3
import java.util.List;
4
import java.util.Map;
5
4 6
import com.ai.abc.api.model.CommonResponse;
5 7
import com.ai.bss.components.common.model.PageBean;
6
import com.ai.bss.security.protection.model.AiQuery;
7 8
import com.ai.bss.work.safety.model.AiModel;
8 9
import com.ai.bss.work.safety.model.AiTask;
9
import com.ai.bss.work.task.model.common.WorkTask;
10
11
import java.util.List;
12
import java.util.Map;
13 10
14 11
public interface SysConfigAiTaskService {
15 12
    CommonResponse<PageBean<Map<String, Object>>> queryPageAiTask(Map<String, Object> params, int pageNumber, int pageSize);

+ 5 - 5
security-protection-service/src/main/java/com/ai/bss/security/protection/service/interfaces/WorkOrderManagementService.java

@ -1,13 +1,13 @@
1 1
package com.ai.bss.security.protection.service.interfaces;
2 2
3
import com.ai.abc.api.model.CommonResponse;
4
import com.ai.bss.components.common.model.PageBean;
5
import com.ai.bss.work.task.model.common.WorkEvent;
3
import java.util.List;
4
import java.util.Map;
6 5
7 6
import org.springframework.web.multipart.MultipartFile;
8 7
9
import java.util.List;
10
import java.util.Map;
8
import com.ai.abc.api.model.CommonResponse;
9
import com.ai.bss.components.common.model.PageBean;
10
import com.ai.bss.work.task.model.common.WorkEvent;
11 11
12 12
public interface WorkOrderManagementService {
13 13

+ 2 - 2
security-protection-service/src/main/java/com/ai/bss/security/protection/service/interfaces/WorkShiftService.java

@ -1,10 +1,10 @@
1 1
package com.ai.bss.security.protection.service.interfaces;
2 2
3
import java.util.List;
4
3 5
import com.ai.abc.api.model.CommonResponse;
4 6
import com.ai.bss.work.task.model.common.WorkShift;
5 7
6
import java.util.List;
7
8 8
public interface WorkShiftService {
9 9
10 10
    /**

+ 0 - 2
security-protection-service/src/main/java/com/ai/bss/security/protection/service/task/AiResultRecordKafkaTask.java

@ -6,10 +6,8 @@ import java.util.concurrent.FutureTask;
6 6
7 7
import org.apache.kafka.clients.consumer.ConsumerRecord;
8 8
import org.springframework.beans.factory.annotation.Autowired;
9
import org.springframework.core.task.TaskExecutor;
10 9
import org.springframework.kafka.annotation.KafkaListener;
11 10
import org.springframework.kafka.support.Acknowledgment;
12
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
13 11
import org.springframework.stereotype.Component;
14 12
import org.springframework.util.CollectionUtils;
15 13

+ 3 - 2
security-protection-service/src/main/java/com/ai/bss/security/protection/service/task/MirrorManagement.java

@ -1,11 +1,12 @@
1 1
package com.ai.bss.security.protection.service.task;
2 2
3
import org.slf4j.Logger;
4
import org.slf4j.LoggerFactory;
5
3 6
import com.ai.ipu.server.connect.ps.EventChannelTool;
4 7
import com.ai.ipu.server.connect.ps.EventChannelTool.PublisherEvent;
5 8
import com.ai.ipu.server.connect.ps.ISubscriber;
6 9
import com.ai.ipu.server.connect.ps.impl.Publisher;
7
import org.slf4j.Logger;
8
import org.slf4j.LoggerFactory;
9 10
10 11
/**
11 12
 * 镜屏推送消息

+ 2 - 14
security-protection-service/src/main/java/com/ai/bss/security/protection/service/task/MirrorSendAiDataThread.java

@ -1,21 +1,9 @@
1 1
package com.ai.bss.security.protection.service.task;
2 2
3
import com.ai.abc.api.model.CommonRequest;
4
import com.ai.abc.api.model.CommonResponse;
5
import com.ai.bss.security.protection.service.interfaces.CharSpecService;
6
import com.ai.bss.work.task.model.common.WorkTask;
7
import com.ai.bss.worker.service.api.EntityAlarmHandle;
8
import com.alibaba.fastjson.JSON;
9
import com.alibaba.fastjson.JSONObject;
10
import org.apache.commons.collections4.map.HashedMap;
3
import java.util.concurrent.Callable;
4
11 5
import org.slf4j.Logger;
12 6
import org.slf4j.LoggerFactory;
13
import org.springframework.beans.factory.annotation.Autowired;
14
import org.springframework.beans.factory.annotation.Qualifier;
15
import org.springframework.stereotype.Component;
16
17
import java.util.Map;
18
import java.util.concurrent.Callable;
19 7
20 8
public class MirrorSendAiDataThread implements Callable<Integer> {
21 9
	private Logger logger = LoggerFactory.getLogger(MirrorSendAiDataThread.class);

+ 1 - 1
security-protection-service/src/main/java/com/ai/bss/security/protection/utils/HttpServiceUtil.java

@ -40,7 +40,7 @@ import com.alibaba.fastjson.JSONObject;
40 40
 * @author chencai
41 41
 */
42 42
public class HttpServiceUtil {
43
	private static Logger log = LoggerFactory.getLogger(HttpServiceUtil.class);
43
	private static final Logger log = LoggerFactory.getLogger(HttpServiceUtil.class);
44 44
45 45
	private static final String HTTP_CONTENT_TYPE_JSON = "application/json; charset=utf-8";
46 46

liuyang50/common-ui - Nuosi Git Service

1 Ревизии (f11e4515fb2ac1d35ff5827fbc8f608de006b8db)

Автор SHA1 Съобщение Дата
  liuyang b53d9d73ad create: 创建common-ui工程 преди 2 години
qb-logic-flow - Nuosi Git Service

逻辑编排前端

README.md 9.4KB

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",