huangbin před 4 roky
rodič
revize
d11cf19f4b

+ 6 - 0
src/common/methods/table/interface.ts

@@ -38,6 +38,12 @@ export interface TableKey {
     table_pcweb_purchase_all: "string; // 采购_全部"
     table_pcweb_purchase_pointprice: "string; // 采购_待点价"
     table_pcweb_purchase_settle: "string; // 采购_履约交收"
+    table_pcweb_qhj_customer_info: "string; // 铂金宝-客户资料"
+    table_pcweb_qhj_fixed_financing_information: "string; // 铂金宝-融资信息"
+    table_pcweb_qhj_fixed_investment_flow_query: "string; // 铂金宝-定投查询-定投流水查询"
+    table_pcweb_qhj_fixed_investment_plan_query: "string; // 铂金宝-定投查询-定投计划查询"
+    table_pcweb_qhj_fixed_investment_price_query: "string; // 铂金宝-定投价查询"
+    table_pcweb_qhj_pickup_query: "string; // 铂金宝-提货查询"
     table_pcweb_qhj_recharge_review: "string; // 铂金宝-充值提现审核-充值审核"
     table_pcweb_qhj_withdrawal_review: "string; // 铂金宝-充值提现审核-提现审核"
     table_pcweb_report_fincial_invoice_day: "string; // 报表-财务报表-发票-日报表"

+ 4 - 4
src/services/proto/accountinfo/interface.ts

@@ -91,7 +91,7 @@ export interface ErmcpBizGroupTAAccount {
 // 期货账户新增修改请求 0 29 146
 export interface HedgeOutMainConfigReq {
     marketid?: number; // uint64 内部市场ID(HedgeOutMainConfig)
-    hedgeaccountcode?: string ; // string 对冲账号ID(HedgeOutMainConfig)
+    hedgeaccountcode?: string; // string 对冲账号ID(HedgeOutMainConfig)
     connectflag?: number; // int32 是否联接外部交易 - 0:不连接 1:连接(HedgeOutMainConfig)
     hedgeaccountpwd?: string; // string 对冲账号密码(HedgeOutMainConfig)
     appid?: string; // string AppID(HedgeOutMainConfig)
@@ -163,10 +163,10 @@ export interface CustomerInfoOperateReq {
     nickname: string // string 企业简称(企业)
     cardtype: number // uint32 证件类型
     cardnum: string // string 证件号码
-    cardfrontphotourl: string // string 身份证正面照(个人)
-    cardbackphotourl: string // string 身份证反面照(个人)
+    cardfrontphotourl?: string // string 身份证正面照(个人)
+    cardbackphotourl?: string // string 身份证反面照(个人)
     email: string // string 邮箱(个人)
-    referral: string // string 推荐码(个人)
+    referral?: string // string 推荐码(个人)
     legalpersonname: string // string 法定代表人(企业)
     taxpayernum: string // string 纳税人识别号(企业)
     proxystatementurl: string // string 营业执照(企业)

+ 21 - 19
src/views/platinum/platinum_customer_info/compoments/add/index.vue

@@ -76,9 +76,9 @@
         <template v-if="!isPersonal()">
           <a-col :span="12">
             <a-form-item label="企业名称"
-                         name="customername">
+                         name="username">
               <a-input class="dialogInput"
-                       v-model:value="formState.customername"
+                       v-model:value="formState.username"
                        style="width: 200px"
                        placeholder="请输入企业名称" />
             </a-form-item>
@@ -272,10 +272,10 @@
         </a-col>
         <a-col :span="24">
           <a-form-item label="&nbsp;"
-                       name="cardaddress">
+                       name="ipaddress">
             <a-input class="dialogInput"
                      style="width: 635px"
-                     v-model:value="formState.cardaddress"
+                     v-model:value="formState.ipaddress"
                      placeholder="请输入详细地址" />
           </a-form-item>
         </a-col>
@@ -303,10 +303,11 @@ import { getAddress } from '@/services/go/adress';
 import { AddUserInfoApplyReq } from '@/services/go/ermcp/customInfo/interface';
 import { getUserId } from '@/services/bus/account';
 import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
-import { QueryAddUserInfoApply } from '@/services/go/ermcp/customInfo';
+import { addCustomerInfoOperate } from '@/services/proto/accountinfo';
 import { validateAction } from '@/common/setup/form';
 import UploadImg from '@/common/components/uploadImg/index.vue';
 import { getUploadImg } from '@/common/setup/upload';
+import { CustomerInfoOperateReq } from '@/services/proto/accountinfo/interface';
 
 export default defineComponent({
     name: 'add-custom',
@@ -333,34 +334,35 @@ export default defineComponent({
 
         function submit(OperateType: 1 | 2) {
             validateAction<FormState>(formRef, formState).then((param) => {
-                const reqParam: AddUserInfoApplyReq = {
-                    customername: Number(param.userinfotype) === 1 ? param.username : param.customername, // 必填
+                const reqParam: CustomerInfoOperateReq = {
+                    operatetype: 1,
+                    areaid: param.areaid as number,
+                    logincode: param.logincode,
+                    loginpwd: param.loginpwd,
+                    username: param.username, // 必填
                     userid: 1, // 写死 必填
-                    memberareaid: getUserId(),
                     userinfotype: Number(param.userinfotype),
-                    username: param.username,
-                    userstate: OperateType, // 1: 保存草稿 2: 新增
                     // 以上必填
-                    cardtype: param.cardtype, // 证件类型
+                    cardtype: param.cardtype as number, // 证件类型
                     cardnum: param.cardnum, // 证件号码
                     nickname: param.nickname, // 昵称
                     remark: param.remark, // 备注
                     mobilephone: param.mobilephone, //  手机号码
                     telphone: param.telphone, // 电话
-                    cardfrontphotourl: getFrontImg(), // 正面照片
-                    cardbackphotourl: getBackImg(), // 背面证件照地址
-                    cardaddress: param.cardaddress, // 证件地址
-                    cityid: param.cityid, //
-                    districtid: param.districtid, // 地区
+                    cardfrontphotourl: isPersonal() ? getFrontImg() : '', // 正面照片
+                    cardbackphotourl: isPersonal() ? getBackImg() : '', // 背面证件照地址
+                    ipaddress: param.ipaddress, // 证件地址
+                    cityid: param.cityid as number, //
+                    districtid: param.districtid as number, // 地区
                     // countryid: param.,9
-                    provinceid: param.provinceid, //省
+                    provinceid: param.provinceid as number, //省
                     contactname: param.contactname, // 联系人
                     legalpersonname: param.legalpersonname, // 法人姓名(企业)
                     taxpayernum: param.taxpayernum, // 纳税人识别号
                     email: param.email, // email
-                    attachment1: getAttachmentImg(), // 营业执照
+                    proxystatementurl: isPersonal() ? '' : getAttachmentImg(), // 营业执照
                 };
-                requestResultLoadingAndInfo(QueryAddUserInfoApply, reqParam, loading, OperateType === 1 ? ['保存草稿成功', '保存草稿失败:'] : ['新增客户资料成功', '新增客户资料失败:']).then(() => {
+                requestResultLoadingAndInfo(addCustomerInfoOperate, reqParam, loading, OperateType === 1 ? ['保存草稿成功', '保存草稿失败:'] : ['新增客户资料成功', '新增客户资料失败:']).then(() => {
                     cancel();
                     context.emit('refresh');
                 });

+ 1 - 1
src/views/platinum/platinum_customer_info/compoments/add/interface.ts

@@ -22,7 +22,7 @@ export interface FormState {
     cityid: number | undefined; //市
     districtid: number | undefined; //地区
     remark: string; //备注
-    cardaddress: string; //证件地址 (加密存储)
+    ipaddress: string; //证件地址 (加密存储)
     username: string;//用户姓名
     cardbackphotourl: string;//背面证件照地址
     cardfrontphotourl: string;//正面证件照地址

+ 25 - 28
src/views/platinum/platinum_customer_info/compoments/modify/index.vue

@@ -275,10 +275,10 @@
         </a-col>
         <a-col :span="24">
           <a-form-item label="&nbsp;"
-                       name="cardaddress">
+                       name="ipaddress">
             <a-input class="dialogInput"
                      style="width: 635px"
-                     v-model:value="formState.cardaddress"
+                     v-model:value="formState.ipaddress"
                      placeholder="请输入详细地址" />
           </a-form-item>
         </a-col>
@@ -306,12 +306,13 @@ import { getAddress } from '@/services/go/adress';
 import { ModifyUserInfoApplyReq, QueryCustomInfoType } from '@/services/go/ermcp/customInfo/interface';
 import { getUserId } from '@/services/bus/account';
 import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
-import { QueryModifyUserInfoApply } from '@/services/go/ermcp/customInfo';
+import { addCustomerInfoOperate } from '@/services/proto/accountinfo';
 import { mergeTwoObj } from '@/utils/objHandle';
 import { validateAction } from '@/common/setup/form';
 import { delAddress } from '@/services/socket/address';
 import UploadImg from '@/common/components/uploadImg/index.vue';
 import { getUploadImg } from '@/common/setup/upload';
+import { CustomerInfoOperateReq } from '@/services/proto/accountinfo/interface';
 
 export default defineComponent({
     name: 'modify-custom',
@@ -319,7 +320,7 @@ export default defineComponent({
     props: {
         selectedRow: {
             default: initFormState,
-            type: Object as PropType<QueryCustomInfoType>,
+            type: Object as PropType<CustomerInfoOperateReq>,
         },
     },
     setup(props, context) {
@@ -332,11 +333,11 @@ export default defineComponent({
         // 地址
         const { cityList, districtList, provinceList, getCityList, getDistrictList } = getAddress();
         // 营业执照
-        const { uploadImgAction: attachmentUpload, uploadImgList: attachmentImgList, handleImg: attachmentHandle } = getUploadImg();
+        const { getFirstImg: getAttachmentImg, uploadImgAction: attachmentUpload, uploadImgList: attachmentImgList, handleImg: attachmentHandle } = getUploadImg();
         // 背面证件照地址
-        const { uploadImgAction: cardbackUpload, uploadImgList: cardbackImgList, handleImg: cardbackHandle } = getUploadImg();
+        const { getFirstImg: getBackImg, uploadImgAction: cardbackUpload, uploadImgList: cardbackImgList, handleImg: cardbackHandle } = getUploadImg();
         // 正面证件照地址
-        const { uploadImgAction: cardfrontUpload, uploadImgList: cardfrontImgList, handleImg: cardfrontHandle } = getUploadImg();
+        const { getFirstImg: getFrontImg, uploadImgAction: cardfrontUpload, uploadImgList: cardfrontImgList, handleImg: cardfrontHandle } = getUploadImg();
 
         function isPersonal(): boolean {
             return formState.userinfotype === '1';
@@ -347,19 +348,13 @@ export default defineComponent({
         watchEffect(() => {
             if (visible.value) {
                 userid.value = props.selectedRow.userid;
-                countryid.value = props.selectedRow.countryid;
                 mergeTwoObj(formState, props.selectedRow);
-                if (isPersonal()) {
-                    formState.username = props.selectedRow.customername;
-                }
-                const { provinceid, cityid, address, mobile, attachment1, cardfrontphotourl, cardbackphotourl } = props.selectedRow;
-                formState.cardaddress = address;
-                formState.mobilephone = mobile;
+                const { provinceid, cityid, proxystatementurl, cardfrontphotourl, cardbackphotourl } = props.selectedRow;
                 provinceid ? getCityList(provinceid) : (formState.provinceid = undefined);
                 cityid ? getDistrictList(cityid) : ((formState.cityid = undefined), (formState.districtid = undefined));
-                if (attachment1) {
+                if (proxystatementurl) {
                     // 营业执照
-                    attachmentImgList.value = attachmentHandle(attachment1);
+                    attachmentImgList.value = attachmentHandle(proxystatementurl);
                 }
                 if (cardbackphotourl) {
                     // 背面证件照地址
@@ -373,31 +368,33 @@ export default defineComponent({
         });
         function submit(OperateType: 1 | 2) {
             validateAction<FormState>(formRef, formState).then((param) => {
-                const reqParam: ModifyUserInfoApplyReq = {
-                    customername: Number(param.userinfotype) === 1 ? param.username : param.customername, // 必填
+                const reqParam: CustomerInfoOperateReq = {
+                    operatetype: 2,
+                    areaid: param.areaid as number,
+                    logincode: param.logincode,
+                    loginpwd: param.loginpwd,
                     username: param.username,
                     userid: userid.value,
-                    memberareaid: getUserId(),
                     userinfotype: Number(param.userinfotype),
-                    userstate: OperateType, // 1: 保存草稿 2: 新增
-                    cardtype: param.cardtype, // 证件类型
+                    cardtype: param.cardtype as number, // 证件类型
                     cardnum: param.cardnum, // 证件号码
                     nickname: param.nickname, // 昵称
                     remark: param.remark, // 备注
                     mobilephone: param.mobilephone, //  手机号码
                     telphone: param.telphone, // 电话
-                    cardfrontphotourl: param.cardfrontphotourl, // 正面照片
-                    cardaddress: param.cardaddress, // 证件地址
-                    cityid: param.cityid, //
-                    districtid: param.districtid, // 地区
-                    countryid: countryid.value,
-                    provinceid: param.provinceid, //省
+                    cardfrontphotourl: isPersonal() ? getFrontImg() : '', // 正面照片
+                    cardbackphotourl: isPersonal() ? getBackImg() : '', // 背面证件照地址
+                    proxystatementurl: isPersonal() ? '' : getAttachmentImg(), // 营业执照
+                    ipaddress: param.ipaddress, // 证件地址
+                    cityid: param.cityid as number, //
+                    districtid: param.districtid as number, // 地区
+                    provinceid: param.provinceid as number, //省
                     contactname: param.contactname, // 联系人
                     legalpersonname: param.legalpersonname, // 法人姓名(企业)
                     taxpayernum: param.taxpayernum, // 纳税人识别号
                     email: param.email, // email
                 };
-                requestResultLoadingAndInfo(QueryModifyUserInfoApply, reqParam, loading, OperateType === 1 ? ['保存草稿成功', '保存草稿失败:'] : ['新增客户资料成功', '新增客户资料失败:']).then(() => {
+                requestResultLoadingAndInfo(addCustomerInfoOperate, reqParam, loading, OperateType === 1 ? ['保存草稿成功', '保存草稿失败:'] : ['新增客户资料成功', '新增客户资料失败:']).then(() => {
                     cancel();
                     context.emit('refresh');
                 });

+ 1 - 1
src/views/platinum/platinum_customer_info/list/checkpending/index.vue

@@ -63,7 +63,7 @@ export default defineComponent({
             // 获取列表数据
             queryTable();
             // 注册表头信息 过滤
-            registerColumn('table_pcweb_userinfo', ['userinfotype', 'nickname', 'contactname', 'mobile']);
+            registerColumn('table_pcweb_qhj_customer_info', ['userinfotype', 'nickname', 'contactname', 'mobile']);
         });
 
         // 查询

+ 1 - 1
src/views/platinum/platinum_customer_info/list/normal-use/index.vue

@@ -62,7 +62,7 @@ export default defineComponent({
             // 获取列表数据
             queryTable();
             // 注册表头信息 过滤
-            registerColumn('table_pcweb_userinfo', ['userinfotype', 'nickname', 'contactname', 'mobile']);
+            registerColumn('table_pcweb_qhj_customer_info', ['userinfotype', 'nickname', 'contactname', 'mobile']);
         });
 
         // 查询

+ 1 - 1
src/views/platinum/platinum_customer_info/list/stop-use/index.vue

@@ -64,7 +64,7 @@ export default defineComponent({
             // 获取列表数据
             queryTable();
             // 注册表头信息 过滤
-            registerColumn('table_pcweb_userinfo', ['userinfotype', 'nickname', 'contactname', 'mobile']);
+            registerColumn('table_pcweb_qhj_customer_info', ['userinfotype', 'nickname', 'contactname', 'mobile']);
         });
 
         // 查询

+ 1 - 1
src/views/platinum/platinum_customer_info/list/unsubmit/index.vue

@@ -63,7 +63,7 @@ export default defineComponent({
             // 获取列表数据
             queryTable();
             // 注册表头信息 过滤
-            registerColumn('table_pcweb_userinfo', ['userinfotype', 'nickname', 'contactname', 'mobile']);
+            registerColumn('table_pcweb_qhj_customer_info', ['userinfotype', 'nickname', 'contactname', 'mobile']);
         });
 
         // 查询

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 307 - 259
swagger-to-ts/index.js


Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů