This commit is contained in:
sw 2024-11-21 09:56:45 +08:00
parent 8b0bdfdef6
commit 428c741a93
4 changed files with 10 additions and 6 deletions

View File

@ -42,8 +42,8 @@
<el-table-column prop="activityProgress" label="活动状态" align="center" >
<template slot-scope="scope">
<span v-if="scope.row.isonline == 0"> <el-tag>已上架</el-tag></span>
<span v-if="scope.row.isonline == 1"> <el-tag>已下架</el-tag></span>
<span v-if="scope.row.isonline == 0"> <el-tag type="success">已上架</el-tag></span>
<span v-if="scope.row.isonline == 1"> <el-tag type="danger" >已下架</el-tag></span>
</template>
</el-table-column>

View File

@ -56,10 +56,11 @@
<el-table-column
prop="activeStatus"
label="活动状态"
align="center"
>
<template slot-scope="scope">
<span v-if="scope.row.activeStatus == 0"> <el-tag>已上架</el-tag></span>
<span v-if="scope.row.activeStatus == 1"> <el-tag>已下架</el-tag></span>
<span v-if="scope.row.activeStatus == 0"> <el-tag type="success">已上架</el-tag></span>
<span v-if="scope.row.activeStatus == 1"> <el-tag type="danger">已下架</el-tag></span>
</template>

View File

@ -70,9 +70,9 @@
<template slot-scope="scope">
<div slot="reference" class="name-wrapper">
<div style="color: #FF9655" v-if="scope.row.approvalStatus == 'await'">待审核</div>
<div style="color: #0DC291" v-if="scope.row.approvalStatus == 'qrts'" >审核入库</div>
<div style="color: #0DC291" v-if="scope.row.approvalStatus == 'qrts'" >入库</div>
<div style="color: #F44522" v-if="scope.row.approvalStatus == 'yzf'">已作废</div>
<div style="color: #409EFF" v-if="scope.row.approvalStatus == 'ysh'" >已审核</div>
<div style="color: #409EFF" v-if="scope.row.approvalStatus == 'ysh'" >待入库</div>
</div>
</template>
</el-table-column>

View File

@ -40,6 +40,8 @@ public class SysLogServiceImpl extends ServiceImpl<SysLogMapper, SysLog> impleme
if (ipAddress == null || ipAddress.length() == 0 || "unknown".equalsIgnoreCase(ipAddress)) {
ipAddress = request.getRemoteAddr();
}
String mm= request.getHeader("CLIENT");
sysLog.setIpAddr(ipAddress);
//获取当前登录用户
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
@ -48,6 +50,7 @@ public class SysLogServiceImpl extends ServiceImpl<SysLogMapper, SysLog> impleme
SysDept sysDept = deptService.selectDeptById(nowAccountInfo.getDeptId());
sysLog.setDeptId(sysDept.getDeptId().toString());
sysLog.setDeptName(sysDept.getDeptName());
// sysLog.setSystemName(mm);
this.save(sysLog);
}
}