Ver Fonte

temp save

liujq há 4 anos atrás
pai
commit
26868bb092

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/index.html


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/static/js/chunk-571eafae.1f81923c.js


Diff do ficheiro suprimidas por serem muito extensas
+ 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:
         //   [

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff