Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
visualcloud
/
Vmatrix-client-taro
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0b9ea683
authored
Nov 01, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加设备使用状态I
parent
ad4a9db7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
src/conpoments/device_item/index.tsx
+2
-1
src/pages/home/device/device_list/index.tsx
+1
-0
src/pages/home/film/schedule_add/components/device/index.tsx
+0
-1
No files found.
src/conpoments/device_item/index.tsx
View file @
0b9ea683
...
...
@@ -22,7 +22,7 @@ interface DeviceItem {
class
DeviceItem
extends
Component
{
render
()
{
const
{
equipmentName
,
equipmentState
,
equipmentUrl
:
url
}
=
this
.
props
const
{
equipmentName
,
equipmentState
,
equipmentUrl
:
url
,
calendarId
}
=
this
.
props
return
(
<
View
className=
"device-item"
>
<
View
className=
"device-item-img-box"
>
...
...
@@ -39,6 +39,7 @@ class DeviceItem extends Component {
>
<
Text
className=
"dian"
/>
{
equipmentState
===
'ONLINE'
?
'在线'
:
'离线'
}
<
Text
>
{
calendarId
?
' 已使用'
:
''
}
</
Text
>
</
View
>
</
View
>
</
View
>
...
...
src/pages/home/device/device_list/index.tsx
View file @
0b9ea683
...
...
@@ -22,6 +22,7 @@ export interface IDeviceItem {
equipmentUrl
:
string
equipmentName
:
string
equipmentState
:
string
calendarId
?:
string
}
export
interface
IBluetoothServerListItem
{
...
...
src/pages/home/film/schedule_add/components/device/index.tsx
View file @
0b9ea683
...
...
@@ -7,7 +7,6 @@ import { getFilmList } from '@/actions/asyncCounter'
import
Taro
,
{
Component
,
Config
}
from
'@tarojs/taro'
import
{
View
,
Text
,
ScrollView
,
Button
,
Checkbox
,
Label
}
from
'@tarojs/components'
import
'./index.scss'
import
{
any
}
from
'prop-types'
type
PageStateProps
=
{
list
:
any
[]
...
...
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