qianlishi преди 3 години
родител
ревизия
a1651c07bd
променени са 2 файла, в които са добавени 4 реда и са изтрити 14 реда
  1. 1 14
      report-ui/src/components/AnjiPlus/anji-crud/anji-crud.vue
  2. 3 0
      report-ui/src/components/AnjiPlus/anji-select.vue

+ 1 - 14
report-ui/src/components/AnjiPlus/anji-crud/anji-crud.vue

@@ -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 = "";

+ 3 - 0
report-ui/src/components/AnjiPlus/anji-select.vue

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