Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Q
queueForTicket-vue_bl
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
mengmeng
queueForTicket-vue_bl
Commits
3d47ea2e
Commit
3d47ea2e
authored
Feb 15, 2021
by
mengmeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add timeManage module
parent
aed830dd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
appointmenttimemanage-add-or-update.vue
...dules/appointment/appointmenttimemanage-add-or-update.vue
+8
-1
appointmenttimemanage.vue
src/views/modules/appointment/appointmenttimemanage.vue
+1
-0
No files found.
src/views/modules/appointment/appointmenttimemanage-add-or-update.vue
View file @
3d47ea2e
...
...
@@ -12,6 +12,9 @@
</el-form-item>
<el-form-item
label=
"时间间隔"
prop=
"period"
>
<el-input
v-model=
"dataForm.period"
placeholder=
"时间间隔"
></el-input>
</el-form-item>
<el-form-item
label=
"使用状态 1 正在使用; 2 未使用"
prop=
"useState"
>
<el-input
v-model=
"dataForm.useState"
placeholder=
"使用状态 1 正在使用; 2 未使用"
></el-input>
</el-form-item>
</el-form>
<template
slot=
"footer"
>
...
...
@@ -32,7 +35,8 @@ export default {
startTime
:
''
,
endTime
:
''
,
timeType
:
''
,
period
:
''
period
:
''
,
useState
:
''
}
}
},
...
...
@@ -50,6 +54,9 @@ export default {
],
period
:
[
{
required
:
true
,
message
:
this
.
$t
(
'validate.required'
),
trigger
:
'blur'
}
],
useState
:
[
{
required
:
true
,
message
:
this
.
$t
(
'validate.required'
),
trigger
:
'blur'
}
]
}
}
...
...
src/views/modules/appointment/appointmenttimemanage.vue
View file @
3d47ea2e
...
...
@@ -25,6 +25,7 @@
<el-table-column
prop=
"endTime"
label=
"结束时间"
header-align=
"center"
align=
"center"
></el-table-column>
<el-table-column
prop=
"timeType"
label=
"时间类型"
header-align=
"center"
align=
"center"
></el-table-column>
<el-table-column
prop=
"period"
label=
"时间间隔"
header-align=
"center"
align=
"center"
></el-table-column>
<el-table-column
prop=
"useState"
label=
"使用状态 1 正在使用; 2 未使用"
header-align=
"center"
align=
"center"
></el-table-column>
<el-table-column
:label=
"$t('handle')"
fixed=
"right"
header-align=
"center"
align=
"center"
width=
"150"
>
<template
slot-scope=
"scope"
>
<el-button
v-if=
"$hasPermission('appointment:appointmenttimemanage:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
{{
$t
(
'update'
)
}}
</el-button>
...
...
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