fix some thing

main
chenshuichuan 1 year ago
parent 2fedf94894
commit d171725541

@ -12,6 +12,8 @@ const prefixCls = getPrefixCls('footer')
const appStore = useAppStore()
const title = computed(() => appStore.getTitle)
const docsUrl = computed(() => appStore.getDocsUrl)
</script>
<template>
@ -19,6 +21,7 @@ const title = computed(() => appStore.getTitle)
:class="prefixCls"
class="h-[var(--app-footer-height)] bg-[var(--app-content-bg-color)] text-center leading-[var(--app-footer-height)] text-[var(--el-text-color-placeholder)] dark:bg-[var(--el-bg-color)]"
>
<span class="text-14px">Copyright ©2024-BESURE-{{ title }}</span>
<span class="text-14px">Copyright ©2024-BESURE-{{ title }}&nbsp;&nbsp;</span>
<el-link type="success" :href="docsUrl" target="_blank">操作手册</el-link>
</div>
</template>

@ -36,6 +36,7 @@ interface AppState {
footer: boolean
theme: ThemeTypes
fixedMenu: boolean
docsUrl: string
}
export const useAppStore = defineStore('app', {
@ -64,6 +65,7 @@ export const useAppStore = defineStore('app', {
footer: true, // 显示页脚
greyMode: false, // 是否开始灰色模式,用于特殊悼念日
fixedMenu: wsCache.get('fixedMenu') || false, // 是否固定菜单
docsUrl: "http://47.106.185.127:8088/", //操作手册地址
layout: wsCache.get(CACHE_KEY.LAYOUT) || 'classic', // layout布局
isDark: wsCache.get(CACHE_KEY.IS_DARK) || false, // 是否是暗黑模式
@ -155,6 +157,9 @@ export const useAppStore = defineStore('app', {
getTitle(): string {
return this.title
},
getDocsUrl(): string {
return this.docsUrl
},
getUserInfo(): string {
return this.userInfo
},

@ -272,6 +272,6 @@ export enum DICT_TYPE {
IOT_DEVICE_DATA_TYPE = "iot_device_data_type",
IOT_PROXY_SERVER_STATUS = "iot_proxy_server_status",
IOT_DEVICE_USE_TYPE = "iot_device_use_type",
IOT_ATTRIBUTE_IO_TYPE = "iot_attribute_io_type",
IOT_ALERT_TYPE = "iot_alert_type",
}

@ -105,7 +105,7 @@
<el-input-number
v-model="row.productPrice"
controls-position="right"
:min="0.01"
:min="0.00"
:precision="2"
class="!w-100%"
/>

@ -105,7 +105,7 @@
<el-input-number
v-model="row.productPrice"
controls-position="right"
:min="0.01"
:min="0.00"
:precision="2"
class="!w-100%"
/>

@ -105,7 +105,7 @@
<el-input-number
v-model="row.productPrice"
controls-position="right"
:min="0.01"
:min="0.00"
:precision="2"
class="!w-100%"
/>

@ -109,7 +109,7 @@
<el-input-number
v-model="row.productPrice"
controls-position="right"
:min="0.01"
:min="0.00"
:precision="2"
class="!w-100%"
/>

@ -94,7 +94,7 @@
<el-input-number
v-model="row.productPrice"
controls-position="right"
:min="0.01"
:min="0.00"
:precision="2"
class="!w-100%"
/>

@ -117,7 +117,7 @@
<el-input-number
v-model="row.productPrice"
controls-position="right"
:min="0.01"
:min="0.00"
:precision="2"
class="!w-100%"
/>

@ -94,7 +94,7 @@
<el-input-number
v-model="row.productPrice"
controls-position="right"
:min="0.01"
:min="0.00"
:precision="2"
class="!w-100%"
/>

@ -186,4 +186,4 @@ const resetForm = () => {
}
formRef.value?.resetFields()
}
</script>
</script>

@ -93,7 +93,7 @@
<el-input-number
v-model="row.productPrice"
controls-position="right"
:min="0.01"
:min="0.00"
:precision="2"
class="!w-100%"
/>

@ -63,9 +63,9 @@
<dict-tag :type="DICT_TYPE.SYSTEM_LOGIN_TYPE" :value="scope.row.logType" />
</template>
</el-table-column>
<el-table-column label="用户名称" align="center" prop="username" width="180" />
<el-table-column label="用户名称" align="center" prop="username" width="150" />
<el-table-column label="登录地址" align="center" prop="userIp" width="180" />
<el-table-column label="浏览器" align="center" prop="userAgent" />
<el-table-column label="浏览器" align="center" prop="userAgent" width="180"/>
<el-table-column label="登陆结果" align="center" prop="result">
<template #default="scope">
<dict-tag :type="DICT_TYPE.SYSTEM_LOGIN_RESULT" :value="scope.row.result" />

Loading…
Cancel
Save