|
@@ -78,6 +78,7 @@
|
|
|
:http-request='getFile'
|
|
|
:file-list='fileList'
|
|
|
:on-change='handleChange'
|
|
|
+ :on-remove='handleRemove'
|
|
|
>
|
|
|
<el-button size='small' style='color:#1F2329;'>点击上传</el-button>
|
|
|
</el-upload>
|
|
@@ -228,6 +229,9 @@ export default {
|
|
|
this.deviceList = res.data
|
|
|
})
|
|
|
},
|
|
|
+ handleRemove(file, fileList) {
|
|
|
+ console.log(file, fileList, 'file')
|
|
|
+ },
|
|
|
getFile(file) {
|
|
|
this.file = file.file
|
|
|
var formData = new FormData()
|
|
@@ -564,13 +568,37 @@ export default {
|
|
|
position: absolute;
|
|
|
text-align: center;
|
|
|
}
|
|
|
- /deep/ .p-transfer-left {
|
|
|
- background: yellow;
|
|
|
- width: 325px !important;
|
|
|
- word-break: break-all;
|
|
|
- white-space: normal;
|
|
|
- word-break: break-all;
|
|
|
- word-wrap: break-word;
|
|
|
- }
|
|
|
+}
|
|
|
+</style>
|
|
|
+
|
|
|
+<style >
|
|
|
+.p-select-area {
|
|
|
+ width: 480px !important;
|
|
|
+}
|
|
|
+.p-select-area .p-transfer-left {
|
|
|
+ width: 236px !important;
|
|
|
+}
|
|
|
+.p-tree-node-check .p-tree-node-title .p-tree-node-name {
|
|
|
+ word-break: break-all !important;
|
|
|
+ white-space: normal !important;
|
|
|
+ word-break: break-all !important;
|
|
|
+ word-wrap: break-word !important;
|
|
|
+ height: auto !important;
|
|
|
+ line-height: 25px;
|
|
|
+}
|
|
|
+.p-select-area .p-transfer-right {
|
|
|
+ width: 245px !important;
|
|
|
+}
|
|
|
+
|
|
|
+.p-select-area .p-transfer-right .p-transfer-selected .p-transfer-selected-item > span {
|
|
|
+ word-break: break-all !important;
|
|
|
+ white-space: normal !important;
|
|
|
+ word-break: break-all !important;
|
|
|
+ word-wrap: break-word !important;
|
|
|
+ height: auto !important;
|
|
|
+ line-height: 25px;
|
|
|
+ display: block;
|
|
|
+ width: 225px;
|
|
|
+ padding-right: 3px;
|
|
|
}
|
|
|
</style>
|