src/views/system/dept/index.vue
@@ -115,7 +115,7 @@ </el-table> <!-- 添加或修改部门对话框 --> <el-dialog :title="title" :visible.sync="open" width="600px" append-to-body> <el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open" width="600px" append-to-body> <el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-row> <el-col :span="24" v-if="form.parentId !== 0"> @@ -281,6 +281,9 @@ message: "请输入正确的手机号码", trigger: "blur" } ], remarks: [ {max: 128, message: '最多输入128个字符', trigger: 'blur' } ] }, // 下拉用户