lzhe
2024-06-14 963a2313f4f8959715293d38f69894078150d508
src/views/dnc/craft/document/index.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2024-05-26 16:12:09
 * @LastEditors: Sneed
 * @LastEditTime: 2024-06-11 22:28:01
 * @LastEditTime: 2024-06-13 00:04:32
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/dnc/craft/document/index.vue
-->
<!--
@@ -72,7 +72,8 @@
                                        工艺包所在目录:{{ info.sourcePath }}
                                    </el-col>
                                    <el-col :span="24" style="margin: 14px 0;">
                                        <Children :list="list" @delete="searchFile"></Children>
                                        <Children @success="success" :list="list" @delete="searchFile" :id="info.id">
                                        </Children>
                                    </el-col>
                                </el-row>
                            </el-col>
@@ -344,7 +345,7 @@
            this.row = row
        },
        dataChange(data) {
            console.log(data)
            console.log(data, '>>>>>>>>dataChange')
            this.rowClick(data.data.records[0])
        },
        rowClick(row) {
@@ -352,11 +353,12 @@
            this.$HTTP.get(`/api/blade-dnc/dnc-art-bag/get/${row.id}`).then(res => {
                if (res.success) {
                    this.info = res.data
                    this.searchFile()
                } else {
                    this.info = {}
                }
            })
            this.searchFile()
        },
        searchFile() {
            this.$HTTP.get(`/api/blade-dnc/dnc-art-file/list?artBagId=${this.info.id}`).then(res => {
@@ -370,6 +372,9 @@
        },
        search() {
        },
        success() {
            this.searchFile()
        }
    }
}