This commit is contained in:
parent
a11bf121f5
commit
ffe2ba6ad9
|
|
@ -63,6 +63,8 @@ import ComTable from '@/components/ComTable/index.vue'
|
||||||
import ComButton from '@/components/ComButton/index.vue'
|
import ComButton from '@/components/ComButton/index.vue'
|
||||||
import ComDialog from '@/components/ComDialog/index.vue'
|
import ComDialog from '@/components/ComDialog/index.vue'
|
||||||
import AddAndEditForm from './addAndEditForm.vue'
|
import AddAndEditForm from './addAndEditForm.vue'
|
||||||
|
import CryptoUtil from "../../../api/crypto.js";
|
||||||
|
import {decrypt} from "../../../utils/jsencrypt.js";
|
||||||
|
|
||||||
const { tableColumns, dialogConfig, buildFormColumns } = config
|
const { tableColumns, dialogConfig, buildFormColumns } = config
|
||||||
const { proxy } = getCurrentInstance()
|
const { proxy } = getCurrentInstance()
|
||||||
|
|
@ -136,7 +138,7 @@ const actionColumns = [
|
||||||
Object.assign(addAndEditForm.value, {
|
Object.assign(addAndEditForm.value, {
|
||||||
inspectionStationId: inspectionStationId + '',
|
inspectionStationId: inspectionStationId + '',
|
||||||
name,
|
name,
|
||||||
phone,
|
phone:CryptoUtil.decrypt(phone),
|
||||||
sex: sex * 1,
|
sex: sex * 1,
|
||||||
positionId: positionId + '',
|
positionId: positionId + '',
|
||||||
personnelNatureId: personnelNatureId + '',
|
personnelNatureId: personnelNatureId + '',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue