adtec-core-package 1.0.7 → 1.0.8
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
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!--创建人 丁盼-->
|
|
2
|
+
<!--说明: ElTotalTools 合计工具条-->
|
|
3
|
+
<!--创建时间: 2025/4/1 20:13-->
|
|
4
|
+
<!--修改时间: 2025/4/1 20:13-->
|
|
5
|
+
<template>
|
|
6
|
+
<el-flex height="32px">
|
|
7
|
+
<span
|
|
8
|
+
style="
|
|
9
|
+
width: 32px;
|
|
10
|
+
background: var(--el-color-primary);
|
|
11
|
+
height: 32px;
|
|
12
|
+
color: rgb(255, 255, 255);
|
|
13
|
+
border-radius: 5px;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
text-align: center;
|
|
16
|
+
vertical-align: middle; /* display: flex; */
|
|
17
|
+
line-height: 32px;
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
"
|
|
21
|
+
>1</span
|
|
22
|
+
>
|
|
23
|
+
<el-text style="margin-left: 16px">共 {{model?model:0}} 条</el-text>
|
|
24
|
+
</el-flex>
|
|
25
|
+
</template>
|
|
26
|
+
<script setup lang="ts">
|
|
27
|
+
const model = defineModel({ type: Number })
|
|
28
|
+
</script>
|
|
29
|
+
<style scoped lang="scss"></style>
|
package/src/mixin/globalMixin.ts
CHANGED
|
@@ -19,6 +19,7 @@ import userSelect from '../components/business/userSelect.vue'
|
|
|
19
19
|
import baseEcharts from '../components/baseEcharts/index.vue'
|
|
20
20
|
import mdmUserSelect from '../components/business/comp.selectUser.vue'
|
|
21
21
|
import ElScrollbars from '../components/Scrollbars/ElScrollbars.vue'
|
|
22
|
+
import ElTotalTools from '../components/ElTotalTools.vue'
|
|
22
23
|
//@ts-ignore
|
|
23
24
|
export const globalMixin = {
|
|
24
25
|
components: {
|
|
@@ -36,6 +37,7 @@ export const globalMixin = {
|
|
|
36
37
|
baseEcharts,
|
|
37
38
|
mdmUserSelect,
|
|
38
39
|
ElScrollbars,
|
|
40
|
+
ElTotalTools
|
|
39
41
|
},
|
|
40
42
|
directives: {
|
|
41
43
|
keydown: vKeydown,
|