1
李喆(开发组)
2025-05-28 de8719ea8fb7d543bbffe666cd0deb18fd1d060e
src/views/mdc/first-workpiece-process.vue
@@ -2,7 +2,7 @@
 * @Author: lzhe lzhe@example.com
 * @Date: 2024-04-26 09:36:18
 * @LastEditors: lzhe lzhe@example.com
 * @LastEditTime: 2024-11-22 18:45:06
 * @LastEditTime: 2024-12-20 14:52:10
 * @FilePath: /smart-web/src/views/mdc/status-record.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
@@ -17,7 +17,7 @@
                <el-table-column prop="deviceStatus" label="状态"></el-table-column>
            </el-table>
            <el-footer>
                <el-button type="primary">输出</el-button>
                <el-button type="primary" @click="exportBtn">输出</el-button>
            </el-footer>
        </el-card>
    </el-main>
@@ -46,6 +46,13 @@
        this.getTableData();
    },
    methods: {
        exportBtn() {
            this.$HTTP.get(`/api/workinghour/working-process-export?id=${this.$route.query.id}`).then(res => {
                if (res.code == 200) {
                    this.$TOOL.downFile(res.data.link,res.data.originalName);
                }
            })
        },
        getTableData() {
            this.$HTTP.get(`/api/workinghour/working-process`, {id: this.$route.query.id}).then(res => {
                if (res.code === 200) {