|
|
@@ -41,6 +41,7 @@ import {
|
|
41
|
41
|
getTypeDetail
|
|
42
|
42
|
} from '@/api/systemSetup/roleSetting/department'
|
|
43
|
43
|
import selectDeptTree from '../../../../../components/context/commonSelect/selectDeptTree.vue'
|
|
|
44
|
+import { encrypt, decrypt } from '@/utils/secretKey'
|
|
44
|
45
|
export default {
|
|
45
|
46
|
name: 'AddOrEditKnowledge',
|
|
46
|
47
|
props: {
|
|
|
@@ -132,8 +133,8 @@ export default {
|
|
132
|
133
|
this.ruleForm.name = res.F_DeptName // 分类名称
|
|
133
|
134
|
this.ruleForm.sort = res.F_Sort // 排序
|
|
134
|
135
|
this.ruleForm.code = res.F_DeptCode // 编码
|
|
135
|
|
- this.ruleForm.officeTelephone = res.F_OfficeTelephone // 电话
|
|
136
|
|
- this.ruleForm.location = res.F_Location // 位置
|
|
|
136
|
+ this.ruleForm.officeTelephone = decrypt(res.F_OfficeTelephoneShow)// 电话
|
|
|
137
|
+ this.ruleForm.location = decrypt(res.F_LocationShow) // 位置
|
|
137
|
138
|
this.ruleForm.DeptId = res.F_DeptId.toString() // 所属部门Number(res.F_DeptId)
|
|
138
|
139
|
this.ruleForm.hosid = res.T_Woid
|
|
139
|
140
|
this.deptid = this.$store.getters.deptmap[parseInt(this.clickId)].ids
|