Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
bigDataSystem
Commits
7977a20c
Commit
7977a20c
authored
Dec 18, 2024
by
曹泽华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登记审核 企业认证
parent
e0e1b0c5
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
709 additions
and
69 deletions
+709
-69
登记证书.jpg
src/assets/images/登记证书.jpg
+0
-0
营业执照.jpg
src/assets/images/营业执照.jpg
+0
-0
detail.vue
src/views/dataSharingAndExchange/enrollAudit/detail.vue
+18
-1
enroll.data.ts
src/views/dataSharingAndExchange/enrollAudit/enroll.data.ts
+69
-1
enrollData.ts
src/views/dataSharingAndExchange/enrollAudit/enrollData.ts
+10
-10
index.vue
src/views/dataSharingAndExchange/enrollAudit/index.vue
+56
-12
objectionModal.vue
...ews/dataSharingAndExchange/enrollAudit/objectionModal.vue
+55
-2
index.vue
src/views/personalCenter/myMessage/index.vue
+168
-6
index.vue
src/views/personalCenter/myObjection/index.vue
+169
-6
objection.data.ts
src/views/personalCenter/myObjection/objection.data.ts
+32
-0
objectionData.ts
src/views/personalCenter/myObjection/objectionData.ts
+10
-0
detail.vue
src/views/servicePlatform/enterpriseCertification/detail.vue
+44
-3
enterpriseColumns.data.ts
...latform/enterpriseCertification/enterpriseColumns.data.ts
+41
-1
enterpriseData.ts
...servicePlatform/enterpriseCertification/enterpriseData.ts
+23
-12
index.vue
src/views/servicePlatform/enterpriseCertification/index.vue
+14
-15
No files found.
src/assets/images/登记证书.jpg
0 → 100644
View file @
7977a20c
333 KB
src/assets/images/营业执照.jpg
0 → 100644
View file @
7977a20c
507 KB
src/views/dataSharingAndExchange/enrollAudit/detail.vue
View file @
7977a20c
<
template
>
<PageWrapper
title=
"登记审核
"
:title=
"!isAudit ? '登记详情' : '登记审核'
"
dense
contentBackground
contentFullHeight
...
...
@@ -24,6 +24,10 @@
</div>
</Col>
</Row>
<div
v-if=
"isAudit"
style=
"justify-content: center; display: flex; gap: 10px"
>
<a-button
@
click=
"handleCancel"
>
驳回
</a-button>
<a-button
type=
"primary"
@
click=
"handleEdit"
>
审核
</a-button>
</div>
</PageWrapper>
</
template
>
...
...
@@ -34,10 +38,13 @@
import
{
enrollColumns
}
from
'./enroll.data'
;
import
{
ref
,
onMounted
}
from
'vue'
;
import
{
TableImg
}
from
'@/components/Table'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
const
{
createMessage
}
=
useMessage
();
const
route
=
useRoute
();
const
data
=
ref
(
route
.
query
);
const
router
=
useRouter
();
const
isAudit
=
ref
(
route
.
query
.
isAudit
);
function
handleBack
()
{
router
.
go
(
-
1
);
...
...
@@ -46,6 +53,16 @@
onMounted
(()
=>
{
console
.
log
(
'date'
,
data
.
value
);
});
function
handleCancel
()
{
console
.
log
(
'isAudit'
,
isAudit
);
router
.
go
(
-
1
);
createMessage
.
success
(
'驳回成功!'
);
}
function
handleEdit
()
{
router
.
go
(
-
1
);
createMessage
.
success
(
'审核成功!'
);
}
</
script
>
<
style
scoped
>
...
...
src/views/dataSharingAndExchange/enrollAudit/enroll.data.ts
View file @
7977a20c
import
{
BasicColumn
}
from
'@/components/Table'
;
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
export
const
enrollColumns
:
BasicColumn
[]
=
[
{
...
...
@@ -38,3 +38,71 @@ export const enrollColumns: BasicColumn[] = [
dataIndex
:
'enrollBook'
,
},
];
export
const
searchFormSchema
:
FormSchema
[]
=
[
{
field
:
'companyName'
,
label
:
' '
,
component
:
'Input'
,
componentProps
:
{
placeholder
:
'请输入登记编号'
,
},
colProps
:
{
span
:
6
},
},
{
field
:
'code'
,
label
:
' '
,
component
:
'Input'
,
componentProps
:
{
placeholder
:
'请输入申请人'
,
},
colProps
:
{
span
:
6
},
},
{
field
:
'leader'
,
label
:
' '
,
component
:
'Select'
,
componentProps
:
{
placeholder
:
'请选择是否存在异议'
,
options
:
[
{
label
:
'是'
,
value
:
'是'
},
{
label
:
'否'
,
value
:
'否'
},
],
},
colProps
:
{
span
:
6
},
},
];
export
const
objectionFormSchema
:
FormSchema
[]
=
[
{
field
:
'applicant'
,
label
:
' '
,
component
:
'Input'
,
componentProps
:
{
placeholder
:
'请输入登记编号'
,
},
colProps
:
{
span
:
6
},
},
{
field
:
'code'
,
label
:
' '
,
component
:
'Input'
,
componentProps
:
{
placeholder
:
'请输入申请人'
,
},
colProps
:
{
span
:
6
},
},
{
field
:
'leader'
,
label
:
' '
,
component
:
'Select'
,
componentProps
:
{
placeholder
:
'请选择是否存在异议'
,
options
:
[
{
label
:
'是'
,
value
:
'是'
},
{
label
:
'否'
,
value
:
'否'
},
],
},
colProps
:
{
span
:
6
},
},
];
src/views/dataSharingAndExchange/enrollAudit/enrollData.ts
View file @
7977a20c
...
...
@@ -8,7 +8,7 @@ export const enrollData: any[] = [
enrollDate
:
'2023-01-15'
,
enrollStatus
:
'已备案'
,
isObjection
:
'是'
,
enrollBook
:
[
'src/assets/images/
测试图片1
.jpg'
],
enrollBook
:
[
'src/assets/images/
登记证书
.jpg'
],
},
{
enrollNum
:
'B987654321'
,
...
...
@@ -19,7 +19,7 @@ export const enrollData: any[] = [
enrollDate
:
'2022-09-20'
,
enrollStatus
:
'待审核'
,
isObjection
:
'否'
,
enrollBook
:
[
'src/assets/images/
测试图片1
.jpg'
],
enrollBook
:
[
'src/assets/images/
登记证书
.jpg'
],
},
{
enrollNum
:
'C112233445'
,
...
...
@@ -30,7 +30,7 @@ export const enrollData: any[] = [
enrollDate
:
'2023-03-05'
,
enrollStatus
:
'已备案'
,
isObjection
:
'否'
,
enrollBook
:
[
'src/assets/images/
测试图片1
.jpg'
],
enrollBook
:
[
'src/assets/images/
登记证书
.jpg'
],
},
{
enrollNum
:
'D223344556'
,
...
...
@@ -41,7 +41,7 @@ export const enrollData: any[] = [
enrollDate
:
'2022-12-10'
,
enrollStatus
:
'已备案'
,
isObjection
:
'是'
,
enrollBook
:
[
'src/assets/images/
测试图片1
.jpg'
],
enrollBook
:
[
'src/assets/images/
登记证书
.jpg'
],
},
{
enrollNum
:
'E334455667'
,
...
...
@@ -52,7 +52,7 @@ export const enrollData: any[] = [
enrollDate
:
'2023-06-18'
,
enrollStatus
:
'待审核'
,
isObjection
:
'是'
,
enrollBook
:
[
'src/assets/images/
测试图片1
.jpg'
],
enrollBook
:
[
'src/assets/images/
登记证书
.jpg'
],
},
{
enrollNum
:
'F445566778'
,
...
...
@@ -63,7 +63,7 @@ export const enrollData: any[] = [
enrollDate
:
'2021-11-25'
,
enrollStatus
:
'已备案'
,
isObjection
:
'是'
,
enrollBook
:
[
'src/assets/images/
测试图片1
.jpg'
],
enrollBook
:
[
'src/assets/images/
登记证书
.jpg'
],
},
{
enrollNum
:
'G556677889'
,
...
...
@@ -74,7 +74,7 @@ export const enrollData: any[] = [
enrollDate
:
'2022-05-30'
,
enrollStatus
:
'已备案'
,
isObjection
:
'是'
,
enrollBook
:
[
'src/assets/images/
测试图片1
.jpg'
],
enrollBook
:
[
'src/assets/images/
登记证书
.jpg'
],
},
{
enrollNum
:
'H667788990'
,
...
...
@@ -85,7 +85,7 @@ export const enrollData: any[] = [
enrollDate
:
'2023-02-10'
,
enrollStatus
:
'待审核'
,
isObjection
:
'是'
,
enrollBook
:
[
'src/assets/images/
测试图片1
.jpg'
],
enrollBook
:
[
'src/assets/images/
登记证书
.jpg'
],
},
{
enrollNum
:
'I778899001'
,
...
...
@@ -96,7 +96,7 @@ export const enrollData: any[] = [
enrollDate
:
'2023-04-15'
,
enrollStatus
:
'已备案'
,
isObjection
:
'是'
,
enrollBook
:
[
'src/assets/images/
测试图片1
.jpg'
],
enrollBook
:
[
'src/assets/images/
登记证书
.jpg'
],
},
{
enrollNum
:
'J889900112'
,
...
...
@@ -107,6 +107,6 @@ export const enrollData: any[] = [
enrollDate
:
'2023-07-20'
,
enrollStatus
:
'已备案'
,
isObjection
:
'是'
,
enrollBook
:
[
'src/assets/images/
测试图片1
.jpg'
],
enrollBook
:
[
'src/assets/images/
登记证书
.jpg'
],
},
];
src/views/dataSharingAndExchange/enrollAudit/index.vue
View file @
7977a20c
<
template
>
<PageWrapper>
<PageWrapper
dense
contentBackground
headerSticky
>
<template
#
headerContent
>
<div
class=
"header"
>
<div
class=
"h-title"
>
<FileProtectOutlined
class=
"h-icon"
:color=
"'#6499e9'"
/>
<div
class=
"h-txt"
>
<div
class=
"h-des"
>
登记审核
</div>
</div>
</div>
</div>
</
template
>
<BasicTable
@
register=
"registerTable"
>
<
template
#
bodyCell=
"{ column, record, text }"
>
<template
v-if=
"column.key === 'enrollBook'"
>
<TableImg
:size=
"
5
0"
:simple-show=
"true"
:show-badge=
"false"
:img-list=
"text"
/>
<TableImg
:size=
"
4
0"
:simple-show=
"true"
:show-badge=
"false"
:img-list=
"text"
/>
</
template
>
<
template
v-if=
"column.key === 'action'"
>
<TableAction
...
...
@@ -35,12 +45,13 @@
import
BasicTable
from
'@/components/Table/src/BasicTable.vue'
;
import
{
useTable
,
TableImg
}
from
'@/components/Table'
;
import
{
enrollData
}
from
'./enrollData'
;
import
{
enrollColumns
}
from
'./enroll.data'
;
import
{
enrollColumns
,
searchFormSchema
}
from
'./enroll.data'
;
import
TableAction
from
'@/components/Table/src/components/TableAction.vue'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
useModal
}
from
'@/components/Modal'
;
import
ObjectionModal
from
'@/views/dataSharingAndExchange/enrollAudit/objectionModal.vue'
;
import
{
FileProtectOutlined
}
from
'@ant-design/icons-vue'
;
const
{
push
}
=
useRouter
();
const
{
createMessage
,
createConfirm
}
=
useMessage
();
...
...
@@ -61,6 +72,13 @@
columns
:
enrollColumns
,
bordered
:
true
,
width
:
150
,
useSearchForm
:
true
,
formConfig
:
{
labelWidth
:
10
,
schemas
:
searchFormSchema
,
showActionButtonGroup
:
false
,
autoSubmitOnEnter
:
true
,
},
actionColumn
:
{
width
:
180
,
title
:
'操作'
,
...
...
@@ -68,21 +86,20 @@
},
});
function
handleAudit
()
{
createConfirm
({
iconType
:
'warning'
,
title
:
'审核'
,
content
:
'确认审核选中数据吗?'
,
onOk
()
{
createMessage
.
success
(
'审核成功!'
);
function
handleDetail
(
record
)
{
push
({
path
:
'/dataSharingAndExchange/enrollAudit/detail'
,
query
:
{
...
record
,
},
});
}
function
handle
Detail
(
record
)
{
function
handle
Audit
(
record
)
{
push
({
path
:
'/dataSharingAndExchange/enrollAudit/detail'
,
query
:
{
...
record
,
isAudit
:
true
,
},
});
}
...
...
@@ -92,4 +109,31 @@
}
</
script
>
<
style
scoped
></
style
>
<
style
scoped
>
.header
{
display
:
flex
;
flex-direction
:
row
;
gap
:
10px
;
.h-title
{
flex
:
1
;
display
:
flex
;
gap
:
10px
;
.h-icon
{
font-size
:
40px
!important
;
color
:
#0a208a
;
}
.h-des
{
font-size
:
18px
;
font-weight
:
bolder
;
line-height
:
40px
;
}
.h-path
{
font-size
:
12px
;
}
}
.h-group
{
display
:
flex
;
gap
:
10px
;
}
}
</
style
>
src/views/dataSharingAndExchange/enrollAudit/objectionModal.vue
View file @
7977a20c
...
...
@@ -6,16 +6,67 @@
:title=
"getTitle"
@
ok=
"handleSubmit"
>
<BasicForm
@
register=
"registerForm"
/>
<Alert
show-icon
type=
"info"
message=
"请根据数据对比情况谨慎处理异议"
style=
"margin-bottom: 20px"
/>
<div
class=
"flex"
style=
"margin-bottom: 20px"
>
<div
style=
"margin-top: 4px"
>
异议内容:
</div>
<div
><span
style=
"font-size: 18px; font-weight: bolder"
>
浙江金华贸易有限公司
</span
><span>
认为
</span
><span
style=
"font-size: 18px; font-weight: bolder"
>
宏源技术科技有限公司
</span
><span>
有抄袭行为
</span></div
>
</div>
<div
class=
"flex"
>
<Descriptions
class=
"w-1/2"
:column=
"1"
>
<Descriptions
.
Item
label=
"申请人"
>
浙江金华贸易有限公司
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"数据名称"
>
租赁行业评价模型分析数据
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"数据来源"
>
公开收集
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"数据名称"
>
人工智能预测模型
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"应用场景"
>
采集销售记录表中洛阳地区的数据,通过客户的最近一次消费时间(R)、最近一段时间消费频次(F)、最近一段时间消费金额(M),
采用 RFM
模型对客户进行价值评级,实现精准化运营,通过对洛阳地区客户价值管理,满足不同价值客户的个性化需求。并为同行业企业不同价值类型的客户个性化服务提供数据支持。
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"算法规则"
>
1、数据处理:对从销售记录表中采集到的数据进行脱敏、降噪、清洗、聚集、分析。2、数据加工:运用RFM模型结合客户最近一次消费时间(R)、客户最近一段时间消费频次(F)和客户最近一段时间消费金额(M)的得分排名对客户进行一个综合排名,最终得出一个RFM总评分。
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"发布时间"
>
2023.10.12
</Descriptions
.Item
>
</Descriptions>
<Descriptions
style=
"margin-left: 20px"
class=
"w-1/2"
:column=
"1"
>
<Descriptions
.
Item
label=
"申请人"
>
宏源技术科技有限公司
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"数据名称"
>
租赁行业评价模型分析数据
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"数据来源"
>
公开收集
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"数据名称"
>
大数据人工智能预测模型
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"应用场景"
>
采集销售记录表中洛阳地区的数据,通过客户的最近一次消费时间(R)、最近一段时间消费频次(F)、最近一段时间消费金额(M),
采用 RFM
模型对客户进行价值评级,实现精准化运营,通过对洛阳地区客户价值管理,满足不同价值客户的个性化需求。并为同行业企业不同价值类型的客户个性化服务提供数据支持。
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"算法规则"
>
1、数据处理:对从销售记录表中采集到的数据进行脱敏、降噪、清洗、聚集、分析。2、数据加工:运用RFM模型结合客户最近一次消费时间(R)、客户最近一段时间消费频次(F)和客户最近一段时间消费金额(M)的得分排名对客户进行一个综合排名,最终得出一个RFM总评分。
</Descriptions
.Item
>
<Descriptions
.
Item
label=
"发布时间"
>
2024.01.03
</Descriptions
.Item
>
</Descriptions>
</div>
</BasicModal>
</
template
>
<
script
lang=
"ts"
setup
>
import
BasicModal
from
'@/components/Modal/src/BasicModal.vue'
;
import
{
useModalInner
}
from
'@/components/Modal'
;
import
{
FormProps
,
useForm
}
from
'@/components/Form'
;
import
{
FormProps
,
useForm
}
from
'@/components/Form'
;
import
{
Descriptions
,
Alert
}
from
'ant-design-vue'
;
import
{
objectionFormSchema
}
from
'@/views/dataSharingAndExchange/enrollAudit/enroll.data'
;
import
InputNumberItem
from
'@/layouts/default/setting/components/InputNumberItem.vue'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
const
getTitle
=
'处理异议'
;
const
{
createMessage
}
=
useMessage
();
/** 初始化弹框*/
const
[
registerModal
,
{
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{});
...
...
@@ -23,12 +74,14 @@
/** 初始化表单*/
const
[
registerForm
,
{
setFieldsValue
,
validate
}]
=
useForm
({
labelWidth
:
100
,
schemas
:
objectionFormSchema
,
baseColProps
:
{
lg
:
24
,
md
:
24
},
showActionButtonGroup
:
false
,
}
as
FormProps
);
function
handleSubmit
()
{
closeModal
();
createMessage
.
success
(
'处理成功!'
);
}
</
script
>
...
...
src/views/personalCenter/myMessage/index.vue
View file @
7977a20c
<
template
>
<PageWrapper
dense
contentBackground
headerSticky
>
<template
#
headerContent
>
<div
class=
"header"
>
<div
class=
"h-title"
>
<FileProtectOutlined
class=
"h-icon"
:color=
"'#6499e9'"
/>
<div
class=
"h-txt"
>
<div
class=
"h-des"
>
企业认证
</div>
</div>
</div>
</div>
</
template
>
<div
class=
"h-full"
style=
"padding: 0 25px"
>
<BasicTable
@
register=
"registerApplySuccessTable"
>
<
template
#
bodyCell=
"{ column, record, text }"
>
<template
v-if=
"column.key === 'license'"
>
<TableImg
:size=
"60"
:simpleShow=
"true"
:showBadge=
"false"
:imgList=
"text"
/>
</
template
>
<
template
v-if=
"column.key === 'logo'"
>
<TableImg
:size=
"60"
:simpleShow=
"true"
:showBadge=
"false"
:imgList=
"text"
/>
</
template
>
<
template
v-if=
"column.key === 'action'"
>
<TableAction
:actions=
"[
{
label: '详情',
onClick: handleDetail.bind(null, record),
},
{
label: '审核',
onClick: handleEdit.bind(null, record),
},
]"
/>
</
template
>
</template>
</BasicTable>
</div>
</PageWrapper>
</template>
<
script
>
export
default
{
name
:
"index"
}
<
script
lang=
"ts"
setup
>
import
{
onMounted
,
ref
}
from
'vue'
;
import
PageWrapper
from
'@/components/Page/src/PageWrapper.vue'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
BasicTable
,
useTable
,
TableAction
,
BasicTableProps
,
TableImg
}
from
'@/components/Table'
;
import
{
FileProtectOutlined
}
from
'@ant-design/icons-vue'
;
import
{
enterpriseColumns
}
from
'@/views/servicePlatform/enterpriseCertification/enterpriseColumns.data'
;
import
{
enterprisesData
}
from
'@/views/servicePlatform/enterpriseCertification/enterpriseData'
;
import
{
tableList
}
from
'@/views/scriptDevelopment/auditStrategy/mock'
;
import
{
columns
}
from
'@/views/scriptDevelopment/auditStrategy/mainBody.data'
;
import
{
TreeSystem
}
from
'@/views/dataWarehousePlanning/physicalModel/modelData'
;
import
{
columnsSystem
,
searchFormSchema
,
}
from
'@/views/dataWarehousePlanning/physicalModel/model.data'
;
import
{
useRouter
}
from
'vue-router'
;
// 初始化
const
{
createMessage
,
createConfirm
}
=
useMessage
();
// 数据
const
{
push
}
=
useRouter
();
onMounted
(()
=>
{});
// 方法
// 新增
function
handleAdd
()
{}
// 批量删除
function
handleDelete
()
{}
/**
* table
*/
const
[
registerApplySuccessTable
,
{
reload
,
updateTableDataRecord
,
setTableData
,
setColumns
,
getSearchInfo
,
getForm
,
getRowSelection
,
},
]
=
useTable
({
title
:
''
,
api
:
async
(
params
)
=>
{
console
.
log
(
'params:'
,
params
);
const
response
=
{
pageNu
:
'1'
,
pageSize
:
'10'
,
pages
:
'1'
,
total
:
enterprisesData
.
length
,
code
:
''
,
message
:
''
,
data
:
enterprisesData
,
};
return
{
...
response
,
data
:
enterprisesData
};
},
rowKey
:
'businessId'
,
columns
:
enterpriseColumns
,
rowSelection
:
false
,
formConfig
:
{
labelWidth
:
10
,
schemas
:
searchFormSchema
,
autoSubmitOnEnter
:
true
,
},
showIndexColumn
:
false
,
useSearchForm
:
false
,
showTableSetting
:
false
,
bordered
:
true
,
actionColumn
:
{
width
:
150
,
title
:
'操作'
,
dataIndex
:
'action'
,
},
}
as
BasicTableProps
);
function
handleEdit
()
{
createConfirm
({
iconType
:
'warning'
,
title
:
'审核'
,
content
:
'确认审核选中数据吗?'
,
onOk
()
{
createMessage
.
success
(
'审核成功!'
);
},
});
}
function
handleDetail
(
record
)
{
push
({
path
:
'/servicePlatform/enterpriseCertification/detail'
,
query
:
{
...
record
,
},
});
}
</
script
>
<
style
scoped
>
<
style
lang=
"scss"
scoped
>
.content-padding
{
background-color
:
white
;
}
.selected-row
{
background-color
:
#5cb3ff
;
/* 可以根据需要调整颜色 */
}
.header
{
display
:
flex
;
flex-direction
:
row
;
gap
:
10px
;
.h-title
{
flex
:
1
;
display
:
flex
;
gap
:
10px
;
.h-icon
{
font-size
:
40px
!
important
;
color
:
#0a208a
;
}
.h-des
{
font-size
:
18px
;
font-weight
:
bolder
;
line-height
:
40px
;
}
.h-path
{
font-size
:
12px
;
}
}
.h-group
{
display
:
flex
;
gap
:
10px
;
}
}
//:deep(.vben-basic-table-form-container) {
// padding: 0;
//}
</
style
>
src/views/personalCenter/myObjection/index.vue
View file @
7977a20c
<
template
>
<PageWrapper
dense
contentBackground
headerSticky
>
<template
#
headerContent
>
<div
class=
"header"
>
<div
class=
"h-title"
>
<FileProtectOutlined
class=
"h-icon"
:color=
"'#6499e9'"
/>
<div
class=
"h-txt"
>
<div
class=
"h-des"
>
我的异议
</div>
</div>
</div>
</div>
</
template
>
<div
class=
"h-full"
style=
"padding: 0 25px"
>
<BasicTable
@
register=
"registerApplySuccessTable"
>
<
template
#
bodyCell=
"{ column, record, text }"
>
<template
v-if=
"column.key === 'license'"
>
<TableImg
:size=
"60"
:simpleShow=
"true"
:showBadge=
"false"
:imgList=
"text"
/>
</
template
>
<
template
v-if=
"column.key === 'logo'"
>
<TableImg
:size=
"60"
:simpleShow=
"true"
:showBadge=
"false"
:imgList=
"text"
/>
</
template
>
<
template
v-if=
"column.key === 'action'"
>
<TableAction
:actions=
"[
{
label: '详情',
onClick: handleDetail.bind(null, record),
},
{
label: '审核',
onClick: handleEdit.bind(null, record),
},
]"
/>
</
template
>
</template>
</BasicTable>
</div>
</PageWrapper>
</template>
<
script
>
export
default
{
name
:
"index"
}
<
script
lang=
"ts"
setup
>
import
{
onMounted
,
ref
}
from
'vue'
;
import
PageWrapper
from
'@/components/Page/src/PageWrapper.vue'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
BasicTable
,
useTable
,
TableAction
,
BasicTableProps
,
TableImg
}
from
'@/components/Table'
;
import
{
FileProtectOutlined
}
from
'@ant-design/icons-vue'
;
import
{
enterpriseColumns
}
from
'@/views/servicePlatform/enterpriseCertification/enterpriseColumns.data'
;
import
{
enterprisesData
}
from
'@/views/servicePlatform/enterpriseCertification/enterpriseData'
;
import
{
tableList
}
from
'@/views/scriptDevelopment/auditStrategy/mock'
;
import
{
columns
}
from
'@/views/scriptDevelopment/auditStrategy/mainBody.data'
;
import
{
TreeSystem
}
from
'@/views/dataWarehousePlanning/physicalModel/modelData'
;
import
{
columnsSystem
,
searchFormSchema
,
}
from
'@/views/dataWarehousePlanning/physicalModel/model.data'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
objectionColumns
}
from
"@/views/personalCenter/myObjection/objection.data"
;
// 初始化
const
{
createMessage
,
createConfirm
}
=
useMessage
();
// 数据
const
{
push
}
=
useRouter
();
onMounted
(()
=>
{});
// 方法
// 新增
function
handleAdd
()
{}
// 批量删除
function
handleDelete
()
{}
/**
* table
*/
const
[
registerApplySuccessTable
,
{
reload
,
updateTableDataRecord
,
setTableData
,
setColumns
,
getSearchInfo
,
getForm
,
getRowSelection
,
},
]
=
useTable
({
title
:
''
,
api
:
async
(
params
)
=>
{
console
.
log
(
'params:'
,
params
);
const
response
=
{
pageNu
:
'1'
,
pageSize
:
'10'
,
pages
:
'1'
,
total
:
enterprisesData
.
length
,
code
:
''
,
message
:
''
,
data
:
enterprisesData
,
};
return
{
...
response
,
data
:
enterprisesData
};
},
rowKey
:
'businessId'
,
columns
:
objectionColumns
,
rowSelection
:
false
,
formConfig
:
{
labelWidth
:
10
,
schemas
:
searchFormSchema
,
autoSubmitOnEnter
:
true
,
},
showIndexColumn
:
false
,
useSearchForm
:
false
,
showTableSetting
:
false
,
bordered
:
true
,
actionColumn
:
{
width
:
150
,
title
:
'操作'
,
dataIndex
:
'action'
,
},
}
as
BasicTableProps
);
function
handleEdit
()
{
createConfirm
({
iconType
:
'warning'
,
title
:
'审核'
,
content
:
'确认审核选中数据吗?'
,
onOk
()
{
createMessage
.
success
(
'审核成功!'
);
},
});
}
function
handleDetail
(
record
)
{
push
({
path
:
'/servicePlatform/enterpriseCertification/detail'
,
query
:
{
...
record
,
},
});
}
</
script
>
<
style
scoped
>
<
style
lang=
"scss"
scoped
>
.content-padding
{
background-color
:
white
;
}
.selected-row
{
background-color
:
#5cb3ff
;
/* 可以根据需要调整颜色 */
}
.header
{
display
:
flex
;
flex-direction
:
row
;
gap
:
10px
;
.h-title
{
flex
:
1
;
display
:
flex
;
gap
:
10px
;
.h-icon
{
font-size
:
40px
!
important
;
color
:
#0a208a
;
}
.h-des
{
font-size
:
18px
;
font-weight
:
bolder
;
line-height
:
40px
;
}
.h-path
{
font-size
:
12px
;
}
}
.h-group
{
display
:
flex
;
gap
:
10px
;
}
}
//:deep(.vben-basic-table-form-container) {
// padding: 0;
//}
</
style
>
src/views/personalCenter/myObjection/objection.data.ts
View file @
7977a20c
import
{
BasicColumn
}
from
'@/components/Table'
;
export
const
objectionColumns
:
BasicColumn
[]
=
[
{
title
:
'标题'
,
dataIndex
:
'title'
,
},
{
title
:
'申请人'
,
dataIndex
:
'applicant'
,
},
{
title
:
'数据来源'
,
dataIndex
:
'dataSource'
,
},
{
title
:
'应用场景'
,
dataIndex
:
'applyScene'
,
},
{
title
:
'申请时间'
,
dataIndex
:
'applyTime'
,
},
{
title
:
'更新时间'
,
dataIndex
:
'updateTime'
,
},
{
title
:
'类型'
,
dataIndex
:
'objectionType'
,
},
];
src/views/personalCenter/myObjection/objectionData.ts
View file @
7977a20c
export
const
objectionData
:
any
[]
=
[
{
title
:
'大数据弹性分析数据'
,
applicant
:
'宏远科技有限公司'
,
dataSource
:
'自行生产'
,
applyTime
:
'2024-11-30'
,
updateTime
:
'2024-12-17'
,
objectionType
:
'我收到的'
,
},
];
src/views/servicePlatform/enterpriseCertification/detail.vue
View file @
7977a20c
<
template
>
<PageWrapper
title=
"企业信息
"
:title=
"!isAudit ? '企业详情' : '企业审核'
"
dense
contentBackground
contentFullHeight
...
...
@@ -24,6 +24,21 @@
</div>
</Col>
</Row>
<div
style=
"margin: 40px 60px"
class=
"flex"
>
<div
style=
"line-height: 35px"
>
证明材料:
</div>
<div
style=
"margin-left: 100px"
>
<Upload
style=
"width: 45%"
v-model:file-list=
"fileList"
>
</Upload>
</div>
</div>
<div
v-if=
"isAudit"
style=
"justify-content: center; display: flex; gap: 10px"
>
<a-button
@
click=
"handleCancel"
>
驳回
</a-button>
<a-button
type=
"primary"
@
click=
"handleEdit"
>
审核
</a-button>
</div>
</PageWrapper>
</
template
>
...
...
@@ -31,20 +46,38 @@
import
PageWrapper
from
'@/components/Page/src/PageWrapper.vue'
;
import
{
useRoute
,
useRouter
}
from
'vue-router'
;
import
{
useDescription
}
from
'@/components/Description'
;
import
{
Col
,
Descriptions
,
Row
}
from
'ant-design-vue'
;
import
{
Col
,
Descriptions
,
Row
,
Input
,
Upload
,
Divider
}
from
'ant-design-vue'
;
import
{
formSchema1
}
from
'./enterpriseColumns.data'
;
import
{
mockData
}
from
'./enterpriseData'
;
import
{
FileProtectOutlined
,
UploadOutlined
}
from
'@ant-design/icons-vue'
;
import
{
infoList
,
model
,
}
from
'@/views/mallResourceDevelopment/API/apiByApply/apiDetail/detailData'
;
import
{
ref
,
onMounted
}
from
'vue'
;
import
{
ref
,
onMounted
,
reactive
}
from
'vue'
;
import
moment
from
'moment/moment'
;
import
{
TableImg
}
from
'@/components/Table'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
const
{
createMessage
}
=
useMessage
();
const
route
=
useRoute
();
const
data
=
ref
(
route
.
query
);
const
router
=
useRouter
();
const
isAudit
=
ref
(
route
.
query
.
isAudit
);
const
fileList
=
reactive
([
{
uid
:
1
,
name
:
'证明材料附件1.word'
,
status
:
'done'
,
},
{
uid
:
2
,
name
:
'证明材料附件2.pdf'
,
status
:
'done'
,
},
]);
const
[
register1
]
=
useDescription
({
bordered
:
false
,
data
:
mockData
,
...
...
@@ -58,6 +91,14 @@
onMounted
(()
=>
{
console
.
log
(
'date'
,
data
.
value
);
});
function
handleCancel
()
{
router
.
go
(
-
1
);
createMessage
.
success
(
'驳回成功!'
);
}
function
handleEdit
()
{
router
.
go
(
-
1
);
createMessage
.
success
(
'审核成功!'
);
}
</
script
>
<
style
scoped
>
...
...
src/views/servicePlatform/enterpriseCertification/enterpriseColumns.data.ts
View file @
7977a20c
import
{
BasicColumn
}
from
'@/components/Table'
;
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
import
{
DescItem
}
from
"@/components/Description"
;
export
const
enterpriseColumns
:
BasicColumn
[]
=
[
...
...
@@ -22,6 +22,11 @@ export const enterpriseColumns: BasicColumn[] = [
dataIndex
:
'leaderNum'
,
width
:
150
,
},
{
title
:
'网址'
,
dataIndex
:
'website'
,
width
:
150
,
},
{
title
:
'营业执照'
,
dataIndex
:
'license'
,
...
...
@@ -83,6 +88,10 @@ export const formSchema1: DescItem[] = [
field
:
'registerNum'
,
label
:
'注册资本'
,
},
{
field
:
'website'
,
label
:
'网址'
,
},
{
field
:
'businessRange'
,
...
...
@@ -104,4 +113,35 @@ export const formSchema1: DescItem[] = [
field
:
'logo'
,
label
:
'公司LOGO'
,
},
];
export
const
searchFormSchema
:
FormSchema
[]
=
[
{
field
:
'companyName'
,
label
:
' '
,
component
:
'Input'
,
componentProps
:
{
placeholder
:
'请输入公司名称'
,
},
colProps
:
{
span
:
6
},
},
{
field
:
'code'
,
label
:
' '
,
component
:
'Input'
,
componentProps
:
{
placeholder
:
'请输入统一社会信用代码'
,
},
colProps
:
{
span
:
6
},
},
{
field
:
'leader'
,
label
:
' '
,
component
:
'Input'
,
componentProps
:
{
placeholder
:
'请输入法人'
,
},
colProps
:
{
span
:
6
},
},
]
src/views/servicePlatform/enterpriseCertification/enterpriseData.ts
View file @
7977a20c
export
const
enterprisesData
:
any
[]
=
[
{
companyName
:
'
xxx
'
,
companyName
:
'
宏远科技有限公司
'
,
code
:
'123123'
,
leader
:
'张三'
,
leaderNum
:
'12312312'
,
license
:
[
'src/assets/images/
测试图片1
.jpg'
],
license
:
[
'src/assets/images/
营业执照
.jpg'
],
logo
:
[
'src/assets/images/测试图片1.jpg'
],
buildTime
:
'2020-03-05'
,
website
:
'2020-03-05'
,
registerNum
:
'1000'
,
businessRange
:
'科学研究和技术服务业'
,
registerAddress
:
'天津市西青区中北镇中北科技产业业'
,
...
...
@@ -17,9 +18,10 @@ export const enterprisesData: any[] = [
code
:
'87654321'
,
leader
:
'李四'
,
leaderNum
:
'98765432'
,
license
:
[
'src/assets/images/
测试图片1
.jpg'
],
license
:
[
'src/assets/images/
营业执照
.jpg'
],
logo
:
[
'src/assets/images/测试图片1.jpg'
],
buildTime
:
'2019-02-20'
,
website
:
'2020-03-05'
,
registerNum
:
'1200'
,
businessRange
:
'信息技术与服务'
,
registerAddress
:
'北京市朝阳区建国路88号'
,
...
...
@@ -30,9 +32,10 @@ export const enterprisesData: any[] = [
code
:
'23456789'
,
leader
:
'王五'
,
leaderNum
:
'23456789'
,
license
:
[
'src/assets/images/
测试图片1
.jpg'
],
license
:
[
'src/assets/images/
营业执照
.jpg'
],
logo
:
[
'src/assets/images/测试图片1.jpg'
],
buildTime
:
'2021-05-15'
,
website
:
'2020-03-05'
,
registerNum
:
'1500'
,
businessRange
:
'软件开发与销售'
,
registerAddress
:
'上海市浦东新区世纪大道'
,
...
...
@@ -43,10 +46,11 @@ export const enterprisesData: any[] = [
code
:
'34567890'
,
leader
:
'赵六'
,
leaderNum
:
'34567890'
,
license
:
[
'src/assets/images/
测试图片1
.jpg'
],
license
:
[
'src/assets/images/
营业执照
.jpg'
],
logo
:
[
'src/assets/images/测试图片1.jpg'
],
buildTime
:
'2018-08-10'
,
registerNum
:
'800'
,
website
:
'2020-03-05'
,
businessRange
:
'人工智能与机器学习'
,
registerAddress
:
'深圳市南山区科技园'
,
detailAddress
:
'深圳市南山区科技园路22号'
,
...
...
@@ -56,9 +60,10 @@ export const enterprisesData: any[] = [
code
:
'45678901'
,
leader
:
'钱七'
,
leaderNum
:
'45678901'
,
license
:
[
'src/assets/images/
测试图片1
.jpg'
],
license
:
[
'src/assets/images/
营业执照
.jpg'
],
logo
:
[
'src/assets/images/测试图片1.jpg'
],
buildTime
:
'2020-07-30'
,
website
:
'2020-03-05'
,
registerNum
:
'2000'
,
businessRange
:
'电子商务与物流'
,
registerAddress
:
'广州市天河区体育东路'
,
...
...
@@ -69,10 +74,11 @@ export const enterprisesData: any[] = [
code
:
'56789012'
,
leader
:
'孙八'
,
leaderNum
:
'56789012'
,
license
:
[
'src/assets/images/
测试图片1
.jpg'
],
license
:
[
'src/assets/images/
营业执照
.jpg'
],
logo
:
[
'src/assets/images/测试图片1.jpg'
],
buildTime
:
'2021-01-25'
,
registerNum
:
'950'
,
website
:
'2020-03-05'
,
businessRange
:
'网络安全与服务'
,
registerAddress
:
'重庆市渝中区解放碑'
,
detailAddress
:
'重庆市渝中区解放碑路1号'
,
...
...
@@ -82,9 +88,10 @@ export const enterprisesData: any[] = [
code
:
'67890123'
,
leader
:
'周九'
,
leaderNum
:
'67890123'
,
license
:
[
'src/assets/images/
测试图片1
.jpg'
],
license
:
[
'src/assets/images/
营业执照
.jpg'
],
logo
:
[
'src/assets/images/测试图片1.jpg'
],
buildTime
:
'2017-06-14'
,
website
:
'2020-03-05'
,
registerNum
:
'1100'
,
businessRange
:
'大数据与云计算'
,
registerAddress
:
'杭州市西湖区文二路'
,
...
...
@@ -95,9 +102,10 @@ export const enterprisesData: any[] = [
code
:
'78901234'
,
leader
:
'吴十'
,
leaderNum
:
'78901234'
,
license
:
[
'src/assets/images/
测试图片1
.jpg'
],
license
:
[
'src/assets/images/
营业执照
.jpg'
],
logo
:
[
'src/assets/images/测试图片1.jpg'
],
buildTime
:
'2020-09-01'
,
website
:
'2020-03-05'
,
registerNum
:
'1300'
,
businessRange
:
'科技创新与研发'
,
registerAddress
:
'武汉市江汉区青年路'
,
...
...
@@ -108,9 +116,10 @@ export const enterprisesData: any[] = [
code
:
'89012345'
,
leader
:
'郑十一'
,
leaderNum
:
'89012345'
,
license
:
[
'src/assets/images/
测试图片1
.jpg'
],
license
:
[
'src/assets/images/
营业执照
.jpg'
],
logo
:
[
'src/assets/images/测试图片1.jpg'
],
buildTime
:
'2022-04-10'
,
website
:
'2020-03-05'
,
registerNum
:
'600'
,
businessRange
:
'智能硬件与产品设计'
,
registerAddress
:
'南京市鼓楼区中央路'
,
...
...
@@ -121,9 +130,10 @@ export const enterprisesData: any[] = [
code
:
'90123456'
,
leader
:
'冯十二'
,
leaderNum
:
'90123456'
,
license
:
[
'src/assets/images/
测试图片1
.jpg'
],
license
:
[
'src/assets/images/
营业执照
.jpg'
],
logo
:
[
'src/assets/images/测试图片1.jpg'
],
buildTime
:
'2019-12-15'
,
website
:
'2020-03-05'
,
registerNum
:
'1400'
,
businessRange
:
'电子技术与设备制造'
,
registerAddress
:
'苏州市高新区科技大道'
,
...
...
@@ -134,9 +144,10 @@ export const enterprisesData: any[] = [
code
:
'12345678'
,
leader
:
'刘十三'
,
leaderNum
:
'12345678'
,
license
:
[
'src/assets/images/
测试图片1
.jpg'
],
license
:
[
'src/assets/images/
营业执照
.jpg'
],
logo
:
[
'src/assets/images/测试图片1.jpg'
],
buildTime
:
'2021-03-25'
,
website
:
'2020-03-05'
,
registerNum
:
'1000'
,
businessRange
:
'在线教育与培训服务'
,
registerAddress
:
'成都高新区天府大道'
,
...
...
src/views/servicePlatform/enterpriseCertification/index.vue
View file @
7977a20c
...
...
@@ -28,7 +28,7 @@
},
{
label: '审核',
onClick: handle
E
dit.bind(null, record),
onClick: handle
Au
dit.bind(null, record),
},
]"
/>
...
...
@@ -50,14 +50,13 @@
import
{
tableList
}
from
'@/views/scriptDevelopment/auditStrategy/mock'
;
import
{
columns
}
from
'@/views/scriptDevelopment/auditStrategy/mainBody.data'
;
import
{
TreeSystem
}
from
'@/views/dataWarehousePlanning/physicalModel/modelData'
;
import
{
columnsSystem
,
searchFormSchema
,
}
from
'@/views/dataWarehousePlanning/physicalModel/model.data'
;
import
{
searchFormSchema
}
from
'./enterpriseColumns.data'
;
import
{
useRouter
}
from
'vue-router'
;
// 初始化
const
{
createMessage
,
createConfirm
}
=
useMessage
();
// 数据
const
{
push
}
=
useRouter
();
...
...
@@ -102,34 +101,34 @@
formConfig
:
{
labelWidth
:
10
,
schemas
:
searchFormSchema
,
showActionButtonGroup
:
false
,
autoSubmitOnEnter
:
true
,
},
showIndexColumn
:
false
,
useSearchForm
:
fals
e
,
useSearchForm
:
tru
e
,
showTableSetting
:
false
,
bordered
:
true
,
actionColumn
:
{
width
:
1
5
0
,
width
:
1
0
0
,
title
:
'操作'
,
dataIndex
:
'action'
,
},
}
as
BasicTableProps
);
function
handleEdit
()
{
createConfirm
({
iconType
:
'warning'
,
title
:
'审核'
,
content
:
'确认审核选中数据吗?'
,
onOk
()
{
createMessage
.
success
(
'审核成功!'
);
function
handleDetail
(
record
)
{
push
({
path
:
'/servicePlatform/enterpriseCertification/detail'
,
query
:
{
...
record
,
},
});
}
function
handle
Detail
(
record
)
{
function
handle
Audit
(
record
)
{
push
({
path
:
'/servicePlatform/enterpriseCertification/detail'
,
query
:
{
...
record
,
isAudit
:
true
,
},
});
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment