提交
This commit is contained in:
parent
f26a183ff2
commit
4a452976ee
|
@ -44,7 +44,7 @@
|
|||
<section class="link-section">
|
||||
<div class="section-title">相关链接</div>
|
||||
<ul class="resource-list">
|
||||
<li v-for="(link, index) in links" :key="'link-' + index" class="resource-item">
|
||||
<li v-for="(link, index) in showTableData" :key="'link-' + index" class="resource-item">
|
||||
<a :href="link.linkUrl" target="_blank" class="resource-link">
|
||||
<span class="linkIcon">.</span>
|
||||
<span class="documentName">{{ link.name }}:{{ link.linkUrl }}</span>
|
||||
|
@ -76,16 +76,7 @@ const detailForm = ref({})
|
|||
const docUploadList = ref([])
|
||||
// 显示相关链接数据
|
||||
const showTableData = ref([])
|
||||
|
||||
|
||||
const links = ref([
|
||||
{ name: '开发平台', linkUrl: 'http://open.dingtaccc…' },
|
||||
{ name: '开发者文档', linkUrl: 'http://open.dingtab…' },
|
||||
{ name: '开放平台', linkUrl: 'http://open.dingtabb…' },
|
||||
{ name: '开发平台', linkUrl: 'http://open.dingtaaaa…' },
|
||||
{ name: '开发者文档', linkUrl: 'http://open.dingtbcg…' },
|
||||
{ name: '开放平台', linkUrl: 'http://open.dingtaxxxx…' }
|
||||
]);
|
||||
|
||||
|
||||
// 初始化
|
||||
onMounted(() => {
|
||||
|
@ -101,17 +92,11 @@ const getDetailInfo = (id) => {
|
|||
if (res.code == 200) {
|
||||
detailForm.value = res.data
|
||||
docUploadList.value = JSON.parse(res.data.fileContent)
|
||||
res.data.encyclopediaDatabaseLinkList.forEach(item => {
|
||||
item.editFlag = false
|
||||
showTableData.value.push(item)
|
||||
});
|
||||
|
||||
|
||||
// ruleForm.value.year = res.data.year.toString()
|
||||
// escUserName.value = res.data.escUserName
|
||||
// escWorkNo.value = res.data.workNo
|
||||
// escUserId.value = res.data.escUserId
|
||||
// res.data.reviewProblemList.forEach(item => {
|
||||
// item.editFlag = false
|
||||
// showTableData.value.push(item)
|
||||
// cachShowTableData.value.push(item)
|
||||
// });
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
@ -234,17 +234,12 @@ const getDetailInfo = (id) => {
|
|||
categoryTwoSelectedValue.value = [res.data.categoryTwo]
|
||||
editorRef.value.handleSetContent(res.data.mainText)
|
||||
docUploadList.value = JSON.parse(res.data.fileContent)
|
||||
|
||||
|
||||
// ruleForm.value.year = res.data.year.toString()
|
||||
// escUserName.value = res.data.escUserName
|
||||
// escWorkNo.value = res.data.workNo
|
||||
// escUserId.value = res.data.escUserId
|
||||
// res.data.reviewProblemList.forEach(item => {
|
||||
// item.editFlag = false
|
||||
// showTableData.value.push(item)
|
||||
// cachShowTableData.value.push(item)
|
||||
// });
|
||||
|
||||
res.data.encyclopediaDatabaseLinkList.forEach(item => {
|
||||
item.editFlag = false
|
||||
showTableData.value.push(item)
|
||||
cachShowTableData.value.push(item)
|
||||
});
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user