【修改】取消用户账号
This commit is contained in:
@@ -116,21 +116,23 @@ export default {
|
|||||||
customRender: function (t, r, index) {
|
customRender: function (t, r, index) {
|
||||||
return parseInt(index) + 1
|
return parseInt(index) + 1
|
||||||
}
|
}
|
||||||
}, {
|
|
||||||
title: '用户账号',
|
|
||||||
align: 'center',
|
|
||||||
dataIndex: 'username',
|
|
||||||
scopedSlots: {customRender: 'text'}
|
|
||||||
}, {
|
|
||||||
title: '用户姓名',
|
|
||||||
align: 'center',
|
|
||||||
dataIndex: 'name'
|
|
||||||
}, {
|
}, {
|
||||||
title: '企业名称',
|
title: '企业名称',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'companyName',
|
dataIndex: 'companyName',
|
||||||
scopedSlots: {customRender: 'text'}
|
scopedSlots: {customRender: 'text'}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '用户姓名',
|
||||||
|
align: 'center',
|
||||||
|
dataIndex: 'name'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '手机号',
|
||||||
|
align: 'center',
|
||||||
|
dataIndex: 'phone',
|
||||||
|
scopedSlots: {customRender: 'text'}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '状态',
|
title: '状态',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -171,10 +173,10 @@ export default {
|
|||||||
id: record.id
|
id: record.id
|
||||||
}
|
}
|
||||||
companyAdminEnable(param).then(res => {
|
companyAdminEnable(param).then(res => {
|
||||||
if(res.success){
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
this.loadData()
|
this.loadData()
|
||||||
}else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,15 +28,15 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
|
||||||
<a-row :gutter="24">
|
<!-- <a-row :gutter="24">-->
|
||||||
<a-col :xl="24" :sm="24">
|
<!-- <a-col :xl="24" :sm="24">-->
|
||||||
<a-form-item label="用户账号" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<!-- <a-form-item label="用户账号" :labelCol="labelCol" :wrapperCol="wrapperCol">-->
|
||||||
<a-input placeholder="请输入用户账号"
|
<!-- <a-input placeholder="请输入用户账号"-->
|
||||||
@change="event => event.target.value = event.target.value.trim()" :maxLength="50"
|
<!-- @change="event => event.target.value = event.target.value.trim()" :maxLength="50"-->
|
||||||
v-decorator="['username',validatorRules.username]"></a-input>
|
<!-- v-decorator="['username',validatorRules.username]"></a-input>-->
|
||||||
</a-form-item>
|
<!-- </a-form-item>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
</a-row>
|
<!-- </a-row>-->
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :xl="24" :sm="24">
|
<a-col :xl="24" :sm="24">
|
||||||
<a-form-item label="手机号" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="手机号" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
|||||||
Reference in New Issue
Block a user