11.18
This commit is contained in:
parent
5201736130
commit
ef9c7611af
@ -286,6 +286,7 @@ export default {
|
||||
|
||||
this.$refs[formName].validate((valid) =>{
|
||||
this.form.recipientRoles = this.form.recipientRoles.toString()
|
||||
this.form.conditions = JSON.stringify(this.form.conditions)
|
||||
if (valid) {
|
||||
// 表单验证通过,可以提交数据
|
||||
this.open = false
|
||||
@ -294,6 +295,7 @@ export default {
|
||||
if (res.code === 200) {
|
||||
this.getList()
|
||||
this.open = false
|
||||
this.$modal.msgSuccess("添加成功");
|
||||
}
|
||||
})
|
||||
} else {
|
||||
@ -301,6 +303,7 @@ export default {
|
||||
if (res.code === 200) {
|
||||
this.getList()
|
||||
this.open = false
|
||||
this.$modal.msgSuccess("添加成功");
|
||||
}
|
||||
})
|
||||
}
|
||||
|
@ -324,13 +324,13 @@ public class SysNotifyServiceImpl extends ServiceImpl<SysNotifyMapper, SysNotif
|
||||
for (int i = 0; i < jsonArray.size(); i++) {
|
||||
String mm= jsonArray.get(i).toString();
|
||||
JSONObject userObject = jsonArray.getJSONObject(i);
|
||||
Integer userId=null;
|
||||
Integer userId=Integer.valueOf(mm);
|
||||
//Integer userId = userObject.getInteger("id")
|
||||
if(userObject.get("id")==null){
|
||||
userId=Integer.valueOf(userObject.get("staffId").toString());
|
||||
}else {
|
||||
userId=Integer.valueOf(userObject.get("id").toString());
|
||||
}
|
||||
// if(mm==null){
|
||||
// userId=Integer.valueOf(userObject.get("staffId").toString());
|
||||
// }else {
|
||||
// userId=Integer.valueOf(userObject.get("id").toString());
|
||||
// }
|
||||
|
||||
// 根据 userId 查询员工信息
|
||||
TAccount account = tAccountMapper.selectOnes(userId);
|
||||
|
Loading…
Reference in New Issue
Block a user