This commit is contained in:
qianlishi
2021-12-13 11:15:56 +08:00
parent 95fd2b0b27
commit a1651c07bd
2 changed files with 4 additions and 14 deletions

View File

@@ -783,20 +783,6 @@ export default {
this.queryParams.pageSize = val;
this.handleQueryPageList();
},
// table列文件缩略图
thumbnailUrl(row, field) {
// return 'http://10.108.3.123:9090/tms/file/download/79ee7e8b-2a9a-4142-b06d-706ac8089205'
// if (row.filePath) {
// if (row.filePath.endsWith('xlsx') || row.filePath.endsWith('xls')) {
// return fileExcel;
// } else if (row.filePath.endsWith('pdf')) {
// return filePdf;
// }
// return process.env.VUE_APP_BASE_API + '/tms/file/download/' + row.fileId;
// } else {
// return logo;
// }
},
// 带单位的列,需要转换
fieldLabel(columnConfig) {
let objUnitText = "";
@@ -828,6 +814,7 @@ export default {
},
// 带单位的输入框
fieldValueByAnjiInput(value, columnConfig) {
console.log(1);
const localStorageUnit = this.getSettingByName("unit_conversion");
let objUnitConversion = "";
let objUnitKeepPoint = "";

View File

@@ -356,6 +356,9 @@ export default {
};
</script>
<style lang="scss" scoped>
.el-select {
width: 100%;
}
.el-select-dropdown__item.selected {
text-align: center;
}