This commit is contained in:
zmj 2024-05-30 10:50:53 +08:00
parent 034219cab1
commit d8b7ba1905
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@
</div>
</el-form-item>
<el-form-item label="部门状态">
<el-switch v-model="formData.status" :active-value="1" :inactive-value="0" />
<el-switch v-model="formData.status" :active-value="0" :inactive-value="1" />
</el-form-item>
</el-form>
</popup>

View File

@ -6,7 +6,7 @@
<el-input v-model="formData.name" placeholder="请输入组织名称" clearable :maxlength="100" />
</el-form-item>
<el-form-item label="组织状态" required prop="status">
<el-switch v-model="formData.status" :active-value="1" :inactive-value="0" />
<el-switch v-model="formData.status" :active-value="0" :inactive-value="1" />
</el-form-item>
</el-form>
</popup>

View File

@ -26,7 +26,7 @@
<el-input v-model="formData.remark" placeholder="请输入备注" type="textarea" :autosize="{ minRows: 4, maxRows: 6 }" maxlength="200" show-word-limit />
</el-form-item> -->
<el-form-item label="岗位状态" required prop="status">
<el-switch v-model="formData.status" :active-value="1" :inactive-value="0" />
<el-switch v-model="formData.status" :active-value="0" :inactive-value="1" />
</el-form-item>
</el-form>
</popup>