| | |
| | | <!-- 案由 --> |
| | | <el-form-item class="optionItem" label="案由:" prop="type"> |
| | | <el-input type="textarea" autosize v-model="things.type" placeholder="请输入案由描述内容" |
| | | :disabled="!updateFlag" disabled></el-input> |
| | | :disabled="!updateFlag" ></el-input> |
| | | </el-form-item> |
| | | <!-- <el-form-item v-if="updateFlag"> |
| | | <div class="optionBtn"> |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | console.log(this.userInfo); |
| | | this.things = JSON.parse(JSON.stringify(this.userInfo)); |
| | | // 获取所属类型列表 |
| | | this.getTypeThird(); |
| | |
| | | this.getTypeFirst(); |
| | | }, |
| | | methods: { |
| | | // handleUser() { |
| | | // this.$refs.user.validate((valid) => { |
| | | // if (valid) { |
| | | // const { role } = this; |
| | | // console.log(role); |
| | | // this.$axios.post('/sccg/role/update/' + role.id, { |
| | | // id: role.id, |
| | | // status: role.status, |
| | | // description: role.description, |
| | | // name: role.name, |
| | | // sort: 0 |
| | | // }).then(res => { |
| | | // this.$emit('changeDialog', { flag: false }); |
| | | // }) |
| | | // } else { |
| | | // return false; |
| | | // } |
| | | // }) |
| | | // }, |
| | | // 查询所属类型 |
| | | getTypeThird() { |
| | | this.$axios({ |
| | |
| | | <style lang="scss" scoped> |
| | | .updateUser { |
| | | border-radius: 1px; |
| | | background-color: #09152f; |
| | | background-color: #fff; |
| | | |
| | | main { |
| | | // border: 1px solid #fff; |
| | | text-align: left; |
| | | padding: 0 55px; |
| | | background-color: #09152f; |
| | | background-color: #fff; |
| | | padding-bottom: 50px; |
| | | |
| | | .mainContent { |
| | |
| | | } |
| | | } |
| | | |
| | | &::v-deep .el-textarea__inner { |
| | | background-color: #09152f; |
| | | border: 1px solid #17324c; |
| | | } |
| | | // &::v-deep .el-textarea__inner { |
| | | // // background-color: #09152f; |
| | | // border: 1px solid #17324c; |
| | | // } |
| | | |
| | | ::v-deep .el-form-item__label { |
| | | color: #4b9bb7; |
| | | } |
| | | // ::v-deep .el-form-item__label { |
| | | // color: #4b9bb7; |
| | | // } |
| | | |
| | | ::v-deep .el-input__inner { |
| | | background-color: #09152f; |
| | | border: 1px solid #17324c; |
| | | } |
| | | // ::v-deep .el-input__inner { |
| | | // // background-color: #09152f; |
| | | // border: 1px solid #17324c; |
| | | // } |
| | | } |
| | | </style> |