n20-common-lib 2.2.25 → 2.2.27
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 +1 -1
- package/src/components/FileUploadTable/index.vue +4 -2
- package/src/components/InputNumber/index.vue +1 -1
- package/src/components/Layout/HeaderWrap/index.vue +1 -2
- package/src/components/Layout/HeaderWrap/indexN.vue +2 -3
- package/src/components/TableOperateColumn/OperateBtns.vue +10 -7
package/package.json
CHANGED
|
@@ -67,8 +67,10 @@
|
|
|
67
67
|
</slot>
|
|
68
68
|
</el-table-column>
|
|
69
69
|
<el-table-column v-if="readonly" :label="'附件上传' | $lc" :prop="keys.name">
|
|
70
|
-
<slot slot="header" slot-scope="scope" name="
|
|
71
|
-
|
|
70
|
+
<slot slot="header" slot-scope="scope" name="upload-header" :column="scope.column">{{
|
|
71
|
+
'附件上传' | $lc
|
|
72
|
+
}}</slot>
|
|
73
|
+
<slot slot-scope="{ row }" name="upload" :row="row">
|
|
72
74
|
{{ $options.filters.fileName(row, keys.url) || row[keys.name] }}
|
|
73
75
|
</slot>
|
|
74
76
|
</el-table-column>
|
|
@@ -19,8 +19,7 @@
|
|
|
19
19
|
/>
|
|
20
20
|
<!-- <el-divider class="header-wrap-logo-hr" direction="vertical" /> -->
|
|
21
21
|
<div class="m-l-m"></div>
|
|
22
|
-
|
|
23
|
-
<h3 class="header-title m-r-auto" v-html="headerTitle"></h3>
|
|
22
|
+
<h3 class="header-title m-r-auto">{{ headerTitle | $l }}</h3>
|
|
24
23
|
<!-- YSCW -->
|
|
25
24
|
<slot name="header-ectad">
|
|
26
25
|
<sapn v-if="ectad" class="f-s-s">
|
|
@@ -19,8 +19,7 @@
|
|
|
19
19
|
/>
|
|
20
20
|
<!-- <el-divider class="header-wrap-logo-hr" direction="vertical" /> -->
|
|
21
21
|
<div class="m-l-m"></div>
|
|
22
|
-
|
|
23
|
-
<h3 class="header-title m-r-auto" v-html="headerTitle"></h3>
|
|
22
|
+
<h3 class="header-title m-r-auto">{{ headerTitle | $l }}</h3>
|
|
24
23
|
<span v-if="byLabel && !inBack" class="header-uif-by">{{ byLabel }}</span>
|
|
25
24
|
<!-- YSCW -->
|
|
26
25
|
<slot name="header-ectad">
|
|
@@ -84,7 +83,7 @@
|
|
|
84
83
|
<div class="uby-h flex-box flex-v">
|
|
85
84
|
<i class="uby-h-icon iconfont icon-icon_huanyingmoshi"></i>
|
|
86
85
|
<span
|
|
87
|
-
>{{ '欢迎使用' | $lc }}<span>{{ headerTitle }}</span
|
|
86
|
+
>{{ '欢迎使用' | $lc }}<span>{{ headerTitle | $l }}</span
|
|
88
87
|
>!</span
|
|
89
88
|
>
|
|
90
89
|
</div>
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<span>
|
|
3
|
-
<el-
|
|
4
|
-
v-for="item in dfBtns"
|
|
3
|
+
<el-link
|
|
4
|
+
v-for="(item, i) in dfBtns"
|
|
5
5
|
:key="item.label"
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
:class="i ? 'm-l' : ''"
|
|
7
|
+
:type="item.type || 'primary'"
|
|
8
|
+
:underline="false"
|
|
8
9
|
:disabled="item.disabled | dbdBtn(row)"
|
|
9
10
|
@click="$emit('command', item.command)"
|
|
10
|
-
>{{ item.label }}</el-
|
|
11
|
+
>{{ item.label }}</el-link
|
|
11
12
|
>
|
|
12
|
-
<el-dropdown v-if="moreBtns.length" @command="(c) => $emit('command', c)">
|
|
13
|
+
<el-dropdown v-if="moreBtns.length" class="m-l" @command="(c) => $emit('command', c)">
|
|
13
14
|
<el-button class="n20-icon-moren" type="text" size="mini" />
|
|
14
15
|
<el-dropdown-menu slot="dropdown" class="text-c">
|
|
15
16
|
<el-dropdown-item
|
|
@@ -17,8 +18,10 @@
|
|
|
17
18
|
:key="item.label"
|
|
18
19
|
:command="item.command"
|
|
19
20
|
:disabled="item.disabled | dbdBtn(row)"
|
|
20
|
-
>{{ item.label }}</el-dropdown-item
|
|
21
21
|
>
|
|
22
|
+
<el-link v-if="item.type" :type="item.type" :underline="false">{{ item.label }}</el-link>
|
|
23
|
+
<template v-else>{{ item.label }}</template>
|
|
24
|
+
</el-dropdown-item>
|
|
22
25
|
</el-dropdown-menu>
|
|
23
26
|
</el-dropdown>
|
|
24
27
|
</span>
|