浏览代码

temp save

liujq 4 年之前
父节点
当前提交
26868bb092
共有 4 个文件被更改,包括 2 次插入10 次删除
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/js/chunk-571eafae.1f81923c.js
  3. 0 0
      dist/static/js/chunk-571eafae.84406cc0.js
  4. 2 10
      src/views/user/app.vue

文件差异内容过多而无法显示
+ 0 - 0
dist/index.html


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-571eafae.1f81923c.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-571eafae.84406cc0.js


+ 2 - 10
src/views/user/app.vue

@@ -12,27 +12,18 @@
       :page-size="pageSize"
       :total-records="totalRecords"
       @currentChange="pageHandle"
-      :isAdd="true"
-      @add="openPopup"
-    />
-    <popup-edit
-      :isShow="isDtlShow"
-      :curObj="curObj"
-      @close="closePopup"
     />
   </div>
 </template>
 <script>
 import { arrToObj } from '@/utils'
 import SearchForm from './components/searchForm/Index'
-import PopupEdit from './components/popup/IndexEdit'
 import baseTable from '_m/baseTable.js'
 import xData from './mixin'
 export default {
   name: 'index',
   components: {
     SearchForm,
-    PopupEdit,
   },
   provide() {
     return {
@@ -53,6 +44,7 @@ export default {
     tableData2() {
       const arr = [...this.tableData]
       arr.map(item => {
+        item.phones = item.phone.substring(0, 7) + '****'
       })
       return arr
     }
@@ -63,7 +55,7 @@ export default {
       rows: [
         { label: '头像', prop: 'avatar', type: 'img' },
         { label: '昵称', prop: 'nickname' },
-        { label: '手机号', prop: 'email' },
+        { label: '手机号', prop: 'phones' },
         { label: '注册时间', prop: 'create_at' },
         // { label: '操作', width: 200, type: 'handle2', operations:
         //   [

部分文件因为文件数量过多而无法显示