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: {
+ 确认 + 取消 +