|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<u-sticky class="shadow-default projectOverview" bgColor="#fff" style="top: 0">
|
|
|
- <u-navbar :titleStyle="{ color: '#000' }" :autoBack="true" title="项目概览" :placeholder="true" :safeAreaInsetTop="true" bgColor="#fff">
|
|
|
+ <u-navbar :titleStyle="{ color: '#000' }" :autoBack="true" title="概览" :placeholder="true" :safeAreaInsetTop="true" bgColor="#fff">
|
|
|
<template #left>
|
|
|
<view class="u-navbar__content__left__item">
|
|
|
<u-icon name="arrow-left" size="20" color="#000"></u-icon>
|
|
@@ -27,7 +27,7 @@
|
|
|
<view class="menu-list" style="font-size: 15px; line-height: 30px;padding:0;">
|
|
|
<view class="list-cell" style="color: #666666;padding:10px;">
|
|
|
<view class="menu-item">
|
|
|
- <span style="color:#559AFF;font-weight:bold;font-size: 15px;">丨 项目概况</span>
|
|
|
+ <span style="color:#559AFF;font-weight:bold;font-size: 15px;">丨 概况</span>
|
|
|
</view>
|
|
|
<view class="tableType4" style="margin-top:10px;">
|
|
|
<u-row v-for="(item, index) in overviewData" :key="index">
|
|
@@ -36,7 +36,7 @@
|
|
|
</u-col>
|
|
|
<u-col span="8">
|
|
|
<view style="text-align: left; padding: 0px 5px 0px 5px;overflow-x:scroll !important;width:100%;white-space:none !important;" v-if="!item.color">{{ item.value ? item.value : '无' }}</view>
|
|
|
- <view style="text-align: left; padding: 0px 5px 0px 5px;overflow-x:scroll !important;width:100%;white-space:none !important;" v-if="item.color"><uni-tag :text="item.value" :type="item.color" /></view>
|
|
|
+ <view style="text-align: left; padding: 0px 5px 0px 5px;overflow-x:scroll !important;width:100%;white-space:none !important;" v-if="item.color"><span :style="{color:item.color}">{{ item.value }}</span></view>
|
|
|
</u-col>
|
|
|
</u-row>
|
|
|
</view>
|
|
@@ -45,7 +45,7 @@
|
|
|
<view class="menu-list" style="font-size: 15px; line-height: 30px;padding:0;">
|
|
|
<view class="list-cell" style="color: #666666;padding:10px;">
|
|
|
<view class="menu-item">
|
|
|
- <span style="color:#559AFF;font-weight:bold;">丨 项目背景</span>
|
|
|
+ <span style="color:#559AFF;font-weight:bold;">丨 背景</span>
|
|
|
</view>
|
|
|
<view class="menu-item">
|
|
|
<span>{{ project.projectDescribe ? project.projectDescribe : "无" }}</span>
|
|
@@ -55,11 +55,11 @@
|
|
|
<view class="menu-list" style="font-size: 15px; line-height: 30px;padding:0;">
|
|
|
<view class="list-cell" style="color: #666666;padding:10px;">
|
|
|
<view class="menu-item">
|
|
|
- <span style="color:#559AFF;font-weight:bold;">丨 项目参与人员</span>
|
|
|
+ <span style="color:#559AFF;font-weight:bold;">丨 工时投入统计</span>
|
|
|
</view>
|
|
|
<view class="menu-item">
|
|
|
<view class="example-body" style="width:100%">
|
|
|
- <uni-datetime-picker v-model="range" type="daterange" @change="changeTime" style="margin:10px 0;"/>
|
|
|
+ <uni-datetime-picker v-model="range" type="daterange" :clear-icon="false" @change="changeTime" style="margin:10px 0;"/>
|
|
|
<lineEcharts :xAxisDataList="xAxisDataList" :seriesDataList="seriesDataList" style="width:100%;margin-top:10px;" v-if="xAxisDataList.length>0"></lineEcharts>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -190,7 +190,7 @@ function selectListApi(id) {
|
|
|
project.value = requset.data.records[0];
|
|
|
overviewData.value[0].value = proxy.$common.mapping("nickName", "userId", project.value.projectHead, userDate.value)
|
|
|
overviewData.value[1].value = proxy.$common.mapping("label", "value", project.value.projectStatus, project_status.value)
|
|
|
- overviewData.value[1].color = proxy.$common.mapping("elTagType", "value", project.value.projectStatus, project_status.value)
|
|
|
+ overviewData.value[1].color = proxy.$common.mapping("elTagClass", "value", project.value.projectStatus, project_status.value)
|
|
|
overviewData.value[2].value = proxy.$common.mapping("label", "value", project.value.projectType, project_type.value)
|
|
|
overviewData.value[3].value = project.value.projectWorkload
|
|
|
overviewData.value[4].value = proxy.$common.mapping("nickName", "userId", project.value.projectMember, userDate.value)
|