Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
oms-tiger-shield
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5a725d52
authored
Aug 18, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加设备新增位置科技
1 parent
9f007f99
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
src/views/device/ContractorSelect.vue
src/views/device/deviceModal.vue
src/views/device/ContractorSelect.vue
View file @
5a725d5
...
@@ -63,6 +63,10 @@ export default{
...
@@ -63,6 +63,10 @@ export default{
value
:
'零一科技'
,
value
:
'零一科技'
,
label
:
'零一科技'
label
:
'零一科技'
},
},
{
value
:
'位置科技'
,
label
:
'位置科技'
}
]
]
}
}
},
},
...
...
src/views/device/deviceModal.vue
View file @
5a725d5
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
:disabled=
"disabled"
:disabled=
"disabled"
:show-all-levels=
"false"
:show-all-levels=
"false"
:dataFilter=
"(item)=>item.classifyStatus !== 1"
:dataFilter=
"(item)=>item.classifyStatus !== 1"
class=
"long_select"
>
>
</device-type-cascade>
</device-type-cascade>
</el-form-item>
</el-form-item>
...
@@ -35,19 +36,20 @@
...
@@ -35,19 +36,20 @@
:notPrepend=
"true"
:notPrepend=
"true"
@
contractorChange=
"(contractor)=>form.contractor=contractor"
@
contractorChange=
"(contractor)=>form.contractor=contractor"
:disabled=
"disabled"
:disabled=
"disabled"
class=
"long_select"
>
>
</contractor-select>
</contractor-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"是否有源"
prop=
"source"
>
<el-form-item
label=
"是否有源"
prop=
"source"
>
<el-select
v-model=
"form.source"
placeholder=
"请选择"
size=
"small"
style=
"width:100px;
"
:disabled=
"disabled"
>
<el-select
v-model=
"form.source"
placeholder=
"请选择"
size=
"small"
class=
"long_select
"
:disabled=
"disabled"
>
<el-option
label=
"有源"
:value=
"1"
></el-option>
<el-option
label=
"有源"
:value=
"1"
></el-option>
<el-option
label=
"无源"
:value=
"0"
></el-option>
<el-option
label=
"无源"
:value=
"0"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-select
v-model=
"form.status"
placeholder=
"请选择"
size=
"small"
style=
"width:100px;
"
:disabled=
"disabled"
>
<el-select
v-model=
"form.status"
placeholder=
"请选择"
size=
"small"
class=
"long_select
"
:disabled=
"disabled"
>
<el-option
label=
"启用"
:value=
"1"
></el-option>
<el-option
label=
"启用"
:value=
"1"
></el-option>
<el-option
label=
"停用"
:value=
"0"
></el-option>
<el-option
label=
"停用"
:value=
"0"
></el-option>
</el-select>
</el-select>
...
@@ -257,4 +259,7 @@
...
@@ -257,4 +259,7 @@
.record-list
{
.record-list
{
padding-left
:
20px
;
padding-left
:
20px
;
}
}
.long_select
{
width
:
240px
!important
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment