BUG修改
This commit is contained in:
parent
84b0f2eba8
commit
f368998a6d
|
@ -180,7 +180,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="yyzy" label="应用资源" min-width="100%">
|
<el-table-column prop="yyzy" label="应用资源" min-width="100%">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="zj" label="总计" min-width="100%">
|
<el-table-column prop="count" label="总计" min-width="100%">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-table :data="tableData" :header-cell-style="{ textAlign: 'center' }" :cell-style="{ textAlign: 'center' }"
|
<el-table :data="tableData" :header-cell-style="{ textAlign: 'center' }" :cell-style="{ textAlign: 'center' }"
|
||||||
|
@ -205,7 +205,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="ysp" label="云视频" min-width="100%" >
|
<el-table-column prop="ysp" label="云视频" min-width="100%" >
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="zj" label="总计" min-width="100%">
|
<el-table-column prop="count" label="总计" min-width="100%">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<!--明细表-->
|
<!--明细表-->
|
||||||
|
@ -468,7 +468,6 @@ export default {
|
||||||
this.detailsVisible = false
|
this.detailsVisible = false
|
||||||
},
|
},
|
||||||
handleCurrentChange (val) {
|
handleCurrentChange (val) {
|
||||||
|
|
||||||
this.currentPage = val
|
this.currentPage = val
|
||||||
// todo
|
// todo
|
||||||
if (this.departmentId === 3) {
|
if (this.departmentId === 3) {
|
||||||
|
@ -477,10 +476,8 @@ export default {
|
||||||
if (this.departmentId === 4) {
|
if (this.departmentId === 4) {
|
||||||
this.getTwoDetail(val)
|
this.getTwoDetail(val)
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
// 组件服务部门发布情况--改为能力上架统计
|
// 组件服务部门发布情况--改为能力上架统计
|
||||||
getFirstTree (page) {
|
getFirstTree (page) {
|
||||||
if (this.examineStatus == '-1') {
|
if (this.examineStatus == '-1') {
|
||||||
|
@ -508,13 +505,11 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|
||||||
if (res.data.code !== 0) {
|
if (res.data.code !== 0) {
|
||||||
this.tableData = []
|
this.tableData = []
|
||||||
this.tableDataClone = []
|
this.tableDataClone = []
|
||||||
this.total = 0
|
this.total = 0
|
||||||
return this.$message.error("服务器内部异常")
|
return this.$message.error('服务器内部异常')
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
const result = res.data.data
|
const result = res.data.data
|
||||||
for (let i = 0; i < result.length; i++) {
|
for (let i = 0; i < result.length; i++) {
|
||||||
|
@ -536,13 +531,13 @@ export default {
|
||||||
if (!result[i].hasOwnProperty('hys')) {
|
if (!result[i].hasOwnProperty('hys')) {
|
||||||
result[i].hys = 0
|
result[i].hys = 0
|
||||||
}
|
}
|
||||||
result[i].zj =
|
// result[i].zj =
|
||||||
parseInt(result[i].yyzy) +
|
// parseInt(result[i].yyzy) +
|
||||||
parseInt(result[i].kfzj) +
|
// parseInt(result[i].kfzj) +
|
||||||
parseInt(result[i].znsf) +
|
// parseInt(result[i].znsf) +
|
||||||
parseInt(result[i].ywzj) +
|
// parseInt(result[i].ywzj) +
|
||||||
parseInt(result[i].tcfw) +
|
// parseInt(result[i].tcfw) +
|
||||||
parseInt(result[i].hys)
|
// parseInt(result[i].hys)
|
||||||
}
|
}
|
||||||
this.tableData = res.data.data
|
this.tableData = res.data.data
|
||||||
this.tableDataClone = res.data.data
|
this.tableDataClone = res.data.data
|
||||||
|
@ -556,7 +551,6 @@ export default {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
// 组件服务部门使用情况列表-改为能力使用统计
|
// 组件服务部门使用情况列表-改为能力使用统计
|
||||||
getSecondTree (page) {
|
getSecondTree (page) {
|
||||||
|
@ -589,8 +583,7 @@ export default {
|
||||||
this.tableData = []
|
this.tableData = []
|
||||||
this.tableDataClone = []
|
this.tableDataClone = []
|
||||||
this.total = 0
|
this.total = 0
|
||||||
return this.$message.error("服务器内部异常")
|
return this.$message.error('服务器内部异常')
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
const result = res.data.data
|
const result = res.data.data
|
||||||
for (let i = 0; i < result.length; i++) {
|
for (let i = 0; i < result.length; i++) {
|
||||||
|
@ -612,13 +605,19 @@ export default {
|
||||||
if (!result[i].hasOwnProperty('hys')) {
|
if (!result[i].hasOwnProperty('hys')) {
|
||||||
result[i].hys = 0
|
result[i].hys = 0
|
||||||
}
|
}
|
||||||
result[i].zj =
|
if (!result[i].hasOwnProperty('yzy')) {
|
||||||
parseInt(result[i].yyzy) +
|
result[i].yzy = 0
|
||||||
parseInt(result[i].kfzj) +
|
}
|
||||||
parseInt(result[i].znsf) +
|
if (!result[i].hasOwnProperty('ysp')) {
|
||||||
parseInt(result[i].ywzj) +
|
result[i].ysp = 0
|
||||||
parseInt(result[i].tcfw) +
|
}
|
||||||
parseInt(result[i].hys)
|
// result[i].zj =
|
||||||
|
// parseInt(result[i].yyzy) +
|
||||||
|
// parseInt(result[i].kfzj) +
|
||||||
|
// parseInt(result[i].znsf) +
|
||||||
|
// parseInt(result[i].ywzj) +
|
||||||
|
// parseInt(result[i].tcfw) +
|
||||||
|
// parseInt(result[i].hys)
|
||||||
}
|
}
|
||||||
this.tableData = res.data.data
|
this.tableData = res.data.data
|
||||||
this.tableDataClone = res.data.data
|
this.tableDataClone = res.data.data
|
||||||
|
@ -708,8 +707,7 @@ export default {
|
||||||
this.tableData = []
|
this.tableData = []
|
||||||
this.tableDataClone = []
|
this.tableDataClone = []
|
||||||
this.total = 0
|
this.total = 0
|
||||||
return this.$message.error("服务器内部异常")
|
return this.$message.error('服务器内部异常')
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.tableData = res.data.data.list
|
this.tableData = res.data.data.list
|
||||||
this.tableDataClone = res.data.data.list
|
this.tableDataClone = res.data.data.list
|
||||||
|
@ -726,7 +724,6 @@ export default {
|
||||||
},
|
},
|
||||||
// 能力使用明细
|
// 能力使用明细
|
||||||
getTwoDetail (page) {
|
getTwoDetail (page) {
|
||||||
|
|
||||||
var passAndReview = '' // 转变"通过"字段为通过
|
var passAndReview = '' // 转变"通过"字段为通过
|
||||||
if (this.examineStatus == '-1') {
|
if (this.examineStatus == '-1') {
|
||||||
this.status = ''
|
this.status = ''
|
||||||
|
@ -756,13 +753,11 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|
||||||
if (res.data.code !== 0) {
|
if (res.data.code !== 0) {
|
||||||
this.tableData = []
|
this.tableData = []
|
||||||
this.tableDataClone = []
|
this.tableDataClone = []
|
||||||
this.total = 0
|
this.total = 0
|
||||||
return this.$message.error("服务器内部异常")
|
return this.$message.error('服务器内部异常')
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.tableData = res.data.data.list
|
this.tableData = res.data.data.list
|
||||||
this.tableDataClone = res.data.data.list
|
this.tableDataClone = res.data.data.list
|
||||||
|
@ -776,11 +771,9 @@ export default {
|
||||||
provideDept: this.provideDepartment
|
provideDept: this.provideDepartment
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
handleClick (row) {
|
handleClick (row) {
|
||||||
if (this.choseId === 0) {
|
if (this.choseId === 0) {
|
||||||
if (this.departmentId === 1) {
|
if (this.departmentId === 1) {
|
||||||
|
@ -809,8 +802,6 @@ export default {
|
||||||
|
|
||||||
// 根据不同的type查询不同的表格数据
|
// 根据不同的type查询不同的表格数据
|
||||||
handleChose (index) {
|
handleChose (index) {
|
||||||
|
|
||||||
|
|
||||||
this.checked = false
|
this.checked = false
|
||||||
this.departmentId = index
|
this.departmentId = index
|
||||||
this.currentPage = 1
|
this.currentPage = 1
|
||||||
|
|
Loading…
Reference in New Issue