@leevan/jtui 2.0.37 → 2.0.38

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.
@@ -132,16 +132,16 @@ import { data1 ,data0} from '../data2';
132
132
  }
133
133
  },
134
134
  created(){
135
- const res = data23();
136
- console.log(res)
137
- this.tableData[0].retjson = res[0].retjson;
135
+ // const res = data23();
136
+ // console.log(res)
137
+ // this.tableData[0].retjson = res[0].retjson;
138
138
  },
139
139
  mounted(){
140
- const res = data23();
141
- let timeId = setTimeout(()=>{
142
- this.$refs.tablePtbg.loadData(res[0].DataArray);
143
- clearTimeout(timeId);
144
- },0)
140
+ // const res = data23();
141
+ // let timeId = setTimeout(()=>{
142
+ // this.$refs.tablePtbg.loadData(res[0].DataArray);
143
+ // clearTimeout(timeId);
144
+ // },0)
145
145
  },
146
146
  methods:{
147
147
  //导出数据
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leevan/jtui",
3
- "version": "2.0.37",
3
+ "version": "2.0.38",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -35,7 +35,7 @@
35
35
  "axios": "^0.19.2",
36
36
  "core-js": "^3.6.4",
37
37
  "echarts": "^4.2.1",
38
- "element-ui": "2.13.2",
38
+ "element-ui": "^2.15.14",
39
39
  "exceljs": "^4.3.0",
40
40
  "moment": "^2.26.0",
41
41
  "node-sass": "^5.0.0",
@@ -43,7 +43,7 @@
43
43
  "vue": "^2.6.11",
44
44
  "vue-furcate-tree": "^1.0.0",
45
45
  "vue-simple-uploader": "^0.7.4",
46
- "vxe-table": "^3.3.12",
46
+ "vxe-table": "^3.10.4",
47
47
  "vxe-table-plugin-export-xlsx": "^2.2.1",
48
48
  "xe-utils": "^3.3.2",
49
49
  "xlsx": "^0.17.1"
package/packages/index.js CHANGED
@@ -1,3 +1,10 @@
1
+ /*
2
+ * @Author: leevan
3
+ * @Date: 2024-04-22 16:58:05
4
+ * @LastEditTime: 2024-11-07 10:36:31
5
+ * @LastEditors: leevan
6
+ * @FilePath: /jtui-pc/packages/index.js
7
+ */
1
8
  import Vue from 'vue';
2
9
  import JtTablePc from './jt-table';
3
10
  import JtFormPc from './jt-form-pc';
@@ -7,7 +14,7 @@ import JtOrgtreePc from './jt-orgtree-pc'
7
14
  import SearchType from './Search-Type/index.js';
8
15
 
9
16
  //vex-table样式
10
- import 'vxe-table/lib/index.css';
17
+ import 'vxe-table/lib/style.css';
11
18
  import VXETable from 'vxe-table';
12
19
  import './jt-table/filter.js';
13
20
  import './jt-table/comp.js';
@@ -190,7 +190,14 @@
190
190
  </template>
191
191
  </template>
192
192
  </vxe-table-column>
193
- </vxe-table>
193
+ <template #empty>
194
+ <el-empty :image-size="200">
195
+ <template #description>
196
+ <p style="font-size:30px">暂无数据</p>
197
+ </template>
198
+ </el-empty>
199
+ </template>
200
+ </vxe-table>
194
201
  <!-- 大数据 -->
195
202
  <vxe-table
196
203
  class="jt-table-class-only"
@@ -358,6 +365,13 @@
358
365
  </template>
359
366
  </template>
360
367
  </vxe-table-column>
368
+ <template #empty>
369
+ <el-empty :image-size="200">
370
+ <template #description>
371
+ <p style="font-size:30px">暂无数据</p>
372
+ </template>
373
+ </el-empty>
374
+ </template>
361
375
  </vxe-table>
362
376
  <!-- 分组表格 -->
363
377
  <vxe-table
@@ -498,6 +512,13 @@
498
512
  </template>
499
513
  </template>
500
514
  </vxe-table-column>
515
+ <template #empty>
516
+ <el-empty :image-size="200">
517
+ <template #description>
518
+ <p style="font-size:30px">暂无数据</p>
519
+ </template>
520
+ </el-empty>
521
+ </template>
501
522
  </vxe-table>
502
523
  <!-- 树形表格 and 树 -->
503
524
  <vxe-table
@@ -746,6 +767,13 @@
746
767
  </template>
747
768
  </template>
748
769
  </vxe-table-column>
770
+ <template #empty>
771
+ <el-empty :image-size="200">
772
+ <template #description>
773
+ <p style="font-size:30px">暂无数据</p>
774
+ </template>
775
+ </el-empty>
776
+ </template>
749
777
  </vxe-table>
750
778
  </div>
751
779
  </template>