|
@@ -133,6 +133,23 @@
|
|
|
:title="modalTitle"
|
|
|
@close="onDetailModalClose"
|
|
|
></user-detail>
|
|
|
+ <el-dialog
|
|
|
+ title="修改密码"
|
|
|
+ :visible.sync="dialogFormVisible"
|
|
|
+ :modal-append-to-body="false"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ style="width:100%"
|
|
|
+ >
|
|
|
+ <el-form>
|
|
|
+ <el-form-item label="新密码" prop="password">
|
|
|
+ <el-input v-model="newPassword" placeholder="请输入新密码" style="width:50%" show-password></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button @click="dialogFormVisible = false">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="changePw">确 定</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -166,7 +183,9 @@ export default {
|
|
|
modalTitle: "",
|
|
|
businessKey: "",
|
|
|
showModal: false,
|
|
|
- companyResult:""
|
|
|
+ companyResult:"",
|
|
|
+ dialogFormVisible:false,
|
|
|
+ newPassword:""
|
|
|
};
|
|
|
},
|
|
|
methods: {
|