commit
This commit is contained in:
@@ -63,7 +63,7 @@ public class ValidateService {
|
||||
NutMap map = Json.fromJson(NutMap.class, result);
|
||||
if ("0".equals(map.getString("code"))) {
|
||||
log.debug("sms code:::" + text);
|
||||
redisService.setex(RedisConstant.REDIS_SMSCODE_KEY + mobile, 43200, text);
|
||||
redisService.setex(RedisConstant.REDIS_SMSCODE_KEY + mobile, 300, text);
|
||||
redisService.setex(RedisConstant.REDIS_SMSCODE_KEY + mobile + ":LOCK", 60, text);
|
||||
return NutMap.NEW().addv("key", RedisConstant.REDIS_SMSCODE_KEY + mobile);
|
||||
}
|
||||
|
||||
@@ -156,7 +156,7 @@ layout("/layouts/platform.html"){
|
||||
<el-radio-button :label="false">未缴</el-radio-button>
|
||||
</el-radio-group>
|
||||
|
||||
<el-button @click="sendPaymentMsg" size="small" type="primary">
|
||||
<el-button @click="sendPaymentMsgAll" size="small" type="primary">
|
||||
一键催缴
|
||||
</el-button>
|
||||
|
||||
@@ -214,7 +214,7 @@ layout("/layouts/platform.html"){
|
||||
<el-button v-if="row.isPayment" @click="doPaidToUnPaid(row.id,true)" size="mini" type="primary">
|
||||
设为未缴
|
||||
</el-button>
|
||||
<el-button v-if="!row.isPayment" @click="sendPaymentMsg(row.id)" size="mini" type="primary">
|
||||
<el-button v-if="!row.isPayment" @click="sendPaymentMsg(row)" size="mini" type="primary">
|
||||
催缴
|
||||
</el-button>
|
||||
<el-button v-if="!row.isPayment" @click="openModify(row.id,true)" size="mini" type="primary">
|
||||
@@ -311,8 +311,14 @@ layout("/layouts/platform.html"){
|
||||
'dict-select': httpVueLoader('/components/plugins/DictSelect.vue?v=1.0.0'),
|
||||
},
|
||||
methods: {
|
||||
async sendPaymentMsg(id){
|
||||
const resp = await $.get(loc() + '/sendPaymentMsg',{id:id})
|
||||
async sendPaymentMsg(row){
|
||||
const confirm = await this.$confirm("您确定对【"+ row.username +"】会员进行催缴吗?", '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
})
|
||||
if (confirm !== 'confirm') return
|
||||
const resp = await $.get(loc() + '/sendPaymentMsg',{id:row.id})
|
||||
if (resp.code === 0){
|
||||
this.notifySuccess(resp.msg)
|
||||
this.pageData()
|
||||
|
||||
Reference in New Issue
Block a user