Commit 87e9d135 by 匡雅琴

Merge branch 'kuangyq_dev_2.1.0' of http://192.168.3.233:8090/saas/scrm-micro-se…

…ttings into kuangyq_dev_2.1.0
2 parents c1579bd0 3b31816d
......@@ -171,4 +171,45 @@ img {
background: #ffffff;
z-index: 999;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
}
.dot {
display: inline-flex;
align-items: center;
span {
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
margin-right: 8px;
}
.normal {
background-color: #2CCA74;
}
.draft {
background-color: #FDB757;
}
.dot1 {
background-color: #FDB757;
}
.dot2 {
background-color: #2CCA74;
}
.dot3 {
background-color: #999999;
}
.dot4 {
background-color: #EB4E4E;
}
.dot5 {
background-color: #FDB757;
}
}
\ No newline at end of file
......@@ -21,6 +21,10 @@
</span>
</span>
</div>
<div slot="statusName" class="dot" slot-scope="scope">
<span :class="`dot${baseData.merchantStatusList.find(item => item.dictLabel == scope.scope.statusName).dictValue}`"></span>
{{ scope.scope.statusName }}
</div>
<template slot="auth-button" slot-scope="scope" :data="scope.scope">
<GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton>
<!-- <el-button type="text" @click="handleLook(scope.scope)">查看</el-button> -->
......@@ -107,6 +111,7 @@ export default {
label: '账户状态',
prop: 'statusName',
width: '100',
addHtml: 'statusName',
line: 1
},
{
......
......@@ -9,6 +9,10 @@
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" :inline="true" @handleOk="toFindData" @handleRest="reSetFindData"></GLCombiForm>
</div>
<GLTable v-if="distoryTable" ref="table" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="getTableData">
<div slot="statusName" class="dot" slot-scope="scope">
<span :class="roleStatus[scope.scope.statusName]"></span>
{{ scope.scope.statusName }}
</div>
<template slot="auth-button" slot-scope="scope" :data="scope.scope">
<GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton>
<!-- <el-button type="text" @click="toLookPage(scope.scope)">查看</el-button>
......@@ -21,11 +25,16 @@
</template>
<script>
const roleStatus = {
正常: 'normal',
草稿: 'draft'
}
export default {
name: '',
data() {
return {
roleStatus: roleStatus,
searchForm: {
delFlag: '',
roleName: '',
......@@ -93,7 +102,8 @@ export default {
},
{
label: '状态',
prop: 'statusName'
prop: 'statusName',
addHtml: 'statusName'
},
{
label: '创建时间',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!