|
@ -43,29 +43,29 @@ |
|
|
<div class="right"> |
|
|
<div class="right"> |
|
|
<ns-view-list-table v-bind="tableConfig" :model="data" ref="mainRef" class="table" /> |
|
|
<ns-view-list-table v-bind="tableConfig" :model="data" ref="mainRef" class="table" /> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<a-drawer |
|
|
<a-drawer |
|
|
:width="1200" |
|
|
:width="1200" |
|
|
:visible="visible" |
|
|
:visible="visible" |
|
|
:body-style="{ paddingBottom: '80px' }" |
|
|
:body-style="{ paddingBottom: '80px' }" |
|
|
:footer-style="{ textAlign: 'right' }" |
|
|
:footer-style="{ textAlign: 'right' }" |
|
|
@close="onClose"> |
|
|
@close="onClose"> |
|
|
<ns-form :schemas="formSchema" :model="formData" class="form" /> |
|
|
<ns-form :schemas="formSchema" :model="formData" class="form" /> |
|
|
<span class="admin">用户权限</span> |
|
|
<span class="admin">用户权限</span> |
|
|
<ns-view-list-table v-bind="tableConfig2" :model="data" ref="mainRef" rowKey="uuid" /> |
|
|
<ns-view-list-table v-bind="tableConfig2" :model="data" ref="mainRef" rowKey="uuid" /> |
|
|
<a-button style="margin-right: 8px" @click="onClose">取消</a-button> |
|
|
<a-button style="margin-right: 8px" @click="onClose">取消</a-button> |
|
|
<a-button type="primary" @click="onEdit">确定</a-button> |
|
|
<a-button type="primary" @click="onEdit">确定</a-button> |
|
|
</a-drawer> |
|
|
</a-drawer> |
|
|
|
|
|
|
|
|
|
|
|
<a-modal |
|
|
<a-modal |
|
|
title="用户信息" |
|
|
title="用户信息" |
|
|
:width="600" |
|
|
:width="600" |
|
|
:visible="addformvisible" |
|
|
:visible="addformvisible" |
|
|
cancelText="取消" |
|
|
cancelText="取消" |
|
|
@ok="handleOk" |
|
|
@ok="handleOk" |
|
|
@cancel="handleClose"> |
|
|
@cancel="handleClose"> |
|
|
<ns-form :schemas="formSchema2" :model="formData2" /> |
|
|
<ns-form :schemas="formSchema2" :model="formData2" /> |
|
|
</a-modal> |
|
|
</a-modal> |
|
|
|
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
<script lang="ts"> |
|
|
<script lang="ts"> |
|
|
import { Modal } from 'ant-design-vue'; |
|
|
import { Modal } from 'ant-design-vue'; |
|
@ -223,7 +223,6 @@ |
|
|
{ |
|
|
{ |
|
|
title: '序号', |
|
|
title: '序号', |
|
|
dataIndex: 'address', |
|
|
dataIndex: 'address', |
|
|
width: 80, |
|
|
|
|
|
customRender: (text: any) => { |
|
|
customRender: (text: any) => { |
|
|
return text.index + 1; |
|
|
return text.index + 1; |
|
|
}, |
|
|
}, |
|
@ -651,10 +650,14 @@ |
|
|
.left { |
|
|
.left { |
|
|
width: 400px; |
|
|
width: 400px; |
|
|
/* height: 95vh; */ |
|
|
/* height: 95vh; */ |
|
|
height: 92.7vh; |
|
|
// height: 92.7vh; |
|
|
border-right: 5px solid rgb(229, 235, 240); |
|
|
border-right: 5px solid rgb(229, 235, 240); |
|
|
min-width: fit-content; |
|
|
min-width: fit-content; |
|
|
} |
|
|
} |
|
|
|
|
|
.right { |
|
|
|
|
|
flex: 1; |
|
|
|
|
|
overflow: auto; |
|
|
|
|
|
} |
|
|
.top { |
|
|
.top { |
|
|
height: 46vh; |
|
|
height: 46vh; |
|
|
border-bottom: 5px solid rgb(229, 235, 240); |
|
|
border-bottom: 5px solid rgb(229, 235, 240); |
|
|