diff --git a/src/http/api/enterprise.ts b/src/http/api/enterprise.ts index eeebca4..09a5ada 100644 --- a/src/http/api/enterprise.ts +++ b/src/http/api/enterprise.ts @@ -42,37 +42,64 @@ export const apiSelectIdCard = (params: any) => { } +// =======================企业入驻审核====================== + // 企业注销 +export const apiCompanyInfo = (deptId: any) => { + let strUrl = `/company_info/${deptId}` + return detele(strUrl, {}) +} + // 录入企业信息 +export const apiAddCompanyInfo = (params: any) => { + let strUrl = `/company_info/addCompanyInfo` + return post(strUrl, params) +} + // 企业入驻信息导出 +export const apiCompanyExportExcel = (params: any) => { + let strUrl = `/company_info/exportExcel` + return get(strUrl, params) +} + // 根据企业id查询企业信息 +export const apiGetCompanyInfoById = (id: any) => { + let strUrl = `/company_info/getCompanyInfoById/${id}` + return get(strUrl, {}) +} + // 获取公司列表 + export const apiGetCompanyInfoList = (params: any) => { + let strUrl = `/company_info/list` + return get(strUrl,params) +} + // 通过主键查询单条数据 + export const apiGetCompanyInfoSelectById = (params: any) => { + let strUrl = `/company_info/selectById` + return get(strUrl,params) +} + // 根据条件查询企业详细信息 + export const apiSelectCompanyInfo = (params: any) => { + let strUrl = `/company_info/selectCompanyInfo` + return post(strUrl,params) +} + // 根据条件查询企业信息(企业入驻审核) 企业入驻审核列表 + export const apiGetCompanyInfoSelectList = (params: any) => { + let strUrl = `/company_info/selectList` + return post(strUrl,params) +} + // /company_info/updateCompanyInfo + export const apiupdateCompanyInfo = (params: any) => { + let strUrl = `/company_info/updateCompanyInfo` + return post(strUrl,params) +} + +/* -// 企业业务开通数据导出 -export const apiBusinessExportExcel = ( ) => { - let strUrl = `/business/open/exportExcel` - return get(strUrl,{}) -} -// 新增业务开通请求 -export const apiBusinessInsert = (params: any) => { - let strUrl = `/business/open/insert` - return post(strUrl, params) -} -// 根据条件查询企业业务开通信息列表 -export const apiBusinessSelectList= (params: any) => { - let strUrl = `business/open/selectList` - return post(strUrl, params) -} -// 企业业务开通数据修改 -export const apiBusinessUpdateBusiness= (params: any) => { - let strUrl = `/business/open/updateBusiness` - return post(strUrl, params) -} - - - - -// POST -// /business/open/selectList -// 根据条件查询企业业务开通信息列表 + + + +POST -// POST -// /business/open/updateBusiness -// 企业业务开通数据修改 \ No newline at end of file + + +POST + +企业信息变更 */ \ No newline at end of file diff --git a/src/utils/elementCom.ts b/src/utils/elementCom.ts index db50ea9..7ce75bf 100644 --- a/src/utils/elementCom.ts +++ b/src/utils/elementCom.ts @@ -21,16 +21,19 @@ export const ElConfirmBeforeOpert = (title = '操作确认', text = "是否确 } -export const ElMessageBoxOpert = (title = '', text = "", onfirmText = "", cancelText = "", inputValidator:any, inputErrorMessage = "",callBack: any,row:any) => { +export const ElMessageBoxOpert = (title = '', text = "", onfirmText = "", cancelText = "", inputValidator:any, inputErrorMessage = "",callBack: any,row:any,inputType="text",confirmButtonClass="") => { ElMessageBox.prompt(text, title, { + draggable:true, confirmButtonText: onfirmText, cancelButtonText: cancelText, inputValidator: (val)=>{ return inputValidator(val) }, + inputType: inputType, inputErrorMessage: inputErrorMessage, + confirmButtonClass:confirmButtonClass }) - .then(({ value }) => { + .then(( value ) => { callBack(row,value) }) .catch(() => { diff --git a/src/views/com/1.json b/src/views/com/1.json new file mode 100644 index 0000000..2092677 --- /dev/null +++ b/src/views/com/1.json @@ -0,0 +1,34 @@ +{ + "companyId": 1, + "companyName": "芜湖公司", + "companyType": "南网控股企业", + "companyLtd": "贵州电网", + "creditCode": null, + "registerAddress": null, + "operateAddress": "", + "certificatetype": null, + "idNumber": null, + "businessLicense": null, + "legalPerson": null, + "invitationCode": null, + "invitationCoName": null, + "businessScope": null, + "authPerson": null, + "authIdNumber": null, + "authPhone": "13899993333", + "authDocument": null, + "idFaceUrl": null, + "idNationUrl": null, + "authEmail": null, + "createTime": "2020-10-10", + "creator": 1, + "auditor": null, + "auditTime": null, + "auditRemark": null, + "status": null, + "logoUrl": "https://zlpt-1259760603.cos.ap-nanjing.myqcloud.com/488bab245180ebf9f1f3d7db5301be4.png", + "updateTime": null, + "legalFaceUrl": null, + "legalNationUrl": null, + "userName": null +} \ No newline at end of file diff --git a/src/views/com/1.vue b/src/views/com/1.vue index 13d6d60..8e6baf5 100644 --- a/src/views/com/1.vue +++ b/src/views/com/1.vue @@ -4,8 +4,8 @@
企业基本信息
- 我的邀请码 - 编辑 +
@@ -199,8 +199,8 @@
- 预览 - 查看示例 + + 查看示例
@@ -220,8 +220,8 @@
- 预览 - 查看示例 + + 查看示例
@@ -239,8 +239,8 @@
- 预览 - 查看示例 + + 查看示例
@@ -327,7 +327,7 @@ - + > @@ -345,8 +345,8 @@
- 预览 - 查看示例 + + 查看示例
@@ -364,8 +364,8 @@
- 预览 - 查看示例 + + 查看示例
@@ -385,8 +385,8 @@
- 预览 - 查看示例 + + 查看示例
@@ -394,9 +394,9 @@
我已阅读并同意相关条款内容《 - 服务协议 + 服务协议 》 《 - 隐私协议 + 隐私协议
@@ -405,58 +405,75 @@
-
+
- 提 交 - 关 闭 + 提 交 + 关 闭 + + + +