|
|
@ -182,6 +182,7 @@ import {
|
|
|
|
|
|
|
|
|
|
|
|
import {useI18n} from 'vue-i18n';
|
|
|
|
import {useI18n} from 'vue-i18n';
|
|
|
|
import Cookies from "js-cookie";
|
|
|
|
import Cookies from "js-cookie";
|
|
|
|
|
|
|
|
import {parseTime} from "@/utils/ruoyi";
|
|
|
|
|
|
|
|
|
|
|
|
const {t} = useI18n();
|
|
|
|
const {t} = useI18n();
|
|
|
|
|
|
|
|
|
|
|
@ -309,7 +310,8 @@ const bindSearch = () => {
|
|
|
|
const bindOk = () => {
|
|
|
|
const bindOk = () => {
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
deviceId: bindValue.value,
|
|
|
|
deviceId: bindValue.value,
|
|
|
|
id: waitBind.value
|
|
|
|
id: waitBind.value,
|
|
|
|
|
|
|
|
deviceBindTime:parseTime(new Date(), '{y}-{m}-{d}')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
updateBaseCar(params).then(() => {
|
|
|
|
updateBaseCar(params).then(() => {
|
|
|
|
bindValue.value = '';
|
|
|
|
bindValue.value = '';
|
|
|
|