Commit 3d47ea2e authored by mengmeng's avatar mengmeng

add timeManage module

parent aed830dd
......@@ -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' }
]
}
}
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment