| | |
| | | <el-input v-model="form.phone"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="部门:" prop="deptIds" required> |
| | | <el-select v-model="form.deptIds" multiple collapse-tags placeholder="部门" :disabled="this.$route.query.id"> |
| | | <!-- <el-select v-model="form.deptIds" multiple collapse-tags placeholder="部门" :disabled="this.$route.query.id"> |
| | | <el-option v-for="item in depts" :key="item.id" :value="item.id" :label="item.name"></el-option> |
| | | </el-select> |
| | | </el-select> --> |
| | | <el-cascader |
| | | clearable |
| | | :disabled="this.$route.query.id" |
| | | v-model="form.deptIds" |
| | | :options="depts" |
| | | :props="{ emitPath: false, multiple: true, value: 'id', label: 'name', checkStrictly: true }" |
| | | ></el-cascader> |
| | | </el-form-item> |
| | | <el-form-item label="标签:" prop="tagIds"> |
| | | <el-select v-model="form.tagIds" multiple collapse-tags placeholder="标签"> |