Commit dd426679 authored by 曹泽华's avatar 曹泽华

我的异议

parent 7cf532f1
...@@ -7,7 +7,7 @@ export const enrollData: any[] = [ ...@@ -7,7 +7,7 @@ export const enrollData: any[] = [
dataBase: '腾讯云数据中心', dataBase: '腾讯云数据中心',
enrollDate: '2023-01-15', enrollDate: '2023-01-15',
enrollStatus: '已备案', enrollStatus: '已备案',
isObjection: '', isObjection: '',
enrollBook: ['src/assets/images/登记证书.jpg'], enrollBook: ['src/assets/images/登记证书.jpg'],
}, },
{ {
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
</template> </template>
<template v-if="column.key === 'action'"> <template v-if="column.key === 'action'">
<TableAction <TableAction
v-if="record.isObjection === '是'"
:actions="[ :actions="[
{ {
label: '详情', label: '详情',
...@@ -32,6 +33,19 @@ ...@@ -32,6 +33,19 @@
}, },
]" ]"
/> />
<TableAction
v-else
:actions="[
{
label: '详情',
onClick: handleDetail.bind(null, record),
},
{
label: '审核',
onClick: handleAudit.bind(null, record),
},
]"
/>
</template> </template>
</template> </template>
</BasicTable> </BasicTable>
......
...@@ -12,24 +12,34 @@ ...@@ -12,24 +12,34 @@
<Col :span="12" v-for="info in objectionColumns" :key="info"> <Col :span="12" v-for="info in objectionColumns" :key="info">
<div class="col-item"> <div class="col-item">
<div class="item-label">{{ info.title }}</div> <div class="item-label">{{ info.title }}</div>
<div <div class="item-des">{{ data[info.dataIndex] ? data[info.dataIndex] : '-' }}</div>
v-if="['license', 'logo'].includes(info.title)" class="item-des"
</div> </div>
<div v-else class="item-des">{{ data[info.dataIndex] ? data[info.dataIndex] : '-' }}</div> </Col>
<Col :span="12">
<div class="col-item">
<div class="item-label">异议内容:</div>
<div class="item-des"> xxx科技有限公司认为xxx科技有限公司有抄袭行为</div>
</div> </div>
</Col> </Col>
</Row> </Row>
<div style="margin: 40px 60px" class="flex"> <div style="display: flex">
<div v-if="isAudit" style="margin: 40px 60px" class="flex">
<div style="line-height: 35px">证明材料:</div> <div style="line-height: 35px">证明材料:</div>
<div style="margin-left: 100px"> <div style="margin-left: 100px">
<Upload <Upload style="width: 45%" v-model:file-list="fileList" />
style="width: 45%" </div>
v-model:file-list="fileList" </div>
/> <div v-if="isAudit" style="margin: 40px 0 0 440px" class="flex">
<div style="line-height: 35px">审核意见:</div>
<div style="margin-left: 100px">
<Textarea v-model:value="idea" style="width: 300px" placeholder="请输入审核意见" />
</div>
</div> </div>
</div> </div>
<div v-if="isAudit" style="justify-content: center; display: flex; gap: 10px"> <div
v-if="isAudit"
style="justify-content: right; display: flex; gap: 10px; margin-right: 20px"
>
<a-button @click="handleCancel">驳回</a-button> <a-button @click="handleCancel">驳回</a-button>
<a-button type="primary" @click="handleEdit">审核</a-button> <a-button type="primary" @click="handleEdit">审核</a-button>
</div> </div>
...@@ -37,28 +47,30 @@ v-if="['license', 'logo'].includes(info.title)" class="item-des" ...@@ -37,28 +47,30 @@ v-if="['license', 'logo'].includes(info.title)" class="item-des"
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import PageWrapper from '@/components/Page/src/PageWrapper.vue'; import PageWrapper from '@/components/Page/src/PageWrapper.vue';
import { useRoute, useRouter } from 'vue-router'; import { useRoute, useRouter } from 'vue-router';
import { useDescription } from '@/components/Description'; import { useDescription } from '@/components/Description';
import { Col, Descriptions, Row, Input, Upload, Divider } from 'ant-design-vue'; import { Col, Descriptions, Row, Input, Upload, Textarea } from 'ant-design-vue';
import { FileProtectOutlined, UploadOutlined } from '@ant-design/icons-vue'; import { FileProtectOutlined, UploadOutlined } from '@ant-design/icons-vue';
import { import {
infoList, infoList,
model, model,
} from '@/views/mallResourceDevelopment/API/apiByApply/apiDetail/detailData'; } from '@/views/mallResourceDevelopment/API/apiByApply/apiDetail/detailData';
import {ref, onMounted, reactive} from 'vue'; import { ref, onMounted, reactive } from 'vue';
import moment from 'moment/moment'; import moment from 'moment/moment';
import { TableImg } from '@/components/Table'; import { TableImg } from '@/components/Table';
import { useMessage } from '@/hooks/web/useMessage'; import { useMessage } from '@/hooks/web/useMessage';
import {objectionColumns} from "@/views/personalCenter/myObjection/objection.data"; import { objectionColumns } from '@/views/personalCenter/myObjection/objection.data';
import { formSchema1 } from '@/views/servicePlatform/enterpriseCertification/enterpriseColumns.data';
const { createMessage } = useMessage(); const { createMessage } = useMessage();
const route = useRoute(); const route = useRoute();
const data = ref(route.query); const data = ref(route.query);
const router = useRouter(); const router = useRouter();
const isAudit = ref(route.query.isAudit); const isAudit = ref(route.query.isAudit);
const idea = ref('');
const fileList = reactive([ const fileList = reactive([
{ {
uid: 1, uid: 1,
name: '证明材料附件1.word', name: '证明材料附件1.word',
...@@ -69,28 +81,27 @@ const fileList = reactive([ ...@@ -69,28 +81,27 @@ const fileList = reactive([
name: '证明材料附件2.pdf', name: '证明材料附件2.pdf',
status: 'done', status: 'done',
}, },
]); ]);
function handleBack() {
function handleBack() {
router.go(-1); router.go(-1);
} }
onMounted(() => { onMounted(() => {
console.log('date', data.value); console.log('date', data.value);
}); });
function handleCancel() { function handleCancel() {
router.go(-1); router.go(-1);
createMessage.success('驳回成功!'); createMessage.success('驳回成功!');
} }
function handleEdit() { function handleEdit() {
router.go(-1); router.go(-1);
createMessage.success('审核成功!'); createMessage.success('审核成功!');
} }
</script> </script>
<style scoped> <style scoped>
.col-item { .col-item {
display: flex; display: flex;
gap: 10px; gap: 10px;
margin: 20px 60px; margin: 20px 60px;
...@@ -101,5 +112,5 @@ function handleEdit() { ...@@ -101,5 +112,5 @@ function handleEdit() {
width: 150px; width: 150px;
height: 100px; height: 100px;
} }
} }
</style> </style>
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
</template> </template>
<template v-if="column.key === 'action'"> <template v-if="column.key === 'action'">
<TableAction <TableAction
v-if="record.objectionType === '我收到的'"
:actions="[ :actions="[
{ {
label: '详情', label: '详情',
...@@ -32,6 +33,15 @@ ...@@ -32,6 +33,15 @@
}, },
]" ]"
/> />
<TableAction
v-else
:actions="[
{
label: '详情',
onClick: handleDetail.bind(null, record),
},
]"
/>
</template> </template>
</template> </template>
</BasicTable> </BasicTable>
......
...@@ -8,4 +8,58 @@ export const objectionData: any[] = [ ...@@ -8,4 +8,58 @@ export const objectionData: any[] = [
updateTime: '2024-12-17', updateTime: '2024-12-17',
objectionType: '我收到的', objectionType: '我收到的',
}, },
{
title: '大数据弹性分析数据',
applicant: '天津宏飞园宜科技有限公司',
dataSource: '自行生产',
applyScene: '大数据分析',
applyTime: '2024-11-30',
updateTime: '2024-12-17',
objectionType: '我收到的',
},
{
title: '大数据弹性分析数据',
applicant: '天津宏飞园宜科技有限公司',
dataSource: '自行生产',
applyScene: '大数据分析',
applyTime: '2024-11-30',
updateTime: '2024-12-17',
objectionType: '我收到的',
},
{
title: '大数据弹性分析数据',
applicant: '天津宏飞园宜科技有限公司',
dataSource: '自行生产',
applyScene: '大数据分析',
applyTime: '2024-11-30',
updateTime: '2024-12-17',
objectionType: '我提交的',
},
{
title: '大数据弹性分析数据',
applicant: '天津宏飞园宜科技有限公司',
dataSource: '自行生产',
applyScene: '大数据分析',
applyTime: '2024-11-30',
updateTime: '2024-12-17',
objectionType: '我提交的',
},
{
title: '大数据弹性分析数据',
applicant: '天津宏飞园宜科技有限公司',
dataSource: '自行生产',
applyScene: '大数据分析',
applyTime: '2024-11-30',
updateTime: '2024-12-17',
objectionType: '我提交的',
},
{
title: '大数据弹性分析数据',
applicant: '天津宏飞园宜科技有限公司',
dataSource: '自行生产',
applyScene: '大数据分析',
applyTime: '2024-11-30',
updateTime: '2024-12-17',
objectionType: '我提交的',
},
]; ];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment