Commit 72f11819 authored by 王's avatar

班级列表用户备注页面调整

parent 27860f1b
......@@ -186,11 +186,16 @@
{{ scope.row.is_add_teacher === 0 ? '否' : '是'}}
</template>
</el-table-column>
<el-table-column label="操作" v-if="!$store.state.readonly" width="480">
<el-table-column
label="意向等级">
<template slot-scope="scope">
{{ scope.row.weight}}
</template>
</el-table-column>
<el-table-column label="操作" width="320">
<template slot-scope="scope">
<el-button type="warning" size="mini" @click="editComment(scope.row.id)" v-if="!$store.state.readonly">备注</el-button>
<el-button type="warning" size="mini" @click="editPrivilege(scope.row)" v-if="!$store.state.readonly">编辑</el-button>
<el-button type="primary" size="mini" @click="onGetUserDescList(scope.row)" v-if="!$store.state.readonly">查看备注</el-button>
<el-button type="warning" size="mini" @click="editPrivilege(scope.row)">编辑</el-button>
<el-button type="primary" size="mini" @click="onGetUserDescList(scope.row)">备注</el-button>
<el-button type="primary" size="mini" @click="userLook(scope.row)" v-if="!$store.state.readonly">看课情况</el-button>
<el-button type="danger" size="mini" @click="onDel(scope.row)" v-if="$store.state.deletePermission && !$store.state.readonly">删除</el-button>
</template>
......@@ -369,6 +374,11 @@
</span>
</el-dialog>
<el-dialog :modal="false" :visible.sync="descDialog.show" title="备注列表">
<el-form label-width="90px">
<el-form-item>
<el-button style="float: right" type="primary" plain @click="editComment(descDialog.id)">添加备注</el-button>
</el-form-item>
</el-form>
<el-table
:data="descDialog.descList"
style="width: 100%">
......@@ -773,7 +783,7 @@
type: 'success',
message: '编辑备注成功'
})
this.initPage();
this.getUserDescList();
});
})
},
......
......@@ -46,10 +46,6 @@
prop="mobile"
label="手机号">
</el-table-column>
<el-table-column
prop="level"
label="等级">
</el-table-column>
<el-table-column
prop="created_at"
label="注册时间">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment