sun-chaochao 3 anni fa
parent
commit
467fef4b0c

+ 1 - 1
src/pages/home/comprehensive/index.tsx

@@ -232,7 +232,7 @@ const Comprehensive = () => {
           title={
             <span>
               设备接入推荐步骤
-              <Tooltip title={'不同的设备因为通信协议的不,存在接入步骤的差异'}>
+              <Tooltip title={'不同的设备因为通信协议的不,存在接入步骤的差异'}>
                 <QuestionCircleOutlined style={{ paddingLeft: 12 }} />
               </Tooltip>
             </span>

+ 1 - 1
src/pages/home/device/index.tsx

@@ -129,7 +129,7 @@ const Device = () => {
           title={
             <span>
               设备接入推荐步骤
-              <Tooltip title={'不同的设备因为通信协议的不,存在接入步骤的差异'}>
+              <Tooltip title={'不同的设备因为通信协议的不,存在接入步骤的差异'}>
                 <QuestionCircleOutlined style={{ paddingLeft: 12 }} />
               </Tooltip>
             </span>

+ 26 - 0
src/pages/link/Certificate/Detail/index.less

@@ -0,0 +1,26 @@
+.doc {
+  height: 100%;
+  padding: 24px;
+  overflow-y: auto;
+  color: rgba(#000, 0.8);
+  font-size: 14px;
+  background-color: #fff;
+
+  h1 {
+    margin: 16px 0;
+    color: rgba(#000, 0.85);
+    font-weight: bold;
+    font-size: 14px;
+
+    &:first-child {
+      margin-top: 0;
+    }
+  }
+
+  h2 {
+    margin: 6px 10px;
+    color: rgba(0, 0, 0, 0.8);
+    font-weight: 400;
+    font-size: 14px;
+  }
+}

+ 19 - 0
src/pages/link/Certificate/Detail/index.tsx

@@ -11,6 +11,7 @@ import CertificateFile from './components/CertificateFile';
 import Standard from './components/Standard';
 import { service } from '@/pages/link/Certificate';
 import { useParams } from 'umi';
+import './index.less';
 
 const Detail = observer(() => {
   const params = useParams<{ id: string }>();
@@ -156,6 +157,24 @@ const Detail = observer(() => {
               </FormButtonGroup.Sticky>
             </Form>
           </Col>
+          <Col span={12}>
+            <div className="doc">
+              <h1>1. 概述</h1>
+              <div>
+                证书由受信任的数字证书颁发机构CA,在验证服务器身份后颁发,具有服务器身份验证和数据传输加密功能,保障设备与平台间的数据传输安全。配置后可被网络组件引用。
+              </div>
+              <h1>2. 配置说明</h1>
+              <h2>1、证书文件</h2>
+              <div>
+                您可以使用文本编辑工具打开PEM或者CRT格式的证书文件,复制其中的内容并粘贴到该文本框,或者单击该文本框下的上传,并选择存储在本地计算机的证书文件,将文件内容上传到文本框。
+              </div>
+              <h2>2、证书私钥</h2>
+              <div>
+                填写证书私钥内容的PEM编码。
+                您可以使用文本编辑工具打开KEY格式的证书私钥文件,复制其中的内容并粘贴到该文本框,或者单击该文本框下的上传并选择存储在本地计算机的证书私钥文件,将文件内容上传到文本框。
+              </div>
+            </div>
+          </Col>
         </Row>
       </Card>
     </PageContainer>

+ 1 - 1
src/pages/media/Home/index.tsx

@@ -141,7 +141,7 @@ export default () => {
             title={
               <span>
                 设备接入推荐步骤
-                <Tooltip title={'不同的设备因为通信协议的不,存在接入步骤的差异'}>
+                <Tooltip title={'不同的设备因为通信协议的不,存在接入步骤的差异'}>
                   <QuestionCircleOutlined style={{ paddingLeft: 12 }} />
                 </Tooltip>
               </span>

+ 1 - 1
src/pages/rule-engine/Alarm/Config/index.less

@@ -1,5 +1,5 @@
 .doc {
-  height: 100%;
+  height: 750px;
   padding: 24px;
   overflow-y: auto;
   color: rgba(#000, 0.8);

+ 7 - 1
src/pages/system/User/Save/index.tsx

@@ -348,7 +348,7 @@ const Save = (props: Props) => {
             'x-component-props': {
               multiple: true,
               showArrow: true,
-              placeholder: '请选择角色',
+              placeholder: '请选择部门',
               showCheckedStrategy: ATreeSelect.SHOW_ALL,
               filterOption: (input: string, option: any) =>
                 option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0,
@@ -395,6 +395,9 @@ const Save = (props: Props) => {
             'x-decorator-props': {
               gridSpan: 1,
             },
+            'x-component-props': {
+              placeholder: '请输入手机号',
+            },
           },
           email: {
             title: '邮箱',
@@ -404,6 +407,9 @@ const Save = (props: Props) => {
             'x-decorator-props': {
               gridSpan: 1,
             },
+            'x-component-props': {
+              placeholder: '请输入邮箱',
+            },
           },
         },
       },