52498 【手机端】标准解读流程 当存在上上一版本标准号时,审核及后续节点都要有查看比对按钮
This commit is contained in:
@@ -88,115 +88,124 @@
|
|||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">拆分信息</template>
|
<template slot="title">拆分信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<el-table border
|
<el-table border
|
||||||
ref="selection"
|
ref="filterTable"
|
||||||
:data="itemList"
|
:data="itemList"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
height="100%"
|
height="100%"
|
||||||
row-key="id"
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
|
||||||
fontWeight: 'bold', height: '48px'}"
|
fontWeight: 'bold', height: '48px'}"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
prop="itemsNum"
|
<el-table-column
|
||||||
label="条款号"
|
prop="itemsNum"
|
||||||
width="70"
|
label="条款号"
|
||||||
align="center">
|
width="70"
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="itemsName"
|
<el-table-column
|
||||||
label="条款名称"
|
prop="itemsName"
|
||||||
show-overflow-tooltip
|
label="条款名称"
|
||||||
align="center">
|
show-overflow-tooltip
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="itermsConditions"
|
<el-table-column
|
||||||
label="条款内容"
|
prop="itermsConditions"
|
||||||
width="200"
|
label="条款内容"
|
||||||
show-overflow-tooltip
|
width="200"
|
||||||
align="center">
|
show-overflow-tooltip
|
||||||
<template slot-scope="scope">
|
align="center">
|
||||||
<el-button size="mini" type="primary" @click="itermsConditionsOpen(scope.row.itermsConditions)" class="common-button-primary">查看条款内容</el-button>
|
<template slot-scope="scope">
|
||||||
</template>
|
<el-button size="mini" type="primary" @click="itermsConditionsOpen(scope.row.itermsConditions)" class="common-button-primary">查看条款内容</el-button>
|
||||||
</el-table-column>
|
</template>
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
show-overflow-tooltip
|
<el-table-column
|
||||||
prop="technicalRequir"
|
prop="newData"
|
||||||
width="200"
|
width="180"
|
||||||
label="核心技术要求"
|
show-overflow-tooltip
|
||||||
align="center">
|
label="新车型实施日期"
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
show-overflow-tooltip
|
<el-table-column
|
||||||
v-if="sarType === 'INLAND' && form.itemsNum1"
|
prop="onlineData"
|
||||||
prop="changePoint"
|
width="180"
|
||||||
width="150"
|
show-overflow-tooltip
|
||||||
label="基于上一版本差异"
|
label="在产车型实施日期"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
prop="applyArctic"
|
||||||
v-if="sarType === 'FOREIGN'"
|
width="200"
|
||||||
prop="changePoint"
|
label="适用车型"
|
||||||
width="150"
|
show-overflow-tooltip
|
||||||
label="相对于国行标差异点"
|
align="center">
|
||||||
align="center">
|
<template slot-scope="scope">
|
||||||
</el-table-column>
|
{{ typeof (scope.row.applyArctic) === 'string' ? JSON.parse(scope.row.applyArctic).join(',') : scope.row.applyArctic.join(',') }}
|
||||||
<el-table-column
|
</template>
|
||||||
prop="complianceRequir"
|
</el-table-column>
|
||||||
width="150"
|
<el-table-column
|
||||||
label="符合项状态"
|
prop="unitDeptName"
|
||||||
align="center">
|
label="责任部门"
|
||||||
<template slot-scope="scope">
|
width="200"
|
||||||
<div v-if="scope.row.complianceRequir === '1'">符合</div>
|
show-overflow-tooltip
|
||||||
<div v-else>不符合</div>
|
align="center">
|
||||||
</template>
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column
|
||||||
<el-table-column
|
label="责任人"
|
||||||
show-overflow-tooltip
|
width="170"
|
||||||
prop="complianceState"
|
prop="zrUserName"
|
||||||
width="200"
|
show-overflow-tooltip
|
||||||
label="合规性分析"
|
align="center">
|
||||||
align="center">
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column
|
||||||
<el-table-column
|
v-if="!form.itemsNum1"
|
||||||
prop="newData"
|
prop="technicalRequir"
|
||||||
width="180"
|
width="200"
|
||||||
show-overflow-tooltip
|
label="核心技术要求"
|
||||||
label="新车型实施日期"
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="onlineData"
|
prop="changePoint"
|
||||||
width="180"
|
width="150"
|
||||||
show-overflow-tooltip
|
v-if="form.itemsNum1"
|
||||||
label="在产车型实施日期"
|
label="基于上一版本差异"
|
||||||
align="center">
|
show-overflow-tooltip
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="applyArctic"
|
<!-- <el-table-column-->
|
||||||
width="150"
|
<!-- v-show="sarType === 'FOREIGN' && form.itemsNum1"-->
|
||||||
show-overflow-tooltip
|
<!-- prop="changePoint"-->
|
||||||
label="适用车型"
|
<!-- width="150"-->
|
||||||
align="center">
|
<!-- label="相对于国行标差异点"-->
|
||||||
<template slot-scope="scope">
|
<!-- show-overflow-tooltip-->
|
||||||
{{ scope.row.applyArctic.toString() }}
|
<!-- align="center">-->
|
||||||
</template>
|
<!-- </el-table-column>-->
|
||||||
</el-table-column>
|
<el-table-column
|
||||||
<el-table-column
|
prop="complianceRequirShow"
|
||||||
prop="unitDeptName"
|
width="150"
|
||||||
label="责任部门"
|
label="符合项状态"
|
||||||
width="170"
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="责任人"
|
prop="complianceState"
|
||||||
width="170"
|
width="200"
|
||||||
prop="zrUserIdName"
|
label="合规性分析"
|
||||||
align="center">
|
show-overflow-tooltip
|
||||||
</el-table-column>
|
align="center">
|
||||||
</el-table>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="操作"
|
||||||
|
width="140"
|
||||||
|
v-if="form.itemsNum1"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button class="common-button-primary" size="mini" type="primary" @click="checkBD(scope.row.itemsId, scope.row.itemsId2, scope.row.itemsNum)">查看比对</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
<el-button v-if="itemLists.length > 20 && tableIndex * 20 < itemLists.length" style="width: 100%; margin-top: 5px;" icon="el-icon-caret-bottom" @click="tableLoading">加载更多...</el-button>
|
<el-button v-if="itemLists.length > 20 && tableIndex * 20 < itemLists.length" style="width: 100%; margin-top: 5px;" icon="el-icon-caret-bottom" @click="tableLoading">加载更多...</el-button>
|
||||||
<el-collapse accordion>
|
<el-collapse accordion>
|
||||||
<el-collapse-item title="审批意见">
|
<el-collapse-item title="审批意见">
|
||||||
@@ -219,13 +228,23 @@
|
|||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
@save="handleSave"
|
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
show-back
|
show-back
|
||||||
@back="handleSubmitNo"
|
@back="handleSubmitNo"
|
||||||
submitBTNText="同意"
|
submitBTNText="同意"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
<el-dialog
|
||||||
|
title="查看比对内容"
|
||||||
|
:visible.sync="BDmodel"
|
||||||
|
size="1100px">
|
||||||
|
<div>比对条款: {{ itemsNum }}</div>
|
||||||
|
<div>相似度:{{ similarityDegree }}</div>
|
||||||
|
<div style="height: 600px;overflow: auto;display: flex;">
|
||||||
|
<div v-html="leftData" style="line-height: 20px; margin: 5px; border: 1px solid #ccc; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"></div>
|
||||||
|
<div v-html="rightData" style="line-height: 20px; margin: 5px; border: 1px solid #ccc; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"></div>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
<van-dialog v-model="dialogMadal" title="条款内容" @confirm="dialogOk">
|
<van-dialog v-model="dialogMadal" title="条款内容" @confirm="dialogOk">
|
||||||
<div v-html="itermsConditionsTitle"></div>
|
<div v-html="itermsConditionsTitle"></div>
|
||||||
</van-dialog>
|
</van-dialog>
|
||||||
@@ -246,6 +265,11 @@
|
|||||||
return {
|
return {
|
||||||
tableIndex: 0,
|
tableIndex: 0,
|
||||||
itemLists: [],
|
itemLists: [],
|
||||||
|
itemsNum: '',
|
||||||
|
similarityDegree: '',
|
||||||
|
BDmodel: false,
|
||||||
|
leftData: '',
|
||||||
|
rightData: '',
|
||||||
dialogMadal: false,
|
dialogMadal: false,
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
//折叠的标志,true为折叠,false为不折叠
|
//折叠的标志,true为折叠,false为不折叠
|
||||||
@@ -336,6 +360,30 @@
|
|||||||
this.dialogMadal = true
|
this.dialogMadal = true
|
||||||
this.itermsConditionsTitle = row
|
this.itermsConditionsTitle = row
|
||||||
},
|
},
|
||||||
|
checkBD (id,id2,itemsNum) {
|
||||||
|
let itemsEoPage = {
|
||||||
|
oldItemId: id,
|
||||||
|
newItemId: id2,
|
||||||
|
flag: 1
|
||||||
|
}
|
||||||
|
if (!id || !id2) {
|
||||||
|
this.$message.warning('暂无找到相似的文本')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.data.leftString === '' && res.data.rightString === '') {
|
||||||
|
this.$message.warning('暂无找到相似的文本')
|
||||||
|
} else {
|
||||||
|
this.itemsNum = itemsNum
|
||||||
|
this.leftData = res.data.leftString
|
||||||
|
this.rightData = res.data.rightString
|
||||||
|
this.BDmodel = true
|
||||||
|
this.similarityDegree = res.data.similarityDegree
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
getHistoryData () {
|
getHistoryData () {
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
prcNum: this.$route.query.prcNum,
|
prcNum: this.$route.query.prcNum,
|
||||||
|
|||||||
@@ -86,115 +86,124 @@
|
|||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">拆分信息</template>
|
<template slot="title">拆分信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<el-table border
|
<el-table border
|
||||||
ref="selection"
|
ref="filterTable"
|
||||||
:data="itemList"
|
:data="itemList"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
height="100%"
|
height="100%"
|
||||||
row-key="id"
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
|
||||||
fontWeight: 'bold', height: '48px'}"
|
fontWeight: 'bold', height: '48px'}"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
prop="itemsNum"
|
<el-table-column
|
||||||
label="条款号"
|
prop="itemsNum"
|
||||||
width="70"
|
label="条款号"
|
||||||
align="center">
|
width="70"
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="itemsName"
|
<el-table-column
|
||||||
label="条款名称"
|
prop="itemsName"
|
||||||
show-overflow-tooltip
|
label="条款名称"
|
||||||
align="center">
|
show-overflow-tooltip
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="itermsConditions"
|
<el-table-column
|
||||||
label="条款内容"
|
prop="itermsConditions"
|
||||||
width="200"
|
label="条款内容"
|
||||||
show-overflow-tooltip
|
width="200"
|
||||||
align="center">
|
show-overflow-tooltip
|
||||||
<template slot-scope="scope">
|
align="center">
|
||||||
<el-button size="mini" type="primary" @click="itermsConditionsOpen(scope.row.itermsConditions)" class="common-button-primary">查看条款内容</el-button>
|
<template slot-scope="scope">
|
||||||
</template>
|
<el-button size="mini" type="primary" @click="itermsConditionsOpen(scope.row.itermsConditions)" class="common-button-primary">查看条款内容</el-button>
|
||||||
</el-table-column>
|
</template>
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
show-overflow-tooltip
|
<el-table-column
|
||||||
prop="technicalRequir"
|
prop="newData"
|
||||||
width="200"
|
width="180"
|
||||||
label="核心技术要求"
|
show-overflow-tooltip
|
||||||
align="center">
|
label="新车型实施日期"
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
show-overflow-tooltip
|
<el-table-column
|
||||||
v-if="sarType === 'INLAND' && form.itemsNum1"
|
prop="onlineData"
|
||||||
prop="changePoint"
|
width="180"
|
||||||
width="150"
|
show-overflow-tooltip
|
||||||
label="基于上一版本差异"
|
label="在产车型实施日期"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
prop="applyArctic"
|
||||||
v-if="sarType === 'FOREIGN'"
|
width="200"
|
||||||
prop="changePoint"
|
label="适用车型"
|
||||||
width="150"
|
show-overflow-tooltip
|
||||||
label="相对于国行标差异点"
|
align="center">
|
||||||
align="center">
|
<template slot-scope="scope">
|
||||||
</el-table-column>
|
{{ typeof (scope.row.applyArctic) === 'string' ? JSON.parse(scope.row.applyArctic).join(',') : scope.row.applyArctic.join(',') }}
|
||||||
<el-table-column
|
</template>
|
||||||
prop="complianceRequir"
|
</el-table-column>
|
||||||
width="150"
|
<el-table-column
|
||||||
label="符合项状态"
|
prop="unitDeptName"
|
||||||
align="center">
|
label="责任部门"
|
||||||
<template slot-scope="scope">
|
width="200"
|
||||||
<div v-if="scope.row.complianceRequir === '1'">符合</div>
|
show-overflow-tooltip
|
||||||
<div v-else>不符合</div>
|
align="center">
|
||||||
</template>
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column
|
||||||
<el-table-column
|
label="责任人"
|
||||||
show-overflow-tooltip
|
width="170"
|
||||||
prop="complianceState"
|
prop="zrUserName"
|
||||||
width="200"
|
show-overflow-tooltip
|
||||||
label="合规性分析"
|
align="center">
|
||||||
align="center">
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column
|
||||||
<el-table-column
|
v-if="!form.itemsNum1"
|
||||||
prop="newData"
|
prop="technicalRequir"
|
||||||
width="180"
|
width="200"
|
||||||
show-overflow-tooltip
|
label="核心技术要求"
|
||||||
label="新车型实施日期"
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="onlineData"
|
prop="changePoint"
|
||||||
width="180"
|
width="150"
|
||||||
show-overflow-tooltip
|
v-if="form.itemsNum1"
|
||||||
label="在产车型实施日期"
|
label="基于上一版本差异"
|
||||||
align="center">
|
show-overflow-tooltip
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="applyArctic"
|
<!-- <el-table-column-->
|
||||||
width="150"
|
<!-- v-show="sarType === 'FOREIGN' && form.itemsNum1"-->
|
||||||
show-overflow-tooltip
|
<!-- prop="changePoint"-->
|
||||||
label="适用车型"
|
<!-- width="150"-->
|
||||||
align="center">
|
<!-- label="相对于国行标差异点"-->
|
||||||
<template slot-scope="scope">
|
<!-- show-overflow-tooltip-->
|
||||||
{{ scope.row.applyArctic.toString() }}
|
<!-- align="center">-->
|
||||||
</template>
|
<!-- </el-table-column>-->
|
||||||
</el-table-column>
|
<el-table-column
|
||||||
<el-table-column
|
prop="complianceRequirShow"
|
||||||
prop="unitDeptName"
|
width="150"
|
||||||
label="责任部门"
|
label="符合项状态"
|
||||||
width="170"
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="责任人"
|
prop="complianceState"
|
||||||
width="170"
|
width="200"
|
||||||
prop="zrUserIdName"
|
label="合规性分析"
|
||||||
align="center">
|
show-overflow-tooltip
|
||||||
</el-table-column>
|
align="center">
|
||||||
</el-table>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="操作"
|
||||||
|
width="140"
|
||||||
|
v-if="form.itemsNum1"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button class="common-button-primary" size="mini" type="primary" @click="checkBD(scope.row.itemsId, scope.row.itemsId2, scope.row.itemsNum)">查看比对</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
<el-button v-if="itemLists.length > 20 && tableIndex * 20 < itemLists.length" style="width: 100%; margin-top: 5px;" icon="el-icon-caret-bottom" @click="tableLoading">加载更多...</el-button>
|
<el-button v-if="itemLists.length > 20 && tableIndex * 20 < itemLists.length" style="width: 100%; margin-top: 5px;" icon="el-icon-caret-bottom" @click="tableLoading">加载更多...</el-button>
|
||||||
<el-collapse accordion>
|
<el-collapse accordion>
|
||||||
<el-collapse-item title="审批意见">
|
<el-collapse-item title="审批意见">
|
||||||
@@ -210,6 +219,17 @@
|
|||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
</el-collapse>
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
|
<el-dialog
|
||||||
|
title="查看比对内容"
|
||||||
|
:visible.sync="BDmodel"
|
||||||
|
size="1100px">
|
||||||
|
<div>比对条款: {{ itemsNum }}</div>
|
||||||
|
<div>相似度:{{ similarityDegree }}</div>
|
||||||
|
<div style="height: 600px;overflow: auto;display: flex;">
|
||||||
|
<div v-html="leftData" style="line-height: 20px; margin: 5px; border: 1px solid #ccc; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"></div>
|
||||||
|
<div v-html="rightData" style="line-height: 20px; margin: 5px; border: 1px solid #ccc; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"></div>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
<div class="content" v-show="active === '2'">
|
<div class="content" v-show="active === '2'">
|
||||||
<Phone-histort-table :prc-num="$route.query.prcNum"></Phone-histort-table>
|
<Phone-histort-table :prc-num="$route.query.prcNum"></Phone-histort-table>
|
||||||
</div>
|
</div>
|
||||||
@@ -217,13 +237,13 @@
|
|||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
@save="handleSave"
|
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
show-back
|
show-back
|
||||||
@back="handleSubmitNo"
|
@back="handleSubmitNo"
|
||||||
submitBTNText="同意"
|
submitBTNText="同意"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
|
||||||
<van-dialog v-model="dialogMadal" title="条款内容" @confirm="dialogOk">
|
<van-dialog v-model="dialogMadal" title="条款内容" @confirm="dialogOk">
|
||||||
<div v-html="itermsConditionsTitle"></div>
|
<div v-html="itermsConditionsTitle"></div>
|
||||||
</van-dialog>
|
</van-dialog>
|
||||||
@@ -242,6 +262,11 @@
|
|||||||
name: "phoneBzjdStep5",
|
name: "phoneBzjdStep5",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
BDmodel: false,
|
||||||
|
itemsNum: '',
|
||||||
|
similarityDegree: '',
|
||||||
|
leftData: '',
|
||||||
|
rightData: '',
|
||||||
commentText5: '',
|
commentText5: '',
|
||||||
tableIndex: 0,
|
tableIndex: 0,
|
||||||
itemLists: [],
|
itemLists: [],
|
||||||
@@ -334,6 +359,30 @@
|
|||||||
this.dialogMadal = true
|
this.dialogMadal = true
|
||||||
this.itermsConditionsTitle = row
|
this.itermsConditionsTitle = row
|
||||||
},
|
},
|
||||||
|
checkBD (id,id2,itemsNum) {
|
||||||
|
let itemsEoPage = {
|
||||||
|
oldItemId: id,
|
||||||
|
newItemId: id2,
|
||||||
|
flag: 1
|
||||||
|
}
|
||||||
|
if (!id || !id2) {
|
||||||
|
this.$message.warning('暂无找到相似的文本')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.data.leftString === '' && res.data.rightString === '') {
|
||||||
|
this.$message.warning('暂无找到相似的文本')
|
||||||
|
} else {
|
||||||
|
this.itemsNum = itemsNum
|
||||||
|
this.leftData = res.data.leftString
|
||||||
|
this.rightData = res.data.rightString
|
||||||
|
this.BDmodel = true
|
||||||
|
this.similarityDegree = res.data.similarityDegree
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
getHistoryData () {
|
getHistoryData () {
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
prcNum: this.$route.query.prcNum,
|
prcNum: this.$route.query.prcNum,
|
||||||
|
|||||||
@@ -86,115 +86,127 @@
|
|||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">拆分信息</template>
|
<template slot="title">拆分信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<el-table border
|
<el-table border
|
||||||
ref="selection"
|
ref="filterTable"
|
||||||
:data="itemList"
|
:data="itemList"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
height="100%"
|
height="100%"
|
||||||
row-key="id"
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
|
||||||
fontWeight: 'bold', height: '48px'}"
|
fontWeight: 'bold', height: '48px'}"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
prop="itemsNum"
|
<el-table-column
|
||||||
label="条款号"
|
prop="itemsNum"
|
||||||
width="70"
|
label="条款号"
|
||||||
align="center">
|
width="70"
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="itemsName"
|
<el-table-column
|
||||||
label="条款名称"
|
prop="itemsName"
|
||||||
show-overflow-tooltip
|
label="条款名称"
|
||||||
align="center">
|
show-overflow-tooltip
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="itermsConditions"
|
<el-table-column
|
||||||
label="条款内容"
|
prop="itermsConditions"
|
||||||
width="200"
|
label="条款内容"
|
||||||
show-overflow-tooltip
|
width="200"
|
||||||
align="center">
|
show-overflow-tooltip
|
||||||
<template slot-scope="scope">
|
align="center">
|
||||||
<el-button size="mini" type="primary" @click="itermsConditionsOpen(scope.row.itermsConditions)" class="common-button-primary">查看条款内容</el-button>
|
<template slot-scope="scope">
|
||||||
</template>
|
<el-button size="mini" type="primary" @click="itermsConditionsOpen(scope.row.itermsConditions)" class="common-button-primary">查看条款内容</el-button>
|
||||||
</el-table-column>
|
</template>
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
show-overflow-tooltip
|
<el-table-column
|
||||||
prop="technicalRequir"
|
prop="newData"
|
||||||
width="200"
|
width="180"
|
||||||
label="核心技术要求"
|
show-overflow-tooltip
|
||||||
align="center">
|
label="新车型实施日期"
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
show-overflow-tooltip
|
<el-table-column
|
||||||
v-if="sarType === 'INLAND' && form.itemsNum1"
|
prop="onlineData"
|
||||||
prop="changePoint"
|
width="180"
|
||||||
width="150"
|
show-overflow-tooltip
|
||||||
label="基于上一版本差异"
|
label="在产车型实施日期"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
prop="applyArctic"
|
||||||
v-if="sarType === 'FOREIGN'"
|
width="200"
|
||||||
prop="changePoint"
|
label="适用车型"
|
||||||
width="150"
|
show-overflow-tooltip
|
||||||
label="相对于国行标差异点"
|
align="center">
|
||||||
align="center">
|
<template slot-scope="scope">
|
||||||
</el-table-column>
|
{{ typeof (scope.row.applyArctic) === 'string' ? JSON.parse(scope.row.applyArctic).join(',') : scope.row.applyArctic.join(',') }}
|
||||||
<el-table-column
|
</template>
|
||||||
prop="complianceRequir"
|
</el-table-column>
|
||||||
width="150"
|
<el-table-column
|
||||||
label="符合项状态"
|
prop="unitDeptName"
|
||||||
align="center">
|
label="责任部门"
|
||||||
<template slot-scope="scope">
|
width="200"
|
||||||
<div v-if="scope.row.complianceRequir === '1'">符合</div>
|
show-overflow-tooltip
|
||||||
<div v-else>不符合</div>
|
align="center">
|
||||||
</template>
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column
|
||||||
<el-table-column
|
label="责任人"
|
||||||
show-overflow-tooltip
|
width="170"
|
||||||
prop="complianceState"
|
prop="zrUserName"
|
||||||
width="200"
|
show-overflow-tooltip
|
||||||
label="合规性分析"
|
align="center">
|
||||||
align="center">
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column
|
||||||
<el-table-column
|
v-if="!form.itemsNum1"
|
||||||
prop="newData"
|
prop="technicalRequir"
|
||||||
width="180"
|
width="200"
|
||||||
show-overflow-tooltip
|
label="核心技术要求"
|
||||||
label="新车型实施日期"
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="onlineData"
|
prop="changePoint"
|
||||||
width="180"
|
width="150"
|
||||||
show-overflow-tooltip
|
v-if="form.itemsNum1"
|
||||||
label="在产车型实施日期"
|
label="基于上一版本差异"
|
||||||
align="center">
|
show-overflow-tooltip
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="applyArctic"
|
<!-- <el-table-column-->
|
||||||
width="150"
|
<!-- v-show="sarType === 'FOREIGN' && form.itemsNum1"-->
|
||||||
show-overflow-tooltip
|
<!-- prop="changePoint"-->
|
||||||
label="适用车型"
|
<!-- width="150"-->
|
||||||
align="center">
|
<!-- label="相对于国行标差异点"-->
|
||||||
<template slot-scope="scope">
|
<!-- show-overflow-tooltip-->
|
||||||
{{ scope.row.applyArctic.toString() }}
|
<!-- align="center">-->
|
||||||
</template>
|
<!-- </el-table-column>-->
|
||||||
</el-table-column>
|
<el-table-column
|
||||||
<el-table-column
|
prop="complianceRequirShow"
|
||||||
prop="unitDeptName"
|
width="150"
|
||||||
label="责任部门"
|
label="符合项状态"
|
||||||
width="170"
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
<template slot-scope="scope">
|
||||||
<el-table-column
|
{{ scope.row.complianceRequir === '1' ? '符合' : '不符合' }}
|
||||||
label="责任人"
|
</template>
|
||||||
width="170"
|
</el-table-column>
|
||||||
prop="zrUserIdName"
|
<el-table-column
|
||||||
align="center">
|
prop="complianceState"
|
||||||
</el-table-column>
|
width="200"
|
||||||
</el-table>
|
label="合规性分析"
|
||||||
|
show-overflow-tooltip
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="操作"
|
||||||
|
width="140"
|
||||||
|
v-if="form.itemsNum1"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button class="common-button-primary" size="mini" type="primary" @click="checkBD(scope.row.itemsId, scope.row.itemsId2, scope.row.itemsNum)">查看比对</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
<el-button v-if="itemLists.length > 20 && tableIndex * 20 < itemLists.length" style="width: 100%; margin-top: 5px;" icon="el-icon-caret-bottom" @click="tableLoading">加载更多...</el-button>
|
<el-button v-if="itemLists.length > 20 && tableIndex * 20 < itemLists.length" style="width: 100%; margin-top: 5px;" icon="el-icon-caret-bottom" @click="tableLoading">加载更多...</el-button>
|
||||||
<el-collapse accordion>
|
<el-collapse accordion>
|
||||||
<el-collapse-item title="审批意见">
|
<el-collapse-item title="审批意见">
|
||||||
@@ -217,13 +229,23 @@
|
|||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
@save="handleSave"
|
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
show-back
|
show-back
|
||||||
@back="handleSubmitNo"
|
@back="handleSubmitNo"
|
||||||
submitBTNText="同意"
|
submitBTNText="同意"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
<el-dialog
|
||||||
|
title="查看比对内容"
|
||||||
|
:visible.sync="BDmodel"
|
||||||
|
size="1100px">
|
||||||
|
<div>比对条款: {{ itemsNum }}</div>
|
||||||
|
<div>相似度:{{ similarityDegree }}</div>
|
||||||
|
<div style="height: 600px;overflow: auto;display: flex;">
|
||||||
|
<div v-html="leftData" style="line-height: 20px; margin: 5px; border: 1px solid #ccc; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"></div>
|
||||||
|
<div v-html="rightData" style="line-height: 20px; margin: 5px; border: 1px solid #ccc; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"></div>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
<van-dialog v-model="dialogMadal" title="条款内容" @confirm="dialogOk">
|
<van-dialog v-model="dialogMadal" title="条款内容" @confirm="dialogOk">
|
||||||
<div v-html="itermsConditionsTitle"></div>
|
<div v-html="itermsConditionsTitle"></div>
|
||||||
</van-dialog>
|
</van-dialog>
|
||||||
@@ -243,6 +265,11 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
commentText6: '',
|
commentText6: '',
|
||||||
|
BDmodel: false,
|
||||||
|
itemsNum: '',
|
||||||
|
similarityDegree: '',
|
||||||
|
leftData: '',
|
||||||
|
rightData: '',
|
||||||
tableIndex: 0,
|
tableIndex: 0,
|
||||||
itemLists: [],
|
itemLists: [],
|
||||||
dialogMadal: false,
|
dialogMadal: false,
|
||||||
@@ -334,6 +361,30 @@
|
|||||||
this.dialogMadal = true
|
this.dialogMadal = true
|
||||||
this.itermsConditionsTitle = row
|
this.itermsConditionsTitle = row
|
||||||
},
|
},
|
||||||
|
checkBD (id,id2,itemsNum) {
|
||||||
|
let itemsEoPage = {
|
||||||
|
oldItemId: id,
|
||||||
|
newItemId: id2,
|
||||||
|
flag: 1
|
||||||
|
}
|
||||||
|
if (!id || !id2) {
|
||||||
|
this.$message.warning('暂无找到相似的文本')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.$http.post('lawss/sarStandCompareHis/clauseComparison', itemsEoPage, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.data.leftString === '' && res.data.rightString === '') {
|
||||||
|
this.$message.warning('暂无找到相似的文本')
|
||||||
|
} else {
|
||||||
|
this.itemsNum = itemsNum
|
||||||
|
this.leftData = res.data.leftString
|
||||||
|
this.rightData = res.data.rightString
|
||||||
|
this.BDmodel = true
|
||||||
|
this.similarityDegree = res.data.similarityDegree
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
getHistoryData () {
|
getHistoryData () {
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
prcNum: this.$route.query.prcNum,
|
prcNum: this.$route.query.prcNum,
|
||||||
|
|||||||
Reference in New Issue
Block a user