From c46c3776a5c86300718b08088a94e43f1869c517 Mon Sep 17 00:00:00 2001 From: ltlzx <942659938@qq.com> Date: Wed, 1 Sep 2021 17:56:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 10 +- src/assets/css/sidebar.css | 52 ++++++- .../common/dialog/DataReview/IDCard.vue | 23 +++- .../common/dialog/DataReview/application.vue | 18 ++- .../common/dialog/DataReview/assets.vue | 21 ++- .../common/dialog/DataReview/assetsInfo.vue | 58 ++++++++ .../common/dialog/DataReview/bankProve.vue | 90 ++++++++++++ .../common/dialog/DataReview/basics.vue | 5 + .../common/dialog/DataReview/businessInfo.vue | 20 +++ .../common/dialog/DataReview/certificate.vue | 90 ++++++++++++ .../common/dialog/DataReview/dataNumber.vue | 35 +++++ .../common/dialog/DataReview/elseFile.vue | 130 ++++++++++++++++++ .../common/dialog/DataReview/entrust.vue | 90 ++++++++++++ .../common/dialog/DataReview/license.vue | 70 +++++++++- .../dialog/DataReview/operatorIDCard.vue | 100 ++++++++++++++ .../common/dialog/DataReview/promise.vue | 90 ++++++++++++ src/components/common/dialog/content.vue | 20 ++- src/components/common/dialog/insex.vue | 22 ++- .../AccountManagement/blacklistManagement.vue | 8 +- .../page/AccountManagement/platformSelect.vue | 23 ++-- .../transactionQuery.vue | 10 +- 21 files changed, 951 insertions(+), 34 deletions(-) create mode 100644 src/components/common/dialog/DataReview/assetsInfo.vue create mode 100644 src/components/common/dialog/DataReview/bankProve.vue create mode 100644 src/components/common/dialog/DataReview/certificate.vue create mode 100644 src/components/common/dialog/DataReview/dataNumber.vue create mode 100644 src/components/common/dialog/DataReview/elseFile.vue create mode 100644 src/components/common/dialog/DataReview/entrust.vue create mode 100644 src/components/common/dialog/DataReview/operatorIDCard.vue create mode 100644 src/components/common/dialog/DataReview/promise.vue diff --git a/src/api/index.js b/src/api/index.js index 48128cc..f4e2d1b 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -4,7 +4,7 @@ import request from '../utils/request'; // 平台账号列表查询 export const platformAccountList = query => { return request({ - url: 'api/admin.Task/platform_account_list', + url: 'api/admin.Account/platform_account_list', method: 'get', params: query }); @@ -20,7 +20,7 @@ export const operationRecord = query => { // 查询账号黑名单 export const getBlack = query => { return request({ - url: 'api/admin.Task/getBlack', + url: 'api/admin.Account/getBlack', method: 'get', params: query }); @@ -44,7 +44,7 @@ export const getAccountData = query => { // 修改黑名单 export const updateBlackList = query => { return request({ - url: 'api/admin.Task/updateBlackList', + url: 'api/admin.Account/updateBlackList', method: 'post', data: query }); @@ -63,7 +63,7 @@ export const accountCheck = query => { // 审核列表 export const applyList = query => { return request({ - url: 'api/admin.Task/applyList', + url: 'api/admin.Account/applyList', method: 'get', params: query }); @@ -129,7 +129,7 @@ export const sendList = query => { //交易订单查询列表 export const orderList = query => { return request({ - url: 'api/admin.Task/orderList', + url: 'api/admin.Order/list', method: 'get', params: query }); diff --git a/src/assets/css/sidebar.css b/src/assets/css/sidebar.css index 0897e39..934b5fa 100644 --- a/src/assets/css/sidebar.css +++ b/src/assets/css/sidebar.css @@ -1,6 +1,7 @@ .body1{ margin-left: 20px; - width: 950px; + width: 1050px; + height: 500px; } .body2{ display: flex; @@ -33,6 +34,16 @@ margin-bottom: 15px; text-decoration: underline; } +.span_blue{ + font-size: 14px; + color: #4E73E4; + cursor: pointer; + text-decoration: underline; +} +.span_left{ + display: inline-block; + margin-left: 15px; +} .upload_span{ color: #4E73E4; text-decoration: underline; @@ -71,7 +82,44 @@ color: #555555; margin-top: 10px; } - +.else_file{ + display: flex; +} +.else_file_right{ + margin-left: 50px; + height: 400px; + width: 350px; + overflow-x: hidden; + overflow-y: scroll; +} +.else_files{ + display: flex; + width: 300px; + justify-content: space-between; + align-items: center; + margin-bottom: 15px; +} +.else_files .img_span{ + margin-top: 0; +} +.dataNumber{ + display: flex; + align-items: center; +} +.dataNumber_input{ + width: 160px; + margin-left: 15px; +} +.dataNumber_input1{ + width: 30px; + margin-left: 15px; +} +.dataNumber_input1 .el-input__inner{ + padding-left: 10px; +} +.margin_right{ + margin-right: 15px; +} diff --git a/src/components/common/dialog/DataReview/IDCard.vue b/src/components/common/dialog/DataReview/IDCard.vue index d2577df..4b2dba9 100644 --- a/src/components/common/dialog/DataReview/IDCard.vue +++ b/src/components/common/dialog/DataReview/IDCard.vue @@ -4,7 +4,7 @@

