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 { ...@@ -171,4 +171,45 @@ img {
background: #ffffff; background: #ffffff;
z-index: 999; z-index: 999;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1); 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 \ No newline at end of file
...@@ -21,6 +21,10 @@ ...@@ -21,6 +21,10 @@
</span> </span>
</span> </span>
</div> </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"> <template slot="auth-button" slot-scope="scope" :data="scope.scope">
<GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton> <GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton>
<!-- <el-button type="text" @click="handleLook(scope.scope)">查看</el-button> --> <!-- <el-button type="text" @click="handleLook(scope.scope)">查看</el-button> -->
...@@ -107,6 +111,7 @@ export default { ...@@ -107,6 +111,7 @@ export default {
label: '账户状态', label: '账户状态',
prop: 'statusName', prop: 'statusName',
width: '100', width: '100',
addHtml: 'statusName',
line: 1 line: 1
}, },
{ {
......
...@@ -9,6 +9,10 @@ ...@@ -9,6 +9,10 @@
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" :inline="true" @handleOk="toFindData" @handleRest="reSetFindData"></GLCombiForm> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" :inline="true" @handleOk="toFindData" @handleRest="reSetFindData"></GLCombiForm>
</div> </div>
<GLTable v-if="distoryTable" ref="table" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="getTableData"> <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"> <template slot="auth-button" slot-scope="scope" :data="scope.scope">
<GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton> <GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton>
<!-- <el-button type="text" @click="toLookPage(scope.scope)">查看</el-button> <!-- <el-button type="text" @click="toLookPage(scope.scope)">查看</el-button>
...@@ -21,11 +25,16 @@ ...@@ -21,11 +25,16 @@
</template> </template>
<script> <script>
const roleStatus = {
正常: 'normal',
草稿: 'draft'
}
export default { export default {
name: '', name: '',
data() { data() {
return { return {
roleStatus: roleStatus,
searchForm: { searchForm: {
delFlag: '', delFlag: '',
roleName: '', roleName: '',
...@@ -93,7 +102,8 @@ export default { ...@@ -93,7 +102,8 @@ export default {
}, },
{ {
label: '状态', label: '状态',
prop: 'statusName' prop: 'statusName',
addHtml: 'statusName'
}, },
{ {
label: '创建时间', label: '创建时间',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!