import org.slf4j.Logger;
10
import org.slf4j.LoggerFactory;
11 9
import org.springframework.beans.factory.annotation.Autowired;
12 10
import org.springframework.stereotype.Service;
13 11
import org.springframework.util.CollectionUtils;
@ -31,8 +29,6 @@ import com.ai.bss.user.service.api.UserDtoQuery;
31 29
32 30
@Service
33 31
public class EmployeeManagementServiceImpl implements EmployeeManagementService {
34
	Logger logger = LoggerFactory.getLogger(EmployeeManagementServiceImpl.class);
35
36 32
	@Autowired
37 33
	private UserDtoQuery userDtoQuery;
38 34

+ 13 - 11
security-protection-service/src/main/java/com/ai/bss/security/protection/service/impl/LoginServiceImpl.java

@ -1,21 +1,23 @@
1 1
package com.ai.bss.security.protection.service.impl;
2 2
3 3
4
import com.ai.bss.security.protection.model.User;
5
import com.ai.bss.security.protection.service.interfaces.LoginService;
6
import com.ai.bss.security.protection.utils.HttpServiceUtil;
7
import com.alibaba.fastjson.JSON;
4
import java.nio.charset.Charset;
5
import java.util.HashMap;
6
import java.util.List;
7
import java.util.Map;
8
9
import javax.servlet.http.Cookie;
10
import javax.servlet.http.HttpServletRequest;
11
8 12
import org.slf4j.Logger;
9 13
import org.slf4j.LoggerFactory;
10 14
import org.springframework.beans.factory.annotation.Value;
11 15
import org.springframework.stereotype.Service;
12 16
13
import javax.servlet.http.Cookie;
14
import javax.servlet.http.HttpServletRequest;
15
import java.nio.charset.Charset;
16
import java.util.HashMap;
17
import java.util.List;
18
import java.util.Map;
17
import com.ai.bss.security.protection.model.User;
18
import com.ai.bss.security.protection.service.interfaces.LoginService;
19
import com.ai.bss.security.protection.utils.HttpServiceUtil;
20
import com.alibaba.fastjson.JSON;
19 21
20 22
/**
21 23
 * @Auther: 王超
@ -26,7 +28,7 @@ import java.util.Map;
26 28
@Service
27 29
public class LoginServiceImpl implements LoginService {
28 30
29
    Logger logger = LoggerFactory.getLogger(LoginServiceImpl.class);
31
	private Logger logger = LoggerFactory.getLogger(LoginServiceImpl.class);
30 32
31 33
    @Value("${uspa.login.vercode}")
32 34
    private String verCode;

+ 0 - 10
security-protection-service/src/main/java/com/ai/bss/security/protection/utils/EbcConstant.java

@ -99,14 +99,4 @@ public class EbcConstant {
99 99
	//审核状态:未生效(未审核通过)
100 100
	public static final String AUDIT_STATUS_DIS="3";
101 101
	
102
	
103
	// 当前登录者的STAFF_ID
104
	public static String USPA_USER_STAFF_ID = "201613310867";
105
	// 当前登录者ID
106
	public static String USPA_USER_CODE = "wh";
107
	// 当前登录者部门
108
	public static String USPA_USER_ORG_ID = "1";
109
	// 当前登录者部门
110
	public static String USPA_USER_ORG_CODE = "0000";
111
112 102
}

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

@ -1,6 +1,18 @@
1 1
package com.ai.bss.security.protection.utils;
2 2
3
import com.alibaba.fastjson.JSONObject;
3
import java.io.BufferedReader;
4
import java.io.IOException;
5
import java.io.InputStream;
6
import java.io.InputStreamReader;
7
import java.io.UnsupportedEncodingException;
8
import java.net.HttpURLConnection;
9
import java.net.URL;
10
import java.net.URLEncoder;
11
import java.nio.charset.Charset;
12
import java.util.Iterator;
13
import java.util.Map;
14
import java.util.Set;
15
4 16
import org.apache.http.HttpEntity;
5 17
import org.apache.http.HttpStatus;
6 18
import org.apache.http.client.ClientProtocolException;
@ -20,14 +32,7 @@ import org.slf4j.Logger;
20 32
import org.slf4j.LoggerFactory;
21 33
import org.springframework.util.CollectionUtils;
22 34
23
import java.io.*;
24
import java.net.HttpURLConnection;
25
import java.net.URL;
26
import java.net.URLEncoder;
27
import java.nio.charset.Charset;
28
import java.util.Iterator;
29
import java.util.Map;
30
import java.util.Set;
35
import com.alibaba.fastjson.JSONObject;
31 36
32 37
/**
33 38
 * http服务请求工具类
@ -35,7 +40,7 @@ import java.util.Set;
35 40
 * @author chencai
36 41
 */
37 42
public class HttpServiceUtil {
38
	static Logger log = LoggerFactory.getLogger(HttpServiceUtil.class);
43
	private static Logger log = LoggerFactory.getLogger(HttpServiceUtil.class);
39 44
40 45
	private static final String HTTP_CONTENT_TYPE_JSON = "application/json; charset=utf-8";
41 46

qb-logic-flow - Nuosi Git Service

逻辑编排前端

liuyang 3a6b0aef6f fixed: 修改节点逻辑修改后带来的bug 2 years ago
.vscode fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 years ago
public fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 years ago
src 3a6b0aef6f fixed: 修改节点逻辑修改后带来的bug 2 years ago
.dockerignore 3164a054c3 update: 打包优化 2 years ago
.env.development fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 years ago
.env.production fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 years ago
.eslintignore.js fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 years ago
.eslintrc fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 years ago
.gitignore 607ee0104c fixed: 修改流程json编辑器不生效的bug 2 years ago
.prettierrc fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 years ago
Dockerfile 3164a054c3 update: 打包优化 2 years ago
README.md 3164a054c3 update: 打包优化 2 years ago
auto-imports.d.ts fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 years ago
components.d.ts fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 years ago
default.conf 3164a054c3 update: 打包优化 2 years ago
index.html fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 years ago
package-lock.json 2390928e7e update: 新增节点出参入参复杂结构转换功能 2 years ago
package.json 2390928e7e update: 新增节点出参入参复杂结构转换功能 2 years ago
tsconfig.json fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 years ago
tsconfig.node.json fbf554504e create:创建新工程,重构之前老版本逻辑编排 2 years ago
vite.config.ts 086d17b15f update: 重新整理节点组成,优化代码逻辑 2 years ago
逻辑流节点组件设计.md 086d17b15f update: 重新整理节点组成,优化代码逻辑 2 years ago

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