|
|
@@ -39,7 +39,7 @@
|
|
39
|
39
|
import { getBlack, addOrEditBlack } from '@/api/telCall/blackList'
|
|
40
|
40
|
import { validateTel } from '@/utils/validate'
|
|
41
|
41
|
import { filterContent } from '@/utils'
|
|
42
|
|
-
|
|
|
42
|
+import { encrypt,decrypt } from "@/utils/secretKey"
|
|
43
|
43
|
const validateTelRule = (rule, value, callback) => {
|
|
44
|
44
|
if (!validateTel(value)) {
|
|
45
|
45
|
callback(new Error('请输入有效的电话号码!'))
|
|
|
@@ -186,7 +186,7 @@ export default {
|
|
186
|
186
|
getBlack(blackid).then((response) => {
|
|
187
|
187
|
if (response.state.toLowerCase() === 'success') {
|
|
188
|
188
|
const res = response.data
|
|
189
|
|
- this.ruleForm.phone = res.F_TelPhone
|
|
|
189
|
+ this.ruleForm.phone = decrypt(res.F_TelPhoneShow)
|
|
190
|
190
|
this.ruleForm.type = res.F_BlackType.toString()
|
|
191
|
191
|
if (res.F_BlackType === 0) {
|
|
192
|
192
|
this.typeState = 1
|