gaosp
2024-01-16 522048130f147c2e8fbfb2798bfa83f3da5b4eed
src/container/maintenance/index.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2024-01-06 17:40:19
 * @LastEditors: Sneed
 * @LastEditTime: 2024-01-14 18:55:28
 * @LastEditTime: 2024-01-16 22:23:01
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/maintenance/index.vue
-->
<template>
@@ -113,7 +113,7 @@
                </el-table-column>
            </template>
        </List>
        <DailyMAddD ref="dailyMAddD" @reflash="submitForm" :styleValue="getStyle" :styleName="navName" :departmentlist="departmentlist" :machineList="machineList" :userList="userList"></DailyMAddD>
        <DailyMAddD ref="dailyMAddD" @reflash="submitForm" :styleValue="queryInfo.style" :styleName="navName" :departmentlist="departmentlist" :machineList="machineList" :userList="userList"></DailyMAddD>
    </div>
</template>
<script>
@@ -131,9 +131,11 @@
            let names = ['日常保养','一级保养','二级保养','三级保养']
         return names[this.$route.params.style-1]
        },
      getStyle () {
         return this.$route.params.style;
    },
    watch: {
        $route () {
            this.queryInfo.style = this.$route.params.style
            this.query()
        }
    },
    data() {
@@ -144,7 +146,7 @@
            queryInfo: {
                uuid: '',
                machineName: '',
            style: this.$route.params.style,
            style: 1,
                type: '',
                specification: '',
                department: '',