Compare commits

...

2 Commits

Author SHA1 Message Date
gongjiale 033e123edc Merge branch 'hi-ucs-dev' of http://192.168.124.50:80/wuhongjian/hi-ucs into hi-ucs-dev 2022-10-14 15:39:35 +08:00
gongjiale 2484cda43d 1.完成能力统计-能力上架统计:查看详情,任务开始时间、任务结束时间不转行;
2.完成能力统计-能力上架统计:搜索条件中的状态和列表中的状态请保持一致
2022-10-14 15:39:18 +08:00
2 changed files with 59 additions and 14 deletions

View File

@ -88,16 +88,49 @@
<!--审批详情--> <!--审批详情-->
<div> <div>
<div class="title">审批详情</div> <div class="title">审批详情</div>
<div v-for="item in this.dataSource.data" :key="item"> <!-- <div v-for="item in this.dataSource.data" :key="item"> -->
<a-table :dataSource="item[1]" :columns="columns"> <!-- <a-table :dataSource="item[1]" :columns="columns">
<template #bodyCell="{ column, text }"> <template #bodyCell="{ column, text }">
<template v-if="column.dataIndex === 'name'"> <template v-if="column.dataIndex === 'name'">
<a>{{ text }}</a> <a>{{ text }}</a>
</template> </template>
</template> </template>
</a-table> </a-table> -->
</div> <el-table
:data="dataSource.data[0][1]"
style="width: 100%">
<el-table-column
prop="activityName"
label="任务名称"
width="180">
</el-table-column>
<el-table-column
prop="assigneeName"
label="处理人"
width="120">
</el-table-column>
<el-table-column
prop="startTime"
label="任务开始时间"
width="180">
</el-table-column>
<el-table-column
prop="endTime"
label="任务结束时间"
width="180">
</el-table-column>
<el-table-column
prop="comment"
label="审核意见" show-overflow-tooltip>
</el-table-column>
<el-table-column
prop="duration"
label="任务时长"
width="100">
</el-table-column>
</el-table>
</div> </div>
<!-- </div> -->
<!-- <div else> <!-- <div else>
gai gai
</div> --> </div> -->
@ -228,6 +261,7 @@ export default {
} }
} }
} }
console.log("this.dataSource.data[0]========",this.dataSource.data[0][1])
}, },
// init () { // init () {
// this.visible = true // this.visible = true

View File

@ -46,8 +46,9 @@
clearable clearable
> >
<el-option label="全部" value="-1"></el-option> <el-option label="全部" value="-1"></el-option>
<el-option label="审核完成" value="1"></el-option>
<el-option label="审核中" value="0"></el-option> <el-option label="审核中" value="0"></el-option>
<el-option label="通过" value="1"></el-option>
<el-option label="不通过" value="2"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -371,8 +372,9 @@ export default {
{ name: '组件服务', key: 1 }, { name: '组件服务', key: 1 },
{ name: '应用资源', key: 2 }, { name: '应用资源', key: 2 },
{ name: '基础设施', key: 3 }, { name: '基础设施', key: 3 },
{ name: '数据资源', key: 3 }, { name: '数据资源', key: 4 },
{ name: '知识库', key: 3 } { name: '知识库', key: 5 },
{ name: '会议室', value: 6}
], ],
tableData: [], tableData: [],
tableData2: [ tableData2: [
@ -396,7 +398,8 @@ export default {
{ name: '图层服务', value: 2 }, { name: '图层服务', value: 2 },
{ name: '通用开发组件', value: 3 }, { name: '通用开发组件', value: 3 },
{ name: '页面开发组件', value: 4 }, { name: '页面开发组件', value: 4 },
{ name: '应用资源', value: 5 } { name: '应用资源', value: 5 },
{ name: '会议室', value: 6}
], // ], //
detailFlag: false, // detailFlag: false, //
startDate: '', // startDate: '', //
@ -478,7 +481,9 @@ export default {
} else if (this.examineStatus == '0') { } else if (this.examineStatus == '0') {
this.status = '审核中' this.status = '审核中'
} else if (this.examineStatus == '1') { } else if (this.examineStatus == '1') {
this.status = '审核完成' this.status = '通过'
}else if (this.examineStatus == '2') {
this.status = '不通过'
} else { } else {
this.status = this.examineStatus this.status = this.examineStatus
} }
@ -534,7 +539,9 @@ export default {
} else if (this.examineStatus == '0') { } else if (this.examineStatus == '0') {
this.status = '审核中' this.status = '审核中'
} else if (this.examineStatus == '1') { } else if (this.examineStatus == '1') {
this.status = '审核完成' this.status = '通过'
} else if (this.examineStatus == '2') {
this.status = '不通过'
} else { } else {
this.status = this.examineStatus this.status = this.examineStatus
} }
@ -627,13 +634,15 @@ export default {
}, },
// //
getOneDetail (page) { getOneDetail (page) {
var passAndReview = '' // "" var passAndReview = '' // ""
if (this.examineStatus == '-1') { if (this.examineStatus == '-1') {
this.status = '' this.status = ''
} else if (this.examineStatus == '0') { } else if (this.examineStatus == '0') {
this.status = '审核中' this.status = '审核中'
} else if (this.examineStatus == '1') { } else if (this.examineStatus == '1') {
this.status = '通过' this.status = '通过'
} else if (this.examineStatus == '2') {
this.status = '不通过'
} else { } else {
this.status = this.examineStatus this.status = this.examineStatus
} }
@ -657,13 +666,15 @@ export default {
}, },
// 使 // 使
getTwoDetail (page) { getTwoDetail (page) {
var passAndReview = '' // "" var passAndReview = '' // ""
if (this.examineStatus == '-1') { if (this.examineStatus == '-1') {
this.status = '' this.status = ''
} else if (this.examineStatus == '0') { } else if (this.examineStatus == '0') {
this.status = '审核中' this.status = '审核中'
} else if (this.examineStatus == '1') { } else if (this.examineStatus == '1') {
this.status = '通过' this.status = '通过'
} else if (this.examineStatus == '2') {
this.status = '不通过'
} else { } else {
this.status = this.examineStatus this.status = this.examineStatus
} }