parent
4fdb0185b0
commit
563aad498b
|
@ -56,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<select id="getIntegralByAccount" resultType="java.lang.Integer" >
|
||||
select ai_duration_balance
|
||||
from bus_agent_info
|
||||
where id = #{account}
|
||||
where agent_account = #{account}
|
||||
</select>
|
||||
|
||||
<insert id="insertBusAgentInfo" parameterType="BusAgentInfo">
|
||||
|
|
|
@ -131,7 +131,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<include refid="selectBusReturnVisitInfoVo"/>
|
||||
<where>
|
||||
<if test="privcyPhone != null and privcyPhone != ''"> and phone_number = #{privcyPhone}</if>
|
||||
and return_visit_time is null
|
||||
and return_visit_time is not null
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
<!-- <el-table-column label="删除状态" align="center" prop="delStatus" /> -->
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button v-if="scope.row.superiorAgentAccount == 'admin'"
|
||||
<el-button v-if="user != 'admin' || scope.row.superiorAgentAccount == 'admin'"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-edit"
|
||||
|
@ -211,6 +211,7 @@ export default {
|
|||
superiorAgentAccount: null,
|
||||
delStatus: "1"
|
||||
},
|
||||
user: this.$store.state.user.name,
|
||||
// 表单参数
|
||||
form: {},
|
||||
// 表单校验
|
||||
|
|
Loading…
Reference in New Issue