保安服务企业管理项目备份
guoshilong
2024-01-10 ef517c1c93f660d6857c78007a30ec6941feb8c1
添加发证时间
1 files modified
22 ■■■■■ changed files
src/views/accreditationRecords/accreditationRecordsPaper.vue 22 ●●●●● patch | view | raw | blame | history
src/views/accreditationRecords/accreditationRecordsPaper.vue
@@ -43,6 +43,11 @@
          <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"
@@ -641,6 +646,12 @@
            ]
          },
          {
            label: "制证时间",
            prop: "userPaperTime",
            display: false,
            slot: true,
          },
          {
            label: "有无照片",
            prop: "isAvatar",
            type: "select",
@@ -722,7 +733,16 @@
    },
    ...mapState({
      userInfo: state => state.user.userInfo
    })
    }),
    formatDate(){
      return(dateTime)=>{
        if (dateTime){
          return dateTime.split(" ")[0]
        }else{
          return ""
        }
      }
    }
  },
  mounted() {
    this.getDeptInfo(this.userInfo.dept_id);