部门点击编辑出现数据错乱修复

ywj_dev
郑明梁 2 years ago
parent 85abafc129
commit 2560c42e4c

@ -99,7 +99,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-dialog :title="formMap[formName]" :visible.sync="formVisible" width="45%"> <el-dialog :title="formMap[formName]" :before-close="cancelDialog" :visible.sync="formVisible" width="45%">
<el-form :model="formData" ref="dataForm" :rules="rules" label-width="150px"> <el-form :model="formData" ref="dataForm" :rules="rules" label-width="150px">
<el-row> <el-row>
<el-form-item label="上级部门:" v-if="formData.pid != 0"> <el-form-item label="上级部门:" v-if="formData.pid != 0">

Loading…
Cancel
Save