fix(用例评审): 修复打开评审对话框闪屏问题
This commit is contained in:
parent
814c479d7c
commit
2c95a05646
|
@ -7,13 +7,12 @@
|
||||||
:visible.sync="dialogFormVisible"
|
:visible.sync="dialogFormVisible"
|
||||||
@close="close"
|
@close="close"
|
||||||
v-loading="result.loading"
|
v-loading="result.loading"
|
||||||
width="65%"
|
width="60%">
|
||||||
v-if="isStepTableAlive">
|
|
||||||
|
|
||||||
<el-form :model="form" :rules="rules" ref="reviewForm">
|
<el-form :model="form" :rules="rules" ref="reviewForm">
|
||||||
|
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="8" :offset="1">
|
<el-col :span="10">
|
||||||
<el-form-item
|
<el-form-item
|
||||||
:placeholder="$t('test_track.review.input_review_name')"
|
:placeholder="$t('test_track.review.input_review_name')"
|
||||||
:label="$t('test_track.review.review_name')"
|
:label="$t('test_track.review.review_name')"
|
||||||
|
@ -22,20 +21,21 @@
|
||||||
<el-input v-model="form.name"/>
|
<el-input v-model="form.name"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="10" :offset="1">
|
<el-col :span="12" :offset="1">
|
||||||
<el-form-item :label="$t('commons.tag')" :label-width="formLabelWidth" prop="tag">
|
<el-form-item :label="$t('commons.tag')" :label-width="formLabelWidth" prop="tag">
|
||||||
<ms-input-tag :currentScenario="form" ref="tag"/>
|
<ms-input-tag :currentScenario="form" ref="tag" size="-" v-if="isStepTableAlive"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10" :offset="1">
|
<el-col :span="10">
|
||||||
<el-form-item :label="$t('test_track.review.reviewer')" :label-width="formLabelWidth" prop="userIds">
|
<el-form-item :label="$t('test_track.review.reviewer')" :label-width="formLabelWidth" prop="userIds">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.userIds"
|
v-model="form.userIds"
|
||||||
:placeholder="$t('test_track.review.input_reviewer')"
|
:placeholder="$t('test_track.review.input_reviewer')"
|
||||||
filterable multiple
|
filterable multiple
|
||||||
|
style="width: 100%"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in reviewerOptions"
|
v-for="item in reviewerOptions"
|
||||||
|
@ -47,17 +47,17 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="10">
|
<el-col :span="12" :offset="1">
|
||||||
<el-form-item :label="$t('test_track.review.end_time')" :label-width="formLabelWidth" prop="endTime">
|
<el-form-item :label="$t('test_track.review.end_time')" :label-width="formLabelWidth" prop="endTime">
|
||||||
<el-date-picker @change="endTimeChange" type="datetime" :placeholder="$t('commons.select_date')"
|
<el-date-picker @change="endTimeChange" type="datetime" :placeholder="$t('commons.select_date')"
|
||||||
v-model="form.endTime"/>
|
v-model="form.endTime" style="width: 100%"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
|
|
||||||
<el-row type="flex" justify="left" style="margin-top: 10px;">
|
<el-row type="flex" justify="left" style="margin-top: 10px;">
|
||||||
<el-col :span="23" :offset="1">
|
<el-col :span="23">
|
||||||
<el-form-item :label="$t('commons.description')" :label-width="formLabelWidth" prop="description">
|
<el-form-item :label="$t('commons.description')" :label-width="formLabelWidth" prop="description">
|
||||||
<el-input v-model="form.description"
|
<el-input v-model="form.description"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row v-if="operationType === 'edit'" type="flex" justify="left" style="margin-top: 10px;">
|
<el-row v-if="operationType === 'edit'" type="flex" justify="left" style="margin-top: 10px;">
|
||||||
<el-col :span="19" :offset="1">
|
<el-col :span="19">
|
||||||
<el-form-item :label="$t('test_track.review.review_status')" :label-width="formLabelWidth" prop="status">
|
<el-form-item :label="$t('test_track.review.review_status')" :label-width="formLabelWidth" prop="status">
|
||||||
<test-plan-status-button :status="form.status" @statusChange="statusChange"/>
|
<test-plan-status-button :status="form.status" @statusChange="statusChange"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
Loading…
Reference in New Issue