ci-plus 1.0.7 → 1.0.9
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/index.ts
CHANGED
|
@@ -4,15 +4,10 @@ import { App } from 'vue';
|
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
6
|
install: (app: App) => {
|
|
7
|
+
// 注册所有组件
|
|
8
|
+
console.log('注册所有ci-plus组件: ');
|
|
7
9
|
for (const c in components) {
|
|
8
|
-
|
|
9
|
-
// 这是一个非组件类型的对象,需要移除
|
|
10
|
-
console.log('移除', components[c]);
|
|
11
|
-
} else {
|
|
12
|
-
// 这是一个组件类型的对象,可以使用 app.use()
|
|
13
|
-
console.log('加载', components[c]);
|
|
14
|
-
app.use(components[c]);
|
|
15
|
-
}
|
|
10
|
+
app.use(components[c]);
|
|
16
11
|
}
|
|
17
12
|
}
|
|
18
13
|
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!-- 导出excel -->
|
|
2
|
+
<svg
|
|
3
|
+
t="1705566058206" class="icon" viewBox="0 0 1024 1024"
|
|
4
|
+
version="1.1" xmlns="http://www.w3.org/2000/svg"
|
|
5
|
+
p-id="7831" width="200" height="200"
|
|
6
|
+
>
|
|
7
|
+
<path
|
|
8
|
+
d="M595.2 755.2h128v88.32L954.88 710.4 723.2 576v89.6h-128zM266.24 134.4c0-6.4 6.4-12.8 12.8-12.8H652.8c3.84 0 7.68 0 12.8 1.28v198.4H864c1.28 5.12 1.28 29.44 1.28 33.28v252.16l49.92 30.72v-281.6c0-34.56-20.48-102.4-43.52-126.72L760.32 117.76C736 93.44 688.64 74.24 654.08 74.24H279.04c-34.56 0-62.72 28.16-62.72 62.72V262.4h49.92v-128z m449.28 10.24c3.84 2.56 6.4 5.12 8.96 7.68l111.36 111.36c2.56 2.56 5.12 5.12 7.68 8.96h-128v-128z"
|
|
9
|
+
fill="#22975D"
|
|
10
|
+
p-id="7832"
|
|
11
|
+
>
|
|
12
|
+
</path>
|
|
13
|
+
<path
|
|
14
|
+
d="M595.2 385.28H800v58.88H595.2z m270.08 503.04c0 6.4-6.4 12.8-12.8 12.8H279.04c-6.4 0-12.8-6.4-12.8-12.8v-42.24h-49.92v42.24c0 34.56 28.16 62.72 62.72 62.72h574.72c34.56 0 62.72-28.16 62.72-62.72V783.36l-49.92 29.44v75.52zM537.6 320H69.12v468.48H537.6V320zM367.36 687.36l-64-94.72-28.16 43.52h28.16v52.48H160l104.96-153.6L172.8 396.8h76.8l55.04 80.64 55.04-80.64h76.8l-92.16 138.24 104.96 153.6h-81.92z m227.84-185.6H800v58.88H595.2z"
|
|
15
|
+
fill="#22975D"
|
|
16
|
+
p-id="7833"
|
|
17
|
+
>
|
|
18
|
+
</path>
|
|
19
|
+
</svg>
|
|
@@ -120,9 +120,10 @@ const tableData = ref<AnyO[]>([])
|
|
|
120
120
|
const rowClick = (row: AnyO) => {
|
|
121
121
|
console.log('row', row)
|
|
122
122
|
if (!props.mul) {
|
|
123
|
-
emits('update:modelValue', row[props.prop.value])
|
|
124
|
-
|
|
125
123
|
emits('change', row[props.prop.value], row)
|
|
124
|
+
setTimeout(() => {
|
|
125
|
+
emits('update:modelValue', row[props.prop.value])
|
|
126
|
+
}, 100)
|
|
126
127
|
tagLabel.value = row[props.prop.label]
|
|
127
128
|
if (!props.isExist) basic.is_dialogTable = false
|
|
128
129
|
}
|
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
* @version : 1.0.0
|
|
6
6
|
* @since : 创建时间 2023-12-26 14:18:14
|
|
7
7
|
*/ -->
|
|
8
|
-
|
|
9
8
|
<template>
|
|
10
|
-
<div class="
|
|
9
|
+
<div class="ciheadbtns">
|
|
11
10
|
<div>
|
|
12
11
|
<slot name="left"></slot>
|
|
13
12
|
</div>
|
|
@@ -20,7 +19,7 @@
|
|
|
20
19
|
defineOptions({ name: 'ci-headbtns' })
|
|
21
20
|
</script>
|
|
22
21
|
<style lang="scss">
|
|
23
|
-
.
|
|
22
|
+
.ciheadbtns {
|
|
24
23
|
display: flex;
|
|
25
24
|
justify-content: space-between;
|
|
26
25
|
padding: 5px 10px;
|