From a4e20f0f503644c70ed0f33fdc1d41a39b462003 Mon Sep 17 00:00:00 2001 From: lin <648540858@qq.com> Date: Mon, 21 Jul 2025 18:01:44 +0800 Subject: [PATCH] =?UTF-8?q?[1078]=20=E4=BC=98=E5=8C=96=E7=BB=88=E7=AB=AF?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=9F=A5=E8=AF=A2=E5=92=8C=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jtDevice/deviceParam/cameraTimer.vue | 3 + .../views/jtDevice/deviceParam/carInfo.vue | 89 +++++++++++++++++++ .../views/jtDevice/deviceParam/gnssParam.vue | 89 +++++++++++++++++++ web/src/views/jtDevice/deviceParam/index.vue | 10 ++- 4 files changed, 190 insertions(+), 1 deletion(-) create mode 100755 web/src/views/jtDevice/deviceParam/carInfo.vue create mode 100755 web/src/views/jtDevice/deviceParam/gnssParam.vue diff --git a/web/src/views/jtDevice/deviceParam/cameraTimer.vue b/web/src/views/jtDevice/deviceParam/cameraTimer.vue index f87bb3272..b8662ee06 100755 --- a/web/src/views/jtDevice/deviceParam/cameraTimer.vue +++ b/web/src/views/jtDevice/deviceParam/cameraTimer.vue @@ -63,6 +63,9 @@ export default { this.isLoading = true this.$store.dispatch('jtDevice/queryConfig', this.phoneNumber) .then((data) => { + if (!data.cameraTimer) { + data.cameraTimer = {} + } this.form = data }) .catch((e) => { diff --git a/web/src/views/jtDevice/deviceParam/carInfo.vue b/web/src/views/jtDevice/deviceParam/carInfo.vue new file mode 100755 index 000000000..6ca611d05 --- /dev/null +++ b/web/src/views/jtDevice/deviceParam/carInfo.vue @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 确认 + 取消 + + + + + + diff --git a/web/src/views/jtDevice/deviceParam/gnssParam.vue b/web/src/views/jtDevice/deviceParam/gnssParam.vue new file mode 100755 index 000000000..6ca611d05 --- /dev/null +++ b/web/src/views/jtDevice/deviceParam/gnssParam.vue @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 确认 + 取消 + + + + + + diff --git a/web/src/views/jtDevice/deviceParam/index.vue b/web/src/views/jtDevice/deviceParam/index.vue index 4cc2f726c..f9c75c3bd 100755 --- a/web/src/views/jtDevice/deviceParam/index.vue +++ b/web/src/views/jtDevice/deviceParam/index.vue @@ -36,6 +36,12 @@ + + + + + + @@ -51,11 +57,13 @@ import cameraTimer from './cameraTimer.vue' import imageConfig from './imageConfig.vue' import videoParam from './videoParam.vue' import awakenParam from './awakenParam.vue' +import carInfo from './carInfo.vue' +import gnssParam from './gnssParam.vue' export default { name: 'JTDeviceParam', components: { - communication, server, position, phoneNumber, alarm, driving, cameraTimer, imageConfig, videoParam, awakenParam + communication, server, position, phoneNumber, alarm, driving, cameraTimer, imageConfig, videoParam, awakenParam, carInfo, gnssParam }, props: { phoneNumber: {
+ 确认 + 取消 +