|
@@ -5,7 +5,7 @@
|
|
|
<a-row>
|
|
<a-row>
|
|
|
<a-col :flex="2"></a-col>
|
|
<a-col :flex="2"></a-col>
|
|
|
<a-col :flex="1">
|
|
<a-col :flex="1">
|
|
|
- <a-form :model="formModel" style="margin-top: 30px">
|
|
|
|
|
|
|
+ <a-form :model="formModel" style="margin-top: 30px">
|
|
|
<a-form-item field="name">
|
|
<a-form-item field="name">
|
|
|
<a-input
|
|
<a-input
|
|
|
v-model="formModel.name"
|
|
v-model="formModel.name"
|
|
@@ -15,7 +15,7 @@
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
</a-form>
|
|
</a-form>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
- <a-col :flex="'200px'" style="text-align: right;margin-top: 30px">
|
|
|
|
|
|
|
+ <a-col :flex="'200px'" style="text-align: right; margin-top: 30px">
|
|
|
<a-button @click="reset" style="margin-right: 20px">
|
|
<a-button @click="reset" style="margin-right: 20px">
|
|
|
<template #icon>
|
|
<template #icon>
|
|
|
<icon-refresh />
|
|
<icon-refresh />
|
|
@@ -92,23 +92,33 @@
|
|
|
/>
|
|
/>
|
|
|
</template>
|
|
</template>
|
|
|
<template #operations="{ record }">
|
|
<template #operations="{ record }">
|
|
|
- <a-button type="outline" @click="operation(1, record)"
|
|
|
|
|
- >重置密码</a-button
|
|
|
|
|
- >
|
|
|
|
|
- <a-button type="outline" @click="operation(2, record)">编辑</a-button>
|
|
|
|
|
- <a-popconfirm
|
|
|
|
|
- content="Are you sure you want to delete?"
|
|
|
|
|
- type="success"
|
|
|
|
|
- @ok="operation(3, record)"
|
|
|
|
|
- >
|
|
|
|
|
- <a-button type="outline">删除</a-button>
|
|
|
|
|
- </a-popconfirm>
|
|
|
|
|
- <a-button type="outline" @click="operation(4, record)"
|
|
|
|
|
- >权限配置</a-button
|
|
|
|
|
- >
|
|
|
|
|
- <a-button type="outline" @click="operation(5, record)"
|
|
|
|
|
- >部门配置</a-button
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <a-space>
|
|
|
|
|
+ <a-button
|
|
|
|
|
+ type="outline"
|
|
|
|
|
+ status="success"
|
|
|
|
|
+ @click="operation(1, record)"
|
|
|
|
|
+ >重置密码</a-button
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-button type="outline" @click="operation(2, record)"
|
|
|
|
|
+ >编辑</a-button
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-popconfirm
|
|
|
|
|
+ content="Are you sure you want to delete?"
|
|
|
|
|
+ type="success"
|
|
|
|
|
+ @ok="operation(3, record)"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-button type="outline" status="danger">删除</a-button>
|
|
|
|
|
+ </a-popconfirm>
|
|
|
|
|
+ <a-button
|
|
|
|
|
+ type="dashed"
|
|
|
|
|
+ status="warning"
|
|
|
|
|
+ @click="operation(4, record)"
|
|
|
|
|
+ >权限配置</a-button
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-button status="success" @click="operation(5, record)"
|
|
|
|
|
+ >部门配置</a-button
|
|
|
|
|
+ >
|
|
|
|
|
+ </a-space>
|
|
|
</template>
|
|
</template>
|
|
|
</a-table>
|
|
</a-table>
|
|
|
</a-card>
|
|
</a-card>
|