|
@@ -104,17 +104,21 @@ export default {
|
|
|
},
|
|
|
async cop () {
|
|
|
let _that = this
|
|
|
+ console.log("11")
|
|
|
var MyComponent = await Vue.extend({
|
|
|
template: localStorage.getItem('excelHtml'),
|
|
|
data () {
|
|
|
return {
|
|
|
- formData: {}
|
|
|
+ formData: {},
|
|
|
+ getTokenHeader: {}
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
getInformation (name, tr, td) {//鼠标右键事件
|
|
|
_that.getInformation(name, tr, td)
|
|
|
},
|
|
|
+ formUploadSuccess(){},
|
|
|
+ formUploadExceed(){},
|
|
|
}
|
|
|
})
|
|
|
var component = new MyComponent().$mount()
|
|
@@ -122,11 +126,13 @@ export default {
|
|
|
},
|
|
|
async copss () {
|
|
|
let _that = this
|
|
|
+ console.log("22")
|
|
|
var MyComponent = await Vue.extend({
|
|
|
template: localStorage.getItem('excelHtml'),
|
|
|
data () {
|
|
|
return {
|
|
|
- formData: {}
|
|
|
+ formData: {},
|
|
|
+ getTokenHeader: {}
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -146,6 +152,7 @@ export default {
|
|
|
domss () {
|
|
|
this.copss()
|
|
|
},
|
|
|
+
|
|
|
getInformation (name, tr, td) {//鼠标点击事件
|
|
|
this.htmlData = {
|
|
|
name,
|
|
@@ -202,6 +209,29 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+// 设置图片样式
|
|
|
+.hc-upload-table-form {
|
|
|
+ position: relative;
|
|
|
+ height: 100%;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+.hc-upload-table-form .el-upload {
|
|
|
+ position: relative;
|
|
|
+ flex: 1;
|
|
|
+ height: 100%;
|
|
|
+ color: #ccc;
|
|
|
+}
|
|
|
+.hc-upload-table-form .el-upload .hc-table-form-icon {
|
|
|
+ font-size: 24px;
|
|
|
+ font-weight: 100;
|
|
|
+}
|
|
|
+.hc-upload-table-form .el-upload .hc-table-form-img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
</style>
|
|
|
|
|
|
|