风险值班管理-密码修改
This commit is contained in:
parent
6c7d75a635
commit
5a512ab42b
|
|
@ -176,7 +176,7 @@ export default {
|
|||
if (this.$refs.pwdVerifiersDialog) {
|
||||
this.$refs.pwdVerifiersDialog.resetForm();
|
||||
}
|
||||
this.commitUpdateData();
|
||||
this.planEditMode = true
|
||||
})
|
||||
|
||||
},
|
||||
|
|
@ -188,7 +188,7 @@ export default {
|
|||
// 保存编辑计划
|
||||
handleSave() {
|
||||
if (this.currentTime) {
|
||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||
this.commitUpdateData();
|
||||
}
|
||||
},
|
||||
commitUpdateData() {
|
||||
|
|
@ -221,7 +221,8 @@ export default {
|
|||
},
|
||||
// 编辑排班
|
||||
handleEdit(val) {
|
||||
this.planEditMode = true
|
||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||
|
||||
},
|
||||
// 获取日期列表
|
||||
getList() {
|
||||
|
|
|
|||
|
|
@ -127,6 +127,7 @@ export default {
|
|||
components: { FileTable, Pagination,modulDialog },
|
||||
data() {
|
||||
return {
|
||||
checkRow:{},
|
||||
componentDialog: {
|
||||
modulName: '', //组件名称
|
||||
title: '',
|
||||
|
|
@ -184,7 +185,7 @@ export default {
|
|||
if (this.$refs.pwdVerifiersDialog) {
|
||||
this.$refs.pwdVerifiersDialog.resetForm();
|
||||
}
|
||||
this.commitUpdateData();
|
||||
this.isOpenEditDialog();
|
||||
})
|
||||
|
||||
},
|
||||
|
|
@ -235,6 +236,12 @@ export default {
|
|||
},
|
||||
// 编辑
|
||||
handleUpdate(row) {
|
||||
this.checkRow = _.cloneDeep(row);
|
||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||
|
||||
},
|
||||
isOpenEditDialog(){
|
||||
let row = this.checkRow;
|
||||
this.temp = Object.assign({}, row)
|
||||
this.fileList = row.sourceIds.map(item => {
|
||||
const { fileName, fileId, id } = item
|
||||
|
|
@ -250,7 +257,7 @@ export default {
|
|||
updateData() {
|
||||
this.$refs['dataForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||
this.commitUpdateData();
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
@ -271,6 +278,7 @@ export default {
|
|||
type: 'success',
|
||||
duration: 2000
|
||||
})
|
||||
this.checkRow = {};
|
||||
this.getList()
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@ export default {
|
|||
components: { Pagination,modulDialog },
|
||||
data() {
|
||||
return {
|
||||
checkRow:{},
|
||||
componentDialog: {
|
||||
modulName: '', //组件名称
|
||||
title: '',
|
||||
|
|
@ -146,10 +147,11 @@ export default {
|
|||
phoneFormatter(row, column, cellValue, index){
|
||||
if(row.emergencySource){ console.log(1111)
|
||||
// console.log(row.emergencySource)
|
||||
// let en= decryptData(row.emergencySource);
|
||||
// let phone =en.replace(/\/g, '');
|
||||
// const formatPhone = desensitize(phone,'phone');
|
||||
return row.emergencySource;
|
||||
let en= decryptData(row.emergencySource);
|
||||
let phone =en.replace(/\/g, '');
|
||||
const formatPhone = desensitize(phone,'phone');
|
||||
// return row.emergencySource;
|
||||
return formatPhone;
|
||||
}else{
|
||||
return '';
|
||||
}
|
||||
|
|
@ -173,7 +175,7 @@ export default {
|
|||
if (this.$refs.pwdVerifiersDialog) {
|
||||
this.$refs.pwdVerifiersDialog.resetForm();
|
||||
}
|
||||
this.commitUpdateData();
|
||||
this.isOpenEditDialog();
|
||||
})
|
||||
|
||||
},
|
||||
|
|
@ -217,6 +219,12 @@ export default {
|
|||
},
|
||||
// 编辑
|
||||
handleUpdate(row) {
|
||||
this.checkRow = _.cloneDeep(row);
|
||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||
|
||||
},
|
||||
isOpenEditDialog(){
|
||||
let row = this.checkRow;
|
||||
this.temp = Object.assign({}, row)
|
||||
if(row.emergencySource){
|
||||
let emergencySource = decryptData(row.emergencySource).replace(/\/g, '');
|
||||
|
|
@ -229,7 +237,7 @@ export default {
|
|||
updateData() {
|
||||
this.$refs['dataForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||
this.commitUpdateData();
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
@ -245,6 +253,7 @@ export default {
|
|||
type: 'success',
|
||||
duration: 2000
|
||||
})
|
||||
this.checkRow = {};
|
||||
this.getList()
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
|
|
|||
|
|
@ -127,6 +127,7 @@ export default {
|
|||
components: { FileTable, Pagination,modulDialog },
|
||||
data() {
|
||||
return {
|
||||
checkRow:{},
|
||||
componentDialog: {
|
||||
modulName: '', //组件名称
|
||||
title: '',
|
||||
|
|
@ -185,7 +186,7 @@ export default {
|
|||
if (this.$refs.pwdVerifiersDialog) {
|
||||
this.$refs.pwdVerifiersDialog.resetForm();
|
||||
}
|
||||
this.commitUpdateData();
|
||||
this.isOpenEditDialog();
|
||||
})
|
||||
|
||||
},
|
||||
|
|
@ -236,6 +237,12 @@ export default {
|
|||
},
|
||||
// 编辑
|
||||
handleUpdate(row) {
|
||||
this.checkRow = _.cloneDeep(row);
|
||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||
|
||||
},
|
||||
isOpenEditDialog(){
|
||||
let row = this.checkRow;
|
||||
this.temp = Object.assign({}, row)
|
||||
this.fileList = row.sourceIds.map(item => {
|
||||
const { fileName, fileId, id } = item
|
||||
|
|
@ -251,7 +258,7 @@ export default {
|
|||
updateData() {
|
||||
this.$refs['dataForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||
this.commitUpdateData();
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
@ -272,6 +279,7 @@ export default {
|
|||
type: 'success',
|
||||
duration: 2000
|
||||
})
|
||||
this.checkRow = {};
|
||||
this.getList()
|
||||
this.dialogFormVisible = false
|
||||
}).finally(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue