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