对接条款比对
This commit is contained in:
@@ -35,9 +35,9 @@
|
||||
<div class="standard-name">
|
||||
<a-tooltip placement="topLeft">
|
||||
<template #title>
|
||||
{{ $route.query.infoNumberLeft }} {{ $route.query.infoNameLeft }}
|
||||
{{ leftData.title }}
|
||||
</template>
|
||||
<span>{{ $route.query.infoNumberLeft }} {{ $route.query.infoNameLeft }}</span>
|
||||
<span>{{ leftData.title }}</span>
|
||||
</a-tooltip>
|
||||
</div>
|
||||
<div class="detail-content-left-scroll">
|
||||
@@ -81,13 +81,13 @@
|
||||
<div class="standard-name">
|
||||
<a-tooltip placement="topLeft">
|
||||
<template #title>
|
||||
{{ $route.query.infoNumberRight }} {{ $route.query.infoNameRight }}
|
||||
{{ rightData.title }}
|
||||
</template>
|
||||
<span>{{ $route.query.infoNumberRight }} {{ $route.query.infoNameRight }}</span>
|
||||
<span>{{ rightData.title }}</span>
|
||||
</a-tooltip>
|
||||
</div>
|
||||
<div class="detail-content-right-scroll">
|
||||
<div class="detail-content-right-item" @click="detailRight(index,item)"
|
||||
<div class="detail-content-right-item"
|
||||
v-for="(item,index) in resultData.textRight" :key="index">
|
||||
<div class="detail-content-item-text" style="margin-bottom: 10px;color: #040B29">
|
||||
{{ item.itemsNum + ' ' + item.itemsName }}
|
||||
@@ -103,6 +103,7 @@
|
||||
<div class="detail-content-button">
|
||||
<a-button class="header-btn"
|
||||
type="primary"
|
||||
@click="comparisonClick"
|
||||
ghost>
|
||||
{{ $t('docTool.comparison.comparison') }}
|
||||
</a-button>
|
||||
@@ -112,7 +113,7 @@
|
||||
|
||||
<script>
|
||||
import InternalDetailPage from '../../../components/InternalDetailPage.vue'
|
||||
import { getSplitMenusByInfo, documentSplitView } from '../../../api/documentToolApi.js'
|
||||
import { getSplitMenusByInfo, documentSplitView, clauseComparisonEvent } from '../../../api/documentToolApi.js'
|
||||
|
||||
export default {
|
||||
name: 'comparisonOfTerms',
|
||||
@@ -140,6 +141,9 @@ export default {
|
||||
// 左侧树选择
|
||||
onSelectLeft (selectedKeys, exports) {
|
||||
const node = exports.node.$vnode.data.props.dataRef
|
||||
if (!node.pid) {
|
||||
return
|
||||
}
|
||||
this.leftData = node
|
||||
this.getLeftDocumentSplitView()
|
||||
},
|
||||
@@ -159,6 +163,9 @@ export default {
|
||||
// 右侧树选择
|
||||
onSelectRight (selectedKeys, exports) {
|
||||
const node = exports.node.$vnode.data.props.dataRef
|
||||
if (!node.pid) {
|
||||
return
|
||||
}
|
||||
this.rightData = node
|
||||
this.getRightDocumentSplitView()
|
||||
},
|
||||
@@ -197,6 +204,18 @@ export default {
|
||||
this.menuRight = []
|
||||
}
|
||||
})
|
||||
},
|
||||
comparisonClick () {
|
||||
const query = {
|
||||
// oldItemId: this.saveItemId,
|
||||
// newItemId: this.saveItemIdRight,
|
||||
standHisId: this.$route.query.id
|
||||
}
|
||||
clauseComparisonEvent(query).then((res) => {
|
||||
if (res.success) {
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user