gaosp
2024-01-13 c53d6a6f30e8db258b9629dfae1f1fab759b9a86
src/container/workshop/device.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2024-01-13 20:46:33
 * @LastEditors: Sneed
 * @LastEditTime: 2024-01-13 21:37:22
 * @LastEditTime: 2024-01-13 22:39:16
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/workshop/device.vue
-->
<template>
@@ -45,10 +45,11 @@
<script>
import { getRequest,getUrl } from '@/api/Api'
export default {
    props: ['item'],
    props: ['id'],
    data () {
        return {
            care: false,
            item: {}
        }
    },
    methods: {
@@ -57,6 +58,9 @@
            getRequest('machineConcern',{concern: val ? 1 : 0,id: this.item.id}).then(res => {
                console.log(res)
            })
        },
        getInfo () {
            this.item = {}
        }
    },
}