Browse Source

表格宽度及时间格式调整

yuwenjun1997 2 years ago
parent
commit
6aa5c20d74
38 changed files with 105 additions and 419 deletions
  1. 0 1
      src/components/qrcode/club-qrcode.vue
  2. 0 3
      src/components/qrcode/index.vue
  3. 1 1
      src/filters/index.js
  4. 2 12
      src/views/admin/audit/club/device/index.vue
  5. 1 1
      src/views/admin/audit/club/index.vue
  6. 3 12
      src/views/admin/audit/club/list.vue
  7. 4 13
      src/views/admin/audit/material/article/index.vue
  8. 3 12
      src/views/admin/audit/material/file/index.vue
  9. 3 12
      src/views/admin/audit/material/image/index.vue
  10. 3 12
      src/views/admin/audit/material/package/index.vue
  11. 9 20
      src/views/admin/audit/material/video/index.vue
  12. 4 13
      src/views/admin/audit/personnel/operate/index.vue
  13. 4 13
      src/views/admin/audit/personnel/training/index.vue
  14. 1 10
      src/views/admin/logistics-licensed/club/device/index.vue
  15. 2 11
      src/views/admin/logistics-licensed/components/club-list.vue
  16. 2 11
      src/views/admin/logistics-licensed/components/supplier-list.vue
  17. 2 11
      src/views/admin/settings/roles/index.vue
  18. 3 12
      src/views/admin/supplier/club/device/index.vue
  19. 4 13
      src/views/admin/supplier/club/index.vue
  20. 1 10
      src/views/admin/supplier/index.vue
  21. 1 11
      src/views/common/helper/document/index.vue
  22. 1 10
      src/views/common/helper/video/index.vue
  23. 3 12
      src/views/normal/audit/club/components/club-list.vue
  24. 3 12
      src/views/normal/audit/club/components/device-list.vue
  25. 1 11
      src/views/normal/club/device-cate.vue
  26. 3 13
      src/views/normal/club/device/index.vue
  27. 9 16
      src/views/normal/club/index.vue
  28. 2 11
      src/views/normal/club/user/index-temp.vue
  29. 1 10
      src/views/normal/club/user/index.vue
  30. 3 12
      src/views/normal/feedback/index.vue
  31. 5 14
      src/views/normal/material/article/index.vue
  32. 3 12
      src/views/normal/material/file/index.vue
  33. 3 12
      src/views/normal/material/image/index.vue
  34. 4 13
      src/views/normal/material/package/index.vue
  35. 3 12
      src/views/normal/material/video/index.vue
  36. 3 12
      src/views/normal/personnel/operate/index.vue
  37. 3 12
      src/views/normal/personnel/training/index.vue
  38. 2 11
      src/views/normal/user/index.vue

+ 0 - 1
src/components/qrcode/club-qrcode.vue

