pref: 网元快速安装页面重构

This commit is contained in:
TsMask
2024-05-07 10:33:52 +08:00
parent ed4d556384
commit 0cae26a1ee
15 changed files with 117 additions and 3288 deletions

View File

@@ -59,66 +59,3 @@ export function fnToStepName(stepName: string) {
stepState.stepName = stepName;
}
// import { reactive } from 'vue';
// /**步骤信息状态类型 */
// type StepStateType = {
// /**当前选中 */
// current: number;
// /**步骤项 */
// steps: {
// title: string;
// description: string;
// }[];
// /**步骤下一步 */
// stepNext: boolean;
// /**步骤信息状态 */
// states: any[];
// };
// /**步骤信息状态 */
// export const stepState: StepStateType = reactive({
// current: 0,
// steps: [
// {
// title: '网元信息',
// description: '网元基础信息',
// },
// {
// title: '网元安装',
// description: '执行安装启动服务等待10秒停止服务',
// },
// {
// title: '网元配置',
// description: '修改网元的配置文件',
// },
// {
// title: '网元激活',
// description: '获取激活码和上传授权文件',
// },
// {
// title: '完成安装',
// description: '获取网元服务状态',
// },
// ],
// stepNext: false,
// states: [],
// });
// /**步骤信息状态复位 */
// export function fnRestStepState() {
// stepState.current = 0;
// stepState.stepNext = false;
// stepState.states = [];
// }
// export function fnStepNext() {
// stepState.current++;
// stepState.stepNext = false;
// }
// export function fnStepPrev() {
// stepState.current--;
// stepState.stepNext = true;
// }