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', name: 'Sat',
component: () => import('@/views/list/sat/index.vue'), component: () => import('@/views/list/sat/index.vue'),
meta: { meta: {
locale: '星写入', locale: '写入',
requiresAuth: true, requiresAuth: true,
roles: ['*'], roles: ['*'],
}, },

View file

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

View file

@ -5,14 +5,24 @@
<a-col :span="24"> <a-col :span="24">
<a-card class="general-card"> <a-card class="general-card">
<template #title> <template #title>
<span @click="()=>{state.showHide += 1}">字库写入</span> <span @click="()=>{state.showHide += 1}">字库写入手台应在开机状态下</span>
</template> </template>
<a-space> <a-space>
<t-card bordered>
<template #header>
117 版本 LOSEHU 固件写入
</template>
<a-button @click="restore(1)">写入 117 字库</a-button> <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(2)">写入 118+ 字库</a-button>
<!-- <a-button @click="restore(3)">写入 118+ 字库H</a-button> --> <a-button @click="restore(4)">写入拼音检索表</a-button>
<a-button @click="restore(4)">写入拼音检索表2Mbit EEPROM可用</a-button> </a-space>
<!-- <a-button v-show="state.showHide >= 5" @click="restore(5)">写入拼音检索表测试</a-button> --> </t-card>
</a-space> </a-space>
<a-divider /> <a-divider />
<div id="statusArea" style="height: 20em; background-color: azure; color: silver; overflow: auto; padding: 20px" v-html="state.status"></div> <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="['小工具', '固件升级']" /> <Breadcrumb :items="['小工具', '固件升级']" />
<a-row :gutter="20" align="stretch"> <a-row :gutter="20" align="stretch">
<a-col :span="24"> <a-col :span="24">
<a-card class="general-card" title="固件升级"> <a-card class="general-card" title="固件升级(手台应在刷机模式下)">
<a-space> <a-space>
<a-button @click="selectFile">{{ state.binaryFile ? state.binaryName : '选择固件' }}</a-button> <a-button @click="selectFile">{{ state.binaryFile ? state.binaryName : '选择固件' }}</a-button>
<a-button type="primary" :disabled="!state.binaryFile" @click="flashIt">更新</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-row :gutter="20" align="stretch">
<a-col :span="24"> <a-col :span="24">
<a-spin :loading="state.loading" tip="写入中..." style="width: 100%;"> <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-row :gutter="20">
<a-col :span="4" v-for="i in [ <a-col :span="4" v-for="i in [
{ name: '罗狮虎', url: '/img1.png'}, { name: '罗狮虎', url: '/img1.png'},

View file

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

View file

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

View file

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