@@ -21,7 +21,6 @@ import downImage from '@/assets/img/qrcode-bg-club-down.png'
 import { mapGetters } from 'vuex'
 export default {
   name: 'Qrcode',
-  filters: {},
   props: {
     qrcodeData: {
       type: Object,

+ 0 - 3
src/components/qrcode/index.vue

@@ -20,9 +20,6 @@ import QRCode from 'qrcode'
 import downImage from '@/assets/img/qrcode-bg-down.jpg'
 export default {
   name: 'Qrcode',
-  filters: {
-
-  },
   props: {
     productInfo: {
       type: Object,

+ 1 - 1
src/filters/index.js

@@ -72,7 +72,7 @@ export function formatTime(time) {
   if (!time) {
     return ''
   }
-  return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
+  return formatDate(time, 'yyyy-MM-DD HH:mm')
 }
 
 export function formatPrice(price) {

+ 2 - 12
src/views/admin/audit/club/device/index.vue

@@ -38,7 +38,7 @@
       <el-table-column :index="indexMethod" label="序号" type="index" width="80" align="center" />
       <el-table-column prop="productName" label="设备名称" align="center" />
       <el-table-column prop="snCode" label="设备SN码" align="center" />
-      <el-table-column label="审核状态" width="220px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -55,7 +55,7 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="审核时间" width="250px" align="center">
+      <el-table-column label="审核时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span v-if="row.auditStatus !== 2">{{ row.auditTime | formatTime }}</span>
           <span v-else>—</span>
@@ -95,18 +95,8 @@
 <script>
 import Pagination from '@/components/Pagination'
 import { getProdList } from '@/api/product'
-import { formatDate } from '@/utils'
 export default {
   components: { Pagination },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
-
   data() {
     return {
       listLoading: false,

+ 1 - 1
src/views/admin/audit/club/index.vue

@@ -56,7 +56,7 @@
       </el-table-column>
       <el-table-column prop="mobile" label="手机号" width="200px" align="center" />
       <el-table-column prop="linkMan" label="联系人" width="200px" align="center" />
-      <el-table-column label="审核状态" width="220px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.lowerAuditStatus === 0" size="small" type="danger">未完成审核</el-tag>
           <el-tag v-if="row.lowerAuditStatus === 1" size="small" type="success">已完成审核</el-tag>

+ 3 - 12
src/views/admin/audit/club/list.vue

@@ -41,7 +41,7 @@
     >
       <el-table-column label="序号" :index="indexMethod" type="index" width="80" align="center" />
       <el-table-column prop="authParty" label="机构名称" align="center" />
-      <el-table-column label="审核状态" width="220px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -58,14 +58,14 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="商品信息审核状态" width="220px" align="center">
+      <el-table-column label="商品信息审核状态" width="160px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.lowerAuditStatus === 0" size="small" type="danger">未完成审核</el-tag>
           <el-tag v-if="row.lowerAuditStatus === 1" size="small" type="success">已完成审核</el-tag>
         </template>
       </el-table-column>
 
-      <el-table-column label="审核时间" width="250px" align="center">
+      <el-table-column label="审核时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span v-if="row.auditStatus !== 2">{{ row.auditTime | formatTime }}</span>
           <span v-else>—</span>
@@ -139,18 +139,9 @@
 <script>
 import Pagination from '@/components/Pagination'
 import { fecthAuthList, auditAuth } from '@/api/auth'
-import { formatDate } from '@/utils'
 import { mapGetters, mapMutations } from 'vuex'
 export default {
   components: { Pagination },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       // 是否显示dialog

+ 4 - 13
src/views/admin/audit/material/article/index.vue

@@ -33,10 +33,10 @@
     >
       <el-table-column label="序号" :index="indexMethod" type="index" width="80" align="center" />
       <el-table-column label="文章标题" prop="articleTitle" align="center" />
-      <el-table-column label="文章头图" width="200" align="center">
+      <el-table-column label="文章头图" width="80px" align="center">
         <template slot-scope="{ row }"> <el-image style="width: 50px; height: 50px" :src="row.articleImage" /></template>
       </el-table-column>
-      <el-table-column label="审核状态" width="150px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -53,14 +53,14 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="审核时间" width="250px" align="center">
+      <el-table-column label="审核时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span v-if="row.auditStatus !== 2">{{ row.auditTime | formatTime }}</span>
           <span v-else>—</span>
         </template>
       </el-table-column>
 
-      <el-table-column label="审核人" align="center" width="200px">
+      <el-table-column label="审核人" align="center" width="280px">
         <template slot-scope="{ row }">
           <span v-if="row.auditStatus !== 2">{{ row.auditBy }}</span>
           <span v-else>—</span>
@@ -94,18 +94,9 @@
 
 <script>
 import Pagination from '@/components/Pagination'
-import { formatDate } from '@/utils'
 import { getArticleList } from '@/api/doc'
 export default {
   components: { Pagination },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       listLoading: false,

+ 3 - 12
src/views/admin/audit/material/file/index.vue

@@ -42,7 +42,7 @@
     >
       <el-table-column label="序号" :index="indexMethod" type="index" width="80" align="center" />
       <el-table-column label="文件名称" prop="fileTitle" align="center" />
-      <el-table-column label="审核状态" width="150px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -65,14 +65,14 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="审核时间" width="250px" align="center">
+      <el-table-column label="审核时间" width="160px" align="center">
         <template slot-scope="{row}">
           <span v-if="row.auditStatus!==2">{{ row.auditTime | formatTime }}</span>
           <span v-else>—</span>
         </template>
       </el-table-column>
 
-      <el-table-column label="审核人" align="center" width="200px">
+      <el-table-column label="审核人" align="center" width="280px">
         <template slot-scope="{row}">
           <span v-if="row.auditStatus!==2">{{ row.auditBy }}</span>
           <span v-else>—</span>
@@ -132,20 +132,11 @@
 <script>
 import Pagination from '@/components/Pagination'
 import openWindow from '@/utils/open-window'
-import { formatDate } from '@/utils'
 import { getFileList } from '@/api/doc'
 import { auditfile } from '@/api/docReview'
 import { mapGetters } from 'vuex'
 export default {
   components: { Pagination },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       dialogVisible: false, // 文件审核dialog是否显示

+ 3 - 12
src/views/admin/audit/material/image/index.vue

@@ -33,7 +33,7 @@
     >
       <el-table-column label="序号" type="index" :index="indexMethod" width="80" align="center" />
       <el-table-column label="图片标题" prop="imageTitle" align="center" />
-      <el-table-column label="审核状态" width="150px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -50,14 +50,14 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="审核时间" width="250px" align="center">
+      <el-table-column label="审核时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span v-if="row.auditStatus !== 2">{{ row.auditTime | formatTime }}</span>
           <span v-else>—</span>
         </template>
       </el-table-column>
 
-      <el-table-column label="审核人" align="center" width="200px">
+      <el-table-column label="审核人" align="center" width="280px">
         <template slot-scope="{ row }">
           <span v-if="row.auditStatus !== 2">{{ row.auditBy }}</span>
           <span v-else>—</span>
@@ -91,18 +91,9 @@
 
 <script>
 import Pagination from '@/components/Pagination'
-import { formatDate } from '@/utils'
 import { getImageList } from '@/api/doc'
 export default {
   components: { Pagination },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       listLoading: false, // 列表加载

+ 3 - 12
src/views/admin/audit/material/package/index.vue

@@ -42,7 +42,7 @@
     >
       <el-table-column label="序号" :index="indexMethod" type="index" width="80" align="center" />
       <el-table-column label="文件名称" prop="fileTitle" align="center" />
-      <el-table-column label="审核状态" width="150px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -65,14 +65,14 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="审核时间" width="250px" align="center">
+      <el-table-column label="审核时间" width="160px" align="center">
         <template slot-scope="{row}">
           <span v-if="row.auditStatus!==2">{{ row.auditTime | formatTime }}</span>
           <span v-else>—</span>
         </template>
       </el-table-column>
 
-      <el-table-column label="审核人" align="center" width="200px">
+      <el-table-column label="审核人" align="center" width="280px">
         <template slot-scope="{row}">
           <span v-if="row.auditStatus!==2">{{ row.auditBy }}</span>
           <span v-else>—</span>
@@ -130,20 +130,11 @@
 
 <script>
 import Pagination from '@/components/Pagination'
-import { formatDate } from '@/utils'
 import { getFileList } from '@/api/doc'
 import { auditfile } from '@/api/docReview'
 import { mapGetters } from 'vuex'
 export default {
   components: { Pagination },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       dialogVisible: false, // 文件审核dialog是否显示

+ 9 - 20
src/views/admin/audit/material/video/index.vue

@@ -33,7 +33,7 @@
     >
       <el-table-column label="序号" type="index" :index="indexMethod" width="80" align="center" />
       <el-table-column label="视频名称" prop="videoTitle" align="center" />
-      <el-table-column label="审核状态" width="150px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -43,21 +43,21 @@
             <el-popover placement="top-start" title="审核说明" width="400" trigger="hover" :content="row.invalidReason">
               <el-tag slot="reference" size="small" type="danger" class="reason">
                 <span>审核未通过</span>
-                <span class="el-icon-question status danger " />
+                <span class="el-icon-question status danger" />
               </el-tag>
             </el-popover>
             <!-- 未通过原因展示END -->
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="审核时间" width="250px" align="center">
+      <el-table-column label="审核时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span v-if="row.auditStatus !== 2">{{ row.auditTime | formatTime }}</span>
           <span v-else>—</span>
         </template>
       </el-table-column>
 
-      <el-table-column label="审核人" align="center" width="200px">
+      <el-table-column label="审核人" align="center" width="280px">
         <template slot-scope="{ row }">
           <span v-if="row.auditStatus !== 2">{{ row.auditBy }}</span>
           <span v-else>—</span>
@@ -69,7 +69,7 @@
             v-if="row.auditStatus !== 1"
             type="primary"
             size="mini"
-            style="margin-right:5px"
+            style="margin-right: 5px"
             icon="el-icon-s-check"
             @click="handleShowDialog(row)"
           >审核</el-button>
@@ -93,9 +93,7 @@
           {{ current.videoTitle }}
         </el-form-item>
         <el-form-item label="视频:">
-          <video :src="current.currentVideoUrl" controls="controls" width="100%">
-            您的浏览器不支持播放该视频
-          </video>
+          <video :src="current.currentVideoUrl" controls="controls" width="100%">您的浏览器不支持播放该视频</video>
         </el-form-item>
         <el-form-item label="审核:">
           <el-radio-group v-model="dialogData.auditStatus">
@@ -118,20 +116,11 @@
 
 <script>
 import Pagination from '@/components/Pagination'
-import { formatDate } from '@/utils'
 import { getVideoList } from '@/api/doc'
 import { auditVideo } from '@/api/docReview'
 import { mapGetters } from 'vuex'
 export default {
   components: { Pagination },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       dialogVisible: false, // 视频审核dialog是否显示
@@ -178,7 +167,7 @@ export default {
     getList() {
       this.listLoading = true
       getVideoList(this.listQuery)
-        .then(res => {
+        .then((res) => {
           if (res.code !== 0) return
           this.list = res.data.list
           this.total = res.data.total
@@ -205,11 +194,11 @@ export default {
     },
     // 审核
     handleAuditStatus() {
-      this.$refs.formRef.validate(valid => {
+      this.$refs.formRef.validate((valid) => {
         if (valid) {
           console.log(valid)
           this.dialogData.auditBy = this.authUserId
-          auditVideo(this.dialogData).then(res => {
+          auditVideo(this.dialogData).then((res) => {
             console.log(res)
             if (res.code !== 0) return
             this.$message({

+ 4 - 13
src/views/admin/audit/personnel/operate/index.vue

@@ -37,7 +37,7 @@
       <el-table-column label="医生姓名" align="center" prop="doctorName" />
       <el-table-column label="从业资格证编号" align="center" prop="certificateNo" />
 
-      <el-table-column label="审核状态" width="220px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -55,14 +55,14 @@
         </template>
       </el-table-column>
 
-      <el-table-column label="审核时间" width="250px" align="center">
+      <el-table-column label="审核时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span v-if="row.auditStatus !== 2">{{ row.auditTime | formatTime }}</span>
           <span v-else>—</span>
         </template>
       </el-table-column>
 
-      <el-table-column label="审核人" align="center">
+      <el-table-column label="审核人" align="center" width="280px">
         <template slot-scope="{ row }">
           <span v-if="row.auditStatus !== 2">{{ row.auditBy }}</span>
           <span v-else>—</span>
@@ -70,7 +70,7 @@
       </el-table-column>
 
       <!-- <el-table-column v-if="false" label="创建人" width="180px" align="center" prop="createBy" /> -->
-      <el-table-column label="操作" align="center" width="240px" class-name="small-padding fixed-width">
+      <el-table-column label="操作" align="center" width="160px" class-name="small-padding fixed-width">
         <template slot-scope="{ row }">
           <el-button
             v-if="row.auditStatus !== 1"
@@ -98,19 +98,10 @@
 <script>
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import { mapGetters } from 'vuex'
-import { formatDate } from '@/utils'
 import { fetchDoctorList } from '@/api/doctor'
 
 export default {
   components: { Pagination },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       listLoading: false,

+ 4 - 13
src/views/admin/audit/personnel/training/index.vue

@@ -37,7 +37,7 @@
       <el-table-column label="医生姓名" align="center" prop="doctorName" />
       <el-table-column label="从业资格证编号" align="center" prop="certificateNo" />
 
-      <el-table-column label="审核状态" width="220px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -55,14 +55,14 @@
         </template>
       </el-table-column>
 
-      <el-table-column label="审核时间" width="250px" align="center">
+      <el-table-column label="审核时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span v-if="row.auditStatus !== 2">{{ row.auditTime | formatTime }}</span>
           <span v-else>—</span>
         </template>
       </el-table-column>
 
-      <el-table-column label="审核人" align="center">
+      <el-table-column label="审核人" align="center" width="280px">
         <template slot-scope="{ row }">
           <span v-if="row.auditStatus !== 2">{{ row.auditBy }}</span>
           <span v-else>—</span>
@@ -70,7 +70,7 @@
       </el-table-column>
 
       <!-- <el-table-column v-if="false" label="创建人" width="180px" align="center" prop="createBy" /> -->
-      <el-table-column label="操作" align="center" width="240px" class-name="small-padding fixed-width">
+      <el-table-column label="操作" align="center" width="160px" class-name="small-padding fixed-width">
         <template slot-scope="{ row }">
           <el-button
             v-if="row.auditStatus !== 1"
@@ -98,19 +98,10 @@
 <script>
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import { mapGetters } from 'vuex'
-import { formatDate } from '@/utils'
 import { fetchDoctorList } from '@/api/doctor'
 
 export default {
   components: { Pagination },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       listLoading: false,

+ 1 - 10
src/views/admin/logistics-licensed/club/device/index.vue

@@ -27,7 +27,7 @@
       <el-table-column label="序号" :index="indexMethod" type="index" align="center" width="80" />
       <el-table-column label="设备名称" align="center" prop="productName" />
       <el-table-column label="设备SN码" align="center" prop="snCode" />
-      <el-table-column label="创建时间" class-name="status-col" width="300px" align="center">
+      <el-table-column label="创建时间" class-name="status-col" width="160px" align="center">
         <template slot-scope="{ row }">
           <span>{{ row.createTime | formatTime }}</span>
         </template>
@@ -71,20 +71,11 @@ import PermissionButton from '@/views/components/PermissionButton'
 import { getProdList } from '@/api/product'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import Qrcode from '@/components/qrcode'
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 import { setStorage } from '@/utils/storage'
 export default {
   name: 'ComplexTable',
   components: { Pagination, Qrcode, PermissionButton },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
 
   data() {
     return {

+ 2 - 11
src/views/admin/logistics-licensed/components/club-list.vue

@@ -30,13 +30,13 @@
 
       <el-table-column label="机构名称" align="center" prop="authParty" />
 
-      <el-table-column label="创建时间" class-name="status-col" width="360px">
+      <el-table-column label="创建时间" class-name="status-col" width="160px">
         <template slot-scope="{ row }">
           <span>{{ row.createTime | formatTime }}</span>
         </template>
       </el-table-column>
       <!-- <el-table-column label="创建人" class-name="status-col" width="160px" prop="createBy" /> -->
-      <el-table-column label="寄送状态" width="140px" align="center">
+      <el-table-column label="寄送状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <template v-if="row.sendStatus === 0">
             <span style="margin-right: 10px" class="status warning">待寄送</span>
@@ -123,19 +123,10 @@ import { fecthAuthList } from '@/api/auth'
 import { fetchCompanyList, logisticsSend } from '@/api/logistics'
 import Pagination from '@/components/Pagination'
 import UploadImage from '@/components/UploadImage'
-import { formatDate } from '@/utils'
 import { isMobile } from '@/utils/validate'
 export default {
   name: 'ComplexTable',
   components: { Pagination, UploadImage },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   props: {
     sendStatus: {
       type: Number,

+ 2 - 11
src/views/admin/logistics-licensed/components/supplier-list.vue

@@ -66,12 +66,12 @@
       </el-table-column>
       <el-table-column label="手机号" width="120px" align="center" prop="mobile" />
       <el-table-column label="联系人" align="center" prop="linkMan" />
-      <el-table-column label="创建时间" class-name="status-col" width="200px">
+      <el-table-column label="创建时间" class-name="status-col" width="160px">
         <template slot-scope="{ row }">
           <span>{{ row.createTime | formatTime }}</span>
         </template>
       </el-table-column>
-      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
+      <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160px">
         <template slot-scope="{ row }">
           <el-button size="mini" type="primary" @click="$_navigationTo(`/logistics/club-list?id=${row.authUserId}`)">
             机构授权牌
@@ -94,19 +94,10 @@
 <script>
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import { fetchSupplierList } from '@/api/supplier'
-import { formatDate } from '@/utils'
 
 export default {
   name: 'ComplexTable',
   components: { Pagination },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   props: {
     sendStatus: {
       type: Number,

+ 2 - 11
src/views/admin/settings/roles/index.vue

@@ -23,13 +23,13 @@
           <span v-else>—</span>
         </template>
       </el-table-column>
-      <el-table-column label="创建时间" align="center">
+      <el-table-column label="创建时间" align="center" width="160px">
         <template slot-scope="{ row }">
           <span v-if="row.createTime">{{ row.createTime | formatTime }}</span>
           <span v-else>—</span>
         </template>
       </el-table-column>
-      <el-table-column label="更新时间" align="center">
+      <el-table-column label="更新时间" align="center" width="160px">
         <template slot-scope="{ row }">
           <span v-if="row.updateTime">{{ row.updateTime | formatTime }}</span>
           <span v-else>—</span>
@@ -46,17 +46,8 @@
 </template>
 
 <script>
-import { formatDate } from '@/utils'
 import { fetchRoleList, deleteRole } from '@/api/system'
 export default {
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       listLoading: false,

+ 3 - 12
src/views/admin/supplier/club/device/index.vue

@@ -72,7 +72,7 @@
       <el-table-column label="设备名称" align="center" prop="productName" />
       <el-table-column label="设备SN码" align="center" prop="snCode" />
 
-      <el-table-column label="审核状态" width="220px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -90,7 +90,7 @@
         </template>
       </el-table-column>
 
-      <el-table-column label="上线状态" width="140px" align="center">
+      <el-table-column label="上线状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <!-- 只有审核通过了才能操作上下线 auditStatus :审核状态 -->
           <template v-if="row.auditStatus === 1">
@@ -120,7 +120,7 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="创建时间" class-name="status-col" width="300px" align="center">
+      <el-table-column label="创建时间" class-name="status-col" width="160px" align="center">
         <template slot-scope="{ row }">
           <span>{{ row.createTime | formatTime }}</span>
         </template>
@@ -159,19 +159,10 @@
 import { getProdList } from '@/api/product'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import Qrcode from '@/components/qrcode'
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 export default {
   name: 'ComplexTable',
   components: { Pagination, Qrcode },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
 
   data() {
     return {

+ 4 - 13
src/views/admin/supplier/club/index.vue

@@ -65,7 +65,7 @@
 
       <el-table-column label="机构名称" align="center" prop="authParty" />
 
-      <el-table-column label="审核状态" width="220px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -83,7 +83,7 @@
         </template>
       </el-table-column>
 
-      <el-table-column label="上线状态" width="140px" align="center">
+      <el-table-column label="上线状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <!-- 只有审核通过了才能操作上下线 auditStatus :审核状态 -->
           <template v-if="row.auditStatus === 1">
@@ -101,14 +101,14 @@
         </template>
       </el-table-column>
 
-      <el-table-column label="创建时间" class-name="status-col" width="360px">
+      <el-table-column label="创建时间" class-name="status-col" width="160px">
         <template slot-scope="{ row }">
           <span>{{ row.createTime | formatTime }}</span>
         </template>
       </el-table-column>
 
       <!-- <el-table-column label="创建人" class-name="status-col" width="160px" prop="createBy" /> -->
-      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
+      <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="240px">
         <template slot-scope="{ row }">
           <el-button
             type="primary"
@@ -143,19 +143,10 @@
 import { fecthAuthList, authImportExcel } from '@/api/auth'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import { mapGetters } from 'vuex'
-import { formatDate } from '@/utils'
 import { debounce, downLoadWithATag } from '@/utils/tools'
 export default {
   name: 'ComplexTable',
   components: { Pagination },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       tableKey: 0,

+ 1 - 10
src/views/admin/supplier/index.vue

@@ -98,7 +98,7 @@
           <el-switch v-model="row.shopStatus" @change="handleChangeStatus(row)" />
         </template>
       </el-table-column>
-      <el-table-column label="创建时间" class-name="status-col" width="200px">
+      <el-table-column label="创建时间" class-name="status-col" width="160px">
         <template slot-scope="{ row }">
           <span>{{ row.createTime | formatTime }}</span>
         </template>
@@ -138,19 +138,10 @@ import Pagination from '@/components/Pagination' // secondary package based on e
 import { fetchSupplierList, supplierStatusChange } from '@/api/supplier'
 import { resetPassword } from '@/api/user'
 import { fetchBrandList } from '@/api/brand'
-import { formatDate } from '@/utils'
 
 export default {
   name: 'ComplexTable',
   components: { Pagination },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   // mixins: [scrollTo],
   data() {
     return {

+ 1 - 11
src/views/common/helper/document/index.vue

@@ -42,7 +42,7 @@
       <el-table-column label="序号" :index="indexMethod" type="index" width="80" align="center" />
       <el-table-column label="标题" prop="fileTitle" align="center" />
       <el-table-column label="所属模块" align="center" prop="fileModuleType" />
-      <el-table-column label="创建时间" width="240px" align="center">
+      <el-table-column label="创建时间" width="160px" align="center">
         <template slot-scope="{ row }">
           {{ row.createTime | formatTime }}
         </template>
@@ -130,7 +130,6 @@
 import FileUpload from '@/components/FileUpload'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import openWindow from '@/utils/open-window'
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 import { fetchCourseList, saveCourse, removeCourse } from '@/api/helper'
 // import { getToutesTree, getModuleType } from '@/utils/formatRoutesToModule'
@@ -138,15 +137,6 @@ import { debounce } from '@/utils/tools'
 import { sysMenuTree } from '@/api/system'
 export default {
   components: { Pagination, FileUpload },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
-
   data() {
     return {
       listLoading: false,

+ 1 - 10
src/views/common/helper/video/index.vue

@@ -43,7 +43,7 @@
       <el-table-column label="序号" :index="indexMethod" type="index" width="80" align="center" />
       <el-table-column label="标题" prop="fileTitle" align="center" />
       <el-table-column label="所属模块" align="center" prop="fileModuleType" />
-      <el-table-column label="创建时间" width="240px" align="center">
+      <el-table-column label="创建时间" width="160px" align="center">
         <template slot-scope="{ row }">
           {{ row.createTime | formatTime }}
         </template>
@@ -126,7 +126,6 @@
 import FileUpload from '@/components/FileUpload'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import openWindow from '@/utils/open-window'
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 import { fetchCourseList, saveCourse, removeCourse } from '@/api/helper'
 // import { getToutesTree, getModuleType } from '@/utils/formatRoutesToModule'
@@ -134,14 +133,6 @@ import { debounce } from '@/utils/tools'
 import { sysMenuTree } from '@/api/system'
 export default {
   components: { Pagination, FileUpload },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
 
   data() {
     var validateFileModule = (rule, value, callback) => {

+ 3 - 12
src/views/normal/audit/club/components/club-list.vue

@@ -33,7 +33,7 @@
       <el-table-column label="序号" :index="indexMethod" type="index" width="80" align="center" />
       <el-table-column prop="authParty" label="机构名称" align="center" />
       <el-table-column label="手机号" width="120px" align="center" prop="mobile" />
-      <el-table-column label="审核状态" width="220px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.shopAuditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.shopAuditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -56,13 +56,13 @@
           <span v-else>—</span>
         </template>
       </el-table-column>
-      <el-table-column label="审核时间" width="250px" align="center">
+      <el-table-column label="审核时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span v-if="row.shopAuditStatus !== 2">{{ row.shopAuditTime | formatTime }}</span>
           <span v-else>—</span>
         </template>
       </el-table-column>
-      <el-table-column label="注册时间" width="250px" align="center">
+      <el-table-column label="注册时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span v-if="row.shopAuditStatus !== 2">{{ row.createTime | formatTime }}</span>
           <span v-else>—</span>
@@ -127,18 +127,9 @@
 <script>
 import Pagination from '@/components/Pagination'
 import { fecthAuthList, auditAuth } from '@/api/auth'
-import { formatDate } from '@/utils'
 import { mapGetters, mapMutations } from 'vuex'
 export default {
   components: { Pagination },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   props: {
     shopAuditStatus: {
       type: Number,

+ 3 - 12
src/views/normal/audit/club/components/device-list.vue

@@ -29,7 +29,7 @@
       <el-table-column :index="indexMethod" label="序号" type="index" width="80" align="center" />
       <el-table-column prop="productName" label="设备名称" align="center" />
       <el-table-column prop="snCode" label="设备SN码" align="center" />
-      <el-table-column label="审核状态" width="220px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.shopAuditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.shopAuditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -52,13 +52,13 @@
           <span v-else>—</span>
         </template>
       </el-table-column>
-      <el-table-column label="审核时间" width="250px" align="center">
+      <el-table-column label="审核时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span v-if="row.shopAuditStatus !== 2">{{ row.shopAuditTime | formatTime }}</span>
           <span v-else>—</span>
         </template>
       </el-table-column>
-      <el-table-column label="注册时间" width="250px" align="center">
+      <el-table-column label="注册时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span v-if="row.shopAuditStatus !== 2">{{ row.createTime | formatTime }}</span>
           <span v-else>—</span>
@@ -92,17 +92,8 @@
 <script>
 import Pagination from '@/components/Pagination'
 import { getProdList } from '@/api/product'
-import { formatDate } from '@/utils'
 export default {
   components: { Pagination },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   props: {
     shopAuditStatus: {
       type: Number,

+ 1 - 11
src/views/normal/club/device-cate.vue

@@ -79,7 +79,7 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="创建时间" class-name="status-col" width="300px" align="center">
+      <el-table-column label="创建时间" class-name="status-col" width="160px" align="center">
         <template slot-scope="{ row }">
           <span>{{ row.createTime | formatTime }}</span>
         </template>
@@ -132,7 +132,6 @@
 import PermissionButton from '@/views/components/PermissionButton'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import UploadImage from '@/components/UploadImage'
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 import { createProductCate, fetchProductCateList, removeProductCate, updateProductCateStatus } from '@/api/product'
 
@@ -147,15 +146,6 @@ const resetFormData = () => ({
 export default {
   name: 'ComplexTable',
   components: { Pagination, PermissionButton, UploadImage },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
-
   data() {
     return {
       isLoading: false,

+ 3 - 13
src/views/normal/club/device/index.vue

@@ -50,7 +50,7 @@
       <el-table-column label="设备名称" align="center" prop="productName" />
       <el-table-column label="设备SN码" align="center" prop="snCode" />
 
-      <el-table-column label="审核状态" width="220px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -68,7 +68,7 @@
         </template>
       </el-table-column>
 
-      <el-table-column label="上线状态" width="140px" align="center">
+      <el-table-column label="上线状态" width="160px" align="center">
         <template slot-scope="{ row }">
           <!-- 只有审核通过了才能操作上下线 auditStatus :审核状态 -->
           <template v-if="row.auditStatus === 1">
@@ -87,7 +87,7 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="创建时间" class-name="status-col" width="300px" align="center">
+      <el-table-column label="创建时间" class-name="status-col" width="160px" align="center">
         <template slot-scope="{ row }">
           <span>{{ row.createTime | formatTime }}</span>
         </template>
@@ -136,21 +136,11 @@ import PermissionButton from '@/views/components/PermissionButton'
 import { getProdList, setProductStatus, removeProduct } from '@/api/product'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import Qrcode from '@/components/qrcode'
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 import { setStorage } from '@/utils/storage'
 export default {
   name: 'ComplexTable',
   components: { Pagination, Qrcode, PermissionButton },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
-
   data() {
     return {
       authParty: '',

+ 9 - 16
src/views/normal/club/index.vue

@@ -53,7 +53,7 @@
 
       <el-table-column label="机构名称" align="center" prop="authParty" />
 
-      <el-table-column label="审核状态" width="160px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -71,7 +71,7 @@
         </template>
       </el-table-column>
 
-      <el-table-column label="上线状态" width="260px" align="center">
+      <el-table-column label="上线状态" width="160px" align="center">
         <template slot-scope="{ row }">
           <!-- 只有审核通过了才能操作上下线 auditStatus :审核状态 -->
           <template v-if="row.auditStatus === 1">
@@ -91,24 +91,26 @@
         </template>
       </el-table-column>
 
-      <el-table-column label="创建时间" class-name="status-col" width="200px">
+      <el-table-column label="创建时间" class-name="status-col" width="160px">
         <template slot-scope="{ row }">
           <span>{{ row.createTime | formatTime }}</span>
         </template>
       </el-table-column>
 
-      <el-table-column label="创建人" class-name="status-col" width="160px" prop="createBy" />
-      <el-table-column label="操作" align="center" width="540px" class-name="small-padding fixed-width">
+      <el-table-column label="创建人" class-name="status-col" width="180px" prop="createBy" />
+      <el-table-column label="操作" align="center" width="500px" class-name="small-padding fixed-width">
         <template slot-scope="{ row }">
           <permission-button type="primary" size="mini" @click="$_navigationTo(`club-edit?type=edit&id=${row.authId}`)">
             编辑
           </permission-button>
           <permission-button type="danger" size="mini" @click="handleRemoveAuth(row)"> 删除 </permission-button>
           <permission-button type="primary" size="mini" @click="$_navigationTo(`device-list?id=${row.authId}`)">
-            查看设备认证
+            设备认证
           </permission-button>
           <permission-button type="primary" size="mini" @click="createClubQrcode(row)"> 二维码 </permission-button>
-          <permission-button type="primary" size="mini" @click="cotyClubLink($event, row)"> 复制链接 </permission-button>
+          <permission-button type="primary" size="mini" @click="cotyClubLink($event, row)">
+            复制链接
+          </permission-button>
           <permission-button
             type="primary"
             size="mini"
@@ -183,20 +185,11 @@ import Qrcode from '@/components/qrcode/club-qrcode.vue'
 import { fecthAuthList, saveBrandAuth, changeAuthStatus, removeAuth, authImportExcel } from '@/api/auth'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import { mapGetters } from 'vuex'
-import { formatDate } from '@/utils'
 import { debounce, downLoadWithATag } from '@/utils/tools'
 import handleClipboard from '@/utils/clipboard'
 export default {
   name: 'ComplexTable',
   components: { Pagination, FileUpload, PermissionButton, Qrcode },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       showQRcode: false,

+ 2 - 11
src/views/normal/club/user/index-temp.vue

@@ -50,7 +50,7 @@
           <el-tag v-if="row.status === 2" size="small" type="danger">已过期</el-tag>
         </template>
       </el-table-column>
-      <el-table-column label="添加时间" width="200px" align="center">
+      <el-table-column label="添加时间" width="160px" align="center">
         <template slot-scope="{row}">
           <span>{{ row.addTime | formatTime }}</span>
         </template>
@@ -73,7 +73,7 @@
           <span v-else>—</span>
         </template>
       </el-table-column>
-      <el-table-column label="绑定时间" width="200px" align="center">
+      <el-table-column label="绑定时间" width="160px" align="center">
         <template slot-scope="{row}">
           <span v-if="row.bindTime">{{ row.bindTime | formatTime }}</span>
           <span v-else>—</span>
@@ -94,19 +94,10 @@
 <script>
 import PermissionButton from '@/views/components/PermissionButton'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 import { getAuthUserList, makeGenerate, unbindGenerate, updateGenerate } from '@/api/auth'
 export default {
   components: { Pagination, PermissionButton },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       total: 0,

+ 1 - 10
src/views/normal/club/user/index.vue

@@ -35,7 +35,7 @@
           <span v-else>—</span>
         </template>
       </el-table-column>
-      <el-table-column label="添加时间" width="200px" align="center">
+      <el-table-column label="添加时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span>{{ row.addTime | formatTime }}</span>
         </template>
@@ -98,7 +98,6 @@
 <script>
 import PermissionButton from '@/views/components/PermissionButton'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 import { createClubUser, getAuthUserList, removeClubUser } from '@/api/auth'
 import { isMobile } from '@/utils/validate'
@@ -112,14 +111,6 @@ const resetFormData = () => ({
 
 export default {
   components: { Pagination, PermissionButton },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     const validateMobile = (rule, value, callback) => {
       console.log(value)

+ 3 - 12
src/views/normal/feedback/index.vue

@@ -44,7 +44,7 @@
             <el-form-item label="手机号:">
               <span>{{ row.mobile }}</span>
             </el-form-item>
-            <el-form-item label="提交时间:">
+            <el-form-item label="提交时间:" width="160px">
               <span>{{ row.commitTime | formatTime }}</span>
             </el-form-item>
             <el-form-item label="处理状态:">
@@ -70,7 +70,7 @@
           <span class="content">{{ row.content }}</span>
         </template>
       </el-table-column>
-      <el-table-column label="提交时间" width="180px" align="center">
+      <el-table-column label="提交时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span v-if="row.auditStatus !== 2">{{ row.commitTime | formatTime }}</span>
           <span v-else>—</span>
@@ -88,7 +88,7 @@
           <span v-else>—</span>
         </template>
       </el-table-column>
-      <el-table-column label="处理时间" width="180px" align="center">
+      <el-table-column label="处理时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span v-if="row.handleStatus === 1">{{ row.handleTime | formatTime }}</span>
           <span v-else>—</span>
@@ -121,19 +121,10 @@
 <script>
 import PermissionButton from '@/views/components/PermissionButton'
 import Pagination from '@/components/Pagination'
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 import { getFeedbackList } from '@/api/auth'
 export default {
   components: { Pagination, PermissionButton },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       listLoading: false,

+ 5 - 14
src/views/normal/material/article/index.vue

@@ -43,10 +43,10 @@
     >
       <el-table-column label="序号" :index="indexMethod" type="index" width="80" align="center" />
       <el-table-column label="文章标题" prop="articleTitle" align="center" />
-      <el-table-column label="文章头图" width="200" align="center">
+      <el-table-column label="文章头图" width="100px" align="center">
         <template slot-scope="{ row }"> <el-image style="width: 50px; height: 50px" :src="row.articleImage" /></template>
       </el-table-column>
-      <el-table-column label="审核状态" width="180px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -63,7 +63,7 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="上线状态" width="180px" align="center">
+      <el-table-column label="上线状态" width="160px" align="center">
         <template slot-scope="{ row }">
           <!-- 只有审核通过了才能操作上下线 auditStatus :审核状态 -->
           <template v-if="row.auditStatus === 1">
@@ -82,12 +82,12 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="创建时间" width="240px" align="center">
+      <el-table-column label="创建时间" width="160px" align="center">
         <template slot-scope="{ row }">
           {{ row.createTime | formatTime }}
         </template>
       </el-table-column>
-      <el-table-column label="操作" width="240px" align="center">
+      <el-table-column label="操作" width="180px" align="center">
         <template slot-scope="{ row }">
           <permission-button
             type="primary"
@@ -118,19 +118,10 @@
 <script>
 import PermissionButton from '@/views/components/PermissionButton'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 import { changeArticleStatus, getArticleList, removeArticle } from '@/api/doc'
 export default {
   components: { Pagination, PermissionButton },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       listLoading: false,

+ 3 - 12
src/views/normal/material/file/index.vue

@@ -43,7 +43,7 @@
     >
       <el-table-column label="序号" :index="indexMethod" type="index" width="80" align="center" />
       <el-table-column label="文件标题" prop="fileTitle" align="center" />
-      <el-table-column label="审核状态" width="180px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -60,7 +60,7 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="上线状态" width="180px" align="center">
+      <el-table-column label="上线状态" width="160px" align="center">
         <template slot-scope="{ row }">
           <!-- 只有审核通过了才能操作上下线 auditStatus :审核状态 -->
           <template v-if="row.auditStatus === 1">
@@ -79,7 +79,7 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="创建时间" width="240px" align="center">
+      <el-table-column label="创建时间" width="160px" align="center">
         <template slot-scope="{ row }">
           {{ row.createTime | formatTime }}
         </template>
@@ -154,20 +154,11 @@
 import PermissionButton from '@/views/components/PermissionButton'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import UploadFile from '@/components/UploadFile'
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 import { changeFileStatus, getFileList, removeFile, saveFile } from '@/api/doc'
 import openWindow from '@/utils/open-window'
 export default {
   components: { Pagination, UploadFile, PermissionButton },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       listLoading: false, // 列表加载

+ 3 - 12
src/views/normal/material/image/index.vue

@@ -84,7 +84,7 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="上线状态" width="180px" align="center">
+      <el-table-column label="上线状态" width="160px" align="center">
         <template slot-scope="{row}">
           <!-- 只有审核通过了才能操作上下线 auditStatus :审核状态 -->
           <template v-if="row.auditStatus === 1">
@@ -103,12 +103,12 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="创建时间" width="240px" align="center">
+      <el-table-column label="创建时间" width="160px" align="center">
         <template slot-scope="{row}">
           {{ row.createTime | formatTime }}
         </template>
       </el-table-column>
-      <el-table-column label="操作" width="240px" align="center">
+      <el-table-column label="操作" width="180px" align="center">
         <template slot-scope="{row}">
           <permission-button type="primary" size="mini" style="margin-right:5px" @click="$_navigationTo(`image-edit?type=edit&imageId=${row.imageId}`)">编辑</permission-button>
           <permission-button type="danger" size="mini" style="margin-right:5px" @click="handleRemoveImage(row)">删除</permission-button>
@@ -123,19 +123,10 @@
 <script>
 import PermissionButton from '@/views/components/PermissionButton'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 import { changeImageStatus, getImageList, removeImage } from '@/api/doc'
 export default {
   components: { Pagination, PermissionButton },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       listLoading: false,

+ 4 - 13
src/views/normal/material/package/index.vue

@@ -43,7 +43,7 @@
     >
       <el-table-column label="序号" :index="indexMethod" type="index" width="80" align="center" />
       <el-table-column label="资料包标题" prop="fileTitle" align="center" />
-      <el-table-column label="审核状态" width="180px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -60,7 +60,7 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="上线状态" width="180px" align="center">
+      <el-table-column label="上线状态" width="160px" align="center">
         <template slot-scope="{ row }">
           <!-- 只有审核通过了才能操作上下线 auditStatus :审核状态 -->
           <template v-if="row.auditStatus === 1">
@@ -79,12 +79,12 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="创建时间" width="240px" align="center">
+      <el-table-column label="创建时间" width="160px" align="center">
         <template slot-scope="{ row }">
           {{ row.createTime | formatTime }}
         </template>
       </el-table-column>
-      <el-table-column label="操作" width="280px" align="center">
+      <el-table-column label="操作" width="180px" align="center">
         <template slot-scope="{ row }">
           <permission-button
             type="primary"
@@ -148,20 +148,11 @@
 import PermissionButton from '@/views/components/PermissionButton'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import UploadFile from '@/components/UploadFile'
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 import { changeFileStatus, getFileList, removeFile, saveFile } from '@/api/doc'
 import openWindow from '@/utils/open-window'
 export default {
   components: { Pagination, UploadFile, PermissionButton },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       listLoading: false, // 列表加载

+ 3 - 12
src/views/normal/material/video/index.vue

@@ -43,7 +43,7 @@
     >
       <el-table-column label="序号" :index="indexMethod" type="index" width="80" align="center" />
       <el-table-column label="视频标题" prop="videoTitle" align="center" />
-      <el-table-column label="审核状态" width="180px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -60,7 +60,7 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="上线状态" width="180px" align="center">
+      <el-table-column label="上线状态" width="160px" align="center">
         <template slot-scope="{ row }">
           <!-- 只有审核通过了才能操作上下线 auditStatus :审核状态 -->
           <template v-if="row.auditStatus === 1">
@@ -79,7 +79,7 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="创建时间" width="240px" align="center">
+      <el-table-column label="创建时间" width="160px" align="center">
         <template slot-scope="{ row }">
           {{ row.createTime | formatTime }}
         </template>
@@ -175,20 +175,11 @@
 <script>
 import PermissionButton from '@/views/components/PermissionButton'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 import { getToken } from '@/utils/auth'
 import { changeVideoStatus, getVideoList, removeVideo, saveVideo } from '@/api/doc'
 export default {
   components: { Pagination, PermissionButton },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       dialogPreviewVisible: false,

+ 3 - 12
src/views/normal/personnel/operate/index.vue

@@ -43,7 +43,7 @@
       <el-table-column label="操作医师姓名" align="center" prop="doctorName" />
       <el-table-column label="从业资格证编号" align="center" prop="certificateNo" />
 
-      <el-table-column label="审核状态" width="220px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -61,7 +61,7 @@
         </template>
       </el-table-column>
 
-      <el-table-column label="上线状态" width="140px" align="center">
+      <el-table-column label="上线状态" width="160px" align="center">
         <template slot-scope="{ row }">
           <!-- 只有审核通过了才能操作上下线 auditStatus :审核状态 -->
           <template v-if="row.auditStatus === 1">
@@ -84,7 +84,7 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="创建时间" class-name="status-col" width="300px" align="center">
+      <el-table-column label="创建时间" class-name="status-col" width="160px" align="center">
         <template slot-scope="{ row }">
           <span>{{ row.createTime | formatTime }}</span>
         </template>
@@ -117,19 +117,10 @@
 import PermissionButton from '@/views/components/PermissionButton'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import { mapGetters } from 'vuex'
-import { formatDate } from '@/utils'
 import { fetchDoctorList, removeDoctor, doctorStatusChange } from '@/api/doctor'
 
 export default {
   components: { Pagination, PermissionButton },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       listLoading: false,

+ 3 - 12
src/views/normal/personnel/training/index.vue

@@ -43,7 +43,7 @@
       <el-table-column label="操作医师姓名" align="center" prop="doctorName" />
       <el-table-column label="从业资格证编号" align="center" prop="certificateNo" />
 
-      <el-table-column label="审核状态" width="220px" align="center">
+      <el-table-column label="审核状态" width="120px" align="center">
         <template slot-scope="{ row }">
           <el-tag v-if="row.auditStatus === 2" size="small" type="warning">待审核</el-tag>
           <el-tag v-if="row.auditStatus === 1" size="small" type="success">审核通过</el-tag>
@@ -61,7 +61,7 @@
         </template>
       </el-table-column>
 
-      <el-table-column label="上线状态" width="140px" align="center">
+      <el-table-column label="上线状态" width="160px" align="center">
         <template slot-scope="{ row }">
           <!-- 只有审核通过了才能操作上下线 auditStatus :审核状态 -->
           <template v-if="row.auditStatus === 1">
@@ -84,7 +84,7 @@
           </template>
         </template>
       </el-table-column>
-      <el-table-column label="创建时间" class-name="status-col" width="300px" align="center">
+      <el-table-column label="创建时间" class-name="status-col" width="160px" align="center">
         <template slot-scope="{ row }">
           <span>{{ row.createTime | formatTime }}</span>
         </template>
@@ -117,19 +117,10 @@
 import PermissionButton from '@/views/components/PermissionButton'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
 import { mapGetters } from 'vuex'
-import { formatDate } from '@/utils'
 import { fetchDoctorList, removeDoctor, doctorStatusChange } from '@/api/doctor'
 
 export default {
   components: { Pagination, PermissionButton },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     return {
       listLoading: false,

+ 2 - 11
src/views/normal/user/index.vue

@@ -48,7 +48,7 @@
           <span v-else>—</span>
         </template>
       </el-table-column>
-      <el-table-column label="注册时间" width="200px" align="center">
+      <el-table-column label="注册时间" width="160px" align="center">
         <template slot-scope="{ row }">
           <span>{{ row.addTime | formatTime }}</span>
         </template>
@@ -65,7 +65,7 @@
           <span v-else>—</span>
         </template>
       </el-table-column>
-      <el-table-column label="状态" width="240px" align="center">
+      <el-table-column label="状态" width="160px" align="center">
         <template slot-scope="{ row }">
           <template v-if="row.status === 0">
             <span style="margin-right: 10px" class="status danger">停用</span>
@@ -118,7 +118,6 @@
 <script>
 import PermissionButton from '@/views/components/PermissionButton'
 import Pagination from '@/components/Pagination' // secondary package based on el-pagination
-import { formatDate } from '@/utils'
 import { mapGetters } from 'vuex'
 import { authUserStatusChange, createClubUser, getAuthUserList, resetClubUserPassword } from '@/api/auth'
 import { isMobile } from '@/utils/validate'
@@ -131,14 +130,6 @@ const resetFormData = () => ({
 
 export default {
   components: { Pagination, PermissionButton },
-  filters: {
-    formatTime(time) {
-      if (!time) {
-        return ''
-      }
-      return formatDate(time, 'yyyy-MM-DD HH:mm:ss')
-    }
-  },
   data() {
     const validateMobile = (rule, value, callback) => {
       console.log(value)