mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 11:08:38 +08:00
fix(项目设置): 下拉框对齐
--user=郭雨琦 下拉框对齐
This commit is contained in:
parent
208176bbe5
commit
9c0bfaa912
@ -522,10 +522,10 @@ public class ShareInfoService {
|
||||
}
|
||||
String type = "";
|
||||
if(shareInfo.getShareType().equals("PERFORMANCE_REPORT")){
|
||||
type = ProjectApplicationType.TRACK_SHARE_REPORT_TIME.toString();
|
||||
type = ProjectApplicationType.PERFORMANCE_SHARE_REPORT_TIME.toString();
|
||||
}
|
||||
if(shareInfo.getShareType().equals("PLAN_DB_REPORT")){
|
||||
type = ProjectApplicationType.PERFORMANCE_SHARE_REPORT_TIME.toString();
|
||||
type = ProjectApplicationType.TRACK_SHARE_REPORT_TIME.toString();
|
||||
}
|
||||
if(StringUtils.isBlank(type)){
|
||||
millisCheck(System.currentTimeMillis() - shareInfo.getUpdateTime() ,1000 * 60 * 60 * 24,shareInfo.getId());
|
||||
|
@ -1,8 +1,12 @@
|
||||
<template>
|
||||
<app-manage-item :title="title" :append-span="3" :middle-span="12" :prepend-span="9">
|
||||
<template #middle>
|
||||
<span class="timing_name" v-if="shareLink">{{ $t('commons.validity_period') }}</span>
|
||||
<span class="timing_name" v-if="!shareLink">{{ $t('project.keep_recent') }}</span>
|
||||
<el-row>
|
||||
<el-col span="5">
|
||||
<div class="timing_name" v-if="shareLink">{{ $t('commons.validity_period') }}</div>
|
||||
<div class="timing_name" v-if="!shareLink">{{ $t('project.keep_recent') }}</div>
|
||||
</el-col>
|
||||
<el-col span="16">
|
||||
<el-select v-model="selfQuantity" placeholder=" " size="mini" filterable
|
||||
allow-create
|
||||
class="timing_select" :disabled="selfChoose">
|
||||
@ -22,7 +26,11 @@
|
||||
:value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
<span class="timing_name" v-if="!shareLink" style="margin-left: 3px;">{{ $t('commons.report') }}</span>
|
||||
</el-col>
|
||||
<el-col span="3">
|
||||
<div class="timing_name" v-if="!shareLink" style="margin-left: 3px;">{{ $t('commons.report') }}</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
<template #append>
|
||||
<el-switch v-model="selfChoose" @change="chooseChange"></el-switch>
|
||||
|
Loading…
Reference in New Issue
Block a user