|
@@ -6,65 +6,68 @@
|
|
|
<div class="box info">
|
|
|
<label>{{ $t('basicinformation') }}<el-link v-if="(user.id == project.creatorId || user.id == project.inchargerId) || permissions.projectManagement" @click="showEdit" style="float:right;"><i class="el-icon-edit" ></i></el-link></label>
|
|
|
<el-row :gutter="10" >
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('headerTop.projectName') }}:</span></el-col><el-col :span="7" ><span >{{project.projectName}}</span></el-col>
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('projectclassification') }}:</span></el-col><el-col :span="7" ><span >{{project.categoryName}}</span></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('headerTop.projectName') }}:</div></el-col><el-col :span="7" ><div >{{project.projectName}}</div></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('projectclassification') }}:</div></el-col><el-col :span="7" ><div >{{project.categoryName}}</div></el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="10" >
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('other.projectDescription') }}:</span></el-col><el-col :span="7" ></el-col>
|
|
|
- <el-col :span="18" ><span>{{project.projectDesc}}</span></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('other.projectDescription') }}:</div></el-col><el-col :span="7" ></el-col>
|
|
|
+ <el-col :span="18" ><div>{{project.projectDesc}}</div></el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="10" v-if="user.timeType.projectWithDept">
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('subordinatedepartments') }}:</span></el-col><el-col :span="7" ></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('subordinatedepartments') }}:</div></el-col><el-col :span="7" ></el-col>
|
|
|
<el-col :span="18" >
|
|
|
- <span v-if="user.userNameNeedTranslate != 1">{{project.departmentName}}</span>
|
|
|
- <span v-if="user.userNameNeedTranslate == 1"><TranslationOpenDataText type='departmentName' :openid='project.departmentName'></TranslationOpenDataText></span>
|
|
|
+ <div v-if="user.userNameNeedTranslate != 1">{{project.departmentName}}</div>
|
|
|
+ <div v-if="user.userNameNeedTranslate == 1"><TranslationOpenDataText type='departmentName' :openid='project.departmentName'></TranslationOpenDataText></div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="10">
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('state.states') }}:</span></el-col><el-col :span="7" ><span >{{project.status==null?'-':statusTxt[project.status]}}</span></el-col>
|
|
|
- <el-col :span="5" v-if="user.company.packageEngineering==0"><span class="gray_label">{{ $t('completeness') }}: </span></el-col><el-col :span="7" >
|
|
|
- <span v-if="user.company.packageEngineering==0">
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('state.states') }}:</div></el-col><el-col :span="7" ><div >{{project.status==null?'-':statusTxt[project.status]}}</div></el-col>
|
|
|
+ <el-col :span="5" v-if="user.company.packageEngineering==0"><div class="gray_label">{{ $t('completeness') }}: </div></el-col><el-col :span="7" >
|
|
|
+ <div v-if="user.company.packageEngineering==0">
|
|
|
<el-progress :percentage="project.progress == null?0:project.progress"></el-progress>
|
|
|
- </span></el-col>
|
|
|
+ </div></el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="10">
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ user.companyId == '7030' ? '项目令号' : $t('Itemno') }}: </span></el-col><el-col :span="7" ><span >{{project.projectCode}} </span></el-col>
|
|
|
- <el-col :span="5" v-if="permissions.projectContract"><span class="gray_label">{{ $t('contractamount') }}:</span></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ user.companyId == '7030' ? '项目令号' : $t('Itemno') }}: </div></el-col><el-col :span="7" ><div >{{project.projectCode}} </div></el-col>
|
|
|
+ <el-col :span="5" v-if="permissions.projectContract"><div class="gray_label">{{ $t('contractamount') }}:</div></el-col>
|
|
|
<el-col :span="7" >
|
|
|
- <span style="float:left;" v-if="permissions.projectContract">{{project.contractAmount == null?'-':project.contractAmount | numberToCurrency}} 元</span>
|
|
|
+ <div style="float:left;" v-if="permissions.projectContract">{{project.contractAmount == null?'-':project.contractAmount | numberToCurrency}} 元</div>
|
|
|
<el-link v-if="user.id == project.creatorId || user.id == project.inchargerId" @click="contractRecord" style="float:left;"><i class="iconfont firerock-iconrecord"></i></el-link>
|
|
|
<el-link v-if="user.id == project.creatorId || user.id == project.inchargerId || permissions.projectManagement" @click="contractChange" style="float:right;"><i class="el-icon-edit" ></i></el-link>
|
|
|
</el-col>
|
|
|
|
|
|
</el-row>
|
|
|
<el-row :gutter="10">
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('jihuajibie') }}: </span></el-col><el-col :span="7" ><span >{{levelTextShow(project.level)}}</span></el-col>
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('creationdate') }}:</span></el-col><el-col :span="7" ><span>{{project.createDate}}</span></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label ">{{ $t('jihuajibie') }}: </div></el-col>
|
|
|
+ <el-col :span="7" ><div class="gray_label ">{{levelTextShow(project.level)}}</div></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label ">{{ $t('creationdate') }}:</div>
|
|
|
+ </el-col><el-col :span="7" ><div class="gray_label ">{{project.createDate}}</div></el-col>
|
|
|
</el-row>
|
|
|
+
|
|
|
<el-row :gutter="10">
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('ommencementDate') }}:</span></el-col>
|
|
|
- <el-col :span="7" ><span >{{project.planStartDate==null?'-':project.planStartDate}}</span></el-col>
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('ji-hua-jie-shu-ri-qi') }}:</span></el-col>
|
|
|
- <el-col :span="7" ><span>{{project.planEndDate == null?'-':project.planEndDate}}</span></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('ommencementDate') }}:</div></el-col>
|
|
|
+ <el-col :span="7" ><div >{{project.planStartDate==null?'-':project.planStartDate}}</div></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('ji-hua-jie-shu-ri-qi') }}:</div></el-col>
|
|
|
+ <el-col :span="7" ><div>{{project.planEndDate == null?'-':project.planEndDate}}</div></el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="10">
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('shijiawancheng') }}:</span></el-col>
|
|
|
- <el-col :span="7" ><span>{{project.finishDate==null?'-':project.finishDate}}</span></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('shijiawancheng') }}:</div></el-col>
|
|
|
+ <el-col :span="7" ><div>{{project.finishDate==null?'-':project.finishDate}}</div></el-col>
|
|
|
<template v-if="user.timeType.outputValueStatus == 1">
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('projectoutput') }}:</span></el-col>
|
|
|
- <el-col :span="7" ><span>{{project.outputValue == null?'-':project.outputValue | numberToCurrency}} {{ $t('yuan') }}</span></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('projectoutput') }}:</div></el-col>
|
|
|
+ <el-col :span="7" ><div>{{project.outputValue == null?'-':project.outputValue | numberToCurrency}} {{ $t('yuan') }}</div></el-col>
|
|
|
</template>
|
|
|
</el-row>
|
|
|
<el-row :gutter="10" v-if="yonghuUser.customDegreeActive == 1">
|
|
|
- <el-col :span="5" ><span class="gray_label">{{yonghuUser.customDegreeName}}:</span></el-col>
|
|
|
- <el-col :span="18" ><span>{{project.associateDegreeNames}}</span></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{yonghuUser.customDegreeName}}:</div></el-col>
|
|
|
+ <el-col :span="18" ><div>{{project.associateDegreeNames}}</div></el-col>
|
|
|
</el-row>
|
|
|
|
|
|
<div v-if="user.timeType.projectCustom">
|
|
|
<el-row :gutter="10" v-for="(item,index) in dataListTwo" :key="index">
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ item.customName }}:</span></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ item.customName }}:</div></el-col>
|
|
|
<el-col :span="18" v-if="item.customType != 1">
|
|
|
- <span>{{item.value}}</span>
|
|
|
+ <div>{{item.value}}</div>
|
|
|
</el-col>
|
|
|
<el-col :span="18" v-if="item.customType == 1">
|
|
|
<viewer :images="item.value" class="detailsPicture">
|
|
@@ -78,31 +81,31 @@
|
|
|
<!-- this.project -->
|
|
|
<div v-if="user.companyId == '936'">
|
|
|
<el-row :gutter="10" >
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('contractno') }}:</span></el-col><el-col :span="7" ></el-col>
|
|
|
- <el-col :span="18" ><span>{{project.projectSeparate && project.projectSeparate.contractCode}}</span></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('contractno') }}:</div></el-col><el-col :span="7" ></el-col>
|
|
|
+ <el-col :span="18" ><div>{{project.projectSeparate && project.projectSeparate.contractCode}}</div></el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="10">
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('warrantystartime') }}:</span></el-col><el-col :span="7" >
|
|
|
- <span >{{project.projectSeparate.warrantyStartDate==null?'-':project.projectSeparate.warrantyStartDate}}</span></el-col>
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('warrantyexpirationtime') }}:</span></el-col><el-col :span="7" ><span>
|
|
|
- {{project.projectSeparate.warrantyEndDate == null?'-':project.projectSeparate.warrantyEndDate}}</span></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('warrantystartime') }}:</div></el-col><el-col :span="7" >
|
|
|
+ <div >{{project.projectSeparate.warrantyStartDate==null?'-':project.projectSeparate.warrantyStartDate}}</div></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('warrantyexpirationtime') }}:</div></el-col><el-col :span="7" ><div>
|
|
|
+ {{project.projectSeparate.warrantyEndDate == null?'-':project.projectSeparate.warrantyEndDate}}</div></el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="10" >
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('IndependentProject') }}:</span></el-col><el-col :span="7" ></el-col>
|
|
|
- <el-col :span="18" ><span>{{project.projectSeparate.projectCategorySub}}</span></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('IndependentProject') }}:</div></el-col><el-col :span="7" ></el-col>
|
|
|
+ <el-col :span="18" ><div>{{project.projectSeparate.projectCategorySub}}</div></el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="10" >
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('region') }}:</span></el-col><el-col :span="7" ></el-col>
|
|
|
- <el-col :span="18" ><span>{{project.projectSeparate.region}}</span></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('region') }}:</div></el-col><el-col :span="7" ></el-col>
|
|
|
+ <el-col :span="18" ><div>{{project.projectSeparate.region}}</div></el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="10" >
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('subordinateBU') }}:</span></el-col><el-col :span="7" ></el-col>
|
|
|
- <el-col :span="18" ><span>{{project.projectSeparate.bu}}</span></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('subordinateBU') }}:</div></el-col><el-col :span="7" ></el-col>
|
|
|
+ <el-col :span="18" ><div>{{project.projectSeparate.bu}}</div></el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
<div v-if="user.timeType.projectManDay">
|
|
|
<el-row :gutter="10" >
|
|
|
- <el-col :span="5" ><span class="gray_label">{{ $t('shiJiYuGuGongShi') }}</span></el-col><el-col :span="7" ></el-col>
|
|
|
+ <el-col :span="5" ><div class="gray_label">{{ $t('shiJiYuGuGongShi') }}</div></el-col><el-col :span="7" ></el-col>
|
|
|
<el-col :span="18" ><b :style="fillTimeData.total>project.manDay*user.timeType.allday?'color:red;':''">{{fillTimeData.total}}</b>/<b>{{project.manDay*user.timeType.allday}}</b> {{ $t('time.hour') }}</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -721,6 +724,7 @@
|
|
|
}
|
|
|
.gray_label {
|
|
|
color:#999 !important;
|
|
|
+ min-height: 20px;
|
|
|
}
|
|
|
|
|
|
.el-row {
|