From 493f816e3c728f206a3f3fa9a7bae2259a19c48c Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Tue, 20 Aug 2024 22:48:08 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E6=B3=A8=E9=87=8A=E5=BA=8F=E5=88=97?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 2 +- src/api/tunnelManage.js | 5 +- src/views/device-manage/index.vue | 91 +++++++++++++++---------------- src/views/edit/edit.vue | 30 +++++----- 4 files changed, 64 insertions(+), 64 deletions(-) diff --git a/.drone.yml b/.drone.yml index 47b6292..a75a175 100644 --- a/.drone.yml +++ b/.drone.yml @@ -66,7 +66,7 @@ steps: # 将deployment中定义的变量替换为drone中的内置变量 - cat deployment.yml # 通过kubectl指令运行deployment.yml,并指定授权文件kubectl_conf.yml - - kubectl apply -f deployment.yml -n pro --kubeconfig=/app/config/tunnel-cloud-config.yml + - kubectl apply -f deployment.yml -n test --kubeconfig=/app/config/tunnel-cloud-config.yml volumes: - name: build diff --git a/src/api/tunnelManage.js b/src/api/tunnelManage.js index 981862e..a6d2c59 100644 --- a/src/api/tunnelManage.js +++ b/src/api/tunnelManage.js @@ -56,12 +56,13 @@ export const editEquipment = (data) => { data }) } -export const getEquipmentSerialNumberOptions = (tunnelId) => { +export const getEquipmentSerialNumberOptions = (tunnelId,equipmentId) => { return request({ url: '/tunnel/tunnel/serialnumber/options', method: 'get', params:{ - tunnelId:tunnelId + tunnelId:tunnelId, + equipmentId:equipmentId } }) } diff --git a/src/views/device-manage/index.vue b/src/views/device-manage/index.vue index c8bdbfe..63ad8fa 100644 --- a/src/views/device-manage/index.vue +++ b/src/views/device-manage/index.vue @@ -76,19 +76,19 @@ @change="changeFanData(scope.row)"> - - - - - - - - - - - - - + + + - - - - - - - - - - - - - + + + - - - - - - - - - - - - - + + +