From 97dc926b282575de59ba1e97c567c9b890936927 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期一, 18 三月 2024 17:41:49 +0800 Subject: [PATCH] 调整ptzType字段名称 --- web_src/src/components/channelList.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web_src/src/components/channelList.vue b/web_src/src/components/channelList.vue index 24f4946..a62805b 100755 --- a/web_src/src/components/channelList.vue +++ b/web_src/src/components/channelList.vue @@ -100,9 +100,9 @@ <span v-show="!scope.row.edit">{{ scope.row.location }}</span> </template> </el-table-column> - <el-table-column prop="ptztype" label="浜戝彴绫诲瀷" min-width="100"> + <el-table-column prop="ptzType" label="浜戝彴绫诲瀷" min-width="100"> <template v-slot:default="scope"> - <el-select v-show="scope.row.edit" v-model="scope.row.ptztype" + <el-select v-show="scope.row.edit" v-model="scope.row.ptzType" placeholder="浜戝彴绫诲瀷" filterable> <el-option v-for="(value, key) in ptzTypes" @@ -111,7 +111,7 @@ :value="key" /> </el-select> - <div v-show="!scope.row.edit">{{ scope.row.ptztypeText }}</div> + <div v-show="!scope.row.edit">{{ scope.row.ptzTypeText }}</div> </template> </el-table-column> <el-table-column label="寮�鍚煶棰�" min-width="100"> @@ -312,7 +312,7 @@ that.total = res.data.data.total; that.deviceChannelList = res.data.data.list; that.deviceChannelList.forEach(e => { - e.ptztype = e.ptztype + ""; + e.ptzType = e.ptzType + ""; that.$set(e, "edit", false); that.$set(e, "location", ""); if (e.longitude && e.latitude) { @@ -460,7 +460,7 @@ this.total = res.data.data.total; this.deviceChannelList = res.data.data.list; this.deviceChannelList.forEach(e => { - e.ptztype = e.ptztype + ""; + e.ptzType = e.ptzType + ""; this.$set(e, "edit", false); this.$set(e, "location", ""); if (e.longitude && e.latitude) { -- Gitblit v1.8.0