From 25bfdf783be9c8e34afcec8106c39e17aa66a1e2 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 29 四月 2024 15:56:43 +0800
Subject: [PATCH] 纤度检验表的 车间显示问题处理
---
src/views/employeeSalary/apprenticeshipManage/index.vue | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/views/employeeSalary/apprenticeshipManage/index.vue b/src/views/employeeSalary/apprenticeshipManage/index.vue
index 7380815..ef15e92 100644
--- a/src/views/employeeSalary/apprenticeshipManage/index.vue
+++ b/src/views/employeeSalary/apprenticeshipManage/index.vue
@@ -4,7 +4,7 @@
<CommonSearch ref="searchRef" :show-add="false" :amount-view="false" placeholder="璇疯緭鍏ュ叧閿瘝" @searchClick="onFilterSearch">
<template slot="leftButton">
<el-button size="small" type="primary" @click="addBtnClick" >鏂板</el-button>
- <el-button size="small" type="primary" @click="exportClick">瀵煎叆</el-button>
+ <!-- <el-button size="small" type="primary" @click="exportClick">瀵煎叆</el-button> -->
</template>
</CommonSearch>
</div>
@@ -42,6 +42,8 @@
import { getMentorList, deleteMentorInfo } from "@/api/employeeSalary/apprenticeshipManage.js"
import AddDialog from "@/views/employeeSalary/apprenticeshipManage/components/addDialog.vue"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
+import Date from "@/api/date";
+const { formatDate2 } = Date;
export default {
name: "apprenticeshipManage",
props: {},
@@ -118,7 +120,8 @@
const list = res.data.map(item=>{
return {
...item,
- name:item.worker?item.worker.name:''
+ name:item.worker?item.worker.name:'',
+ created_at:item.CreatedAt?formatDate2(item.CreatedAt).split(' ')[0]:''
}
})
this.tableList.tableInfomation = list || []
--
Gitblit v1.8.0