From 1e07cfd8ac6c3e31e94c0ea98dcff61db51e49d1 Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期一, 09 一月 2023 16:54:39 +0800 Subject: [PATCH] fix: 单选框展示 --- src/views/operate/baseSetting/illegalBuild/createUser/index.vue | 47 ++++++++++++++--------------------------------- 1 files changed, 14 insertions(+), 33 deletions(-) diff --git a/src/views/operate/baseSetting/illegalBuild/createUser/index.vue b/src/views/operate/baseSetting/illegalBuild/createUser/index.vue index db5f524..c30a105 100644 --- a/src/views/operate/baseSetting/illegalBuild/createUser/index.vue +++ b/src/views/operate/baseSetting/illegalBuild/createUser/index.vue @@ -67,7 +67,6 @@ parentId:'', level:'', }, - parentList: [], createIll: { name: [ { required: true, trigger: 'blur', validator: checkName } @@ -80,7 +79,7 @@ }, levelList: [ { - label: "杩濆缓涓被鍨�", + label: "杩濆缓绫诲瀷", value: 1, }, { @@ -128,9 +127,7 @@ }, // 鎻愪氦鏂板杩濊绫诲瀷 handleSubmit() { - console.log(this.things); this.$refs.user.validate((valid) => { - console.log(valid); if (valid) { const { things,selectOrg } = this; this.$axios({ @@ -171,25 +168,10 @@ }else{ this.parentList = await this.getTypeThird() - // this.parentList = this.addChildren(await this.getTypeThird(), await this.getTypeSecond()); } }, - // addChildren(parentArr, childArr) { - // // console.log(parentArr.length,childArr); - // parentArr.forEach(item => { - // item.children = []; - // childArr.forEach(child => { - // if (item.id === child.parentId) { - // item.children.push(child); - // } - // }) - // }) - // console.log(parentArr); - // return parentArr; - // }, handleCheck(data, checked) { this.things.parentId = data.name; - console.log(this.selectOrg.orgsid); // 鑾峰彇褰撳墠閫夋嫨鐨刬d鍦ㄦ暟缁勪腑鐨勭储寮� const indexs = this.selectOrg.orgsid.indexOf(data.id) // 濡傛灉涓嶅瓨鍦ㄦ暟缁勪腑锛屽苟涓旀暟缁勪腑宸茬粡鏈変竴涓猧d骞朵笖checked涓簍rue鐨勬椂鍊欙紝浠h〃涓嶈兘鍐嶆閫夋嫨銆� @@ -222,13 +204,12 @@ <style lang="scss" scoped> .createUser { 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 { @@ -269,18 +250,18 @@ } } - &::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> \ No newline at end of file -- Gitblit v1.8.0