This commit is contained in:
Silent YANG 2024-05-01 10:14:21 +08:00
parent 768fffa8f0
commit cafe42297e
8 changed files with 33 additions and 16 deletions

View File

@ -57,7 +57,7 @@ const LIST: AppRouteRecordRaw = {
name: 'Sat',
component: () => import('@/views/list/sat/index.vue'),
meta: {
locale: '星写入',
locale: '写入',
requiresAuth: true,
roles: ['*'],
},

View File

@ -5,7 +5,7 @@
<a-col :span="24">
<a-card class="general-card">
<template #title>
<span @click="()=>{state.showHide += 1}">备份/还原</span>
<span @click="()=>{state.showHide += 1}">备份/还原手台应在开机状态下</span>
</template>
<a-tabs default-active-key="1">
<a-tab-pane key="1" title="快捷备份">

View File

@ -5,14 +5,24 @@
<a-col :span="24">
<a-card class="general-card">
<template #title>
<span @click="()=>{state.showHide += 1}">字库写入</span>
<span @click="()=>{state.showHide += 1}">字库写入手台应在开机状态下</span>
</template>
<a-space>
<a-button @click="restore(1)">写入 117 字库</a-button>
<a-button @click="restore(2)">写入 118+ 字库</a-button>
<!-- <a-button @click="restore(3)">写入 118+ 字库H</a-button> -->
<a-button @click="restore(4)">写入拼音检索表2Mbit EEPROM可用</a-button>
<!-- <a-button v-show="state.showHide >= 5" @click="restore(5)">写入拼音检索表测试</a-button> -->
<t-card bordered>
<template #header>
117 版本 LOSEHU 固件写入
</template>
<a-button @click="restore(1)">写入 117 字库</a-button>
</t-card>
<t-card bordered>
<template #header>
LOSEHU H版固件需同时写入字库及索引表K版只需写入字库
</template>
<a-space>
<a-button @click="restore(2)">写入 118+ 字库</a-button>
<a-button @click="restore(4)">写入拼音检索表</a-button>
</a-space>
</t-card>
</a-space>
<a-divider />
<div id="statusArea" style="height: 20em; background-color: azure; color: silver; overflow: auto; padding: 20px" v-html="state.status"></div>

View File

@ -3,7 +3,7 @@
<Breadcrumb :items="['小工具', '固件升级']" />
<a-row :gutter="20" align="stretch">
<a-col :span="24">
<a-card class="general-card" title="固件升级">
<a-card class="general-card" title="固件升级(手台应在刷机模式下)">
<a-space>
<a-button @click="selectFile">{{ state.binaryFile ? state.binaryName : '选择固件' }}</a-button>
<a-button type="primary" :disabled="!state.binaryFile" @click="flashIt">更新</a-button>

View File

@ -4,7 +4,7 @@
<a-row :gutter="20" align="stretch">
<a-col :span="24">
<a-spin :loading="state.loading" tip="写入中..." style="width: 100%;">
<a-card class="general-card" title="开机图片">
<a-card class="general-card" title="开机图片(手台应在开机状态下)">
<a-row :gutter="20">
<a-col :span="4" v-for="i in [
{ name: '罗狮虎', url: '/img1.png'},

View File

@ -9,10 +9,10 @@
上传经纬度信息将被服务器缓存十分钟
</div>
</a-modal>
<Breadcrumb :items="['小工具', '星写入']" />
<Breadcrumb :items="['小工具', '写入']" />
<a-row :gutter="20" align="stretch">
<a-col :span="24">
<a-card class="general-card" title="星写入">
<a-card class="general-card" title="写入(手台应在开机状态下)">
<a-spin :loading="loading" style="width: 100%;" tip="正在处理 ...">
<a-form-item :label-col-style="{ width: '25%' }" field="dt" label="浏览器时间" @click="()=>{state.showHide += 1}">
{{ state.dt }}

View File

@ -1,7 +1,10 @@
<template>
<div class="container">
<Breadcrumb :items="['写频', '信道管理']" />
<a-card class="general-card" title="信道管理">
<a-card class="general-card">
<template #title>
<span @click="()=>{istate.showHide += 1}">信道管理手台应在开机状态下</span>
</template>
<a-row style="margin-bottom: 16px">
<a-col :span="12">
<a-space>
@ -21,9 +24,9 @@
</a-col>
<a-col :span="12" style="text-align: right;">
<a-space>
<a-dropdown>
<a-dropdown v-if="istate.showHide >= 5">
<a-button>
保存/加载即将废弃<icon-down />
保存/加载废弃<icon-down />
</a-button>
<template #content>
<a-button style="width: 200px; margin: 10px; margin-bottom: 0px;" type="primary" @click="saveChannel">
@ -148,6 +151,10 @@
nowPage: 1,
})
const istate = reactive({
showHide: 0
})
const onDragSort = (params: any) => {
cstate.renderData = params.newData
}

View File

@ -3,7 +3,7 @@
<Breadcrumb :items="['小工具', '设置管理']" />
<a-row :gutter="20" align="stretch">
<a-col :span="24">
<a-card class="general-card" title="设置管理">
<a-card class="general-card" title="设置管理(手台应在开机状态下)">
<a-row style="margin-bottom: 16px">
<a-col :span="12">
<a-space>