{"remainingRequest":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\saftyTraining\\components\\CmgtSaftyTrainingRecordDetailChildTable.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\saftyTraining\\components\\CmgtSaftyTrainingRecordDetailChildTable.vue","mtime":1686644562585},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/web.dom.iterable\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport dictContracts from '@/components/dict/DictSelectUtils.js';\nimport CommonApi from '@/views/Manage/CommonApi.js';\nexport default {\n name: 'CmgtSaftyTrainingRecordDetailChildTable',\n components: {},\n props: {\n tableData: {\n type: Array,\n default: null\n }\n },\n data: function data() {\n return {\n k: 0,\n currnetRow: null\n };\n },\n created: function created() {},\n methods: {\n add: function add() {\n if (this.currnetRow) {\n this.currnetRow.isEdit = false;\n }\n\n this.currnetRow = {\n isEdit: true\n };\n this.tableData.push(this.currnetRow);\n this.$refs.singleTable.setCurrentRow(this.tableData[this.tableData.length - 1]); // this.$nextTick(() => {\n // this.$refs.singleTable.bodyWrapper.scrollTop = this.$refs.singleTable.bodyWrapper.scrollHeight\n // })\n },\n del: function del(index, row) {\n this.tableData.splice(index, 1);\n },\n tableCurrentChange: function tableCurrentChange(row) {\n if (this.currnetRow) {\n this.currnetRow.isEdit = false;\n }\n\n row.isEdit = true;\n this.currnetRow = row;\n this.k++;\n },\n tableHeaderClick: function tableHeaderClick(col) {\n if (!(col.index && col.index === 999)) {\n this.tableData.forEach(function (item) {\n item.isEdit = false;\n });\n this.currnetRow = null;\n }\n }\n }\n};",null]}