Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue_django_test
Overview
Overview
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
周田
vue_django_test
Commits
01c8081f
Commit
01c8081f
authored
Aug 31, 2023
by
周田
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mod:删除不需要的参数
parent
3fe301f2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
EditDialog.vue
frontend/src/components/device_communication/EditDialog.vue
+3
-3
xdc.sqlite
xdc.sqlite
+0
-0
No files found.
frontend/src/components/device_communication/EditDialog.vue
View file @
01c8081f
...
...
@@ -7,9 +7,9 @@
<el-form-item
label=
"设备中文名"
:label-width=
"formLabelWidth"
prop=
"device_name_chn"
>
<el-input
v-model=
"form.device_name_chn"
autocomplete=
"false"
/>
</el-form-item>
<el-form-item
label=
"设备序号"
:label-width=
"formLabelWidth"
prop=
"device_name_chn"
>
<
!--
<
el-form-item
label=
"设备序号"
:label-width=
"formLabelWidth"
prop=
"device_name_chn"
>
<el-input
v-model=
"form.device_id"
autocomplete=
"false"
/>
</el-form-item>
</el-form-item>
-->
<el-form-item
label=
"所属站点"
:label-width=
"formLabelWidth"
prop=
"station_id"
>
<el-input
v-model=
"form.station_id"
autocomplete=
"false"
/>
</el-form-item>
...
...
@@ -179,7 +179,7 @@ const validatePort = (_: any, value: any, callback: any) => {
// 表单校验规则
const
rules
=
reactive
<
FormRules
<
typeof
form
>>
({
station_id
:
[{
required
:
true
,
message
:
'Please input station id'
,
trigger
:
'blur'
}],
device_id
:
[{
required
:
true
,
message
:
'Please input device id'
,
trigger
:
'blur'
}],
//
device_id: [{ required: true, message: 'Please input device id', trigger: 'blur' }],
device_name
:
[{
required
:
true
,
message
:
'Please input device name'
,
trigger
:
'blur'
}],
device_name_chn
:
[{
required
:
true
,
message
:
'Please input device name chn'
,
trigger
:
'blur'
}],
protocol_name
:
[{
required
:
true
,
message
:
'Please input protocol name'
,
trigger
:
'blur'
}],
...
...
xdc.sqlite
View file @
01c8081f
No preview for this file type
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