| | |
| | | if (value) { |
| | | callback(); |
| | | } else { |
| | | // const rep = /^[\u4E00-\u9FA5]{2,4}$/; |
| | | // if (!rep.test(value)) { |
| | | // callback("请输入正确的用户姓名"); |
| | | // } |
| | | callback(); |
| | | } |
| | | }; |
| | |
| | | handleCancel(){ |
| | | this.$emit('closeDialog',{flag:false,index:0}); |
| | | } |
| | | // 获取创建用户信息 |
| | | // async getCreaterInfo(){ |
| | | // let id; |
| | | // const name = sessionStorage.getItem('name'); |
| | | // await this.$axios({ |
| | | // method:'get', |
| | | // url:'sccg/admin/info?name='+'name' |
| | | // }) |
| | | // .then(res=>{ |
| | | // console.log(res); |
| | | // if(res.code ===200){ |
| | | |
| | | // } |
| | | // }) |
| | | // } |
| | | }, |
| | | props: ['closeDialog'] |
| | | } |