| | |
| | | <i class="gz" v-if="row.auditStatus == 1"></i> |
| | | </el-tag> |
| | | </template> |
| | | |
| | | <template slot-scope="{ row }" slot="userPaperTime"> |
| | | {{formatDate(row.userPaperTime)}} |
| | | </template> |
| | | |
| | | <template slot="menuLeft"> |
| | | <el-button |
| | | style="display: none" |
| | |
| | | ] |
| | | }, |
| | | { |
| | | label: "制证时间", |
| | | prop: "userPaperTime", |
| | | display: false, |
| | | slot: true, |
| | | }, |
| | | { |
| | | label: "有无照片", |
| | | prop: "isAvatar", |
| | | type: "select", |
| | |
| | | }, |
| | | ...mapState({ |
| | | userInfo: state => state.user.userInfo |
| | | }) |
| | | }), |
| | | formatDate(){ |
| | | return(dateTime)=>{ |
| | | if (dateTime){ |
| | | return dateTime.split(" ")[0] |
| | | }else{ |
| | | return "" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.getDeptInfo(this.userInfo.dept_id); |