Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
witiumCloud2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WitCloud
witiumCloud2
Commits
6285b158
Commit
6285b158
authored
May 10, 2021
by
王芬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1:修复分页不能点击 2:通道默认值 3:头部增加用户名
parent
9025165d
Pipeline
#960
passed with stage
in 0 seconds
Changes
14
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
10373 additions
and
8 deletions
+10373
-8
package-lock.json
package-lock.json
+10348
-0
layout.component.html
src/app/layout/layout.component.html
+2
-0
layout.component.ts
src/app/layout/layout.component.ts
+6
-0
gateway.component.html
src/app/main/gateway/gateway.component.html
+1
-1
module-detail.component.html
src/app/main/module-detail/module-detail.component.html
+3
-1
module-detail.component.ts
src/app/main/module-detail/module-detail.component.ts
+1
-1
sensor-mgr.component.html
src/app/main/sensor-mgr/sensor-mgr.component.html
+1
-1
sensor-topic-way.component.html
...app/main/sensor-topic-way/sensor-topic-way.component.html
+3
-1
sensor-topic-way.component.ts
src/app/main/sensor-topic-way/sensor-topic-way.component.ts
+1
-1
topic-module-way.component.html
...app/main/topic-module-way/topic-module-way.component.html
+3
-1
topic-module-way.component.ts
src/app/main/topic-module-way/topic-module-way.component.ts
+1
-1
en.json
src/assets/i18n/en.json
+1
-0
jpn.json
src/assets/i18n/jpn.json
+1
-0
zh.json
src/assets/i18n/zh.json
+1
-0
No files found.
package-lock.json
0 → 100644
View file @
6285b158
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/app/layout/layout.component.html
View file @
6285b158
...
...
@@ -15,6 +15,8 @@
<i
class=
"io trigger textStyle1 whenHover"
[
class
.
i-shou
]="!
isCollapsed
"
[
class
.
i-fang
]="
isCollapsed
"
(
click
)="
changeCollapsed
()"
></i>
<label
class=
"loginOut whenHover textStyle1"
(
click
)="
loginOut
()"
>
<nz-avatar
nzSize=
"small"
nzIcon=
"user"
></nz-avatar>
<span
style=
"margin: 0 10px"
>
{{userName}}
</span>
<i
class=
"io i-out"
></i>
</label>
</nz-header>
...
...
src/app/layout/layout.component.ts
View file @
6285b158
...
...
@@ -17,6 +17,7 @@ export class LayoutComponent implements OnInit {
title
;
bcShow
=
true
;
selectedItem
;
userName
;
@
ViewChild
(
'trigger'
)
customTrigger
:
TemplateRef
<
void
>
;
@
ViewChild
(
'leftmenu'
)
leftmenu
:
LeftmenuComponent
;
...
...
@@ -66,6 +67,11 @@ export class LayoutComponent implements OnInit {
.
replace
(
/
\/
oldData/g
,
'/dataMonitoring'
).
split
(
'/'
);
}
});
// 获取登录用户信息
this
.
api
.
user
.
getSelfInfo
([
''
,
(
data
:
any
)
=>
{
this
.
userName
=
data
.
userName
;
}]);
}
loginOut
()
{
...
...
src/app/main/gateway/gateway.component.html
View file @
6285b158
...
...
@@ -75,7 +75,7 @@
</tr>
</tbody>
</nz-table>
<div
class=
"btnLine
whenOneLine
"
style=
"position: absolute;bottom: 30px;"
>
<div
class=
"btnLine"
style=
"position: absolute;bottom: 30px;"
>
<button
nz-button
[
nzType
]="'
primary
'"
class=
"delBtn"
[
nzLoading
]="
isLoading
"
[
disabled
]="!
isCheckedOne
"
(
click
)="
allDelete
()"
>
<span>
{{'delete' | translate}}
</span></button>
<button
nz-button
class=
"searchBtn"
[
nzLoading
]="
isLoading
"
[
disabled
]="!
canbind
"
(
click
)="
allBind
()"
>
...
...
src/app/main/module-detail/module-detail.component.html
View file @
6285b158
...
...
@@ -63,7 +63,9 @@
[
data
]="[{
a:
'
AI
'},
{
a:
'
AO
'},
{
a:
'
DI
'},
{
a:
'
DO
'}]"
optL=
"a"
optV=
"a"
></app-search-select>
<div
class=
"searchItem inModal"
>
<div
class=
"item-label"
><span
class=
"deleteFontColor"
>
*
</span>
{{'isTag' | translate}}
</div>
<div
class=
"item-label"
><span
class=
"deleteFontColor"
>
*
</span>
{{'isId' | translate}}
<span
nz-tooltip
nzTitle=
"一般通道是id的才选"
><i
nz-icon
nzType=
"question-circle"
nzTheme=
"outline"
></i></span>
</div>
<div
class=
"item-input"
>
<nz-radio-group
[(
ngModel
)]="
req
.
isTag
"
>
<label
nz-radio
[
nzValue
]="
1
"
>
是
</label>
...
...
src/app/main/module-detail/module-detail.component.ts
View file @
6285b158
...
...
@@ -76,7 +76,7 @@ export class ModuleDetailComponent implements OnInit {
}
add
()
{
this
.
req
=
{
unit
:
'-'
};
this
.
req
=
{
unit
:
'-'
,
isTag
:
0
,
isAlarm
:
0
};
this
.
isUpdate
=
false
;
this
.
isV
=
true
;
this
.
try
=
{
...
...
src/app/main/sensor-mgr/sensor-mgr.component.html
View file @
6285b158
...
...
@@ -74,7 +74,7 @@
</tr>
</tbody>
</nz-table>
<div
class=
"btnLine
whenOneLine
"
style=
"position: absolute;bottom: 30px;"
>
<div
class=
"btnLine"
style=
"position: absolute;bottom: 30px;"
>
<button
nz-button
class=
"delBtn"
[
nzType
]="'
primary
'"
[
nzLoading
]="
isLoading
"
[
disabled
]="!
isCheckedOne
"
(
click
)="
allDelete
()"
>
<span>
{{'delete' | translate}}
</span></button>
<button
nz-button
class=
"searchBtn"
[
nzLoading
]="
isLoading
"
[
disabled
]="!
canbind
"
(
click
)="
allBind
()"
><span>
{{'bind' | translate}}
</span>
...
...
src/app/main/sensor-topic-way/sensor-topic-way.component.html
View file @
6285b158
...
...
@@ -63,7 +63,9 @@
[
data
]="[{
a:
'
AI
'},
{
a:
'
AO
'},
{
a:
'
DI
'},
{
a:
'
DO
'}]"
optL=
"a"
optV=
"a"
></app-search-select>
<div
class=
"searchItem inModal"
>
<div
class=
"item-label"
><span
class=
"deleteFontColor"
>
*
</span>
{{'isTag' | translate}}
</div>
<div
class=
"item-label"
><span
class=
"deleteFontColor"
>
*
</span>
{{'isTag' | translate}}
<span
nz-tooltip
nzTitle=
"一般通道是id的才选"
><i
nz-icon
nzType=
"question-circle"
nzTheme=
"outline"
></i></span>
</div>
<div
class=
"item-input"
>
<nz-radio-group
[(
ngModel
)]="
req
.
isTag
"
>
<label
nz-radio
[
nzValue
]="
1
"
>
是
</label>
...
...
src/app/main/sensor-topic-way/sensor-topic-way.component.ts
View file @
6285b158
...
...
@@ -67,7 +67,7 @@ export class SensorTopicWayComponent implements OnInit {
}
add
()
{
this
.
req
=
{
unit
:
'-'
};
this
.
req
=
{
unit
:
'-'
,
isTag
:
0
,
isAlarm
:
0
};
this
.
isUpdate
=
false
;
this
.
isV
=
true
;
this
.
try
=
{
...
...
src/app/main/topic-module-way/topic-module-way.component.html
View file @
6285b158
...
...
@@ -61,7 +61,9 @@
[
data
]="[{
a:
'
AI
'},
{
a:
'
AO
'},
{
a:
'
DI
'},
{
a:
'
DO
'}]"
optL=
"a"
optV=
"a"
></app-search-select>
<div
class=
"searchItem inModal"
>
<div
class=
"item-label"
><span
class=
"deleteFontColor"
>
*
</span>
{{'isTag' | translate}}
</div>
<div
class=
"item-label"
><span
class=
"deleteFontColor"
>
*
</span>
{{'isId' | translate}}
<span
nz-tooltip
nzTitle=
"一般通道是id的才选"
><i
nz-icon
nzType=
"question-circle"
nzTheme=
"outline"
></i></span>
</div>
<div
class=
"item-input"
>
<nz-radio-group
[(
ngModel
)]="
req
.
isTag
"
>
<label
nz-radio
[
nzValue
]="
1
"
>
是
</label>
...
...
src/app/main/topic-module-way/topic-module-way.component.ts
View file @
6285b158
...
...
@@ -76,7 +76,7 @@ export class TopicModuleWayComponent implements OnInit {
}
add
()
{
this
.
req
=
{
unit
:
'-'
};
this
.
req
=
{
unit
:
'-'
,
isTag
:
0
,
isAlarm
:
0
};
this
.
isUpdate
=
false
;
this
.
isV
=
true
;
this
.
try
=
{
...
...
src/assets/i18n/en.json
View file @
6285b158
...
...
@@ -121,5 +121,6 @@
"moduleAlias"
:
"通道别名"
,
"isAlarm"
:
"是否报警"
,
"isTag"
:
"是否为标签"
,
"isId"
:
"是否为索引"
,
"saveOther"
:
"另存为"
}
src/assets/i18n/jpn.json
View file @
6285b158
...
...
@@ -121,5 +121,6 @@
"moduleAlias"
:
"通道别名"
,
"isAlarm"
:
"是否报警"
,
"isTag"
:
"是否为标签"
,
"isId"
:
"是否为索引"
,
"saveOther"
:
"另存为"
}
src/assets/i18n/zh.json
View file @
6285b158
...
...
@@ -121,6 +121,7 @@
"moduleAlias"
:
"通道别名"
,
"isAlarm"
:
"是否报警"
,
"isTag"
:
"是否为标签"
,
"isId"
:
"是否为索引"
,
"saveOther"
:
"另存为"
,
"addWay"
:
"添加通道"
,
"alarmInterval"
:
"报警时间间隔/ms"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment