fix(测试跟踪): 修改测试计划时间选择样式

This commit is contained in:
BugKing 2020-09-24 17:24:37 +08:00
parent 3575f9db9b
commit d0d894811d
1 changed files with 6 additions and 6 deletions

View File

@ -73,21 +73,19 @@
<el-row> <el-row>
<el-col :span="8" :offset="1"> <el-col :span="8" :offset="1">
<el-form-item <el-form-item
:placeholder="$t('test_track.plan.planned_start_time')"
:label="$t('test_track.plan.planned_start_time')" :label="$t('test_track.plan.planned_start_time')"
:label-width="formLabelWidth" :label-width="formLabelWidth"
prop="plannedStartTime"> prop="plannedStartTime">
<el-input v-model="form.planned_start_time" type="date" ></el-input> <el-date-picker :placeholder="$t('test_track.plan.planned_start_time')" v-model="form.plannedStartTime" type="date" value-format="timestamp"></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="11" :offset="2"> <el-col :span="11" :offset="2">
<el-form-item <el-form-item
:placeholder="$t('test_track.plan.planned_end_time')"
:label="$t('test_track.plan.planned_end_time')" :label="$t('test_track.plan.planned_end_time')"
:label-width="formLabelWidth" :label-width="formLabelWidth"
prop="planned_end_time"> prop="plannedEndTime">
<el-input v-model="form.planned_end_time" type="date" ></el-input> <el-date-picker :placeholder="$t('test_track.plan.planned_end_time')" v-model="form.plannedEndTime" type="date" value-format="timestamp" ></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -153,7 +151,9 @@ export default {
projectIds: [], projectIds: [],
principal: '', principal: '',
stage: '', stage: '',
description: '' description: '',
plannedStartTime: '',
plannedEndTime: ''
}, },
dbProjectIds: [], dbProjectIds: [],
rules: { rules: {