From cb897aaeed0f3a24f91dc4265b8ff0d2b31284c6 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期日, 23 四月 2023 17:35:00 +0800 Subject: [PATCH] Merge pull request #829 from kairlec/wvp-28181-2.0 --- web_src/src/components/DeviceList.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/DeviceList.vue b/web_src/src/components/DeviceList.vue index e15f340..bff0d1d 100644 --- a/web_src/src/components/DeviceList.vue +++ b/web_src/src/components/DeviceList.vue @@ -25,11 +25,13 @@ </el-table-column> <el-table-column prop="manufacturer" label="鍘傚" min-width="120" > </el-table-column> + <el-table-column prop="transport" label="淇′护浼犺緭妯″紡" min-width="120" > + </el-table-column> <el-table-column label="娴佷紶杈撴ā寮�" min-width="160" > <template slot-scope="scope"> <el-select size="mini" @change="transportChange(scope.row)" v-model="scope.row.streamMode" placeholder="璇烽�夋嫨" style="width: 120px"> <el-option key="UDP" label="UDP" value="UDP"></el-option> - <el-option key="TCP-ACTIVE" label="TCP涓诲姩妯″紡" :disabled="true" value="TCP-ACTIVE"></el-option> + <el-option key="TCP-ACTIVE" label="TCP涓诲姩妯″紡" value="TCP-ACTIVE"></el-option> <el-option key="TCP-PASSIVE" label="TCP琚姩妯″紡" value="TCP-PASSIVE"></el-option> </el-select> </template> @@ -207,7 +209,7 @@ console.log("鍒锋柊瀵瑰簲璁惧:" + itemData.deviceId); let that = this; this.$axios({ - method: 'post', + method: 'get', url: '/api/device/query/devices/' + itemData.deviceId + '/sync' }).then((res) => { console.log("鍒锋柊璁惧缁撴灉锛�" + JSON.stringify(res)); -- Gitblit v1.8.0