| | |
| | | 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'] |
| | | } |
| | |
| | | <style lang="scss" scoped> |
| | | .createUser { |
| | | border-radius: 1px; |
| | | background-color: #09152f; |
| | | background-color: white; |
| | | |
| | | main { |
| | | text-align: left; |
| | | padding: 0 55px; |
| | | background-color: #09152f; |
| | | background-color: white; |
| | | padding-bottom: 50px; |
| | | |
| | | .mainContent { |
| | |
| | | justify-content: center; |
| | | padding-top: 50px; |
| | | |
| | | &::v-deep .el-form-item__label { |
| | | color: #4b9bb7; |
| | | } |
| | | // &::v-deep .el-form-item__label { |
| | | // color: #606266; |
| | | // } |
| | | |
| | | &::v-deep .el-input__inner { |
| | | background-color: #09152f; |
| | | border: 1px solid #17324c; |
| | | } |
| | | // &::v-deep .el-input__inner { |
| | | // //background-color: #09152f; |
| | | // border: 1px solid #17324c; |
| | | // } |
| | | |
| | | &::v-deep .el-textarea__inner { |
| | | background-color: #09152f; |
| | | border: 1px solid #17324c; |
| | | } |
| | | // &::v-deep .el-textarea__inner { |
| | | // //background-color: #09152f; |
| | | // border: 1px solid #17324c; |
| | | // } |
| | | |
| | | :deep(.el-input__count) { |
| | | background-color: #09152f; |
| | | //background-color: #09152f; |
| | | } |
| | | |
| | | .el-form-item__content { |
| | |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | | </style> |