Commit a0092a16 authored by chenqikuai's avatar chenqikuai

fix: 划转记录表列表宽度修改。复制按钮修改

parent cadfcf09
...@@ -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,
}, },
{ {
......
...@@ -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: "230px", minWidth: "380px",
slotName: "name", slotName: "name",
}, },
{ {
label: "划转时间", label: "划转时间",
minWidth: "150px", width: "200px",
slotName: "time", slotName: "time",
}, },
{ {
label: "划转地址", label: "划转地址",
minWidth: "230px", width: "350px",
slotName: "address", slotName: "address",
}, },
{ {
label: "划转状态", label: "划转状态",
minWidth: "100px", width: "180px",
slotName: "status", slotName: "status",
}, },
// {
// label: "编辑",
// slotName: "operate",
// width: "80px",
// },
] as iTableColumn[]; ] as iTableColumn[];
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment