Commit 48c50b6e authored by “yiyousong”'s avatar “yiyousong”

pref;修改删除按钮

parent 7d3d4c7c
......@@ -3,7 +3,7 @@
color:#1890FF;
}
.delete{
color:#FF4D4F;
color:#FA4D4C;
}
.green{
color:#1BBC9B;
......@@ -15,7 +15,7 @@
color:#fff;
}
.bgdel{
background-color: #FF4D4F;
background-color: #FA4D4C;
}
.bgpr{
background-color: #1890FF;
......@@ -220,3 +220,6 @@
.empty {
height: 100%;
}
.pointer{
cursor: pointer;
}
\ No newline at end of file
......@@ -30,9 +30,11 @@
</span>
</template>
<template slot="active" slot-scope="text">
<a class="look-more" @click="lookMore(text.content)">查看详情</a>
<a class="edit" @click="editAccept(text)">编辑</a>
<a class="delete" @click="handleDel(text.id)">删除</a>
<span class="primary pointer" @click="lookMore(text.content)"
>查看详情</span
>
<span class="primary pointer" @click="editAccept(text)">编辑</span>
<span class="delete pointer" @click="handleDel(text.id)">删除</span>
</template>
</a-table>
</div>
......@@ -251,13 +253,6 @@ export default {
.header {
margin-bottom: 20px;
}
.edit {
color: #03d76f;
margin: 0 15px;
}
.delete {
color: #fa6464;
}
}
/deep/.ant-form-item {
display: block !important;
......
......@@ -39,9 +39,17 @@
>
</template>
<template slot="operate" slot-scope="text">
<span class="look_more mr" @click="readMore(text)">查看更多</span>
<span class="edit mr" @click="editMaterial(text)">编辑</span>
<span class="del" @click="delMaterial(text.id)">删除</span>
<a-space>
<span class="primary pointer" @click="readMore(text)"
>查看更多</span
>
<span class="primary pointer" @click="editMaterial(text)"
>编辑</span
>
<span class="delete pointer" @click="delMaterial(text.id)"
>删除</span
>
</a-space>
</template>
</a-table>
</div>
......@@ -258,12 +266,5 @@ export default {
border-radius: 2px;
cursor: pointer;
}
.edit {
color: #03d76f;
cursor: pointer;
}
.look_more {
cursor: pointer;
}
}
</style>
......@@ -31,8 +31,8 @@
</template>
<template slot="active" slot-scope="text">
<a-space size="middle">
<a class="edit" @click="handleEdit(text)">编辑</a>
<a class="delete" @click="handleDel(text.id)">删除</a>
<span class="primary pointer" @click="handleEdit(text)">编辑</span>
<span class="delete pointer" @click="handleDel(text.id)">删除</span>
</a-space>
</template>
</a-table>
......
......@@ -37,8 +37,8 @@
</template>
<template slot="active" slot-scope="text">
<a-space size="middle">
<a class="edit" @click="handleEdit(text)">编辑</a>
<a class="delete" @click="handleDel(text.id)">删除</a>
<span class="primary pointer" @click="handleEdit(text)">编辑</span>
<span class="delete pointer" @click="handleDel(text.id)">删除</span>
</a-space>
</template>
</a-table>
......@@ -221,13 +221,7 @@ export default {
.header {
margin-bottom: 20px;
}
.edit {
color: #03d76f;
margin: 0 10px;
}
.delete {
color: #fa6464;
}
.ant-pagination {
margin: 10px 0;
}
......
......@@ -30,9 +30,11 @@
<template slot="active" slot-scope="text">
<a-space size="middle">
<a class="look-more" @click="handleMore(text)">查看详情</a>
<a class="edit" @click="handleEdit(text)">编辑</a>
<a class="delete" @click="handleDel(text.id)">删除</a>
<span class="primary pointer" @click="handleMore(text)"
>查看详情</span
>
<span class="primary pointer" @click="handleEdit(text)">编辑</span>
<span class="delete pointer" @click="handleDel(text.id)">删除</span>
</a-space>
</template>
</a-table>
......@@ -41,8 +43,8 @@
<!-- 新增问题 -->
<a-modal v-model="visible" :title="title" @cancel="handleClose">
<template slot="footer">
<a-button type="primary" @click="handleOk">确定</a-button>
<a-button @click="handleInit">重置</a-button>
<a-button type="primary" @click="handleOk">确定</a-button>
</template>
<a-form-model
......@@ -270,13 +272,7 @@ export default {
.header {
margin-bottom: 20px;
}
.edit {
color: #03d76f;
margin: 0 15px;
}
.delete {
color: #fa6464;
}
.ant-pagination {
margin: 10px 0;
}
......
......@@ -9,7 +9,7 @@
>
<template slot="footer">
<a-button @click="handleInit">重置</a-button>
<a-button @click="handleOk" type="primary">保存</a-button>
<a-button @click="handleOk" type="primary">确定</a-button>
</template>
<a-form-model
:label-col="{ span: 4 }"
......
......@@ -8,7 +8,7 @@
>
<template slot="footer">
<a-button @click="handleInit">重置</a-button>
<a-button @click="handleOk" type="primary">保存</a-button>
<a-button @click="handleOk" type="primary">确定</a-button>
</template>
<a-form-model
:model="form"
......
......@@ -87,13 +87,15 @@
<!-- 操作 -->
<template slot="action" slot-scope="text">
<a-space size="middle">
<a
class="primary"
<span
class="primary pointer"
:disabled="text.used ? true : false"
@click="handleUse(text.id)"
>使用</a
>使用</span
>
<span class="primary pointer" @click="handlePreview(text.id)"
>预览</span
>
<a class="primary" @click="handlePreview(text.id)">预览</a>
</a-space>
</template>
</a-table>
......
......@@ -66,8 +66,11 @@
</span>
</template>
<template slot="action" slot-scope="text">
<a href="javascript:;" class="delete" @click="handleDel(text.id)"
>移除</a
<span
href="javascript:;"
class="delete pointer"
@click="handleDel(text.id)"
>移除</span
>
</template>
</a-table>
......@@ -149,7 +152,9 @@
<template slot="action" slot-scope="text">
<a-space size="middle">
<a class="jion" @click="handleIn(text)">加入黑名单</a>
<span class="primary pointer" @click="handleIn(text)"
>加入黑名单</span
>
</a-space>
</template>
</a-table>
......@@ -476,9 +481,4 @@ export default {
justify-content: space-between;
}
}
.add-btn {
background-color: #04cb8f;
color: #fff;
}
</style>
\ No newline at end of file
......@@ -84,8 +84,8 @@
<!-- 操作 -->
<template slot="action" slot-scope="text">
<a-space size="middle">
<a class="edit" @click="handleEdit(text)">编辑</a>
<a class="delete" @click="handleDel(text.id)">删除</a>
<span class="primary pointer" @click="handleEdit(text)">编辑</span>
<span class="delete pointer" @click="handleDel(text.id)">删除</span>
</a-space>
</template>
</a-table>
......
......@@ -43,8 +43,8 @@
<!-- 操作 -->
<template slot="action" slot-scope="text">
<a-space size="middle">
<a class="edit" @click="handleEdit(text)">编辑</a>
<a class="delete" @click="handleDel(text.id)">删除</a>
<span class="primary pointer" @click="handleEdit(text)">编辑</span>
<span class="delete pointer" @click="handleDel(text.id)">删除</span>
</a-space>
</template>
</a-table>
......
......@@ -83,13 +83,15 @@
<!-- 操作 -->
<template slot="action" slot-scope="text">
<a-space size="middle">
<a class="primary" @click="handleEdit(text)">编辑</a>
<a class="primary" @click="handleCheck(text.id)">查看</a>
<a
class="delete"
<span class="primary pointer" @click="handleEdit(text)">编辑</span>
<span class="primary pointer" @click="handleCheck(text.id)"
>查看</span
>
<span
class="delete pointer"
:class="{ unDelete: text.distribute }"
@click="handleDel(text.distribute, text.id)"
>删除</a
>删除</span
>
</a-space>
</template>
......
......@@ -83,13 +83,15 @@
<!-- 操作 -->
<template slot="action" slot-scope="text">
<a-space size="middle">
<a class="primary" @click="handleEdit(text)">编辑</a>
<a class="primary" @click="handleCheck(text.id)">查看</a>
<a
class="delete"
<span class="primary pointer" @click="handleEdit(text)">编辑</span>
<span class="primary pointer" @click="handleCheck(text.id)"
>查看</span
>
<span
class="delete pointer"
:class="{ unDelete: text.distribute }"
@click="handleDel(text.distribute, text.id)"
>删除</a
>删除</span
>
</a-space>
</template>
......
......@@ -65,14 +65,17 @@
</template>
<template slot="action" slot-scope="text">
<a-space size="middle">
<a href="javascript:;" class="primary" @click="handleEdit(text)"
>编辑</a
<span
href="javascript:;"
class="primary pointer"
@click="handleEdit(text)"
>编辑</span
>
<a
<span
href="javascript:;"
class="delete"
class="delete pointer"
@click="handleDel(text.id, text)"
>删除</a
>删除</span
>
</a-space>
</template>
......@@ -139,12 +142,14 @@
</template>
<template slot="action" slot-scope="text">
<a-space size="middle">
<a class="primary" @click="handleIn(text.id)">加入</a>
<a
<span class="primary pointer" @click="handleIn(text.id)"
>加入</span
>
<span
href="javascript:;"
class="delete"
class="delete pointer"
@click="handleDelRight(+text.id)"
>删除</a
>删除</span
>
</a-space>
</template>
......
......@@ -87,18 +87,18 @@
<!-- 操作 -->
<template slot="action" slot-scope="text">
<a-space>
<a
<span
href="javascript:;"
v-if="text.source == 1"
class="edit"
class="primary pointer"
@click="handleSiteEdit(text)"
>编辑</a
>编辑</span
>
<a
<span
href="javascript:;"
class="delete"
class="delete pointer"
@click="handleDel(text.id, text)"
>移除</a
>移除</span
>
</a-space>
</template>
......@@ -193,18 +193,18 @@
<a href="javascript:;" class="primary" @click="handleIn(text.id)"
>加入</a
>
<a
<span
href="javascript:;"
v-if="text.source == 1"
class="primmary"
class="primary pointer"
@click="handleEdit(text.id)"
>编辑</a
>编辑</span
>
<a
<span
href="javascript:;"
class="delete"
class="delete pointer"
@click="handleDelRight(text.id)"
>删除</a
>删除</span
>
</a-space>
</template>
......
......@@ -49,11 +49,11 @@
<template slot="action" slot-scope="text">
<a-tooltip>
<template slot="title"> 解除查看 </template>
<a
<soan
href="javascript:;"
class="delete"
class="delete pointer"
@click="handleisUnbound(text)"
>解除</a
>解除</soan
>
</a-tooltip>
</template>
......@@ -127,8 +127,11 @@
</template>
<!-- 操作 -->
<template slot="action" slot-scope="text">
<a href="javascript:;" class="primary" @click="handleIn(text)"
>关联</a
<span
href="javascript:;"
class="primary pointer"
@click="handleIn(text)"
>关联</span
>
</template>
</a-table>
......
......@@ -85,20 +85,23 @@
<!-- 操作 -->
<template slot="action" slot-scope="text">
<a-space>
<a
<span
href="javascript:;"
class="primary"
class="primary pointer"
@click="statementManage(text)"
>配置报表</a
>配置报表</span
>
<a href="javascript:;" class="primary" @click="handleEdit(text)"
>编辑</a
<span
href="javascript:;"
class="primary pointer"
@click="handleEdit(text)"
>编辑</span
>
<a
<span
href="javascript:;"
class="delete"
class="delete pointer"
@click="handleDel(text.id)"
>删除</a
>删除</span
>
</a-space>
</template>
......
......@@ -72,14 +72,15 @@
</template>
<template slot="action" slot-scope="text">
<a-space size="middle">
<a
<span
href="javascript:;"
class="pointer"
:class="text.isEdit ? 'edit' : 'primary'"
@click="handleEdit(text)"
>{{ text.isEdit ? "保存" : "编辑" }}</a
>{{ text.isEdit ? "保存" : "编辑" }}</span
>
<a href="javascript:;" @click="handleDel(+text.id)" class="delete"
>删除</a
<span href="javascript:;" @click="handleDel(+text.id)" class="delete pointer"
>删除</span
>
</a-space>
</template>
......
......@@ -141,10 +141,18 @@
<!-- 操作 -->
<div slot="action" slot-scope="text">
<div class="flex jcb flexwrap">
<a class="primary" @click="workModal(text)">业务</a>
<a class="primary" @click="addWindowMatter(text)">事项</a>
<a class="primary" @click="editModal(text)">编辑</a>
<a class="delete" @click="delWindow(text.id)">删除</a>
<span class="primary pointer" @click="workModal(text)"
>业务</span
>
<span class="primary pointer" @click="addWindowMatter(text)"
>事项</span
>
<span class="primary pointer" @click="editModal(text)"
>编辑</span
>
<span class="delete pointer" @click="delWindow(text.id)"
>删除</span
>
</div>
</div>
</a-table>
......
......@@ -53,11 +53,17 @@
<!-- 操作 -->
<template slot="action" slot-scope="text">
<a-space size="middle">
<a href="javascript:;" class="primary" @click="handleEdit(text)"
>编辑</a
<span
href="javascript:;"
class="primary pointer"
@click="handleEdit(text)"
>编辑</span
>
<a href="javascript:;" class="delete" @click="handleDel(text.id)"
>删除</a
<span
href="javascript:;"
class="delete pointer"
@click="handleDel(text.id)"
>删除</span
>
</a-space>
</template>
......
......@@ -68,8 +68,11 @@
</span>
</template>
<template slot="action" slot-scope="text">
<a href="javascript:;" class="delete" @click="handleDel(text.id)"
>移除</a
<span
href="javascript:;"
class="delete pointer"
@click="handleDel(text.id)"
>移除</span
>
</template>
</a-table>
......@@ -148,7 +151,9 @@
<template slot="action" slot-scope="text">
<a-space size="middle">
<a class="jion" @click="handleIn([text])">加入大厅</a>
<span class="primary pointer" @click="handleIn([text])"
>加入大厅</span
>
</a-space>
</template>
</a-table>
......
......@@ -62,11 +62,17 @@
<!-- 操作 -->
<template slot="action" slot-scope="text">
<a-space size="middle">
<a href="javascript:;" class="primary" @click="handleEdit(text)"
>编辑</a
<span
href="javascript:;"
class="primary pointer"
@click="handleEdit(text)"
>编辑</span
>
<a href="javascript:;" class="delete" @click="handleDel(text.id)"
>删除</a
<span
href="javascript:;"
class="delete pointer"
@click="handleDel(text.id)"
>删除</span
>
</a-space>
</template>
......
......@@ -63,11 +63,17 @@
<!-- 操作 -->
<template slot="action" slot-scope="text">
<a-space size="middle">
<a href="javascript:;" class="primary" @click="handleEdit(text)"
>编辑</a
<span
href="javascript:;"
class="primary pointer"
@click="handleEdit(text)"
>编辑</span
>
<a href="javascript:;" class="delete" @click="handleDel(text.id)"
>删除</a
<span
href="javascript:;"
class="delete pointer"
@click="handleDel(text.id)"
>删除</span
>
</a-space>
</template>
......
......@@ -250,9 +250,15 @@
<!-- 操作 -->
<span slot="action" slot-scope="text">
<a-space>
<a class="primary" @click="editModal(text)">编辑</a>
<a class="primary" @click="changePwd(text)">修改密码</a>
<a class="delete" @click="handleDel(text.id)">删除</a>
<span class="primary pointer" @click="editModal(text)"
>编辑</span
>
<span class="primary pointer" @click="changePwd(text)"
>修改密码</span
>
<span class="delete pointer" @click="handleDel(text.id)"
>删除</span
>
</a-space>
</span>
</a-table>
......
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