接口调试
This commit is contained in:
parent
24c1aa18d0
commit
260c671c6a
|
|
@ -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
|
||||
// 企业业务开通数据修改
|
||||
|
||||
|
||||
POST
|
||||
|
||||
企业信息变更 */
|
||||
|
|
@ -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(() => {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
@ -4,8 +4,8 @@
|
|||
<div class="top">
|
||||
<div class="title">企业基本信息</div>
|
||||
<div class="options">
|
||||
<el-button size="small" type="primary">我的邀请码</el-button>
|
||||
<el-button size="small" type="primary">编辑</el-button>
|
||||
<!-- <el-button size="small" type="primary">我的邀请码</el-button>
|
||||
<el-button size="small" type="primary">编辑</el-button> -->
|
||||
</div>
|
||||
</div>
|
||||
<el-form class="baseForm">
|
||||
|
|
@ -199,8 +199,8 @@
|
|||
</template>
|
||||
</uploadComponent>
|
||||
<div class="previewExample">
|
||||
<span>预览</span>
|
||||
<span>查看示例</span>
|
||||
<!-- <span>预览</span> -->
|
||||
<span @click="previewBusinessLicense">查看示例</span>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
|
@ -220,8 +220,8 @@
|
|||
</template>
|
||||
</uploadComponent>
|
||||
<div class="previewExample">
|
||||
<span>预览</span>
|
||||
<span>查看示例</span>
|
||||
<!-- <span>预览</span> -->
|
||||
<span @click="previewCardOpposite">查看示例</span>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
|
@ -239,8 +239,8 @@
|
|||
</template>
|
||||
</uploadComponent>
|
||||
<div class="previewExample">
|
||||
<span>预览</span>
|
||||
<span>查看示例</span>
|
||||
<!-- <span>预览</span> -->
|
||||
<span @click="previewCardFront">查看示例</span>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
|
@ -327,7 +327,7 @@
|
|||
</el-col>
|
||||
<el-col :span="5">
|
||||
<el-form-item label="被授权人邮箱">
|
||||
<el-input></el-input>
|
||||
<el-input placeholder="请输入被授权人邮箱" clearable>></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
@ -345,8 +345,8 @@
|
|||
</template>
|
||||
</uploadComponent>
|
||||
<div class="previewExample">
|
||||
<span>预览</span>
|
||||
<span>查看示例</span>
|
||||
<!-- <span>预览</span> -->
|
||||
<span @click="previewCardFront">查看示例</span>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
|
@ -364,8 +364,8 @@
|
|||
</template>
|
||||
</uploadComponent>
|
||||
<div class="previewExample">
|
||||
<span>预览</span>
|
||||
<span>查看示例</span>
|
||||
<!-- <span>预览</span> -->
|
||||
<span @click="previewCardOpposite">查看示例</span>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
|
@ -385,8 +385,8 @@
|
|||
</template>
|
||||
</uploadComponent>
|
||||
<div class="previewExample">
|
||||
<span>预览</span>
|
||||
<span>查看示例</span>
|
||||
<!-- <span>预览</span> -->
|
||||
<span @click="previewPowerOfAttorney">查看示例</span>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
|
@ -394,9 +394,9 @@
|
|||
<el-checkbox size="large" />
|
||||
<div class="agreement">
|
||||
我已阅读并同意相关条款内容《
|
||||
<span class="previewExample">服务协议</span>
|
||||
<span class="previewExample" @click="serviceAgreement">服务协议</span>
|
||||
》 《
|
||||
<span class="previewExample">隐私协议</span>
|
||||
<span class="previewExample" @click="privacyAgreement">隐私协议</span>
|
||||
》
|
||||
</div>
|
||||
</el-col>
|
||||
|
|
@ -405,58 +405,75 @@
|
|||
</div>
|
||||
|
||||
<div class="bankInfo card">
|
||||
<div class="top">
|
||||
<!-- <div class="top">
|
||||
<div class="title">
|
||||
银行账号信息
|
||||
<span class="tip">开户行许可示例</span>
|
||||
</div>
|
||||
</div>
|
||||
<el-row class="header">
|
||||
<el-col :span="v.span" v-for="(v, i) in bankTableHeader" :key="i">
|
||||
<div
|
||||
class="item border-top-left"
|
||||
:class="i + 1 == bankTableHeader.length && 'border-right'">
|
||||
{{ v.label }}
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row class="content" v-for="(val, index) in bankTableData" :key="index">
|
||||
<el-col :span="v.span" v-for="(v, i) in bankTableHeader" :key="i">
|
||||
<div
|
||||
v-if="!v.slot"
|
||||
class="item border-top-left"
|
||||
:class="`${i + 1 == bankTableHeader.length && 'border-right'} ${
|
||||
index + 1 == bankTableData.length && 'border-bottom'
|
||||
}`">
|
||||
{{ val[v.prop] || '' }}
|
||||
</div>
|
||||
<div
|
||||
v-else
|
||||
class="item border-top-left"
|
||||
:class="`${i + 1 == bankTableHeader.length && 'border-right'} ${
|
||||
index + 1 == bankTableData.length && 'border-bottom'
|
||||
}`">
|
||||
上传附件
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-table border :data="bankTableList">
|
||||
<el-table-column align="center" label="开户行">
|
||||
<template #default="{ row }">
|
||||
<el-input v-model="row.v_kaihu"></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="账号名称">
|
||||
<template #default="{ row }">
|
||||
<el-input></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="银行账号">
|
||||
<template #default="{ row }">
|
||||
<el-input></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="开户行所在地">
|
||||
<template #default="{ row }">
|
||||
<el-input></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="开户许可证核准号(基本存款账号编号)">
|
||||
<template #default="{ row }">
|
||||
<el-input></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="开户许可证/基本存款账号信息">
|
||||
<template #default="{ row }">
|
||||
<a>
|
||||
<uploadComponent
|
||||
:maxLimit="1"
|
||||
listType="picture-card"
|
||||
:acceptTypeList="['.jpg', '.jpeg', '.png']"
|
||||
height="30px">
|
||||
<template v-slot:default>上传附件</template>
|
||||
</uploadComponent>
|
||||
</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table> -->
|
||||
</div>
|
||||
<el-row style="padding-top: 15px">
|
||||
<el-form-item>
|
||||
<el-button @click="handlerSubmitBtn">提 交</el-button>
|
||||
<el-button @click="handlerCloseBtn">关 闭</el-button>
|
||||
<el-button type="success" @click="handlerSubmitBtn">提 交</el-button>
|
||||
<el-button type="warning" @click="handlerCloseBtn">关 闭</el-button>
|
||||
</el-form-item>
|
||||
</el-row>
|
||||
|
||||
<el-dialog v-model="picItemVisible" title="图片示例" width="40%">
|
||||
<el-image :src="previewPicUrl" fit="cover" style="display: block; margin: 0 auto" />
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import uploadImg from 'components/uploadImg.vue'
|
||||
import uploadComponent from 'components/uploadComponent/index.vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { reactive, ref } from 'vue'
|
||||
import { useStore } from 'store/user'
|
||||
const store = useStore()
|
||||
|
||||
const previewPicUrl = ref('')
|
||||
|
||||
import { applyAttestationApi } from 'http/api/usercenter/baseinfo'
|
||||
|
||||
onMounted(() => {
|
||||
|
|
@ -470,6 +487,35 @@
|
|||
store.getcompanyLtdList()
|
||||
})
|
||||
|
||||
const picItemVisible = ref(false)
|
||||
|
||||
//查看身份证正面示例
|
||||
const previewCardFront = () => {
|
||||
picItemVisible.value = true
|
||||
previewPicUrl.value =
|
||||
'https://p7.itc.cn/images01/20211109/51307123942047a89ec6e05b24b4f152.jpeg'
|
||||
}
|
||||
//查看身份证反面示例
|
||||
const previewCardOpposite = () => {
|
||||
picItemVisible.value = true
|
||||
previewPicUrl.value = 'https://image2.sina.com.cn/dy/o/2005-02-01/1107213262_.haWGD.jpg'
|
||||
}
|
||||
//查看营业执照示例
|
||||
const previewBusinessLicense = () => {
|
||||
picItemVisible.value = true
|
||||
previewPicUrl.value =
|
||||
'https://img0.baidu.com/it/u=399142335,2996450343&fm=253&fmt=auto&app=138&f=JPEG?w=347&h=500'
|
||||
}
|
||||
//查看授权书示例
|
||||
const previewPowerOfAttorney = () => {
|
||||
picItemVisible.value = true
|
||||
previewPicUrl.value =
|
||||
'https://static.quanyaotong.com/uploads/201901/17/35e8cf5034de7484ba256058e972580d.jpg'
|
||||
}
|
||||
|
||||
// 银行数据源绑定
|
||||
const bankTableList = ref([{ v_kaihu: '', v_admin: '' }])
|
||||
|
||||
// 注册地址拼装
|
||||
const AssemblyRegisterAddress: any = reactive([])
|
||||
|
||||
|
|
@ -603,6 +649,15 @@
|
|||
emit('closeAuthenticationDialog', false)
|
||||
}
|
||||
|
||||
/* 服务协议 */
|
||||
const serviceAgreement = () => {
|
||||
window.open('https://zlpt-1259760603.cos.ap-nanjing.myqcloud.com/serviceAgreement.pdf')
|
||||
}
|
||||
/* 隐私协议 */
|
||||
const privacyAgreement = () => {
|
||||
window.open('https://zlpt-1259760603.cos.ap-nanjing.myqcloud.com/privacyPolicy.pdf')
|
||||
}
|
||||
|
||||
const options = reactive([
|
||||
{
|
||||
value: '选项1',
|
||||
|
|
@ -710,8 +765,8 @@
|
|||
|
||||
.enterpriseCertification {
|
||||
height: 100%;
|
||||
background: #f2f2f2;
|
||||
padding: 15px 10px;
|
||||
/* background: #f2f2f2;
|
||||
padding: 15px 10px; */
|
||||
|
||||
.card {
|
||||
border-radius: 5px;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,206 @@
|
|||
[
|
||||
{
|
||||
"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": "admin"
|
||||
},
|
||||
{
|
||||
"companyId": 2,
|
||||
"companyName": "合肥公司",
|
||||
"companyType": "社会企业",
|
||||
"companyLtd": "广东电网",
|
||||
"creditCode": null,
|
||||
"registerAddress": null,
|
||||
"operateAddress": null,
|
||||
"certificatetype": null,
|
||||
"idNumber": null,
|
||||
"businessLicense": null,
|
||||
"legalPerson": null,
|
||||
"invitationCode": null,
|
||||
"invitationCoName": null,
|
||||
"businessScope": null,
|
||||
"authPerson": null,
|
||||
"authIdNumber": null,
|
||||
"authPhone": null,
|
||||
"authDocument": null,
|
||||
"idFaceUrl": null,
|
||||
"idNationUrl": null,
|
||||
"authEmail": null,
|
||||
"createTime": "2023-12-05",
|
||||
"creator": 1,
|
||||
"auditor": null,
|
||||
"auditTime": null,
|
||||
"auditRemark": null,
|
||||
"status": null,
|
||||
"logoUrl": null,
|
||||
"updateTime": null,
|
||||
"legalFaceUrl": null,
|
||||
"legalNationUrl": null,
|
||||
"userName": "admin"
|
||||
},
|
||||
{
|
||||
"companyId": 3,
|
||||
"companyName": "滁州公司",
|
||||
"companyType": "南网集团企业",
|
||||
"companyLtd": "广西电网",
|
||||
"creditCode": null,
|
||||
"registerAddress": null,
|
||||
"operateAddress": null,
|
||||
"certificatetype": null,
|
||||
"idNumber": null,
|
||||
"businessLicense": null,
|
||||
"legalPerson": null,
|
||||
"invitationCode": null,
|
||||
"invitationCoName": null,
|
||||
"businessScope": null,
|
||||
"authPerson": null,
|
||||
"authIdNumber": null,
|
||||
"authPhone": null,
|
||||
"authDocument": null,
|
||||
"idFaceUrl": null,
|
||||
"idNationUrl": null,
|
||||
"authEmail": null,
|
||||
"createTime": "2023-12-05",
|
||||
"creator": 1,
|
||||
"auditor": null,
|
||||
"auditTime": null,
|
||||
"auditRemark": null,
|
||||
"status": null,
|
||||
"logoUrl": null,
|
||||
"updateTime": null,
|
||||
"legalFaceUrl": null,
|
||||
"legalNationUrl": null,
|
||||
"userName": "admin"
|
||||
},
|
||||
{
|
||||
"companyId": 4,
|
||||
"companyName": "蚌埠公司",
|
||||
"companyType": "社会企业",
|
||||
"companyLtd": "储能公司",
|
||||
"creditCode": null,
|
||||
"registerAddress": null,
|
||||
"operateAddress": null,
|
||||
"certificatetype": null,
|
||||
"idNumber": null,
|
||||
"businessLicense": null,
|
||||
"legalPerson": null,
|
||||
"invitationCode": null,
|
||||
"invitationCoName": null,
|
||||
"businessScope": null,
|
||||
"authPerson": null,
|
||||
"authIdNumber": null,
|
||||
"authPhone": null,
|
||||
"authDocument": null,
|
||||
"idFaceUrl": null,
|
||||
"idNationUrl": null,
|
||||
"authEmail": null,
|
||||
"createTime": "2023-12-05",
|
||||
"creator": 2,
|
||||
"auditor": null,
|
||||
"auditTime": null,
|
||||
"auditRemark": null,
|
||||
"status": null,
|
||||
"logoUrl": null,
|
||||
"updateTime": null,
|
||||
"legalFaceUrl": null,
|
||||
"legalNationUrl": null,
|
||||
"userName": "ry"
|
||||
},
|
||||
{
|
||||
"companyId": 7,
|
||||
"companyName": "合肥市博诺斯",
|
||||
"companyType": "南网集团企业",
|
||||
"companyLtd": "云南电网",
|
||||
"creditCode": "123456",
|
||||
"registerAddress": "14",
|
||||
"operateAddress": "14",
|
||||
"certificatetype": "户口本",
|
||||
"idNumber": "所属",
|
||||
"businessLicense": null,
|
||||
"legalPerson": "测试",
|
||||
"invitationCode": "测试",
|
||||
"invitationCoName": "测试",
|
||||
"businessScope": "测试",
|
||||
"authPerson": "测试",
|
||||
"authIdNumber": "测试",
|
||||
"authPhone": "测试",
|
||||
"authDocument": null,
|
||||
"idFaceUrl": null,
|
||||
"idNationUrl": null,
|
||||
"authEmail": null,
|
||||
"createTime": "2023-12-05",
|
||||
"creator": 2,
|
||||
"auditor": null,
|
||||
"auditTime": null,
|
||||
"auditRemark": null,
|
||||
"status": "0",
|
||||
"logoUrl": null,
|
||||
"updateTime": null,
|
||||
"legalFaceUrl": null,
|
||||
"legalNationUrl": null,
|
||||
"userName": "ry"
|
||||
},
|
||||
{
|
||||
"companyId": 8,
|
||||
"companyName": "云南九条路工程机械有限公司",
|
||||
"companyType": "南网集团企业",
|
||||
"companyLtd": "",
|
||||
"creditCode": "91531234MA6L1MXL4P",
|
||||
"registerAddress": "云南省昆明市安宁市太平新城街道华楚汽配玻璃物流城A11栋10、11号",
|
||||
"operateAddress": "云南省昆明市安宁市太平新城街道华楚汽配玻璃物流城A11栋10、11号",
|
||||
"certificatetype": "身份证",
|
||||
"idNumber": "530100198002102751",
|
||||
"businessLicense": "https://zlpt-1259760603.cos.ap-nanjing.myqcloud.com/2023/12/08/09971da9a9ab4f0095bc881a6b4fc7d9微信图片_20231208183937.png ",
|
||||
"legalPerson": "张三",
|
||||
"invitationCode": null,
|
||||
"invitationCoName": null,
|
||||
"businessScope": "建设工程施工;建设工程设计(依法须经批准的项目,经相关部门批准后方可开展经营活动,具体经营项目以相关部门批准文件或许可证件为准)一般项目:建筑工程用机械销售;矿山机械销售;建筑材料销售;土石方工程施工;机械设备租赁(除依法须经批准的项目外,凭营业执照依法自主开展经营活动)。",
|
||||
"authPerson": "张三",
|
||||
"authIdNumber": "530100198002102751",
|
||||
"authPhone": "13876565432",
|
||||
"authDocument": "https://zlpt-1259760603.cos.ap-nanjing.myqcloud.com/2023/12/08/96e41cefb0224de189c47128fae6e7a7微信图片_20231208184010.png ",
|
||||
"idFaceUrl": "https://zlpt-1259760603.cos.ap-nanjing.myqcloud.com/2023/12/08/f63dfe0233f04d4f8bc444bf519f5417微信图片_20231208183950.png ",
|
||||
"idNationUrl": "https://zlpt-1259760603.cos.ap-nanjing.myqcloud.com/2023/12/08/33c21541b1a84fdebaee6b331bb640a9微信图片_20231208183958.png",
|
||||
"authEmail": "zhangsan@163.com",
|
||||
"createTime": "2023-12-05",
|
||||
"creator": 2,
|
||||
"auditor": null,
|
||||
"auditTime": null,
|
||||
"auditRemark": null,
|
||||
"status": null,
|
||||
"logoUrl": null,
|
||||
"updateTime": null,
|
||||
"legalFaceUrl": null,
|
||||
"legalNationUrl": null,
|
||||
"userName": "ry"
|
||||
}
|
||||
]
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
<template>
|
||||
|
||||
<div class="sub_title">
|
||||
企业基本信息
|
||||
</div>
|
||||
|
|
@ -7,51 +6,51 @@
|
|||
<el-form label-width="136px" inline="true" style="padding: 0 20px 0px 20px;">
|
||||
<div>
|
||||
<el-form-item label="企业名称">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.companyName }}
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="统一社会信用代码">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.companyType }}
|
||||
</el-form-item>
|
||||
</div>
|
||||
<el-form-item label="注册地址">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.registerAddress }}
|
||||
</el-form-item>
|
||||
<el-form-item label="经营地址">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.operateAddress }}
|
||||
</el-form-item>
|
||||
<div>
|
||||
<el-form-item label="法人证件类型">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.certificatetype }}
|
||||
</el-form-item>
|
||||
<el-form-item label="法人证件号码">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.idNumber }}
|
||||
</el-form-item>
|
||||
<el-form-item label="营业执照">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.businessLicense }}
|
||||
</el-form-item>
|
||||
<el-form-item label="身份证国徽面">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.legalFaceUrl }}
|
||||
</el-form-item>
|
||||
<el-form-item label="身份证肖像面">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.legalNationUrl }}
|
||||
</el-form-item>
|
||||
</div>
|
||||
<div>
|
||||
<el-form-item label="法人姓名">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.legalPerson }}
|
||||
</el-form-item>
|
||||
<el-form-item label="邀请码">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.invitationCode }}
|
||||
</el-form-item>
|
||||
<el-form-item label="邀请企业名称" style="width:500px">
|
||||
<div>
|
||||
|
||||
{{ detailsInfo.info.invitationCoName }}
|
||||
</div>
|
||||
</el-form-item>
|
||||
</div>
|
||||
<el-form-item label="经营范围">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.businessScope }}
|
||||
</el-form-item>
|
||||
|
||||
</el-form>
|
||||
|
|
@ -62,27 +61,27 @@
|
|||
<el-form label-width="136px" inline="true" style="padding: 0 80px 0px 0;">
|
||||
<div>
|
||||
<el-form-item label="被授权人姓名">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.authPerson }}
|
||||
</el-form-item>
|
||||
<el-form-item label="被授权人身份证">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.authIdNumber }}
|
||||
</el-form-item>
|
||||
<el-form-item label="被授权人手机号">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.authPhone }}
|
||||
</el-form-item>
|
||||
<el-form-item label="被授权人邮箱">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.authEmail }}
|
||||
</el-form-item>
|
||||
</div>
|
||||
<div>
|
||||
<el-form-item label="法人授权书">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.authDocument }}
|
||||
</el-form-item>
|
||||
<el-form-item label="被授权人身份证国徽面">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.idNationUrl }}
|
||||
</el-form-item>
|
||||
<el-form-item label="被授权人身份证肖像面">
|
||||
xxxxx
|
||||
{{ detailsInfo.info.idFaceUrl }}
|
||||
</el-form-item>
|
||||
</div>
|
||||
</el-form>
|
||||
|
|
@ -91,179 +90,182 @@
|
|||
银行账户信息
|
||||
</div>
|
||||
<el-divider></el-divider>
|
||||
<el-table :data="tableAccountInfo.list" style="width: 100%" border stripe >
|
||||
<el-table-column fixed prop="bankCompany" label="开户行" min-width="120" />
|
||||
<el-table-column prop="bankName" label="账户名称" min-width="120" />
|
||||
<el-table :data="tableAccountInfo.list" style="width: 100%" border stripe>
|
||||
<el-table-column fixed prop="bankName" label="开户行" min-width="120" />
|
||||
<el-table-column prop="accountName" label="账户名称" min-width="120" />
|
||||
<el-table-column prop="bankAccount" label="银行账号" min-width="120" />
|
||||
<el-table-column prop="bankAddress" label="开户行所在地" min-width="120" />
|
||||
<el-table-column prop="xk_code" label="开户许可证核准号(基本存款账号编号)" min-width="120" />
|
||||
<el-table-column prop="xk_account" label="开户行许可证/基本存款账号信息" min-width="120" align="center">
|
||||
<el-table-column prop="permitNumber" label="开户许可证核准号(基本存款账号编号)" min-width="120" />
|
||||
<el-table-column prop="permitUrl" label="开户行许可证/基本存款账号信息" min-width="120" align="center">
|
||||
<template #default="scope">
|
||||
<el-button type="text">预览</el-button>
|
||||
<el-button type="text" @click="previewFn(scope.row.permitUrl)">预览</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div class="sub_title" style="margin-top:12px;">
|
||||
联系人信息
|
||||
<div class="btn_end" v-if="subType == 'edit'">
|
||||
<el-button type="primary" size="small" @click.prevent="auditFn()">
|
||||
审批
|
||||
</el-button>
|
||||
<el-button type="danger" size="small" @click.prevent="rejectFn()">
|
||||
驳回
|
||||
</el-button>
|
||||
</div>
|
||||
<el-divider></el-divider>
|
||||
<el-table :data="tableContactInfo.list" style="width: 100%" border stripe >
|
||||
<el-table-column fixed prop="default_user" label="默认联系人(被授权人)" min-width="120" />
|
||||
<el-table-column prop="default_contact_user" label="联系人姓名" min-width="120" />
|
||||
<el-table-column prop="phone" label="手机号" min-width="120" />
|
||||
<el-table-column prop="mobile" label="电话" min-width="120" />
|
||||
<el-table-column prop="email" label="邮箱" min-width="120" />
|
||||
<el-table-column prop="remark" label="备注" min-width="120" />
|
||||
<el-table-column label="操作" min-width="120" align="center">
|
||||
<!-- <template #default="scope">
|
||||
<el-button type="text"></el-button>
|
||||
</template> -->
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
||||
import { apiGetCompanyInfoById, apiupdateCompanyInfo } from "http/api/enterprise"
|
||||
import { ElMessage } from "element-plus";
|
||||
import { ElMessageBoxOpert } from 'utils/elementCom'
|
||||
const emits = defineEmits(['send'])
|
||||
const route = useRoute()
|
||||
const addShow = ref(false)
|
||||
let title = ref("订单详情")
|
||||
let detailsInfo: any = reactive({
|
||||
info: {}
|
||||
})
|
||||
let subType: any = ref("show")
|
||||
|
||||
|
||||
|
||||
const tableAccountData = [
|
||||
{
|
||||
bankCompany: '2016-05-03',
|
||||
bankName: 'Tom',
|
||||
bankAccount: 'California',
|
||||
bankAddress: 'Los Angeles',
|
||||
xk_code: 'No. 189, Grove St, Los Angeles',
|
||||
xk_account: 'CA 90036',
|
||||
},
|
||||
{
|
||||
bankCompany: '2016-05-03',
|
||||
bankName: 'Tom',
|
||||
bankAccount: 'California',
|
||||
bankAddress: 'Los Angeles',
|
||||
xk_code: 'No. 189, Grove St, Los Angeles',
|
||||
xk_account: 'CA 90036',
|
||||
},
|
||||
{
|
||||
bankCompany: '2016-05-03',
|
||||
bankName: 'Tom',
|
||||
bankAccount: 'California',
|
||||
bankAddress: 'Los Angeles',
|
||||
xk_code: 'No. 189, Grove St, Los Angeles',
|
||||
xk_account: 'CA 90036',
|
||||
},
|
||||
{
|
||||
bankCompany: '2016-05-03',
|
||||
bankName: 'Tom',
|
||||
bankAccount: 'California',
|
||||
bankAddress: 'Los Angeles',
|
||||
xk_code: 'No. 189, Grove St, Los Angeles',
|
||||
xk_account: 'CA 90036',
|
||||
},
|
||||
{
|
||||
bankCompany: '2016-05-03',
|
||||
bankName: 'Tom',
|
||||
bankAccount: 'California',
|
||||
bankAddress: 'Los Angeles',
|
||||
xk_code: 'No. 189, Grove St, Los Angeles',
|
||||
xk_account: 'CA 90036',
|
||||
},
|
||||
{
|
||||
bankCompany: '2016-05-03',
|
||||
bankName: 'Tom',
|
||||
bankAccount: 'California',
|
||||
bankAddress: 'Los Angeles',
|
||||
xk_code: 'No. 189, Grove St, Los Angeles',
|
||||
xk_account: 'CA 90036',
|
||||
}
|
||||
]
|
||||
const tableContactData = [
|
||||
{
|
||||
default_user: '2016-05-03',
|
||||
default_contact_user: 'Tom',
|
||||
phone: 'California',
|
||||
mobile: 'Los Angeles',
|
||||
email: 'No. 189, Grove St, Los Angeles',
|
||||
remark: 'CA 90036',
|
||||
},
|
||||
{
|
||||
default_user: '2016-05-03',
|
||||
default_contact_user: 'Tom',
|
||||
phone: 'California',
|
||||
mobile: 'Los Angeles',
|
||||
email: 'No. 189, Grove St, Los Angeles',
|
||||
remark: 'CA 90036',
|
||||
},
|
||||
{
|
||||
default_user: '2016-05-03',
|
||||
default_contact_user: 'Tom',
|
||||
phone: 'California',
|
||||
mobile: 'Los Angeles',
|
||||
email: 'No. 189, Grove St, Los Angeles',
|
||||
remark: 'CA 90036',
|
||||
},
|
||||
{
|
||||
default_user: '2016-05-03',
|
||||
default_contact_user: 'Tom',
|
||||
phone: 'California',
|
||||
mobile: 'Los Angeles',
|
||||
email: 'No. 189, Grove St, Los Angeles',
|
||||
remark: 'CA 90036',
|
||||
},
|
||||
{
|
||||
default_user: '2016-05-03',
|
||||
default_contact_user: 'Tom',
|
||||
phone: 'California',
|
||||
mobile: 'Los Angeles',
|
||||
email: 'No. 189, Grove St, Los Angeles',
|
||||
remark: 'CA 90036',
|
||||
},
|
||||
{
|
||||
default_user: '2016-05-03',
|
||||
default_contact_user: 'Tom',
|
||||
phone: 'California',
|
||||
mobile: 'Los Angeles',
|
||||
email: 'No. 189, Grove St, Los Angeles',
|
||||
remark: 'CA 90036',
|
||||
},
|
||||
{
|
||||
default_user: '2016-05-03',
|
||||
default_contact_user: 'Tom',
|
||||
phone: 'California',
|
||||
mobile: 'Los Angeles',
|
||||
email: 'No. 189, Grove St, Los Angeles',
|
||||
remark: 'CA 90036',
|
||||
},
|
||||
{
|
||||
default_user: '2016-05-03',
|
||||
default_contact_user: 'Tom',
|
||||
phone: 'California',
|
||||
mobile: 'Los Angeles',
|
||||
email: 'No. 189, Grove St, Los Angeles',
|
||||
remark: 'CA 90036',
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
let type: any = "settleIn"
|
||||
let queryId: any = ""
|
||||
|
||||
const show = (val: any) => {
|
||||
title.value = val.title
|
||||
addShow.value = true
|
||||
}
|
||||
|
||||
const tableAccountInfo= reactive({
|
||||
list:tableAccountData
|
||||
|
||||
})
|
||||
const tableContactInfo= reactive({
|
||||
list:tableContactData
|
||||
const tableAccountInfo = reactive({
|
||||
list: []
|
||||
|
||||
})
|
||||
|
||||
const handleAudit = (auditType: any) => { // settleIn 企业入驻审核
|
||||
// open 企业业务开通审核
|
||||
// info 企业入驻审核
|
||||
// settleIn 企业入驻审核
|
||||
|
||||
if (type == 'settleIn') {
|
||||
let params = {
|
||||
bmCompanyInfo: {
|
||||
companyId: queryId,
|
||||
status: auditType//1通过,2 驳回
|
||||
|
||||
}
|
||||
}
|
||||
apiupdateCompanyInfo(params).then((res: any) => {
|
||||
console.log("res-apiupdateCompanyInfo", res)
|
||||
ElMessage({
|
||||
type: 'success',
|
||||
message: "审批成功"
|
||||
})
|
||||
|
||||
})
|
||||
} else if (type == 'open') {
|
||||
|
||||
} else if (type == 'info') {
|
||||
|
||||
} else if (type == 'settleIn') {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
const rejectCallBack = async (row: any, value: any) => {
|
||||
console.log('editCallBack', row, value)
|
||||
if (type == 'settleIn') {
|
||||
let params = {
|
||||
bmCompanyInfo: {
|
||||
companyId: queryId,
|
||||
status: "2",//1通过,2 驳回
|
||||
auditRemark:value.value
|
||||
}
|
||||
}
|
||||
apiupdateCompanyInfo(params).then((res: any) => {
|
||||
console.log("res-apiupdateCompanyInfo", res)
|
||||
ElMessage({
|
||||
type: 'success',
|
||||
message: "驳回成功"
|
||||
})
|
||||
|
||||
})
|
||||
}
|
||||
// let params = {
|
||||
// rejectReason: value.value,
|
||||
// orderId: detailsInfo.orderId
|
||||
// }
|
||||
// const res: any = await apiOrderReject(params)
|
||||
// if (res.code == 200) {
|
||||
// ElMessage({
|
||||
// type: 'success',
|
||||
// message: '驳回成功'
|
||||
// })
|
||||
// }
|
||||
}
|
||||
|
||||
const rejectFn = () => {
|
||||
|
||||
|
||||
ElMessageBoxOpert(
|
||||
'驳回原因',
|
||||
'填写驳回原因',
|
||||
'确定',
|
||||
'取消',
|
||||
(val: any) => {
|
||||
if (!val) {
|
||||
return '请填写类型模板'
|
||||
}
|
||||
},
|
||||
'请填写类型模板',
|
||||
rejectCallBack,
|
||||
"row",
|
||||
'textarea',
|
||||
'dangerC'
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
const auditFn = () => {
|
||||
handleAudit('1')
|
||||
|
||||
}
|
||||
|
||||
const initDetails = async () => {
|
||||
const id = route.query.id || "1"
|
||||
const res: any = await apiGetCompanyInfoById(id)
|
||||
console.log("apiGetCompanyInfoById", res)
|
||||
detailsInfo.info = res.data.bmCompanyInfo
|
||||
tableAccountInfo.list = res.data.bmCoBank
|
||||
|
||||
}
|
||||
|
||||
const previewFn = (url: any) => {
|
||||
if (!url) {
|
||||
ElMessage({
|
||||
type: 'warning',
|
||||
message: "没有文件"
|
||||
})
|
||||
return
|
||||
}
|
||||
window.open(url, "_blank")
|
||||
}
|
||||
|
||||
const initTypeInfo = () => {
|
||||
queryId = route.query.id || "1"
|
||||
type = route.query.type || 'settleIn'
|
||||
subType.value = route.query.subType || "show"//edit
|
||||
|
||||
|
||||
// settleIn 企业入驻审核
|
||||
// open 企业业务开通审核
|
||||
// info 企业入驻审核
|
||||
// settleIn 企业入驻审核
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
initTypeInfo()
|
||||
initDetails()
|
||||
})
|
||||
defineExpose({
|
||||
show
|
||||
})
|
||||
|
|
@ -275,5 +277,11 @@ defineExpose({
|
|||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.btn_end {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-top: 12px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<el-form :inline="true" :model="filterForm" class="demo-form-inline">
|
||||
<el-form-item label="企业名称">
|
||||
<el-input v-model="filterForm.compnayName" placeholder="请输入企业名称" clearable />
|
||||
<el-input v-model="filterForm.companyName" placeholder="请输入企业名称" clearable />
|
||||
</el-form-item>
|
||||
<el-form-item label="统一社会信用代码">
|
||||
<el-input v-model="filterForm.creditCode" placeholder="请输入统一社会信用代码" clearable />
|
||||
|
|
@ -31,12 +31,25 @@ const emits = defineEmits(['search','reset','export'])
|
|||
|
||||
const filterForm = reactive({
|
||||
keyword: '',
|
||||
compnayName:'',
|
||||
code:'',
|
||||
companyName:'',
|
||||
creditCode:'',
|
||||
dataRange:'',
|
||||
userName:''
|
||||
})
|
||||
/*
|
||||
"beginTime": "string",
|
||||
"companyName": "string",
|
||||
"creditCode": "string",
|
||||
"endTime": "string",
|
||||
"isAsc": "string",
|
||||
"orderByColumn": "string",
|
||||
"pageNum": 0,
|
||||
"pageSize": 0,
|
||||
"reasonable": true,
|
||||
"userName": "string"
|
||||
|
||||
|
||||
*/
|
||||
const serachFn = () => {
|
||||
emits('search',filterForm)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,31 +6,31 @@
|
|||
:max-height="'calc(100vh - 72px - 48px - 65px - 12px - 60px - 48px)'"
|
||||
:height="'calc(100vh - 72px - 48px - 65px - 12px - 60px - 48px)'">
|
||||
<el-table-column type="index" width="72" label="序号" />
|
||||
<el-table-column prop="v_company" label="企业名称" min-width="150" />
|
||||
<el-table-column prop="v_code" label="统一社会信用代码" min-width="160">
|
||||
<el-table-column prop="companyName" label="企业名称" min-width="150" />
|
||||
<el-table-column prop="creditCode" label="统一社会信用代码" min-width="160">
|
||||
|
||||
</el-table-column>
|
||||
<el-table-column prop="v_represent" label="法定代表人" min-width="160">
|
||||
<el-table-column prop="legalPerson" label="法定代表人" min-width="160">
|
||||
|
||||
</el-table-column>
|
||||
<el-table-column prop="v_auth_name" label="被授权人姓名" min-width="160">
|
||||
<el-table-column prop="authPerson" label="被授权人姓名" min-width="160">
|
||||
|
||||
</el-table-column>
|
||||
<el-table-column prop="v_username" label="用户名" min-width="160">
|
||||
<el-table-column prop="userName" label="用户名" min-width="160">
|
||||
|
||||
</el-table-column>
|
||||
<el-table-column prop="v_applyTime" label="申请时间" min-width="160">
|
||||
<el-table-column prop="createTime" label="申请时间" min-width="160">
|
||||
|
||||
</el-table-column>
|
||||
<el-table-column label="状态" min-width="120">
|
||||
<template #default="scope">
|
||||
<div class="todo_status_c" v-if="scope.row.v_status == '1'">
|
||||
<div class="todo_status_c" v-if="scope.row.status == '0'">
|
||||
待审批
|
||||
</div>
|
||||
<div class="pass_status_c" v-else-if="scope.row.v_status == '2'">
|
||||
<div class="pass_status_c" v-else-if="scope.row.status == '1'">
|
||||
已通过
|
||||
</div>
|
||||
<div class="reject_status_c" v-else-if="scope.row.v_status == '3'">
|
||||
<div class="reject_status_c" v-else-if="scope.row.status == '2'">
|
||||
已驳回
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -41,14 +41,14 @@
|
|||
<el-button type="primary" size="small" @click.prevent="auditFn(scope.row)">
|
||||
审批
|
||||
</el-button>
|
||||
<el-button type="danger" size="small" @click.prevent="showRowFn(scope.row)">
|
||||
<el-button type="success" size="small" @click.prevent="showRowFn(scope.row)">
|
||||
查看
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div class="paination_out">
|
||||
<Pagination :currentPage="paginationInfo.currentPage" :pageSize="paginationInfo.pageSize" @sendPage="getPageFn">
|
||||
<Pagination :currentPage="paginationInfo.pageNum" :pageSize="paginationInfo.pageSize" @sendPage="getPageFn">
|
||||
</Pagination>
|
||||
</div>
|
||||
</el-card>
|
||||
|
|
@ -57,96 +57,50 @@
|
|||
<script lang="ts" setup>
|
||||
import headerTop from "./com/headerTop.vue"
|
||||
import addCom from "./com/addCom.vue"
|
||||
import { ElConfirmBeforeOpert } from "utils/elementCom"
|
||||
import { apiGetCompanyInfoSelectList} from "http/api/enterprise"
|
||||
import moment from "moment";
|
||||
const router = useRouter()
|
||||
const addComRef = ref()
|
||||
const paginationInfo = reactive({
|
||||
currentPage: 1,
|
||||
pageNum: 1,
|
||||
pageSize: 15
|
||||
})
|
||||
const tableData = [
|
||||
{
|
||||
v_id: '1',
|
||||
v_company: '2016-05-03',
|
||||
v_code: 'Tom',
|
||||
v_represent: 'California',
|
||||
v_auth_name: 'Los Angeles',
|
||||
v_username: 'No. 189, Grove St, Los Angeles',
|
||||
v_applyTime: 'CA 90036',
|
||||
v_status: '1',
|
||||
},
|
||||
{
|
||||
v_id: '2',
|
||||
v_company: '2016-05-03',
|
||||
v_code: 'Tom',
|
||||
v_represent: 'California',
|
||||
v_auth_name: 'Los Angeles',
|
||||
v_username: 'No. 189, Grove St, Los Angeles',
|
||||
v_applyTime: 'CA 90036',
|
||||
v_status: '1',
|
||||
},
|
||||
{
|
||||
v_id: '3',
|
||||
v_company: '2016-05-03',
|
||||
v_code: 'Tom',
|
||||
v_represent: 'California',
|
||||
v_auth_name: 'Los Angeles',
|
||||
v_username: 'No. 189, Grove St, Los Angeles',
|
||||
v_applyTime: 'CA 90036',
|
||||
v_status: '1',
|
||||
},
|
||||
{
|
||||
v_id: '4',
|
||||
v_company: '2016-05-03',
|
||||
v_code: 'Tom',
|
||||
v_represent: 'California',
|
||||
v_auth_name: 'Los Angeles',
|
||||
v_username: 'No. 189, Grove St, Los Angeles',
|
||||
v_applyTime: 'CA 90036',
|
||||
v_status: '2',
|
||||
let total = ref(0)
|
||||
|
||||
|
||||
},
|
||||
{
|
||||
v_id: '5',
|
||||
v_company: '2016-05-03',
|
||||
v_code: 'Tom',
|
||||
v_represent: 'California',
|
||||
v_auth_name: 'Los Angeles',
|
||||
v_username: 'No. 189, Grove St, Los Angeles',
|
||||
v_applyTime: 'CA 90036',
|
||||
v_status: '3',
|
||||
},
|
||||
|
||||
]
|
||||
|
||||
let tableListInfo = reactive({
|
||||
list: tableData
|
||||
let tableListInfo:any = reactive({
|
||||
list:[]
|
||||
})
|
||||
|
||||
const auditFn=(row: any) => {
|
||||
|
||||
router.push({
|
||||
name:'entryAuditDetails'
|
||||
name:'entryAuditDetails',
|
||||
query:{
|
||||
type:'settleIn',
|
||||
subType:'edit',
|
||||
id:row.companyId
|
||||
}
|
||||
})
|
||||
}
|
||||
const showRowFn=(row: any) => {
|
||||
router.push({
|
||||
name:'entryAuditDetails'
|
||||
name:'entryAuditDetails',
|
||||
query:{
|
||||
type:'settleIn',
|
||||
subType:'show',
|
||||
id:row.companyId
|
||||
}
|
||||
})
|
||||
}
|
||||
const deleteRowFn = (row: any) => {
|
||||
ElConfirmBeforeOpert(
|
||||
'操作确认',
|
||||
'是否确定删除数据?',
|
||||
deleteItem,
|
||||
'确定',
|
||||
'取消',
|
||||
row
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
const searchFn = () => {
|
||||
|
||||
|
||||
let searchParams: any = {}
|
||||
const searchFn = (params: any) => {
|
||||
searchParams = params
|
||||
console.log("searchParams",params)
|
||||
searchParams.beginTime= moment(params.dataRange[0]).format('yyyy-MM-DD')
|
||||
searchParams.endTime= moment(params.dataRange[1]).format('yyyy-MM-DD')
|
||||
initTableList()
|
||||
}
|
||||
|
||||
const resetFn = () => {
|
||||
|
|
@ -157,15 +111,25 @@ const exportFn = () => {
|
|||
|
||||
}
|
||||
const getPageFn = (val: any) => {
|
||||
paginationInfo.currentPage = val.currentPage
|
||||
paginationInfo.pageNum = val.pageNum
|
||||
paginationInfo.pageSize = val.pageSize
|
||||
initTableList()
|
||||
}
|
||||
|
||||
const initTableList = () => {
|
||||
|
||||
const initTableList =async () => {
|
||||
const params = {
|
||||
...searchParams,
|
||||
...paginationInfo
|
||||
}
|
||||
const res: any = await apiGetCompanyInfoSelectList(params)
|
||||
console.log("apiGetCompanyInfoSelectList", res)
|
||||
tableListInfo.list = res.rows
|
||||
// tableListInfo.list =
|
||||
total.value = res.total
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
initTableList()
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss"></style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue