Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 060b6c8c
authored
Jun 20, 2023
by
怪兽?别跑
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
时间选择器版本兼容
1 parent
12317ce5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
4 deletions
vue3-lw-pc/src/views/drainageCode/staff/detail.vue
vue3-lw-pc/src/views/drainageCode/staff/detail.vue
View file @
060b6c8
...
@@ -75,12 +75,35 @@
...
@@ -75,12 +75,35 @@
</el-checkbox-group>
</el-checkbox-group>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"unit.type === 0"
v-model=
"checkList"
style=
"margin-bottom: 10px;"
label=
"在线时间"
>
<el-form-item
v-if=
"unit.type === 0"
v-model=
"checkList"
style=
"margin-bottom: 10px;"
label=
"在线时间"
>
<el-time-select
disabled
value=
"00:00"
placeholder=
"任意时间点"
></el-time-select>
<el-time-select
<el-time-select
disabled
value=
"23:59"
placeholder=
"任意时间点"
></el-time-select>
style=
"width: 40%;"
disabled
v-model=
"defaultStart"
placeholder=
"任意时间点"
></el-time-select>
-
<el-time-select
style=
"width: 40%;"
v-model=
"defaultEnd"
disabled
value=
"23:59"
placeholder=
"任意时间点"
></el-time-select>
</el-form-item>
</el-form-item>
<el-form-item
v-else
style=
"margin-bottom: 10px;"
label=
"在线时间"
>
<el-form-item
v-else
style=
"margin-bottom: 10px;"
label=
"在线时间"
>
<el-time-select
disabled
:value=
"unit.beginTime"
placeholder=
"任意时间点"
></el-time-select>
<el-time-select
<el-time-select
disabled
:value=
"unit.endTime"
placeholder=
"任意时间点"
></el-time-select>
style=
"width: 40%;"
disabled
v-model=
"unit.beginTime"
placeholder=
"任意时间点"
></el-time-select>
-
<el-time-select
style=
"width: 40%;"
disabled
v-model=
"unit.endTime"
placeholder=
"任意时间点"
></el-time-select>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
...
@@ -155,6 +178,8 @@
...
@@ -155,6 +178,8 @@
},
},
data
()
{
data
()
{
return
{
return
{
defaultStart
:
'00:00'
,
defaultEnd
:
'00:00'
,
form
:
{},
form
:
{},
checkList
:
[
'周一'
,
'周二'
,
'周三'
,
'周四'
,
'周五'
,
'周六'
,
'周日'
],
checkList
:
[
'周一'
,
'周二'
,
'周三'
,
'周四'
,
'周五'
,
'周六'
,
'周日'
],
// 遮罩层
// 遮罩层
...
...
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