|
@@ -43,6 +43,13 @@
|
|
<el-button @click="backToParentDept" size="small">返回上级</el-button>
|
|
<el-button @click="backToParentDept" size="small">返回上级</el-button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
+ <el-select v-model="projectStatus" placeholder="请选择项目状态" clearable @change="filterConditionSwitching" v-if="singleChoiceType == '项目'" size="small" style="margin-right: 10px">
|
|
|
|
+ <el-option label="进行中" value="1"></el-option>
|
|
|
|
+ <el-option label="已完成" value="2"></el-option>
|
|
|
|
+ <el-option label="已撤销" value="3"></el-option>
|
|
|
|
+ <el-option label="暂停" value="4"></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+
|
|
<select-project v-model="chartProjectId" :size="'small'" :placeholder="'请选择项目'" clearable
|
|
<select-project v-model="chartProjectId" :size="'small'" :placeholder="'请选择项目'" clearable
|
|
v-if="singleChoiceType == '项目' || singleChoiceType == '设备' || singleChoiceType == namess"
|
|
v-if="singleChoiceType == '项目' || singleChoiceType == '设备' || singleChoiceType == namess"
|
|
@change="filterConditionSwitching"></select-project>
|
|
@change="filterConditionSwitching"></select-project>
|
|
@@ -141,6 +148,7 @@ export default {
|
|
reportExportVisable: false,
|
|
reportExportVisable: false,
|
|
hasReportUserList: [],
|
|
hasReportUserList: [],
|
|
theCustomListFlgBtnLoading: false,
|
|
theCustomListFlgBtnLoading: false,
|
|
|
|
+ projectStatus: '',
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -188,7 +196,7 @@ export default {
|
|
const urlMap = {
|
|
const urlMap = {
|
|
['项目']: {
|
|
['项目']: {
|
|
url: this.port.project.listCost,
|
|
url: this.port.project.listCost,
|
|
- extraParams: { projectId: this.chartProjectId, type: this.chartYAxisVal[this.chartYAxis] }
|
|
|
|
|
|
+ extraParams: { projectId: this.chartProjectId, type: this.chartYAxisVal[this.chartYAxis], status: this.projectStatus ? this.projectStatus : '0' }
|
|
},
|
|
},
|
|
['主项目']: { url: '/project/getTimeCostByMainProject' },
|
|
['主项目']: { url: '/project/getTimeCostByMainProject' },
|
|
['项目分类']: { url: '/project/getTimeCostByCategory' },
|
|
['项目分类']: { url: '/project/getTimeCostByCategory' },
|