|
|
@@ -307,6 +307,7 @@ import UploadImg from '@/common/components/uploadImg/index.vue';
|
|
|
import { getUploadImg } from '@/common/setup/upload';
|
|
|
import { CustomerInfoOperateReq } from '@/services/proto/accountinfo/interface';
|
|
|
import { initData } from '@/common/methods';
|
|
|
+import {toBase64, toBase64String} from "@/utils/storage/base64";
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'add-custom',
|
|
|
@@ -342,7 +343,7 @@ export default defineComponent({
|
|
|
operatetype: 1,
|
|
|
areaid: param.areaid as number,
|
|
|
logincode: param.logincode,
|
|
|
- loginpwd: param.loginpwd,
|
|
|
+ loginpwd: toBase64String(toBase64String(param.loginpwd)),
|
|
|
username: param.username, // 必填
|
|
|
userid: getUserId(), // 写死 必填
|
|
|
userinfotype: Number(param.userinfotype),
|