cloud-web-corejs 1.0.54-dev.411 → 1.0.54-dev.412

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.411",
4
+ "version": "1.0.54-dev.412",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -4,7 +4,7 @@
4
4
  <div class="tit">
5
5
  <b>{{ title }}</b>
6
6
  </div>
7
- <!-- <div class="tree-form">
7
+ <div class="tree-form" v-if="option.showCategoryFilterArea !== false">
8
8
  <el-input
9
9
  :placeholder="
10
10
  $t2('请输入文件夹名称', 'components.fileLibrary.categoryPlaceholder')
@@ -14,7 +14,7 @@
14
14
  >
15
15
  <el-button slot="append" icon="el-icon-search"></el-button>
16
16
  </el-input>
17
- </div> -->
17
+ </div>
18
18
  <div class="tree-btns" v-if="isCategoryEdit">
19
19
  <el-button
20
20
  type="primary"
@@ -58,7 +58,9 @@
58
58
  @node-click="handleNodeClick"
59
59
  class="tree-list"
60
60
  icon-class="el-icon-arrow-down"
61
- style="height: calc(100vh - 113px)"
61
+ :style="
62
+ option.showCategoryFilterArea === false ? 'height: calc(100vh - 113px)' : ''
63
+ "
62
64
  >
63
65
  <span class="el-tree-node__label" slot-scope="{ node }" v-if="!node.data.moreBtn">
64
66
  <i class="ico-wenjian"></i>
@@ -2,16 +2,15 @@
2
2
  <div id="containt">
3
3
  <fileLibrary :option="fileLibraryOption"></fileLibrary>
4
4
  </div>
5
-
6
5
  </template>
7
6
 
8
7
  <script>
9
- import fileLibrary from '@base/components/fileLibrary/index';
8
+ import fileLibrary from "@base/components/fileLibrary/index";
10
9
 
11
10
  export default {
12
- name: 'ledger_library:list',
11
+ name: "ledger_library:list",
13
12
  components: {
14
- fileLibrary
13
+ fileLibrary,
15
14
  },
16
15
  data() {
17
16
  return {
@@ -19,12 +18,11 @@ export default {
19
18
  isCategoryEdit: true,
20
19
  mouseCheck: true,
21
20
  storeAreaCode: "company_profile2",
22
- current_prefix: USER_PREFIX
23
- }
24
- }
25
- }
26
- }
27
-
21
+ current_prefix: USER_PREFIX,
22
+ showCategoryFilterArea: false,
23
+ },
24
+ };
25
+ },
26
+ };
28
27
  </script>
29
- <style scoped>
30
- </style>
28
+ <style scoped></style>