更新 ui
This commit is contained in:
parent
27ecd0a45e
commit
7c83fcf310
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "dm-admin",
|
||||
"name": "beefast-admin",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
||||
@ -1,18 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<title>闪兔到家后台管理系统</title>
|
||||
<link rel="stylesheet" href="https://a.amap.com/jsapi_demos/static/demo-center/css/demo-center.css" />
|
||||
<script type="text/javascript">
|
||||
window._AMapSecurityConfig = {
|
||||
securityJsCode: '93527b49270ba2142f47f0407da7c0d6'
|
||||
}
|
||||
</script>
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title>蜂快到家后台管理系统</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but 蜂快到家后台管理系统 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
||||
@ -2,7 +2,7 @@ import axios from 'axios'
|
||||
import { message } from 'ant-design-vue'
|
||||
|
||||
const request = axios.create({
|
||||
baseURL: 'https://api-dev.ibtc.work',
|
||||
baseURL: 'http://127.0.0.1:8000',
|
||||
timeout: 5000
|
||||
})
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<a-select
|
||||
v-model:value="filterForm.community_id"
|
||||
placeholder="请选择小区"
|
||||
style="width: 200px"
|
||||
style="width: 200px; height: 32px"
|
||||
allowClear
|
||||
@change="handleFilter"
|
||||
>
|
||||
@ -38,11 +38,6 @@
|
||||
@change="handleTableChange"
|
||||
row-key="id"
|
||||
>
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template v-if="column.key === 'create_time'">
|
||||
{{ formatDateTime(record.create_time) }}
|
||||
</template>
|
||||
</template>
|
||||
</a-table>
|
||||
|
||||
<!-- 添加楼栋模态框 -->
|
||||
@ -76,6 +71,7 @@
|
||||
placeholder="请选择小区"
|
||||
:options="communityOptions"
|
||||
:field-names="{ label: 'name', value: 'id' }"
|
||||
style="height: 32px"
|
||||
/>
|
||||
</a-form-item>
|
||||
|
||||
@ -141,12 +137,6 @@ export default defineComponent({
|
||||
dataIndex: 'building_number',
|
||||
key: 'building_number',
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
dataIndex: 'create_time',
|
||||
key: 'create_time',
|
||||
width: 180,
|
||||
}
|
||||
]
|
||||
|
||||
@ -366,20 +356,20 @@ export default defineComponent({
|
||||
|
||||
:deep(.ant-input),
|
||||
:deep(.ant-select) {
|
||||
height: 40px;
|
||||
height: 32px !important;
|
||||
}
|
||||
|
||||
:deep(.ant-select-selector) {
|
||||
height: 40px !important;
|
||||
padding: 4px 11px !important;
|
||||
|
||||
.ant-select-selection-search-input {
|
||||
height: 38px !important;
|
||||
}
|
||||
|
||||
.ant-select-selection-item {
|
||||
line-height: 38px !important;
|
||||
}
|
||||
height: 32px !important;
|
||||
padding: 0 11px !important;
|
||||
}
|
||||
|
||||
:deep(.ant-select-selection-search-input) {
|
||||
height: 30px !important;
|
||||
}
|
||||
|
||||
:deep(.ant-select-selection-item) {
|
||||
line-height: 30px !important;
|
||||
}
|
||||
|
||||
:deep(.ant-input::placeholder),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user