diff --git a/anrui-base/anrui-base-ui/src/api/business/beiAn.js b/anrui-base/anrui-base-ui/src/api/business/beiAn.js index c9dcaba7d0..e7968a7495 100644 --- a/anrui-base/anrui-base-ui/src/api/business/beiAn.js +++ b/anrui-base/anrui-base-ui/src/api/business/beiAn.js @@ -13,7 +13,6 @@ export function pagerList(data) { export function SaveListFaRen(data) { return request({ url: '/base/v1/basedistributorappendix/save', - data, method: 'post', data: data, headers: { @@ -61,7 +60,8 @@ export function uploadFile(data) { // 移除 export function deleteFilesOss(data) { return request({ - url: '/base/v1/basedistributorappendix/deleteFilesOss',data, + url: '/base/v1/basedistributorappendix/deleteFilesOss', + data, method: 'post', headers: { 'Content-Type': 'multipart/form-data' @@ -69,10 +69,10 @@ export function uploadFile(data) { }) } -//下载 +// 下载 export function postDownload(data) { return request({ - url: '/base/v1/basedistributorappendix/download?path='+data, + url: '/base/v1/basedistributorappendix/download?path=' + data, method: 'post', responseType: 'blob', headers: { @@ -80,3 +80,15 @@ export function uploadFile(data) { } }) } + +// 上传文件(接口返回文件的名称、类型、大小、全路径等信息) +export function upload(data) { + return request({ + url: '/base/file/upload', + data, + method: 'post', + headers: { + 'Content-Type': 'multipart/form-data' + } + }) +} diff --git a/anrui-base/anrui-base-ui/src/api/jichuxinxi/baseaffiliatcompany.js b/anrui-base/anrui-base-ui/src/api/jichuxinxi/baseaffiliatcompany.js index 4c060f1447..7f743e61f3 100644 --- a/anrui-base/anrui-base-ui/src/api/jichuxinxi/baseaffiliatcompany.js +++ b/anrui-base/anrui-base-ui/src/api/jichuxinxi/baseaffiliatcompany.js @@ -15,7 +15,7 @@ export function pagerList(data) { // 添加 export function SaveList(data) { return request({ - url: '/base/v1/baseaffiliatcompany/save', data, + url: '/base/v1/baseaffiliatcompany/save', method: 'post', data: data, headers: { 'Content-Type': 'application/json' } @@ -33,7 +33,7 @@ export function Update(data) { // 删除 export function deleteBySids(data) { return request({ - url: '/base/v1/baseaffiliatcompany/deleteBySids?sidsList='+ data, + url: '/base/v1/baseaffiliatcompany/deleteBySids?sidsList=' + data, method: 'DELETE', data: qs.stringify(data) }) @@ -42,7 +42,7 @@ export function deleteBySids(data) { export function details(data) { return request({ url: 'base/v1/baseaffiliatcompany/fetchSid/' + data, - method: 'get', + method: 'get' }) } // 文件上传接 @@ -92,9 +92,9 @@ export function download(data) { // 移除 export function deleteFilesOss(data) { return request({ - url: '/base/v1/baseaffiliatcompanyappendix/deleteFilesOss', data, + url: '/base/v1/baseaffiliatcompanyappendix/deleteFilesOss', method: 'post', - data: qs.stringify(data), + data: qs.stringify(data) }) } diff --git a/anrui-base/anrui-base-ui/src/components/uploadFile/multifileUpload.vue b/anrui-base/anrui-base-ui/src/components/uploadFile/multifileUpload.vue new file mode 100644 index 0000000000..2e872ec2c9 --- /dev/null +++ b/anrui-base/anrui-base-ui/src/components/uploadFile/multifileUpload.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/anrui-base/anrui-base-ui/src/router/index.js b/anrui-base/anrui-base-ui/src/router/index.js index aa836cca8d..52cfd4d1b4 100644 --- a/anrui-base/anrui-base-ui/src/router/index.js +++ b/anrui-base/anrui-base-ui/src/router/index.js @@ -370,26 +370,26 @@ export const constantRoutes = [ title: '挂靠公司管理' } }, - { - path: '/guakaogongsi/guakaogongsiAdd/:id', - component: () => - import('@/views/guakaogongsi/guakaogongsiguanli/guakaogongsiAdd.vue'), - name: 'guakaogongsiAdd', - hidden: true, - meta: { - title: '挂靠公司添加' - } - }, - { - path: '/guakaogongsi/guakaogongsiInfo', - component: () => - import('@/views/guakaogongsi/guakaogongsiguanli/guakaogongsiInfo.vue'), - name: 'guakaogongsiInfo', - hidden: true, - meta: { - title: '挂靠公司详情' - } - }, + // { + // path: '/guakaogongsi/guakaogongsiAdd/:id', + // component: () => + // import('@/views/guakaogongsi/guakaogongsiguanli/guakaogongsiAdd.vue'), + // name: 'guakaogongsiAdd', + // hidden: true, + // meta: { + // title: '挂靠公司添加' + // } + // }, + // { + // path: '/guakaogongsi/guakaogongsiInfo', + // component: () => + // import('@/views/guakaogongsi/guakaogongsiguanli/guakaogongsiInfo.vue'), + // name: 'guakaogongsiInfo', + // hidden: true, + // meta: { + // title: '挂靠公司详情' + // } + // }, { path: '/guakaogongsi/renwu', component: () => diff --git a/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiAdd.vue b/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiAdd.vue index 7b27a2ce92..e57dc8bf24 100644 --- a/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiAdd.vue +++ b/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiAdd.vue @@ -1,27 +1,30 @@ diff --git a/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiInfo.vue b/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiInfo.vue index babad0caf4..8c597b4e8a 100644 --- a/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiInfo.vue +++ b/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiInfo.vue @@ -8,77 +8,78 @@
- -
挂靠公司信息
- - 企业名称: - {{ temp.orgName }} - 登记注册号类型: - {{ temp.registNumTypeValue }} +
挂靠公司信息
+ + + 企业名称 + {{ temp.orgName }} + 登记注册号类型 + {{ temp.registNumTypeValue }} - 登记注册号码: - {{ temp.registNum }} - 中征码(贷款卡编码): - {{ temp.signatureCode }} + 登记注册号码 + {{ temp.registNum }} + 中征码(贷款卡编码) + {{ temp.signatureCode }} - 公司联系电话: - {{ temp.telephone }} - 成立时间: - {{ temp.setUpTime | parseTime("{y}-{m}-{d} {h}:{i}:{s}") }} + 公司联系电话 + {{ temp.telephone }} + 成立时间 + {{ temp.setUpTime }} - 注册资本(万): - {{ temp.registCapital }} - 注册(登记)地址: - {{ temp.registAddress }} + 注册资本(万) + {{ temp.registCapital }} + 注册(登记)地址 + {{ temp.registAddress }} - 公司地址: - {{ temp.province }} {{temp.city}} {{temp.county}} + 公司地址 + {{ temp.province }} {{ temp.city }} {{ temp.county }} 联系地址: - {{ temp.address }} - 业务联系人: - {{ temp.contract }} + {{ temp.address }} + 业务联系人 + {{ temp.contract }} - 联系电话: - {{ temp.mobile }} - 经营(业务)范围: - {{ temp.businessScope }} + 联系电话 + {{ temp.mobile }} + 经营(业务)范围 + {{ temp.businessScope }} - 许可证类型: - {{ temp.licenseType }} - 资质有效期: - {{ temp.qualifiDate }} + 许可证类型 + {{ temp.licenseType }} + 资质有效期 + {{ temp.qualifiDate }} - 法定代表人姓名: - {{ temp.legalName }} - 法定代表人身份证号码: - {{ temp.legalIdCard }} + 法定代表人姓名 + {{ temp.legalName }} + 法定代表人身份证号码 + {{ temp.legalIdCard }} - 法定代表人联系方式: - {{ temp.legalMobile }} - 使用组织: - {{ temp.useOrgName }} + 法定代表人联系方式 + {{ temp.legalMobile }} + 使用组织 + {{ temp.useOrgName }} - -
营业执照
- - - - +
+
营业执照
+
+ + + + + + @@ -97,25 +98,23 @@ - - - -
道路运输许可证
- - - + + + + + + +
+
道路运输许可证
+
+ @@ -134,21 +133,15 @@ - - - -
法人身份证
- - + +
+
法人身份证
+
+ - - - -
其他资料
- - + + + + + + +
+
其他材料
+
+ - +
- +
-
diff --git a/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiguanli.vue b/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiguanli.vue index b6ee4185de..44f3277c30 100644 --- a/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiguanli.vue +++ b/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiguanli.vue @@ -1,111 +1,111 @@