Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
source-trace-manage
Commits
a0092a16
Commit
a0092a16
authored
Jun 21, 2022
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 划转记录表列表宽度修改。复制按钮修改
parent
cadfcf09
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
19 deletions
+9
-19
constants.ts
...CollectionManagement/components/PictureTable/constants.ts
+1
-1
config.ts
...TransferRecords/components/TransferRecordsTable/config.ts
+4
-9
index.vue
...TransferRecords/components/TransferRecordsTable/index.vue
+4
-9
No files found.
src/views/Collection/CollectionManagement/components/PictureTable/constants.ts
View file @
a0092a16
...
@@ -15,7 +15,7 @@ export const columns = [
...
@@ -15,7 +15,7 @@ export const columns = [
{
{
label
:
"发行时间"
,
label
:
"发行时间"
,
prop
:
"create_time"
,
prop
:
"create_time"
,
slotName
:
'create_time'
,
slotName
:
"create_time"
,
width
:
200
,
width
:
200
,
},
},
{
{
...
...
src/views/Collection/TransferRecords/components/TransferRecordsTable/config.ts
View file @
a0092a16
...
@@ -2,27 +2,22 @@ import { iTableColumn } from "@/components/Table/types";
...
@@ -2,27 +2,22 @@ import { iTableColumn } from "@/components/Table/types";
export
const
columns
=
[
export
const
columns
=
[
{
{
label
:
"划转名称"
,
label
:
"划转名称"
,
minWidth
:
"
23
0px"
,
minWidth
:
"
38
0px"
,
slotName
:
"name"
,
slotName
:
"name"
,
},
},
{
{
label
:
"划转时间"
,
label
:
"划转时间"
,
minWidth
:
"15
0px"
,
width
:
"20
0px"
,
slotName
:
"time"
,
slotName
:
"time"
,
},
},
{
{
label
:
"划转地址"
,
label
:
"划转地址"
,
minWidth
:
"23
0px"
,
width
:
"35
0px"
,
slotName
:
"address"
,
slotName
:
"address"
,
},
},
{
{
label
:
"划转状态"
,
label
:
"划转状态"
,
minWidth
:
"10
0px"
,
width
:
"18
0px"
,
slotName
:
"status"
,
slotName
:
"status"
,
},
},
// {
// label: "编辑",
// slotName: "operate",
// width: "80px",
// },
]
as
iTableColumn
[];
]
as
iTableColumn
[];
src/views/Collection/TransferRecords/components/TransferRecordsTable/index.vue
View file @
a0092a16
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
{{
props
.
to
}}
{{
props
.
to
}}
</div>
</div>
<ElTooltip
effect=
"dark"
content=
"复制地址"
placement=
"top-start"
>
<ElTooltip
effect=
"dark"
content=
"复制地址"
placement=
"top-start"
>
<el-icon
@
click=
"handleClickCopy(props.to)"
<el-icon
@
click=
"handleClickCopy(props.to)"
class=
"cursor-pointer"
><DocumentCopy
><DocumentCopy
/></el-icon>
/></el-icon>
</ElTooltip>
</ElTooltip>
...
@@ -70,17 +70,11 @@
...
@@ -70,17 +70,11 @@
</template>
</template>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
{
ref
,
watch
}
from
"vue"
;
import
{
ref
}
from
"vue"
;
import
{
ElTooltip
,
ElIcon
,
ElMessage
}
from
"element-plus"
;
import
{
ElTooltip
,
ElIcon
,
ElMessage
}
from
"element-plus"
;
import
{
DocumentCopy
}
from
"@element-plus/icons-vue"
;
import
{
DocumentCopy
}
from
"@element-plus/icons-vue"
;
import
{
import
{
formatTime
,
syButton
,
syMoreOperate
,
copyText
}
from
"cqk-sy-ui"
;
formatTime
,
GO_URLS
,
syButton
,
syMoreOperate
,
copyText
,
}
from
"cqk-sy-ui"
;
import
Icon
from
"@/components/Icon/index.vue"
;
import
Icon
from
"@/components/Icon/index.vue"
;
import
Table
from
"@/components/Table/index.vue"
;
import
Table
from
"@/components/Table/index.vue"
;
...
@@ -136,6 +130,7 @@ const toProve = (item: any) => {
...
@@ -136,6 +130,7 @@ const toProve = (item: any) => {
const
handleClickCopy
=
(
str
:
string
)
=>
{
const
handleClickCopy
=
(
str
:
string
)
=>
{
copyText
(
str
);
copyText
(
str
);
ElMessage
.
success
(
"复制成功"
);
};
};
</
script
>
</
script
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment