Commit 13314d2f authored by 徐俊's avatar 徐俊

xujun

parent 7e9dc413
...@@ -285,10 +285,14 @@ export default { ...@@ -285,10 +285,14 @@ export default {
this.$api.audit.getFinalAuditListByPage(par).then(({ data = {} }) => { this.$api.audit.getFinalAuditListByPage(par).then(({ data = {} }) => {
if (data) { if (data) {
const { dataList = [], total = 0 } = data; const { dataList = [], total = 0 } = data;
this.tableData = dataList; this.tableData = dataList.map(item => {
return {
...item,
projClassName: item.projClass === 1 ? "一般项目" : "重点项目",
}
})
this.pagination.total = total; this.pagination.total = total;
this.tableData.forEach(e => { this.tableData.forEach(e => {
e.projClassName = e.projClass === 1 ? "一般项目" : "重点项目"
e.startDate = moment(e.startDate).format('YYYY-MM-DD') e.startDate = moment(e.startDate).format('YYYY-MM-DD')
e.endDate = moment(e.endDate).format('YYYY-MM-DD') e.endDate = moment(e.endDate).format('YYYY-MM-DD')
// 技术专家 // 技术专家
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment