소스 검색

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:
         //   [

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.