Commit d2c32816 by 杨明

fixed

1 parent 1b0be210
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
</el-form> </el-form>
<GLTable v-loading="loading" ref="table" @refreshTable="handleSearch" :searchForm="tableSearchForm" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams"> <GLTable v-loading="loading" ref="table" @refreshTable="handleSearch" :searchForm="tableSearchForm" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams">
<div slot="status" slot-scope="scope"> <div slot="status" slot-scope="scope">
<span :class="['task_icon',scope.scope.status==1?'green-icon':'yellow-icon']">{{ scope.scope.statusName }}</span> <span :class="['task_icon', scope.scope.status == 1 ? 'green-icon' : 'yellow-icon']"></span>
{{ scope.scope.statusName }}
</div> </div>
<div class="table-btns" slot="optionBtns" slot-scope="scope"> <div class="table-btns" slot="optionBtns" slot-scope="scope">
<el-button type="text" @click="handleDetail(scope.scope)">短信内容</el-button> <el-button type="text" @click="handleDetail(scope.scope)">短信内容</el-button>
...@@ -177,6 +178,12 @@ export default { ...@@ -177,6 +178,12 @@ export default {
color: #999999; color: #999999;
line-height: 20px; line-height: 20px;
} }
.green-icon {
background: #2cca74;
}
.yellow-icon {
background: #fdb757;
}
.tag-panel { .tag-panel {
.tag-item { .tag-item {
border-radius: 4px; border-radius: 4px;
......
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
<GLCombiForm :rowNumber="1" ref="formSearch" :formObj="tableSearchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> <GLCombiForm :rowNumber="1" ref="formSearch" :formObj="tableSearchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLTable ref="employeeRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"> <GLTable ref="employeeRef" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<div slot="imStatus" slot-scope="scope"> <div slot="imStatus" slot-scope="scope">
<span :class="['task_icon',scope.scope.imStatus==3?'green-icon':'yellow-icon']">{{ scope.scope.imStatusName }}</span> <span :class="['task_icon', scope.scope.imStatus == 3 ? 'green-icon' : 'yellow-icon']"></span>
{{ scope.scope.imStatusName }}
</div> </div>
<div class="table-btns" slot="optionBtns" slot-scope="scope"> <div class="table-btns" slot="optionBtns" slot-scope="scope">
<GLButton type="text" @click="handleDetail(scope.scope)" fn="智能营销配置">查看配置</GLButton> <GLButton type="text" @click="handleDetail(scope.scope)" fn="智能营销配置">查看配置</GLButton>
...@@ -106,7 +107,7 @@ export default { ...@@ -106,7 +107,7 @@ export default {
{ {
label: '状态', label: '状态',
prop: 'imStatusName', prop: 'imStatusName',
addHtml:'imStatus' addHtml: 'imStatus'
}, },
{ {
label: '创建时间', label: '创建时间',
...@@ -190,6 +191,12 @@ export default { ...@@ -190,6 +191,12 @@ export default {
margin-top: 8px; margin-top: 8px;
} }
} }
.green-icon {
background: #2cca74;
}
.yellow-icon {
background: #fdb757;
}
.dialog-wrap-box { .dialog-wrap-box {
z-index: 2001; z-index: 2001;
position: fixed; position: fixed;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!