| | |
| | | if ((ar.NotEmpty == '1' || ar.notempty == true) && !ar.Value) { |
| | | // if(ar.notEmpty=='1'){ |
| | | uni.hideLoading(); |
| | | // uni.showToast({title:ar.DispName+'不能为空!',icon:"success",duration:3000}); |
| | | uni.showModal({title:"提示",content:ar.DispName+'不能为空!',showCancel:false,confirmText:"取消"}); |
| | | return; |
| | | } |
| | |
| | | var action = JSON.parse(success.data.Action); |
| | | if(action.ret=='0'){ |
| | | if(action.result_type=='0'){ |
| | | uni.showModal({title:"提示",content:action.result,showCancel:false,confirmText:"取消"}); |
| | | uni.showToast({title:action.result,icon:"success",duration:3000}); |
| | | } |
| | | // "{"ret":0, "result_type":0, "result":"创建成功123123123","info":""}" |
| | | } |