{{contentDatas.account_type==1?'法人身份证正面(照片面)' :'身份证正面(照片面)'}}

- 查看原图 + 查看原图 {{contentDatas.account_type==1?'法人身份证反面(发证机构面)' :'身份证反面(发证机构面)'}}

- 查看原图 + 查看原图 重新上传
+ + diff --git a/src/components/common/dialog/DataReview/bankProve.vue b/src/components/common/dialog/DataReview/bankProve.vue new file mode 100644 index 0000000..4065ea7 --- /dev/null +++ b/src/components/common/dialog/DataReview/bankProve.vue @@ -0,0 +1,90 @@ + + + diff --git a/src/components/common/dialog/DataReview/basics.vue b/src/components/common/dialog/DataReview/basics.vue index 29bf056..65d0eeb 100644 --- a/src/components/common/dialog/DataReview/basics.vue +++ b/src/components/common/dialog/DataReview/basics.vue @@ -113,6 +113,11 @@ export default { this.oldDates=JSON.parse(JSON.stringify(this.contentDatas)) } }, + watch:{ + contentDatas(val,oldVal){ + this.oldDates=JSON.parse(JSON.stringify(val)) + } + } } diff --git a/src/components/common/dialog/DataReview/dataNumber.vue b/src/components/common/dialog/DataReview/dataNumber.vue new file mode 100644 index 0000000..802f760 --- /dev/null +++ b/src/components/common/dialog/DataReview/dataNumber.vue @@ -0,0 +1,35 @@ + + + diff --git a/src/components/common/dialog/DataReview/elseFile.vue b/src/components/common/dialog/DataReview/elseFile.vue new file mode 100644 index 0000000..00e6c5c --- /dev/null +++ b/src/components/common/dialog/DataReview/elseFile.vue @@ -0,0 +1,130 @@ + + + diff --git a/src/components/common/dialog/DataReview/entrust.vue b/src/components/common/dialog/DataReview/entrust.vue new file mode 100644 index 0000000..5285aa7 --- /dev/null +++ b/src/components/common/dialog/DataReview/entrust.vue @@ -0,0 +1,90 @@ + + + diff --git a/src/components/common/dialog/DataReview/license.vue b/src/components/common/dialog/DataReview/license.vue index 526b413..5022eab 100644 --- a/src/components/common/dialog/DataReview/license.vue +++ b/src/components/common/dialog/DataReview/license.vue @@ -2,21 +2,87 @@

营业执照(复印件)

