diff --git a/src/views/modules/base/smartExcel/cpts/data-excel.vue b/src/views/modules/base/smartExcel/cpts/data-excel.vue new file mode 100644 index 000000000..dd509b640 --- /dev/null +++ b/src/views/modules/base/smartExcel/cpts/data-excel.vue @@ -0,0 +1,375 @@ + + + \ No newline at end of file diff --git a/src/views/modules/base/smartExcel/cpts/data-sharing.vue b/src/views/modules/base/smartExcel/cpts/data-sharing.vue index baee7b0d9..5fdeb79ae 100644 --- a/src/views/modules/base/smartExcel/cpts/data-sharing.vue +++ b/src/views/modules/base/smartExcel/cpts/data-sharing.vue @@ -2,13 +2,16 @@
- - @@ -31,7 +34,7 @@ + title="上传共享数据" namewidth="950px" top="5vh" class="dialog-h" @closed="closeAdd">
@@ -40,7 +43,7 @@
- +
- - - + + - - + + + +
将文件拖到此处,或点击上传 +
支持扩展名:.xls,.xlsx
+
+ +
- - + + - - + + - + - + - + @@ -80,7 +73,7 @@
- +
@@ -117,9 +110,9 @@ import pictureCollection from "./cpts/picture-collection.vue" import * as echarts from "echarts"; import pictureAdd from './cpts/picture-add.vue' - import uploaddDataAdd from "./cpts/upload-data-add.vue" + import uploadDataAdd from "./cpts/upload-data-add.vue" export default { - components: { exportShared,dataSharing,pictureCollection,shareExcel,pictureAdd,uploaddDataAdd}, + components: { exportShared,dataSharing,pictureCollection,shareExcel,pictureAdd,uploadDataAdd}, data() { @@ -229,6 +222,7 @@ methods: { closeUpdataAdd(){ this.showUpdate=false + this.$refs.dataSharing.getTableData() }, handeleUpdate(){ console.log("东方军事对抗疗法"); @@ -333,6 +327,16 @@ this.formData.taskTitle=this.name this.getTableData() } + else if (this.selectedIndex===1) { + console.log(this.name,"sdfkl;sd"); + // this.formData.taskTitle=this.name + this.$nextTick(() => { + console.log("dsfjsdklf"); + this.$refs.dataSharing.formData.name=this.name; + this.$refs.dataSharing.getTableData(); + }); + + } },