ci-plus 1.8.6 → 1.8.7
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/README.md
CHANGED
package/package.json
CHANGED
|
@@ -2,24 +2,22 @@
|
|
|
2
2
|
<el-dialog v-model="state" v-bind="config" draggable>
|
|
3
3
|
<div class="container">
|
|
4
4
|
<b>
|
|
5
|
-
|
|
5
|
+
{{t('sortableTable.sortableTableDialog.holdDown')}}
|
|
6
6
|
<el-icon><Rank /></el-icon>
|
|
7
|
-
|
|
8
|
-
<!-- <Star style="width: 1em; height: 1em; margin-right: 8px" /> -->
|
|
7
|
+
{{t('sortableTable.sortableTableDialog.clickName')}}
|
|
9
8
|
<svg-icon name="regular-center" size="14"></svg-icon>
|
|
10
|
-
|
|
11
|
-
<!-- <StarFilled style="width: 1em; height: 1em; margin-right: 8px" /> -->
|
|
9
|
+
{{t('sortableTable.sortableTableDialog.fixed')}}
|
|
12
10
|
<svg-icon name="regular-left" size="14" color="#2C93FF"></svg-icon>
|
|
13
|
-
|
|
11
|
+
{{t('sortableTable.sortableTableDialog.or')}}
|
|
14
12
|
<svg-icon name="regular-right" size="14" color="#2C93FF"></svg-icon>
|
|
15
|
-
|
|
13
|
+
{{t('sortableTable.sortableTableDialog.cancelTheFixation')}}
|
|
16
14
|
|
|
17
15
|
<el-popover
|
|
18
16
|
placement="bottom-start"
|
|
19
|
-
title="
|
|
17
|
+
:title="t('sortableTable.sortableTableDialog.prompt')"
|
|
20
18
|
:width="200"
|
|
21
19
|
trigger="hover"
|
|
22
|
-
content="
|
|
20
|
+
:content="t('sortableTable.sortableTableDialog.promptVal')"
|
|
23
21
|
>
|
|
24
22
|
<template #reference>
|
|
25
23
|
<el-icon style="font-size: 14px"><QuestionFilled /></el-icon>
|
|
@@ -33,13 +31,13 @@
|
|
|
33
31
|
show-pin
|
|
34
32
|
/>
|
|
35
33
|
|
|
36
|
-
<el-tooltip content="
|
|
34
|
+
<el-tooltip :content="t('sortableTable.sortableTableDialog.saveDatabase')" placement="top-end">
|
|
37
35
|
<el-button
|
|
38
36
|
type="primary"
|
|
39
37
|
style="width: 100%; margin-top: 10px"
|
|
40
38
|
@click="$emit('submit', modelValue)"
|
|
41
39
|
>
|
|
42
|
-
|
|
40
|
+
{{t('public.save')}}
|
|
43
41
|
</el-button>
|
|
44
42
|
</el-tooltip>
|
|
45
43
|
</div>
|
|
@@ -53,7 +51,7 @@ import sortableTableDragItem from './utils/sortableTableDragItem.vue'
|
|
|
53
51
|
import { Rank } from '@element-plus/icons-vue'
|
|
54
52
|
import SvgIcon from '../svgIcon/svgicon.vue'
|
|
55
53
|
import { ElDialog,ElButton,ElTooltip,ElIcon,ElPopover } from 'element-plus'
|
|
56
|
-
|
|
54
|
+
import t from '../utils/lang/index'
|
|
57
55
|
const emits = defineEmits(['update:modelValue', 'update:data', 'submit'])
|
|
58
56
|
const state = ref(false)
|
|
59
57
|
const props = defineProps<SortableTableDialog>()
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
</div>
|
|
34
34
|
<div class="ifshow">
|
|
35
35
|
<el-button :type="element.hide ? 'primary' : ''" @click="handleShow(element)" size="small">
|
|
36
|
-
{{ element.hide ? '
|
|
36
|
+
{{ element.hide ? t('sortableTable.sortableTableDialog.show') : t('sortableTable.sortableTableDialog.hide') }}
|
|
37
37
|
</el-button>
|
|
38
38
|
</div>
|
|
39
39
|
<div class="widths">
|
|
40
|
-
|
|
40
|
+
{{t('sortableTable.sortableTableDialog.width')}}:
|
|
41
41
|
<el-input class="w-50 m-2" v-model="element.col.width" size="small" width="50"></el-input>
|
|
42
42
|
</div>
|
|
43
43
|
<sortable-table-drag-item v-if="element.children" v-model="element.children" />
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
import SvgIcon from '../../svgIcon/index'
|
|
49
49
|
import { computed } from 'vue'
|
|
50
50
|
import { ElInput, ElButton , ElIcon} from 'element-plus'
|
|
51
|
-
|
|
51
|
+
import t from '../utils/lang/index'
|
|
52
52
|
import { VueDraggable } from 'vue-draggable-plus'
|
|
53
53
|
import { SortColumn, SortableTableIns } from './interface'
|
|
54
54
|
import { Rank } from '@element-plus/icons-vue'
|
package/src/utils/index.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { default as withInstall } from './withinstall/index'
|
|
|
3
3
|
// export { default as setCardList } from './cardPrint'; // 导入默认的导出
|
|
4
4
|
// export * from './cardPrint'; // 导入所有导出(不包含默认导出)
|
|
5
5
|
import withInstall from './withinstall/index'
|
|
6
|
-
import { cardPrint, setCardList } from './cardPrint'
|
|
6
|
+
// import { cardPrint, setCardList } from './cardPrint'
|
|
7
7
|
import apis from './baseApi'
|
|
8
8
|
import { dayjs, setDate, setDateTime } from './Dayjs'
|
|
9
9
|
import ajaxBox from './ajaxBox' // 处理文件下载方法
|
|
@@ -17,8 +17,8 @@ import cardPrintAxios, {
|
|
|
17
17
|
import { setId, getSend, sort } from '../sortableTable/utils/dataOpt'
|
|
18
18
|
|
|
19
19
|
let func = {
|
|
20
|
-
cardPrint,
|
|
21
|
-
setCardList,
|
|
20
|
+
// cardPrint,
|
|
21
|
+
// setCardList,
|
|
22
22
|
withInstall,
|
|
23
23
|
setDate,
|
|
24
24
|
setDateTime,
|
package/src/utils/lang/en.js
CHANGED
|
@@ -19,6 +19,19 @@ const en = {
|
|
|
19
19
|
aweekAgo: 'A week ago', // 前一周
|
|
20
20
|
lastMonth: 'Last Month', // 前一月,
|
|
21
21
|
last3Month: 'Last 3 Month' // 最近3个月
|
|
22
|
+
},
|
|
23
|
+
sortableTableDialog:{
|
|
24
|
+
holdDown:'hold down',
|
|
25
|
+
clickName:'Move, click on the header name to hide, click OK to save, click',
|
|
26
|
+
fixed:'Fixed, click',
|
|
27
|
+
or:' Or ',
|
|
28
|
+
cancelTheFixation:'cancel the fixation',
|
|
29
|
+
prompt:'Prompt:',
|
|
30
|
+
promptVal:'Clicking "Save" will save the configuration of this header to the database. The configuration you saved will remain the same for the next login. If not saved, it will only be valid for this configuration',
|
|
31
|
+
saveDatabase:'Save header configuration to database',
|
|
32
|
+
show:'Show',
|
|
33
|
+
hide:'Hide',
|
|
34
|
+
width:'Width'
|
|
22
35
|
}
|
|
23
36
|
},
|
|
24
37
|
fileRelated:{
|
package/src/utils/lang/zh.js
CHANGED
|
@@ -19,6 +19,19 @@ const zh = {
|
|
|
19
19
|
aweekAgo: '一周前',
|
|
20
20
|
lastMonth: '前一月',
|
|
21
21
|
last3Month: '最近3个月'
|
|
22
|
+
},
|
|
23
|
+
sortableTableDialog:{
|
|
24
|
+
holdDown:'按住',
|
|
25
|
+
clickName:'进行移动,点击表头名字进行隐藏, 点击确定进行保存,点击',
|
|
26
|
+
fixed:'固定,点击',
|
|
27
|
+
or:' 或 ',
|
|
28
|
+
cancelTheFixation:'取消固定',
|
|
29
|
+
prompt:'提示:',
|
|
30
|
+
promptVal:'点击保存会将本表头的配置存储到数据库,下次登录还是你保存的配置,不保存的话,只在本次配置有效',
|
|
31
|
+
saveDatabase:'将表头配置保存到数据库',
|
|
32
|
+
show:'显示',
|
|
33
|
+
hide:'隐藏',
|
|
34
|
+
width:'宽度'
|
|
22
35
|
}
|
|
23
36
|
},
|
|
24
37
|
fileRelated:{
|