+
+ 查看原图 + + 重新上传 + +
+
diff --git a/src/components/common/dialog/DataReview/promise.vue b/src/components/common/dialog/DataReview/promise.vue new file mode 100644 index 0000000..f0c7f5c --- /dev/null +++ b/src/components/common/dialog/DataReview/promise.vue @@ -0,0 +1,90 @@ + + + diff --git a/src/components/common/dialog/content.vue b/src/components/common/dialog/content.vue index 24821b5..017b7a0 100644 --- a/src/components/common/dialog/content.vue +++ b/src/components/common/dialog/content.vue @@ -7,14 +7,30 @@ + + + + + + diff --git a/src/components/common/dialog/insex.vue b/src/components/common/dialog/insex.vue index cca45bb..04a8f01 100644 --- a/src/components/common/dialog/insex.vue +++ b/src/components/common/dialog/insex.vue @@ -64,6 +64,7 @@ export default { default:false, require: true }, + // 判断是个人还是机构,1位机构,2位个人 account_type:{ type:String, default:'buyer', @@ -115,7 +116,15 @@ export default { }) bus.$on('img',(e)=>{ console.info(e) - this.contentDatas[e.key]=e.url; + if (e.key=='else_file') { + if (e.type==1) { + this.contentDatas.else_file.push(e.url) + }else{ + this.contentDatas.else_file[e.index]=e.url + } + }else{ + this.contentDatas[e.key]=e.url; + } }) }, methods:{ @@ -162,21 +171,24 @@ export default { if (this.contentDatas.account_type==2) { this.dialogData.sidebar=[ {title:'企业风险评估',type:0,id:'assessment'},{title:'基础信息',type:1,id:'basics'},{title:'身份证(复印件)',type:1,id:'IDCard'}, - {title:'数字证书申请表',type:1,id:'application'},{title:'资产证明文件',type:2,id:'assets'},{title:'其他要求文件',type:0,id:'else'} + {title:'数字证书申请表',type:1,id:'application'},{title:'资产证明文件',type:2,id:'assets'},{title:'其他要求文件',type:0,id:'elseFile'} ] }else{ this.dialogData.sidebar=[ {title:'企业风险评估',type:0,id:'assessment'},{title:'基础信息',type:1,id:'basics'},{title:'营业执照(复印件)',type:1,id:'license'}, {title:'法人代表证明书',type:1,id:'certificate'},{title:'法人身份证(复印件)',type:1,id:'IDCard'},{title:'数字证书申请表',type:1,id:'application'}, {title:'银行开户证明',type:1,id:'bankProve'},{title:'开户申请书与承诺书',type:1,id:'promise'},{title:'法人授权委托书',type:0,id:'entrust'}, - {title:'经办人身份证(复印件)',type:0,id:'IDCard1'},{title:'资产证明文件',type:2,id:'assets'},{title:'其他要求文件',type:0,id:'else'} + {title:'经办人身份证(复印件)',type:0,id:'operatorIDCard'},{title:'资产证明文件',type:2,id:'assets'},{title:'其他要求文件',type:0,id:'elseFile'} ] } }else if(this.dialogType==2){ this.dialogData.sidebar=[ - {title:'商家概况',type:1,id:'businessInfo'},{title:'资产概况',type:1,id:'assets_info'},{title:'资产评估/资产评价报告',type:1,id:'asset_valuation'}, - {title:'文化大数据标准编号',type:1,id:'data_number'} + {title:'商家概况',type:1,id:'businessInfo'},{title:'资产概况',type:1,id:'assetsInfo'}, + {title:'文化大数据标准编号',type:1,id:'dataNumber'} ] + if (this.contentDatas.asset_data.else_serial_file.length>0) { + this.dialogData.sidebar.splice(2, 0, {title:'资产评估/资产评价报告',type:1,id:'asset_valuation'}); + } if (this.assets_type==1) { this.dialogData.title='资产信息'; }else if(this.assets_type==2){ diff --git a/src/components/page/AccountManagement/blacklistManagement.vue b/src/components/page/AccountManagement/blacklistManagement.vue index 792db20..955151e 100644 --- a/src/components/page/AccountManagement/blacklistManagement.vue +++ b/src/components/page/AccountManagement/blacklistManagement.vue @@ -192,11 +192,11 @@ export default { console.log(res); if (res.code==100) { this.query1.uid=row.id - this.query1.buyer_account_type=res.data.is_buyer_black - this.query1.enter_shop_type=res.data.is_enter_shop_black - this.query1.third_party_type=res.data.is_third_party_black + this.query1.buyer_account_type=res.data.buyer_black + this.query1.enter_shop_type=res.data.enter_shop_black + this.query1.third_party_type=res.data.third_party_black + this.editVisible2=true; } - this.editVisible2=true; }); }, // 操作记录 diff --git a/src/components/page/AccountManagement/platformSelect.vue b/src/components/page/AccountManagement/platformSelect.vue index 3d41c22..d789e68 100644 --- a/src/components/page/AccountManagement/platformSelect.vue +++ b/src/components/page/AccountManagement/platformSelect.vue @@ -52,6 +52,11 @@ > + + + @@ -67,7 +72,7 @@ @@ -117,9 +122,9 @@

请确认是否需要添加黑名单?

- 购买方 - 托管方 - 第三方机构 + 购买方 + 托管方 + 第三方机构
取 消 @@ -209,6 +214,7 @@ export default { created() { this.getData(); this.getAuditList(); + // console.info(this.query1) }, methods: { // 重置方法 @@ -231,6 +237,7 @@ export default { }, //添加黑名单 addBlacklist(){ + console.info(this.query1) updateBlackList(this.query1).then(res => { console.log(res); if (res.code==100) { @@ -248,11 +255,11 @@ export default { console.log(res); if (res.code==100) { this.query1.uid=row.id - this.query1.buyer_account_type=res.data.is_buyer_black - this.query1.enter_shop_type=res.data.is_enter_shop_black - this.query1.third_party_type=res.data.is_third_party_black + this.query1.buyer_account_type=res.data.buyer_black + this.query1.enter_shop_type=res.data.enter_shop_black + this.query1.third_party_type=res.data.third_party_black + this.editVisible2=true; } - this.editVisible2=true; }); }, // 操作记录 diff --git a/src/components/page/TransactionManagement/transactionQuery.vue b/src/components/page/TransactionManagement/transactionQuery.vue index c05be38..b587346 100644 --- a/src/components/page/TransactionManagement/transactionQuery.vue +++ b/src/components/page/TransactionManagement/transactionQuery.vue @@ -38,7 +38,8 @@ > 搜索 - 重置 +
+ 重置 { - // console.log(res); + console.log(res); this.tableData = res.list; - this.pageTotal = res.pageTotal || 50; + this.pageTotal = res.count; }); }, // 触发搜索按钮 @@ -251,4 +252,7 @@ export default { width: 40px; height: 40px; } +.reset{ + margin-top: 10px; +}