mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-07 20:33:28 +00:00
update
This commit is contained in:
parent
768fffa8f0
commit
cafe42297e
8 changed files with 33 additions and 16 deletions
|
@ -57,7 +57,7 @@ const LIST: AppRouteRecordRaw = {
|
|||
name: 'Sat',
|
||||
component: () => import('@/views/list/sat/index.vue'),
|
||||
meta: {
|
||||
locale: '卫星写入',
|
||||
locale: '星历写入',
|
||||
requiresAuth: true,
|
||||
roles: ['*'],
|
||||
},
|
||||
|
|
|
@ -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="快捷备份">
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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'},
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue