代码优化
This commit is contained in:
parent
399b067bdf
commit
2de641d81d
|
|
@ -8,22 +8,15 @@ export {}
|
|||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Breadcrumb: typeof import('./src/components/Breadcrumb/index.vue')['default']
|
||||
ElBadge: typeof import('element-plus/es')['ElBadge']
|
||||
ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
|
||||
ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
|
||||
ElButton: typeof import('element-plus/es')['ElButton']
|
||||
ElCarousel: typeof import('element-plus/es')['ElCarousel']
|
||||
ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem']
|
||||
ElCascader: typeof import('element-plus/es')['ElCascader']
|
||||
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
|
||||
ElCol: typeof import('element-plus/es')['ElCol']
|
||||
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
|
||||
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
|
||||
ElDialog: typeof import('element-plus/es')['ElDialog']
|
||||
ElEmpty: typeof import('element-plus/es')['ElEmpty']
|
||||
ElForm: typeof import('element-plus/es')['ElForm']
|
||||
ElFormItem: typeof import('element-plus/es')['ElFormItem']
|
||||
ElHeader: typeof import('element-plus/es')['ElHeader']
|
||||
ElIcon: typeof import('element-plus/es')['ElIcon']
|
||||
ElImage: typeof import('element-plus/es')['ElImage']
|
||||
ElInput: typeof import('element-plus/es')['ElInput']
|
||||
|
|
@ -34,12 +27,8 @@ declare module 'vue' {
|
|||
ElPagination: typeof import('element-plus/es')['ElPagination']
|
||||
ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm']
|
||||
ElProgress: typeof import('element-plus/es')['ElProgress']
|
||||
ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
|
||||
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
|
||||
ElRow: typeof import('element-plus/es')['ElRow']
|
||||
ElSelect: typeof import('element-plus/es')['ElSelect']
|
||||
ElStep: typeof import('element-plus/es')['ElStep']
|
||||
ElSteps: typeof import('element-plus/es')['ElSteps']
|
||||
ElTable: typeof import('element-plus/es')['ElTable']
|
||||
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
|
||||
ElTag: typeof import('element-plus/es')['ElTag']
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ VITE_API_URL = '/proxyApi'
|
|||
# 开发环境接口地址
|
||||
# VITE_proxyTarget = 'http://10.40.92.74:8080' #盛旭
|
||||
|
||||
# VITE_proxyTarget = 'http://192.168.2.246:28080' # 马帅
|
||||
VITE_proxyTarget = 'http://192.168.2.246:28080' # 马帅
|
||||
# VITE_proxyTarget = 'http://192.168.2.123:28080' # 梁超
|
||||
VITE_proxyTarget = 'http://192.168.0.244:28580' # 测试服务
|
||||
# VITE_proxyTarget = 'http://192.168.0.244:28580' # 测试服务
|
||||
# VITE_proxyTarget = 'http://192.168.2.129:18080' # 马帅
|
||||
|
||||
# VITE_proxyTarget = 'http://10.40.92.185:9206' # 赵福海 ( 设备类型)
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 77 KiB |
|
|
@ -851,7 +851,7 @@ const handleRemove = (list: any, index: Number) => {
|
|||
</el-table-column>
|
||||
<el-table-column prop="name" label="操作" min-width="160px" align="center">
|
||||
<template #default="{ row }">
|
||||
<el-button size="small" @click="previewRowInfo(row)">查看</el-button>
|
||||
<el-button type="primary" size="small" @click="previewRowInfo(row)">查看</el-button>
|
||||
<el-button
|
||||
v-if="row.maStatus == 0 || row.maStatus == 1"
|
||||
size="small"
|
||||
|
|
@ -862,16 +862,16 @@ const handleRemove = (list: any, index: Number) => {
|
|||
</el-button>
|
||||
<el-button
|
||||
v-if="row.maStatus == 2"
|
||||
size="mini"
|
||||
type="warning"
|
||||
size="small"
|
||||
type="primary"
|
||||
@click="handleUpdateUpDown(row, 1)"
|
||||
>
|
||||
下架
|
||||
</el-button>
|
||||
<el-button
|
||||
v-if="row.maStatus == 1"
|
||||
size="mini"
|
||||
type="warning"
|
||||
size="small"
|
||||
type="primary"
|
||||
@click="handleUpdateUpDown(row, 2)"
|
||||
>
|
||||
上架
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -740,7 +740,7 @@ const confirmFail = async (index: number) => {
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<el-empty v-else description="暂无数据" />
|
||||
<el-empty v-else />
|
||||
<PagingComponent
|
||||
v-if="total > 0"
|
||||
@getList="getList"
|
||||
|
|
@ -1144,4 +1144,12 @@ const confirmFail = async (index: number) => {
|
|||
margin-right: 6px;
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
.empty-container {
|
||||
background: url('@/assets/img/empty_bg.png') no-repeat;
|
||||
width: 300px;
|
||||
height: 60px !important;
|
||||
background-color: skyblue;
|
||||
z-index: 9999;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -954,7 +954,7 @@ const handleViewWord = () => {
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<el-empty v-else description="暂无数据" />
|
||||
<el-empty v-else />
|
||||
<PagingComponent
|
||||
v-if="total > 0"
|
||||
@getList="getList"
|
||||
|
|
|
|||
Loading…
Reference in New Issue