Browse Source

取消用户操作

lrf 1 year ago
parent
commit
9c7fbfdf7f
1 changed files with 4 additions and 5 deletions
  1. 4 5
      src/views/user/index.vue

+ 4 - 5
src/views/user/index.vue

@@ -1,16 +1,15 @@
 <template>
   <div id="index">
     <detail-frame :title="pageTitle" v-if="view == 'list'">
-      <el-row type="flex" justify="end" align="middle">
+      <!-- <el-row type="flex" justify="end" align="middle">
         <el-col :span="4">
           <el-button type="primary" size="small" @click="dialog = true">添加管理员用户</el-button>
         </el-col>
-      </el-row>
+      </el-row> -->
       <data-table
         v-if="!loading"
         :fields="fields"
         :data="list"
-        :opera="opera"
         :total="total"
         :toFormat="toFormat"
         @query="search"
@@ -109,8 +108,8 @@ export default {
       fields: [
         { label: '用户名', prop: 'name', filter: true },
         { label: '登录名', prop: 'mobile' },
-        { label: '密码', prop: 'passwd' },
-        { label: '是否绑定微信', prop: 'openid', custom: true },
+        // { label: '密码', prop: 'passwd' },
+        // { label: '是否绑定微信', prop: 'openid', custom: true },
         { label: '角色', prop: 'type', format: true, filter: 'select' },
         { label: '备注', prop: 'remark' },
         { label: '状态', prop: 'status', format: i => (i !== '2' ? '使用中' : '冻结') },