feat: TR069绑定业务信息和解绑业务信息

master
李小林 10 months ago
parent 00716a2f63
commit e96f84d7f9
  1. 2
      src/api/service/types.ts
  2. 8
      src/views/login/index.vue
  3. 5
      src/views/resources/tr069/components/BindingService.vue
  4. 4
      src/views/resources/tr069/components/Tr069Service.vue
  5. 2
      src/views/resources/tr069/index.vue

@ -1,5 +1,3 @@
import { DeviceServiceVO } from "@/api/device-type-ver/types";
export interface ServiceVO {
servId?: number;
servName?: string;

@ -100,7 +100,7 @@
import { useSettingsStore, useUserStore, useAppStore } from "@/store";
import { getCaptchaApi } from "@/api/auth";
import { LoginData } from "@/api/auth/types";
import { Sunny, Moon } from "@element-plus/icons-vue";
import { Sunny, Moon, Lock } from "@element-plus/icons-vue";
import { LocationQuery, LocationQueryValue, useRoute } from "vue-router";
import router from "@/router";
import defaultSettings from "@/settings";
@ -221,11 +221,7 @@ const toggleTheme = () => {
*/
watchEffect(() => {
if (height.value < 600) {
icpVisible.value = false;
} else {
icpVisible.value = true;
}
icpVisible.value = height.value >= 600;
});
/**

@ -44,10 +44,7 @@
</template>
<script setup lang="ts">
import {
bindingTr069Service,
noBindingServiceList,
} from "@/api/service";
import { bindingTr069Service, noBindingServiceList } from "@/api/service";
import { ServiceVO } from "@/api/service/types";
import { Position } from "@element-plus/icons-vue";
const route = useRoute();

@ -37,7 +37,9 @@
@confirm="removeBinding(scope.row.servId)"
>
<template #reference>
<el-button type="primary" :icon="CloseBold" link>解除绑定</el-button>
<el-button type="primary" :icon="CloseBold" link
>解除绑定</el-button
>
</template>
</el-popconfirm>
</template>

@ -102,7 +102,7 @@ import { getTr069Page } from "@/api/tr069";
import { downloadFileApi } from "@/api/file";
import { downloadHook } from "@/utils";
import AddTr069File from "@/views/resources/tr069/components/AddTr069File.vue";
import { Pointer, View } from "@element-plus/icons-vue";
import { View } from "@element-plus/icons-vue";
defineOptions({
name: "Tr069",
inheritAttrs: false,

Loading…
Cancel
Save